how to create a flashable.zip for lollipop? - Galaxy S 4 Q&A, Help & Troubleshooting

Hey guys, I'm developing a ROM for i9502, sometimes i want to fix some issues with some apps and just want to update them. So I want to know how to make a simple flashable update.zip to use with TWRP. I have followed many guides from this forum but nothing seems to work..maybe I must do something different with Lollipop.
Is there any easy way to create a flashable.zip to update a few apps in system folder?
thank you

Seriously? Nobody cant help me? I wan to make a simple update.zip to update files in system folder...

If you followed the guides, you shouldn't have had any issues, except for possibly one: making sure you use the right updater binary. You'd honestly have an easier time if you pulled someone else's flashable zip and used it as a basis to make yours.

Related

[Q] Is it possible to build a fake update.zip file

I am posting here since I have not posted enough to do so in the original post
http://forum.xda-developers.com/showthread.php?t=1077321
But would it be possible to create a Fake update.zip file, IF B&N is realy locking down the SD Boot option?
At the very least maybe there is a way to create an update.zip that install the needed files for ADB/ADB WiFi to work... Just a thought. I only dable a bit in coding myself or I would look into it, but this stuff is far beyond me.

[Q] How can i make "update.zip" files?

hi
I have a few number of .apk (or fixes for a ROM) but i don't know about making files that ones install in Xrecovery.
plz help me to make updat.zip or .zip file to install in xrecovery.
I think you have to make an update script, but donĀ“t ask me how to make it.
If you had used the "search"-function, you would have seen this.
It tells you what to do.

[Q] How to create an flashable .zip file

Hello all,
I am looking for a good comprehensive guide to creating my own .zip files to flash certain changes I like to make when flashing a rom or just adding files.
Now I have found a few good guides here on XDA but they seem to no longer apply as the update script needs to be in edify and not amend. This is the issue I am having so if anyone can point me to a walk through that explains this type of thing I would appreciate it.
Anyone?
lol, i dont think developers/people-with-knowledge would go into a Q&A sub-forum .
I'm neither on of them, however here is my would-be-successful attempt p) :
1- Make all your modifications and finalize them, the root folder must be /system/ .
2- use apktool to recompile as an apk (apktool b system)
3- sign that .apk.
4- rename extension to zip and violla
theoretically, it should work.
Not shure if this can help you, but i created a zip (original Script is from dungphp) to replace files on my device from CWM:
http://forum.xda-developers.com/showthread.php?t=1241244

[Q] Nexus 7 ar install help

To avoid filling the forum with question i'm just going to create this thread and ask all my questions here.
I finally rooted my nexus 7 on my mac and now am hoping to install a USB ROM, i couldnt post a link but it seems to be most popular for in car installs.
I downloaded the file and compressed it to a .zip file then tossed it onto the android. Next i booted into clockwork recovery the selected install zip from sd card>Choose zip from sd card> 0/>cm-10.zip>yes - install cm-10.zip
After this the tablet says
Finding update package...
opening update package...
installing update...
installation aborted...
Can anyone help me and/or tell me what i'm doing wrong? all help is appreciated. Thankyou
Mperkins92 said:
To avoid filling the forum with question i'm just going to create this thread and ask all my questions here.
Click to expand...
Click to collapse
A more acceptable procedure is to find - via SEARCHING - closely related threads first, and post your questions in those threads. That demonstrates to people that you've actually tried to help yourself by searching. If you actually have something unique to say, in that circumstance you start a new thread.
"Help me install a ROM" is not a new idea here on XDA, whether you have a problem with it or not.
Mperkins92 said:
I downloaded the file and compressed it to a .zip file
Click to expand...
Click to collapse
It's already a .zip file to begin with when you download it. Is your Mac uncompressing it automatically when you download it?
If so, use something other means (not Safari?) to download it. FTP. Wget. Firefox for Mac.
Then, if the ROM developer publishes rom file MD5 signatures, validate that you can compute the same checksum on the file downloaded to your computer.
If you then subsequently copy it to something else (such as the tablet), check the file length and/or the MD5 signature of the copied file as well.
Was there not some additional message on the screen besides "installation aborted"? Details are important.
The most probable guess at the moment (from your narrative) is that you borked the download and/or did something else that made the custom recovery unhappy.
BTW, when you install a new ROM for the first time, you generally:
(a) make a full Nandroid backup first (using the custom recovery)
(b) perform a "factory reset" in the custom recovery,
(c) flash of the ROM file.
Attempting the last step without the first two is just begging for trouble.
good luck

sysMapFile TWRP Error - Custom ROM

Hi guys!
Ok. so I'm (really) not a developer, I'm just trying to make a flashable ZIP (+ custom recovery and root) from the latest D80230f_00.kdz (told you, not a dev', but, yeah, everyone should starts with something right?). and I got some difficulties at the end of the process: when trying to flash the zip file, I got a big red error (ok, just red) in TWRP: "E: failed to sysMapFIle /sdcard/rom_name.zip".
Have you ever met this error?
Furthermore, I got a question about the update-binary file (maybe it's link to the error?): I've downloaded @somboons KK_template_new.zip, but their was already an update-binary file in it. I've unziped the archive, write everything I need in the updater-script, and re-zip all (see attachments), I don't do anything except ziped all: should I do something else such as sign the archive or thing like this? 'cause I don't find anything accurate about update-binary file: I don't know if we have to take it from other archive, or if it's create during signing the archive.
Oh, yeah, the recovery.img is TWRP 2.8.7.1.
Anyway, all kind of help will be very appreciate.
Thanks in advance guys !
@casual_kikoo
I would ask a mod to move your post to the Q&A where it belongs
I'm not sure if they move them or delete threads when they're not in the right sub forums.
Lawlrus said:
@casual_kikoo
I would ask a mod to move your post to the Q&A where it belongs
I'm not sure if they move them or delete threads when they're not in the right sub forums.
Click to expand...
Click to collapse
Oh ok so I post in wrong place... I was..sure :crying: ...
Thanks!
casual_kikoo said:
Hi guys!
Ok. so I'm (really) not a developer, I'm just trying to make a flashable ZIP (+ custom recovery and root) from the latest D80230f_00.kdz (told you, not a dev', but, yeah, everyone should starts with something right?). and I got some difficulties at the end of the process: when trying to flash the zip file, I got a big red error (ok, just red) in TWRP: "E: failed to sysMapFIle /sdcard/rom_name.zip".
Have you ever met this error?
Furthermore, I got a question about the update-binary file (maybe it's link to the error?): I've downloaded @somboons KK_template_new.zip, but their was already an update-binary file in it. I've unziped the archive, write everything I need in the updater-script, and re-zip all (see attachments), I don't do anything except ziped all: should I do something else such as sign the archive or thing like this? 'cause I don't find anything accurate about update-binary file: I don't know if we have to take it from other archive, or if it's create during signing the archive.
Oh, yeah, the recovery.img is TWRP 2.8.7.1.
Anyway, all kind of help will be very appreciate.
Thanks in advance guys !
Click to expand...
Click to collapse
Whenever u flash a zip for it needs to be signed, I would check or Ayysir's Android Kitchen, that's where I started my development from, I started just like u, only modifying touchwiz roms and repackaging them in flushable zoos format with android kitchen, if u need help let me know
P.S., Windows is NOT the platform to start development on lol, if I were u I'd start dual booting whatever machine ur using with a Linux OS of ur choice, for someone new like urself, I'd go with Ubuntu
Sent from my Nexus 6 using Tapatalk
soupysoup said:
Whenever u flash a zip for it needs to be signed, I would check or Ayysir's Android Kitchen, that's where I started my development from, I started just like u, only modifying touchwiz roms and repackaging them in flushable zoos format with android kitchen, if u need help let me know
P.S., Windows is NOT the platform to start development on lol, if I were u I'd start dual booting whatever machine ur using with a Linux OS of ur choice, for someone new like urself, I'd go with Ubuntu
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
First of all, thanks you so much for your fast answer. Yeah, I know Windows isn't the easiest platform to start development. Well, I've already have Ubuntu installed on VMWare, I just took screenshots on Windows .
Ok, so if I understood well, update-binary file is created during the signing step? That's why it doesn't work right now, 'cause I don't signed my ZIP.... Yeah ok I start to understand !
I'm gonna download Android Kitchen (this one right?) and start cooking !
Again, thanks you so much dude you make me more and more enthusiast about creating ROMs on Android.

Categories

Resources