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
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-14-2011, 09:13 PM
jerryyyyy's Avatar
Halfway to VIP Status
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
Location: Stanford, CA
 
Join Date: Jul 2007
Posts: 478
Reputation: 380
jerryyyyy is becoming a PPCGeeks regularjerryyyyy is becoming a PPCGeeks regularjerryyyyy is becoming a PPCGeeks regularjerryyyyy is becoming a PPCGeeks regular
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin

Quote:
Originally Posted by MassStash View Post
wow vovka, too much vodka for you..... NAND means Not Actually Needing Damn haret.... lol google nand, then google haret bro....
Thanks, but I think we have probably both done that and NAND seems a touch scary to me with potential bricking of the phone more likely than with Haret. Is this a misperception?
__________________
Sprint: G1000, HTC-6600, 6800, TP2 now Optimus S with Stock Android 2.2.2.
Reply With Quote
  #2 (permalink)  
Old 03-15-2011, 05:45 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: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin

Quote:
Originally Posted by jerryyyyy View Post
Thanks, but I think we have probably both done that and NAND seems a touch scary to me with potential bricking of the phone more likely than with Haret. Is this a misperception?
Pretty difficult to brick the phone, and trust me, I have tried...

We are writing a bootloader (tinboot in this case) to the NAND which is executed, unpacks the kernel, and then runs the init/install scripts. I ended up having to write a document of this post because every time I start to update it, I either get pulled away, or we change something crucial :P

I'm still going to gear this toward NAND because we have a lot more control over cmdline and such with Haret, so you don't need some of the detail for that. I'll have a better explanation of the boot sequence in the Tinboot section too.
Reply With Quote
This post has been thanked 1 times.
  #3 (permalink)  
Old 03-16-2011, 05:38 AM
jerryyyyy's Avatar
Halfway to VIP Status
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
Location: Stanford, CA
 
Join Date: Jul 2007
Posts: 478
Reputation: 380
jerryyyyy is becoming a PPCGeeks regularjerryyyyy is becoming a PPCGeeks regularjerryyyyy is becoming a PPCGeeks regularjerryyyyy is becoming a PPCGeeks regular
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin

Quote:
Originally Posted by natemcnutty View Post
Pretty difficult to brick the phone, and trust me, I have tried...

We are writing a bootloader (tinboot in this case) to the NAND which is executed, unpacks the kernel, and then runs the init/install scripts. I ended up having to write a document of this post because every time I start to update it, I either get pulled away, or we change something crucial :P

I'm still going to gear this toward NAND because we have a lot more control over cmdline and such with Haret, so you don't need some of the detail for that. I'll have a better explanation of the boot sequence in the Tinboot section too.
Thanks for the help. I seem to have compiled all the modules required for Haret, but they seem located in this directory:

jerryyyyy@jerryyyyy-VirtualBox:~/android/modules/lib/modules/2.6.27.46-01276-g6a6a1c1$

According to the instructions: "Unfortunately, the modules still need to be packaged, so you will need to search for all .ko files, copy them into an empty directory and compress them into a tar.gz. The name will be modules-2.6.27.46-01192-version.tar.gz. "

I guess I need to compress this directiory (hope it is this simple).

I understand you all are busy, as am I, but, interesting to hack away at this....
Reply With Quote
  #4 (permalink)  
Old 03-17-2011, 06:29 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)
Anyone try compiling a nand kernel lately?? nbh doesn't package up right for me or something. I can't get past first boot splash...

Off the slightly tweaked FRX05 Nandroid ROM, fuk winmo...
__________________
Rockin' The Official TouchPro 2 aka "The dopest phone with keyboard still":
F**k windows mobile, NAND flash to droid....
Reply With Quote
  #5 (permalink)  
Old 03-19-2011, 03:34 AM
tiger2wander's Avatar
PPCGeeks Regular
Offline
Pocket PC: Verizon TP2 CDMA XV6875 (RHOD500) - O2 XDA IIs
Carrier: VN Mobifone (GSM, 3G)
 
Join Date: Feb 2009
Posts: 107
Reputation: 150
tiger2wander is keeping up the good worktiger2wander is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin

Hi there,

I've just built success and got ruu_signed.NBH & modules-2.6.27.46-01254-g2a78bb6.tar.gz files.

Since new NAND version came and put everything inside device memory (only use sdcard for update) I want to known how to update zImage & modules.
Is there any guide to made androidupdate.tgz?
Can I use 'recovery' to update that file?

I was made a androidupdate.tgz by tar-zipped a directory with:
Code:
data
`-- modules
    |-- bcm4329.ko
    |-- cfg80211.ko
    |-- ip_queue.ko
    |-- iptable_filter.ko
....
then put it into /sdcard/andboot/androidupdate.tgz, update RHOIMG.NBH, reboot, stuck at boot. Error message: "not found rootfs" and fork a sh shell.

--
Best regard!
Uoc Nguyen
__________________
Reply With Quote
  #6 (permalink)  
Old 03-19-2011, 12:52 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: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin

Quote:
Originally Posted by tiger2wander View Post
Hi there,

I've just built success and got ruu_signed.NBH & modules-2.6.27.46-01254-g2a78bb6.tar.gz files.

Since new NAND version came and put everything inside device memory (only use sdcard for update) I want to known how to update zImage & modules.
Is there any guide to made androidupdate.tgz?
Can I use 'recovery' to update that file?

I was made a androidupdate.tgz by tar-zipped a directory with:
Code:
data
`-- modules
    |-- bcm4329.ko
    |-- cfg80211.ko
    |-- ip_queue.ko
    |-- iptable_filter.ko
....
then put it into /sdcard/andboot/androidupdate.tgz, update RHOIMG.NBH, reboot, stuck at boot. Error message: "not found rootfs" and fork a sh shell.

--
Best regard!
Uoc Nguyen
You have the right idea with the modules. All modules just go in a tgz with the structure /data/modules inside it. All you really need to do is grab the correct initrd.gz from here: bootenv in Tinboot for linux-msm - Gitorious and put it in your /tinboot-linux-msm/kernel directory with the zImage.

Again, I apologize for the delay on updating the first post. I'm heading out to the zoo with the wife, but we'll be back in a couple of hours and I'll get it updated then. She has a baby shower after we get back, so that should give me plenty of time
__________________
Reply With Quote
This post has been thanked 1 times.
  #7 (permalink)  
Old 03-19-2011, 04:09 PM
tiger2wander's Avatar
PPCGeeks Regular
Offline
Pocket PC: Verizon TP2 CDMA XV6875 (RHOD500) - O2 XDA IIs
Carrier: VN Mobifone (GSM, 3G)
 
Join Date: Feb 2009
Posts: 107
Reputation: 150
tiger2wander is keeping up the good worktiger2wander is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin

yeah, thanks, that's what I need, man. I'll re-compile them tomorrow (here is 3:05AM, btw need asleep).

Also, if you are going to edit the first post, don't forget to modify some line to make newcomer do correct things!
Code:
cat ~/android/linux-msm-rhod-nand/arch/arm/include/config/kernel.release
to
Code:
cat ~/android/linux-msm-rhod-nand/include/config/kernel.release
and add '-p' option to mkdir command to make it automatically create missing parent path if any to collapse code, for example:
Code:
if [ ! -d "$ANDROID/output/sdcard" ] ; then
   mkdir -p $ANDROID/output/sdcard
fi
--
Best regard!
Uoc Nguyen
Reply With Quote
This post has been thanked 1 times.
  #8 (permalink)  
Old 03-20-2011, 01:36 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: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin

Quote:
Originally Posted by tiger2wander View Post
yeah, thanks, that's what I need, man. I'll re-compile them tomorrow (here is 3:05AM, btw need asleep).

Also, if you are going to edit the first post, don't forget to modify some line to make newcomer do correct things!
Code:
cat ~/android/linux-msm-rhod-nand/arch/arm/include/config/kernel.release
to
Code:
cat ~/android/linux-msm-rhod-nand/include/config/kernel.release
and add '-p' option to mkdir command to make it automatically create missing parent path if any to collapse code, for example:
Code:
if [ ! -d "$ANDROID/output/sdcard" ] ; then
   mkdir -p $ANDROID/output/sdcard
fi
--
Best regard!
Uoc Nguyen
I very much appreciate the help. As I've stated before, I wouldn't consider myself an expert at all with Linux, and any feedback is always welcome. I'm sure there are a lot of things in my scripts that could be improved, so keep them coming

Also, I just updated the first post with some of what I had. I'm still refining a few things, and the 2nd post will be updated shortly.
Reply With Quote
This post has been thanked 1 times.
  #9 (permalink)  
Old 03-20-2011, 03:12 AM
tiger2wander's Avatar
PPCGeeks Regular
Offline
Pocket PC: Verizon TP2 CDMA XV6875 (RHOD500) - O2 XDA IIs
Carrier: VN Mobifone (GSM, 3G)
 
Join Date: Feb 2009
Posts: 107
Reputation: 150
tiger2wander is keeping up the good worktiger2wander is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: How To Compile Your Own Kernels, Modules, Tinboot (NAND boot), and More for Begin

Great update, natemcnutty!
Reply With Quote
  #10 (permalink)  
Old 03-19-2011, 10: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)
I can't get past first boot splash stiiiiiiiiill....

Off the slightly tweaked FRX05 Nandroid ROM, fu(k winmo...
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2


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:50 PM.


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