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
  #1451 (permalink)  
Old 03-04-2011, 05:33 PM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
Threadstarter
 
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: NAND Boot Testing - 01-07: Panel power on/off fixes

Just as an update, I swapped init.android out for the one from our rootfs and added ueventd.rc and the symlink of /sbin/ueventd (pointing to ../init.android) to my initrd and it boots into Android beautifully.

Next, I added in pppd, netd, su, and sqlite3 to see how it functions with those. Everything seems to be up and running smoothly for initrd.

Now I'm working on moving some of this into /system instead of initrd. Will post back when I have a little more done
Reply With Quote
This post has been thanked 2 times.
  #1452 (permalink)  
Old 03-04-2011, 05:48 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by natemcnutty View Post
Just as an update, I swapped init.android out for the one from our rootfs and added ueventd.rc and the symlink of /sbin/ueventd (pointing to ../init.android) to my initrd and it boots into Android beautifully.

Next, I added in pppd, netd, su, and sqlite3 to see how it functions with those. Everything seems to be up and running smoothly for initrd.

Now I'm working on moving some of this into /system instead of initrd. Will post back when I have a little more done
awesome..

i talked to sine about ueventd.rc and it looks like its for gingerbread only. That part of the rc doesnt belong in this base and should be removed. On the gigerbread build we can put it back.

Which leads me to my next question. We doing gingerbread cyanogen or wha? this thing is turning into a masterpiece ..
__________________
Reply With Quote
This post has been thanked 3 times.
  #1453 (permalink)  
Old 03-04-2011, 06:47 PM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
Threadstarter
 
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: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by [ACL] View Post
awesome..

i talked to sine about ueventd.rc and it looks like its for gingerbread only. That part of the rc doesnt belong in this base and should be removed. On the gigerbread build we can put it back.

Which leads me to my next question. We doing gingerbread cyanogen or wha? this thing is turning into a masterpiece ..
OK, I removed those two files then. I still don't get why data isn't working, but that is what I'm looking into right now.

Also, for some reason, when booting we only see 3 of the mtdparts. I did an ls of /dev/block and /dev/mtd/ during the install script to find that the mtd4 was not being created until we get into Android. That means I can't format or reference our cache partition, and when I do it, Android will not boot since there is no /cache mount point. Any idea why this might be?

As for cyanogen, I don't know what all would be needed to get it running, but I'd be willing to look into it

Edit: You sure we don't need/want ueventd? I was just looking at our sysinit.rc and has this:
Code:
service ueventd /sbin/ueventd
    critical
Without it, it throws an error that it couldn't find it and is disabling the daemon. I think it is required by our init.android but not the other one that the vogue used originally. I'm leaving it in since we are only going up to gingerbread from here, and it appears Froyo is happy with it being there.

Last edited by natemcnutty; 03-04-2011 at 08:29 PM.
Reply With Quote
  #1454 (permalink)  
Old 03-04-2011, 09:41 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by natemcnutty View Post
OK, I removed those two files then. I still don't get why data isn't working, but that is what I'm looking into right now.

Also, for some reason, when booting we only see 3 of the mtdparts. I did an ls of /dev/block and /dev/mtd/ during the install script to find that the mtd4 was not being created until we get into Android. That means I can't format or reference our cache partition, and when I do it, Android will not boot since there is no /cache mount point. Any idea why this might be?

As for cyanogen, I don't know what all would be needed to get it running, but I'd be willing to look into it

Edit: You sure we don't need/want ueventd? I was just looking at our sysinit.rc and has this:
Code:
service ueventd /sbin/ueventd
    critical
Without it, it throws an error that it couldn't find it and is disabling the daemon. I think it is required by our init.android but not the other one that the vogue used originally. I'm leaving it in since we are only going up to gingerbread from here, and it appears Froyo is happy with it being there.
another thing stine said make sure we grab the correct init.android. They arent the same from froyo and gingerbread so we need to make sure we get them from the correct git.

cyanogen is easy .. had 5.0 running before but im interested in the later one. So in time i will upload those tars as well.

anyways i wont be back till later tonight so keep attacking it

Edit: i saw you issue. I'm fixing it in my commit tonight. Our initrd wasnt creating the directories for all the new nandparts thats all. We are all set now.

Last edited by [ACL]; 03-05-2011 at 04:34 AM.
Reply With Quote
  #1455 (permalink)  
Old 03-05-2011, 06:36 AM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
Threadstarter
 
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: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by [ACL] View Post
another thing stine said make sure we grab the correct init.android. They arent the same from froyo and gingerbread so we need to make sure we get them from the correct git.

cyanogen is easy .. had 5.0 running before but im interested in the later one. So in time i will upload those tars as well.

anyways i wont be back till later tonight so keep attacking it

Edit: i saw you issue. I'm fixing it in my commit tonight. Our initrd wasnt creating the directories for all the new nandparts thats all. We are all set now.
Yeah, the init.android I grabbed was the one from the eclair-rootfs which was what we used for Froyo. The Gingerbread git is different

As for the directories, I tried making the cache folder then mounting it during the flashall part, but I couldn't get it to work. I'll check out the commit tomorrow so I can see what I missed :P
Reply With Quote
  #1456 (permalink)  
Old 03-05-2011, 07:23 AM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by natemcnutty View Post
Yeah, the init.android I grabbed was the one from the eclair-rootfs which was what we used for Froyo. The Gingerbread git is different

As for the directories, I tried making the cache folder then mounting it during the flashall part, but I couldn't get it to work. I'll check out the commit tomorrow so I can see what I missed :P
A really productive night. The data issue ended up being the location of the ppp directory like i mentioned before. We have to move it to a new location and created a link to the original spot. For my test i just moved it to the /cache partition but thats not a good idea. Should be moved somewhere to data but not sure where yet. Means the androidupdate.gz structure has to change a bit and the install script will need to make the link.

To replicate my success just move the ppp folder inside /system/etc to another writable parition like data. Make sure the directory and files have permission for everyone to read and write.

So im going to commit my initrd. I liked your commits before .. thanks for cleaning it up. Major changes are mostly to recognise cache. And it also checks for the recovery which i have not finished making the installer for. i'll upload the install script as well. Also we can go back to either the jonpry ril or emwe. The ril i created isnt ready for our use. Its prob not even worth it to create another ril until i talk to stine about it.

Also i want to remove most of the replimenu options except for Install and boot to recovery. When it boots to recovery we will be able to do everything.
Reply With Quote
This post has been thanked 2 times.
  #1457 (permalink)  
Old 03-05-2011, 01:04 PM
Lmiller1708's Avatar
Flashaholic!
Offline
Pocket PC: Vogue->(TP2/Incredible 2/ThunderBolt)
Carrier: Verizon
Location: La Crosse, WI
 
Join Date: Aug 2008
Posts: 873
Reputation: 2160
Lmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by [ACL] View Post
A really productive night. The data issue ended up being the location of the ppp directory like i mentioned before. We have to move it to a new location and created a link to the original spot. For my test i just moved it to the /cache partition but thats not a good idea. Should be moved somewhere to data but not sure where yet. Means the androidupdate.gz structure has to change a bit and the install script will need to make the link.

To replicate my success just move the ppp folder inside /system/etc to another writable parition like data. Make sure the directory and files have permission for everyone to read and write.

So im going to commit my initrd. I liked your commits before .. thanks for cleaning it up. Major changes are mostly to recognise cache. And it also checks for the recovery which i have not finished making the installer for. i'll upload the install script as well. Also we can go back to either the jonpry ril or emwe. The ril i created isnt ready for our use. Its prob not even worth it to create another ril until i talk to stine about it.

Also i want to remove most of the replimenu options except for Install and boot to recovery. When it boots to recovery we will be able to do everything.
Great ACL! Your Androidinstall.tgz is maked at forbidden on the server...

So I can just go back to the original RIL and ln -s pppd? or Just the ln -s etc to data?

As for the replimenu I have most of that done already. I will up my file if you want it, but it's pretty simple...

EDIT: Couldn't get the cache to mount either... Nate did you ever get it working?
EDIT2: Just needed to make the /cache folder..
__________________

Last edited by Lmiller1708; 03-05-2011 at 06:36 PM.
Reply With Quote
  #1458 (permalink)  
Old 03-05-2011, 03:11 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by Lmiller1708 View Post
Great ACL! Your Androidinstall.tgz is maked at forbidden on the server...

So I can just go back to the original RIL and ln -s pppd? or Just the ln -s etc to data?

As for the replimenu I have most of that done already. I will up my file if you want it, but it's pretty simple...
Ahh shit. Ill check on it.

Well we still need a modded ril so the one jonpry put up should work. But the link must exist pointing to your new ppp location

ln -s /data/temp_etc/ppp /system/etc/ppp

And the /data/temp_etc/ppp all the rghts in the world.

Oo so ur replimenu is already slim.. upload
Reply With Quote
  #1459 (permalink)  
Old 03-05-2011, 06:56 PM
Lmiller1708's Avatar
Flashaholic!
Offline
Pocket PC: Vogue->(TP2/Incredible 2/ThunderBolt)
Carrier: Verizon
Location: La Crosse, WI
 
Join Date: Aug 2008
Posts: 873
Reputation: 2160
Lmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIPLmiller1708 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by [ACL] View Post
Ahh shit. Ill check on it.

Well we still need a modded ril so the one jonpry put up should work. But the link must exist pointing to your new ppp location

ln -s /data/temp_etc/ppp /system/etc/ppp

And the /data/temp_etc/ppp all the rghts in the world.

Oo so ur replimenu is already slim.. upload

Ok I'm trying all of that now...

Did you make changes to your sysinit.rc file... That's All I really need.

Also I noticed that the MAKEDEV file might have been wrong too...
This is What I think it should be:

mknod -m 0666 /dev/block/mtdblock4 b 31 4 <<<----You had 3 instead of 4??

and

mknod -m 0666 /dev/mtd/mtd4 c 90 8 <<<---Not sure about the 8...


Attached is my replimenu... I'm still not able to get the install-seq.sh script to run, I think is has something to do with where it is running from though.

Also if you run the fix permissions Andriod for me atleast boots up with no problem.

Edit: Still no data

EDIT2: I can see the 3g Icon... But No data yet.

Last edited by Lmiller1708; 03-05-2011 at 08:08 PM.
Reply With Quote
  #1460 (permalink)  
Old 03-05-2011, 09:06 PM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
Threadstarter
 
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: NAND Boot Testing - 01-07: Panel power on/off fixes

Quote:
Originally Posted by [ACL] View Post
Ahh shit. Ill check on it.

Well we still need a modded ril so the one jonpry put up should work. But the link must exist pointing to your new ppp location

ln -s /data/temp_etc/ppp /system/etc/ppp

And the /data/temp_etc/ppp all the rghts in the world.

Oo so ur replimenu is already slim.. upload
Thanks for the heads up. I'm heading out right now, but I'll play with this when I get back. For replimenu, I completely removed it from my script and added a section that checks for the androidupdate.tgz, applies if found, and renames it to androidupdate-disabled.tgz. It's a pretty simple chunk of script, but I can upload when I get back if you want
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 05:29 AM.


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