Help zipping a custom rom please - Android Q&A, Help & Troubleshooting

I have followed every step of this turtorial: http://forum.xda-developers.com/showthread.php?t=2746044
Not sure what is going on. When I try to flash i get this message: Skipping MD5 check: no MD5 file found (next line in red) Failed to map file '/externel_sd/Root Stuff/TestRom.zip (next line in red) Error installing zip file '/externel_sd/Root Stuff/TestRom.zip
Just out of curiosity I unzipped a known working ROM and rezipped it with winrar and get the same error with a known working rom. So it is something in the zipping process that is making it no work, I just dont know what. Any help is appreciated.
Note I have also tried Z-zip to zip my rom and get the same for my custom rom and also a known working rom that I extract and repack.
Josh

Related

Trying to flash My own Rom

Used dsixdas Rom kitchen.
Built my own Rom using rogers stock RUU
starts to flash, then I get, error in sd card installation aborted
(status 0)
the last thing it was doing
minzip: extracted file "system/cuE:Error in /sdcard/marksrom
any takers??!!
Thanks guys
markdexter said:
Used dsixdas Rom kitchen.
Built my own Rom using rogers stock RUU
starts to flash, then I get, error in sd card installation aborted
(status 0)
the last thing it was doing
minzip: extracted file "system/cuE:Error in /sdcard/marksrom
any takers??!!
Thanks guys
Click to expand...
Click to collapse
What type of zip file is it?
its just the one that dsxidas tool spits out, although I did notice some differences.
If i click on the Rom.zip file, go to properties, then security. The only 2 that where check-marked was "modify" and "read & execute" So i compared that to a Rom that works on my device and noticed that in that same box they where all checked. - full control
modify
Read & execute
Read
Write
Special permissions
I changed those in my Rom so there all checked,however cant flash till tonight.
Just wondering if that could possibly be an, or the, issue
Not sure how to check what type of .zip file it is??
markdexter said:
Used dsixdas Rom kitchen.
Built my own Rom using rogers stock RUU
starts to flash, then I get, error in sd card installation aborted
(status 0)
the last thing it was doing
minzip: extracted file "system/cuE:Error in /sdcard/marksrom
any takers??!!
Thanks guys
Click to expand...
Click to collapse
markdexter said:
its just the one that dsxidas tool spits out, although I did notice some differences.
If i click on the Rom.zip file, go to properties, then security. The only 2 that where check-marked was "modify" and "read & execute" So i compared that to a Rom that works on my device and noticed that in that same box they where all checked. - full control
modify
Read & execute
Read
Write
Special permissions
I changed those in my Rom so there all checked,however cant flash till tonight.
Just wondering if that could possibly be an, or the, issue
Not sure how to check what type of .zip file it is??
Click to expand...
Click to collapse
Lol .. the "check boxes" you're referring to only indicate the access permissions for the specific .zip file. When in recovery mode, everything runs as root. If there is any read permission on the file, recovery should be able to acces it without any issues. Further, you mentioned above the recovery was in the process of flashing the file indicating the recovery has no issues accessing the file.
If the recovery has no issues accessing the file, there shouldn't be any issues with the specific permissions of the ROM .zip file on that specific file system in recovery mode.
As a ROM developer, the next step to troubleshooting and understanding errors when flashing a ROM is by becoming familiar with the custom recovery error log.
The custom recovery shows very limited information on the display, but in the log shows much more detail. The logs are generally kept at /tmp/recovery.log and /cache/recovery.log.
The best process is to process the .zip file and when the recovery errors, open up the recovery log. If you can paste back here the few lines before the error occurred including the error we can start working on the issue.
We might need a copy of the .zip file to match up with the recovery log to understand how much progress was made in order before the error occured.
The only other common place for ROM flashing errors when developing a ROM will be in the updater-script file. Might need a copy of this posted also.
In summary, the two most common places for issues occur either in the file name/structure of the .zip or in the updater-script.
Hope that helps! Good luck!
joeykrim said:
Lol .. the "check boxes" you're referring to only indicate the access permissions for the specific .zip file. When in recovery mode, everything runs as root. If there is any read permission on the file, recovery should be able to acces it without any issues. Further, you mentioned above the recovery was in the process of flashing the file indicating the recovery has no issues accessing the file.
If the recovery has no issues accessing the file, there shouldn't be any issues with the specific permissions of the ROM .zip file on that specific file system in recovery mode.
As a ROM developer, the next step to troubleshooting and understanding errors when flashing a ROM is by becoming familiar with the custom recovery error log.
The custom recovery shows very limited information on the display, but in the log shows much more detail. The logs are generally kept at /tmp/recovery.log and /cache/recovery.log.
The best process is to process the .zip file and when the recovery errors, open up the recovery log. If you can paste back here the few lines before the error occurred including the error we can start working on the issue.
We might need a copy of the .zip file to match up with the recovery log to understand how much progress was made in order before the error occured.
The only common place for ROM flashing errors when developing a ROM will be in the updater-script file. Might need a copy of this posted also.
In summary, the two most common places for issues occur either in the file name/structure of the .zip or in the updater-script.
Hope that helps! Good luck!
Click to expand...
Click to collapse
Amazing answer, thank you so much for taking your time with me, appreciate it, I'll try the recovery log, see what I get, as you can tell I'm pretty new to this, everyone has to start somewhere!
Thanks again buddy
Sent from my HTC EVO 3D X515a using xda premium

Solved

Hi guys,
I'm trying to set up ota updater centre for my rom. When I'm registering the rom, it needs the MD5 sum of the rom. I have downloaded "MD5summer" but i cant check the md5 sum of all the zip file, only for the folders inside it.
What i'm doing wrong?
If i'm right, what code should I take (system or Meta-inf)?

Editing FW update image file

Hello!!!
I need to replace a few files from a Firmware update image. I tried two ways ways:
1- editing straight in WinRAR
2- Unzipping, editing and compressing again
In both cases the IMG file looked right. test for problems runs fine, no issues, but when I try to update the device it won't pass on package check and the operation is aborted. I tried to save in both ZIP and IMG extensions, doesn't work in either one.
IMHO it must be related to checksum error. How can it be fixed?
The device is a Geniatech Media Center ARTV1220 running Android 4.2.2
Any clues?

help with signing update.zip

Hi
I have mounted and modified some og the apk in a system.img and saved changes.I then re zipped the udate.zip folder with the new system.img.
When i try to install with update.zip i get the following error e:signature verification failed and i am guessing that i need to sign the new update.zip
but for this to work im guessing that the signing needs to be the same as the unmodded firmware is this right?
In the zip file there is META-INF , Cert.rsa cert.sf and mainfest.mf do i need to sign the actual zip with these or the modified system.img and how would i sign with original signature as every guide i have read about signing requre pk8 and pem files. Would i need to convert cert.rsa and cert.sf to pem file.
Any help with this would be apreshiated as i am only new here and in modding and still trying to get my head around it
thanks

[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..

Categories

Resources