Think I bricked my phone TWRP - Nexus 5 Q&A, Help & Troubleshooting

Hi
Just signed up.
Bit of background.
I installed twrp it was successful.
After wiping the data, and rebooting my phones camera wasnt working and there I couldnt save any apn on the phone basically cant use the phone.
I connected it back to my computer, its shows it a nexus but it shows theres 0 files on it.
I tried using adb but it wont find any device.
Can anybody give me some advice please.
Thanks in advances.
globy

globy518 said:
Hi
Just signed up.
Bit of background.
I installed twrp it was successful.
After wiping the data, and rebooting my phones camera wasnt working and there I couldnt save any apn on the phone basically cant use the phone.
I connected it back to my computer, its shows it a nexus but it shows theres 0 files on it.
I tried using adb but it wont find any device.
Can anybody give me some advice please.
Thanks in advances.
globy
Click to expand...
Click to collapse
Why haven`t you made a nandroid backup first after you flashed TWRP? Have you cleared the cache after flashing TWRP: fastboot erase cache in adb? If nothing else works reflash the stock recovery and clear cache afterwards or reflash the factory image as a last resort.

gee2012 said:
Why haven`t you made a nandroid backup first after you flashed TWRP? Have you cleared the cache after flashing TWRP: fastboot erase cache in adb? If nothing else works reflash the stock recovery and clear cache afterwards or reflash the factory image as a last resort.
Click to expand...
Click to collapse
I am new to it all.
I found the device using adb, but yeah I dont have a back up of the rom.
I downloaded the stock rom in the rom section but adb gave
archive does not contain android-info.txt
archive does not contain android-product.txt
error: update package has no android-info.txt or product.txt

Related

Bootloop after Factory reset

Hi guys,
got my nexus 5 yesterday and wanted to flash AOSP. But at some time, something might have broken, because now I get a bootloop after factory reseting via Kwongger Nexus5 Toolkit, ADB sideload via CWM, via zip, ... I tried everything, wiped everything, erased anything via fastboot. When I boot into CWM, there are messages like "E: cant mount cache, invalid argument", so my prediction is, that something bad happened to partition table or likely.
Does anyone have any idea how I can fix this? I searched the whole internet up and down, comparing to other devices like nexus 4 which I use right now.
Every idea is well-appreciated ALOT :good:
Natural_born_chilla said:
Hi guys,
got my nexus 5 yesterday and wanted to flash AOSP. But at some time, something might have broken, because now I get a bootloop after factory reseting via Kwongger Nexus5 Toolkit, ADB sideload via CWM, via zip, ... I tried everything, wiped everything, erased anything via fastboot. When I boot into CWM, there are messages like "E: cant mount cache, invalid argument", so my prediction is, that something bad happened to partition table or likely.
Does anyone have any idea how I can fix this? I searched the whole internet up and down, comparing to other devices like nexus 4 which I use right now.
Every idea is well-appreciated ALOT :good:
Click to expand...
Click to collapse
Best thing to do imo atm is to flash a factory image in fastboot and reroot afterwards bro.
gee2012 said:
Best thing to do imo atm is to flash a factory image in fastboot and reroot afterwards bro.
Click to expand...
Click to collapse
Tried that like 500x times with different factory images, right from google, from toolkit etc., tried using fastboot, flash-all.bat from google factory images and flashed via adb sideload. Same thing everytime. Boot loop and it won't work ...
Edit: found this a minute ago http://forum.xda-developers.com/showpost.php?p=47170893&postcount=291
Natural_born_chilla said:
Tried that like 500x times with different factory images, right from google, from toolkit etc., tried using fastboot, flash-all.bat from google factory images and flashed via adb sideload. Same thing everytime. Boot loop and it won't work ...
Edit: found this a minute ago http://forum.xda-developers.com/showpost.php?p=47170893&postcount=291
Click to expand...
Click to collapse
Go into recovery and clear the caches and do a data factory reset and see if it boots, if it doesn`t go into fastboot and flash a Google factory image. A good advice = DO NOT USE TOOKITS. Good luck bro

Accidentally deleted my rom and recovery also not working

I accidentally deleted my rom from my htc one s and recovery is also not working.
when i go to clockwork recovery mode at the bottom text comes E:/cant open cache/log and it shuts down the phone
i've spent almost 7 hours trying to find solution but cant find anything and i cant update my rom by fastboot cause it says Archive does not contain
android-info.txt
someone help please
kmpi6565 said:
I accidentally deleted my rom from my htc one s and recovery is also not working.
when i go to clockwork recovery mode at the bottom text comes E:/cant open cache/log and it shuts down the phone
i've spent almost 7 hours trying to find solution but cant find anything and i cant update my rom by fastboot cause it says Archive does not contain
android-info.txt
someone help please
Click to expand...
Click to collapse
Did you try to flash a new recovery?
cosmionnn said:
Did you try to flash a new recovery?
Click to expand...
Click to collapse
yes i tried it many times but i encountered the same problem everytime
now recovery is working again somehow but its still unable to delete cache and delvik cache .
everytime i try to flash custom rom by adb sideload it stucks on "deleting cache and delvik cache"
try an ruu
fastboot erase cache
Try erasing your cache partition from bootloader.
Get into fastboot USB mode and:
fastboot erase cache
-Jobo

Lollipop doesn't boot. Kitkat can't access internal storage

Hi folks.
I'm facing a really weird problem. My friend's N5 doesn't want to boot with Lollipop, it shows the boot animation, but nothing happens, more than an hour and nothing.
I tried to flash back to kit kat. It indeed booted, but just to say that the camera and gallery has stopped, and gallery couldn't find any storage. When I go to the storage section in the settings, it doesn't show the pictures, music and other sources, just available space, cache and apps.
I tried to flash a custom rom to, but they all give me bootloops.
I never had this problems with my n4, so i don't know what to do anymore.
Any solutions?
Flash lollipop with fastboot. Then boot into the stock recovery and do a factory reset. Everything will be fine.
Sent from my Nexus 9 using XDA Free mobile app
I've already tried that, didn't work :crying:
Floydroider said:
I've already tried that, didn't work :crying:
Click to expand...
Click to collapse
You flashed the factory image with FASTBOOT and still had this problem? You sure?
Hmm. Try fastboot formatting all the partitions and then flashing the image again. Can't hurt.
_MetalHead_ said:
You flashed the factory image with FASTBOOT and still had this problem? You sure?
Click to expand...
Click to collapse
Yes, i'm absolutely sure. I'm used to use fastboot to flash my Nexus 4. I downloaded the proper factory image from Google and flashed it using both flash-all.bat and manual input in the cmd.
I tried to erase the partitions, format using TWRP, and install a custom ROM.
With twrp I can see the the internal storage partition, and even mount it to access by computer. But when the device boots, it just can't see the partition.
I put a song in the internal storage with twrp just to test, and when the device booted it didnt recognize the song, but when I got back to recovery, it was still there.
It seens that the problem is in the internal storage, but I don't know how to fix, and what could have caused it.
* Sorry, my english is bad :/
Floydroider said:
Yes, i'm absolutely sure. I'm used to use fastboot to flash my Nexus 4. I downloaded the proper factory image from Google and flashed it using both flash-all.bat and manual input in the cmd.
I tried to erase the partitions, format using TWRP, and install a custom ROM.
With twrp I can see the the internal storage partition, and even mount it to access by computer. But when the device boots, it just can't see the partition.
I put a song in the internal storage with twrp just to test, and when the device booted it didnt recognize the song, but when I got back to recovery, it was still there.
It seens that the problem is in the internal storage, but I don't know how to fix, and what could have caused it.
* Sorry, my english is bad :/
Click to expand...
Click to collapse
Try wiping cache in TWRP.
Wakamatsu said:
Hmm. Try fastboot formatting all the partitions and then flashing the image again. Can't hurt.
Click to expand...
Click to collapse
Tried that. I first used fastboot erase, didn't work, and then I use twrp to format to another fs. After that, I flashed the image again. Still nothing.
_MetalHead_ said:
Try wiping cache in TWRP.
Click to expand...
Click to collapse
I have wiped everything lots of times.
It's the first time I have a hard time trying to fix an android phone...
Now I flashed kitkat image again. It booted but with the storage problem. Then I update via notification, and it stuck in lollipop boot animation.
I will let it booting through the night. Or it boots after a couple of hours or the battery dies.
Floydroider said:
I have wiped everything lots of times.
It's the first time I have a hard time trying to fix an android phone...
Click to expand...
Click to collapse
Yeah this seems kinda crazy. Usually when stuff gets messed up like this a factory image clears it up. In your case, I honestly don't know what else to recommend. Sorry I can't be of more help.
Replace internal storage, nothing else you can do
Nothing worked in the end. My friend will send the phone to tech support.
Thank you guys for the help.
:good:

How do I decrypt my device

So I encrypted my moto 4g and all went fine. However I wanted to flash and install an app via my recovery(my device is rooted and I got custom recovery but I'm on stock rom) but It kept saying it could not access the data of the phone. I figured this was because it is encrypted. I also tried restoring an older backup from when the phone was not encrypted but that would not work either. If I do a factory wipe in recovery that won't work either. If I enter the Android settings and choose data wipe the phone starts to bootloop.
What can I do to decrypt my phone?
Did you encrypt the phone using stock recovery?
No I encrypted with the custom recovery.
Have you tried to erase cache and userdata using fastboot commands?
audit13 said:
Have you tried to erase cache and userdata using fastboot commands?
Click to expand...
Click to collapse
No I have not, haven't had time to try, I assume here are some guides about it and I will look into it when I have time.
Just wanted to say that I fixed it, had to reflash the whole device with flashboot, then I re rooted it and restored an backup.
Glad it worked out for you.

Deep clean?

What is the expert method to deep clean, wipe every thing my OPO and than flash a ROM?
Hoping to hear from you experts.
Thanks.
Mike2040 said:
What is the expert method to deep clean, wipe every thing my OPO and than flash a ROM?
Hoping to hear from you experts.
Thanks.
Click to expand...
Click to collapse
You can flash the stock images via fastboot, that will erase everthing and get you back to stock. You can then install a custom recovery and flash roms again.
gsmyth said:
You can flash the stock images via fastboot, that will erase everthing and get you back to stock. You can then install a custom recovery and flash roms again.
Click to expand...
Click to collapse
No need to prior Wipe data, Factory reset, Wipe all storage etc?
Thanks.
Mike2040 said:
No need to prior Wipe data, Factory reset, Wipe all storage etc?
Thanks.
Click to expand...
Click to collapse
There is a command to wipe user data, see the below guide.
http://forum.xda-developers.com/showthread.php?t=2839471
Reason!
Thanks for your expert replies.
The reason for asking was and is for you to know in depth what happened.
My OPOs BL is unlocked and rooted.......at times try other ROMs like Hydrogen, RR, etc.
I was surprised to see and empty Baidu folder size 80 bytes shown by ES File manger, after I flashed back COS 12.
The way I flash is firstly reboot to TWRP, Format > type yes, than Factory reset, than Advanced Wipe ALL except OTG, power off the OPO.
Power on in fastboot mode, connect to pc and flash COS ROM using those commands.
All is good, except the empty Baidu Folder, fail to understand how did it persist.
Other thing is when I later flash TWRP over stock, and than when I perform a factory reset before flashing another ROM, see red SD card errors? ........have to keep rebooting to TWRP.
The way I flash is TWRP > Format type yes > Factory reset > Wipe all except OTG > Mount OTG-USB containing the zip, install zip swipe flash > once done > Reboot. (before reboot don't clear dalvik and cache).
If I take screen capture of TWRP they wont be saved in Gallery.
TWRP 2.7.8.0 when flashed on start up showed this.........
"TWRP has detected an unmodified partition. TWRP can leave your partition unmodified to make it easier for you to take official updates. TWRP will be unable to prevent the stock ROM from replacing from replacing TWRP and will not offer to root your device. installing zips or performing adb operations may still modify the system partition.
Never show this screen during boot again."
To sum up my queries are:
1. How can I perform a deep clean of OPO, and than flash COS 12 using fastboot, so I don't see any Baidu etc empty folders.
2. Than flash TWRP and and if needed can take it's screen captures.
3. Later if required can flash new custom ROM with out issues.
Bottom line to clean my OPOs Storage that includes SD card.
Btw my OPO isn't giving any issues or bugs and working great, no EFS issues etc.........
After reading all care to edit/correct what am I doing incorrect?
Thanks again.
Add
Is this the command to format user data?
Code:
fastboot format cache
Mike2040 said:
Thanks for your expert replies.
The reason for asking was and is for you to know in depth what happened.
My OPOs BL is unlocked and rooted........
Click to expand...
Click to collapse
I have seen people querying the Baidu folder before (i have it myself), it seems to be a folder left by ES file explorer, have you ever installed that? It doesnt seem to be anything malicious, although a lot people were spooked, thinking it was spyware of some sort.
https://forums.oneplus.net/threads/baidu-in-es-file-explorer-manager.303595/page-2
---------- Post added at 03:08 PM ---------- Previous post was at 02:58 PM ----------
Mike2040 said:
Is this the command to format user data?
Code:
fastboot format cache
Click to expand...
Click to collapse
Below is the command for flashing the userdata file via fastboot. If you have downloaded the fastboot image files, I think it basically pushes a blank file to overwrite/format the user data space/parition.
Code:
fastboot flash userdata userdata_64G.img

Categories

Resources