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
  #2111 (permalink)  
Old 03-25-2011, 09:14 AM
arrrghhh's Avatar
Testing Extraordinaire
Offline
Pocket PC: HTC Touch Pro 2 (RHOD400)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 3,604
Reputation: 7360
arrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the community
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)

Quote:
Originally Posted by chunnel View Post
I have run the port via haret from the Project Android thread. That appears dead at this point. However, without Bluetooth capability this is not practical for me. Neither thread seems to have that working. So, do you see that as a possibility? Or has everyone given up on that working?
Please, don't fill this thread with drivel.

Use search, there's a thread dedicated to BT. Kernel fixes are there, but buggy and userland fixes need to still be employed to route audio correctly.

Really do hate when people say the project is dead when it is far from it...
Reply With Quote
This post has been thanked 2 times.
  #2112 (permalink)  
Old 03-25-2011, 09:35 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 arrrghhh View Post
Please, don't fill this thread with drivel.

Use search, there's a thread dedicated to BT. Kernel fixes are there, but buggy and userland fixes need to still be employed to route audio correctly.

Really do hate when people say the project is dead when it is far from it...
thanks bro ..
__________________
Reply With Quote
  #2113 (permalink)  
Old 03-25-2011, 01:31 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!)

ACL, I've been trying to find a way to get recovery loaded from our NBH. There are only two things I can think of.

First, cat an image of recovery out to the sdcard and then cat it onto the end of the payload. I'd have to figure out padding to get it to write to the correct offset, and I'm not sure if it would mess anything else up since we'd be writing blank or padded values to that protected area of NAND.

The other alternative is that we include recovery.tgz in initrd and have init check /recovery to see if recovery is there yet. If not, extract it from the initrd and launch into it. This way we can still update recovery, but it gets deployed if it doesn't exist.

What do you think?
__________________

Last edited by natemcnutty; 03-25-2011 at 02:10 PM.
Reply With Quote
  #2114 (permalink)  
Old 03-25-2011, 02:22 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
ACL, I've been trying to find a way to get recovery loaded from our NBH. There are only two things I can think of.

First, cat an image of recovery out to the sdcard and then cat it onto the end of the payload. I'd have to figure out padding to get it to write to the correct offset, and I'm not sure if it would mess anything else up since we'd be writing blank or padded values to that protected area of NAND.

The other alternative is that we include /recovery in initrd and have init check /dev/block/mtdblock1 to see if recovery is there yet. If not, deploy it from the initrd and launch into it. This way we can still update recovery, but it gets deployed if it doesn't exist.

What do you think?
I dont know about this padding stuff. From what wozzer told me it looks like this thing can end up in different locations so its impossible to predict where. So right now only testing will answer our questions.

I tried in the past to embed the recovery in the initrd, but its simply too big. This is a potential solution if we use LK, but we are too far from that right now.

Another temporary option is to build a small recovery kernel( make a new defconfig) and just disable all the unneeded options. If we can bring the kernel down to 1 meg, then recovery can fit fine in intrd. We just need a kernel to help us hop into the real kernel.. im open to ideas, this is new grown for all of us.
Reply With Quote
  #2115 (permalink)  
Old 03-25-2011, 02:29 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
I dont know about this padding stuff. From what wozzer told me it looks like this thing can end up in different locations so its impossible to predict where. So right now only testing will answer our questions.

I tried in the past to embed the recovery in the initrd, but its simply too big. This is a potential solution if we use LK, but we are too far from that right now.

Another temporary option is to build a small recovery kernel( make a new defconfig) and just disable all the unneeded options. If we can bring the kernel down to 1 meg, then recovery can fit fine in intrd. We just need a kernel to help us hop into the real kernel.. im open to ideas, this is new grown for all of us.
Cool, I'll mess around with trying to pack recovery into initrd and let you know how it goes. I have a few ideas of some things we can do to shrink our space.

Also, I just built the latest kernel/modules and installed. I am unable to get data working, but I have not tried the new RIL in the GSM folder. Wasn't sure if that was for GSM only or if that was required with the new kernel also.

Yesterday, I wasn't able to get service with the kernel I compiled, so at least I have that this time. I'll be testing out neopeek's idea for moving -d /dev/smd0 arg to build.prop next.
Reply With Quote
  #2116 (permalink)  
Old 03-25-2011, 04:24 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
Cool, I'll mess around with trying to pack recovery into initrd and let you know how it goes. I have a few ideas of some things we can do to shrink our space.

Also, I just built the latest kernel/modules and installed. I am unable to get data working, but I have not tried the new RIL in the GSM folder. Wasn't sure if that was for GSM only or if that was required with the new kernel also.

Yesterday, I wasn't able to get service with the kernel I compiled, so at least I have that this time. I'll be testing out neopeek's idea for moving -d /dev/smd0 arg to build.prop next.
yeah the gsm dev ril might be use for all devices soon. Havent finished the part bout forcing yourself into a network that your device dont belong on yet.. lot of work. but i might do that last.
Reply With Quote
  #2117 (permalink)  
Old 03-25-2011, 05:09 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 the gsm dev ril might be use for all devices soon. Havent finished the part bout forcing yourself into a network that your device dont belong on yet.. lot of work. but i might do that last.
Cool. Any idea how I can force the data to work for now?

Also, I just stuck the recovery.tgz in the root of initrd.gz, had init check for /recovery/init.recovery, if not found, extract recovery from /recovery.tgz, and boot into recovery.

So, with that done, now we don't need recoveryinstall.tgz on the sdcard, and you don't even need a sdcard to get into recovery... The NBH ends up being 5 MB if you leave recovery in the tgz, and from what I can tell, Android is booting up and working just fine with the increase in size.

Last edited by natemcnutty; 03-25-2011 at 05:15 PM.
Reply With Quote
  #2118 (permalink)  
Old 03-25-2011, 05:26 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
Cool. Any idea how I can force the data to work for now?

Also, I just stuck the recovery.tgz in the root of initrd.gz, had init check for /recovery/init.recovery, if not found, extract recovery from /recovery.tgz, and boot into recovery.

So, with that done, now we don't need recoveryinstall.tgz on the sdcard, and you don't even need a sdcard to get into recovery... The NBH ends up being 5 MB if you leave recovery in the tgz, and from what I can tell, Android is booting up and working just fine with the increase in size.
wtf .. didnt we try this before like 100 times and we couldnt get past 3.25mb ? or am i on crack? that must be it.. crack..

anyways this is huge bro. I have what i call "oem_recovery" its a stripped down recovery for just installs and some basics. I planned to deploy this with the intrd in the past but i couldnt get it to work sounds like you did so ill get

Anyways if this is working, then i say we have a success on or hands..

if you are using the new ril then you will be forced cdma by default. You can check on a logcat -b radio to make sure cdma is being used and not gsm.
Reply With Quote
  #2119 (permalink)  
Old 03-25-2011, 05:32 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
wtf .. didnt we try this before like 100 times and we couldnt get past 3.25mb ? or am i on crack? that must be it.. crack..

anyways this is huge bro. I have what i call "oem_recovery" its a stripped down recovery for just installs and some basics. I planned to deploy this with the intrd in the past but i couldnt get it to work sounds like you did so ill get

Anyways if this is working, then i say we have a success on or hands..

if you are using the new ril then you will be forced cdma by default. You can check on a logcat -b radio to make sure cdma is being used and not gsm.
Awesome. So here's what I'm going to do. I'm going to compile a new NBH with the androidupdate.tgz to include the new RIL. I'll post that here and have as many people test it out as possible. If I get enough feedback, I'll push it to git.

Note, we still need to change the button mappings in recovery. Right now, I just changed the one value in the gpiokeys to be home instead of power, and I commented out the navipad.
Reply With Quote
  #2120 (permalink)  
Old 03-25-2011, 05:46 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!)

OK, here is the new test NBH with the androidupdate.tgz. To make sure there is no funny business, please do the following:

Make sure recoveryinstall.tgz is removed from /sdcard/andboot
Put androidinstall.tgz and androidupdate.tgz in /sdcard/andboot
Flash the NBH
Do NOT touch the phone and watch to make sure it boots straight into recovery
Once in recovery, install like you normally would

This method is absolutely sexy! If recovery is ever corrupted for some reason, you can restore the original recovery by simply deleting init.recovery from the root

http://dl.dropbox.com/u/11790134/recoverytest.zip

Edit: Data does not work on first boot, but appears to work fine after a reboot!

Last edited by natemcnutty; 03-25-2011 at 06:13 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 01:00 AM.


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