Boost the Brightness of Your Sony Xperia Z1’s LED

I think the last time anyone has ever used a physical torch to find their earphones, … more

XDA Xposed Tuesday: Modify the Look of Your Volume Control – XDA TV

How many screenshots have you seen with a volume status bar in the … more

Prepare Your Nokia X2 for Battle with Nokia X2 Tools

Unveiled in June this year, the Nokia X2 is the Finnish companys second crack at an … more

Increase the Speaker Volume of Your Samsung Gear 2 with Tool and Tutorial

I think its pretty safe to say that any sound coming out of a … more
Post Reply

NATIVE Debian (Linux) on the Droid!

19th May 2011, 04:07 AM   |  #1  
OP Member
Thanks Meter: 131
 
95 posts
Join Date:Joined: Jan 2010
More
I got myself a Motorola Droid and I've been playing with the kernel quite a bit - it didn't take long to get Debian to boot from the SD card!

Necessary kernel modifications:
CONFIG_CMDLINE_FORCE=y
Motorola must have stealthily removed this from the kernel :P To re-enable it, add an #ifdef in arch/arm/kernel/setup.c as per http://kerneltrap.org/mailarchive/li...0/1/28/4533180.
CONFIG_CMDLINE="mem=244M@0x80C00000 mtdparts=omap2-nand.0:640k@128k(mbm),384k@1408k(cdt),384k@3328k(l bl),384k@6272k(misc),3584k(boot),4608k(recovery),1 43744k(system),94848k(cache),268032k(userdata),2m( kpanic) root=/dev/mmcblk0p1 omapfb.rotate=1 noinitrd quiet".

That's about it! Just compile it, use Koush's AnyKernel update.zip generator, and flash away! I tried Ubuntu, but Thumb-2 support is broken in the kernel - it can't execute /sbin/init, so it panics. In theory, Gentoo, Slackware, Arch, Angstrom, MeeGo, and many other Linux distros for ARM should work with little modification. The sky's the limit! (JK, Windows 8000 won't work :P)
The Following User Says Thank You to gTan64 For This Useful Post: [ View ]
19th May 2011, 10:58 PM   |  #2  
Junior Member
Flag Oak Ridge
Thanks Meter: 0
 
11 posts
Join Date:Joined: Jun 2008
That's awesome! You gotta love Linux!
20th May 2011, 10:09 AM   |  #3  
spc_hicks09's Avatar
Recognized Contributor
Flag Marion, OH
Thanks Meter: 1,597
 
3,407 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Screenshots, video, anything?
20th May 2011, 10:10 PM   |  #4  
OP Member
Thanks Meter: 131
 
95 posts
Join Date:Joined: Jan 2010
More
Quote:
Originally Posted by spc_hicks09

Screenshots, video, anything?

I don't see the point - unless you want a screenshot of Debian's console login prompt, which you can find almost anywhere. I'm running X with E17 (Illume) now, but without proper touchscreen calibration it's not very useful... I might do a video or something once I have it calibrated.
30th December 2011, 04:38 AM   |  #5  
Junior Member
Thanks Meter: 1
 
11 posts
Join Date:Joined: Oct 2010
Quote:
Originally Posted by gTan64

I got myself a Motorola Droid and I've been playing with the kernel quite a bit - it didn't take long to get Debian to boot from the SD card!

I'm trying to get this set up on my droid. Would you be willing to provide a little more details for a novice like me? Were you modifying the stock kernel or 3rd party? Does wifi work in native debian?

EDIT: I found this other thread which has more details, so I'll start there. Thanks! http://forum.xda-developers.com/show....php?t=1318330
Last edited by quicktek; 30th December 2011 at 04:55 AM.
4th January 2012, 07:04 AM   |  #6  
OP Member
Thanks Meter: 131
 
95 posts
Join Date:Joined: Jan 2010
More
Unhappy The end of the beginning
I've been tempting fate a lot lately. Despite my attempts to keep this platform alive, my Droid bit the dust yesterday.
Its digital contents live on, but the hardware wasn't so lucky.

It always had a way of inconveniencing me, so I'm somewhat relieved about it.
Unfortunately, finding a replacement is going to be a pain.
Mostly due to a lack of money (WiFi+Google Voice+plentiful open source software = less spending/work incentive)
and the length of my uncompromising list of requirements,
I am beginning to realize that my dream phone might never exist.

Somewhat refreshingly, I'm around "weird" people a lot, and they remind me (without using words!) that there are better things in life than shopping for a smartphone.
This isn't exactly goodbye, but I may be away from the XDA scene for a while.

Apologies to any users of my coding experiments... Hopefully, if nothing else, they inspire something more useful.

Thanks y'all for the fun time and for reading this long post :P
Don't stop inventing!
The Following User Says Thank You to gTan64 For This Useful Post: [ View ]
10th May 2012, 02:37 AM   |  #7  
Junior Member
Thanks Meter: 5
 
16 posts
Join Date:Joined: Apr 2010
More
Quote:
Originally Posted by gTan64

I got myself a Motorola Droid and I've been playing with the kernel quite a bit - it didn't take long to get Debian to boot from the SD card!

Necessary kernel modifications:
CONFIG_CMDLINE_FORCE=y
Motorola must have stealthily removed this from the kernel :P To re-enable it, add an #ifdef in arch/arm/kernel/setup.c as per http://kerneltrap.org/mailarchive/li...0/1/28/4533180.
CONFIG_CMDLINE="mem=244M@0x80C00000 mtdparts=omap2-nand.0:640k@128k(mbm),384k@1408k(cdt),384k@3328k(l bl),384k@6272k(misc),3584k(boot),4608k(recovery),1 43744k(system),94848k(cache),268032k(userdata),2m( kpanic) root=/dev/mmcblk0p1 omapfb.rotate=1 noinitrd quiet".

That's about it! Just compile it, use Koush's AnyKernel update.zip generator, and flash away! I tried Ubuntu, but Thumb-2 support is broken in the kernel - it can't execute /sbin/init, so it panics. In theory, Gentoo, Slackware, Arch, Angstrom, MeeGo, and many other Linux distros for ARM should work with little modification. The sky's the limit! (JK, Windows 8000 won't work :P)

Hmmm.... how would I go about checking into this for the transformer prime?

Sent from my Transformer Prime using XDA
10th May 2012, 04:11 AM   |  #8  
OP Member
Thanks Meter: 131
 
95 posts
Join Date:Joined: Jan 2010
More
Quote:
Originally Posted by edw00rd

Hmmm.... how would I go about checking into this for the transformer prime?

Sent from my Transformer Prime using XDA

1.) Figure out how to run an unsigned kernel image. Kexec, fastboot, USB kernel flasher, etc...
2.) Replace the Android initramfs and/or tell the kernel where to boot from (depending on which method you pick above, you may need to compile a custom kernel);
3.) Install a root filesystem image on an SD card (internal storage may work, but it's less risky to dual boot) and point the kernel to it.

I got Ubuntu running even better on my "new" Epic 4G! Other devices should work with this method, but I'm not too enthusiastic about porting for devices I don't own :P
4th December 2013, 06:21 PM   |  #9  
Member
Thanks Meter: 15
 
60 posts
Join Date:Joined: Oct 2010
Donate to Me
More
I know this is a very old thread, but the OP has disabled his PM messaging system, so I have no other choice.

I'm interested in repeating what this guy did here, as I too have a moto droid (a855) and i'd like to get at least a little use out of it.

I have some questions.

Where did you get the kernel sources? (i see you're saying to modify something in arch/arm/kernel/setup.c)

How did you get debian to boot from the SD Card? You mention kernel modification but you never mentioned anything about the setup process.

Will the process here https://wiki.debian.org/HowtoDebianInAndroid work for this? Everything mentioned there except the kernel seems to not be device specific.

Post Reply Subscribe to Thread

Tags
debian, kernel
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes