Stuck on bootloop, stock recovery, want to recover files. - Mi 3 Q&A, Help & Troubleshooting

So I decided to try out Ivan's Marshmallow ROM, knowing it would be a bad idea... I backed everything but the photos which were 2.5GBs and was too lazy to copy over. I wiped cache, but not user data, copied ROM to phone, rename to update.zip and updated through recovery(stock). Now it's stuck on booting and want to know if there is any way to recover my photos.
Keep in mind there is a functional MIUI ROM inside but it is named differently than update.zip so I don't know how to flash it. It turns on, boots on fastboot and recovery but can't do much... I could wipe it, but I need the photos....
Thanks in advance.

eXtrimist said:
So I decided to try out Ivan's Marshmallow ROM, knowing it would be a bad idea... I backed everything but the photos which were 2.5GBs and was too lazy to copy over. I wiped cache, but not user data, copied ROM to phone, rename to update.zip and updated through recovery(stock). Now it's stuck on booting and want to know if there is any way to recover my photos.
Keep in mind there is a functional MIUI ROM inside but it is named differently than update.zip so I don't know how to flash it. It turns on, boots on fastboot and recovery but can't do much... I could wipe it, but I need the photos....
Thanks in advance.
Click to expand...
Click to collapse
Assuming that you haven't yet extended partitions, stock phone has 2 system partitions. So if you're using system 1, boot using system 2 and vice versa. AFAIK, if you flash stock miui using MiTools, it wouldn't erase the storage on the phone.

The second partition seems unable to boot as well...
Anyway, if found out I could install twpr through fastboot, from where I could mount the sdcard.
As far as MiTools are concerned, last time I tried it, I think it erased everything.
The thread can be closed. Thanks!

eXtrimist said:
The second partition seems unable to boot as well...
Anyway, if found out I could install twpr through fastboot, from where I could mount the sdcard.
As far as MiTools are concerned, last time I tried it, I think it erased everything.
The thread can be closed. Thanks!
Click to expand...
Click to collapse
Glad you could work it out. Don't be lazy next time

Related

nandroid backup not restoring

i'm running the ''stable'' version of cm 5.0.8, amon recovery, blah blah blah. i was browsing the internet today when all of a sudden my phone starts saying that android process acore was force closing. this happened about 5 times before i decided to reboot the phone. when i went to reboot, i got stuck on the g1 screen......greeeaaaaaaat. so i go into recovery, find my nandroid backup and press home to restore it. currently my phone screen consists of an HTC logo and a never-ending stream of periods. usually it only takes about 4 or 5 lines for my phone to restore a nadroid backup. what should i do?
Besides wipe/reinstall?
You can try the more advance manual install (simple if you are used to a Linux commandline).. copy the nandroid backup to your computer and run:
Code:
fastboot erase system
fastboot erase userdata
fastboot erase cache
fastboot erase boot
fastboot flash userdata data.img
(Data.img is part of the nandroid backup)
Now rebuild system:
Return to recovery: wipe dalvik cache and flash cm5.0.8 + gapps
If you have nandroid+ext you can restore that by erasing the ext partition and using tar to extract the backup before booting cm.
Also make sure you are running the latest ra-recovery the older ones have an issue with the missing /system/sd directory unless you manually created it..
first off, thanks sooo much for the speedy reply. this forum and the members here are AWESOME. back to business, the nandroid backup never did finish, so i took a huge risk and pulled the battery, and rebooted. and voila it magically works now EXCEPT i booted to the registration screen saying "UIDs on the system are inconsistent, you need to wipe your data partition or your device will be unstable.'' thats a helluva lot better than a brick i guess, just annoying as ****. so im guessing to wipe the data partititon i have to go into recovery and select ''wipe''?
update;oh, im also getting a force close error with gapps now. which im guessing means that i need to flash a new gapps package via recovery?
I had the same issue. Apparently it's a dalvik-cache issue. Check this link for the solution:
http://goo.gl/s7tr (off-site link to Cyanogen forum)
well i got the uid message to go away by rebooting to recovery and slecting "fix uid mismatches''. gapps isnt acting up anymore (although i could not find the gapps zip file...help?!), but now im missing some apps and everytime i try to download something from market it just fails.
BuddhaTeh1337 said:
but now im missing some apps
Click to expand...
Click to collapse
You could try reflashing Gapps
theartar said:
You could try reflashing Gapps
Click to expand...
Click to collapse
where could i find the latest gapps update? and that flashes the same way as themes and ROMs correct?
Update; ok well i just flashed CM again, did a factory reset/wipe and i am STILL looking for gapps to flash...
update 2; found it. just have to flash now.
I know you already found it, but for future reference I always grab it off the Cyanogen site. Here's a direct link: http://kanged.net/mirror/download.php?file=gapps-ds-ERE36B-signed.zip
Flash CM, don't reboot, then Gapps, then reboot. Good luck.
theartar said:
I know you already found it, but for future reference I always grab it off the Cyanogen site. Here's a direct link: http://kanged.net/mirror/download.php?file=gapps-ds-ERE36B-signed.zip
Flash CM, don't reboot, then Gapps, then reboot. Good luck.
Click to expand...
Click to collapse
yup, thats the exact one i installed. all my apps are still there EXCEPT maps.....which wont install for some reason now......i just fixed UID mismatches via recovery and hoping that fixes it.
Update; it did.

SEMI Bricked

I've got a tmobile streak 7 and can't get it to do anything. Someone tried to root and now all it does is FC. It wont reset or wipe data. I downloaded all the update packages and none work. Onty one comes close but then says "modem install error" I can flash CWM in fastboot but it gets overwritten by stock. I have also tried tried Gingerbreak to root and one click to at least get root to go rename rename recovery.install.zip so CWM won;t get overwritten but its a no go. I think I have tried everything and I am still stuck on this same stock ROM with all the same data that wont get erased. Also reset button doesnt do anything either. Any help would be appreciated thanks guys
Edit: just restored with NV Flash and it didnt work. It flashed fine but it is still on the same crap
addictedhacks said:
I've got a tmobile streak 7 and can't get it to do anything. Someone tried to root and now all it does is FC. It wont reset or wipe data. I downloaded all the update packages and none work. Onty one comes close but then says "modem install error" I can flash CWM in fastboot but it gets overwritten by stock. I have also tried tried Gingerbreak to root and one click to at least get root to go rename rename recovery.install.zip so CWM won;t get overwritten but its a no go. I think I have tried everything and I am still stuck on this same stock ROM with all the same data that wont get erased. Also reset button doesnt do anything either. Any help would be appreciated thanks guys
Edit: just restored with NV Flash and it didnt work. It flashed fine but it is still on the same crap
Click to expand...
Click to collapse
clear dalvik cache and see how you go, you may have a read only device, in which case charge you device for 24hrs, perform a wipe from fastboot, push recovery, system and boot partitions back onto the device and see how that turns out
Nocturnal_50 said:
clear dalvik cache and see how you go, you may have a read only device, in which case charge you device for 24hrs, perform a wipe from fastboot, push recovery, system and boot partitions back onto the device and see how that turns out
Click to expand...
Click to collapse
Thank you for the rapid reply!
I have let it fully charge and still can do nothing. I can't erase in (fastboot) anything or flash anything. Not even Dalvik cache.
addictedhacks said:
Thank you for the rapid reply!
I have let it fully charge and still can do nothing. I can't erase in (fastboot) anything or flash anything. Not even Dalvik cache.
Click to expand...
Click to collapse
have you tried booting a different boot.img from fastboot?
if you can then you should be able to wipe caches, if not refer to the read only mode thread
Nocturnal_50 said:
have you tried booting a different boot.img from fastboot?
if you can then you should be able to wipe caches, if not refer to the read only mode thread
Click to expand...
Click to collapse
Ill try thanks again for your support. Flashed boot.img and nothing. still boots up on same thing. You are right it is only read. I looked at the read only thread but its not working either. Am i out of luck?
addictedhacks said:
Ill try thanks again for your support. Flashed boot.img and nothing. still boots up on same thing. You are right it is only read. I looked at the read only thread but its not working either. Am i out of luck?
Click to expand...
Click to collapse
if its still under warranty then see how you go getting it replaced by dell, mine was a temporary thing I fixed it after a bad flash... pull a logcat of the boot I wanna see if you can get anything in comparison to a RW device.. what rom were you running?
Go to this post http://forum.xda-developers.com/showthread.php?p=33027889#post33027889

Weird CWM behaviour

Hello!
Before I want to go on to CWM I want to tell you what happened before.
Yesterday I flashed TWRP recovery which resulted in a really bad situation. I was stuck in recovery. If I pressed reboot it went straigt to recovery again, even if I pulled out the battery. So flashed the stock firmware via the KDZ flashing method and everything worked again.
Then I rooted again, installed CWM, installed CM, installed all my apps (TB backup on PC was quite old),....
So all in all it was a big amount of work and it took me a few hours.
Then everything was working again as it should and I updated all my TB backups and then I wanted to make a Nandroid backup so that I wouldnt have to do all that flashing and installing again.
So I went to recovery--> backup and restore --> backup
But it didnt finish. It always stopped with this error: Error while meaking a backup image of /system!
So i thought maybe I should install everything again, which i did. (I had already made a TB backup of all my apps, so i thought this woulb be done fast)
Well, went to recovery again, did a factory reset, wiped dalvik cache and even formated /system. Then I installed the latest CM + GAPPS and rebooted.
And the first thing i recognized was that the screen popped where it says "android is upgrading". And I wondered even more when I realized that all my apps where stille there. So obviously the factory reset and also format /system didnt work properly.
If I format /system and dont install any ROM then the device doesnt boot (which i guess is the normal behaviour). But what I want to say is that the format works there but if I flash CM afterwards all my apps are still there (despite the fact that i also did a factory reset).
All in all the phone does work normal now, but I'm not able to make a Nandroid backup and I'm really wondering why.
(I also reflashed CWM recovery but that didnt change anything)
I would be glad if s1 could help me.
PS: Could the solution be to flash stock again via KDZ and then do everything from the beginning?
Never heard of anything like this before.
Did you flash the recovery as a .IMG or through Rom manager (I would suggest to flash it with Rom manager).
Try this and report back (maybe your recovery image is damaged or smth.)
Sent from my LG-P880
I have no idea what caused this crazy behavoiur of CWM, but I started over again with flashing kdz and now everything is fine
Maybe your SD card is full. Try deleting a few files from your SD and then do the backup.
Sent from my GT-I9070 using xda premium
I dont have any external sd card and on phone memory there were more than 10GB free space

Boot takes too much time. Also wiped everything. Questions of what to do now...

Ok so i had 5.02 rooted kitkat. Obviously unlocked bootloader. It says 3. And twrp 2.8something...
For the previous months every time i rebooted the phone it took like 10 minutes to boot for some reason. But it worked. It was laggy these days so i thought i will wipe everything and install CM12.1.
So i downloaded the rom and gapps. Then i wiped delvik, cache, system, internal memory and data. I also did format data.
I dont really understand, obviously, how android works. So i had the zips on external card and pressed install on from twrp menu. Then wiped cache and delvik cache. Tried to reboot and says 'Warning no OS found'. I say okay and then it says that it wants to root. I say ok again.
Now the PROBLEM is that it does nothing. It justs stucks on motorola boot logo for too much time. I am not sure if this is because i already had a problem with booting taking too much time or because of what i have wiped. I also tried updating bootloader again. Not sure if this changed anything
Long story short, how do i continue now? Is there a way to really delete everything i have done on the phone, then install fresh twrp and then CM12.1? And how do i fix the booting taking too much time problem...
Any help will be valueable. I just dont get how things work because nowadays there are too many things, kernels, roms, bootloaders, recoveries etc... Can i just flash the CM rom from my computer via usb? I tried something like that by ?sideload? only to get a problem about requiring 1.0.32 version. I tried to download new SDK but again i have 1.0.31 version of adb...
Thanks!
P.S. Yes, i am totally lost. But i have desire to understand...
NUKE1989 said:
Ok so i had 5.02 rooted kitkat. Obviously unlocked bootloader. It says 3. And twrp 2.8something...
For the previous months every time i rebooted the phone it took like 10 minutes to boot for some reason. But it worked. It was laggy these days so i thought i will wipe everything and install CM12.1.
So i downloaded the rom and gapps. Then i wiped delvik, cache, system, internal memory and data. I also did format data.
I dont really understand, obviously, how android works. So i had the zips on external card and pressed install on from twrp menu. Then wiped cache and delvik cache. Tried to reboot and says 'Warning no OS found'. I say okay and then it says that it wants to root. I say ok again.
Now the PROBLEM is that it does nothing. It justs stucks on motorola boot logo for too much time. I am not sure if this is because i already had a problem with booting taking too much time or because of what i have wiped. I also tried updating bootloader again. Not sure if this changed anything
Long story short, how do i continue now? Is there a way to really delete everything i have done on the phone, then install fresh twrp and then CM12.1? And how do i fix the booting taking too much time problem...
Any help will be valueable. I just dont get how things work because nowadays there are too many things, kernels, roms, bootloaders, recoveries etc... Can i just flash the CM rom from my computer via usb? I tried something like that by ?sideload? only to get a problem about requiring 1.0.32 version. I tried to download new SDK but again i have 1.0.31 version of adb...
Thanks!
P.S. Yes, i am totally lost. But i have desire to understand...
Click to expand...
Click to collapse
http://forum.xda-developers.com/moto-g-2014/general/restore-to-stock-t2873657 try to restore to stock
I am trying to do this but i dont have some files like boot.img or logo.bin etc.... Where can i download those? There is a link about mfastboot is not working. I am using linux btw so i guess the fastboot i already have is okay
EDIT: Ok i am obviously stupid. The files are on the zip ROM. Okay i am doing this. Now the question i have is, cant i install CM12.1 using fastboot like this ROM?
Okay and it worked. It booted stock rom and this time it booted in a minute or two (considering it was the first time booting i think its awesome).
Now i have to try CM rom. At least i know how to return the phone back if anything happens. Thank you very very much!
NUKE1989 said:
Okay and it worked. It booted stock rom and this time it booted in a minute or two (considering it was the first time booting i think its awesome).
Now i have to try CM rom. At least i know how to return the phone back if anything happens. Thank you very very much!
Click to expand...
Click to collapse
Glad to help
now just copy the rom you want to install and the gapps, install the latest TWRP, wipe: Cache, Dalvik Cache, Data and System and just flash the zips
Many thanks I managed to install CM12.1. Thought i think i failed to flash most of gapps for some reason i dont really care.
I only have one severe bug. 3G is not working for some reason. So i dont have gsm internet except the slow one...

[HELP] Mi5 Doesn't Boot

The situation is a little complicated, so I'll explain step by step. I appreciate any help, idea what what caused this or if I can do anything to fix. Please, write if you have even a little clue.
- The top speaker (earpiece) was faulty. I wanted to change it.
- I damaged signal antenna port on motherboard while changing the speaker.
- Anyway, phone was working in all this process. Just no signal.
- After, removing motherboard for a second time, phone didn't boot up.
- I flashed a custom rom via TWRP. (phone was already unlocked.). Didn't boot.
- I flashed MIUI via TWRP. Didn't boot.
- I flashed MIUI via Xiaomi Flash Tool. Didn't boot.
- I am able to enter fastboot and recovery.
- It's charging, without problem.
- It doesn't stuck on kernel phase (It passes the MI screen).
- It stuck on boot screen. I have waited really long times, more than 30 minutes.
Do you think, I f***ed up the motherboard? Why it doesn't boot? Please, share if you have any idea.
@baggord
If the motherboard was dead, you'd not be able to turn on your phone.
Sounds like software to me at the moment.
Some ideas:
Are you on the latest twrp version (3.2.3-0)?
Did you try reflashing latest twrp via fastboot (not from within twrp)
and then wiped all partitions (including mounting and also wiping vendor) following a formatting of the data partition (where you need to type "yes") following a reboot to recovery?
Did you try restoring the efs partition from a backup where everything worked?
Would also rather try a stable custom ROM to test.
Hi,
If nothing worked, follow the instruction of this video. It worked for me after dropping my phone in water.
Sorry for my poor English?
Phil_Smith said:
@baggord
If the motherboard was dead, you'd not be able to turn on your phone.
Sounds like software to me at the moment.
Some ideas:
Are you on the latest twrp version (3.2.3-0)?
Did you try reflashing latest twrp via fastboot (not from within twrp)
and then wiped all partitions (including mounting and also wiping vendor) following a formatting of the data partition (where you need to type "yes") following a reboot to recovery?
Did you try restoring the efs partition from a backup where everything worked?
Would also rather try a stable custom ROM to test.
Click to expand...
Click to collapse
I tried flashing twrp via fastboot. I've also tried stable custom rom and stock rom.
I'll try to format all partitions then re flash a rom. I don't have an efs partition backup. Can I backup in this situation or do you think it's already gone?
Thanks for the reply!
Kabula2000 said:
Hi,
If nothing worked, follow the instruction of this video. It worked for me after dropping my phone in water.
Sorry for my poor English?
Click to expand...
Click to collapse
Hi, thanks for the reply. I'll check it out.
baggord said:
I don't have an efs partition backup. Can I backup in this situation or do you think it's already gone?
Click to expand...
Click to collapse
An old efs backup could have been of use, as sometimes important things like the imei get lost and you would only be able to restore it via this partition.
Next time better make an efs backup right away and store it at a safe external place in case you one day might need it.
In this scenario it's too late.
If it's faulty you only backup something that doesn't help you later.
Might still be that your problem has another source.
Then, if we found out a solution and everything is working well again, of course you could make that backup.
Please tell us if the wiping and formatting changed anything.
Good luck!
Phil_Smith said:
An old efs backup could have been of use, as sometimes important things like the imei get lost and you would only be able to restore it via this partition.
Next time better make an efs backup right away and store it at a safe external place in case you one day might need it.
In this scenario it's too late.
If it's faulty you only backup something that doesn't help you later.
Might still be that your problem has another source.
Then, if we found out a solution and everything is working well again, of course you could make that backup.
Please tell us if the wiping and formatting changed anything.
Good luck!
Click to expand...
Click to collapse
I am out of my home town, currently. I will inform you when I get back to town.
Thanks for the replies.
@Phil_Smith
I talked to my brother since I'm out of town.
He wiped all partitions including vendor.
Reboot into recovery. (format data returned error, before reboot)
Then format data. (worked fine)
Reboot into recovery.
Flashed a custom rom.
It boot up!
Thanks.
IMEI stays by the way. Now we need to fix the antenna somehow. Phone is still alive, at least. Thanks again!
baggord said:
@Phil_Smith
I talked to my brother since I'm out of town.
He wiped all partitions including vendor.
Reboot into recovery. (format data returned error, before reboot)
Then format data. (worked fine)
Reboot into recovery.
Flashed a custom rom.
It boot up!
Thanks.
IMEI stays by the way. Now we need to fix the antenna somehow. Phone is still alive, at least. Thanks again!
Click to expand...
Click to collapse
Nice, glad that you're good again!

Categories

Resources