[Q] Quetion about creating update.zip and editing a downloaded one? - Android Q&A, Help & Troubleshooting

Hallo guys,
I have read a lot of tutorials and how to's about creating a update.zip
After creating and trying my own update.zip I keep getting the error "Verifying update package"
I try downloading some like: http://www.cnx-software.com/2013/02/04/how-to-root-droid-stick-a2-mini-pc/#comment-27515
and this one http://forum.xda-developers.com/showthread.php?t=2146226
My question is: Is it possible to edit a downloaded rooting update.zip
Because I downloaded one extracted and than made some changes to the
updater-script. I than resigned with the Auto-Sign tool, but than it stop on
"Verifying update package" I am trying to root my MX E-M6 TV Box AMLogic AML8726 android 4.2.1
Please help?

Related

Create an update.app file

I was just searching over the internet for packing the rom, kernel and recovery and want to make the update.app file but I've not found any software over the internet...!
also if someone can modify cyanogenmod 10.2 for huawei ascend G510-0200 along with suitable kernel then please upload these here...!
I have just bricked my smartphone and in force update mode after unpaking, update failed error come...!
so need to modify update.app file myself...!
please help regarding this...!

OTA Update problem

Hello guys,
recently i have on my phone (Prestigio MultiPhone 3400 DUO) modified "/system/build.prop". Yesterday i saw that there is new OTA update for my phone, but when I tried to download ad install it, in recovery there was a error:
assert failed: apply_patch_check("/system/build.prop", "c47a6508986e87bdd807aabc2418c1399735e34e", "4bf6dfef298bc3a61bb9613cb814f2ee0a806d14")
I know that I have to replace modified file with the original one, but I didn't make backup of file. Can someone please send me a copy of this file?
Sorry for bad English
Thanks in advance!

[Q] Extract Compressed File to SD Card Director on First Boot

Hey guys,
I'm currently in the middle of developing my own ROM for an S802 based TV box (M8). I am close to releasing but I have a few issues, one very much in particular. I am trying to find a script that will extract a .tar file to the /sdcard/ directory on first boot of the ROM but I'm having a hell of a time. I am a reseller of these boxes and I'm trying to get my Kodi userdata to extract into the proper directory, /sdcard/Android/data/, on first boot but nothing I do seems to be working. Currently I'm using a script called installApk.sh. From what I've gathered it works fine for extracting .tar files to non-sdcard directories but when I attempt to point the extract path of the tar to the /sdcard/ directory it fails. I've also tried decompiling the kodi apk, injecting all of my userdata directly into the apk and re-signing but that causes all of the addons to fail. I'm wondering if any of you have run into a similar issue or know a solution to my problem. Any help is appreciated. Thanks.
Mag
th3magpi3 said:
Hey guys,
I'm currently in the middle of developing my own ROM for an S802 based TV box (M8). I am close to releasing but I have a few issues, one very much in particular. I am trying to find a script that will extract a .tar file to the /sdcard/ directory on first boot of the ROM but I'm having a hell of a time. I am a reseller of these boxes and I'm trying to get my Kodi userdata to extract into the proper directory, /sdcard/Android/data/, on first boot but nothing I do seems to be working. Currently I'm using a script called installApk.sh. From what I've gathered it works fine for extracting .tar files to non-sdcard directories but when I attempt to point the extract path of the tar to the /sdcard/ directory it fails. I've also tried decompiling the kodi apk, injecting all of my userdata directly into the apk and re-signing but that causes all of the addons to fail. I'm wondering if any of you have run into a similar issue or know a solution to my problem. Any help is appreciated. Thanks.
Mag
Click to expand...
Click to collapse
see Introduction : How to build an Android ROM - XDA-University
[GUIDE] [how to] CREATE OWN ROM [FOR ANY ANDROID DEVICE] [FOR N00B] [EASIEST METHODS] by lokeshsaini94
This thread will be moved to Android Q&A, Help & Troubleshooting

[Q] Android Flashable zip creation and signature matching failed

I am creating a flash zip file for updating my android ICS rom.I have been following the below tutorial for making the flash zip,
http://forum.xda-developers.com/showthread.php?t=732957
And for signature matching I have followed the below tutorial
http://forum.xda-developers.com/showthread.php?t=1966007?
After everything done successfully when I want to use my flash zip from stock recovery mode then it says "Signature Verification Failed".
But I have followed everything that is written in the tutorial.So where is the problem??Can anyone help??
I want to create a flash zip by which I can update my app or delete some app or anything I want to do. Is above two thread is not enough can anyone give me the actual link of thread from where I can learn it.Or is anyone create a flash zip before,if so please attached it with your replies.Please help....
It's urgent...........................
I am attaching the the zip with the thread also..

MDZ-19-AA - modify update.zip (stock recovery)

Hey guys
I tried to change the ROM from my chinese Mi Box to the US version with a guide
But I made something wrong and ended up in the stock-recovery
luckily I was able to update the Box from the recovery with a update.zip (which is for the MDZ-19-AB US version)
Everything worked fine, but I was greedy and wanted to update with the same procedure to Android TV 8.0 and I soft-bricked the device but I can still get into the recovery
I tried to go back to Android TV 7.0 with the update.zip but the update checks if ("ro.product.device") is equal to "once" which was "once" but after the 8.0 update is somehow empty
I even tried tho unbrick it with a guide and the USB burning tool but that doesnt work either
I tried to take the update.zip remove the check form the updater-script and zip it and even sign it (with multiple different tools) but I am unable to get it working (either "footer is wrong" or "failed to verify whole-file signature" error comes up)
TL/DR: Can someone take the update.zip remove the check for the device in the updater script(first line), zip and sign it properly so I can update it with the stock-recovery?
it seems like I am unable to do it myself
please PM me if you can help I'n not allowed to add outside-links :crying:
remo_94 said:
Hey guys
I tried to change the ROM from my chinese Mi Box to the US version with a guide
But I made something wrong and ended up in the stock-recovery
luckily I was able to update the Box from the recovery with a update.zip (which is for the MDZ-19-AB US version)
Everything worked fine, but I was greedy and wanted to update with the same procedure to Android TV 8.0 and I soft-bricked the device but I can still get into the recovery
I tried to go back to Android TV 7.0 with the update.zip but the update checks if ("ro.product.device") is equal to "once" which was "once" but after the 8.0 update is somehow empty
I even tried tho unbrick it with a guide and the USB burning tool but that doesnt work either
I tried to take the update.zip remove the check form the updater-script and zip it and even sign it (with multiple different tools) but I am unable to get it working (either "footer is wrong" or "failed to verify whole-file signature" error comes up)
TL/DR: Can someone take the update.zip remove the check for the device in the updater script(first line), zip and sign it properly so I can update it with the stock-recovery?
it seems like I am unable to do it myself
please PM me if you can help I'n not allowed to add outside-links :crying:
Click to expand...
Click to collapse
that would be nice if anyone actually had the keys needed to sign it to pass verification lol
remo_94 said:
Hey guys :crying:
Click to expand...
Click to collapse
Hey, you can extract the updater-script from the package, edit it, then repack it to the same zip(preserving the signature)
Ricky Divjakovski said:
Hey, you can extract the updater-script from the package, edit it, then repack it to the same zip(preserving the signature)
Click to expand...
Click to collapse
wouldnt that break the whole file signature?
elliwigy said:
wouldnt that break the whole file signature?
Click to expand...
Click to collapse
Pretty sure it doesnt aslong as you repack with the update method, same way your able to mod certain apps inside/system preserving the signature
But.. im pretty sure ive got amlogics keys somewhere though
Ricky Divjakovski said:
Pretty sure it doesnt aslong as you repack with the update method, same way your able to mod certain apps inside/system preserving the signature
But.. im pretty sure ive got amlogics keys somewhere though
Click to expand...
Click to collapse
I guess with the "update method" you mean just edit the file in the archive without extracting and repacking.
I tried with WinRAR and 7-zip, I tried editing it inside the archive and saving the changes, I tried extracting editing and repacking it, I even edited the MANIFEST.MF to the new SHA-1 value of the update-script but I only get "failed to verify whole-file signature"
I thought it was enough if I sign my update.zip with the Android testkeys isn't that possible?
remo_94 said:
I guess with the "update method" you mean just edit the file in the archive without extracting and repacking.
I tried with WinRAR and 7-zip, I tried editing it inside the archive and saving the changes, I tried extracting editing and repacking it, I even edited the MANIFEST.MF to the new SHA-1 value of the update-script but I only get "failed to verify whole-file signature"
I thought it was enough if I sign my update.zip with the Android testkeys isn't that possible?
Click to expand...
Click to collapse
Ill look more into it tonight

Categories

Resources