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 03-30-2011, 06: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 - 03-24: FRX05 on NAND (Testing new RIL)

Quote:
Originally Posted by natemcnutty View Post
Yeah, so the root is weird. What I mean by a real root is that on first boot, I log into Market, install Titanium Backup, and it tells me I don't have root. I then install Busybox and Titanium is happy, but other programs like ES File Explorer won't let me run as root. Terminal says unknown uid when I type busybox whoami, but it does let me su, then issue commands which works properly.

Haret users don't have to do anything like this, so that's why I'm wondering what we need to do to clean up the ROM. Also, I'm thinking we should toss spare parts into the ROM like Haret used to unless we want to change the value for the End key. Having no Home button is extremely annoying.

As for the install-seq.sh, that is almost the same code as what I had when I was trying to fix up FRX06. I used @ symbols, but I like yours better. For the 210 to 240, I think we should add a little more to that so we don't mess up build values or anything like that.
I tried ES explorer for root but its asking for a specific rom (cyano or some other crap). lol

The request for 'root' is a real hack in android. It doesnt work like you think. Most devs try to write to a section they arent allowed to to cause the superuser apk request to pop up and allow it. Thats it..lol. They dont have the power to go to the shell and execute, its all done internally. they dont select the user to run as. Haret runs wide open. They dont have ro set for any partitions. If you want to run the same way, just mount rw for everything in your initrd. Also reorder your path so where ever you have busybox installed is first.

installed angrybirds with no issues.. so i'll leave it up to you gents to figure it out. If i cant replicate, i cant fix . I'll try a fresh install instead of my restored data to test further. Also for spare parts and all that stuff, make an update.tgz and lets put it up. Simple enough to do so. I dont want to included it in the rom itself since.

I was thinking more about this direct conversion from the img and realized that the fixperms script will never run since its not there. Not sure if this is gonna work out well in the long run. God knows what they will change forcing us to update the script.. At this stage its easy enough to update the recovery we do have a work around.
__________________
Reply With Quote
  #2 (permalink)  
Old 03-30-2011, 07:22 AM
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 - 03-24: FRX05 on NAND (Testing new RIL)

Quote:
Originally Posted by [ACL] View Post
I tried ES explorer for root but its asking for a specific rom (cyano or some other crap). lol

The request for 'root' is a real hack in android. It doesnt work like you think. Most devs try to write to a section they arent allowed to to cause the superuser apk request to pop up and allow it. Thats it..lol. They dont have the power to go to the shell and execute, its all done internally. they dont select the user to run as. Haret runs wide open. They dont have ro set for any partitions. If you want to run the same way, just mount rw for everything in your initrd. Also reorder your path so where ever you have busybox installed is first.

installed angrybirds with no issues.. so i'll leave it up to you gents to figure it out. If i cant replicate, i cant fix . I'll try a fresh install instead of my restored data to test further. Also for spare parts and all that stuff, make an update.tgz and lets put it up. Simple enough to do so. I dont want to included it in the rom itself since.

I was thinking more about this direct conversion from the img and realized that the fixperms script will never run since its not there. Not sure if this is gonna work out well in the long run. God knows what they will change forcing us to update the script.. At this stage its easy enough to update the recovery we do have a work around.
Could not agree more about the keys and no home button! Never made sense to my why they changed it... The less haret stuff the better.

Humm... Not sure why angerybirds would install for you...
I have installed the most recent autobuild with no success in getting the modules to load.

I was able to get the 3.4 version of squashfs working. What I had to do was install I the zlib (apt-get install zlib1g)

I also notice that the SDCard does not mount. I have to pull it out and then reinsert it for it to mount... After that it does not even show up in the settings/SDcard.
__________________
Reply With Quote
  #3 (permalink)  
Old 03-30-2011, 09:03 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 - 03-24: FRX05 on NAND (Testing new RIL)

Quote:
Originally Posted by Lmiller1708 View Post
Could not agree more about the keys and no home button! Never made sense to my why they changed it... The less haret stuff the better.

Humm... Not sure why angerybirds would install for you...
I have installed the most recent autobuild with no success in getting the modules to load.

I was able to get the 3.4 version of squashfs working. What I had to do was install I the zlib (apt-get install zlib1g)

I also notice that the SDCard does not mount. I have to pull it out and then reinsert it for it to mount... After that it does not even show up in the settings/SDcard.
fear not my good man i'm looking into the autobuild. I think i made a last minute change to move to loop0 from loop3.. hope it wasnt that.

yeah sd got effed up somewhere in there. In odd news however my phone charged lol. i completely drained it last week and i guess i didnt drain it enough, but after leaving it on the charger got to 50%.. enough to boot safely and continue charging.
Reply With Quote
  #4 (permalink)  
Old 03-30-2011, 09:31 AM
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 - 03-24: FRX05 on NAND (Testing new RIL)

Quote:
Originally Posted by [ACL] View Post
fear not my good man i'm looking into the autobuild. I think i made a last minute change to move to loop0 from loop3.. hope it wasnt that.

yeah sd got effed up somewhere in there. In odd news however my phone charged lol. i completely drained it last week and i guess i didnt drain it enough, but after leaving it on the charger got to 50%.. enough to boot safely and continue charging.
Good your charger is working! I will try it out the next time my dies...

Couple of things...
First with the recovery...
If the install fails you do not get notified on the screen... You can only see it in the log.

My Install-seq.sh script is working like it should... But I'm still having troubles with the modules They seem to be installing correctly but gives me this in the bootlog and when I do a depmod in the command: depmod: chdir(2.6.27.46-01268-ga175a7c): No such file or directory

I also have apps in my androidupdate.tgz that are not getting installed, everything.

Last but not least the system is getting mounted at rw on boot...

Any Ideas?
Reply With Quote
  #5 (permalink)  
Old 03-30-2011, 09:48 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 - 03-24: FRX05 on NAND (Testing new RIL)

Quote:
Originally Posted by Lmiller1708 View Post
Good your charger is working! I will try it out the next time my dies...

Couple of things...
First with the recovery...
If the install fails you do not get notified on the screen... You can only see it in the log.

My Install-seq.sh script is working like it should... But I'm still having troubles with the modules They seem to be installing correctly but gives me this in the bootlog and when I do a depmod in the command: depmod: chdir(2.6.27.46-01268-ga175a7c): No such file or directory

I also have apps in my androidupdate.tgz that are not getting installed, everything.

Last but not least the system is getting mounted at rw on boot...

Any Ideas?
If you are doing the upgrade to frx6 i can see a potential issue. the setup to mount the ext2 is using loop0 as well, and thats wht is needed for the modules. So modules will need to go back to loop3

well when you adb into the system. look for this

/system/lib/modules/2.6.27.46-01268-ga175a7c.sqsh

This has to be there before android starts. The initrd should mount this and make a link back to modules under the correct version. So something in there is failing.

apps? never tried apps via adnroidupdate. are the files getting copied over correctly?

edit: oops looks like nate cleaned up my mess and already put everything back to loop3 .. good looking out.

Last edited by [ACL]; 03-30-2011 at 12:16 PM.
Reply With Quote
  #6 (permalink)  
Old 03-30-2011, 12:19 PM
MassStash's Avatar
Regular 'Geeker
Offline
Pocket PC: Rhodium
Carrier: Sprint
Location: Il
 
Join Date: Oct 2008
Posts: 437
Reputation: 285
MassStash is becoming a PPCGeeks regularMassStash is becoming a PPCGeeks regularMassStash is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 03-24: FRX05 on NAND (Testing new RIL)

got stuck in green light deep sleep last night, pretty kool haha anyone else's shit been lockin up randomly after running this solid for a few days? could be just the no holds barbed usage of this biOtch...
__________________
Rockin' The Official TouchPro 2 aka "The dopest phone with keyboard still":
F**k windows mobile, NAND flash to droid....
Reply With Quote
  #7 (permalink)  
Old 03-30-2011, 02:21 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 - 03-24: FRX05 on NAND (Testing new RIL)

Quote:
Originally Posted by [ACL] View Post
If you are doing the upgrade to frx6 i can see a potential issue. the setup to mount the ext2 is using loop0 as well, and thats wht is needed for the modules. So modules will need to go back to loop3

well when you adb into the system. look for this

/system/lib/modules/2.6.27.46-01268-ga175a7c.sqsh

This has to be there before android starts. The initrd should mount this and make a link back to modules under the correct version. So something in there is failing.

apps? never tried apps via adnroidupdate. are the files getting copied over correctly?

edit: oops looks like nate cleaned up my mess and already put everything back to loop3 .. good looking out.
For the install script, I have it loop mount on loop0, but as soon as the file copy is done, it deletes that mount. When you originally committed it, loop3 was not being made in MAKEDEVS, so I added that, but I don't think you ever committed the change to move modules to loop0 (probably were just testing it).

For depmod, our version is pretty dumb. It doesn't have the ability to accept any commands, so it will only depmod if /system/lib/modules/uname/ is there. This is why depmod during the install script fails and gives that error in the bootlog.txt.

Installing apps using the androidupdate.tgz is a little weird. The APK's have to be formatted properly, or they will not install. For example, Superuser.apk works perfectly fine, but I cannot get other APK's like Terminal to install from my Titanium Backup if I just toss it in the /system/app folder.

Also, I think I've ironed out the issues with root. Titanium Backup installs Busybox to the data partition where it looks for it just fine, but other programs don't know to look there, so they fail. If you download Busybox from the Market, it thinks there is no space left in system, but you can install it to /system/xbin anyway... Once Busybox is installed, ES File Explorer (et al) allow root access without issues (after a restart).
__________________
Reply With Quote
  #8 (permalink)  
Old 03-30-2011, 02:38 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 - 03-24: FRX05 on NAND (Testing new RIL)

Quote:
Originally Posted by natemcnutty View Post
For the install script, I have it loop mount on loop0, but as soon as the file copy is done, it deletes that mount. When you originally committed it, loop3 was not being made in MAKEDEVS, so I added that, but I don't think you ever committed the change to move modules to loop0 (probably were just testing it).

For depmod, our version is pretty dumb. It doesn't have the ability to accept any commands, so it will only depmod if /system/lib/modules/uname/ is there. This is why depmod during the install script fails and gives that error in the bootlog.txt.

Installing apps using the androidupdate.tgz is a little weird. The APK's have to be formatted properly, or they will not install. For example, Superuser.apk works perfectly fine, but I cannot get other APK's like Terminal to install from my Titanium Backup if I just toss it in the /system/app folder.

Also, I think I've ironed out the issues with root. Titanium Backup installs Busybox to the data partition where it looks for it just fine, but other programs don't know to look there, so they fail. If you download Busybox from the Market, it thinks there is no space left in system, but you can install it to /system/xbin anyway... Once Busybox is installed, ES File Explorer (et al) allow root access without issues (after a restart).
I didn't have to do anything special with the apps before. But I found the problem... I had the app folder in the root of my update and not in the data/app ...

For Busybox... I just use the one from the market and then use superuser.apk (all included in my update.tgz). Root works fine. Not sure what you mean about not having enough space stuff...

Also the install-seq.sh works great! As long as you don't have the androidinstall.tgz in your andboot folder.

FR06 Dialer rocks btw!
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 04:09 PM.


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