Page 1 of 2 12 LastLast
Results 1 to 25 of 31
Like Tree5Likes
  1. Thread Author  Thread Author    #1  

    Question 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
  2. #2  
    drewwalton19216801's Avatar

    Posts
    2,539 Posts
    ROM
    HydroROM

    Default Re: dirty kerneling??

    Quote Originally Posted by vernotzy21 View Post
    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?
    "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.
  3. #3  
    epidenimus's Avatar
    Racer of Elevators

    Posts
    1,137 Posts
    ROM
    Paranoid Android / CM7

    Default 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...

    Get married to someone you hate... or get an iPhone.
    -------------------------------------------------------------------------------------
    New to LG's premium Android phone? Check out the Optimus S Welcome Guide.
    Used ROM Mangler on your Optimus S and having problems? Try this.
  4. #4  
    shockdude's Avatar

    Posts
    102 Posts
    ROM
    mirage cm7

    Default Re: dirty kerneling??

    Quote Originally Posted by epidenimus View Post
    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!
    tab completion is already there; you just have to run "busybox sh" first
    Thanked by:
    epidenimus likes this.
  5. #5  
    drewwalton19216801's Avatar

    Posts
    2,539 Posts
    ROM
    HydroROM

    Default Re: dirty kerneling??

    Quote Originally Posted by shockdude View Post
    tab completion is already there; you just have to run "busybox sh" first
    ^ This. Or use .
    Thanked by:
    shockdude, sblood86 and epidenimus like this.
  6. Thread Author  Thread Author    #6  

    Default

    Quote Originally Posted by epidenimus View Post
    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!
    I wanna run dosfck im gonna try busybox
  7. Thread Author  Thread Author    #7  

    Default Re: dirty kerneling??

    Has there been any luck getting adb to run in terminal emu?
  8. #8  
    drewwalton19216801's Avatar

    Posts
    2,539 Posts
    ROM
    HydroROM

    Default

    Quote Originally Posted by vernotzy21 View Post
    Has there been any luck getting adb to run in terminal emu?
    Adb is for use ONLY on a computer running Windows, Linux or Mac OS X. Android runs adbd (Android Debug Bridge Daemon), which ADB connects to.
  9. #9  
    Va1ha11a's Avatar
    Troll Headhunter

    Posts
    1,037 Posts
    ROM
    Drew's CMX/Stock/Stock

    Default 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
  10. #10  
    shockdude's Avatar

    Posts
    102 Posts
    ROM
    mirage cm7

    Default Re: dirty kerneling??

    if busybox isn't enough for you then you could try running ubuntu on top of android.
    there's a tutorial around here somewhere...

    why exactly do you need
    dosfck on android anyways? just curious
  11. Thread Author  Thread Author    #11  

    Default Re: dirty kerneling??

    To check the fat
    He who stands on toilet is high on pot
  12. #12  
    shockdude's Avatar

    Posts
    102 Posts
    ROM
    mirage cm7

    Default Re: dirty kerneling??

    couldn't you use an sdcard reader? or borrow someone's computer w/ an sdcard reader and use a bootable linux usb.
  13. #13  
    ShadowEO's Avatar

    Posts
    337 Posts
    ROM
    Drew's CM10

    Default

    Quote Originally Posted by vernotzy21 View Post
    To check the fat
    Please expand on this, I would love to help you with your problems but like the rest of the community, me and the developers/power users here need more information. What do you mean?

    Sent from my LS-LS670 using Android Central Forums
    Va1ha11a likes this.
  14. Thread Author  Thread Author    #14  

    Default 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 have
    He who stands on toilet is high on pot
  15. Thread Author  Thread Author    #15  

    Default Re: dirty kerneling??

    And yes I'm crazy
    He who stands on toilet is high on pot
  16. #16  
    drewwalton19216801's Avatar

    Posts
    2,539 Posts
    ROM
    HydroROM

    Default

    Quote Originally Posted by vernotzy21 View Post
    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 have
    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.
  17. Thread Author  Thread Author    #17  

    Default 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 neat
    He who stands on toilet is high on pot
  18. #18  
    drewwalton19216801's Avatar

    Posts
    2,539 Posts
    ROM
    HydroROM

    Default Re: dirty kerneling??

    Quote Originally Posted by vernotzy21 View Post
    Its a idea
    So couldn't a dirty kernel be possible? Definitely not.
    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 It doesn't work that way, you can run ONE kernel and ONE kernel only at any point in time. There is no "retaining" anything. If you flash HydroKernel, you're running HydroKernel. If you flash XioniaRedux, you're running XioniaRedux.
    Someone should try it I'm ill equipped Nobody should try it, you could end up permanently bricking your phone.
    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? I don't fully understand the inner workings, it takes years and years and years (did I mention YEARS?) of experience to do *real* kernel development.
    Grant in frankenkernel may have been rendered pointless but it could be fun to do anyway If potentially bricking your phone (with the guarantee that what you are doing won't work at all) sounds fun, go for it.
    Idk why........but a frankenenkernel would be neat
    See my comments above in bold. I'm trying to not sound harsh, but what you are describing is undeniably impossible.
  19. #19  
    ShadowEO's Avatar

    Posts
    337 Posts
    ROM
    Drew's CM10

    Default

    Quote Originally Posted by vernotzy21 View Post
    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 neat
    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
  20. Thread Author  Thread Author    #20  

    Default 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
  21. #21  
    ShadowEO's Avatar

    Posts
    337 Posts
    ROM
    Drew's CM10

    Default

    Quote Originally Posted by vernotzy21 View Post
    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 )
    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
  22. #22  
    epidenimus's Avatar
    Racer of Elevators

    Posts
    1,137 Posts
    ROM
    Paranoid Android / CM7

    Default 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...

    Get married to someone you hate... or get an iPhone.
    -------------------------------------------------------------------------------------
    New to LG's premium Android phone? Check out the Optimus S Welcome Guide.
    Used ROM Mangler on your Optimus S and having problems? Try this.
  23. Thread Author  Thread Author    #23  

    Default

    Quote Originally Posted by epidenimus View Post
    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?
    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 Forums
    He who stands on toilet is high on pot
  24. Thread Author  Thread Author    #24  

    Default

    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 Forums
    He who stands on toilet is high on pot
  25. #25  
    ShadowEO's Avatar

    Posts
    337 Posts
    ROM
    Drew's CM10

    Default

    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
Page 1 of 2 12 LastLast

Posting Permissions