View Single Post
  #15 (permalink)  
Old 04-14-2011, 02:38 AM
natemcnutty's Avatar
natemcnutty
VIP Member
Offline
 
Join Date: Nov 2009
Posts: 845
Reputation: 3070
natemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [BUILD] [GingerBread] CM7 from Neopeek!! **Dev Preview** Not Stable!

Quote:
Originally Posted by arrrghhh View Post
That's the problem I can't get the system.ext2 file to boot. It keeps hanging on boot, and I don't get any adb. I hear neopeek changed a lot in the init, and I don't really know what I'm doing mucking around in there to be perfectly honest .
I just took a peek at this, and yes, it looks like he just merged initrd, rootfs, and system into one file. I haven't had WinMo on my phone for about 3 months now, but if we get LK stuff ironed out well and I have time, I will look into this.

For anyone who wants to try it on their own, there are two methods (starting with the easiest first):

Option 1 is to get your setup installed and running, then:
1. On first boot, use mke2fs to make a system.ext2 file on the FAT32 partition
2. Loop mount system.ext2 and copy all files from / to the ext2 file except init
3. Compress init and /bin into a new file named initrd.gz
4. Open initrd.gz and modify init to loop mount system.ext2 to /
5. Point startup.txt to use initrd.gz

Option 2 may be more difficult but will achieve a similar build to XDAndroid:
1. Create system.ext2 from the /system directory while maintaining the original permissions
2. Try using XDAndroid's initrd and rootfs and see if it works just from that. If not, move on.
3. Modify init to mount system.ext2 on /system
4. Copy the remaining contents into initrd.gz and point startup.txt to use that initrd.
5. Try booting, and if it doesn't work still, then something with his installer is doing something else additional that I'm not aware of, and you'll have to figure that out.
__________________
Reply With Quote