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


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #31 (permalink)  
Old 07-28-2011, 03:45 AM
Charles481's Avatar
Lurker
Offline
Pocket PC: Touch Diamond2
Carrier: CHINA MOBILE
 
Join Date: Jul 2011
Posts: 4
Reputation: 0
Charles481 is a n00b
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 Lmiller1708 View Post
Just Copy and paste this to your script. It should work fine... From his orginal code before we update to squash.

Code:
echo "Compress modules to a tar.gz and move to output dir"
KER_VER="$(cat $KERNEL_PATH/include/config/kernel.release)"
cd $OUTPUT_PATH/modules
MODULES=$(find -name "*.ko")
for i in $MODULES ; do
    cp $i $OUTPUT_PATH/kernel/modules
done
cd $OUTPUT_PATH/kernel
tar -cvzf $OUTPUT_PATH/kernel/$KER_VER.tar.gz modules

Not sure what you are asking with your second question.
Where the script.sh should put on ?Would you tell me ?

Last edited by Charles481; 07-28-2011 at 01:00 PM.
Reply With Quote
 

  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 01:28 AM.


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