Go Back   Android Forums > Android Phones > ZTE Warp (N860) > (Boost Mobile) Warp - All Things Root
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

Like Tree1Likes
  • 1 Post By hroark13

test: Reply
 
LinkBack Thread Tools
Old March 24th, 2012, 07:57 PM   #1 (permalink)
Disabled
Thread Author (OP)
 
Join Date: Jul 2011
Posts: 1,738
 
Device(s):
Carrier: Not Provided

Thanks: 298
Thanked 1,912 Times in 549 Posts
Default Warp Kernel Packer

Do not use this on other Phones

We can not compile a bootable kernel zImage yet, but we can mod the kernel ramdisk.

I created some tools for repacking a zImage and ramdisk, so that others can release Kernels, who knows, maybe some of you can come up with some creative mods.

My tool can create a ClockWorkMod flashable kernel.

You have to have Linux, the Android SDK and all packages required for the Android SDK
You also need Python 2.7, newer versions of Pyhton tend to have problems with the Android SDK


Download and unzip the zpack.zip file to your /home/"user" folder

http://www.mediafire.com/?97ud3ddbissci8y



Examples

To Create a Fastboot flashable stock boot.img
Open terminal
cd /home/"user"/zpack
./boot.pl stockboot
you will now have a boot.img file in the zpack folder that you could flash with Fastboot

To Create a CWM flashable stock boot.img
Open terminal
cd /home/"user"/zpack
./zcwmkrnl.pl stockboot

you will now have a zcwmkrnl.zip file in the zpack folder that you could copy to sd-card and flash with cwm

To Create a CWM flashable CM7
boot.img
Open terminal
cd /home/"user"/zpack
./zcwmkrnl.pl cm7

you will now have a zcwmkrnl.zip file in the zpack folder that you could copy to sd-card and flash with cwm

To Create a Fastboot flashable stock recovery.img
Open terminal
cd /home/"user"/zpack
./boot.pl stockrecovery

you will now have a recovery.img file in the zpack folder that you could flash with Fastboot


To Create a Fastboot flashable CWM recovery.img
Open terminal
cd /home/"user"/zpack
./boot.pl cwm5028

you will now have a recovery.img file in the zpack folder that you could flash with Fastboot

To Create a CWM flashable Stock
recovery.img
Open terminal
cd /home/"user"/zpack
./zcwmrec.pl stockrecovery

you will now have a zcwmkrnl.zip file in the zpack folder that you could copy to sd-card and flash with cwm

To Create a CWM flashable CWM5028
recovery.img
Open terminal
cd /home/"user"/zpack
./zcwmrec.pl cwm5028

you will now have a zcwmkrnl.zip file in the zpack folder that you could copy to sd-card and flash with cwm

To Create your own version of a CWM flashabe Kernel zip file

Create a new folder called myramdisk and put the files in it that you want

Make your changes to the files or add modules or whatever the hell you want.
Remember that the ramdisk has a size limit, so you cannot add too many things

Open terminal
cd /home/"user"/zpack
./zcwmkrnl.pl myramdisk

you will now have a cwmkrnl.zip file in the zpack folder that you could copy to sdcard and flash with cwm

IF YOU WANT TO EXTRACT THE RAMDISK AND zImage from a different boot.img or recovery.img

Copy the boot.img or recovery.img to the /home/user/zpack folder

Open Terminal

cd /home/"user"/zpack
./split.pl boot.img

or

./split.pl recovery.img

This with make two files

boot.img-kernel or recovery.img-kernel (this is the zImage)

and

boot.img-ramdisk.gz or recovery.img-ramdisk.gz (this is the double compressed Ramdisk)

Right click on the gz file and choose extract here, you will now have a file
boot.img-ramdisk or recovery.img-ramdisk

This is a CPIO file which is the compressed Ramdisk

Right click on the CPIO file and choose extract here, you will now have a folder

boot.img-ramdisk_FILES or recovery.img-ramdisk_FILES

This is the uncompressed Ramdisk that you can now edit the files, like the the init.rc and stuff like that, I would re-name that folder to something meaningful like kouma14 or something like that.

When you are done re-pack it using steps above









If I have helped you, and you like my work, please click on the Thanks Button and give my thread a rating by clicking on the stars above.

If you would like to buy me a beer cofee, you can click on the PayPal button

mercury0x000d likes this.

hroark13 is offline  
Last edited by hroark13; April 21st, 2012 at 07:48 PM.
Reply With Quote
The Following 9 Users Say Thank You to hroark13 For This Useful Post:
aaanadie (November 23rd, 2012), atlharp (March 24th, 2012), downthemachine (March 24th, 2012), kijangaaja (May 19th, 2012), LivnDream (March 24th, 2012), mercury0x000d (November 23rd, 2012), prmax (March 24th, 2012), Snake X (March 24th, 2012), themonkeymixer (August 2nd, 2012)
Sponsors
Old March 24th, 2012, 10:13 PM   #2 (permalink)
Disabled
Thread Author (OP)
 
Join Date: Jul 2011
Posts: 1,738
 
Device(s):
Carrier: Not Provided

Thanks: 298
Thanked 1,912 Times in 549 Posts
Default

i think the stock recovery folder in there i not the stock recovery

i will upload newversion
hroark13 is offline  
Reply With Quote
Old November 23rd, 2012, 12:37 AM   #3 (permalink)
Senior Member
 
Join Date: Sep 2012
Gender: Male
Posts: 657
 
Device(s): ZTE N860 Rooted With Voltron OC, ZTE N762 Rooted With Voltron rev4
Carrier: Public Mobile

Thanks: 178
Thanked 236 Times in 166 Posts
Default

Bump
smartmanvartan is online now  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > ZTE Warp (N860) > (Boost Mobile) Warp - All Things Root
Thread Tools

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 -5. The time now is 12:33 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.