Mozilla Ditches Google, Makes Yahoo Default Search Engine

Mozilla and Google have had a long-standing relationship of about 10 years. Google … more

Learn More About Linux with Linux Man Pages

Linux is quite a powerful and very configurable operating system. Thanks to some user-friendly … more

Detect, Avoid IMSI-Catcher Attacks with Android IMSI-Catcher Detector

Privacy is always an important topic, as well as a delicate one to … more

Materialized LeanDroid Fights Your Poor Battery Life

Battery life has always been one of the biggest problems facing most Android devices. … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Android] Dr. NoMoRootfs! or How I learned to stop worrying and love the extra space

OP vilord

29th January 2010, 02:50 AM   |  #1  
vilord's Avatar
OP Senior Member
Flag Boston
Thanks Meter: 2
 
939 posts
Join Date:Joined: Aug 2007
More
Everything needs to go in /sdcard/andboot
FILES YOU NEED:
the nbh flashed to your phone
an sd card with the andboot folder at the top level
an androidinstall.tar file plopped into the andboot folder

thats it

then just hold down volume up or dpad center or the middle of your touchscreen when booting and go through the menu to choose where to put things and then install the system. (for those without a dpad, pretend the touchscreen is a giant dpad)

if you're doing it with haret, extract basefiles to your sd, plop the androidinstall.tar into the same folder, and boot, hold down volume up (camera on kaiser/polaris) just like the nand people (but don't pick nand to store the files, it won't work)

---------

all the files
basefiles for the haret folks out there

Grab the nbh files for your device. Only difference between eclair and non-eclair is that eclair is set up to use the newer hw3d driver, non-eclair is set to use the older one (for donut/cupcake)

These do not use rootfs. They remove it completely and free up that extra space in your nand for a bigger, cleaner system.

They also have my new menu-based installer! Yay! Just hold-down volume-up or dpad center or the middle of your touchscreen

THIS WON'T WORK WITH ANY OF THE OLDER SYSTEMS! THE SYSTEM MUST INCORPORATE THE APPROPRIATE FILES FROM ROOTFS (and the rom cooks will let you know when theirs is ready)

The first system to use this is based on eclair 2.1 with working sleep and audio
Here's my tattoo system for this method

FYI Craig & I spent a lot of time on these!!!
Last edited by vilord; 20th February 2010 at 09:09 PM. Reason: new links
29th January 2010, 02:50 AM   |  #2  
vilord's Avatar
OP Senior Member
Flag Boston
Thanks Meter: 2
 
939 posts
Join Date:Joined: Aug 2007
More
How to create a build
How to make your build work with this

So it actually isn't that hard.
Extract your sqsh to a folder somewhere, so you have, say /android/system
Mount/extract whichever rootfs worked best with your system somewhere else, say /android/rootfs
Code:
cp -a /android/rootfs/init.etc/* /android/system/etc
cp /android/rootfs/lib/donut/* /android/system/lib
cp /android/rootfs/lib/modules/* /android/system/lib/modules
cp /android/rootfs/lib/hw/* /android/system/lib/hw
cp /android/rootfs/init.cfg/init.donut.rc /android/system/sysinit.rc
You'll need to modify the sysinit.rc a bit, as in the rootfs some things are commented out that shouldn't be, and it references a few things in /bin or /etc that aren't there anymore.
Also, don't forget to uncomment the line near the top of sysinit.rc that creates a symlink from /system/etc to /etc

Once you are done, just do this to create the installer:
Code:
cd /android
tar cvf androidinstall.tar system
Soon, I may upload some packs for making the process easier, with updated sysinit.rc's for each system type. If I have time, we'll see...
Note, you can update the contents of the .tar file from windows/izarc/winrar/etc and it'll still work. you don't need to keep messing about with linux anymore if you don't want to
Last edited by vilord; 29th January 2010 at 04:58 AM.
29th January 2010, 02:56 AM   |  #3  
vilord's Avatar
OP Senior Member
Flag Boston
Thanks Meter: 2
 
939 posts
Join Date:Joined: Aug 2007
More
How to update things
How to create an update pack
Since not everyone gets things right the first time, and we keep getting updates, the rootfs made it easy to install updates without downloading the whole system again.
Well now anyone can create an update pack

just create a tar file called androidupdate.tar, make sure it has everything in a /system folder with whatever files you want, drop it into /sdcard/andboot and reboot holding down volume-up (camera on kaiser/polaris). Choose the update option and you should be good to go.
If things get wonky when you try to boot up, give the fix permissions option a shot in the installer, if it still fails, try wiping the dalvik cache, that can fix things up too.

About the installer
I ripped it off from here, but put about 6 or 7 solid hours into getting it to fit and react with the keys/screen
Last edited by vilord; 2nd February 2010 at 02:17 PM.
29th January 2010, 03:14 AM   |  #4  
sshark's Avatar
Senior Member
Thanks Meter: 37
 
645 posts
Join Date:Joined: Sep 2008
More
May be new

rootfs

may be new

better eclair support

---
with android development this fast for "yomama so old" phone, who knows what future holds?
29th January 2010, 03:15 AM   |  #5  
jamezelle's Avatar
Retired Forum Moderator / Retired Recognized Developer
Flag Ohio
Thanks Meter: 101
 
1,705 posts
Join Date:Joined: Nov 2007
Donate to Me
More
Quote:
Originally Posted by sshark

May be new

rootfs

may be new

better eclair support

---
with android development this fast for "yomama so old" phone, who knows what future holds?

whats a rootfs hahaha
Last edited by jamezelle; 29th January 2010 at 04:34 AM.
29th January 2010, 03:48 AM   |  #6  
Senior Member
Thanks Meter: 9
 
131 posts
Join Date:Joined: Mar 2008
Might be something called "Code Name Ginger"....or our tame racing car driver, we call the Stig.
29th January 2010, 04:02 AM   |  #7  
jamezelle's Avatar
Retired Forum Moderator / Retired Recognized Developer
Flag Ohio
Thanks Meter: 101
 
1,705 posts
Join Date:Joined: Nov 2007
Donate to Me
More
Quote:
Originally Posted by nabicat

Might be something called "Code Name Ginger"....or our tame racing car driver, we call the Stig.

what the..... that was random
29th January 2010, 04:22 AM   |  #8  
Retired Forum Moderator
Thanks Meter: 231
 
1,647 posts
Join Date:Joined: Apr 2008
Holy cow.. like there's nothing even in this thread and it's already filling up..
29th January 2010, 04:29 AM   |  #9  
myn's Avatar
Senior Recognized Developer
Thanks Meter: 4,002
 
2,658 posts
Join Date:Joined: Nov 2007
Donate to Me
I think I know what it is..

Vilord ported Dalvik from 2.5 which now includes native support for HW accel for MSM7500..
29th January 2010, 04:35 AM   |  #10  
Member
Thanks Meter: 0
 
56 posts
Join Date:Joined: Nov 2008
jesus.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes