Can't flash custom zip through any recovery! - Nexus 5 Q&A, Help & Troubleshooting

Hello everyone,
So here is the story. I accidentally soft-bricked my n5 a few months back, after which I reinstalled stock 4.4.4 firmware via fastboot flash. After flashing the stock packages I reflashed TWRP recovery and tried reverting to a custom OS.
While installing the customer zip file through TWRP I am giving a "status 7 error" even though I've downloaded the packages to match my device(hammerhead). Additionally, I also tried installing CWM and Philz touch, also giving me the status 7 error.
I saw a video online about unzipping the custom OS and deleting parsing lines in order to bypass model number check. So after unzipping, modifying, and rezipping the custom OS for flash, I'm still faced with status 7 error.
Bootloader is unlocked, however when I flashed the stock img files, the bootloader remained unlocked. Where did I go wrong?
Additionally, I can't flash any zips, not even gapps.

Status 7 errors can happen if the recovery is not up to date. Are you running twrp 2.8.7 on the phone?

Related

[Q] noob -- stuck in a boot loop, tried the 2.20 unlock method.

I followed the steps from this thread:
http://forum.xda-developers.com/showthread.php?t=1952038
I successfully unlocked my phone and installed TWRP recovery, but that's as far as I can get. I tried to flash the latest CM10 nightly but hit an error when I run the zip, saying that the MD5 file is not found. I also tried to separately flash the boot.img from the CM10 zip, but it didn't help.
I've cleared my cache and factory wiped (through recovery), but I'm still stuck in the boot loop and can't get to the OS. Please help!!
I think the problem might be that I never actually rooted the phone, despite having unlocked it. Is there a way to root my phone via recovery, since I can't actually boot into it?
I tried to install RebelMod, but i hit an error saying "Unable to mount /data" -- I'm assuming that's because it's unrooted?
you want to root a stock ROM?
flash superuser downloads.noshufou.netdna-cdn.com/superuser/Superuser-3.1.3-arm-signed.zip
update: i managed to flash RebelMod successfully (according to TWRC) by running the zip file, but I'm still stuck in the boot loop even after doing a Factory Reset thru TWRC.
am I missing something?
wait a sec -- I got it working after I flashed the boot.img with fastboot.

[Q] No Rom, failure when flashing

Hi all. I own a Moto G xt1032 UK version. (GSM right?)
I was on 4.4.4 Epsilon ROM but I wanted to flash stock 4.4.4, so I used a tutorial I found on youtube that set me up to stock 4.4.2, then I upgraded to 4.4.4 and THEN there was another update to 5.0.1. So as you can guess, I upgraded to lollipop and that was it - bootloop. I have tried flashing other roms through fastboot and nothing worked, I get an error when I flash ''system'' that says ''image is too large'' once all is done, phone restarts and its stuck on bootloop once again. The bootlogo changes when I flash different rom etc. But I don't know what to do, any ideas? :/ I have also tried to flash a custom recovery and sideload the Epsilon ROM but I only get an error in my command line that says no device connected after I hit the command. Any suggestions guys? I appreciate any sort of help, thanks guys.
I'll also add that I think I have the 41.18 bootloader if it helps (it says so in the bootloader settings)
When flashing a ROM in fastboot, are you also flashing the gpt file?
Yeah. I flash everything there's to flash as all tutorials instruct.
To try and get your phone up and running, flash a custom recovery from fastboot. Once the recovery image has been flashed, use the phone's volume buttons to boot into recovery. If you can get into recovery, try and flash a custom ROM.
Ah, I forgot to add. When I attempt to flash anything from my storage it says some sort of error coun't mount /sdcard and others when the recovery opens up. I tried flashing other recoveries, TWRP, CWM both show the exact same errors..Can't mount SDcard etc. :/ That is why I tried the sideload method which didn't work for me either.
You're flashing recovery for the falcon?
Yes..for falcon. I've done it a bunch of times before, however I never had the unable to mount error in the recovery..
I don't have my moto g on me but I found Philz Touch (based on CWM) worked besr for me after i switched back from GPE to CM12. I was getting weird error messages in TWRP.

[Q] Unable to access recovery from bootloader. Everything else works.

Phone (xt1033) is rooted (status code 3). I had installed some custom rom, but later went back to stock with lolipop.
I now want to install CM12.1
I flashed the latest twrp using adb (twrp-2.8.6.0-xt1032). However, if I try to access recovery from the bootloader, phone just gives me a black screen.
So, I flashed a slightly older twrp. Again, same result.
Phone is booting up, but none of the options given with the bootloader seem to be working, and I have no recovery, custom or otherwise. What should I do?

[Q]TWRP not flashing zip

I've TWRP 2.8.7.0 installed on my OPO 64 GB running rooted CS12.0-YNG1TAS2I3. I found the multirom thread "http://forum.xda-developers.com/oneplus-one/development/mod-multirom-v26-t2835738" and flashed it on my phone just for fun.Two weeks earlier when I tried installing OnePlus provided AOSP stock "https://forums.oneplus.net/threads/rom-official-4-4-4-oneplus-aosp.65482/" it gave some error about rom built for older build and I forget about it. Recently I wiped my "data" , "system" , "cache" and "dalvik" and tried to installing AOSP zip again but it gave me error saying updater binary error. I tried installinging "cm-12.0-YNG1TAS17L-bacon-signed.zip" and "cm-12.0-YNG1TAS2I3-bacon-signed.zip" ,downloaded from official website of course, and got the same error. I went back to multirom thread and installed "MultiROM uninstaller" zip and it worked perfectly fine but when I again tried installinging "cm-12.0-YNG1TAS17L-bacon-signed.zip" and "cm-12.0-YNG1TAS2I3-bacon-signed.zip" still the same error. I Google(d) about it and downloaded and flashed "twrp-2.8.0.1-bacon.img" from "https://dl.twrp.me/bacon/twrp-2.8.0.1-bacon.img" using fastboot flash recovery twrp-2.8.0.1.img and tried installing zip from that recovery,same error. Then I repeated process with twrp-2.8.7.0 and still same error. Incidentally I'd good sense of creating backup before erasing all partitions and TWRP had no problem restoring it and for now my phone is up and running. Any ideas why I might be getting those errors?
I also pulled out boot.img from "cm-12.0-YNG1TAS2I3-bacon-signed.zip" and flashed it through fastboot,still TWRP giving the same error

Soft bricked after installing kernel

I'm having some trouble guys. I got stuck in a bootloop when trying to install https://forum.xda-developers.com/oneplus-6/development/kernel-elementalx-op6-1-00-t3799054 this kernel, so I booted into TWRP and tried to flash the stock rom to fix it. However, it won't work and keeps giving me the error " Updater process failer with ERROR: 255 Error installing zip file '/sdcard/Download/OnePlus6Oxygen_22_OTA_009_all_1805172226_f7d1518e0 e704ca3.zip' ". How can I fix this? I read something about sideloading the OTA update, but it says it won't work if I'm rooted, which I am.
In you do not mind s fresh start lock your boot loder
Do NOT reboot then unlock your boot loader.
This will rest your phone back to stock.
You may have to sideload stock boot.img (maybe)
Hope this helps.
You can't flash OOS through recovery. Also since kernel only affects the boot partition, just flash stock boot and it should work.

Categories

Resources