> Forums > Android Flashen/Updaten/Root
G
[GUIDE] how to make a flashable package (update.zip)
Erstellt
Jul. '11
|
letzte Antwort | Antwort
1
|
Aufrufe
3.2T |
0
„Gefällt mir“ |
Abos
Noch keine |
Mi., 20. Juli, 2011 um 13:41
#1
http://forum.xda-developers.com/showthread.php?t=732957 Zitat: thanks to this page for teaching me: http://www.robmcghee.com/android/cre...e-zip-package/ note: although i am copying this from the page, this isnt a straight ctrl+c, ctrl+p from it. ive rewritten it with slightly more english. ok alot more. before we start, grab ppcgeeks auto signer here, or nothing will flash anyway. its the easiest method since its drag, drop, and click. also i recommend 7-zip but its not necessarily needed. first step, make the folder structure. ive included prebuilt updates to make it a little faster for you. they contain no actual files, just the appropriate folder structure and update script. they must be resigned if you add files and expect to flash them. if what your looking for isnt included, make a folder and name it "workdir". this will contain your work. this is just to make it easier to organize all your stuff. if you feel so inclined you can name it whatever you want, it doesnt really matter. next youll need to make folders inside the workdir according to where your flashing stuff, ie if your flashing wallpapers youd need to make a structure that looks like this: "workdir/system/customize/resource" next to make the update-script. this tells the system what to do. first make this folder structure: "workdir/META-INF/com/google/android" make sure you capitalize "META-INF" now put a text file into the "android" folder and call it "update-script" the easiest way to code it would be to copy this into it: Code: #008000; font-family: arial; font-size: 12px; word-break: break-all;">show_progress 0.1 0 copy_dir PACKAGE:(x) (X): set_perm_recursive 0 0 0755 0644 (X):(y) show_progress 0.1 10 replace the (x) with the directory in the root your flashing to in lowercase, ie system or data or sdcard. replace the (X)'s with the same thing as (x) except in UPPERCASE such as SYSTEM or DATA or SDCARD. replace the (y) with the next directory in lowercase like media or app or customize. note: if your adding to the root of (X) folder then leave this blank, no spaces or anything. if your flashing an app it should look something like this: Code: #008000; font-family: arial; font-size: 12px; word-break: break-all;">show_progress 0.1 0 copy_dir PACKAGE:system SYSTEM: set_perm_recursive 0 0 0755 0644 SYSTEM:app show_progress 0.1 10 after youve done that, save and close the file. now you need to take the extension off of the text file. simply delete the .txt at the end of the file. if there is no extension showing, make sure you have "hide extensions for known file types" unchecked in tools> folder options> "view" tab. second to last step! compress the workdir contents into a zip file, not the actual workdir though. it should look like this inside the zip: "update.zip/(folders)" not "update.zip/workdir/(folders)" finally, sign the zip with the auto signer and put it into the root of the sd card. boot into recovery and flash it up! with a bit of luck, it should work. if you have any questions, problems, or concerns just post them. i have instant subscription to this thread and will be notified every 30 min when my evo fetches my mail. |
|
Mi., 20. Juli, 2011 um 13:41
|
|
Du hast bereits für diesen
Post abgestimmt...
;-)
https://t.ress.at/JKenJ/
Ähnliche Themen:
© by Ress Design Group, 2001 - 2024