[Q] Adb: offline help - Moto X Q&A

Hello, need some help here!
I unlocked the bootloader without backing up any of my files... I know I'm stupid... I was too carried away by the 4.4.2 improvements to think properly...
I tried this recovery method from this thread:
http://forum.xda-developers.com/showthread.php?t=1994705&nocache=1
and another similar one
But in both cases I am stucked at the first step: adb saying device is offline in cygwin.
Adb in the android sdk works fine. I'm on 4.4.2 ota from stock 4.2.2 (rogers), managed to flash twrp and got root.
I've tried revoking usb authorization but no go.
Is there any mighty guru who can help me out? Is there some way of mounting the internal storage in windows so that i can image the whole internal storage?
Any help greatly appreciate! Don't want to lose precious photos of my family...

cilix said:
Hello, need some help here!
I unlocked the bootloader without backing up any of my files... I know I'm stupid... I was too carried away by the 4.4.2 improvements to think properly...
I tried this recovery method from this thread:
http://forum.xda-developers.com/showthread.php?t=1994705&nocache=1
and another similar one
But in both cases I am stucked at the first step: adb saying device is offline in cygwin.
Adb in the android sdk works fine. I'm on 4.4.2 ota from stock 4.2.2 (rogers), managed to flash twrp and got root.
I've tried revoking usb authorization but no go.
Is there any mighty guru who can help me out? Is there some way of mounting the internal storage in windows so that i can image the whole internal storage?
Any help greatly appreciate! Don't want to lose precious photos of my family...
Click to expand...
Click to collapse
i have no idea what you are trying to do or what you have done.
so far this is what i have understood
you have unlocked your bootloader and install TWRP and SuperSU
so you have root access
now you are wanting to back you device up.
if this is what you are trying to do then just boot to TWRP and click on backup and make a nandroid back and move on.
with a nandroid back up if you ever install anything that stops your device from booting or cause FC all you do is boot back into TWRP and click restore and click on your nandroid back up and it will restore your phone just like it was when you created the backup.

Sorry for bad focus in writing, it was 5am+ and I was very desperate...
I had unlocked the bootloader without first doing a backup, thus the unlocking process wiped my data.
I had it unlocked so that I could flash twrp and root, which I then succeeded in doing so.
Now, I hope to recover the wiped data. As Moto X only has internal storage, I can't mount it as a drive in windows and do recovery that way.
The thread I found had a particular method of imaging the whole internal storage so that recovery could be done by loading the image in windows.
But by using that method, I can't get adb (of cygwin) to connect to my phone properly. It lists the phone but says device is offline.
Does anyone know how I can get adb (cygwin) to connect to my phone properly?
Or is there another method of recovering wiped data in internal storage?
Thanks for any help!

cilix said:
Sorry for bad focus in writing, it was 5am+ and I was very desperate...
I had unlocked the bootloader without first doing a backup, thus the unlocking process wiped my data.
I had it unlocked so that I could flash twrp and root, which I then succeeded in doing so.
Now, I hope to recover the wiped data. As Moto X only has internal storage, I can't mount it as a drive in windows and do recovery that way.
The thread I found had a particular method of imaging the whole internal storage so that recovery could be done by loading the image in windows.
But by using that method, I can't get adb (of cygwin) to connect to my phone properly. It lists the phone but says device is offline.
Does anyone know how I can get adb (cygwin) to connect to my phone properly?
Or is there another method of recovering wiped data in internal storage?
Thanks for any help!
Click to expand...
Click to collapse
ok i understand what you are trying to do but your not understanding how the moto x storage system works
there is 2 storage locations on are phone. Internal and emulated external(virtual SD card)
so when you do a factory reset or go into TWRP and click Wipe it wipes the internal storage only leaving the SD card files there
but the virtual sd card only contains your Pics/Downloads/and Some App Data but it dose not have your actual phone data like installed apps and setting so forth. so when you wipe your data there is no way to recovery your system you have to start over. the only thing left is going to be downloads some app data pics and other things you moved to your phone via your PC.
What i would do is rebuild your phone the way you want it and then do a nandroid backup via TWRP and then you wont have to deal with this issue again i normally make a new nandroid backup every week and delete the old one and then i make another backup via Titanium Backup.

Thanks dray_jr, for your detailed explanation.
I just found out the adb version in cygwin is outdated. I'll try to update it and see if it could work.
I don't want to give up hope yet

Related

[Q] please help! wiped too much from One..

I really hope someone can help..
I'd previously installed CWM and rooted my one, but was still using the stock ROM (.13)
I wanted to wipe my One and have a fresh start after having tried out a load of apps and trying to get the menu/logo mods going..
I chose to wipe everything through the android settings, but my SDCard was still full of my stuff afterwards, when I'd chosen to remove it all..
I then made my mistake. I booted into CWM and chose to format a few of the different options it allows under Mounts and Storage. tbh, I exactly forget which now.
Now, it'll still boot into CWM but wont get past the HTC splash screen when booted normally.
I have nandroid backup I originally took while rooting available on my PC, as well as a image.zip I made at the same time.
Would anyone be kind enough to help me resurrect it pleeeease?
panic over..
just in case it helps out anyone who does something similarly dumb:
I copied my backup.zip onto a USB drive, connected it using a USB OTG cable and CWM let me restore it from that = booting HTC one.
However, you can push the rom into the sd when you're on recovery and with a pc type:
Code:
adb push name_of_recovery /sdcard
Guich said:
However, you can push the rom into the sd when you're on recovery and with a pc type:
Code:
adb push name_of_recovery /sdcard
Click to expand...
Click to collapse
Thanks.. I'll keep that for the next time I stuff it up!

Unable to Mount Internal SD

This from a real noob, but I thought I would solict some additional input if there is some trick I have missed on my problem.
Since installing CM 10 on my Vivid, everything has worked well except the fact my internal SD has gone away. Based on stuff I have read here I have tried the following:
1. Factory Reset - no help
2. Mount drive using installed recovery, CWM - No Help
3. Install TWRP recover and try that, no help
4, Try various apps from Play Store, No Help
At this point it seems best to me to return the phone to factory state and see if the internal card is there, if it is, unlock the boat loader, install TWRP recover, then flash the rom, then boot imate (s on) and hope it works.
Any app that requires root and access to all the drives errors out.
A large group thanks to all of you who post so much info on the phone, and how to do things.
I assume you've tried mounting Internal SD in the Settings/Storage menu?
Sent from my Vivid 4G using Tapatalk
Internal Mounting
Thanks for reminding me about this, but yes, I have tried it numerous times but it doesn't work. A bit frustrating since it keeps me from storing certain stuff or using some rooted apps. Unless I find some other way, I will give the restore option a try in a few days when I get home.
Appreciate the reply.
pwebber09 said:
This from a real noob, but I thought I would solict some additional input if there is some trick I have missed on my problem.
Since installing CM 10 on my Vivid, everything has worked well except the fact my internal SD has gone away. Based on stuff I have read here I have tried the following:
1. Factory Reset - no help
2. Mount drive using installed recovery, CWM - No Help
3. Install TWRP recover and try that, no help
4, Try various apps from Play Store, No Help
At this point it seems best to me to return the phone to factory state and see if the internal card is there, if it is, unlock the boat loader, install TWRP recover, then flash the rom, then boot imate (s on) and hope it works.
Any app that requires root and access to all the drives errors out.
A large group thanks to all of you who post so much info on the phone, and how to do things.
Click to expand...
Click to collapse
My guess... Is you did a reset from fastboot...
If that is the case... I recommend getting twrp... Installing that... Mounting both storages in recovery... Then hook to your windows PC... And let windows format your internal SD...
After a reboot... Your phone will either mount your internal... Or offer to format it again... At which point it will work...
Unless we are talking about apps2sd in CM11...
Sent from my Vivid 4G using Tapatalk
More Info
rignfool said:
My guess... Is you did a reset from fastboot...
If that is the case... I recommend getting twrp... Installing that... Mounting both storages in recovery... Then hook to your windows PC... And let windows format your internal SD...
After a reboot... Your phone will either mount your internal... Or offer to format it again... At which point it will work...
Unless we are talking about apps2sd in CM11...
Sent from my Vivid 4G using Tapatalk
Click to expand...
Click to collapse
____________________
As far as I know I did not reset from fastboot, but I have been in that mode a good number of times, so it is very possible.
I replaced CWM recover with TWRP and it would not allow me to mount the internal card, but the phone booted up OK, just no internal card. So I tried another factory reset and while in TWRP I noticed I was also getting a "can't mount /emmc/" message. Phone still boots up ok and works except for apps requiring access to the internal card.
I ran across some reference to a recovery called aroma something that is supposed to help with this problem, but am not sure it will work with my phone, still researching that.
So maybe this is pretty good evidence I did screw up and reset from fastboot?
I figure I am going to have to restore the phone to factory status, and start over, but I will wait to see if there any other suggestions.
Thanks again for the feedback.
pwebber09 said:
____________________
As far as I know I did not reset from fastboot, but I have been in that mode a good number of times, so it is very possible.
I replaced CWM recover with TWRP and it would not allow me to mount the internal card, but the phone booted up OK, just no internal card. So I tried another factory reset and while in TWRP I noticed I was also getting a "can't mount /emmc/" message. Phone still boots up ok and works except for apps requiring access to the internal card.
I ran across some reference to a recovery called aroma something that is supposed to help with this problem, but am not sure it will work with my phone, still researching that.
So maybe this is pretty good evidence I did screw up and reset from fastboot?
I figure I am going to have to restore the phone to factory status, and start over, but I will wait to see if there any other suggestions.
Thanks again for the feedback.
Click to expand...
Click to collapse
Ok...
You were close...
Don't mount internal for twrp...
Mount as USB mass storage in the same menu...
Then connect to windows...
Sent from my Vivid 4G using Tapatalk
I will give it a try
rignfool said:
Ok...
You were close...
Don't mount internal for twrp...
Mount as USB mass storage in the same menu...
Then connect to windows...
Sent from my Vivid 4G using Tapatalk
Click to expand...
Click to collapse
Thanks very much, I will probably do this a bit later today and will let you know how it goes. Thanks for taking the time to help me out.
It Works!
Thanks againk, that solution did the trick.

~no clue what to do anymore~

So, after MONTHS of trying to fix my red 600 dollar paperweight, I feel it is time to give up and make a post here. I have tried everything from using RUUs, factory resets, restoring from backups, ADB sideloads, etc. and have had absolutely zero success. So here's the story!
A couple months ago, I installed MultiROM on my HTC One M7WLS in an attempt to get Ubuntu Touch to work on it. The install of MultiROM went smoothly and after a reboot, my phone was working normal. Naturally, once my phone was reconfigured I created a backup in the MultiROM TWRP (v2.8.0) to ensure I didn't lose my current state (or so I thought). After the install, I went to install a secondary rom on the phone on another partition. After the second ROM installation completed, I rebooted my phone, only to be stuck in a boot loop. From here, I went to recovery once again and deleted the new partition, and restored my previous one when I had it working. After this is when everything started going bonkers. Upon rebooting my phone, I discovered I no longer had a working radio (it completely disappeared; nothing even shows in settings for Baseband version) and I no longer had internal storage!!! I can access my phone's internal storage through File Manager, but I am unable to install apps, take pictures, or even watch videos on Facebook because it tells me I do not have internal storage, and that I need to insert an SD card. I have tried several things in an attempt to get my phone back to working condition, but I am still stuck with a copy of Cyanogenmod with no radio or internal storage.
Honestly, I have no clue what to do from here so I hope someone has insight on how to do this. I have tried uninstalling the MultiROM addon, but it does not allow me to since I can't put the ZIP file on my phone, or sideload it in since ADB says there is no phone connected. ANY AND EVERY BIT OF INPUT IS APPRECIATED!
So today I managed to restore my recovery to vanilla TWRP 2.8.1.0, and also managed to flash a ROM to the device. Sadly, in the OS I still have no internal storage or baseband, and I have not been able to find ANYWHERE how to restore JUST the baseband for this phone. Also, I have not been able to find how to fix the problems I am having with the internal storage. Once again, any and all input is appreciated
halodub said:
So today I managed to restore my recovery to vanilla TWRP 2.8.1.0, and also managed to flash a ROM to the device. Sadly, in the OS I still have no internal storage or baseband, and I have not been able to find ANYWHERE how to restore JUST the baseband for this phone. Also, I have not been able to find how to fix the problems I am having with the internal storage. Once again, any and all input is appreciated
Click to expand...
Click to collapse
Go into TWRP and choose wipe / Format Data / type yes
when it's done you will have a blank device but the sdcard should be back.
get adb working on your phone with post 2 / faq 2 here
http://forum.xda-developers.com/showthread.php?t=2541082
when you get adb devices to work from TWRP
go to advanced / sideload
then on your pc - adb sideload rom.zip
be sure the rom is in the same folder as adb
If you still have problems here's the Sprint RUU
Sprint 5.xx RUU
http://forum.xda-developers.com/showthread.php?t=2795856

[Q] Installing Clockworkmod only

Hi all,
been a while since upgrading and always seemed to get help, so now im stuck i thought id bob back and ask again.
my friends father passed away recently, leaving his mobile locked with all family photos stored on the device, the device has no sim card as this has been cancelled and no memory card, the photos are on the actual phone.
the phone works but when powered on it prompts for the pin code. i dont want to try too many attempts and lock the phone. ive tried download mode, then connecting to PC, i can see the memory card but says please insert when i click it.
on my older phone i had CWM recovery installed and could mount the the storage card, will this work for the internal storage too ??
i dont need the phone, i just cant risk loosing precious photos...is installing CWM an option or is there another way of accessing the memory card while still locked.
the only information i have is that is a Galaxy s I9000, i have no idea which version of andriod is running
thanks for reading and hopefully someone can help
cheers craig
http://forum.xda-developers.com/showthread.php?t=2244741
Thanks pryerlee
ive been reading and trying to get the adb method 2 to work but i either get unable to CD system or device offline when i type adb devices ive used linux mint 15
ive also tried window 7 but cannot connect or get same. i read further down and one member stated the USB debugging has to be ticked. i obviously cannot do this.
the only way i can get a connection is through the android recovery by hol vol up, menu and power it on. i can list files but i cant access the system directory or the sdcard.
i would like to be able to install CWM then i can try method one to unlock the phone or just mount the storage and hopefully recover the photos that way.
any advice on which update.zip i need to install CWM
thanks in advance...
you could try aroma file manager as it works from recovery, just download the file to the sdcard then install it from recovery that way you can get into system files, but saying that if you can't access the sdcard from recovery then I can't see it working, but no harm in trying. http://forum.xda-developers.com/showthread.php?t=1646108

[HELP!] Got into a boot loop and now my computer won't recognize my device.

First of all, sorry for the bit of a text wall below, but if you could bare with me, I really need help and would greatly appreciate any comments that could be of help. Thank you.
So I was looking at a thread on how to do something so I changed two lines on build.prop. I made a back up of the original build.prop file. So my phone was able to start up but everything was invisible and couldn't do anything other than use my notification shade and respond to messages. I ended up turning on emergency mode then I turned it off right after and that fixed it. I guess I messed up when I copy and pasted the original build.prop and replaced it with the one that made my phone mess up in the first place. This messed it up my phone even more and now it's in a bootloop. I can only go into ODIN download mode and recovery. I tried clearing system cache but that didn't help at all. The first time my phone messed up it showed up as a drive on a few different computers that I used, but once the bootloop started it won't be recognized as a drive on any of the three computers I tried. It shows up as "Gadget Serial" when in download mode and when it's powered off it shows as SAMSUNG_Android. I have installed the Samsung phone drivers on two of the computers but that didn't help either.
When it shows up as SAMSUNG_Android it shows that MTP USB Device didn't install properly. I was thinking maybe that's what is causing the problem? I am using the original usb cable that came with the phone. Odin recognizes it so I could always restore it with a ROM, but I need to backup my photos (to my fault, I haven't done a backup in awhile) before I restore it to a fresh ROM. No android file explorers show it either, or a root explorer like Droid Explorer. I've also tried to connect it to a mac (third computer) but that doesn't show up either.
Some person suggested to me to restore with a ROM that saves data, but to no avail, I couldn't find one (anybody know of any?)
I was also reading about using the wipe data/factory reset, but I couldn't get a straight answer if it deletes or keeps the data in the SD Card section on the internal storage (does anybody know?)
So I feel like I might be screwed and may lose my photos and other data. If I could connect my phone to my computer properly, I might be able to edit build.prop again to fix the problem. If I can't connect it to my computer ever, is there any other way I could back up my photos or other data? I have a OTG cable if that helps at all.
Some additional info: I'm on a stock ROM, stock kernal, and rooted. And yes I had R/W on when editing build.prop.
So any ideas guys, I really need to get my phone up and running again.
Thanks in advanced.
Just reflash the stock ROM through ODIN.
EncryptedCurse said:
Just reflash the stock ROM through ODIN.
Click to expand...
Click to collapse
That won't delete my data (i.e. my photos and and other files on sd card portion)?
FrostyChill said:
That won't delete my data (i.e. my photos and and other files on sd card portion)?
Click to expand...
Click to collapse
i dont have an answer to that question, but whats more important - fixing ur phone or keeping ur now-unaccessable-anyway files?
i THINK replacing a rom does not delete ur data, but i highly recommend waiting for someone else to chime in as I am completely unsure and just going off what i think i've read before.
take this as a lesson, any time you are going to play with system files (be it in a phone or computer), backup anything you care about, and be prepared to lose what you dont.
Flashing rom doest wipe the data in the external sd card but it do wipe the internal storage i recommend flashing a rom after taking out your sd card
jassi150 said:
Flashing rom doest wipe the data in the external sd card but it do wipe the internal storage i recommend flashing a rom after taking out your sd card
Click to expand...
Click to collapse
considering this is the S6 forum, its safe to assume hes talking about an S6, which means its safe to assume he cant do that.

Categories

Resources