[Q] Status 7 While flashing ROM 4.4.2 KOT49H.zip - Nexus 4 Q&A, Help & Troubleshooting

I'm trying to flash Nexus 5 port 4.4.2_KOT49H.zip but receive the following:
Deleting Temp Data
Formatting System
format() expects 5 args, got 3
E:Error in /data/media/4.4.2_KOT49H.zip
(status 7)
Installation aborted.
I read the guide of the following link:
http://forum.xda-developers.com/showthread.php?t=2075449
The line of code is found nowhere in the updater-script file.
I downloaded mako_signed_kot49h_121213_odex.zip and pushed to sd card.
I attempted to flash but receive similar error with file name being different.
I'm running CWM Touch v 6.0.4.7
Android version 4.3
Baseband version M9615A-CEFWMAZM-2.0.1700.84
Build number JWR66V

edfernandez2 said:
I'm trying to flash Nexus 5 port 4.4.2_KOT49H.zip but receive the following:
Deleting Temp Data
Formatting System
format() expects 5 args, got 3
E:Error in /data/media/4.4.2_KOT49H.zip
(status 7)
Installation aborted.
I read the guide of the following link:
http://forum.xda-developers.com/showthread.php?t=2075449
The line of code is found nowhere in the updater-script file.
I downloaded mako_signed_kot49h_121213_odex.zip and pushed to sd card.
I attempted to flash but receive similar error with file name being different.
I'm running CWM Touch v 6.0.4.7
Android version 4.3
Baseband version M9615A-CEFWMAZM-2.0.1700.84
Build number JWR66V
Click to expand...
Click to collapse
Is it safe to assume that you did a factory reset before you tried to flash? Might be a bad download as well. I would not change the name. Also you might try flashing twrp also.
Sent with my Nexus® 10 minus 3

Berrydroidcafe said:
Is it safe to assume that you did a factory reset before you tried to flash? Might be a bad download as well. I would not change the name. Also you might try flashing twrp also.
Sent with my Nexus® 10 minus 3
Click to expand...
Click to collapse
Yes I definitely did a factory reset and cleared cache and dalvik-cache but I haven't tried TWRP because of recovery software preference.

edfernandez2 said:
Yes I definitely did a factory reset and cleared cache and dalvik-cache but I haven't tried TWRP because of recovery software preference.
Click to expand...
Click to collapse
Nothing wrong with that. I had to switch to TWRP when I was doing a nandroid backup and with cwm, it doesn't check to see if you have enough space, it just goes on and then I had a problem on my hands.
Also you will, or might come across a rom that doesn't get along with cwm. Anyway, that's another topic.
Try a full wipe, including the system partition along with the others.
Sent with my Nexus® 10 minus 3

edfernandez2 said:
I'm trying to flash Nexus 5 port 4.4.2_KOT49H.zip but receive the following:
Deleting Temp Data
Formatting System
format() expects 5 args, got 3
E:Error in /data/media/4.4.2_KOT49H.zip
(status 7)
Installation aborted.
I read the guide of the following link:
http://forum.xda-developers.com/showthread.php?t=2075449
The line of code is found nowhere in the updater-script file.
I downloaded mako_signed_kot49h_121213_odex.zip and pushed to sd card.
I attempted to flash but receive similar error with file name being different.
I'm running CWM Touch v 6.0.4.7
Android version 4.3
Baseband version M9615A-CEFWMAZM-2.0.1700.84
Build number JWR66V
Click to expand...
Click to collapse
I had gotten the same problem with you! Try flash back to cwm 6.0.4.6 via zip file and flash KOT49H again, you will be successful^^

I have used the latest TWRP to flash many custom ROMs and it has always worked for me.

nguyenhaiphuc said:
I had gotten the same problem with you! Try flash back to cwm 6.0.4.6 via zip file and flash KOT49H again, you will be successful^^
Click to expand...
Click to collapse
I've flashed TWRP and had no trouble flashing the ROM. Thanks for the help and I may just try CWM 6.0.4.6 to discover if it's functional and probably switch back to CWM.

nguyenhaiphuc said:
I had gotten the same problem with you! Try flash back to cwm 6.0.4.6 via zip file and flash KOT49H again, you will be successful^^
Click to expand...
Click to collapse
Where can I find CWM 6.0.4.6?

edfernandez2 said:
Where can I find CWM 6.0.4.6?
Click to expand...
Click to collapse
Here you are!
http://forum.xda-developers.com/nexus-4/general/6-0-4-6-t2198942

Related

[RESOLVED] How do I restore factory Rom (from Revolution HD 3.0.1 on TF101)?

I am running the Revolution HD rom, this is how I purchased my TF101 from a friend, and I want to restore the factory rom so I can get ICS and the update for the battery issue until mike gets it implemented into Revolution.
How can I do this?
Thanks!
-edit- nevermind, I didn't notice you were running revolution.
If you want to flash back to stock, go to the ASUS Support site and download the 9.2.1.11 firmware for your device.
Unzip it 1 time (there is a zip file within the zip) so it will still have a zip.
Put the file on a microSD or the internal /sdcard/ directory depending on your version of CWM and where it can read.
Boot to CWM.
Install zip.
Choose the zip you downloaded.
Now you will be back to stock unrooted with stock recovery.
Then you will need to check for updates and grab the latest update from ASUS OTA.
If you want to root again you will need to vipermod option 1 to get root access.
Ah, thank you Fred! I did exactly that and it failed but it was the zip within a zip that killed me!
The update is actually failing with the following error:
assert failed: write_raw_image("/tmp/blob", "staging")
E:Error in /sdcard/US_epad-user-9.2.1.11.zip
(status 7)
Installation aborted.
Any ideas?
gbatt said:
The update is actually failing with the following error:
assert failed: write_raw_image("/tmp/blob", "staging")
E:Error in /sdcard/US_epad-user-9.2.1.11.zip
(status 7)
Installation aborted.
Any ideas?
Click to expand...
Click to collapse
Here's exactly what I did to go from Revolution HD 3.0.1 back to stock Asus ICS 9.2.1.11
1. Download the firmware from Asus website. The file name was US_epaduser9_2_1_11UpdateLauncher.zip. You unzip this. You get US_epad-user-9.2.1.11.zip. You put US_epad-user-9.2.1.11.zip on your microSD card.
2. Boot into CWM
3. Factory reset
4. Clear Cache
5. Clear dalvik cache
6. Mount & Storage - format /system
7. Mount & Storage - format /cache
8. Power off(from CWM menu, might be under advanced, I forgot)
9. Boot into CWM.
10. Install zip from sdcard. Choose US_epad-user-9.2.1.11.zip on your microSD.
11. Reboot after flashing is complete.
12. You should now be on Asus stock ICS with stock recovery.
13. I didn't add any of my google accounts during the initial setup because I wanted to do it after I do the 9.2.1.17 update.
14. Shut off and do a cold boot.
Worked perfectly fine for me.
What didn't work was, I was not getting the 9.2.1.17 update afterwards.
So I rooted using Vipermod, installed CWM, and manually flashed the update through CWM. I had to re-root after the update. Simply ran Vipermod again.
Been 2+ days, and it's super stable with great battery life. Not a single random reboot or crash.
gbatt said:
The update is actually failing with the following error:
assert failed: write_raw_image("/tmp/blob", "staging")
E:Error in /sdcard/US_epad-user-9.2.1.11.zip
(status 7)
Installation aborted.
Any ideas?
Click to expand...
Click to collapse
You probably have a custom recovery that doesn't mount the staging partition. You can mount it manually through adb in recovery "mount /dev/block/mccblk0p4 /staging" or flash a repackaged stock rom. At this point, you will probably have a stock system, but not the boot.img, bootloader, or recovery. The blob will flash the those parts, including the recovery, so you will be unrooted with a stock recovery.
sent from my cyanogen(mod) vision
gee one said:
You probably have a custom recovery that doesn't mount the staging partition. You can mount it manually through adb in recovery "mount /dev/block/mccblk0p4 /staging" or flash a repackaged stock rom. At this point, you will probably have a stock system, but not the boot.img, bootloader, or recovery. The blob will flash the those parts, including the recovery, so you will be unrooted with a stock recovery.
sent from my cyanogen(mod) vision
Click to expand...
Click to collapse
Ya, its ClockworkMod Recovery v3.1.0.1.
I tried Horndroids steps above and its still the same error.
I'm sorry but how do I "mount manually through adb"?
Ive only ever used clockworkMod
gbatt said:
Ya, its ClockworkMod Recovery v3.1.0.1.
I tried Horndroids steps above and its still the same error.
I'm sorry but how do I "mount manually through adb"?
Ive only ever used clockworkMod
Click to expand...
Click to collapse
I am pretty sure my CWM Recovery was 3.1.0.1 too.
Try replacing your CWM with Rogue XM Recovery http://forum.xda-developers.com/showthread.php?t=1446019
Awesome! That worked great. Thanks Horndroid!

[Q] Nexus4: 4.2.2 won't install for me.

So I have tried a few things now. One was dialing *#*#checkin#*#* and then getting the update OTA, but when the phone rebooted to update it went into CWM recovery and asked for a confirmation (which I gave it), and then it came up with an error. I then tried doing it manually by downloading the zip from several different sources thinking maybe the file was bad. I had no luck with this either. Then as a final resort, I made a clockwork backup and then flashed stock kernel and did a factory reset on the phone and tried installing the zip. I got the SAME error. I'm pretty tech savvy but when it gets into codes and stuff I'm stuck. Can anybody tell me what this message means?
Verifying current system...
assert failed: apply_patch_check"(/system/bin/mpdec
ision", "6af668f7623ea80fd7bd3d9dc79ceedc291e3811" ,
"4b9d1d02a153c71e9f9b8ab83a32d024b64a1346" )
E: Error in /sdcard/0/update.zip
(status 7)
Installation aborted.
Sounds like you're running a custom kernel. Flash stock
MacHackz said:
Sounds like you're running a custom kernel. Flash stock
Click to expand...
Click to collapse
I did. I flashed stock kernel then did a full wipe of the phone to factory settings and it still wouldn't install which I think is really weird.
FFutstuFF said:
I did. I flashed stock kernel then did a full wipe of the phone to factory settings and it still wouldn't install which I think is really weird.
Click to expand...
Click to collapse
Flash the system and boot images from the JOP40D factory image.
Info here: http://forum.xda-developers.com/showthread.php?t=2145848
Sent from my Nexus 7 using Tapatalk HD
do all the stock files reside in /system/app? what about updates to stock files?

[HELP] Wiped and erased phone in CWRM, ROM installation aborted

So I was an idiot and used a ROM found on xdadevelopers and each time I try to flash the ROM in CWRM it says installation aborted. I wiped and erased the phone before doing this.Basically i'm stuck with my Nexus 4 in CWRM without a ROM installed or a ROM that can be flashed without an errors. Is there a way to side-load a rom or access the phone in CWRM to add a new rom?
The rom is the one here: http://forum.xda-developers.com/showthread.php?t=2516389
Help is much appreciated, thanks.
rstgyx said:
So I was an idiot and used a ROM found on xdadevelopers and each time I try to flash the ROM in CWRM it says installation aborted. I wiped and erased the phone before doing this.Basically i'm stuck with my Nexus 4 in CWRM without a ROM installed or a ROM that can be flashed without an errors. Is there a way to side-load a rom or access the phone in CWRM to add a new rom?
The rom is the one here: http://forum.xda-developers.com/showthread.php?t=2516389
Help is much appreciated, thanks.
Click to expand...
Click to collapse
Two choices (of many) but first, try flashing twrp, then try the rom. Or re-flash cwm and try again.
Sent from my Nexus 7 (2013)
What was the error displayed in CWM?
Sent from my Nexus 7 using Tapatalk
korockinout13 said:
What was the error displayed in CWM?
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Installing: /sdcard/0/M-ROM-20131119-mako.zip
Finding update package . . .
Opening update package . . .
Installing update . . .
set_metadata_recursive: some changes failed
E: Error in /sdcard/0/M-ROM-20131119-mako.zip
(Status 7)
installation aborted
At first try flashing latest twrp img from fastboot mode and then try flashing the rom again.
You might want to give a try to the multi-rom twrp.
If it fails again you can always flash factory img.
yak84 said:
At first try flashing latest twrp img from fastboot mode and then try flashing the rom again.
You might want to give a try to the multi-rom twrp.
If it fails again you can always flash factory img.
Click to expand...
Click to collapse
Flash factory image, meaning restore the phone back to stock and removing the root/bootloader?
Right now that sounds more appealing to me than trying to figure all of this our to be honest.
rstgyx said:
Flash factory image, meaning restore the phone back to stock and removing the root/bootloader?
Right now that sounds more appealing to me than trying to figure all of this our to be honest.
Click to expand...
Click to collapse
Yes, you start from blank after flashing factory img.
yak84 said:
Yes, you start from blank after flashing factory img.
Click to expand...
Click to collapse
Alrighty, I just did it and my phone is back to perfect working order !
Thanks for the suggestion.
[SOLVED]

i9500: Odd issue when trying to flash ROM's

Greetings all,
So I have been trying to redo my Wanam KitKat install due to the foldermount issue and I ran into a couple of issues. Now before someone comments about that awesome app from the app store, yes I use it I just have other reasons to try and get a clean install going.
So first things first, I Odin flash the latest CWM by Sameer, do the necessary wipes and start the install. I then get this error message:
set_perm: some changes failed
E:Error in /data/media/0/ROM Install/wanamlite-v40-nb3.zip
(Status 7)
Installation Aborted
Click to expand...
Click to collapse
So I power down the device and Odin flash the latest CWM Touch version and I still get the above message. I then flash Philz Touch 6.07.9 and voila, it installs without an issue. Now one of my other issues to resolve this foldermount issue is because any recovery other than the Philz version mentioned (even the latest Philz) fails to flash any files and has an issue seeing my internal storage.
So I Odin back to my earliest ICS version and try from there. Now the CWM recoveries see the correct folder path but I still get the above error and I did manage to get this code as well:
I: using /data/media for sdcard/0/clockworkmod/ . last_install_path.
I: Cant partition non mmcblk device: /devices/platform/dw_mmc.2/mmc_host/mmc2
Click to expand...
Click to collapse
I have tried everything to try and get this to work as it should but I am stuck. Right now I have flashed the old Philz I have and restored a nandroid and the phone is fine. How do I get past these errors?
Any help would be greatly appreciated .
*edit*
I should mention that after the ICS flash I did a factory reset and wiped everything and still had the above errors...
Anyone?
CWM fails with a lot of roms. TWRP is better.
Hi, thanks for the input. Sadly TWRP also fails with the same error:
set_perm: some changes failed
E:Error in /data/media/0/ROM Install/wanamlite-v40-nb3.zip
(Status 7)
Installation Aborted
Click to expand...
Click to collapse
Hence the reason for my asking. Its not a bad zip so redownloading it will not get rid of the problem. My recoveries are also good zips otherwise they would not flash. Does anyone have any idea what is going on?

format () expects 5 args, got 4

So I was trying to upgrade my i337m rom today and was greeted with this error format () expects 5 args, got 4 on all of them except for a 4.4.2 version of Gummy.
Kinda sucks. No matter what I do now, Odin back to stock etc I cannot get around it...
RealtorRod said:
So I was trying to upgrade my i337m rom today and was greeted with this error format () expects 5 args, got 4 on all of them except for a 4.4.2 version of Gummy.
Kinda sucks. No matter what I do now, Odin back to stock etc I cannot get around it...
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=50418552&postcount=11261
RedInuYasha said:
http://forum.xda-developers.com/showpost.php?p=50418552&postcount=11261
Click to expand...
Click to collapse
I have no idea what Philz is?
I downloaded the rom, installed it to external sd (and internal storage), CW in, clear cache, dalvik and wipe, error, error, error except the Gummy (which I hate, I cannot stand AOSP )
I will dig around on Philz
The reason you're getting an error is because your recovery conforms to the new scripting commands and the zip you're flashing is using the old method.
Philz has an advanced version of the recovery you're using. There's a checkbox to allow use of the old method and then it'll flash fine.
ChronoReverse said:
The reason you're getting an error is because your recovery conforms to the new scripting commands and the zip you're flashing is using the old method.
Philz has an advanced version of the recovery you're using. There's a checkbox to allow use of the old method and then it'll flash fine.
Click to expand...
Click to collapse
Perfect, here is the one I used: http://forum.xda-developers.com/showthread.php?t=2322675

Categories

Resources