[Q] Cannot restore backup, need stock ROM or help [RESOLVED] - Motorola Photon Q 4G LTE

I was trying to restore a backup made yesterday and had an md5 mismatch. I removed the md5 keys from the file, which allowed CWM to restore /data but once it got to /system it failed,
Restoring system...
Error while restoring /system!
I've found this...
http://forum.xda-developers.com/showpost.php?p=34555560&postcount=11​but it doesn't help.
The OP says to restore via TWRP, but my system/windows is not recognizing the phone via ADB so I cannot flash TWRP using fastboot.
Are these files available for CWM at all?

Are you able to boot into fastboot by holding power+volume down at boot? If so you can flash twrp and then flash the stock backups through twrp. I have never had issues with my pc recognizing my phone in adb mode with the phone in fastboot as far as flashing recovery, boot logo, etc. I am not able to get adb to push/pull files while in fastboot. Whether or not this works may depend on if you had usb debugging enabled in developer options prior to soft-bricking your phone.
Sent from my XT897 using xda app-developers app

UnicronAlpha99 said:
Are you able to boot into fastboot by holding power+volume down at boot? If so you can flash twrp and then flash the stock backups through twrp. I have never had issues with my pc recognizing my phone in adb mode with the phone in fastboot as far as flashing recovery, boot logo, etc. I am not able to get adb to push/pull files while in fastboot. Whether or not this works may depend on if you had usb debugging enabled in developer options prior to soft-bricking your phone.
Sent from my XT897 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the reply. I can get to fastboot, I tried just kind of blindly flashing the twrp recovery image, and you're right, it worked even though 'adb devices' still didn't show it.
So I'm back on TWRP but now, after following the instructions to create the TWRP backup folder on the SD card and restoring the files provided by drakeheart77, TWRP tells me there's no OS installed when I try to reboot to the system. All the posts I read suggest flashing a new ROM but... there aren't any ROMs from what I can tell.
As I said in the OP, I tried to restore a backup and ran into the md5 mismatch error, but I didn't say that in my noob-ness, formated everything I could and lost my OS because of that (at least from what I'm deducing... still noob-ness).
Any suggestions? Thanks again!

I'm guessing the "no os" error is due to not having anything in the /data folder. Try flashing this through twrp: http://forum.xda-developers.com/showthread.php?p=32514141
It is a backup of the stock odexed rom. Put the files in the twrp/backups/serial#here/ folder and try flashing it. Assuming that gets you up and running all you have to do to is flash the stock recovery.img through fastboot to download the ota update, if you want to.
For future backups try having twrp save them to your external sd card by selecting it in the backup menu. That way if you need to wipe internal storage for any reason you will have the external backups safe and ready for use.
Sent from my XT897 using xda app-developers app

UnicronAlpha99 said:
I'm guessing the "no os" error is due to not having anything in the /data folder. Try flashing this through twrp: http://forum.xda-developers.com/showthread.php?p=32514141
It is a backup of the stock odexed rom. Put the files in the twrp/backups/serial#here/ folder and try flashing it. Assuming that gets you up and running all you have to do to is flash the stock recovery.img through fastboot to download the ota update, if you want to.
For future backups try having twrp save them to your external sd card by selecting it in the backup menu. That way if you need to wipe internal storage for any reason you will have the external backups safe and ready for use.
Sent from my XT897 using xda app-developers app
Click to expand...
Click to collapse
Wow, that worked. So relieved I don't have a large black paperweight now... lol Thank you!

No problem man, glad you got it working. That backup Rangerbry posted unbricked my phone at one point and saved me a paperweight. This really is a great phone once you accept the little quirks.
Sent from my XT897 using xda app-developers app

Related

[Q] Formated /boot and phone dont inicialize

Edit:
Hello everybody!
I formatted / boot through the Clockwordmod and now the phone does not boot the android, always turns on Clockword.
I tried to use fastboot to install a new boot, but does not work, is always "waiting for device".
What should I do? Is there any way to install a new boot using the Recovery?
Please! I'm desperate!
By /boot do you mean the bootloader? To me you seem to have removed the OS from your phone so you may have killed it.
Unless you have a bootloader I'm which case your fine.
Sent from my Nexus S using xda premium
I formated /boot. I can enter on Clockword normaly, but just it. I remove the OS, I think.
I had lost my phone??
If I use fastboot with one bootloader img, can I solve this problem?
So, I cant use fastboot. My PC doenst recognize my phone!
Anybody help?
Please, i´m very sad about it!
u might need Odin then to flash your original firmware. Make sure you download the right version for your phone.
Sent from my Nexus S 4G using xda premium
Boot into recovery go into backup and restore from a backup you made earlier. You can also just restore boot using the advanced backup restore.
If you don't have any backups and clearly you have a custom recovery installed, what can I say... serves you right.
Boot is the kernel.
Mount USB storage in clockworkmod recovery. Put a kernel on the phone and flash it.
Or flash a rom
Or restore a backup off the boot as mentioned .

I cant mount my SD card from recovery to my comp. help please?

what i had done was created a backup of the current rom i was using AOKP, to try another rom. i tried to restore back to AOKP using the back up but i kept on getting stuck in the unicorn bootup and it was just continually looping. I tried a few different things but still nothing worked.
I boot up into the bootloader and i accidentally did a factory reset from there and it wiped my entire sd card clean. so right now, im stuck without a working rom but i can still boot into TWRP recovery.
The very big problem right now is that i cannot mount the SD to my computer.
I kept getting this error as i was trying to restore to aokp too "E:failed to mount /sdcard (invalid argument)"
im not sure what is wrong with my sd card. it wont mount to my comp so i can transfer a rom there to flash. any help or ideas? thank you
Edit* i dont think twrp can read the SD. :'(
metalhawj said:
what i had done was created a backup of the current rom i was using AOKP, to try another rom. i tried to restore back to AOKP using the back up but i kept on getting stuck in the unicorn bootup and it was just continually looping. I tried a few different things but still nothing worked.
I boot up into the bootloader and i accidentally did a factory reset from there and it wiped my entire sd card clean. so right now, im stuck without a working rom but i can still boot into TWRP recovery.
The very big problem right now is that i cannot mount the SD to my computer.
I kept getting this error as i was trying to restore to aokp too "E:failed to mount /sdcard (invalid argument)"
im not sure what is wrong with my sd card. it wont mount to my comp so i can transfer a rom there to flash. any help or ideas? thank you
Edit* i dont think twrp can read the SD. :'(
Click to expand...
Click to collapse
Factory reset will not wipe user data on the sd, you must have done something else. Relock the boot loader, reflash he relevant Ruu to go back to stock then start all over again
metalhawj said:
what i had done was created a backup of the current rom i was using AOKP, to try another rom. i tried to restore back to AOKP using the back up but i kept on getting stuck in the unicorn bootup and it was just continually looping. I tried a few different things but still nothing worked.
I boot up into the bootloader and i accidentally did a factory reset from there and it wiped my entire sd card clean. so right now, im stuck without a working rom but i can still boot into TWRP recovery.
The very big problem right now is that i cannot mount the SD to my computer.
I kept getting this error as i was trying to restore to aokp too "E:failed to mount /sdcard (invalid argument)"
im not sure what is wrong with my sd card. it wont mount to my comp so i can transfer a rom there to flash. any help or ideas? thank you
Edit* i dont think twrp can read the SD. :'(
Click to expand...
Click to collapse
Try updating TWRP to 2.2.0
Download it, reboot device into the boot loader, go into fastboot using volume keys and power to select, rename the TWRP .img file to TWRP and put it into your ADB directory then fire up ADB and type "fastboot flash recovery TWRP.img" reboot then try to mount. If I were a betting man I'd guess it will fix it.
Sent from my HTC One XL using xda app-developers app
Same Problem as OP
I am in the exact same situation as the OP.
I just flashed the latest TWRP and still cannot mount SD card.
any ideas? If i do have to relock bootloader and RUU can someone direct me to a good TUT.
Knowing myself I will end up stuck with a stock phone or something.
thnx
Pretty much same thing has happened to me. I am at a loss of direction for what to do to save my Nexus S 4g =/
getliketie said:
Pretty much same thing has happened to me. I am at a loss of direction for what to do to save my Nexus S 4g =/
Click to expand...
Click to collapse
you should ask in the specfic forum...
Sent from my HTC One X using xda app-developers app
ashayden said:
I am in the exact same situation as the OP.
I just flashed the latest TWRP and still cannot mount SD card.
any ideas? If i do have to relock bootloader and RUU can someone direct me to a good TUT.
Knowing myself I will end up stuck with a stock phone or something.
thnx
Click to expand...
Click to collapse
boot to bootloader
enter fastboot.usb mode
fastboot lock
....
get.to fastboot.usb mode again
fastboot erase cache
fastboot oem rebootRUU
fastboot flash zip ruu.zip
download the right ruu fist....all the lines start with fastboot...are what u need to enter in the terminal
i assume u know how to unlock then install twrp...
Sent from my HTC One X using xda app-developers app

[Q] Desperately need working files to flash .. stuck after unlocking

So I unlocked this without much trouble, and then when I was attemoting to use adb to flash images to recovery partition, one would just not work, and I stupidly tried to force it, and now it boots and just sits there.
I've seen a different website saying the Q can run Jellybean, and it also has info on getting the stock rom back .. but NO files. I know how to use the damn recovery tools once theyre booted up - those articles were completely useless. I don;t know what else to do. I tried to get the files that argghhhh jad posted to dropbox but they are not available anymore.
Stuck and been trying to fix this for the last 12 hours
EDIT:
Found stock recovery stuff, but I dont think it's going to help any...
Nevermind I suppose
I see that I can try the stock rar file posted for someone else in here to put into recovery, hope it works, I just dont know if the nernel is ok, but I would think so. It stops at the "unlocked"notificaton screen. anyay, yeah. If I get jellybean on instead ill share the info,
I believe you need to fastboot your recovery, not adb. Then you may be able to flash something back on there.
Sent from my XT897 using xda premium
tetrabyt said:
I believe you need to fastboot your recovery, not adb. Then you may be able to flash something back on there.
Sent from my XT897 using xda premium
Click to expand...
Click to collapse
Thanks for the repl! S I actually have been using fastboot because adb for some reason just will not see the device (I checked the version and its correct supposedly). So what I did was take the WWRP rar, pull the contants out and make them into a .zip.and instaled with fastboot flash. The output looked ok:
sending 'userdata' (319120 KB)... OKAY [ 29.814s]
writing 'userdata'... OKAY [ 92.421s]
finished. total time: 122.235s
but what about all the other partitions? I jad done system earlier frok out of the stock zipfile. i think i may just try the entire Stock file insead, or maybe I am missing the fact that I beed to install the kernek into /boot, Any thoughts Thanks much!
EDIT: first im going to fastboot the recovery wit tue TWRP zip file, and try to install it from
I am a little confused, did you manage to get the recovery working? Looks like you were trying to flash the recovery img to your user data partition... Am I misreading your post.
-Saint
Whoaa just saw that. should have unzipped the recovery image and flashed it to the recovery partition with
Fastboot flash recovery recoveryfile.img
Then you can boot into recovery and flash one of the system dumps that these devs have generously posted for when we mess up like this...
Sent from my XT897 using xda premium
tetrabyt said:
Whoaa just saw that. should have unzipped the recovery image and flashed it to the recovery partition with
Fastboot flash recovery recoveryfile.img
Then you can boot into recovery and flash one of the system dumps that these devs have generously posted for when we mess up like this...
Sent from my XT897 using xda premium
Click to expand...
Click to collapse
is this the basic method at present for a stock restore? i was looking at the thread with the files for RSD lite, but i was confused as to whether that was working. thx!
ok so I messed up what to flash from recovery. I had grabbed copies of the system, data, boot, etc for all the partitions thinking i needed to do them all from outside using fastboot,
Herby6262 said:
ok so I messed up what to flash from recovery. I had grabbed copies of the system, data, boot, etc for all the partitions thinking i needed to do them all from outside using fastboot,
Click to expand...
Click to collapse
Ok, the easiest way to get your phone up and running again is to push the newest TWRP from here, put it in your tools folder and push w fastboot:
fastboot flash recovery openrecovery-twrp-2.3.1.0-asanti_c.img
fastboot reboot recovery
Make a backup to your external sd card so that TWRP creates the directory needed to restore the stock system & boot. You should delete this first backup later since it will be broken.
Then download a system & boot image from here, unzip to the /TWRP/BACKUPS/"serial#"/ folder on your external sd. Do full wipes for system, dalvik, & factory reset; then restore Stock from within TWRP. Should be good to go.
:edit:
Just saw that tetrabyt already hit on this, consider this post a more detailed revision.
i must be retardedly doing this the wrong way, i quickly get twrp into recovery and can get in there, and I have the stock photon .zip in 1 big zip and in separate pieces, but how do you get them to the external card.. windows 7 fails to recognize the phone with some message MTP device unknown so I can't transfer it that way ... I dont know. Im about to chuck this thing out the window and be done with it. The whole purpose was to be able to install apps to the sdcard, originally. Only fastboot works from a command prompt, adb doesnt do a damn thing, trying multiple versions of it. I give up
Herby6262 said:
i must be retardedly doing this the wrong way, i quickly get twrp into recovery and can get in there, and I have the stock photon .zip in 1 big zip and in separate pieces, but how do you get them to the external card.. windows 7 fails to recognize the phone with some message MTP device unknown so I can't transfer it that way ... I dont know. Im about to chuck this thing out the window and be done with it. The whole purpose was to be able to install apps to the sdcard, originally. Only fastboot works from a command prompt, adb doesnt do a damn thing, trying multiple versions of it. I give up
Click to expand...
Click to collapse
Do you have an sd adapter or another device you can plug the sd into to transfer from your pc? Does adb fail when booted into TWRP also? Tried uninstalling/re-installing drivers?
Might be able to make a data img you could flash through fastboot, so long as the folder structure was correct... then use recovery from internal storage. Not certain on this: /data/media/sdcard/TWRP/BACKUP/"serial#"/
Maybe someone else can jump in here, this would be my last resort. Use any way possible to get it on external sd first.
-Saint
fallnSaint said:
Do you have an sd adapter or another device you can plug the sd into to transfer from your pc? Does adb fail when booted into TWRP also? Tried uninstalling/re-installing drivers?
Might be able to make a data img you could flash through fastboot, so long as the folder structure was correct... then use recovery from internal storage. Not certain on this: /data/media/sdcard/TWRP/BACKUP/"serial#"/
Maybe someone else can jump in here, this would be my last resort. Use any way possible to get it on external sd first.
-Saint
Click to expand...
Click to collapse
I believe there is a system.img floating around here somewhere.
Check out this thread
http://forum.xda-developers.com/showthread.php?t=1894575
Sent from my XT897 using xda premium
tetrabyt said:
I believe there is a system.img floating around here somewhere.
Check out this thread
http://forum.xda-developers.com/showthread.php?t=1894575
Sent from my XT897 using xda premium
Click to expand...
Click to collapse
Thanks a ton for the help Saint, and others. I finally got it back in working order .. yay! Now to install that powermenu update someone made, and see about making android 4 opeate like the older versions, where you could install apps onto the external SD card. Am I correct in assuming they just F'ed it up by changing the /mnt names, while the software was not updated to accomodate those changes? Why the hell is internal memory now "sdcard" ... so odd. I have a friend whose internal storage is named "USB storage" on his phone. It's USB accessible .. but its a freakin flash card. So odd, and stupid. I really felt like 4.0 was a downgrade, personally. What improved? I see nothing, only things taken away (Im sure the underlying scheduler and thread management/memory mgmt is better, but you know what I mean .. anything visible?)
Herby6262 said:
Thanks a ton for the help Saint, and others. I finally got it back in working order .. yay! Now to install that powermenu update someone made, and see about making android 4 opeate like the older versions, where you could install apps onto the external SD card. Am I correct in assuming they just F'ed it up by changing the /mnt names, while the software was not updated to accomodate those changes? Why the hell is internal memory now "sdcard" ... so odd. I have a friend whose internal storage is named "USB storage" on his phone. It's USB accessible .. but its a freakin flash card. So odd, and stupid. I really felt like 4.0 was a downgrade, personally. What improved? I see nothing, only things taken away (Im sure the underlying scheduler and thread management/memory mgmt is better, but you know what I mean .. anything visible?)
Click to expand...
Click to collapse
Good to hear, glad you got her working again. As for how she runs, definitely snappier than older versions of android. Maybe just hardware, but I still see improvements w the wifes epic running ics, guessing that we will see better results once CM is dropped for this phone.
-Saint
Tried this, still stuck on Bootloader Unlocked Screen. TWRP restores don't seem to work right. I tried restoring an old backup I had of the boot/recovery/system with no luck. Everytime I wiped system/dalvik/cache/factory reset before restore. No errors show up.
So, I can go into fastboot, and I can flash files.
I tried RSD Lite 5.7 with this Zip
It flashes everything until RSD wants me to reboot. Then it reboots and gets stuck on the bootloader unlocked screen.
Any ideas?
[Edit] I flash CWM and found out that I can't mound /sdcard which doesn't seem right...
fallnSaint said:
Ok, the easiest way to get your phone up and running again is to push the newest TWRP from here, put it in your tools folder and push w fastboot:
fastboot flash recovery openrecovery-twrp-2.3.1.0-asanti_c.img
fastboot reboot recovery
Make a backup to your external sd card so that TWRP creates the directory needed to restore the stock system & boot. You should delete this first backup later since it will be broken.
Then download a system & boot image from here, unzip to the /TWRP/BACKUPS/"serial#"/ folder on your external sd. Do full wipes for system, dalvik, & factory reset; then restore Stock from within TWRP. Should be good to go.
:edit:
Just saw that tetrabyt already hit on this, consider this post a more detailed revision.
Click to expand...
Click to collapse
After RSD Lite, it might not have booted up because the system image was removed from the file to make it work. Probably if you flash TWRP after doing the RSD file, and restore Rangerbry's system backup, you might be good..
No Luck.
Just tried this.
Got the following Errors during only system restore:
E:Unable to mount '/cache'
E:unable to mount '/data'
Still stuck on Unlocked bootloader screen.
My emmc might be corrupted I think
I do have sprint insurance. Think they can reflash stock?
yogi2010 said:
After RSD Lite, it might not have booted up because the system image was removed from the file to make it work. Probably if you flash TWRP after doing the RSD file, and restore Rangerbry's system backup, you might be good..
Click to expand...
Click to collapse
coolroman123 said:
No Luck.
Just tried this.
Got the following Errors during only system restore:
E:Unable to mount '/cache'
E:unable to mount '/data'
Click to expand...
Click to collapse
Was that in CWM or TWRP recovery? Just trying to make sure the process was correct, haha. I have only started using TWRP on this device, but i think the 2 recoveries use different backup formats?
coolroman123 said:
Tried this, still stuck on Bootloader Unlocked Screen. TWRP restores don't seem to work right. I tried restoring an old backup I had of the boot/recovery/system with no luck. Everytime I wiped system/dalvik/cache/factory reset before restore. No errors show up.
So, I can go into fastboot, and I can flash files.
I tried RSD Lite 5.7 with this Zip
It flashes everything until RSD wants me to reboot. Then it reboots and gets stuck on the bootloader unlocked screen.
Any ideas?
[Edit] I flash CWM and found out that I can't mound /sdcard which doesn't seem right...
Click to expand...
Click to collapse
Can you boot to bootloader or just to fastboot? There are two control files in that RSD zip, one doesn't flash bootloader, try removing that one and forcing the reflashed bootloader. Then try restoring again. About all I can think of if it successfully flashes the other components... Maybe just restore system and not boot or data?
-Saint
Everything you need is here to return to stock WITH ota update.
http://forum.xda-developers.com/showthread.php?t=2001226
The only thing simple is the belief in simplicity.

[Q] Soft Brick - TWRP intact, how to flash?

Okay so I sold my HOX running AOKP to a guy on Clist. He tried to flash a stock rom.. and somehow in the process wiped his whole system and sd card. Over the phone I figured out he soft bricked it and its stuck in a bootloop.
Went thru the steps over the phone with him to get into recovery(TWRP), and he confirmed that TWRP is there. Of course he didnt do a nandroid or anything of that sort, so he cant revert to that. There's no ZIPs on the phone, when he goes to INSTALL on twrp, it just shows "twrp" folder and thats it.
I haven't had the phone in my hands yet, but will see it tomorrow. My question is:
How do I transfer a Zip file onto the phone to flash thru TWRP? Does TWRP have a USB mass storage mode? (I have an S3 now and that's not available on my TWRP)
Can I use ADB or Fastboot to flash the ZIP as is? Or can I use ADB to transfer a file to the phone?
Yeah twrp has usb storage, you go into Mount then mount usb storage and windows should recognise so long as you have the correct drivers installed.
Sent from my HTC One XL using xda premium
Sweet. Ill do that tomorrow
Sent from my SAMSUNG-SGH-I747 using xda premium
Maybe I didn't understand the op but, when flashing... You'll have to flash the boot.IMG file from the rom seperately if the phone has the 1.14 Hboot. Then go into recovery and install the .zip file after you wipe the cache/delvik.
Sent from my HTC One XL using xda app-developers app
s1mpd1ddy said:
Okay so I sold my HOX running AOKP to a guy on Clist. He tried to flash a stock rom.. and somehow in the process wiped his whole system and sd card. Over the phone I figured out he soft bricked it and its stuck in a bootloop.
Went thru the steps over the phone with him to get into recovery(TWRP), and he confirmed that TWRP is there. Of course he didnt do a nandroid or anything of that sort, so he cant revert to that. There's no ZIPs on the phone, when he goes to INSTALL on twrp, it just shows "twrp" folder and thats it.
I haven't had the phone in my hands yet, but will see it tomorrow. My question is:
How do I transfer a Zip file onto the phone to flash thru TWRP? Does TWRP have a USB mass storage mode? (I have an S3 now and that's not available on my TWRP)
Can I use ADB or Fastboot to flash the ZIP as is? Or can I use ADB to transfer a file to the phone?
Click to expand...
Click to collapse
You can just mount USB storage and drag the ROM to the sdcard.
If you are on the new hboot (1.14) you will have to flash the boot.img (its inside the rom zip) first (from fastboot). then flash the ROM from recovery.

[Q] AT&T HTC One X Softbricked-CMmod

I believe I have bricked my phone. I was running a rooted HTC One X AT&T with an odex Jellybean/HTC Sense 4+ ROM. I wanted to test out a Cyanogenmod. Big mistake. I tried to flash it from TWRP recovery, after backing up my previous ROM, however, it was stuck in an endless boot loop. I took advice from some people online and reflashed it/ wiped caches/dalvik cache etc... When I realized it would not work unless I fastbooted it myself using USB debugging I tried to reinstall the old ROM, of course, after wiping the Cyanogenmod. Long story short there was no backup even though I backed up the phone! I now have no ROM and everything on my system is gone! My SD card folder only has a TWRP recovery and I can't install any .zip files. TWRP isn't even allowing me to mount my SD card so putting any files are out of the question. I believe, however, that usb debugging was on the whole time (is it on if on the boot loader it says fastboot usb when I plug in a USB?). Is there anyway to fix this?? I'm really screwed if I can't and please don't direct me to another thread because I need personalized help. I'm doing this on a mac by the way so anyone who knows how to use the terminal would help a lot. I can get access to windows though if needed. Just please help.
Have you tried to flash the boot.img from the zip file in fastboot?
Do you know what a brick is? When your phone does NOTHING... Similar to a brick.
What happened to you is you didn't flash the boot.img through fastboot, which caused your first problem, the bootloop..
Second thing you did incorrect was perform a factory reset in boot loader... Which completely wipes your SD card and corrupts it, and which just so happened to contain your backup no worries, easily fixable...
Download a rom on your computer. While its downloading, enter recovery and choose mount. Navigate to my computer and right click the removable storage option. Choose format. Once its done, drag rom onto phone.. Flash rom in twrp.
Extract rom on your computer, grab the boot.img and flash with fastboot.
Fastboot flash boot boot.img
Reboot phone and profit
EDIT: sorry but I hastily skimmed through your post... Those are half-assed instructions for windows, I have no clue what to do on a mac
Sent from my One X using Tapatalk 2
What he said. Toolkits are easily found too

Categories

Resources