[Q] Loading a custom signed ROM from SD card - Android Q&A, Help & Troubleshooting

I got the following error when I tried to load an OTA package from the SD card using CWM recovery with signature verification enabled.
Finding update package ...
Opening update package ...
Verifiyng update package ...
E: failed to verify whole-file signature
E: signature verification failed
Installation aborted
Following are the details of the steps I followed -
1) I rooted my Galaxy Tab 2 7.0 (P3113) following the instructions posted on
http://www.androidauthority.com/galaxy-tab-2-7-0-p3113-root-clockworkmod-recovery-96474/.
2) Then I built an AOKP jellybean custom ROM following the instructions on
http://rootzwiki.com/topic/31166-tutorial-so-you-want-to-build-aokp-jb-ubuntu-1204/
3) Then I followed http://www.kandroid.org/online-pdk/guide/release_keys.html to create a distribution release and my own private signing certificates, and signed the APKs in the target files. Then I used ota_from_target_files to create an OTA zip signed with my own key.
4) I copied the signed OTA package to mSD card and boot the tablet to Recovery, then I wiped everything (factory/data reset, cache, ectc) including formating /system partition, then I enabled the Signature Verificaiton, and then selected the zip to install, and got the "Failed to verify the whole-file signature" error message.
By the way, if I disable the signature verification, I can load the zip successfully.
Can someone tell me what I did wrong or if I missed any necessary steps? Much appreciated.

Related

[Q] Missing command?

I boot my vibrant into recovery mode. I did not see the command that allow me to install app from sd card. do i need special program for that. In recovery mode only has: REBOOT SYSTEM NOW
REINSTALL PACKAGES
DELETE ALL USER DATA
DELETE CACHE DATA
FORMAT INTERNAL SD-CARD
I did not see the line that ask to install from sd-card. how do i added on there. please help. Thank you.
sienna3185 said:
I boot my vibrant into recovery mode. I did not see the command that allow me to install app from sd card. do i need special program for that. In recovery mode only has: REBOOT SYSTEM NOW
REINSTALL PACKAGES
DELETE ALL USER DATA
DELETE CACHE DATA
FORMAT INTERNAL SD-CARD
I did not see the line that ask to install from sd-card. how do i added on there. please help. Thank you.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=734164
read and follow the instructions
i down load rom manger and still can not get it.
I try it when reinstall packaged, it came up message E:failed to verify whole-file signature
E: signature verification fail
installation aborted
I don't know why?
sienna3185 said:
i down load rom manger and still can not get it.
I try it when reinstall packaged, it came up message E:failed to verify whole-file signature
E: signature verification fail
installation aborted
I don't know why?
Click to expand...
Click to collapse
youre not rooted......id like to help you, but you clearly have not done any of your own research......http://forum.xda-developers.com/showthread.php?t=876779 good luck
Ok! Just follow the links posted ...
closed Thread!

[Q] Reinstall Package Problem

I installed the update zip to what I THINK is the internal hardrive. I see a folder that says exteranl but not one that says internal hardrive. But when im in recovery system and i click reinstall packages this pops up
E:failed to open /mt/internal_sd/update.zip (such file or directory)
E: signature verification failed
Installation aborted
How can i fix this
Based Moses said:
I installed the update zip to what I THINK is the internal hardrive. I see a folder that says exteranl but not one that says internal hardrive. But when im in recovery system and i click reinstall packages this pops up
E:failed to open /mt/internal_sd/update.zip (such file or directory)
E: signature verification failed
Installation aborted
How can i fix this
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=849028
get the update.zip from there ??
either get rom manager and flash clockwork then go to recovery and reinstall packages twice or get the update.zip from the link above and reinstall packages twice and that'll take you to clockwork recovery
you sound like you have stock froyo - which means you have the 3E stock recovery.
I suggest following my guide (signature - noobs).
EDIT - ha, just realize Kyle already linked to it, thanks man.

[Q] rom installing error

Im currently using an early release of the original ics, but im trying to install the resurrection rom. i've copied the zip files to my sd card but when im in recovery mode trying to install it, it says E: signature verification failed, installation aborted.
how can i solve this problem? thanks
CWM
Yes, I've had the same problem as you and it's relatively simple to fix, before you choose "Install from sdcard" you'll be able to see an option called "toggle signature verification" after this is disabled you'll be able to flash happily

singnature verification failed

how to fix signature verification failed in my gts 5282 galaxy star
Using clockworkmod recovery??Stock recovery only allows .zip's signed by Samsung.
1) Disable Signature Verification in cwm
2) Open Rom package in 7zip go to /com/Google/Android/updater-script open the file with notepad++ delete the first line titled 'asserts' this should solve status 7 errors also
just flash a custom recovery.

Can't install new ROM version with twrp

Hey guys,
I have an OP5 and wanted to update my OOS 5.1.3 to OOS 5.1.5. I already have rooted my phone with currently Magisk 16.0, but I wanted to upgrade Magisk too directly after installing OOS, bc you have to install it again (if I have to install the orld version again first and only can upgrade after a restart, please write me). I use TWRP 3.2.1-1.
So I downloaded the OOS 5.1.5 version. Then I copied on my phone, restarted into recovery and then created a checkfile. For the zip "OnePlus5Oxygen_23_OTA_038_all_1808082017_028e075c45a84106.zip" I created the checkfile "OnePlus5Oxygen_23_OTA_038_all_1808082017_028e075c45a84106.zip.md5" with "96628db3bc3e5575677adad648ec616a *OnePlus5Oxygen_23_OTA_038_all_1808082017_028e075c45a84106.zip" as content ("<checksum> *<filename>" in the file <filename>.md5). So I tried to installed the new OOS version. I wiped cache and dalvik and then selected the zip file. I turned zip signature verification on. But It said
Code:
Installing zip file '<file>'
Checking for Digest file...
Verifying zip signature...
Zip signature verification failed!
Error installing '<file>'
Updating partition details...
...done
I wiped cache/dalvik again and tried without zip verification.
Then I got
Code:
Installing zip file '<file>'
Checking for Digest file...
Digest matched for '<file>'.
vendor partition is not existed, exit ota!!
Updater process ended with ERROR: 7
Error installing zip file '<file>'
Updating partition details...
...done
So I downloaded it again, directly on an USB flash drive and tried both with and without zip signature verification. Nothing was different. Then I changed the checkfile so it only had the checksum as content without the filename behind, because I saw it this way once. But nothing changed. Now I don't know what I should do... I saw someone said you should download the zip directly to your phone and don't move it, but I can't select my phone as download destination. On the USB flash drive I downloaded it only and didn't moved the file, but idk if it is a problem that I had to unplug it from my pc to plug it in my phone.
When I rooted my phone I had the same problem but after trying some times it worked. This was when I had no OS installed and installed OOS 5.1.3.
pastebin com / xx0scV4s
Here i have the complete log I got from TWRP.
Sry but I can't insert links so I have to use this ****ty method

Categories

Resources