Hello, I decided to root my device using Odin. I followed steps from a video and successfully rooted and installed twrp with flashify. When I booted to twrp I did a swipe without backup. I proceeded to install CM11 nightly with the gapps zip. Everything went well during installation and the device rebooted. I saw the cm mod logo upon reboot but I get error setup wizard failed after boot. I cant access the tablet or anything. All I see is the blue CM wallpaper and no apps. Upon further investigation, it turns out I flashed the wrong gapps zip? I tried rebooting to twrp recovery to reflash gapps. But problem is that I cant access twrp recovery only the stock recovery. It gives me limited options...update from adb, update from external, wipe data, wipe cache... Is there anyway to fix this? I installed adb and fastboot but when I install rom using adb sideload, i get signature failures all the time. I tried fastboot but apparently there is only download mode (which i used when rooting with odin). My device isnt recognized with fastboot devices command only adb devices. Can anyone help? I am new to this stuff.
Hi,
I will have your thread moved to your device section.
Good luck!
Try to wipe cache, then flash TWRP again by Odin.
If you can get TWRP up and running, you should be able to do the default wipe (cache, Dalvik, and user data) and flash CM11 and gapps again.
I think I had the same issue with CM11 not booting since I flashed the wrong gapps. But flash the right gapps, and you should be ok.
Related
I'm selling my HTC One (stock ROM, unlocked) so I wanted to wipe my data, apps and settings. I performed a factory reset/data wipe in CWM and rebooted and it would get stuck at the Verizon logo. I cleared cache, tried again, and got stuck at "Android is updating, Starting apps" for a good 20 minutes. Now it goes back to the Verizon logo.
Does the factory reset not leave the ROM intact? What can I do now just so it'll boot to a clean slate?
kram12085 said:
I'm selling my HTC One (stock ROM, unlocked) so I wanted to wipe my data, apps and settings. I performed a factory reset/data wipe in CWM and rebooted and it would get stuck at the Verizon logo. I cleared cache, tried again, and got stuck at "Android is updating, Starting apps" for a good 20 minutes. Now it goes back to the Verizon logo.
Does the factory reset not leave the ROM intact? What can I do now just so it'll boot to a clean slate?
Click to expand...
Click to collapse
Download the stock rooted odexed ROM from here: http://forum.xda-developers.com/showthread.php?t=2485319
After you flash it, wipe data and boot up.
Then flash the latest firmware and stock recovery through Fastboot (also that thread), and do another factory wipe using stock recovery.
Your S-Off / Unlocked status will not be affected by this.
NotATreoFan said:
Download the stock rooted odexed ROM from here: http://forum.xda-developers.com/showthread.php?t=2485319
After you flash it, wipe data and boot up.
Then flash the latest firmware and stock recovery through Fastboot (also that thread), and do another factory wipe using stock recovery.
Your S-Off / Unlocked status will not be affected by this.
Click to expand...
Click to collapse
Thanks for your help. Unfortunately, I've been at it for a good 5 hours now and I can't get past the first step.
Using TWRP, I've tried adb push <rom.zip> to /sdcard/, /mnt/sdcard/ and /data/media/ and every time it says it's successful, but the directories show up empty in TWRP. Without a removable SD card, I'm not sure how else I can get the ROM on the phone for flashing. I'm not sure if it's related or not, but everytime I reboot from TWRP, it says my phone isn't rooted. I select "Install" but it occurs again, even though supersu.apk is on the internal storage.
I also tried CWM but couldn't get past "format () expected 5 args, got 4. Installation aborted (Status 7)".
Does anyone have any suggestions on how I can get TWRP to flash the ROM? Thanks.
Try this cmd instead.
Code:
adb push nameofrom.zip /data/media/0/nameofrom.zip
kram12085 said:
Thanks for your help. Unfortunately, I've been at it for a good 5 hours now and I can't get past the first step.
Using TWRP, I've tried adb push <rom.zip> to /sdcard/, /mnt/sdcard/ and /data/media/ and every time it says it's successful, but the directories show up empty in TWRP. Without a removable SD card, I'm not sure how else I can get the ROM on the phone for flashing. I'm not sure if it's related or not, but everytime I reboot from TWRP, it says my phone isn't rooted. I select "Install" but it occurs again, even though supersu.apk is on the internal storage.
I also tried CWM but couldn't get past "format () expected 5 args, got 4. Installation aborted (Status 7)".
Does anyone have any suggestions on how I can get TWRP to flash the ROM? Thanks.
Click to expand...
Click to collapse
I recently returned my phone to stock in order to reset all the firmware and RIL data. Here is how I did it:
Enter recovery TWRP 2.6.3.4 (if you have 2.6.3.3 you may experience issues)
Boot into recovery, then format Data, System, Cache, and Internal Storage (this will leave the phone with NO ROM installed)
Reboot back into recovery. Answer No to the prompt to root your device.
Once back in recovery, Internal Memory will be available again (if you push the ROM before rebooting, it will not be there afterward)
Push the ROM using adb push ROM.zip /sdcard/ROM.zip (this will take 5-7 minutes for a 1.4GB file)
Flash the ROM in TWRP
Reboot when done, phone should boot up corrrectly
Reboot into Fastboot, push firmware.zip package
Reboot into ROM verify connectivity
Reboot into Fastboot, push stock recovery
Reboot into stock recovery, perform a Factory Reset
Boot into ROM
Once you are up and running on the latest 4.4.2 ROM with stock recovery, boot into Fastboot one last time and push TWRP 2.6.3.4. Your S-Off will not be affected and the new owner will be able to flash any ROMs they like.
If all of the above fails, then try using ADB Sideload from the Advanced menu in TWRP.
You guys are a life saver. TWRP 2.6.3.4 did the trick, it just wasn't available on the TWRP site so I didn't install it in the first place. Flashed the ROM and everything back to normal! Thanks for the help!
FWIW, none of the m7 versions of TWRP would load (stuck at "Entering Bootloader" screen). The Sprint version would load, but wouldn't mount the filesystem properly.
kram12085 said:
You guys are a life saver. TWRP 2.6.3.4 did the trick, it just wasn't available on the TWRP site so I didn't install it in the first place. Flashed the ROM and everything back to normal! Thanks for the help!
FWIW, none of the m7 versions of TWRP would load (stuck at "Entering Bootloader" screen). The Sprint version would load, but wouldn't mount the filesystem properly.
Click to expand...
Click to collapse
So what state is the phone in now? Stock w/ HTC recovery, or the Sprint TWRP?
NotATreoFan said:
So what state is the phone in now? Stock w/ HTC recovery, or the Sprint TWRP?
Click to expand...
Click to collapse
The former, stock. The Sprint TWRP loaded but didn't work right. I ended up finding 2.6.3.4 for VZW m7 on an xda thread, it's not on the TWRP site for some reason. That worked great.
kram12085 said:
The former, stock. The Sprint TWRP loaded but didn't work right. I ended up finding 2.6.3.4 for VZW m7 on an xda thread, it's not on the TWRP site for some reason. That worked great.
Click to expand...
Click to collapse
Excellent. Glad to see it all worked out.
NOOB ALERT!
I have a samsung sgh-i747 that is still tied to the AT&T network, although, I do not have a SIM or service anymore. (is not being unlocked my issue?) I have been trying install Cyanogen 11 and 10.1. I currently have TWRP recovery, and the phone is definitely rooted. I have followed multiple guides to install a custom OS and nothing has worked. When trying the first time, I get the status 7 error, then I remove the assert check from the script and it still fails. It will sometimes just fail right after it skips the md5 check and not even return an error. What could I be doing wrong?
Possibly relevant info:
- I have CWM recovery that I installed TWRP over(may not be an issue, idk)
- I have tried installing .zip from sdcard and sideloading.
- phone is on stock 4.4.2
- I factory reset and wipe cache and dalvik cache before trying to install ROM.
- I have tried installing on TWRP and CWM.
Any suggestions would be great. I am new to the whole rooting and flashing thing, so I wanna get this done because I am slowly becoming obsessed.
Thanks guys!
Download the latest tar.md5 version of Philz Touch recovery from here: https://goo.im/devs/philz_touch/CWM_...Edition/d2lte/
Download the latest cm11 for the d2lte from here: https://download.cyanogenmod.org/?device=d2lte. Save cm11 to an external SD card.
Download the Gapps from here: http://wiki.cyanogenmod.org/w/Google_Apps. Save the Gapps file to the external SD card. Place the SD card into the phone.
Boot the phone into download mode, uncheck everything in Odin except f.reset time. Connect the phone and flash Philz. When you see the word "reset" in the status window, remove the USB cable, remove the battery, replace the battery, boot into recovery, wipe data, cache, system, and Dalvik. Flash CM11, flash Gapps, boot phone.
Thank you so much. That worked first try. so was it just that I did not have updated recovery?
Yes, status 7 errors are often due to an outdated recovery.
Glad it worked.
Hey i flashed the CM-13 on my GT-N5100. At first, it worked well. I can even installed GApps package and changed the theme. Then i tried to install SuperSU and it asked to install the SU binary. So i installed it using flash recovery. It succeed, but when i tried to reboot the phone, it stucked on the "marshmallow" animation boot. I have tried to wipe data and cache, but those didn't work. Then i tried to re-install the CM-13 package (using flash recovery ofc) but it just showed an error message. What should i do? I'm planning to downgrade the phone back to Kitkat. Would it do? Or is there any other way? Please help. Thanks!
hyemun01 said:
Then i tried to install SuperSU and it asked to install the SU binary. So i installed it using flash recovery. It succeed, but when i tried to reboot the phone, it stucked on the "marshmallow" animation boot. I have tried to wipe data and cache, but those didn't work.
Click to expand...
Click to collapse
Hi
had the same problem yesterday, i found no other way as to make a complete wipe (including SYSTEM!) in TWRP and then without rebooting install the ZIP again. Than it was resurrected.
But make sure that the ROM Zip is on the external sd card.
The problem is the SuperSU, just use the internal Root function.
Today I wanted to upgrade to OOS 5.1.1. But after flashing and reboot, my 5t went into recovery mode again. Then after that, the phone always reboot into recovery mode.
I tried flash stock recovery, blue spark recovery, tried to flash oos 5.0.4, none works.
What can I do to save my 5T? TIA.
I noticed that I have this error in my twrp codeworkx recovery:
failed to mount /vendor (invalid argument)
This happened to mine as well. I did a full wipe and flashed the stock recovery and then flashed the most recent Stock OOS.
What do you mean by a full wipe?
cache+davlink+system+data? I did.
Internal storage needs to be wiped too?
Floss0324 said:
This happened to mine as well. I did a full wipe and flashed the stock recovery and then flashed the most recent Stock OOS.
Click to expand...
Click to collapse
lyrebird said:
Today I wanted to upgrade to OOS 5.1.1. But after flashing and reboot, my 5t went into recovery mode again. Then after that, the phone always reboot into recovery mode.
I tried flash stock recovery, blue spark recovery, tried to flash oos 5.0.4, none works.
What can I do to save my 5T? TIA.
I noticed that I have this error in my twrp codeworkx recovery:
failed to mount /vendor (invalid argument)
Click to expand...
Click to collapse
First thing, the error about /vendor in TWRP can be ignored because you will not have that partition if you have not installed a trebelized ROM (MOKEE treble rom).
Next is your issue:
There are two approaches I can Think of:
Approach 1) - Download official full rom from this thread
- Boot into TWRP and copy this ROM to your phone
- Wipe Clean (standard TWRP clean flash step) keeping internal storage intact
- Install ROM and try to boot.
- Sometimes it will boot back into recovery, you can try to install again.
- If it boots up fine, then follow this guide to install TWRP correctly again.
- If it didnt boot up and you are ok to wipe everything, Boot into TWRP
- Wipe Everything (you will lose all data, photos everything)
- Boot back into twrp
- Now follow install steps again.
Approach 2) if 1 didnt work:
- use this guide to unbrick your device
- You can then ROOT, install recovery etc by following this thread
I have recently experienced this problem, there was little help and finally I have to wipe all data on the phone. It was a pain in the ass and i hope you wont have to go through it !
Did many rounds of flashing of recovery and rom, tried many combinations. It eventually worked.
While I am not 100% sure, i think what makes it work is to use compatible recovery (8.0 or 8.1) with rom, and wipe both cache, system, and data after (?) flashing.
Thanks!
krispuniq said:
First thing, the error about /vendor in TWRP can be ignored because you will not have that partition if you have not installed a trebelized ROM (MOKEE treble rom).
Next is your issue:
There are two approaches I can Think of:
Approach 1) - Download official full rom from this thread
- Boot into TWRP and copy this ROM to your phone
- Wipe Clean (standard TWRP clean flash step) keeping internal storage intact
- Install ROM and try to boot.
- Sometimes it will boot back into recovery, you can try to install again.
- If it boots up fine, then follow this guide to install TWRP correctly again.
- If it didnt boot up and you are ok to wipe everything, Boot into TWRP
- Wipe Everything (you will lose all data, photos everything)
- Boot back into twrp
- Now follow install steps again.
Approach 2) if 1 didnt work:
- use this guide to unbrick your device
- You can then ROOT, install recovery etc by following this thread
I have recently experienced this problem, there was little help and finally I have to wipe all data on the phone. It was a pain in the ass and i hope you wont have to go through it !
Click to expand...
Click to collapse
What TWRP were you using? Had basically the same problem with "twrp-3.2.1-x_blu_spark_v8.74_treble-op5_op5t.img", flashed an older version and it worked fine.
Seeing "failed to mount /vendor (invalid argument)" as you mentioned happened to me too. I think it means it's only for treble compatible ROMs.
if you were rooted with magisk, you have to flash the magisk uninstaller before flash the rom.
I had the same problem after flashing XXXnolimits rom (bluespark recovery 8.73). I just power off the phone pressing the power button for a while (10-20 seconds). It worked for me and the rom was succesfully flashed. Hope this help for the future.
i will keep this in mind and will try it next time when we have an update! Thanks.
caluz78 said:
if you were rooted with magisk, you have to flash the magisk uninstaller before flash the rom.
Click to expand...
Click to collapse
I had some old lineageOS installed. So, yesterday i got into a bootloop with my old S4 mini and the first thing i did was to reboot in Twrp recovery and wipe cache and dalvik but i also wiped data and system. Now my phone is in state were it can only boot in download, odin recognizes it and i am able to flash trwp but i cannot boot into it. Adb doesn't recognise my phone. Well, maybe it did once but no more.
I know i probably erased something i shouldn't so thats why i cant even load into recovery although Odin shows it got flashed properly. But thats not my problem. What i cant find are instructions on how to wipe everything and start installing from zero, just like i did when i installed LineageOS years ago. Currently i am downloading the stock Rom, if i manage to flash it with Odin then i can continue from there.