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
  #1741 (permalink)  
Old 03-14-2011, 02:28 AM
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-11: FRX05 on NAND (data working again!)

haha, sorry, just sent your pm askin bout this
__________________
Rockin' The Official TouchPro 2 aka "The dopest phone with keyboard still":
F**k windows mobile, NAND flash to droid....
Reply With Quote
  #1742 (permalink)  
Old 03-14-2011, 12:30 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-11: FRX05 on NAND (data working again!)

Quote:
Originally Posted by [ACL] View Post
Nate/lmiller

Ok, so i may have a test recovery for you guys later tonight. Installing it is somewhat painful but can be done via adb. Unless you cowboys want to roll your own install scripts.

This is the process and i hope yall like it. We will check for a recovery partition when people hold the volume down or the ts screen, if no recovery partition is found we move on to the replimenu. If one is found, then it will load instead of the replimenu.

Now this means a fresh install will always be done by install script or replimenu. The only way around this is to add the recovery inside the initrd which is possible if I slim it down.

Not all features are implemented yet, but what we have is enough to start.

Install, update, mount mass storage, wipe data and adb fully work right now. Backup and restore are in the works.
Sounds good. I did figure out how to do ADB over wifi, and it was quite simple. The problem is that you need full root access to start the adb service (since it doesn't recognize USB to start the daemon), and my wifi modules seem to be very flaky. I'm gonna have to make custom builds to get this going pre-Android. Here's the key for anyone interested:

setprop service.adb.tcp.port 5555
stop adbd
start adbd
Reply With Quote
  #1743 (permalink)  
Old 03-14-2011, 12:54 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 - 03-11: FRX05 on NAND (data working again!)

Quote:
Originally Posted by natemcnutty View Post
Sounds good. I did figure out how to do ADB over wifi, and it was quite simple. The problem is that you need full root access to start the adb service (since it doesn't recognize USB to start the daemon), and my wifi modules seem to be very flaky. I'm gonna have to make custom builds to get this going pre-Android. Here's the key for anyone interested:

setprop service.adb.tcp.port 5555
stop adbd
start adbd
adb is on when android boots, but since you are doing the set prop i geuss you need to restart it.

You should change the default prop on your so adb always uses your set prop.
__________________
Reply With Quote
  #1744 (permalink)  
Old 03-14-2011, 04:41 PM
vzihome's Avatar
Regular 'Geeker
Offline
Pocket PC: Touch Pro Dos
Carrier: Sprint
Location: Texas
 
Join Date: Aug 2008
Posts: 341
Reputation: 410
vzihome is becoming a PPCGeeks regularvzihome is becoming a PPCGeeks regularvzihome is becoming a PPCGeeks regularvzihome is becoming a PPCGeeks regularvzihome is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)

didnt read this posted anywhere but just to make sure i have to be HSPL unlocked to flashed this,....correct?
__________________
"A Christian" is not a label...its a lifestyle!
Reply With Quote
  #1745 (permalink)  
Old 03-14-2011, 05:15 PM
AkumaX's Avatar
PPCGeeks Regular
Offline
Pocket PC: ppc-6800
Carrier: sprint
 
Join Date: Oct 2008
Posts: 85
Reputation: 45
AkumaX is just getting started
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)

Quote:
Originally Posted by vzihome View Post
didnt read this posted anywhere but just to make sure i have to be HSPL unlocked to flashed this,....correct?
yeah, any 3rd party flashing (custom rom) requires a HardSPL
(kinda the cool thing about using haret.exe, no 'voiding' warranty!!)
Reply With Quote
This post has been thanked 1 times.
  #1746 (permalink)  
Old 03-14-2011, 07:22 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-11: FRX05 on NAND (data working again!)

Quote:
Originally Posted by 86shelby View Post
Quote:
Originally Posted by zizou90 View Post
Have you played Angry Birds?!?! Never before have I lost myself on the shitter for longer periods of time than I do while playing Angry Birds. Hours, man, hours...
Quote of the year.
NICE!!!

Quote:
Originally Posted by [ACL] View Post
Nate/lmiller

Ok, so i may have a test recovery for you guys later tonight. Installing it is somewhat painful but can be done via adb. Unless you cowboys want to roll your own install scripts.

This is the process and i hope yall like it. We will check for a recovery partition when people hold the volume down or the ts screen, if no recovery partition is found we move on to the replimenu. If one is found, then it will load instead of the replimenu.

Now this means a fresh install will always be done by install script or replimenu. The only way around this is to add the recovery inside the initrd which is possible if I slim it down.

Not all features are implemented yet, but what we have is enough to start.

Install, update, mount mass storage, wipe data and adb fully work right now. Backup and restore are in the works.
Ok sounds great! I will be able to test this tomorrow!

Thought we were going to get rid of replimenu?
Can they not choose the any options?

Quote:
Originally Posted by vistazifta View Post
wow dude ur amazing and being that my fone is not in service i dont mind taking the brick risk to test this but i may switch do boost this week will keep u guys updated (btw does anyone know if there is a way to flash it to work on pageplus?)
There should be zero brick risk! Unless you somehow screw up the flash.

Quote:
Originally Posted by natemcnutty View Post
Sounds good. I did figure out how to do ADB over wifi, and it was quite simple. The problem is that you need full root access to start the adb service (since it doesn't recognize USB to start the daemon), and my wifi modules seem to be very flaky. I'm gonna have to make custom builds to get this going pre-Android. Here's the key for anyone interested:

setprop service.adb.tcp.port 5555
stop adbd
start adbd
Good to know how to do this! Thanks for the tip! Are your modules loading correctly, my wifi has been working great... Did you make the changes to the install-seq-sh script to fix the keyboard and leave out the recovery part?


About the root thing...
What apps have you guys not been able to get working because you didn't have root? Have you tried using the Superuser app from the market?
I'm still thinking its a permissions issue. Correct me if I'm wrong but we should be fully rooted...
Currently the su is in the system/bin and system/xbin folders. Do we need them somewhere else? Also is there a newer su file that we should be using? If so Please attach!!!!

And please do not post on here just to post.
We do not care about games!!!!
This stuff is our GAME!

Thanks!
__________________
Reply With Quote
  #1747 (permalink)  
Old 03-14-2011, 09:00 PM
m4f1050's Avatar
Halfway to VIP Status
Offline
Pocket PC: Ozone,Diam,Imagio,TPro2,Opt-S,EVO,3VO,E4GT
Carrier: Boost (CDMA)
 
Join Date: Sep 2008
Posts: 692
Reputation: 480
m4f1050 is becoming a PPCGeeks regularm4f1050 is becoming a PPCGeeks regularm4f1050 is becoming a PPCGeeks regularm4f1050 is becoming a PPCGeeks regularm4f1050 is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)

Quote:
Originally Posted by zizou90 View Post
Have you played Angry Birds?!?! Never before have I lost myself on the shitter for longer periods of time than I do while playing Angry Birds. Hours, man, hours...
Oh there are a few games out there... I played Frozen Bubble for quite some time, got stuck in a few tables, like 65, 70, 89, 99 and 100! LOL
Reply With Quote
  #1748 (permalink)  
Old 03-14-2011, 11:39 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 - 03-11: FRX05 on NAND (data working again!)

Quote:
Originally Posted by Lmiller1708 View Post
NICE!!!

Ok sounds great! I will be able to test this tomorrow!

Thought we were going to get rid of replimenu?
Can they not choose the any options?
Is that what we agreed on? i thought you were in love with it. But if you guys wanna get rid of it specially after playing with the recovery, then i can try to shrink it down to see if it can fit in the initrd.

If not then we will rely on the init script for base installs and have it install all 3 (android, update and recovery). I guess it all depends on how yall feel about the recovery

Quote:
And please do not post on here just to post.
We do not care about games!!!!
This stuff is our GAME!

Thanks!
Yes agreed..
Reply With Quote
  #1749 (permalink)  
Old 03-14-2011, 11:41 PM
coolsilver's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TP2
Carrier: Verizon
 
Join Date: Oct 2007
Posts: 233
Reputation: 125
coolsilver is keeping up the good workcoolsilver is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)

Quote:
Originally Posted by Lmiller1708 View Post

About the root thing...
What apps have you guys not been able to get working because you didn't have root? Have you tried using the Superuser app from the market?
I'm still thinking its a permissions issue. Correct me if I'm wrong but we should be fully rooted...
Currently the su is in the system/bin and system/xbin folders. Do we need them somewhere else? Also is there a newer su file that we should be using? If so Please attach!!!!

And please do not post on here just to post.
We do not care about games!!!!
This stuff is our GAME!

Thanks!

I have installed SU binary via ADB to /system/xbin. Installed SuperUser App

I can't update BusyBox via Titanium Backup or the BusyBox installer.

Busybox installer app complains about not being able to remount rw for /system even if it is rw via adb.

Titanium just fails never calls up Superuser app, Same with Busybox.

I have a feeling it is looking for the /etc/fstab for mount and unmount as well as some back end permission issues with busybox.

Mainly the "Must be suid on order to work properly" message.

I am thinking whatever user android is running as needs to belong to the correct root group.

Whoami under phone shows unknown id 10049. I am tracking down to see how to set it correctly.


Also looks as if /system/xbin has everything as user root and userid as 2000 except busybox which is root

http://android-dls.com/wiki/index.ph...uids_and_guids

This shows userid is adb/shell user id. Copying su over sets permissions for root root.

Last edited by coolsilver; 03-14-2011 at 11:58 PM.
Reply With Quote
  #1750 (permalink)  
Old 03-15-2011, 12:45 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-11: FRX05 on NAND (data working again!)

Quote:
Originally Posted by coolsilver View Post
I have installed SU binary via ADB to /system/xbin. Installed SuperUser App

I can't update BusyBox via Titanium Backup or the BusyBox installer.

Busybox installer app complains about not being able to remount rw for /system even if it is rw via adb.

Titanium just fails never calls up Superuser app, Same with Busybox.

I have a feeling it is looking for the /etc/fstab for mount and unmount as well as some back end permission issues with busybox.

Mainly the "Must be suid on order to work properly" message.

I am thinking whatever user android is running as needs to belong to the correct root group.

Whoami under phone shows unknown id 10049. I am tracking down to see how to set it correctly.


Also looks as if /system/xbin has everything as user root and userid as 2000 except busybox which is root

Android UIDs and GIDs - Android Wiki

This shows userid is adb/shell user id. Copying su over sets permissions for root root.
notin to do with fstab.. actually you are way off.

Issue is on our end. Our initrd includes /bin/su which doesnt give anyone any rights. So we will need to remove the link on our next build. Or remove /bin from the PATH variable.

So if you want to test this out. Mount / as rw and remove /bin/su. Then when you type su, the other version in /system/bin will run.

also make sure su has permissions 4755

Last edited by [ACL]; 03-15-2011 at 12:48 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 03:30 AM.


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