Jump to content

Create Your Own Update Packages


Recommended Posts

Guest JingleManSweep
Posted (edited)

DISCLAIMER: I do not accept any responsibility for damaging your phone. Please ensure you have a Nandroid backup before proceeding!

Here is a quick guide on how to create your own update packages (update.zip) that you can flash from your SD card using the modified recovery mode. This guide is mainly for Linux/Mac platforms, but could be easily modified for Windows platforms.

1) Download my "work area" zip file: http://dl.dropbox.com/u/42132/WorkAreaZip.tar.gz

2) Open a terminal

2) Unpack the work area:


$ tar xvzf WorkAreaZip.tar.gz
[/codebox]

3) Change directory to the unpacked work area:

[codebox]
$ cd /path/to/WorkAreaZip/

4) There is a folder inside the work area called image. You should download an existing "update.zip" file such as Paul+BigBear's ROM or the Vanilla style ones on this forum, and unzip the ROM into this image folder.

If unpacked correctly, the image folder should contain "boot.img", "data", "META-INF" and "system".

5) Make any changes you require within the image folder, such as editing the "system/build.prop" or moving APK files to/from the "system/app" and "data/app" folders.

6) When finished, you can package the ROM by changing directory back to the work area, and then running the "create.sh" script:


$ cd /path/to/WorkAreaZip/
$ ./tools/create.sh
[/codebox]

7) Once this script finishes, the [b]output[/b] folder will contain the unsigned package "update.zip" and the signed package "update-signed.zip". You will need to use the signed "update-signed.zip" package by copying it to your SD card and then flashing via recovery mode.

[b]DISCLAIMER: I do not accept any responsibility for damaging your phone. Please ensure you have a Nandroid backup before proceeding![/b]

Edited by JingleManSweep
  • 5 months later...
Guest hammerich
Posted

You are an absolute genius JingleManSweep - thanks for this, works perfectly - exactly what I was looking for!!

Many Thanks

Guest IBeastI
Posted (edited)

is it possible to make custom rom flasable without recovery mode?

like flashing stock 2.1?

i have broken usb port so can't install any recovery...

my question is: is it possible to create updata.app from custom rom?

Edited by IBeastI
Guest DanWilson
Posted

I thought this was a guide to making UPDATA.APPs there, and was about to congratulate you, before screaming at you for releasing it cos people could properly brick the phone.

is it possible to make custom rom flasable without recovery mode?

like flashing stock 2.1?

i have broken usb port so can't install any recovery...

my question is: is it possible to create updata.app from custom rom?

Nope.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.