PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2 > Android On TP2 Development
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-07-2011, 11:21 AM
arrrghhh's Avatar
Testing Extraordinaire
Offline
Pocket PC: HTC Touch Pro 2 (RHOD400)
Carrier: Sprint
Threadstarter
 
Join Date: Mar 2007
Posts: 3,604
Reputation: 7360
arrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the community
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Re: [BUILD] [GingerBread] CM7 from Neopeek!! **Dev Preview** Not Stable!

Quote:
Originally Posted by ndno View Post
arrrghhh, if you put method #2 up again, I can try to mess with it to see if I can get it working.
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 .
Reply With Quote
  #2 (permalink)  
Old 04-14-2011, 02:38 AM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
 
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
  #3 (permalink)  
Old 04-14-2011, 02:58 AM
ndno's Avatar
VIP Member
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
 
Join Date: Jan 2010
Posts: 421
Reputation: 3570
ndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno is still contributing even after becoming a VIPndno 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 natemcnutty View Post
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.
Thanks Nate. I will give your instructions a try. Now I gotta get it into a working native ext2 partition first before I can try your steps.

Great job with the NAND stuff by the way.

Last edited by ndno; 04-14-2011 at 03:20 AM.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2 > Android On TP2 Development


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 01:14 PM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com