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-22-2011, 12:05 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
hey nate.. i didnt test this at all but i did implement the sdcard loop wait for the recovery. pain in the ass to restore and lose the modules .. so im still trying to master mind a way around that.
What about something like this?

tar -cvzf /cache/modules.tgz /data/modules/
/bin/flash_eraseall /dev/mtd/mtd3 > /dev/null
/bin/mount -t yaffs2 /dev/block/mtdblock3 /data > /dev/null
tar -xzf /cache/modules.tgz -C /data
__________________
Reply With Quote
  #2 (permalink)  
Old 03-22-2011, 12:45 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
What about something like this?

tar -cvzf /cache/modules.tgz /data/modules/
/bin/flash_eraseall /dev/mtd/mtd3 > /dev/null
/bin/mount -t yaffs2 /dev/block/mtdblock3 /data > /dev/null
tar -xzf /cache/modules.tgz -C /data
i ran my first test yesterday to restructure the modules path. I tried to port over sqsh4 so i can try the other method but the patch is too massive. So ill try to night with yaffs2 instead. If it works, then we will just do as you said and copy them over to system and mount looping them. This way we can wipe data all we want and not loose anything. Only thing we need to make sure is that people wipe their old modules or else system will just baloon up.

Also because the recovery is only 8mb, we will only have room for 1 extra kernel in there.. ohh well.. better than nothing
__________________
Reply With Quote
  #3 (permalink)  
Old 03-22-2011, 04:44 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
hey nate.. i didnt test this at all but i did implement the sdcard loop wait for the recovery. pain in the ass to restore and lose the modules .. so im still trying to master mind a way around that.
By the way, tested the sdcard loop just now. Works perfectly. I have some more cleanup that I'd like to do in init, so can you look through this patch and let me know what you think?

Edit: I changed the sdcard partition thing to be more efficient, removed some unnecessary stuff like the install-seq.sh portion, moved /tmp to /cache instead of /data/tmpcache, and removed the auto-mount sections for the mtdparts since we specify them in Tinboot.

Last edited by natemcnutty; 03-22-2011 at 04:49 PM.
Reply With Quote
  #4 (permalink)  
Old 03-22-2011, 05: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 natemcnutty View Post
By the way, tested the sdcard loop just now. Works perfectly. I have some more cleanup that I'd like to do in init, so can you look through this patch and let me know what you think?

Edit: I changed the sdcard partition thing to be more efficient, removed some unnecessary stuff like the install-seq.sh portion, moved /tmp to /cache instead of /data/tmpcache, and removed the auto-mount sections for the mtdparts since we specify them in Tinboot.
This part is confusing

Code:
-mkdir -p -m 0777 /data/tmpcache
-mkdir -p -m 0771 /data/shared_prefs
+if [ ! -d /data/shared_prefs ] ; then
+	mkdir -p -m 0771 /data/shared_prefs
+fi
 chmod 0771 /data/shared_prefs
 chown 1000:1000 /data/shared_prefs
 ln -s /data/shared_prefs /shared_prefs
-ln -s /data/tmpcache /tmp
+mount /cache /tmp
Does the link /shared_prefs need to exisit?

Also what is stored on /tmp? ifs its true tmp i wonder if we can scrap it

Keep in mind that recovery needs some of this so we need to make sure we arent getting in the way. recovery uses cache lot for its logs and stuff.

I see this on the rc mkdir /data/local/tmp 0771 shell shell . so how many tempts do we really need ..lol

edit: all the other changes are really good. good house keeping . Lets figure this part out "+mount /cache /tmp" before commiting. Everything else will be fine. Did you test it yet?

Last edited by [ACL]; 03-22-2011 at 05:42 PM.
Reply With Quote
  #5 (permalink)  
Old 03-22-2011, 02:38 AM
T_D_H's Avatar
Lurker
Offline
Pocket PC: HTC touch pro 2
Carrier: Telus
 
Join Date: Feb 2010
Posts: 12
Reputation: 0
T_D_H is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)

what confuses me exactly, is that wifi is the only thing not working, and no one else seems to have the same issue, also seem to not be able to connect to the device with the usb drivers provided either, oh well, poke prod and beat untill ready, bake @ 350 and hope it doesnt taste bad :P
Reply With Quote
  #6 (permalink)  
Old 03-22-2011, 08:02 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 T_D_H View Post
what confuses me exactly, is that wifi is the only thing not working, and no one else seems to have the same issue, also seem to not be able to connect to the device with the usb drivers provided either, oh well, poke prod and beat untill ready, bake @ 350 and hope it doesnt taste bad :P
You're not the only one, 2 of us also got error scanning using Wifi... I reverted back to 3.11.11 files which Wifi worked... Haven't tested new files... My device is a Sprint Touch Pro2 without a Sim card (but Sim unlocked, with WU radio for Sim use)
Reply With Quote
  #7 (permalink)  
Old 03-22-2011, 08: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 - 03-11: FRX05 on NAND (data working again!)

Quote:
Originally Posted by m4f1050 View Post
You're not the only one, 2 of us also got error scanning using Wifi... I reverted back to 3.11.11 files which Wifi worked... Haven't tested new files... My device is a Sprint Touch Pro2 without a Sim card (but Sim unlocked, with WU radio for Sim use)
About 3 hours ago, I downloaded the exact files off the first post, used recovery to install, and wifi was working without issues. I try to keep an eye on the latest files from autobuild, but if they aren't working for you, please make sure you are on the latest files and if it still doesn't work, post logs of when you fire up wifi.
Reply With Quote
  #8 (permalink)  
Old 03-22-2011, 08:46 PM
vistazifta's Avatar
PPCGeeks Regular
Offline
Pocket PC: sprint Touch Pro2, att iPhone 4
Carrier: at&t on both
Location: Lakewood, NJ
 
Join Date: Aug 2009
Posts: 79
Reputation: 85
vistazifta is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to vistazifta Send a message via Yahoo to vistazifta Send a message via Skype™ to vistazifta
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)

Quote:
Originally Posted by natemcnutty View Post
About 3 hours ago, I downloaded the exact files off the first post, used recovery to install, and wifi was working without issues. I try to keep an eye on the latest files from autobuild, but if they aren't working for you, please make sure you are on the latest files and if it still doesn't work, post logs of when you fire up wifi.
@nate and acl just curious do u think the wu instead of wv radios r causing issues because they were modified by olipro and cmonex instead of the originals
Reply With Quote
  #9 (permalink)  
Old 03-22-2011, 11:40 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-11: FRX05 on NAND (data working again!)

so the dead battery loop of death is fixed right..... first accidental test of this..... lmao

update:@#$%^&*()(*&^%$#@#$%^&*( nah, just autoboot for no f'in reason....
__________________
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-22-2011 at 11:51 PM.
Reply With Quote
  #10 (permalink)  
Old 03-22-2011, 03:04 AM
T_D_H's Avatar
Lurker
Offline
Pocket PC: HTC touch pro 2
Carrier: Telus
 
Join Date: Feb 2010
Posts: 12
Reputation: 0
T_D_H is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)

new install method WORKS! now if only I could use my other phone with android with a sim card haha, thanks alot! joys of having multiple phones, if only this could go on my lg IQ with the snapdragon and bad ass camera...
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:24 PM.


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