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-16-2011, 10:44 AM
rpierce99's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Touch Pro 2 (RHOD 400)
Carrier: Sprint
 
Join Date: Jan 2011
Posts: 85
Reputation: 175
rpierce99 is keeping up the good workrpierce99 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

Quote:
Originally Posted by jerryyyyy View Post
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....
afaik you don't want to just gzip the directory, what I did is write a short shell script that copies all of the .ko files (searching recursively) to a different folder and then gzips that, using the modues-versionstuff.tar.gz format. I don't remember where I found the example script (could have been the first post or a link from the first post) but I only had to make some small modifications to get it to work.
__________________
HTC Touch Pro 2 - RHOD400 - Sprint - FRX07
Reply With Quote
This post has been thanked 1 times.
  #5 (permalink)  
Old 03-16-2011, 12:29 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 rpierce99 View Post
afaik you don't want to just gzip the directory, what I did is write a short shell script that copies all of the .ko files (searching recursively) to a different folder and then gzips that, using the modues-versionstuff.tar.gz format. I don't remember where I found the example script (could have been the first post or a link from the first post) but I only had to make some small modifications to get it to work.
Worked fine. Thanks...
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:05 AM.


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