Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,351 Members 39,359 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
vilord
Old
(Last edited by vilord; 20th February 2010 at 08:09 PM.) Reason: new links
#1  
vilord's Avatar
Senior Member - OP
Thanks Meter 2
Posts: 939
Join Date: Aug 2007
Location: Boston
Default [Android] Dr. NoMoRootfs! or How I learned to stop worrying and love the extra space

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!!!
 
vilord
Old
(Last edited by vilord; 29th January 2010 at 03:58 AM.)
#2  
vilord's Avatar
Senior Member - OP
Thanks Meter 2
Posts: 939
Join Date: Aug 2007
Location: Boston
Default 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:
Select 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:
Select 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
 
vilord
Old
(Last edited by vilord; 2nd February 2010 at 01:17 PM.)
#3  
vilord's Avatar
Senior Member - OP
Thanks Meter 2
Posts: 939
Join Date: Aug 2007
Location: Boston
Default 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
 
sshark
Old
#4  
sshark's Avatar
Senior Member
Thanks Meter 24
Posts: 563
Join Date: Sep 2008
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?
 
jamezelle
Old
(Last edited by jamezelle; 29th January 2010 at 03:34 AM.)
#5  
jamezelle's Avatar
Retired Forum Moderator / Retired Recognized Developer
Thanks Meter 101
Posts: 1,705
Join Date: Nov 2007
Location: Ohio

 
DONATE TO ME
Quote:
Originally Posted by sshark View Post
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
------------------------------------------------------
Devices:
Samsung Galaxy Nexus VZW LTE: latest AOKP
HTC Thunderbolt: ROOTED S-OFF: Retired
Samsung Fascinate: ROOTED: My MIUI Port with Voodoo
Motorola Droid: ROOTED: My MIUI Port
HTC Droid ERIS: ROOTED: !CRACKED SCREEN! :sad-face: still half-way works My Sense-able 3.1
XV6900: (RIP)
T-mobile wing: Retired(lost)
------------------------------------------------------

follow me on twitter

www.jamezelle.com Work in progress...
Like what I do? Feel free to

 
nabicat
Old
#6  
Senior Member
Thanks Meter 9
Posts: 131
Join Date: Mar 2008
Might be something called "Code Name Ginger"....or our tame racing car driver, we call the Stig.
 
jamezelle
Old
#7  
jamezelle's Avatar
Retired Forum Moderator / Retired Recognized Developer
Thanks Meter 101
Posts: 1,705
Join Date: Nov 2007
Location: Ohio

 
DONATE TO ME
Quote:
Originally Posted by nabicat View Post
Might be something called "Code Name Ginger"....or our tame racing car driver, we call the Stig.
what the..... that was random
------------------------------------------------------
Devices:
Samsung Galaxy Nexus VZW LTE: latest AOKP
HTC Thunderbolt: ROOTED S-OFF: Retired
Samsung Fascinate: ROOTED: My MIUI Port with Voodoo
Motorola Droid: ROOTED: My MIUI Port
HTC Droid ERIS: ROOTED: !CRACKED SCREEN! :sad-face: still half-way works My Sense-able 3.1
XV6900: (RIP)
T-mobile wing: Retired(lost)
------------------------------------------------------

follow me on twitter

www.jamezelle.com Work in progress...
Like what I do? Feel free to

 
mssmison
Old
#8  
Retired Forum Moderator
Thanks Meter 231
Posts: 1,647
Join Date: Apr 2008
Holy cow.. like there's nothing even in this thread and it's already filling up..
 
myn
Old
#9  
myn's Avatar
Senior Recognized Developer
Thanks Meter 4002
Posts: 2,658
Join Date: 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..
 
prairiefire
Old
#10  
Member
Thanks Meter 0
Posts: 56
Join Date: Nov 2008
jesus.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...