OnePlus DR-1 Quadcopter Drone Available for Purchase

OnePlus has been teasing a new product for a while now, hailing it as a … more

KDZ of Android 5.0.1 Captured for T-Mobile LG G3

T-Mobile US is yet to release the 20B Lollipop build for the LG G3. Luckily enough, you … more

Build Custom Stock Kernel with Linaro GCC 4.9.1

With this guide for Sony devices, you will learn how to build a kernel using the Linaro … more

What’s Your Biggest Reason for Not Owning an iPhone?

With XDA being a community of Android enthusiasts, it is not uncommon to see … more
Post Reply Subscribe to Thread Email Thread

[ZIP] Empty Flashable Kernel Zip Template

13th May 2014, 04:30 AM |#1  
andybones's Avatar
OP Recognized Contributor
Flag Upstate NY
Thanks Meter: 10,674
 
10,540 posts
Join Date:Joined: May 2010
Donate to Me
More
Some people aren't sure how to create a flash-able zip. So here is a template zip file.
If you want to edit the updater-script (what shows up in recovery when you choose the .zip to flash. It it's in META-INF\com\google\android\updater-script, edit with notepad++, and edit in between the parentheses ui_print("Put Your Text Here");

add your boot.img to the spot where there is already a boot.img and replace it with yours
Most Kernels require different system/libs/modules
I added a spot for you to add these as well.


http://d-h.st/MfA


No need to seek permission for this or give any credits. Just something for those who need it.
Last edited by andybones; 13th May 2014 at 06:41 AM.
The Following 7 Users Say Thank You to andybones For This Useful Post: [ View ]
13th May 2014, 04:30 AM |#2  
andybones's Avatar
OP Recognized Contributor
Flag Upstate NY
Thanks Meter: 10,674
 
10,540 posts
Join Date:Joined: May 2010
Donate to Me
More
Saved.
5th June 2014, 06:09 PM |#3  
Senior Member
Thanks Meter: 877
 
2,842 posts
Join Date:Joined: Mar 2010
More
Quote:
Originally Posted by andybones

Some people aren't sure how to create a flash-able zip. So here is a template zip file.
If you want to edit the updater-script (what shows up in recovery when you choose the .zip to flash. It it's in META-INF\com\google\android\updater-script, edit with notepad++, and edit in between the parentheses ui_print("Put Your Text Here");

add your boot.img to the spot where there is already a boot.img and replace it with yours
Most Kernels require different system/libs/modules
I added a spot for you to add these as well.


http://d-h.st/MfA


No need to seek permission for this or give any credits. Just something for those who need it.

Would this work if we want to make a flashable zip for certain files? Say frameworks, systemui, etc?
5th June 2014, 06:17 PM |#4  
holla420's Avatar
Senior Member
Flag Atlanta,Ga
Thanks Meter: 1,267
 
3,344 posts
Join Date:Joined: Oct 2011
More
Quote:
Originally Posted by droidkevlar

Would this work if we want to make a flashable zip for certain files? Say frameworks, systemui, etc?

Yes it should work

Sent from my Insanely powered M8 using Tapatalk
5th June 2014, 07:07 PM |#5  
Senior Member
Thanks Meter: 877
 
2,842 posts
Join Date:Joined: Mar 2010
More
Quote:
Originally Posted by holla420

Yes it should work

Sent from my Insanely powered M8 using Tapatalk

So I would just need to update the updater-script, correct? And remove the boot.img file?
5th June 2014, 09:00 PM |#6  
andybones's Avatar
OP Recognized Contributor
Flag Upstate NY
Thanks Meter: 10,674
 
10,540 posts
Join Date:Joined: May 2010
Donate to Me
More
Quote:
Originally Posted by droidkevlar

So I would just need to update the updater-script, correct? And remove the boot.img file?

No.. Use this thread for that..

http://forum.xda-developers.com/show....php?t=2745680
The Following User Says Thank You to andybones For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes