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
  #1961 (permalink)  
Old 03-21-2011, 05:37 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 Lmiller1708 View Post
Kill the script. No real need for it.

Nate,
Not sure what your problems are... But when I was trying to make the MTDParts like you are now you have to format the partitions in the correct order. MTD1 - MTDn...

I'm guessing that you have all sorts of rw errors once you tired to go back to the original... This can be corrected by changing the order of erasing like i just posted above.

Our initial install script should be put together this way also.

EDIT: ALSO Nate if you want to test these MTDparts out we might need to look at how the NBH is being created again.
Might have to go back to what the Vogue is using...
Just a hunch I have , but I have not had enough time to look at it.

This was my latest MTDParts:
Code:
mtdparts=msm_nand:0x3000000@0x0(boot),0x800000@0x3000000(recovery),0x8C00000@0x3800000(system),0x10800000@0xC400000(userdata),0x2000000@0x1CC00000(cache)
They work... but WIFI does not! ACL said it's because we could be writing over the place where that stuff is stored...
LMiller, remember, when you use the recovery, it only mounts mtd1 initially and formats it, so it doesn't matter about the order. I tried with your mtdparts, and it gives me this:

msm_nand_erase: cannot erase block in protected area, addr=0x2000003000000
flash_eraseall: /dev/mtd/mtd1: MEMERASE: Invalid argument
Failed
Failed to format Recovery

If you are doing the cat method to get the size smaller, I'm concerned that will cause more issues since cat doesn't adjust the partition tables like the nbtools do.

As for the script, I want to get rid of it too, but only after recovery is working properly. For now, recovery is not working for me, and I'm going to assume it isn't working for others in its current state on the autobuild. Maybe I'm missing something?

Edit: OK, now it is working for me. There comes a time in a man's life when he must format the sd card... That time was now, lol. That being said, to hell with install-seq.sh and long live ACL's recovery because that beast is sexy as hell.
__________________

Last edited by natemcnutty; 03-21-2011 at 05:53 PM.
Reply With Quote
  #1962 (permalink)  
Old 03-21-2011, 06:01 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
LMiller, remember, when you use the recovery, it only mounts mtd1 initially and formats it, so it doesn't matter about the order. I tried with your mtdparts, and it gives me this:

msm_nand_erase: cannot erase block in protected area, addr=0x2000003000000
flash_eraseall: /dev/mtd/mtd1: MEMERASE: Invalid argument
Failed
Failed to format Recovery

If you are doing the cat method to get the size smaller, I'm concerned that will cause more issues since cat doesn't adjust the partition tables like the nbtools do.

As for the script, I want to get rid of it too, but only after recovery is working properly. For now, recovery is not working for me, and I'm going to assume it isn't working for others in its current state on the autobuild. Maybe I'm missing something?

Edit: OK, now it is working for me. There comes a time in a man's life when he must format the sd card... That time was now, lol. That being said, to hell with install-seq.sh and long live ACL's recovery because that beast is sexy as hell.
yeah .. but imagine if we can have the NBH put the recovery straight into the recovery partition ? now that would be sweet. I asked wozzer to look into that and lets hope he gets somewhere. He said in the past he was able to put more stuff in so it may be possible now that we know the key to success with nand.. just cross your fingers.

Anyways: so is there an sdcard issue? i still think there is because of that line inside the initrd
__________________

Last edited by [ACL]; 03-21-2011 at 06:07 PM.
Reply With Quote
  #1963 (permalink)  
Old 03-21-2011, 06:10 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
yeah .. but imagine if we can have the NBH put the recovery straight into the recovery partition ? now that would be sweet. I asked wozzer to look into that and lets hope he gets somewhere. He said in the past he was able to put more stuff in so it may be possible now that we know the key to success with nand.. just cross your fingers.
You know, it's all about combining it into the payload at the right offset. I guarantee Wozzer is better at that than I am, but I'll gladly take a look at it

For the old install script, I think we can remove it entirely. I think it would be good to maintain it on git though since you are using it in recovery. Maybe the other scripts from recovery can go in the bootenv/scripts folder too?

Finally, those mtdparts I listed are working perfectly for me using the method we are currently doing. I can't get LMiller's to work even changing to the cat method. I'm not sure what magic he is using to get that partition layout working, but I'd love to commit what I posted for now. If we can squeak out a little more space, we can update that later
Reply With Quote
  #1964 (permalink)  
Old 03-21-2011, 06:18 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 natemcnutty View Post
You know, it's all about combining it into the payload at the right offset. I guarantee Wozzer is better at that than I am, but I'll gladly take a look at it

For the old install script, I think we can remove it entirely. I think it would be good to maintain it on git though since you are using it in recovery. Maybe the other scripts from recovery can go in the bootenv/scripts folder too?

Finally, those mtdparts I listed are working perfectly for me using the method we are currently doing. I can't get LMiller's to work even changing to the cat method. I'm not sure what magic he is using to get that partition layout working, but I'd love to commit what I posted for now. If we can squeak out a little more space, we can update that later

Magic... Nahh.. I screwed up again, I had them working at 4 not 3. Not sure what I was thinking...

Anyway is your WIFI working with the latest MTDParts?
__________________
Reply With Quote
  #1965 (permalink)  
Old 03-21-2011, 06:20 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
You know, it's all about combining it into the payload at the right offset. I guarantee Wozzer is better at that than I am, but I'll gladly take a look at it

For the old install script, I think we can remove it entirely. I think it would be good to maintain it on git though since you are using it in recovery. Maybe the other scripts from recovery can go in the bootenv/scripts folder too?

Finally, those mtdparts I listed are working perfectly for me using the method we are currently doing. I can't get LMiller's to work even changing to the cat method. I'm not sure what magic he is using to get that partition layout working, but I'd love to commit what I posted for now. If we can squeak out a little more space, we can update that later
he is having vm issues so knock urself out. if u can do that then ill work on the multiple kernel thing we have for the /data/modules part. plus some more kernle upagrades hopefully
Reply With Quote
  #1966 (permalink)  
Old 03-21-2011, 06: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-11: FRX05 on NAND (data working again!)

Quote:
Originally Posted by [ACL] View Post
he is having vm issues so knock urself out. if u can do that then ill work on the multiple kernel thing we have for the /data/modules part. plus some more kernle upagrades hopefully
Sounds great. Just curious on this, why don't we just cp the modules into system instead of symlinking from data? I think the issues we were having before probably had to do with mounting system as ro before android started.
Reply With Quote
  #1967 (permalink)  
Old 03-21-2011, 06:37 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 Lmiller1708 View Post
Magic... Nahh.. I screwed up again, I had them working at 4 not 3. Not sure what I was thinking...

Anyway is your WIFI working with the latest MTDParts?
Yeah, wifi works just fine. I don't think mtdparts will affect modules unless you data partition is being overlapped by system or something. Then you would have more issues than just wifi not working though :P
Reply With Quote
  #1968 (permalink)  
Old 03-21-2011, 06:53 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 natemcnutty View Post
Yeah, wifi works just fine. I don't think mtdparts will affect modules unless you data partition is being overlapped by system or something. Then you would have more issues than just wifi not working though :P
Well that's great News!

We thought it was related to the MTDParts because every time I would try these parts they would break WIFI... But now since ACL made the change in the kernel WIFI works!!

Have you tried 4000000 instead of 4800000? Like I said above I was able to get it to work that way... I won't have anytime to test these tonight...
Reply With Quote
  #1969 (permalink)  
Old 03-21-2011, 07:15 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 Lmiller1708 View Post
Well that's great News!

We thought it was related to the MTDParts because every time I would try these parts they would break WIFI... But now since ACL made the change in the kernel WIFI works!!

Have you tried 4000000 instead of 4800000? Like I said above I was able to get it to work that way... I won't have anytime to test these tonight...
Yup, fails on 4000000 but works on 4800000.
Reply With Quote
  #1970 (permalink)  
Old 03-21-2011, 07:51 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)
so with the sdcard BS, we're at what exactly? Testing those ideas?

Acl, fn no worky in boot code, so wuah wuah to that one.... annnnnd, what's good with terminal in recovery? Eh eh? Dat'd be pretty shweet, specially with green font, idk...

Also, I'll reiterate = !@#$%^&*()+=-_£€\/'";>. My keyboard fn shiznit is workin business stylee.... nothin tweaked in install-seq either, straight from bootenv

Sent from my sdcard hanicapped MassStashed kustomkookedkernel of nandroid (woot mute button endcall)
__________________
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-21-2011 at 07:53 PM.
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 08:26 PM.


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