[Q] bootloop on 5.X, works o 4.4.4 - Nexus 5 Q&A, Help & Troubleshooting

Hello,
I would be grateful for any kind of help. My Nexus 5 (5.0.1, stock ROM, not rooted, has never been modified) started to lag. After reboot it seems to be in a bootloop (those flying dots are on the screen constantly).
I'm not so defenseless - I have some experience with rom flashing etc. so I tried everything I've managed to find on web. All kind of 'bootloop' fixes. I've tried multiple combinations of rom flashing and wiping after/before that.
I've tried TWRP/sideload instruction. I've tried Nexus Root Toolkit v2.0.5 app. And nothing works. Every time after flashing (successful!) it is still in bootloop. All information from flashing programs, adb console are always positive (success, etc.).
I've tried 4.4.4 KitKat upload via NRT 2.0.5 and wow! it worked. But every other attempt to flash it with 5.X version ends with bootloop - via NRT, via ADB and via OTA.
What it wrong? Why KitKat is working but Lollipop doesn't?
BTW - is there any option to check logs? What is causing nexus to stop?
UPDATE - doesn't work on 4.4.4 well, G Play, Camera, Gallery constantly crash. It is basically only phone (and text) now.

Are you sure L is bootlooping after successful factory image flash? I've seen L take some good 15min to boot.

@kkrulik
ADB has nothing to do with flashing factory images. You need a fastboot for that purpose. http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701

kkrulik said:
Hello,
I would be grateful for any kind of help. My Nexus 5 (5.0.1, stock ROM, not rooted, has never been modified) started to lag. After reboot it seems to be in a bootloop (those flying dots are on the screen constantly).
I'm not so defenseless - I have some experience with rom flashing etc. so I tried everything I've managed to find on web. All kind of 'bootloop' fixes. I've tried multiple combinations of rom flashing and wiping after/before that.
I've tried TWRP/sideload instruction. I've tried Nexus Root Toolkit v2.0.5 app. And nothing works. Every time after flashing (successful!) it is still in bootloop. All information from flashing programs, adb console are always positive (success, etc.).
I've tried 4.4.4 KitKat upload via NRT 2.0.5 and wow! it worked. But every other attempt to flash it with 5.X version ends with bootloop - via NRT, via ADB and via OTA.
What it wrong? Why KitKat is working but Lollipop doesn't?
BTW - is there any option to check logs? What is causing nexus to stop?
UPDATE - doesn't work on 4.4.4 well, G Play, Camera, Gallery constantly crash. It is basically only phone (and text) now.
Click to expand...
Click to collapse
I wish I knew how to enable USB debugging on boot from custom recovery, so we could see why it stops booting on 5.0+
Have you tried wiping or fixing /persist partition, but just for safety reasones do a backup of it first.

Thx for the tips.
Yes - i've been waiting quite long time after flashing to boot my phone. 20 minutes, one hour and even the whole night.
Yes - I've tried fastboot.
Persist partition is new for me - I'll try it tomorrow.

bitdomo said:
I wish I knew how to enable USB debugging on boot from custom recovery, so we could see why it stops booting on 5.0+
Have you tried wiping or fixing /persist partition, but just for safety reasones do a backup of it first.
Click to expand...
Click to collapse
WOW! Your manual has helped! Thanks a lot! So it was something wrong with /persist partition...
Can someone explain that little bit? What caused that and if it is possible to avoid such issues in the future?

kkrulik said:
WOW! Your manual has helped! Thanks a lot! So it was something wrong with /persist partition...
Can someone explain that little bit? What caused that and if it is possible to avoid such issues in the future?
Click to expand...
Click to collapse
I really dont know why it happens or what cause it on a never rooted, never bootloader unlocked and always been on 100% stock roms, but it happens and it is always the persist partition. Maybe one of system apps or services which have read-write privilages to the /persist partition cause it. But to detect it we need a constant loging and a high amount of luck to get /persist corrupted again.
Do you remember what were you doing with the phone when it happend?

bitdomo said:
I really dont know why it happens or what cause it on a never rooted, never bootloader unlocked and always been on 100% stock roms, but it happens and it is always the persist partition. Maybe one of system apps or services which have read-write privilages to the /persist partition cause it. But to detect it we need a constant loging and a high amount of luck to get /persist corrupted again.
Do you remember what were you doing with the phone when it happend?
Click to expand...
Click to collapse
Well, I'm lucky then
I was just watching some photos when phone started to lag. I turned it off and it never boot again.

Related

[Q] Need help flashing img via Fastboot - am I bricked?

Had just flashed the latest CM9 nightly (clean install, fresh wipe) yesterday and everything was running fine.
This morning, woke up, my phone was turned off. When powering it on it hung on the google screen. Fastboot still working, booted into recovery only to find that I would get error messages when trying to load my backs "E:unable to mount /sdcard". Apparently it also couldn't mount /data. So I was unable to flash any images or restore or boot up.
Seeing that fastboot was still working I assume I'm not bricked yet. I tried flashing a new boot and cwm recovery via fastboot - no dice. Same errors.
I don't have a recent backup of anything in sdcard, but at this point I'm willing to sacrifice it.
Found this thread http://forum.xda-developers.com/showthread.php?t=1078213
and I'm trying to follow the steps to flash back to stock GB. using the GRJ22 images
It flashed the boot and recovery without issue but seems to hang while flashing the system.img. I know it's a big file, but it was up to ~2hrs with it still transferring. I pulled the plug on it and tried again, lost patience after an hour.
Now I had the idea of maybe locking and unlocking the boot loader would help things.....not sure why I thought this. Anyway, now it seems to hang on the unlock bootloader screen.
So my question now - am I screwed?
- anything else to try?
- is it really "hanging" or do I need to give it more time?
- have I screwed myself even more by now locking my bootloader and flashing the stock recovery?
Any help would be very much appreciated....
Some new additions and new insights from the reddit android community:
- this probably has nothing to do with CM9. My phone has been wonky for about two weeks - random reboots, sometimes rebooting into recovery. That's why I thought I'd throw on the latest nightly and do a fresh wipe yesterday.
- There's definitely something up with /data. Anytime I tried wiping all/factory reset in cwm recovery I got errors about not being able to mount /data or being able to find files in /data
- basically anything I do involving /data partition causes the phone to lock-up -- flashing the boot.img and recovery img worked, but not system. Also, I think the reason I can't re-unlock the bootloader is because during the unlock process it tries to do a factory reset/data wipe
Basically I think there are two things I need to know if I can do - 1) unlock the bootloader again, via some way that won't try to reset the /data partition and thus won't freeze the phone. 2) try repartitioning /data
I really hope I didn't screw myself by locking the bootloader. I'd actually feel a lot better if it was something in my phone that just failed hardware-wise rather than something I could've fixed if I wasn't too quick to try poorly thought out ideas.....
Any help at all would be appreciated!
Possibly (and likely) a corrupted nand flash. Fairly common problem sadly. I'd say it's a good thing your bootloaders locked, no dramas sending it back to samsung. It might've been possible to reset the partitions and flash fastboot images but i don't think i've seen anyone who has done this to sort any similar problem. Hopefully your phones still under warranty
Well thank God that it turns out that I'm still on warranty.....sending the phone back to Samsung tomorrow.
Like you said, it's actually a good thing the bootloader is now locked and the stock boot img and recovery img are now back on! Hopefully this makes it more likely that they weren't turn away my phone.
I've yet to hear someone not getting work done under warranty because of an unlocked boot loader but it's always good to have it as stock as can be. Hope they don't take too long with your phone.
Harbb said:
I've yet to hear someone not getting work done under warranty because of an unlocked boot loader but it's always good to have it as stock as can be. Hope they don't take too long with your phone.
Click to expand...
Click to collapse
I bricked my nexus s 4 days before Christmas last year... and i was using a custom rom obviously with an unlocked bootloader and custom recovery image, and i handed it to vodafone, and guess what? they repaired without asking any questions, and the day before Christmas! sooo happy maybe because i was thirteen then, they didn't suspect a thing

[Q] Flashing no longer possible: Flash successful but system does not change

Hello!
I can no longer flash anything to my GT-P5110, even factory reset has no effect. The internal storage seems to be read-only.
I think this is a longer story: About one year ago the stock firmware became incredibly slow, to the point that processes started to force close, then my user data was lost, and after factory reset the tablet went into endless boot loop.
So I decided to give CM10 a try and it worked flawlessly. The tablet was fast again. I even could upgrade to CM11 later. But around 2 month ago, only sometimes processes started to force-close or the tablet randomly rebooted itself - mostly during charging. I left it that way in the charger for some days because I had no time to bother with that issue. Then, I tried to factory reset my device only to find out that this has absolutely no effect. Installing app updates: No effect. Changing system settings: No effect. And apps start to force-close at an insane rate short after boot. The device is unusable. My could only shut down and reboot into recovery. I left the tablet lying around, turned off, out of charger, for 2 months. Now I tried to investigate:
When I "adb shell" into recovery and call dmesg, I see lots of these lines:
Code:
mmcblk0: timed out sending SET_BLOCK_COUNT command, card status 0x400d00
I think something is really broken with the internal storage. I tried to flash a newer recovery but it has no effect, even when done from download mode.
Factory reset sometimes fails with an error. Reinstalling CM fails with an error. Wiping cache seemingly succeeds but I'm sure it has no effect. I tried installing SlimRom instead which seemingly succeeds, too - but after reboot I'm greeted with the CM boot logo again.
I tried to flash stock firmware with Odin. It is very very slow, runs for about 15 minutes, then fails at around 50%. Of course: That "half flashed firmware" does in no way affect the device: It still boots CM11 "without problems", then a few seconds after finishing boot (showing home screen), force-closes start to pop-up.
What should I do? I suppose the device is out of warranty for a few weeks or months, now. And even when not: It has been flashed with CM, the triangle counter is not zero. I suppose that combination of problems (read-only/failing storage, non-stock firmware) voids warranty in a way that Samsung will deny any repair. If at least I could return the device to stock firmware things would be different maybe.
Any ideas what I could try? Is it possible that the internal storage is simply fried? fsck'ing the partitions shows no errors, just the data partition is unclean with unwritten journal data but all data is readable. So the internal storage has probably not died. It just sticks to read-only mode for whatever reason.
I've found some posts with similar problems but those seem to be about older Galaxy Tab 1 devices built 2011 or before.
Just reading over this and it sounds very similar to what I'm currently facing, which is doubly annoying as no one else has chipped in a solution
I had reboot issues with my Tab2 10.1 (GT-P5110) on stock so after realizing I'd need to factory reset bite the bullet and rooted so I could use CM10.
Had occasional reboots but nothing I couldn't live with however from yesterday evening the tablet is seemingly stuck in a boot loop. It comes on, some apps fire up and an update starts. Sometimes apps force close then BOOM I get the boot splash screen.
I've tried factory reset in recovery (CWM 6.0.2.7) to no avail and wiping just about everything which also had no noticeable effect as all my settings and the rom are still the same when I get back in (albeit briefly!).
I've tried flashing new recovery via ODIN which reported a success however that also didn't appear to take. I'm beginning to think it some serious file system or storage corruption ;(
Same problem here...
Hopefully someone can come up with a solution or at least a cause. I've tried to Odin every recovery available for my 5113 and nothing has taken. I'm currently on Omni with cwm and tried to update to the latest cwm and twrp and aroma installer yet nothing takes. I too rooted because of the incessant bootloops about 3 months ago.
bigg fella said:
Hopefully someone can come up with a solution or at least a cause. I've tried to Odin every recovery available for my 5113 and nothing has taken. I'm currently on Omni with cwm and tried to update to the latest cwm and twrp and aroma installer yet nothing takes. I too rooted because of the incessant bootloops about 3 months ago.
Click to expand...
Click to collapse
For what I can tell, my device is effectively read-only. Even in download mode (Odin) I cannot even flash a different recovery (tried to flash TWRP, still boots CWM).
hurikhan77 said:
For what I can tell, my device is effectively read-only. Even in download mode (Odin) I cannot even flash a different recovery (tried to flash TWRP, still boots CWM).
Click to expand...
Click to collapse
exactly, can't even uninstall an app. It's as if it boots from a permanent back up because even deleting pictures or files isn't permanently successful. You can uninstall and delete to your hearts content, get false hope, and get crushed after it reboots and everything is unchanged
Not looking very optimistic for this I was getting a similar inkling that it's gone into a permanent RO mode as not even the wipes from recovery have an effect. I'd also tried un-installing apps as I noticed one updating and thought it was crashing it however even when it did fire up and I disabled WLAN to stop Play Store auto-updating and removed the app on the next reboot cycle the app was back:crying::crying:
I fear I may have a big white paperweight....
Sounds like the internal partitions might need to be completely reformatted. This CAN be done through recovery, but is tricky... However without actually having your device in my hand I'm not sure 100 what the best course of action would be. Try searching for the commands to format (or maybe someone else will post them) or maybe PM me for them but no promises. I won't post them publicly on XDA because honestly there are too many users who do stuff like one-click root and don't actually know what they're doing and I don't want to be in some way responsible for someone following the command wrong and bricking their device for good. I don't need that on my conscience. Personal choice.
Sent from my Nexus 4 using XDA Premium HD app
shakatu said:
Sounds like the internal partitions might need to be completely reformatted. This CAN be done through recovery, but is tricky... However without actually having your device in my hand I'm not sure 100 what the best course of action would be. Try searching for the commands to format (or maybe someone else will post them) or maybe PM me for them but no promises. I won't post them publicly on XDA because honestly there are too many users who do stuff like one-click root and don't actually know what they're doing and I don't want to be in some way responsible for someone following the command wrong and bricking their device for good. I don't need that on my conscience. Personal choice.
Sent from my Nexus 4 using XDA Premium HD app
Click to expand...
Click to collapse
Would this method be any different to the way it attempts to reformat the internal partitions when you select to format the various mounts from CWM? If so I'm more then willing to give it a go as I really have nothing to lose as the damn thing is useless atm!
shakatu said:
Sounds like the internal partitions might need to be completely reformatted. This CAN be done through recovery, but is tricky... However without actually having your device in my hand I'm not sure 100 what the best course of action would be. Try searching for the commands to format (or maybe someone else will post them) or maybe PM me for them but no promises. I won't post them publicly on XDA because honestly there are too many users who do stuff like one-click root and don't actually know what they're doing and I don't want to be in some way responsible for someone following the command wrong and bricking their device for good. I don't need that on my conscience. Personal choice.
Sent from my Nexus 4 using XDA Premium HD app
Click to expand...
Click to collapse
Good call......Smart move?
help!!
same issue here , sort of .. i have stock rom and stock recovery and i cannot flash CWM .. no matter how many times i try through ODIN or hemidal nothing changes.. any idea what is going on here?
PMs have been sent. Hopefully it works.
Sent from my Nexus 4 using XDA Premium HD app
im also having this issue with my galaxy tab2 7".. help is badly needed
Well, the proposed fix I had didn't help. Was worth a shot...
Sent from my Nexus 4 using XDA Premium HD app
hope someone finds a solution for this.
No Access to ADB
shakatu said:
PMs have been sent. Hopefully it works.
Sent from my Nexus 4 using XDA Premium HD app
Click to expand...
Click to collapse
Hi Shakatu,thanks for the PM, however, my device in ADB is unauthorised, so wont let me get into shell. Is there a way around this please?
sunnytimes said:
same issue here , sort of .. i have stock rom and stock recovery and i cannot flash CWM .. no matter how many times i try through ODIN or hemidal nothing changes.. any idea what is going on here?
Click to expand...
Click to collapse
Unmark "Auto Reboot" in Odin when CWM is flashed... Stock room overwrites it during start.
After flashed CWM start in Recovery mode and flash new ROM.
this is offtopic in this tread
same problem please help me... :crying:
seagman said:
Unmark "Auto Reboot" in Odin when CWM is flashed... Stock room overwrites it during start.
After flashed CWM start in Recovery mode and flash new ROM.
this is offtopic in this tread
Click to expand...
Click to collapse
i have tried that 100 times .. its also exactlly what this thread is about , not being able to flash because nothing changes..
sunnytimes said:
i have tried that 100 times .. its also exactlly what this thread is about , not being able to flash because nothing changes..
Click to expand...
Click to collapse
same here too, i have same issue.. unable to flash or do anything to my phone....
Probably this is the end for our tab. As off now the tab is useless.
Sent from my GT-N7000 using XDA Free mobile app

[Q] Bricked xt925 - read-only eMMC ?

Hello,
Since yesterday my phone is crashing about 20-30 seconds after properly booting. I can unlock the phone with my lockscreen pattern, I land on my homescreen but process like Google Play Services goes like "x has stopped working".
On CWM I've erased /system and /data and then reflash a rom (Slimkat or CM), Erasing and flashing process on CWM seems to work as planned but when the phone reboot it's still on Slimkat with all my datas, like if nothing have been done in CWM.
So I've rebooted on the bootloader and tried a "fastboot -w", again the process seems to be ok on my pc but when the phone reboot it is still on this f**ked rom with all my datas, like if fastboot have done nothing.
I've tried to flash an up-to-date CWM, same thing again.
I think the eMMC chip are deeply corrupted, they say any writing on it is ok but in fact they are read-only, which may explain why all the process are crashing after the boot and why flashing seams ok but are useless.
What do you think XDA, andy idea about my problem ? Do you think it's an Hardware issue or what can I do to solve it ?
Why not flashing a stock firmware to go back to STOCK?
joel_sinbad said:
Why not flashing a stock firmware to go back to STOCK?
Click to expand...
Click to collapse
I've tried it with RSDLite but same thing again, everyhing seams ok in RSDLite, the 22 blocks are writed but at the reboot it's still the same Slimkat with my datas.
Ezekiel3 said:
I've tried it with RSDLite but same thing again, everyhing seams ok in RSDLite, the 22 blocks are writed but at the reboot it's still the same Slimkat with my datas.
Click to expand...
Click to collapse
if infact it has gone read only as has happened to some other users, there is no known fix. all known angles have been explored, even with input from a developer.
if you find a fix, post it, it may help others.
most likely, you will need a new phone.
I agree with bwen diord...aint never see anyone recover from that, least not yet.
cmh714 said:
I agree with bwen diord...aint never see anyone recover from that, least not yet.
Click to expand...
Click to collapse
I've just see it's possible to boot from the SD card in that case but I'm to lazy to try it.
Goodbye little RAZR HD, we have covered a lot of mileage together, it's time to leave. :angel:
Anyway thanks for the help XDA

Stuck in Optimizing App xxx of xxx

I recently upgraded my phone from 4.4.4 to the latest OTA. It was working fine for a while but it crashed, rebooted and keeps (re)optimizing the apps. It'll get stuck on some of them for a long time and might make it through, or I hard reboot it and it does it all over. Whenever it does make it through, it says "starting apps" and then reboots and does it all over again.
I've cleared the cache multiple times and restored the stock recovery, but still not working. Does anyone else have any other suggestions that I could try??
Also I read somewhere that there was a zip I could possibly flash to use all the cores, as lollipop only uses one during this process? Does anyone know where that is?
Thanks.
natboy said:
I recently upgraded my phone from 4.4.4 to the latest OTA. It was working fine for a while but it crashed, rebooted and keeps (re)optimizing the apps. It'll get stuck on some of them for a long time and might make it through, or I hard reboot it and it does it all over. Whenever it does make it through, it says "starting apps" and then reboots and does it all over again.
I've cleared the cache multiple times and restored the stock recovery, but still not working. Does anyone else have any other suggestions that I could try??
Also I read somewhere that there was a zip I could possibly flash to use all the cores, as lollipop only uses one during this process? Does anyone know where that is?
Thanks.
Click to expand...
Click to collapse
To make things clearer. Previous what ROM were you on? After your proclaimed (OTA), what was the ROM suppose to be?
I went from the Oneplus One CM 4.4.4 to the CM 5.1 OTA. Not sure why you're don't believe me..
I think I might have bad memory or flash or something at this point..
So since yesterday I've tried using the tutorials here to flash stock Kitkat with the same errors happening. When it boots up, I get a done of crashes on things like gapps and process.acore. I also tried flashing the stock Lollipop; both using the non fastboot and fastboot way. Every time wiping everything with all the same results. The only rom I've had some slight uptime with has been slimrom without gapps as there's not much running there. Once I add the gapps package to it, processes start crashing again.
Does anyone know of a memory/cpu/flash test I could try, or any other suggestions? Thank you.

Samsung Tab 2 10.1 (CM11) unable to wipe/factory reset/install CM update

I have been routinely flashing CM 11 ROMs on nightly basis since the past year without any problems. However, the last Nightly I installed started giving me errors like xyz.process.com stopped etc etc. So, I decided to wipe everything through my TWRP recovery by wiping cache, data, internal storage (I have done this before for a clean install many times), but this time even when I wipe EVERYTHING and flash the latest nightly and the Gapps, the tablet boots into the same old version. I have done this repeatedly but with no success.
The strange thing was that when I even tried uninstalling individual apps, like I installed Whtsapp, Viber, Twitter, a few games, they did get uninstalled but on the next reboot, all the apps were back?! How is it even possible?!
Steps I have done to resolve this issue:
1-Flashed the newer ROM, nothing changed.
2-Tried wiping everything to no avail.
3-Tried flashing stock ROM like 20 times via Odin but it always fail midway.
4-Tried flashing Philz recovery via Odin, it succeeds but when I reboot in recovery, the same old TWRP recovery is there.
5-Tried flashing newer TWRP recovery via img file by booting into recovery,finding the img file and flashing it, it also succeeds but when I reboot into recovery, it still boots into the older TWRP recovery.
6-Tried flashing newer TWRP via Odin, it too succeeds but when I reboot into recovery, the old version is still there.
I mean, anything I do, the system wont change/wipe. Please help!
16gb Tab2?
Sounds like a emmc issue,maybe a emmc firmware update is needed to get back right access to your tab, in bad case the emmc needs a replacement. If you are from europe: i know someone from austria who can fix it for you. Added some notes about that issue on the faq on my github userpage.
Can you install https://play.google.com/store/apps/details?id=net.vinagre.android.emmc_check and post a screenshot of it?
~ All my work, news etc. on http://andi34.github.io ~
I tried install the app but was unable to as the gapp.google.com stop working thing wont let me. So I tried installing it through the web, it didnt install but the tab rebooted and is now stuck at boot. Wont shut down either
How to fix the emmc issue? Update? I m far away from Europe
Rag888 said:
How to fix the emmc issue? Update? I m far away from Europe
Click to expand...
Click to collapse
Update the emmc firmware (only via ISP possible) or replace the emmc. Maybe you can find someone who's able to do it...
Android-Andi said:
Update the emmc firmware (only via ISP possible) or replace the emmc. Maybe you can find someone who's able to do it...
Click to expand...
Click to collapse
Via ISP? Pleas explain. And are we sure that this is am emmc problem? Because I can boot and use the tab to some extent, it's not totally bricked I guess. What about the procedure here: http://forum.xda-developers.com/galaxy-tab-2/general/discussion-alternative-tab-2-emmc-bug-t3306862
Rag888 said:
Via ISP? Pleas explain. And are we sure that this is am emmc problem? Because I can boot and use the tab to some extent, it's not totally bricked I guess. What about the procedure here: http://forum.xda-developers.com/galaxy-tab-2/general/discussion-alternative-tab-2-emmc-bug-t3306862
Click to expand...
Click to collapse
I am not an expert on this, someone else would have to explain it if you have further questions about ISP etc.
I am quite sure it's the problem, if wipe / format does nothing and flash via odin also doesn't change anything... Your emmc is read only...
From the EMMC data sheet:
5.1.7 End of Life Management:
The end of device life time is defined when there is no more available reserved block for bad block management in the device. When the device reaches to end of its life time, device shall change its state to permanent write protection state. In this case, write operation is not allowed any more but read operation are still allowed.
But, reliability of the operation can not be guaranteed after end of life.
Click to expand...
Click to collapse
On a faulty EMMC firmware it happens a lot faster.
There's no way to boot from microSD, you would need to flash a modified boot.img at least which is imposible if the emmc is read only.
~ All my work, news etc. on http://andi34.github.io ~
Thanks for your input. Well, Odin is able to write the recoveries to the Tab, and shows that they are pass, doesnt that mean it is still writing? Also, Odin attempts to write the stock firmware but fails half way, I also also suspect a faulty cable. And should I try the procedure given in the link I quoted?
I am also downloading the Jtag suite like here: http://forum.gsmhosting.com/vbb/f672/p5100-how-repair-2118618/
Ok, I just saw your website https://andi34.github.io/faq_de.html I think I am screwed.

Categories

Resources