[HELP]Making ADB work with Moto G 2014 - G 2014 Q&A, Help & Troubleshooting

Hi,
My friends Moto G just died and now it is just bootlooping. He asked me to try get contacts through ADB but it is not finding phone.
I installed Motorola Device Manager and it seems that it found phone and successfully used command "get variable", but when I use ADB via CMD it don't even finding phone.
How can I fix this?

Tenderenden said:
Hi,
My friends Moto G just died and now it is just bootlooping. He asked me to try get contacts through ADB but it is not finding phone.
I installed Motorola Device Manager and it seems that it found phone and successfully used command "get variable", but when I use ADB via CMD it don't even finding phone.
How can I fix this?
Click to expand...
Click to collapse
at first learn what ADB is.
at second - fastboot it the proper place to begin with.

PsyClip-R said:
at first learn what ADB is.
at second - fastboot it the proper place to begin with.
Click to expand...
Click to collapse
Well, fastboot don't want to work neither so that answer didn't help at all

Tenderenden said:
How can I fix this?
Click to expand...
Click to collapse
ADB can only be used from a fully booted device (you have to be past the login screen. It's a security measure so no one can mess with your data without approval). You can use fastboot commands though.
Try this
Download Minimal ADB and Fastboot and install it.
start "Minimal ADB and Fastboot" by navigating to the Start Menu Folder you choose to create during installtion or the desktop shortcut you choose to create and selecting "Minimal ADB and Fastboot"
You should now see a command window open.
Put your device in fastboot mode and connect usb.
Now just do verify type this command
Code:
fastboot devices
the output should show something like this (your number is different)
Code:
fastboot devices
XXXXXXXXXXfastboot
Now do your thing, like flashing stock ROM. Multiple tutorials exist for that.

doppelhelix said:
ADB can only be used from a fully booted device (you have to be past the login screen. It's a security measure so no one can mess with your data without approval). You can use fastboot commands though.
Try this
Download Minimal ADB and Fastboot and install it.
start "Minimal ADB and Fastboot" by navigating to the Start Menu Folder you choose to create during installtion or the desktop shortcut you choose to create and selecting "Minimal ADB and Fastboot"
You should now see a command window open.
Put your device in fastboot mode and connect usb.
Now just do verify type this command
Code:
fastboot devices
the output should show something like this (your number is different)
Code:
fastboot devices
XXXXXXXXXXfastboot
Now do your thing, like flashing stock ROM. Multiple tutorials exist for that.
Click to expand...
Click to collapse
That is the answer that I needed!
Can I somehow pull data from this phone using fastboot? Because I think that flashing stock ROM will erase any personal data, but I really need to get it.

Tenderenden said:
That is the answer that I needed!
Can I somehow pull data from this phone using fastboot?
Click to expand...
Click to collapse
No. That would defeat the lock screen. Just imagine someone steals your phone and can access your data just by booting into fastboot.

doppelhelix said:
No. That would defeat the lock screen. Just imagine someone steals your phone and can access your data just by booting into fastboot.
Click to expand...
Click to collapse
Okay, I got it. Now, have you got any suggestions how to get contacts and (hopefully) SMS back?

Tenderenden said:
how to get contacts and (hopefully) SMS back?
Click to expand...
Click to collapse
Contacts are synchronised with your Google account (unless you choosed not to). Can't say the same about SMS.

doppelhelix said:
No. That would defeat the lock screen. Just imagine someone steals your phone and can access your data just by booting into fastboot.
Click to expand...
Click to collapse
Loading custom recovery via
fastboot boot TWRP.img should do the job.
than one can can make a full backup, which might be extracted on pc as a regular archive.

PsyClip-R said:
Loading custom recovery via
fastboot boot TWRP.img should do the job.
Click to expand...
Click to collapse
Does this work with locked bootloader? That would be really messed up.

Tenderenden said:
Hi,
My friends Moto G just died and now it is just bootlooping. He asked me to try get contacts through ADB but it is not finding phone.
I installed Motorola Device Manager and it seems that it found phone and successfully used command "get variable", but when I use ADB via CMD it don't even finding phone.
How can I fix this?
Click to expand...
Click to collapse
Is your bootloader locked?
Can you try fastboot oem partition dump userdata (using mfastboot, not Google's fastboot)?

PsyClip-R said:
Loading custom recovery via
fastboot boot TWRP.img should do the job.
than one can can make a full backup, which might be extracted on pc as a regular archive.
Click to expand...
Click to collapse
I will try that. Firstly my friend want to message the seller to get his phone repaired. So I can not touch anything in software until he is done.
doppelhelix said:
Contacts are synchronised with your Google account (unless you choosed not to). Can't say the same about SMS.
Click to expand...
Click to collapse
Unfortunately in this case contacts weren't synchronised.
LuK1337 said:
Is your bootloader locked?
Can you try fastboot oem partition dump userdata (using mfastboot, not Google's fastboot)?
Click to expand...
Click to collapse
Well, it seems that I have to read something more about what you said here firstly xD
And the bootloader is locked.
But I appreciate any new idea that may lead to solving this problem.

Tenderenden said:
I will try that. Firstly my friend want to message the seller to get his phone repaired. So I can not touch anything in software until he is done.
Unfortunately in this case contacts weren't synchronised.
Well, it seems that I have to read something more about what you said here firstly xD
And the bootloader is locked.
But I appreciate any new idea that may lead to solving this problem.
Click to expand...
Click to collapse
fastboot oem partition dump userdata may work with locked BL and it'd be great to know if it does...

LuK1337 said:
fastboot oem partition dump userdata may work with locked BL and it'd be great to know if it does...
Click to expand...
Click to collapse
I will try it as fast as I can. Thanks

Related

[Q] Htc One BRICKED.

After only four day of having this phone i managed to brick it. I would really like to know if its fixable or if i have a really nice paper weight. Im stuck on a boot loop, I was half way through flashing a rom when it suddenly shut off. Now it will not boot up. I can load into the bootlader but when i try to go into recovery it just sends me to fastboot. When i restart the phone i can see the old recovery (TWRP)for just an instant but then the screen goes completely black. If i plug in to my pc, nothing happens my computer detects it but it says y device is damaged nd it cant identify it. PLEASE HELP Am i out of luck?
Ive looked around but i couldnt seem to find anyone with the same problem as me (Sprint Variant)
Good news it's not bricked i would put this question on the rom thread someonethere sshould be able to help
There's a Sprint One forum as well, so hopefully you found a ROM on there!
http://forum.xda-developers.com/forumdisplay.php?f=2215
jaythenut said:
Good news it's not bricked i would put this question on the rom thread someonethere sshould be able to help
Click to expand...
Click to collapse
I really hope so because on a college budget i cant afford another phone D:
Seen this in a couple of other places. Seems certain recoveries are possibly becoming currupted during flashing a new ROM.
What you need to do it get back into fastbboot, and....
fastboot erase recovery
fastboot erase cache
the re-flash your recovery, boot into recovery, full wipe and reflash your ROM.
wnp_79 said:
Seen this in a couple of other places. Seems certain recoveries are possibly becoming currupted during flashing a new ROM.
What you need to do it get back into fastbboot, and....
fastboot erase recovery
fastboot erase cache
the re-flash your recovery, boot into recovery, full wipe and reflash your ROM.
Click to expand...
Click to collapse
When i go back into fastboot my only options are
-Bootloader
-Reboot
-Reboot bootleader
-Power down.
I appriciate the help!
i suggest you contact with HTC customservices to repair this problem.
Muquita said:
When i go back into fastboot my only options are
-Bootloader
-Reboot
-Reboot bootleader
-Power down.
I appriciate the help!
Click to expand...
Click to collapse
Can you flash recovery in fastboot ?
the safest thing to do is relock and use a matching RUU to get back to stock
Muquita said:
When i go back into fastboot my only options are
-Bootloader
-Reboot
-Reboot bootleader
-Power down.
I appriciate the help!
Click to expand...
Click to collapse
Your phone isn't bricked. There are two tools in this forum that can help you. One is made by hasoon2000(I think that's his user name), and the other is jwtool(I think). Use them to help to flash a recovery if you don't know how to use fastboot.
DynamicRam said:
Can you flash recovery in fastboot ?
the safest thing to do is relock and use a matching RUU to get back to stock
Click to expand...
Click to collapse
I cannot. My computer wont recognize it. I re-installed the driver and it Says my device malfunctioned.
Im giving up hope here.
Muquita said:
I cannot. My computer wont recognize it. I re-installed the driver and it Says my device malfunctioned.
Im giving up hope here.
Click to expand...
Click to collapse
dont give up
Sent from my HTC One
Muquita said:
I cannot. My computer wont recognize it. I re-installed the driver and it Says my device malfunctioned.
Im giving up hope here.
Click to expand...
Click to collapse
Edit: Just got done typing the stuff below and saw you can't connect to your device in fastboot? What do you mean by re-installed driver?
Don’t worry, as long as you can still get into hboot your phone is not completely bricked!
The fastboot commands I referred to need to be carried out on your laptop/pc when you phone is connected in fastboot.
Can I assume that as you have already unlocked bootloader and flashed a custom recovery you are already familiar with this and have your computer set up for fastboot commands?
(Apologies if you already know some of this, best not to skip parts out though!)
I’d start with downloading a fresh version of your chosen recovery, and place it in your fastboot directory ready. I’d also do the same with your ROM.
Like you have already done, boot into fastboot. Connect your phone to your pc, and the red text should change to ‘Fastboot USB’.
Then open up command prompt and get to your fastboot directory. (On Windows 7 you just find that folder in Explorer, hold shift and right-click, then choose ‘Open command window here’.)
To check your pc is talking to your phone, type ‘fastboot devices’. You should get a device serial number back if all is well.
Then type ‘fastboot erase cache’ and hit enter.
Then type ‘fastboot erase recovery’ and hit enter.
Then type ‘fastboot flash recovery [name of recovery].img’ and hit enter.
Then type ‘fastboot reboot recovery’ and hit enter.
Hope fully you should successfully boot into recovery now. Once in recovery, mount USB storage and copy over your fresh ROM. Choose to do a full wipe including cache and dalvik, then reflash your ROM.
Reboot.
Let me know how this goes.
cronus101 said:
Your phone isn't bricked. There are two tools in this forum that can help you. One is made by hasoon2000(I think that's his user name), and the other is jwtool(I think). Use them to help to flash a recovery if you don't know how to use fastboot.
Click to expand...
Click to collapse
I used the hasoon2000 to flash TWRP earlier, but my problems is that my pc wont recognize my phone. When i plug it in it and try to re-flash it it cant find it. When i check my devices it shows up as an android device but it says the drivers are damaged. if i could get it to read it i think i should be eable to reflash somethint.
I APPRICIATE ALL THIS HELP. i really am trying to be as specific as possible :fingers-crossed:
Hey so just a thought and experience I have had with all my HTC phones is when you see that quick glimpse of the TWRP recovery screen then it disappears to an empty black screen......you are sometimes still in a form of recovery but during your Rom flash something (i don't know for sure) changed and it doesn't show the screen only black. So with that long explanation out of the way....have you tried once the screen goes black the
"adb devices "
Mine whenever in this situation would return the output of serial number and recovery so then you can push or sideload the Rom and boot into the system at which point your fastboot drivers will finally be recogniZed.....
Hope this helps a little
Sent from my HTC EVARE_UL using xda app-developers app
Muquita said:
I used the hasoon2000 to flash TWRP earlier, but my problems is that my pc wont recognize my phone. When i plug it in it and try to re-flash it it cant find it. When i check my devices it shows up as an android device but it says the drivers are damaged. if i could get it to read it i think i should be eable to reflash somethint.
I APPRICIATE ALL THIS HELP. i really am trying to be as specific as possible :fingers-crossed:
Click to expand...
Click to collapse
I'd say the next step is to re-install your drivers in the SDK. Open up your Android SDK and reinstall them. In Windows Device Manager, find your connected device (probably now with an exclamation mark on it) and right click on it and select 'Update Driver'.
(Assuming you are using Windows 7 here?)
http://developer.android.com/tools/extras/oem-usb.html
Muquita said:
When i go back into fastboot my only options are
-Bootloader
-Reboot
-Reboot bootleader
-Power down.
I appriciate the help!
Click to expand...
Click to collapse
when you are in fastboot, connect your phone using the usb cable, and when you see "fastboot" written in red turned into "fastboot usb" or something like this, do the commands below using cmd window of course :
1) fastboot erase recovery
2) fastboot erase cache
3) fastboot flash recovery recoveryname.img
4) fastboot erase cache
Let us know when you fix it
Good Luck
wnp_79 said:
I'd say the next step is to re-install your drivers in the SDK. Open up your Android SDK and reinstall them. In Windows Device Manager, find your connected device (probably now with an exclamation mark on it) and right click on it and select 'Update Driver'.
(Assuming you are using Windows 7 here?)
http://developer.android.com/tools/extras/oem-usb.html
Click to expand...
Click to collapse
(Win8 but the procces is identical.) All my drivers are up to date. Still no love.
On the dev forum is a thread that includes all the latest drivers (including an app to remove older drivers.)
Find that thread, download the drivers and bmp and driver removal tool. Remove drivers with tool, install the new drivers, reboot, connect phone and see if 'adb devices' finds anything.
Also make sure you're using the latest adb.
Sent from my HTC One using xda app-developers app
thneed said:
Hey so just a thought and experience I have had with all my HTC phones is when you see that quick glimpse of the TWRP recovery screen then it disappears to an empty black screen......you are sometimes still in a form of recovery but during your Rom flash something (i don't know for sure) changed and it doesn't show the screen only black. So with that long explanation out of the way....have you tried once the screen goes black the
"adb devices "
Mine whenever in this situation would return the output of serial number and recovery so then you can push or sideload the Rom and boot into the system at which point your fastboot drivers will finally be recogniZed.....
Hope this helps a little
Sent from my HTC EVARE_UL using xda app-developers app
Click to expand...
Click to collapse
This actually sounds really similar to my situation.. Would you care to be a little more specific on the procedure? noob here.
Tabtoub said:
when you are in fastboot, connect your phone using the usb cable, and when you see "fastboot" written in red turned into "fastboot usb" or something like this, do the commands below using cmd window of course :
1) fastboot erase recovery
2) fastboot erase cache
3) fastboot flash recovery recoveryname.img
4) fastboot erase cache
Let us know when you fix it
Good Luck
Click to expand...
Click to collapse
My pc will not recognize my phone. The drivers are up to date but when i plug it in it says something malfunctioned ?

PLEASE HELP: Can't get back into my HTC One!!!

Phone doesn't get recognized when plugged into my Mac. Can't get into my phone because it's stuck in "flash mode" and "recovery mode" I think.. These are the only 2 screens I can get to. Cannot get into my phone at all. http://img.wonderhowto.com/img/27/60/63506305015628/0/unlock-your-bootloader-root-your-htc-one-install-custom-recovery-using-twrp.w654.jpg and http://img.wonderhowto.com/img/88/14/63506304904836/0/unlock-your-bootloader-root-your-htc-one-install-custom-recovery-using-twrp.w654.jpg
TynanV said:
Okay, followed this tutorial today (can't post the link but it's called "How to Root HTC One! [Mac, Linux, Windows Tutorial]" and no matter what I do I can't seem to get back to the actual phone (i.e., being able to access the main screen where everything is, if you know what I mean). I've tried going to the recovery screen and hitting reboot but it just takes me back to this TWRP page that has a bunch of options like "Install, Wipe, Backup, Restore, Mount, Setting, etc. I really hope I haven't screwed up my phone permanently. Please help me :crying:
Click to expand...
Click to collapse
how far into the tutorial did you get ?
did you fastboot erase cache after flashing twrp ?
clsA said:
how far into the tutorial did you get ?
did you fastboot erase cache after flashing twrp ?
Click to expand...
Click to collapse
I'm completely new at this and literally just started today, What does flashing twrp mean? I got to the end of the tutorial i believe. Everything worked great until step 28 I think.
TynanV said:
I'm completely new at this and literally just started today, What does flashing twrp mean? I got to the end of the tutorial i believe. Everything worked great until step 28 I think.
Click to expand...
Click to collapse
when you were in the command prompt and run the fastboot commands
fastboot flash recovery TWRP.img
fastboot erase cache
fastboot reboot-bootloader
did you do these, or use an all in one app
clsA said:
how far into the tutorial did you get ?
did you fastboot erase cache after flashing twrp ?
Click to expand...
Click to collapse
clsA said:
when you were in the command prompt and run the fastboot commands
fastboot flash recovery TWRP.img
fastboot erase cache
fastboot reboot-bootloader
did you do these, or use an all in one app
Click to expand...
Click to collapse
I have one in the terminal (I think that's the command prompt on a PC?) called this -
./fastboot-mac flash recovery openrecovery-twrp-2.6.3.0 m7.img
not sure about the other two.
TynanV said:
I have one in the terminal (I think that's the command prompt on a PC?) called this -
./fastboot-mac flash recovery openrecovery-twrp-2.6.3.0 m7.img
not sure about the other two.
Click to expand...
Click to collapse
are you on Sprint ? their is newer recovery for GSM phones
http://techerrata.com/browse/twrp2/m7 - 2.6.3.3 is recommended
make sure you do all 3 commands
clsA said:
are you on Sprint ? their is newer recovery for GSM phones
http://techerrata.com/browse/twrp2/m7 - 2.6.3.3 is recommended
make sure you do all 3 commands
Click to expand...
Click to collapse
I'm with Telus in Canada.
TynanV said:
I'm with Telus in Canada.
Click to expand...
Click to collapse
use TWRP 2.6.3.3 and don't skip any steps
clsA said:
use TWRP 2.6.3.3 and don't skip any steps
Click to expand...
Click to collapse
Thanks, I looked up how to do this though and the 2nd step says, "run fastboot flash recovery twrp-2.6.3.3-m7.img" how do I do this?
TynanV said:
Thanks, I looked up how to do this though and the 2nd step says, "run fastboot flash recovery twrp-2.6.3.3-m7.img" how do I do this?
Click to expand...
Click to collapse
in terminal the same as you did above with version 2.6.3.0
clsA said:
in terminal the same as you did above with version 2.6.3.0
Click to expand...
Click to collapse
Do I need my phone plugged into my Mac? (sorry for all the stupid questions i've just never really done this before).
TynanV said:
Do I need my phone plugged into my Mac? (sorry for all the stupid questions i've just never really done this before).
Click to expand...
Click to collapse
well if you have this many questions .. I think you should stop and read the guides before you do something to the phone that can't be reversed.
start here (go to post 2 Guides) >> http://forum.xda-developers.com/showthread.php?t=2438026
this is the MAC thread >> http://forum.xda-developers.com/showthread.php?t=2245782
Read this >> http://forum.xda-developers.com/showthread.php?t=2273376
once you have a handle on all the steps required to unlock - install recovery - get Root - and Flash Roms then you can start
clsA said:
well if you have this many questions .. I think you should stop and read the guides before you do something to the phone that can't be reversed.
start here (go to post 2 Guides) >> http://forum.xda-developers.com/showthread.php?t=2438026
this is the MAC thread >> http://forum.xda-developers.com/showthread.php?t=2245782
Read this >> http://forum.xda-developers.com/showthread.php?t=2273376
once you have a handle on all the steps required to unlock - install recovery - get Root - and Flash Roms then you can start
Click to expand...
Click to collapse
The problem is I can't transfer any files into the HTC Sync Manager to be able to apply them to my phone because I can't get to the main screen, therefore it does not recognize my phone when it's plugged into my computer..
TynanV said:
The problem is I can't transfer any files into the HTC Sync Manager to be able to apply them to my phone because I can't get to the main screen, therefore it does not recognize my phone when it's plugged into my computer..
Click to expand...
Click to collapse
like i said go do some reading
and uninstall HTC SYNC it's useless
the only tools you'll be using are Terminal / fastboot and ADB
clsA said:
like i said go do some reading
and uninstall HTC SYNC it's useless
the only tools you'll be using are Terminal / fastboot and ADB
Click to expand...
Click to collapse
Okay thanks dude. Gonna head to bed and read up on all that stuff tomorrow morning. If I run into any furthur problems could I PM you for help?
TynanV said:
Okay thanks dude. Gonna head to bed and read up on all that stuff tomorrow morning. If I run into any furthur problems could I PM you for help?
Click to expand...
Click to collapse
just quote me here I'll be with you ...your phone is not dead
you just need more info to get through everything to get back up and running
Okay... After reading a bunch of stuff, I still have no idea what I'm looking for/what I need to actually do. I'm trying to get my HTC One back to stock, and all the guides I'm seeing require the phone to actually be working (mine isn't, it's stock on the TWRP/recovery thing therefore I can't access any of my apps and whatnot). This is getting really frustrating.
Okay, I found a pic online of the part I'm stuck at. Here it is - http://www.tech-recipes.com/wp-content/uploads/2013/05/twrp-recovery-294x500.jpg I can only get to that screen and this one too - http://img.wonderhowto.com/img/88/1...e-install-custom-recovery-using-twrp.w654.jpg I cannot get back to my actual phone's screen, like this one I mean - http://img.wonderhowto.com/img/56/8...sense-style-home-screen-your-htc-one.w654.jpg
TynanV said:
Okay, I found a pic online of the part I'm stuck at. Here it is - http://www.tech-recipes.com/wp-content/uploads/2013/05/twrp-recovery-294x500.jpg I can only get to that screen and this one too - http://img.wonderhowto.com/img/88/1...e-install-custom-recovery-using-twrp.w654.jpg I cannot get back to my actual phone's screen, like this one I mean - http://img.wonderhowto.com/img/56/8...sense-style-home-screen-your-htc-one.w654.jpg
Click to expand...
Click to collapse
lol ok well that's very visual
did you find and read the parts about using fastboot and adb ? on your MAC ?
you should be close
boot to the bootloader (your 2nd screen shot) fastboot usb with phone plugged into you mac
open terminal and type
fastboot erase cache
then
fastboot reboot
does you phone start up now ?
TynanV said:
Okay, followed this tutorial today (can't post the link but it's called "How to Root HTC One! [Mac, Linux, Windows Tutorial]" and no matter what I do I can't seem to get back to the actual phone (i.e., being able to access the main screen where everything is, if you know what I mean). I've tried going to the recovery screen and hitting reboot but it just takes me back to this TWRP page that has a bunch of options like "Install, Wipe, Backup, Restore, Mount, Setting, etc. I really hope I haven't screwed up my phone permanently. Please help me :crying:
Click to expand...
Click to collapse
Try watching tutorial videos on youtube it will help you.
It helped me..
And read things again and agian till you dont get them right. Try to google some things when you are stuck in them.
Sent from my HTC Desire X using XDA Premium 4 mobile app

[Q] HELP. nexus 6 stuck in bootloader!

Alright so last night i was able to unlock my phone and root it no problem on my mac computer (which I regret and wish i did it on windows) but the phone worked great after. But after debating if I should unroot I went ahead and tried unrooting the phone but the phone would not activate, it became stuck in bootloader. Ive tried everything that I could look up online and even called google for help but they said to search online and ask the developers. Ive tried flashing the stock image back on but it wouldnt work, it kept saying ivalid boot image header fastboot reason fall-through from normal boot mode. I dont even think my computer is recognizing the phone anymore so I dont know how I would get back into terminal to flash anything. If anyone can help me I would appreciate it. I have no idea what to do now after trying for a whole day. Thanks all, hope someone can be a savior.
Firstly, if you want help... please please please use paragraphs and lines and not 1 blob of text. It makes it extremely difficult to know your problem.
Secondly, do not ever call Google or Motorola (or any manufacturer) or any carrier for help. What you do on XDA is not their problem, that is why there is a warning when you unlock the bootloader.
Third, if you're able to get into bootloader mode then you can fix your phone by flashing the stock images. You most likely had the wrong environment or it is not set up properly to flash the stock images.
If you don't feel comfortable doing this kind of stuff, stick to using the phone out of the box rather than tinkering with it.
zephiK said:
Firstly, if you want help... please please please use paragraphs and lines and not 1 blob of text. It makes it extremely difficult to know your problem.
Secondly, do not ever call Google or Motorola (or any manufacturer) or any carrier for help. What you do on XDA is not their problem, that is why there is a warning when you unlock the bootloader.
Third, if you're able to get into bootloader mode then you can fix your phone by flashing the stock images. You most likely had the wrong environment or it is not set up properly to flash the stock images.
If you don't feel comfortable doing this kind of stuff, stick to using the phone out of the box rather than tinkering with it.
Click to expand...
Click to collapse
Yea, my bad. I typed it in a hurry on my phone.
Bootloader is the only screen I am able to get into. Whatever option I choose and hit power, all it does is flash the screen and go back to bootloader.
The stock image I download was from the google developers page but it did not work.
Will anything even work if my computer doesn't recognize the phone? If so how would I go about doing it?
I used to this this years ago and never ran into problems, just for some reason when I tried to unroot it messed up.
Is there anyway to possibly delete the terminal so I could start over and re-root it??
Anyways thanks for your response.
Is the device recognized by the fastboot command when connected to either the mac or pc?
zylstrajs said:
Is the device recognized by the fastboot command when connected to either the mac or pc?
Click to expand...
Click to collapse
Not sure to be exact, if I just go into terminal and enter "adb devices" nothing will pop up but if I enter cd then space and drag the android file into it, it wont say my device number anymore it'll say device. I'm wondering if I could somehow delete my terminal and possibly start over?
dnasr87 said:
Not sure to be exact, if I just go into terminal and enter "adb devices" nothing will pop up but if I enter cd then space and drag the android file into it, it wont say my device number anymore it'll say device. I'm wondering if I could somehow delete my terminal and possibly start over?
Click to expand...
Click to collapse
Adb is for android. You want to use the command: fastboot devices
dnasr87 said:
Yea, my bad. I typed it in a hurry on my phone.
Bootloader is the only screen I am able to get into. Whatever option I choose and hit power, all it does is flash the screen and go back to bootloader.
The stock image I download was from the google developers page but it did not work.
Will anything even work if my computer doesn't recognize the phone? If so how would I go about doing it?
I used to this this years ago and never ran into problems, just for some reason when I tried to unroot it messed up.
Is there anyway to possibly delete the terminal so I could start over and re-root it??
Anyways thanks for your response.
Click to expand...
Click to collapse
If you want to start over you'd want to be flashing the stock images https://developers.google.com/android/nexus/images
Have your phone in bootloader mode (vol down + power)
Go into the directory with fastboot and type fastboot devices.
If your environment is set up properly then it should display your device as the output. From there you can flash back to stock.
dnasr87 said:
Not sure to be exact, if I just go into terminal and enter "adb devices" nothing will pop up but if I enter cd then space and drag the android file into it, it wont say my device number anymore it'll say device. I'm wondering if I could somehow delete my terminal and possibly start over?
Click to expand...
Click to collapse
what does it say why you type
>fastboot devices
zylstrajs said:
what does it say why you type
>fastboot devices
Click to expand...
Click to collapse
command not found, but all I did was open terminal and entered fastboot devices. Not sure if I should enter anything before it.
dnasr87 said:
command not found, but all I did was open terminal and entered fastboot devices. Not sure if I should enter anything before it.
Click to expand...
Click to collapse
You have to change directory to the folder that contains fastboot. Do you even have fastboot environment set up? You need that.
Google search on how to set it up before posting back. There are many guides on XDA on how to accomplish this.
Okay, your environment isn't set up ideally. Follow these instructions to install fastboot and adb on your PC.
http://forum.xda-developers.com/showthread.php?t=2317790
---
Once you've done and you get a reply to the following command, you can move on.
>fastboot devices
---
open the google factory image file (using something like 7zip) : shamu-lrx21o-factory-e028f5ea.tgz
There is a folder in the .tgz file. Extract the contents of that folder to the directory listed for your command prompt (where you successfully ran fastboot just before).
> fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
>fastboot flash radio radio-shamu-d4.0-9625-02.55.03a.img
>fastboot reboot-bootloader
---
The device will reboot. Don't close the terminal window. Now, extract the contents of image-shamu-lrx21o.zip to the same folder that you've been working in. The folder that contains the bootloader and radio files you just flashed.
---
>fastboot flash recovery recovery.img
>fastboot flash boot boot.img
>fastboot flash system system.img
Some time will pass, this img may be sent in parts.
>fastboot flash cache cache.img
>fastboot flash userdata userdata.img
>fastboot reboot
zephiK said:
You have to change directory to the folder that contains fastboot. Do you even have fastboot environment set up? You need that.
Google search on how to set it up before posting back. There are many guides on XDA on how to accomplish this.
Click to expand...
Click to collapse
I did when I rooted it then once it crashed I tried to start over but wiped my computer.. I'll re download and try again
zylstrajs said:
Okay, your environment isn't set up ideally. Follow these instructions to install fastboot and adb on your PC.
http://forum.xda-developers.com/showthread.php?t=2317790
---
Once you've done and you get a reply to the following command, you can move on.
>fastboot devices
---
open the google factory image file (using something like 7zip) : shamu-lrx21o-factory-e028f5ea.tgz
There is a folder in the .tgz file. Extract the contents of that folder to the directory listed for your command prompt (where you successfully ran fastboot just before).
> fastboot flash bootloader bootloader-shamu-moto-apq8084-71.05.img
>fastboot flash radio radio-shamu-d4.0-9625-02.55.03a.img
>fastboot reboot-bootloader
---
The device will reboot. Don't close the terminal window. Now, extract the contents of image-shamu-lrx21o.zip to the same folder that you've been working in. The folder that contains the bootloader and radio files you just flashed.
---
>fastboot flash recovery recovery.img
>fastboot flash boot boot.img
>fastboot flash system system.img
Some time will pass, this img may be sent in parts.
>fastboot flash cache cache.img
>fastboot flash userdata userdata.img
>fastboot reboot
Click to expand...
Click to collapse
I did it on my mac, if i try to connect my phone to a pc it wont recognize it because its stuck in bootloader. I have already tried connecting it
Why does this thread make me LoL so much?
This thread is all over the place. Are you using your PC or Mac right now to do this? If it is a PC, what does Device Manager say when you plug your phone in while its in Bootloader mode?
PaisanNYC said:
Why does this thread make me LoL so much?
This thread is all over the place. Are you using your PC or Mac right now to do this? If it is a PC, what does Device Manager say when you plug your phone in while its in Bootloader mode?
Click to expand...
Click to collapse
Im using mac right now. I want to start from scratch, not sure if possible. but nothing really shows when I connect the device. I think I wipe the software off my computer. Would I be able to start doing it all over on a pc even if its stuck on bootloader and computer wont recognize?
dnasr87 said:
Im using mac right now. I want to start from scratch, not sure if possible. but nothing really shows when I connect the device. I think I wipe the software off my computer. Would I be able to start doing it all over on a pc even if its stuck on bootloader and computer wont recognize?
Click to expand...
Click to collapse
Are you in the NYC area? I'd just come over with my laptop and do it for you.
PaisanNYC said:
Are you in the NYC area? I'd just come over with my laptop and do it for you.
Click to expand...
Click to collapse
Dude im in NH but at this point I will ship the phone to anyone who can fix it and I will pay you guys $100
PaisanNYC said:
Are you in the NYC area? I'd just come over with my laptop and do it for you.
Click to expand...
Click to collapse
dnasr87 said:
Dude im in NH but at this point I will ship the phone to anyone who can fix it and I will pay you guys $100
Click to expand...
Click to collapse
not necessary some one can just use hangouts remote desktop to help you i thinks that's what they use on xda assist
Acer ADB
Your PC might not be recognizing because you got the Acer ADB of doom...
Just roll back your driver.
dnasr87 said:
Dude im in NH but at this point I will ship the phone to anyone who can fix it and I will pay you guys $100
Click to expand...
Click to collapse
Don't send it to a stranger on the internet. You never know who is who behind a screen lol
Honestly bro, if i were close to you, I'd just do it for you. I have the stock image, drivers, and adb/fastboot all set up. i'm good at fixing things, horrible at explaining things.

Is it possible to access files / pics via fastboot only?

Hello All,
I have following issue and hope that - if possible - someone can help me. I also would like to mention that I am not an
Android expert but did read a lot of articles here in the forum to find out - or better - to get an idea how things are working.
My Z3C had a water damage. Now I only get fastboot mode. Display is broken and does not show anything. I installed Android-SDK
to get ADB and Fastboot. I installed also drivers.
When I connect the device while pushing the "volume down" button the device manager show me a somc flash device with the "volume up" button I see an Android ADB Interface device. However ADB is not working (no device found) only Fastboot does.
I flashed the "Z3c_DooMLoRD_AdvStkKernel_v01_FW-105.img" with Flashtool via fastboot in the hope that I can somehow access
to "sdcard" by blindly navigating to "mount storage" but nothing seem to work.
On my linux device I see that the usb device is recognized but that it is not an mtp device.
Before I continue to spent hours without really knowing what I am doing I thought that if there is a solution I would find it here.
So if there is any way to get access to my files / pics on the device I would be really glad if someone can let me know how or
at least bring me to the right direction.
Thanks a lot in advance!
Is your bootloader unlocked?
clouds5 said:
Is your bootloader unlocked?
Click to expand...
Click to collapse
Thanks for your reply clouds5.
I followed the process to unlock the bootloader (got code from sony side and unlocked via fastboot with
"fastboot.exe -i 0x0fce oem unlock 0xKEY").
In Flashtool, when I click on the "BLU" Icon I get a window with with my IMEI and my Unlock Code and a
Relock Button. So I assume that the bootloader is unlocked.
If there is another way to verify please let me know and I will do.
no you cannot access files via fastboot only. but isn't it possible to flash custom recovery img file and boot into recovery and access files?
evildog1 said:
no you cannot access files via fastboot only. but isn't it possible to flash custom recovery img file and boot into recovery and access files?
Click to expand...
Click to collapse
I flashed "Z3c_DooMLoRD_AdvStkKernel_v01_FW-105.img" from doomlord.xperia-files.com/download.php?dlid=WjNjX0Rvb01Mb1JEX0FkdlN0a0tlcm5lbF92MDFfRlctMTA1 with
fastboot flash boot Z3c_DooMLoRD_AdvStkKernel_v01_FW-105.img
in the hope that it is possible but after rebooting it immediately goes into fastboot again. As I do not have
a screen I can not see anything - so I can not really confirm if it works or not - and in windows I do not see
anything either..
Galbasib said:
I flashed "Z3c_DooMLoRD_AdvStkKernel_v01_FW-105.img" from doomlord.xperia-files.com/download.php?dlid=WjNjX0Rvb01Mb1JEX0FkdlN0a0tlcm5lbF92MDFfRlctMTA1 with
fastboot flash boot Z3c_DooMLoRD_AdvStkKernel_v01_FW-105.img
in the hope that it is possible but after rebooting it immediately goes into fastboot again. As I do not have
a screen I can not see anything - so I can not really confirm if it works or not - and in windows I do not see
anything either..
Click to expand...
Click to collapse
hmm you better send it to repair.
evildog1 said:
hmm you better send it to repair.
Click to expand...
Click to collapse
That's unfortunately not an option as I had to disassemble the device
evildog1 said:
no you cannot access files via fastboot only. but isn't it possible to flash custom recovery img file and boot into recovery and access files?
Click to expand...
Click to collapse
Should sdcard appear automatically when booting into recovery or are there any specific steps I would need to complete?

Confirmation about EDL!!

Hello!
I think i've bricked my Mi A2.
I have unlocked bootloader but locked critical partition which i cant unlock cause theres no OS to boot into and check the OEM option. Are there any alternatives before opening the phone for EDL?
xunixbeatsx said:
Hello!
I think i've bricked my Mi A2.
I have unlocked bootloader but locked critical partition which i cant unlock cause theres no OS to boot into and check the OEM option. Are there any alternatives before opening the phone for EDL?
Click to expand...
Click to collapse
if you can at least boot on fastboot and it's working, you can enter on edl mode from fastboot, there is a command to do it
Adairo said:
if you can at least boot on fastboot and it's working, you can enter on edl mode from fastboot, there is a command to do it
Click to expand...
Click to collapse
Yeah already tried that but adb wont work
"no devices / emulators found". I think my computer cant see this devices mode, i also cant mount it when i use Clockwork.
I can use fastboot commands just fine though
xunixbeatsx said:
Yeah already tried that but adb wont work
"no devices / emulators found". I think my computer cant see this devices mode, i also cant mount it when i use Clockwork.
I can use fastboot commands just fine though
Click to expand...
Click to collapse
You should try flashing the ROM normally. Just use the included script
ADB commands works only booted phone with USB dev mode.
Fastboot commands with fastboot mode. So you cant use ADB commands when your phone not booted up.
Daniesz said:
ADB commands works only booted phone with USB dev mode.
Fastboot commands with fastboot mode. So you cant use ADB commands when your phone not booted up.
Click to expand...
Click to collapse
You dont have to boot phone to use ADB, you can adb sideload inside Clockwork (i sideloaded no-verity just fine).
By the way i managed to fix my phone by extracting the firmware and fastboot flash files one by one (2 files couldnt be installed cause they needed critical partition unlocked but it seems they werent anything critical cause phone works fine).
xunixbeatsx said:
Yeah already tried that but adb wont work
"no devices / emulators found". I think my computer cant see this devices mode, i also cant mount it when i use Clockwork.
I can use fastboot commands just fine though
Click to expand...
Click to collapse
Enter to fastboot Is all you need to get into edl mode and attemp to flash stock rom
Adairo said:
Enter to fastboot Is all you need to get into edl mode and attemp to flash stock rom
Click to expand...
Click to collapse
I tried that and was no response from the phone.
I also tried edl from ADB, phone restarted but no edl mode.
xunixbeatsx said:
I tried that and was no response from the phone.
I also tried edl from ADB, phone restarted but no edl mode.
Click to expand...
Click to collapse
I've thé same issue. If you fastboot is "broken" you dont have choice you need to short pin (it's easy)..
xunixbeatsx said:
I tried that and was no response from the phone.
I also tried edl from ADB, phone restarted but no edl mode.
Click to expand...
Click to collapse
Did you try to just run the script with the fastboot commands? If you didn't modify critical partitions it should just work fine. Just ignore the error messages
Benjamin_L said:
Did you try to just run the script with the fastboot commands? If you didn't modify critical partitions it should just work fine. Just ignore the error messages
Click to expand...
Click to collapse
I manually fastboot flash the files which i suppose is the same as with running the script, but i wanted to see which files wont get transfered cause of the locked critical partition. Android installed fine but couldnt install updates (edit: Thats probably because i rooted my device, it seems you cant automatic upgrade if you root) so i enabled OEM, unlocked critical partition, flashed normally with MiFlash tool, everythings like new now.
Now i only need a working Xposed Framework version.

Categories

Resources