- 05-24-2012, 07:53 PM
Thread Author #1
dirty kerneling??
Is it possable to dirty flash a Linux kernel over the android one basically I want to retain android kernal functions but gain command functions of linux idk know if I'm barking up the wrong tree but are commands like dosfck implemented in the kernel? Or our they a seperate program like chkdsk is for dos?

I'm lernding!
oh yeah what script would I have to disable to allow dirty kerneling?He who stands on toilet is high on pot
- 05-24-2012, 09:36 PM #2
Re: dirty kerneling??
"Commands" are simply compiled binaries and have almost nothing to do with the kernel. Also, if you installed a standard Linux kernel to your device it would not work, as the correct drivers as well as Android support would be non-existent.
Finally, you can't run two Linux kernels side-by-side. It's one or the other, not both. - 05-24-2012, 10:38 PM #3
Re: dirty kerneling??
Busybox will get a you a heap of commands and comes standard in most custom ROMs. Just curious, what are you trying to run that you cannot do presently?
Related note: I'd so love to see tab completion in adb shell and terminal emulator!If you are inclined to spend a lot of money and want a pretty trophy with which to pass the next few years of your life that talks to you in a condescending voice, can't navigate to save its life, expects full control over all you do, demands $13 for a $3 purchase, allegedly has a single recessed button, needs an expensive computer and a credit card to do anything, hates your music and has purses designed just for it...New to LG's premium Android phone? Check out the Optimus S Welcome Guide.
Get married to someone you hate... or get an iPhone.
-------------------------------------------------------------------------------------
Used ROM Mangler on your Optimus S and having problems? Try this. - 05-24-2012, 10:47 PM #4Thanked by:
- 05-24-2012, 10:51 PM #5Thanked by:
- 05-25-2012, 11:26 AM
Thread Author #6
- 05-25-2012, 11:27 AM
Thread Author #7
- 05-25-2012, 12:07 PM #8
- 05-25-2012, 12:07 PM #9
Re: dirty kerneling??
ummm, the whole point of adb commands is to emulate what would happen if you used the terminal emulator on the phone itself
- 05-25-2012, 01:39 PM #10
- 05-25-2012, 02:13 PM
Thread Author #11
- 05-25-2012, 04:35 PM #12
- 05-25-2012, 08:19 PM #13
- 05-27-2012, 09:08 AM
Thread Author #14
Re: dirty kerneling??
Well not reaally haveing a problem I just wanna be able to check the integrity of the storage
My goal is to negate the need for a computer(I don't have one) so I'm always exploreing ways to do stuff just for the heck of it like for example I was hopeing to take the android kernel then flash the latest linux kernel over it (without eraseing the android kernel)to get a more linuxy kernel see the. Android kernel has all the drivers for the s what I was wonder if couldn't build a ghetto kernel by combining the two see linux kernels come with drivers for multiple devices I was hopeing to integrate the drivers by means of dirty flash because I don't have a pc I was gonna try to backwards engineer "flash gui" in aide but leave out the code that erases the kernel before reflashing the new one
Then hopefully by a miracle I could get x-11 to run natively
We don't have the adreno200 driver that's why we have only been able to vnc linux so I was hopeing to make use of the one we haveHe who stands on toilet is high on pot
- 05-27-2012, 09:10 AM
Thread Author #15
- 05-27-2012, 11:43 AM #16
You're getting way ahead of yourself. What you are describing is never going to work. The way Android devices are designed, you can only have 1 kernel installed at a time. Period.
The Android kernel quite literally IS a Linux kernel, just with Android-specific changes.
I quite like the enthusiasm but, as you previously stated, you're barking up the wrong tree.
EDIT: Hold on. You want to run Xorg on our tiny tiny screen? You're nuts. That would be enough space for 3, maybe 4 buttons. A full desktop environment would commit suicide.Last edited by drewwalton19216801; 05-27-2012 at 12:32 PM.
- 05-27-2012, 12:35 PM
Thread Author #17
Re: dirty kerneling??
Its a idea

So couldn't a dirty kernel be possible?
If it literally IS a linux kernel just like dirty flashing a rom the system retains info from the previous rom ....but do it to the kernel
Someone should try it I'm ill equipped
Weather or not it works
We could call it frankenkernel
.....wait a min it not the kernel lacking a driver it the communication between said driver and the ui........so how does linux do it between driver and ui what is this bridge called so I may study it?
Grant in frankenkernel may have been rendered pointless but it could be fun to do anyway
Idk why........but a frankenenkernel would be neatHe who stands on toilet is high on pot
- 05-27-2012, 01:14 PM #18
- 05-27-2012, 01:48 PM #19
The UI does not talk to the kernel directly at all, there are a number of libraries that abstract functions so this doesn't happen. But what your looking for is call x.org/xFree86 however Android it's already a Linux based system with the UI and apps running on the dalvik VM. Also if you want to run Linux on your Android phone look up Linux for Android and Ubuntu on Android. What your describing is both inefficient and unneeded. Sorry :-(
There are also a number of X11 compatible display managers and VNC clients in the market you can use with the solution I proposed above though.
Sent from my LS-LS670 using Android Central Forums - 05-27-2012, 07:39 PM
Thread Author #20
Re: dirty kerneling??
Surely not that many years but I'm sure a few. The way I figure it is I should become a expert so I can tinker you know what they say "when life hands you a brick....build a house"
I'm not talking about running two kernels just one only modified and I'm sure bugs would have to be ironed out
But I now understand about the other binaries. So it just wouldnt work
Iv done the ubuntu/debian install its cool but you can't run anything beyond nethack
The phone would handle it just lacks graphics and everything just FC'S BEFORE IT EVEN STARTS
I tried all the vnc/ x-11 backend apps none work
So I just use VNC
See what happens when a nerd doesn't have a computer they run around and hobble everyone with a sledge hammer
(I don't mean to be difficult
)
He who stands on toilet is high on pot
- 05-28-2012, 09:24 AM #21
The problem isn't that an Android kernel doesn't support X11, it's that it would be inefficient to run a desktop environment like GNOME or KDE would be horribly inefficient in resource and screen use compared to say Android's display manager or GPE. I'm sorry, but it makes no sense to do so.
Sent from my LS-LS670 using Android Central Forums - 05-28-2012, 02:33 PM #22
Re: dirty kerneling??
For live music recording purposes, I'd love to have a 32-bit kernel with real-time latency and PAE that runs on my wristwatch, but I would have to compile it myself (not merge 2 existing binary compiles) and have one hell of a wristwatch!
I am curious about more extensive options, to include a dual boot scenario where one option is a lightweight desktop OS--maybe LXDE, but one would need way more robust hardware--including a sizeable screen, akin to a mid-high end tablet, to even get there.
Since Ubuntu on Android has been mentioned, I should toss in that Gnome 3 has some pretty demanding hardware requirements (and is still a PITA to use), even for a laptop.
Finally, how do you technogeek without a computer?? Isn't that like being a cowboy without the horse and rope? Or are you just that badass that you don't frickin' need 'em?
If you are inclined to spend a lot of money and want a pretty trophy with which to pass the next few years of your life that talks to you in a condescending voice, can't navigate to save its life, expects full control over all you do, demands $13 for a $3 purchase, allegedly has a single recessed button, needs an expensive computer and a credit card to do anything, hates your music and has purses designed just for it...New to LG's premium Android phone? Check out the Optimus S Welcome Guide.
Get married to someone you hate... or get an iPhone.
-------------------------------------------------------------------------------------
Used ROM Mangler on your Optimus S and having problems? Try this. - 05-30-2012, 01:37 AM
Thread Author #23
Well my friend to techno geek without a computer well I geek it and cheat horribly so far got the debian .loop thing going but very limited there that's why my never ending quest to get linux run fully you see everyone keeps saying to have linux on the optimus would be pointless (to slow ect ect) however you see iv been poor my whole life iv mostly rebuilt comps outta dumpsters when I was little I didn't. Have a soldering iron so I would use a sewing needle or paperclip and a lighter and a whole lotta patients back when winxp came out I first installed on a 486dx66 god was it slow! It ran! I got n64 emulation to run full speed on a Pentium 2 @500mhz with only 16mb of video mem and 128mb ram (that's a feat) no soldier no problem chewing gum and tin foil! The hard part is eyeballing the tinfoil mass to get the resistance/voltage rateing close enough to work (not to fry though) I truly belive if linuxs graphics worked on the S I wouldn't have any trouble at all also I installed knoppix on the same p2 500 comp and it ran pretty decently turned vega strikes graphics down and had fun so as you can't tell I never say die
I'm trying to teach myself java so I can use AIDE(I did basic back in the day) my first pc was a 386sx16 I played doom on it but doom required 66mhz to play! Also 4mb of ram I only had 1! (Thank god for qemm)
Everyone that comes to me I always fix their computer/electronics always....
Android is new to me so far In the last 30+ weeks iv root and rom'ed a kindle fire,htc evo 4g,samsung moment, some phone I forget the name a lg-p509? And the S I'm currently tryin a samsung conquer 4g but not a lot of dev for it yet cm7 is on its way though
Iv developed a inegrated operating system bios chip about 10-15 years ago it worked somewhat in a fashion that our droids do nand backup/restore do now this chip would have eliminated the need for a recovery partition on your hd also it would have eliminated the need for anti-virus/malware software........it didnt work out on the political level and lastly don't laugh....
I have a design for a hyperdrive engine that generates gravity wells by compressing energy into a single point in space mimicking the energy mass displacement of a star
Also a step up transformer that allows 1/1.000.000.000 step up ratio
Lets just say I always haven't made the right choices and have had a lot of bad luck
What I wouldn't give for a lab a some materials and time to work also
A cheap to build/run hydrgen extractor run it for a day a enough fuel for 2 days I built working models
And yes I'm crazy but its true I'm a geek
Sent from my LS670 using Android Central ForumsHe who stands on toilet is high on pot
- 05-30-2012, 01:50 AM
Thread Author #24
Sometimes I cry myself to sleep after we had our daughter we we're going to buy a big farmhouse on land contract in the basement I was building the most kick *** worklab ever but then my wifes parents needed us to move in and take care of them they both died 6 month later we had to give up the house
These are the problems I face just when I can start to truly work life wont have it my old laptop died I don't have the cash for a new one(got kids)
As far as a cowboy with no rope HELL NO! I got a bootable thumb drive with ubuntu any comp I come across is mine!
Sent from my LS670 using Android Central ForumsHe who stands on toilet is high on pot
- 06-03-2012, 09:50 AM #25
What we've been trying to explain to you though is that Linux graphics would work on the phone, the only problem is Surface_flinger already allocates the screen for its use. The other problem with running Linux on the phone is how the system would have to be stored. We only have ~175 MBs on data and even less on system. That's not enough to do what you want. The solution to that is extremely advanced where you would have to build an image that not only contains the bare minimum binaries to mount an SD card but also chroot or pivot the root to it as well, this is actually no different from what you're already doing with the Debian install sans the XServer.
Sent from my LS-LS670 using Android Central Forums



Reply




































