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
  #1601 (permalink)  
Old 03-10-2011, 03:43 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-08: Full NAND FRX05 Testing (Data not working for some)

release huh?

stuck in first Friggin Full Nand Dead Battery Loop O' Death.....

i mean FFNDBLO'DEATH............
__________________
Rockin' The Official TouchPro 2 aka "The dopest phone with keyboard still":
F**k windows mobile, NAND flash to droid....

Last edited by MassStash; 03-10-2011 at 04:17 AM.
Reply With Quote
  #1602 (permalink)  
Old 03-10-2011, 05:38 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 - 03-08: Full NAND FRX05 Testing (Data not working for some)

Quote:
Originally Posted by MassStash View Post
release huh?

stuck in first Friggin Full Nand Dead Battery Loop O' Death.....

i mean FFNDBLO'DEATH............
Just leave it plugged in for 10 minutes, unplug, yank the battery, let it rest for a few seconds, put it back together and turn it on.
Reply With Quote
This post has been thanked 2 times.
  #1603 (permalink)  
Old 03-10-2011, 08:21 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-08: Full NAND FRX05 Testing (Data not working for some)

Quote:
Originally Posted by [ACL] View Post
Ahh man dont wait on me fellas. i dont want to slow down progress. If we need a menu right away, then by all means plan it out and nate can commit. mtd parts? yall test?


this is how far i gotten in the recovery ..lol the image says it all
Looks great!

Nate did you get a chance to test my MTDparts last night?

Also I can try to add a patch to for the replimenu.

Questions:
1. How are we going to add the ln -s data/ppp etc/ppp?

2. Permissions? We can just use the script the Vogue team has used, but we will need to change a couple of things around to fit our needs. I'm going to work more on this today.

EDIT: Permissions File so far...
Code:
#Data
set_perm 1000 1000 0771 /data/app
set_perm_recursive 1000 1000 0644 0644 /data/app
set_perm_recursive 0 0 0777 0777 /data/modules
set_perm_recursive 0 2000 0755 0755 /data/ppp

#System
set_perm_recursive 0 0 0755 0644 /system
set_perm 1002 1002 0444 /system/etc/dbus.conf
set_perm 0 0 0700 /system/init
set_perm_recursive 0 2000 0755 0755 /system/bin
set_perm_recursive 0 2000 0755 0755 /system/xbin
set_perm 0 0 04755 /system/bin/pppd
set_perm 0 0 04755 /system/bin/su
set_perm 0 3003 02755 /system/bin/netcfg
set_perm 0 3004 02755 /system/bin/ping
set_perm 1014 2000 0550 /system/etc/dhcpcd/dhcpcd-run-hooks
These Functions are being called:
Code:
set_perm() {
    chown $1:$2 $4
    chmod $3 $4
}

set_perm_recursive() {
    chown -R $1:$2 $5
    chmod -R $3:$4 $5
}
__________________

Last edited by Lmiller1708; 03-10-2011 at 09:39 AM.
Reply With Quote
  #1604 (permalink)  
Old 03-10-2011, 11:59 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-08: Full NAND FRX05 Testing (Data not working for some)

Quote:
Originally Posted by Lmiller1708 View Post
Looks great!

Nate did you get a chance to test my MTDparts last night?

Also I can try to add a patch to for the replimenu.

Questions:
1. How are we going to add the ln -s data/ppp etc/ppp?

2. Permissions? We can just use the script the Vogue team has used, but we will need to change a couple of things around to fit our needs. I'm going to work more on this today.

EDIT: Permissions File so far...
Code:
#Data
set_perm 1000 1000 0771 /data/app
set_perm_recursive 1000 1000 0644 0644 /data/app
set_perm_recursive 0 0 0777 0777 /data/modules
set_perm_recursive 0 2000 0755 0755 /data/ppp

#System
set_perm_recursive 0 0 0755 0644 /system
set_perm 1002 1002 0444 /system/etc/dbus.conf
set_perm 0 0 0700 /system/init
set_perm_recursive 0 2000 0755 0755 /system/bin
set_perm_recursive 0 2000 0755 0755 /system/xbin
set_perm 0 0 04755 /system/bin/pppd
set_perm 0 0 04755 /system/bin/su
set_perm 0 3003 02755 /system/bin/netcfg
set_perm 0 3004 02755 /system/bin/ping
set_perm 1014 2000 0550 /system/etc/dhcpcd/dhcpcd-run-hooks
These Functions are being called:
Code:
set_perm() {
    chown $1:$2 $4
    chmod $3 $4
}

set_perm_recursive() {
    chown -R $1:$2 $5
    chmod -R $3:$4 $5
}
Well, we could try to figure out why the damn current link is getting trashed. Remember we have tons of links that android handles and they are all fine, so for 1 link to fail makes no sense. For now just either do it in the install script or the first-time.sh script inside system that gets executed once right after install. The initrd is already set for this so you can test that script out if you wish.

nate: i saw the kb commit.. i copied it to the download locations for the masses to enjoy.

edit: Also i do like your script so we can add that wherever we decide on the data/ppp link.
__________________

Last edited by [ACL]; 03-10-2011 at 12:09 PM.
Reply With Quote
This post has been thanked 1 times.
  #1605 (permalink)  
Old 03-10-2011, 12:05 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-08: Full NAND FRX05 Testing (Data not working for some)

it boots automatically when it gets enough charge then dies mid boot cuz it doesn't friggin charge while running code.....

last time it happened i just held bootloader button combo til it booted and flash task29, this time the friggin light just turns off until i let go of the buttons, then it turns on adn gets me nowhere. Seriously pissed at this point. Prolly slowly ruining my battery every time it charges enough to boot then drains battery completely dry.... wtf....

derkaderka, got into replimenu but died mid attempt to wipe phone....waiting for second attempt....

Last edited by MassStash; 03-10-2011 at 01:11 PM.
Reply With Quote
  #1606 (permalink)  
Old 03-10-2011, 01:15 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-08: Full NAND FRX05 Testing (Data not working for some)

Quote:
Originally Posted by MassStash View Post
it boots automatically when it gets enough charge then dies mid boot cuz it doesn't friggin charge while running code.....

last time it happened i just held bootloader button combo til it booted and flash task29, this time the friggin light just turns off until i let go of the buttons, then it turns on adn gets me nowhere. Seriously pissed at this point. Prolly slowly ruining my battery every time it charges enough to boot then drains battery completely dry.... wtf....

derkaderka, got into replimenu but died mid attempt to wipe phone....waiting for second attempt....

Pull the battery. Put the battery back in. Connect it to the charger, it will boot but let it. Do not touch it for a while. Atleast 30 minutes if not longer. It will charge.

Once that time has expired pull the battery and turn it back on. You will have a working phone again. If it does not boot then just put it and bootloader and reflash.
Reply With Quote
  #1607 (permalink)  
Old 03-10-2011, 01:15 PM
lionedas's Avatar
Regular 'Geeker
Offline
Pocket PC: htc
Carrier: sprint
 
Join Date: Mar 2009
Posts: 253
Reputation: 495
lionedas is becoming a PPCGeeks regularlionedas is becoming a PPCGeeks regularlionedas is becoming a PPCGeeks regularlionedas is becoming a PPCGeeks regularlionedas is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 03-08: Full NAND FRX05 Testing (Data not working for some)

Quote:
Originally Posted by MassStash View Post
it boots automatically when it gets enough charge then dies mid boot cuz it doesn't friggin charge while running code.....

last time it happened i just held bootloader button combo til it booted and flash task29, this time the friggin light just turns off until i let go of the buttons, then it turns on adn gets me nowhere. Seriously pissed at this point. Prolly slowly ruining my battery every time it charges enough to boot then drains battery completely dry.... wtf....

derkaderka, got into replimenu but died mid attempt to wipe phone....waiting for second attempt....

Can you charge your battery externaly first ?
__________________
If I was any help please hit thanks, my goal is one billion Reputation points, for a free trip to Sparta!
Reply With Quote
  #1608 (permalink)  
Old 03-10-2011, 02:20 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-08: Full NAND FRX05 Testing (Data not working for some)

Quote:
Originally Posted by [ACL] View Post
Well, we could try to figure out why the damn current link is getting trashed. Remember we have tons of links that android handles and they are all fine, so for 1 link to fail makes no sense. For now just either do it in the install script or the first-time.sh script inside system that gets executed once right after install. The initrd is already set for this so you can test that script out if you wish.

nate: i saw the kb commit.. i copied it to the download locations for the masses to enjoy.

edit: Also i do like your script so we can add that wherever we decide on the data/ppp link.
ACL, I just pushed the rest of the changes for the keyboard, and I enabled the recovery partition in the script while I was at it. I disabled the ln -s on the moduels because it doesn't actually do what we want. The statement we have in there just links /data/modules to /data/modules/'uname'/modules whereas the old --bind would link the directory trees together. That was still bad since it made the directory indefinitely recursive...
Reply With Quote
  #1609 (permalink)  
Old 03-10-2011, 02:23 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-08: Full NAND FRX05 Testing (Data not working for some)

Quote:
Originally Posted by Lmiller1708 View Post
Looks great!

Nate did you get a chance to test my MTDparts last night?

Also I can try to add a patch to for the replimenu.

Questions:
1. How are we going to add the ln -s data/ppp etc/ppp?

2. Permissions? We can just use the script the Vogue team has used, but we will need to change a couple of things around to fit our needs. I'm going to work more on this today.

EDIT: Permissions File so far...
Code:
#Data
set_perm 1000 1000 0771 /data/app
set_perm_recursive 1000 1000 0644 0644 /data/app
set_perm_recursive 0 0 0777 0777 /data/modules
set_perm_recursive 0 2000 0755 0755 /data/ppp

#System
set_perm_recursive 0 0 0755 0644 /system
set_perm 1002 1002 0444 /system/etc/dbus.conf
set_perm 0 0 0700 /system/init
set_perm_recursive 0 2000 0755 0755 /system/bin
set_perm_recursive 0 2000 0755 0755 /system/xbin
set_perm 0 0 04755 /system/bin/pppd
set_perm 0 0 04755 /system/bin/su
set_perm 0 3003 02755 /system/bin/netcfg
set_perm 0 3004 02755 /system/bin/ping
set_perm 1014 2000 0550 /system/etc/dhcpcd/dhcpcd-run-hooks
These Functions are being called:
Code:
set_perm() {
    chown $1:$2 $4
    chmod $3 $4
}

set_perm_recursive() {
    chown -R $1:$2 $5
    chmod -R $3:$4 $5
}
I haven't tried the mtdparts yet, but I did just push the change for the ppp. It's this: ln -s /data/ppp /system/etc
That will create a directory link that says any calls to /system/etc/ppp will go to /data/ppp. I believe this will work when /etc is mounted from /system/etc because it will still see the /etc/ppp directory as /data/ppp.

As for permissions, I really don't know much about them, and I feel that a lot of our issues may be stemming from them. Wish I knew more to help there, but I haven't gotten in to that yet.
Reply With Quote
  #1610 (permalink)  
Old 03-10-2011, 02:39 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-08: Full NAND FRX05 Testing (Data not working for some)

Quote:
Originally Posted by natemcnutty View Post
I haven't tried the mtdparts yet, but I did just push the change for the ppp. It's this: ln -s /data/ppp /system/etc
That will create a directory link that says any calls to /system/etc/ppp will go to /data/ppp. I believe this will work when /etc is mounted from /system/etc because it will still see the /etc/ppp directory as /data/ppp.

As for permissions, I really don't know much about them, and I feel that a lot of our issues may be stemming from them. Wish I knew more to help there, but I haven't gotten in to that yet.
We just figured out that the symlink /data/ppp /etc/ppp was not working because of this line in the init: mount -o remount,ro /system
Remove it and it will work like a charm.
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 10:28 AM.


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