Copy files to computer from fastboot? - HTC One X

For some unknown reason my phone just kept randomly restarting itself, which started about 2 hours ago. It turns on for about 30 second then just restarts again. I cant even turn it off? I turn it off quickly as soon as it boots up but it just turns on again and goes in a loop.
I was wanting to know is there anyway to take files such as photos off the device without actually turning it on e.g via fastboot before i factory reset it? Since HTC in all their wisdom didn't include removable storage or battery
Cheers

Files in /sdcard (e.g. photos from camera apps) do not get wiped with factory reset. Erasing storage will erase /sdcard.
Have you tried fastboot erase cache?
Have you tried holding down power+vol down?

Tell you what I think it is, Swiftkey 3.
It came up the first time saying "Swiftkey has stopped working" then hit ok, few second later restart.
I have enough time to get into to setting and apps to unistall it but even after that it restarts, I check apps next time and its still there. It wont unistall?!

Try clearing Swiftkey's data and cache before uninstalling?
If that doesn't work..:
Hold the power button and vol down until you get into bootloader..
Go into bootloader, enter fastboot
Then do in cmd:
Code:
fastboot erase cache
Try start the phone.. If it starts ok, try uninstall Swiftkey through Titanium Backup.
If that doesn't work, go back to fastboot, wipe cache, go to recovery, factory reset, clear cache, advanced -> wipe dalvik cache.
Then try installing your ROM's zip from SD card.

Cheers for the reply but unfortunately i don't have it rooted or custom recovery on it at the minute
Is there anyway to unistall an app through stock recovery?

Rittzy said:
Cheers for the reply but unfortunately i don't have it rooted or custom recovery on it at the minute
Is there anyway to unistall an app through stock recovery?
Click to expand...
Click to collapse
All I can say to that is 'Oh'. Didn't realise that, sorry! :cyclops:
Here are two things you can try:
1. Reboot the phone into bootloader (if off hold down power down and volume down to turn on, if the phone is already on, keep on holding down the buttons until you get into bootloader) and using the volume keys to navigate and the power button to select, select 'fastboot' (if you don't see fastboot, you will see 'HBOOT', select this then fastboot.
Download these files. Extract them to their own folder and then open a command window in that location by holding down SHIFT while right-clicking and select 'Open command window here'.
When it opens, type:
Code:
fastboot erase cache
then hit enter. Reboot the phone and see if 1) it doesn't turn off again 2) you can clear Swiftkey's data and cache then uninstall. If that doesn't work, try the other method.
2. Reboot the phone into bootloader, select 'fasboot' again, then navigate to 'Factory Reset' and select that.
You may want to wait a while and see if anyone else can offer another solution, but you can do that if you want it fixed now and don't mind losing apps. There might be an option to preserve SD card contents, or it may not even effect them, I'm not 100% sure.
Edit: Haha, just realised you are from Northern Ireland too :laugh: And we joined in Oct 2010. And we have posts in the 90's. :highfive:
I'll probably head off at about 2:30AM as I am getting quite tired, so I will have to wait until the morning to help you.

Northantrim said:
All I can say to that is 'Oh'. Didn't realise that, sorry! :cyclops:
Here are two things you can try:
1. Reboot the phone into bootloader (if off hold down power down and volume down to turn on, if the phone is already on, keep on holding down the buttons until you get into bootloader) and using the volume keys to navigate and the power button to select, select 'fastboot' (if you don't see fastboot, you will see 'HBOOT', select this then fastboot.
Download these files. Extract them to their own folder and then open a command window in that location by holding down SHIFT while right-clicking and select 'Open command window here'.
When it opens, type:
Code:
fastboot erase cache
then hit enter. Reboot the phone and see if 1) it doesn't turn off again 2) you can clear Swiftkey's data and cache then uninstall. If that doesn't work, try the other method.
2. Reboot the phone into bootloader, select 'fasboot' again, then navigate to 'Factory Reset' and select that.
You may want to wait a while and see if anyone else can offer another solution, but you can do that if you want it fixed now and don't mind losing apps. There might be an option to preserve SD card contents, or it may not even effect them, I'm not 100% sure.
Edit: Haha, just realised you are from Northern Ireland too :laugh: And we joined in Oct 2010. And we have posts in the 90's. :highfive:
I'll probably head off at about 2:30AM as I am getting quite tired, so I will have to wait until the morning to help you.
Click to expand...
Click to collapse
Haha legend, what a coincidence!
Well I did get into the Stock Recovery and from there hit Clear Cache but it keeps restarting.
I dont understand how the hell the an app wont unistall though thought, it starts up long enough from me to unistall successfully but it restarts and its still there. I know there is a command through ADB to unistall apps but i dont know where abouts to be to use the ADB. Last time i messed around with ADB was my Desire HD half a year ago.
I might see if I can get in long enough to back up stuff. I got the photos on dropbox but it really annoys me the way android does not have a backup feature for apps and save data or that it doesnt let you access app saves.
Let us know if you have any mroe ideas!
Cheers

Rittzy said:
Haha legend, what a coincidence!
Well I did get into the Stock Recovery and from there hit Clear Cache but it keeps restarting.
I dont understand how the hell the an app wont unistall though thought, it starts up long enough from me to unistall successfully but it restarts and its still there. I know there is a command through ADB to unistall apps but i dont know where abouts to be to use the ADB. Last time i messed around with ADB was my Desire HD half a year ago.
I might see if I can get in long enough to back up stuff. I got the photos on dropbox but it really annoys me the way android does not have a backup feature for apps and save data or that it doesnt let you access app saves.
Let us know if you have any mroe ideas!
Cheers
Click to expand...
Click to collapse
I think the 'clear cache' in recovery doesn't work, at least, that's what I've heard and found out..
Do it through fastboot with
Code:
fastboot erase cache
Also, to use the adb commands (as well as fastboot), the phone must be on and USB debugging must be on. You will need the files I posted earlier, and you will need to open a command window in their folder..
Use the command:
Code:
adb uninstall <package name>
Swiftkey's package name is
Code:
com.touchtype.swiftkey
(I think)
Again, try clear the app's cache and data when in 'app info' before uninstalling.
Good luck though! :good:

You can't from fastboot but you can from recovery so long as you boot it using fastboot and not selecting the option.
fastboot boot recovery.IMG
Then adb commands will work in cwm.
Sent from my HTC One X using XDA Premium HD app

Actually, I don't think that uninstall thing works. Tried it on my phone and nothing.
treebill said:
You can't from fastboot but you can from recovery so long as you boot it using fastboot and not selecting the option.
fastboot boot recovery.IMG
Then adb commands will work in cwm.
Sent from my HTC One X using XDA Premium HD app
Click to expand...
Click to collapse
I think this is right, however, Treebill, OP hasn't rooted, nor do they have CWM.

My head is absolutely melted here trying to get the piece of sh*t working.
And if must be swiftkey because im in safemode at the minute and the phone hasnt restart yet.
At least this gives me time to get stuff off the sd card before resetting it all.

Holy good **** im at my wits end here. It wont even let me do a factory reset now!!
Both from the recovery menu and from the phone it goes to the screen with the phone and green arrows going in circle then after about 10 seconds the red exclamation mark comes up!
wtf is this phone at? Am I doing something wrong?

You are still under warranty, why don't you just use that? If you don't want to use it, then just unlock your bootloader and take the easier way...
Sent from my HTC One X using xda app-developers app

I tried rooting the phone but after hitting yes on the phone, the phone restarts and nothing has changed. I tried flashing a custom recovery, it said ok in command prompt but it is just the standard recovery when i click into it......

Do a factory reset, it doeznt wipe your memory photos etc

Just read your other post sry

Have you tried Ruu?
Sent from my LG-P990 using xda premium

Well I followed some instructions from the disaster recovery thread and tried doing
fastboot flash boot boot_signed.img
Click to expand...
Click to collapse
fastboot flash system system.img
Click to expand...
Click to collapse
Which both taken from the RRU but the computer show up this error
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It does not seem to be able to write anything

Haven't seen that thread, but you need to have an unlocked bootloader?
Sent from my HTC One X using Tapatalk 2

Tried unlocking it mate. I do the whole thing then the HTC Warning message shows up on the phone "Do you want to unlock your phone, This will wipe everything etc etc" Click yes, the HTC screen appears, phone restarts and nothing has happened. I seriously thing its a hardware related problem now because i went on and accessed my memory card when the phone was on for a bit deleted things, phone restarted and check memory card again and they were still there :s
(virtual memory card)

Related

[SOLVED]USB BRICKED+SDCARDnot Recognize+Heavy Battery Drain

To all Who are experiencing the problem I faced...Illustrated HERE..
And this is What I've Triedhttp://forum.xda-developers.com/showpost.php?p=19562122&postcount=8 to solve until got a FIX
I am writing this because I am getting PMs for help..and For the future Problems..
A Big Thanks to ckpv5... He helped me through out the days...
The Phone must be S-OFF and must got ROOT access to use this
Here is the Solution .. ..
After this you will have SD-CARD RECOGNIZED+NO BATTERY DRAIN..EVEN BETTER BATTERY BACKUP See my screen Shots
STILL GOT PROBLEM UNSOLVED ..PM me I'll TRY TO SOLVE
SOLUTION
1. First of ALL..do install ADB in you PC and on your Device(If it is bricked.. don’t worry it has adb shel on this already) see help from here http://forum.xda-developers.com/showthread.php?t=690362
Note these commands carefully ..and save these as txt in PC for further help
adb devices
fastboot flash recovery recovery.img
fastboot reboot-bootloader
fastboot erase cache
2. Download these(http://www.multiupload.com/5ZAPJTFXMM) and put them into C drive after UNZIPING by 7ZIP...
3. Put a recovery.img named file of AMON RA recovery.. download from here(http://files.androidspin.com/downloads.php?dir=amon_ra/RECOVERY/&file=recovery-RA-desire-v2.0.0.img)
4. Reboot your phone in BOOTLOADER ...Power on by pressing FIRST BACK BUTTON and than POWER simultaneously..
5. Open Command Prompt in PC.. for Windows7 type cmd in search at START button... for XP type run at START search..
6. Go to the directory in cmd prompt....as...
“cd C:\android sdk\tools”
7. Type
“adb devices” Let it load
“adb shel” Let it load
“fastboot erase cache”
“fastboot reboot-bootloader”
“fastbooot oem enableqxdm 0”
“fastbooot oem eraseconfig”
“fastboot erase cache”
“fastboot reboot-bootloader”
NOTE: Do remember to do all above command together and by sequence only...
8. Now it is time to flash the recovery..
9. Rename the download recovery image as “recovery”
10. Put this img file in to “C\android sdk\tools” folder
11. Open command prompt again..
12. Type
“adb devices” Let it load
“adb shel” Let it load
“fastboot erase cache”
“fastboot reboot-bootloader”
“fastboot flash recovery recovery.img”
“fastboot erase cache”
“fastboot reboot-bootloader”
13. Now remove the SD card from the phone and connect it to PC via card reader or anything by which u can easily connect..
14. Put the ROM.zip in the SD card
15. Put the SD card back in the Phone..
16. PowerOn the phone in fastboot mode by pressing VOLUMEDOWN first and than POWER simultaneously..
17. Use volume keys to go up and down..and power to select
18. Go to recovey and press power button..
19. In recovery just go to the WIPE.. and do WIPE of cache..dalvik cache..boot..system...sd-ext...Battery Stats..
20. Now reboot recovery..
21. Now after coming back to recovery in Phone choose INSTALL ZIP FROM SD CARD..
22. Simply choose the ROM.zip file...
23. Let it Flash
24. Wait
25. And
26. ENJOY!!!!!
The PROBLEM IS NO MORE..
Your phone will RECOGNIZE the SD card..
The Battery Drain (Usually having 1% under a minute) Will be Gone
You can use FAstBoot Commander or Android Flasher also to Flash Recoveries or hboots and Bootloaders
SEE SCREENSHOTS HERE
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hey, Think I have the battery drain problem with runnymede AIO Rom, was it flashing AMON RA recovery that solved it? or the whole process? I don't have an SD problem.
jacksonliam said:
Hey, Think I have the battery drain problem with runnymede AIO Rom, was it flashing AMON RA recovery that solved it? or the whole process? I don't have an SD problem.
Click to expand...
Click to collapse
for the battery Drain problem.. you can do following things..
1. Wipe Battery stats
2. Install snq kernel
3. If above two doesn't work than only... try the two "oem commands" as I writtten in the procedure..
Actually every time you flash a ROm or everytime deleting and using the phone.. a extra data related to everything as cache configuration is stored in the MEMORY which acually u can not see but it eats battery...
The oem commandsd erases that thing and after this..it is like a new memory having completely blank..
BUT AFTER DOING THIS YOU WILL NOT BE ABLE TO RECOVER ANY DATA ON PHONE MEMORY IF ACCIDENTLY DELETED..
you will need to flash a new Inatall of same ROM..or whichever you want...
YES! You saved my sanity AND my phone! many many thanks!
Matty Matt said:
YES! You saved my sanity AND my phone! many many thanks!
Click to expand...
Click to collapse
.. Happy to help
I am a bit lost...
ADB cannot be used when the phone is in bootloader. So after the instruction to put the phone in to bootloader the proceeding instructions which say:
type adb devices [enter]
type adb shel [enter]
won't achieve anything. In other words, adb devices (whilst the device is in bootloader) will not find any attached devices.
adb "shel" isn't a valid command. Do you mean adb "shell" ? If so, this too isn't going to work while the device is in bootloader, adb will simply reply with "error: device not found".
So I guess what I'm trying to ask is - what is the point of those typing those two commands? In this instance, they don't serve any purpose and can be omitted?
sachin.02 said:
The oem commandsd erases that thing and after this..it is like a new memory having completely blank..
BUT AFTER DOING THIS YOU WILL NOT BE ABLE TO RECOVER ANY DATA ON PHONE MEMORY IF ACCIDENTLY DELETED..
you will need to flash a new Inatall of same ROM..or whichever you want...
Click to expand...
Click to collapse
I just can't understand what do you mean....
How am i supposed to recover any accidently deleted files if i didn't run those commands??????
dlotters said:
I am a bit lost...
ADB cannot be used when the phone is in bootloader. So after the instruction to put the phone in to bootloader the proceeding instructions which say:
type adb devices [enter]
type adb shel [enter]
won't achieve anything. In other words, adb devices (whilst the device is in bootloader) will not find any attached devices.
adb "shel" isn't a valid command. Do you mean adb "shell" ? If so, this too isn't going to work while the device is in bootloader, adb will simply reply with "error: device not found".
So I guess what I'm trying to ask is - what is the point of those typing those two commands? In this instance, they don't serve any purpose and can be omitted?
Click to expand...
Click to collapse
everything is written clearly...
these two commands repairs the USB brick also improves battery life and gives exact information about battery uses.. you will see this after flashing a ROM..
adb shel is correct command..it open the list of commands and details of phone...
Tell me what you need.. than i may solve the problem..
spitjo said:
I just can't understand what do you mean....
How am i supposed to recover any accidently deleted files if i didn't run those commands??????
Click to expand...
Click to collapse
by saying not able to recover any data is just.. if you are using any recover data application from market to recover anything which have been lost by mistake.. than you won't be able to..
BTW this Problem rarely occurs...
I' ve done this as you said in your 1st post but still Display uses more than 60% of battery use (i set brightness to minimum, all is set up to minimum and power saving)
I'm running AIO 3.0.5. CM7r2 hboot, XD2SDX, desire is s-lcd version
kciko said:
I' ve done this as you said in your 1st post but still Display uses more than 60% of battery use (i set brightness to minimum, all is set up to minimum and power saving)
I'm running AIO 3.0.5. CM7r2 hboot, XD2SDX, desire is s-lcd version
Click to expand...
Click to collapse
Calibrate tour battery... It happens that the software doesn't shows exact informations...
The problem is also with guys at cynogen too...
It is normal...
The thing is..after doing this tutorial you must be getting 16 hours battery life as normal use....
Don't worry about display...
Sent from my HTC Runnymede using Tapatalk
is it just me? having problem make adb detect my phone.
napalm.potter said:
is it just me? having problem make adb detect my phone.
Click to expand...
Click to collapse
Have you Downloaded the Tools from the link I've provided
If you have 4ext recovery boot into it and go to tools - usb unbrick. It works for me fine.
Sent from my HTC Desire using XDA App

[Q] Stuck..but where? Showing HBOOT, S-OFF information, etc.

Hi everybody,
a friend of mine asked me to have a closer look on an HTC Desire having a really strange behavior:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Direktlink
This is where it get's stuck but:
It still reacts on USB connects changing from 'HBOOT' to 'HBOOT_USB_PLUG' but navigating or selecting an option is not possible.
Another thing, making me wonder, is that this screen appears, after just hitting the power button - it's not necessarry to kepp VOL Down pressed...
Hopefully someone can help me out of this,
Thanks in advance,
Dominik
Setup adb/fastboot.
Download the 4ext recovery img:
http://www.4ext.net/ddl/bravo/recovery.zip (extract the zip), and put it in the platform-tools folder of where your android sdk is.
Boot the phone into fastboot (hold power and back), then use this command:
Code:
fastboot boot recovery.img
Once your in recovery do a full wipe and flash a ROM.
chromium96 said:
Setup adb/fastboot.
Download the 4ext recovery img:
http://www.4ext.net/ddl/bravo/recovery.zip (extract the zip), and put it in the platform-tools folder of where your android sdk is.
Boot the phone into fastboot (hold power and back), then use this command:
Code:
fastboot boot recovery.img
Once your in recovery do a full wipe and flash a ROM.
Click to expand...
Click to collapse
Hi,
sorry, I forgot to mention, that the device cannot be found using adb...
yakazaa said:
Hi,
sorry, I forgot to mention, that the device cannot be found using adb...
Click to expand...
Click to collapse
It needs to be recognized by fastboot not adb. Download and install HTC sync then uninstall it leaving only the drivers behind. Also install these: http://downloads.unrevoked.com/HTCDriver3.0.0.007.exe
Then boot the phone into fastboot mode (power and back) and run "fastboot devices" to see if it's recognized. If it is follow the instructions in my first post.
chromium96 said:
It needs to be recognized by fastboot not adb. Download and install HTC sync then uninstall it leaving only the drivers behind. Also install these: http://downloads.unrevoked.com/HTCDriver3.0.0.007.exe
Then boot the phone into fastboot mode (power and back) and run "fastboot devices" to see if it's recognized. If it is follow the instructions in my first post.
Click to expand...
Click to collapse
Yeah, it's working, thanks a lot!
I tried to boot with "back + Power" several times.... but without USB connected...
EDIT: No, it wasn't regarding USB...
This only works from time to time, more less then more.. (hopefully you know what I mean)
Okay, now I have a way to get into the recovery, a big step forward!!
What now?
I'd like to "install" this recovery now, as I did before on my HD2 in the past but this is far long ago, so sorry for this stupid question:
How to replace the actual existing Recovery with the booted 4ext one?
On 4ext.net I found a way with a booted rom, but without...
Later on, I'd like to flash CyanogenMod 7, so I already downloaded the suggested PB99img_cm7r2.zip.
I remember this has s.th. to do regarding partitioning, right? What do I have to do with this file?
Can I flash this with fastboot ?
During usual bootloader startup it says "No image or wrong size"
AS you may see, I know a little, but it's damned long ago...
Sorry for my worse english, but I don't know how to describe this better
Hopefully you can help me anyway,
Thanks a lot in advance!!
yakazaa said:
Yeah, it's working, thanks a lot!
I tried to boot with "back + Power" several times.... but without USB connected...
EDIT: No, it wasn't regarding USB...
This only works from time to time, more less then more.. (hopefully you know what I mean)
Okay, now I have a way to get into the recovery, a big step forward!!
What now?
I'd like to "install" this recovery now, as I did before on my HD2 in the past but this is far long ago, so sorry for this stupid question:
How to replace the actual existing Recovery with the booted 4ext one?
On 4ext.net I found a way with a booted rom, but without...
Later on, I'd like to flash CyanogenMod 7, so I already downloaded the suggested PB99img_cm7r2.zip.
I remember this has s.th. to do regarding partitioning, right? What do I have to do with this file?
Can I flash this with fastboot ?
During usual bootloader startup it says "No image or wrong size"
AS you may see, I know a little, but it's damned long ago...
Sorry for my worse english, but I don't know how to describe this better
Hopefully you can help me anyway,
Thanks a lot in advance!!
Click to expand...
Click to collapse
Use "fastboot flash recovery recovery.img" to fully install the recovery. Rename the hboot(partition) file you downloaded to "PB99IMG.zip" and put it on the root of your SD card. Boot the phone into hboot and it will search for the file. When it finds it select yes to install it then reboot.
Go into recovery and wipe everything except the SD card then flash the ROM.
Sent using xda premium
chromium96 said:
Use "fastboot flash recovery recovery.img" to fully install the recovery. Rename the hboot(partition) file you downloaded to "PB99IMG.zip" and put it on the root of your SD card. Boot the phone into hboot and it will search for the file. When it finds it select yes to install it then reboot.
Go into recovery and wipe everything except the SD card then flash the ROM.
Sent using xda premium
Click to expand...
Click to collapse
Hi,
thanks a lot for these great hints, but sadly I'm unable since yesterday to enter fastboot mode
System always starts into HBOOT - and dies, weather I press any additional keys to the power button or not...
Any alternative way to enter fastboot mode?
yakazaa said:
Hi,
thanks a lot for these great hints, but sadly I'm unable since yesterday to enter fastboot mode
System always starts into HBOOT - and dies, weather I press any additional keys to the power button or not...
Any alternative way to enter fastboot mode?
Click to expand...
Click to collapse
Back + power
Sent using xda premium
chromium96 said:
Back + power
Sent using xda premium
Click to expand...
Click to collapse
I know and this worked yesterday, but it started with problems, as mentioned above.
Today I never had access..

[Q] Broken display + data lost

Hi everyone,
I know it's a thread so discussed, but it's a little different for me so I can't find the answer..
The basic problem is that I have a broken display, and I cannot access my phone since it's locked with digit sequence and also I have not enabled usb debugging.
After reading a lot of threads, I managed to do these steps:
- Unlocked the bootloader with fastboot
- Installed Clockwork mod
Now I'm stuck.. Unlocking the bootloader erased all my data, I knew this thing, but I hoped to recover it in some way...
Every single guide is based on adb.
Ok, my device isn't recognized with adb.
Since I haven't the display, I'm doing everything "blind".
To enter in fastboot mode -> vol up + vol down + power. Now the phone is recognized with fastboot command.
By looking at some videos, to enter the recovery mode I have to push vol down 2 times, and then power to confirm.
I've done that procedure, but the phone is not recognized by adb.
I'm not even sure that I have CW installed, even if fastboot procedure was fine...
Any idea? I'd like only to recover my photos, they were important to me.
Thank you
vaka85 said:
Hi everyone,
I know it's a thread so discussed, but it's a little different for me so I can't find the answer..
The basic problem is that I have a broken display, and I cannot access my phone since it's locked with digit sequence and also I have not enabled usb debugging.
After reading a lot of threads, I managed to do these steps:
- Unlocked the bootloader with fastboot
- Installed Clockwork mod
Now I'm stuck.. Unlocking the bootloader erased all my data, I knew this thing, but I hoped to recover it in some way...
Every single guide is based on adb.
Ok, my device isn't recognized with adb.
Since I haven't the display, I'm doing everything "blind".
To enter in fastboot mode -> vol up + vol down + power. Now the phone is recognized with fastboot command.
By looking at some videos, to enter the recovery mode I have to push vol down 2 times, and then power to confirm.
I've done that procedure, but the phone is not recognized by adb.
I'm not even sure that I have CW installed, even if fastboot procedure was fine...
Any idea? I'd like only to recover my photos, they were important to me.
Thank you
Click to expand...
Click to collapse
to be sure of being in recovery, you can reboot into it by using 'fastboot reboot recovery'
CWM should have an option to mount sdcard, its under mounts/storage, but since you dont have a display, you'd have to find a screenshot somewhere and try following that. the TWRP recovery has the option too, but im not sure it can be controlled via volume + power
EDIT: in CWM, once youre in recovery, try VOL UP 4 times, power, then volume up 2 times and power. does that work?
IINexusII said:
to be sure of being in recovery, you can reboot into it by using 'fastboot reboot recovery'
CWM should have an option to mount sdcard, its under mounts/storage, but since you dont have a display, you'd have to find a screenshot somewhere and try following that. the TWRP recovery has the option too, but im not sure it can be controlled via volume + power
Click to expand...
Click to collapse
mount /sdcard will not work as there is no sdcard. this phone has been out almost 2 years and people still swear there's an sdcard. its amazing.
you need to fastboot reboot into recovery and then use adb pull
Zepius said:
mount /sdcard will not work as there is no sdcard. this phone has been out almost 2 years and people still swear there's an sdcard. its amazing.
you need to fastboot reboot into recovery and then use adb pull
Click to expand...
Click to collapse
well youre pretty stupid aint you. Android uses the /sdcard location as data/media
IINexusII said:
well youre pretty stupid aint you. Android uses the /sdcard location as data/media
Click to expand...
Click to collapse
and you still cant mount /sdcard in recovery.
dont call someone stupid unless you're sure you're right.
Zepius said:
and you still cant mount /sdcard in recovery.
dont call someone stupid unless you're sure you're right.
Click to expand...
Click to collapse
"adb pull /sdcard/DCIM/" will work
or "adb pull /data/media/DCIM/"
IINexusII said:
"adb pull /sdcard/DCIM/" will work
or "adb pull /data/media/DCIM/"
Click to expand...
Click to collapse
thats what i said to do... you're claiming you can mount the /sdcard... WHICH YOU CANT.
/data/ is mounted when you go into recovery.
Zepius said:
thats what i said to do... you're claiming you can mount the /sdcard... WHICH YOU CANT.
/data/ is mounted when you go into recovery.
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
IINexusII said:
Click to expand...
Click to collapse
and it does nothing in CWM. NOTHING. good god you are stubborn and wrong.
this is my last post on this topic,
OP,
reboot into recovery and use adb pull. anything the other guy says about mounting the sdcard cannot be done and he has no idea what he is talking about.
thank you guys for the replies..
I'm sorry for the (maybe) stupid question.. How can I reboot into recovery? There is no such option in fastboot...
edit: ok I've got it. Maybe the CW was not correctly installed.
However now I have to find a way to recover my photos...
Zepius said:
and it does nothing in CWM. NOTHING. good god you are stubborn and wrong.
this is my last post on this topic,
OP,
reboot into recovery and use adb pull. anything the other guy says about mounting the sdcard cannot be done and he has no idea what he is talking about.
Click to expand...
Click to collapse
i never said mounting the /sdcard will bring it up on the pc as a mass storage device. mounting it will give it access through ADB, then he can simply pull the DCIM folder which will contain his camera pictures by using "adb pull /sdcard/DCIM C:/DCIM/"
ok guys stop fighting please
I need your help not your hate
So... I can use adb now.. But how to proceed? data are wiped with the unlocking. So, if i can access to the phone as an external memory, I could use data recovery software.. Otherwise with adb it pulls empty folders...
vaka85 said:
ok guys stop fighting please
I need your help not your hate
So... I can use adb now.. But how to proceed? data are wiped with the unlocking. So, if i can access to the phone as an external memory, I could use data recovery software.. Otherwise with adb it pulls empty folders...
Click to expand...
Click to collapse
oh.... well if you wiped your phone by unlocking the bootloader then everything we said was useless im afraid
sorry
here we are!
Current situation:
I managed to enter in recovery mode.
The only way to recover my data seems to be this procedure:
http://forum.xda-developers.com/showthread.php?t=1994705
but I need to install busybox.
Since I can work only in recovery mode, could I install it via recovery?
The alternative is to install a rom with root and busybox, but I can't put the device in sideload mode, I don't know why...
Once I'm in recovery mode, I push twive vol down, and it should be the "install zip from sideload", but the adb status remains recovery...
I don't know why.. It's very frustrating..
Any help?
Thanks

Stock unrooted and bricked? Help

So today I had a problem with an app not opening correctly so I rebooted the device. The device was stuck in the kit kat boot sequence. I turned it off and charged it. Tried booting to no avail. So I go into stock recovery mode and wiped cache and then proceeded to wipe/factory reset. It then got stuck on factory reset. I let it sit there on the charger for awhile and it was still stuck on factory reset. So i rebooted to attempt again. Now it won't even go into recovery mode. It'll boot to the fastboot screen but when trying to go into recovery it gets stuck on the white Google logo. Is there anything I can do or do I need to send it back? I bought it in July-ish so it should still be on warranty.
It should be easy to restore the stock ROM. Do you have the device drivers installed and a copy of fastboot?
http://developer.android.com/sdk/win-usb.html
http://www.xda-developers.com/andro...ng-fast-adb-fastboot-and-driver-installation/
Boot your Nexus 7 to the fastboot screen, then connect it to your PC. Open a command prompt window with administrator privileges, cd to the fastboot directory (let me know if you need help here), then type the following commands:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
This will wipe everything on your Nexus 7, preparing it for a full flash of the stock recovery and ROM. You can download the stock ROM from here, and there's a "flash-all.bat" file inside that will restore recovery and the ROM all by itself.
https://developers.google.com/android/nexus/images#razor
Pandae said:
It should be easy to restore the stock ROM. Do you have the device drivers installed and a copy of fastboot?
http://developer.android.com/sdk/win-usb.html
http://www.xda-developers.com/andro...ng-fast-adb-fastboot-and-driver-installation/
Boot your Nexus 7 to the fastboot screen, then connect it to your PC. Open a command prompt window with administrator privileges, cd to the fastboot directory (let me know if you need help here), then type the following commands:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
This will wipe everything on your Nexus 7, preparing it for a full flash of the stock recovery and ROM. You can download the stock ROM from here, and there's a "flash-all.bat" file inside that will restore recovery and the ROM all by itself.
https://developers.google.com/android/nexus/images#razor
Click to expand...
Click to collapse
when trying any commands in adb it says waiting for device and hangs on that.
Use adb if your tablet is booted into Android, and use fastboot if you're only at the bootloader.
Do you have the drivers installed? At a command prompt (again must be administrator permissions), type "fastboot devices" and see if it gives a response.
Pandae said:
Use adb if your tablet is booted into Android, and use fastboot if you're only at the bootloader.
Do you have the drivers installed? At a command prompt (again must be administrator permissions), type "fastboot devices" and see if it gives a response.
Click to expand...
Click to collapse
fastboot devices does nothing. I am in the fastboot directory. I thought I had the drivers installed, but in device manager it shows up as Android with an exclamation mark
OK, that explains it. Delete the driver by hitting Del, and just to be safe, click "View" at the top, then select to show hidden devices. Delete anything else that might be for any Android devices. Then install the drivers I linked to. They're generic drivers that work with either Nexus 7 generation, plus other Nexus devices.
Pandae said:
OK, that explains it. Delete the driver by hitting Del, and just to be safe, click "View" at the top, then select to show hidden devices. Delete anything else that might be for any Android devices. Then install the drivers I linked to. They're generic drivers that work with either Nexus 7 generation, plus other Nexus devices.
Click to expand...
Click to collapse
ok done now fastboot devices shows something, typed in fastboot erase boot and it says erasing boot...seems like it is stuck on this command
wildside84 said:
ok done now fastboot devices shows something, typed in fastboot erase boot and it says erasing boot...seems like it is stuck on this command
Click to expand...
Click to collapse
Couldn't you just try to boot a recovery IMG?
fastboot boot recovery path/to/recovery.img
That will let you run recovery without flashing it
Sent from my Nexus 7 using Tapatalk 4 Pro
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Erasing boot shouldn't take too long. Hopefully the partition isn't damaged.
SwoRNLeaDejZ, I believe he couldn't get into recovery. For problems like this, I like to erase recovery and everything else anyway, especially since flash-all.bat will restore stock recovery as part of the process.
Pandae said:
Erasing boot shouldn't take too long. Hopefully the partition isn't damaged.
SwoRNLeaDejZ, I believe he couldn't get into recovery. For problems like this, I like to erase recovery and everything else anyway, especially since flash-all.bat will restore stock recovery as part of the process.
Click to expand...
Click to collapse
no commands work. on erase recovery command it says failed command write failed invalid argument
edit: fastboot boot recovery fails also "command write failed unknown error"
edit: i get a lot of fastboot.exe has stopped working errors on windows. redownloaded platform tools and still happens. I'm at a loss I guess I have to get Google to replace it entirely
I may have taken something for granted. Did you unlock the bootloader?
fastboot oem unlock
Pandae said:
I may have taken something for granted. Did you unlock the bootloader?
fastboot oem unlock
Click to expand...
Click to collapse
no and whats funny is I just got done trying that before i read your message. i restarted the device and my computer and just decided to see if it would dirty flash the flash-all.bat and it was actually going through not giving the write errors but did say bootloader is locked. so i typed fastboot oem unlock and the screen popped up on the device to say yes or no. i selected yes and it, again, got stuck for 10-15 minutes on erasing data...rebooted the device, unlock appears to have failed. argh
If you power down and reboot back into the bootloader, it still says unlocked? What if you try unlocking again?
Pandae said:
If you power down and reboot back into the bootloader, it still says unlocked? What if you try unlocking again?
Click to expand...
Click to collapse
it says the bootloader is locked. i am trying again right now. i get to the yes no screen, select yes and on the command prompt it is stuck on erasing userdata
I've never seen it take very long. Let it sit for a while, maybe plug it in and just wait?
Pandae said:
I've never seen it take very long. Let it sit for a while, maybe plug it in and just wait?
Click to expand...
Click to collapse
ill let it sit, but i think there is something wrong with the device. i had a similar prob with a gs2 and it wouldnt erase or write anything to partition. would usb debugging have to have already been enabled? i cant remember if that was checked or not. or does that matter?
USB debugging is necessary for connecting once the tablet has booted into Android, but it isn't needed for fastboot and the bootloader level. At this point I fear there's more corruption than can be fixed, but let's wait a little while and see.
Pandae said:
USB debugging is necessary for connecting once the tablet has booted into Android, but it isn't needed for fastboot and the bootloader level. At this point I fear there's more corruption than can be fixed, but let's wait a little while and see.
Click to expand...
Click to collapse
Just received an email from Google support. They are unwilling to help because I purchased the device from Best Buy rather than Google Play...WTH? Best Buy won't help either I won't even bother. At this point I'll have to hope Asus will take it in for repair. That kind of bummed me out about Google. Not sure if I want to buy another nexus device again now.
wildside84 said:
no commands work. on erase recovery command it says failed command write failed invalid argument
edit: fastboot boot recovery fails also "command write failed unknown error"
edit: i get a lot of fastboot.exe has stopped working errors on windows. redownloaded platform tools and still happens. I'm at a loss I guess I have to get Google to replace it entirely
Click to expand...
Click to collapse
use usb jig and flash via odin nice work :good:
wildside84 said:
Just received an email from Google support. They are unwilling to help because I purchased the device from Best Buy rather than Google Play...WTH? Best Buy won't help either I won't even bother. At this point I'll have to hope Asus will take it in for repair. That kind of bummed me out about Google. Not sure if I want to buy another nexus device again now.
Click to expand...
Click to collapse
Is Google writing the book "How Not to Stand Behind Your Product"? Sheesh!
Sorry I couldn't be of more help. Good luck and speedy repairs to you. I must admit that with the touchscreen problems, and that it took someone who isn't a Google employee to fix it for a lot of people, all while Google is still silent, I myself don't care to buy another product by Google and/or Asus.
---------- Post added at 12:24 AM ---------- Previous post was at 12:18 AM ----------
VerlyAnanda said:
use usb jig and flash via odin nice work :good:
Click to expand...
Click to collapse
Odin is for Samsung devices, unless something's happened I didn't hear about.

Unlock bootloader without losing data

For those who are waiting to unlock bootloader but don´t want to lose data this quick guide is intended to do so.
Usually in most of threads out there about unlocking anyone find the typical phrase "unlock bootloader erase all your data" like is advertised in the same MiFlash Unlock tool and for other devices which method to unlock it is through the same fastboot mode by command.
Really unlock bootloader doesn´t erase nothing itself, the problem is at time to reboot to system and here is the issue, if we reboot inmediately then data will gone. (some users of older devices reported that not always this happened BTW)
Steps that I did are the next (maybe some step was unnecesary and I´ll indicate which)
1 - Unlock bootloader as normally through the tool when time it´s came.
2- When it finishes exit the tool, don´t tap on "Reboot device" in the tool, just close the tool.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3- Device stays in fastboot, check bootloader status in fastboot mode by typing
Code:
fastboot oem device-info
View attachment 4637936
4- Extract recovery image fromOrangeFox-R8.3-vince zip inside adb folder and type
Code:
fastboot flash recovery fox.img
(I renamed it fox).
5- Reboot to recovery by typing
Code:
fastboot boot fox.img
.
View attachment 4637937
6- Once in recovery don´t swipe to allow modifications, tap on Read Only.
7- Some drivers will be updated between device and pc, then copy OrangeFox-R8.3-vince zip to internal memory (or if you prefer to an ext. sdcard) if you already don´t have it in your device.
Now flash the zip, I guess that this is necessary to OrangeFox can unpack all the tools in Fox folder onto device.
8- I enabled these options in recovery and flashed magisk, you can enable some additional features.
9 - Then Flashed No+Verity_R5Plus.zip uploaded file (I´m not sure if this step is needed so I enabled before this option and OrangeFox has in-builded this feature but just to made sure, you know..)
10- Reboot normally and you´re done.
Thanks for the info!
I intended to do what you explained in the guide.
Unfortunately, I couldn't go further than step n°1 because I haven't activated the "USB Debugging" function in my phone and this tool requires it in order to unlock the phone.
The thing is my phone (a Redmi Note 5) is currently stuck in the recovery mode so I can't access inside and activate the "USB Debugging" function.
My phone is stuck in this mode since I tried to update it with the official MIUI 10 version. I definitely want to recover my datas before doing anything else so I haven't click on the "WIPE DATAS" option (obviously).
1-Do you know another way to activate the "USB debugging" function without a proper access into the phone and in order to follow your guide afterwards ?
2-Do you know another way to recover my datas before unlocking the bootloader and flashing a new version ?
Thanks !
Thanks for the trick! but we can use another recovery for this method?
I think clicking on 'Reboot' on the unlock tool sends the script to erase all data.... Here's what I did:
1. unlock bootloader normally
2. unplug phone without clicking on 'Reboot' button at the end
3. Force power off by holding power button for about 10s
and when it rebooted.. it went right into system..phone booted normally with the 'unlocked' logo at boot with all my data untouched.
sanijsnj said:
I think clicking on 'Reboot' on the unlock tool sends the script to erase all data.... Here's what I did:
1. unlock bootloader normally
2. unplug phone without clicking on 'Reboot' button at the end
3. Force power off by holding power button for about 10s
and when it rebooted.. it went right into system..phone booted normally with the 'unlocked' logo at boot with all my data untouched.
Click to expand...
Click to collapse
Demoxing said:
Thanks for the trick! but we can use another recovery for this method?
Click to expand...
Click to collapse
Yes, all the trick resides on that, avoid to boot up from fastboot but from a complete shut off state then the order to format data would be deactivated. Newer bootloaders would prevent this but it worth the try.
sanijsnj said:
I think clicking on 'Reboot' on the unlock tool sends the script to erase all data.... Here's what I did:
1. unlock bootloader normally
2. unplug phone without clicking on 'Reboot' button at the end
3. Force power off by holding power button for about 10s
and when it rebooted.. it went right into system..phone booted normally with the 'unlocked' logo at boot with all my data untouched.
Click to expand...
Click to collapse
Do you know if that works with pocophone or newer miui phone?
Dunno.. I only own the redmi5plus
Hello there,
Can someone help me with my questions ? It's not possible for me to unlock bootloader with the tool because my USB debugging function was not activated before I got a problem during the installation of the new MIUI version and let my phone in the recovery mode...
Thanks!
popoFR said:
Hello there,
Can someone help me with my questions ? It's not possible for me to unlock bootloader with the tool because my USB debugging function was not activated before I got a problem during the installation of the new MIUI version and let my phone in the recovery mode...
Thanks!
Click to expand...
Click to collapse
You have first of all to recover your device and then to fix it try again to unlock bootloader.
In recovery do a format data it could be solve it. then set up again all
SubwayChamp said:
You have first of all to recover your device and then to fix it try again to unlock bootloader.
In recovery do a format data it could be solve it. then set up again all
Click to expand...
Click to collapse
Thanks for your answer.
To do what you wrote, I have to wipe datas, right ? The thing is I want to recover all the data from my phone...is there a possibility to do everything without wiping datas ?
popoFR said:
Thanks for your answer.
To do what you wrote, I have to wipe datas, right ? The thing is I want to recover all the data from my phone...is there a possibility to do everything without wiping datas ?
Click to expand...
Click to collapse
The problem is that is a cyclical issue. In order to can boot (presumably) due to a dirty/wrong update you need to format data, if you had have enable USB debugging before then you could flash the same firmware that was previously working well but with USB debugging disabled you can´t.
SubwayChamp said:
The problem is that is a cyclical issue. In order to can boot (presumably) due to a dirty/wrong update you need to format data, if you had have enable USB debugging before then you could flash the same firmware that was previously working well but with USB debugging disabled you can´t.
Click to expand...
Click to collapse
That was my fear...my phone didn't start again after an official update that went wrong...
There is no other possibility in enabling USB debugging with adb for example ?
I'm stuck and have to erase all my datas...?:crying:
popoFR said:
That was my fear...my phone didn't start again after an official update that went wrong...
There is no other possibility in enabling USB debugging with adb for example ?
I'm stuck and have to erase all my datas...?:crying:
Click to expand...
Click to collapse
The first I do with a new device is enable USB debugging and check on OEM unlock bootloader cause mainly the first also sometimes can cause a bootloop on a wrong/failed update and to have more options in a worst scenario, take it like a lesson for the next time.
There are ways to enable USB debugging under adb commands but you will need su permissions for this, there are a way to flash a firmware through recovery using adb sideload but again you will need USB debugging and lastly in R5+ you can flash a rom through MiFlash Tool but in download mode so fastboot never worked for me on a Xiaomi with locked bootloader.
Try this last to see if it works, I don´t think but some time ago that I don´t use this tool, try flashing the same firmware that previously was onto your device using this tool on fastboot moed and checking in the centered option to flash and keep data at the right down of the tool.
is this still working?
sanijsnj said:
I think clicking on 'Reboot' on the unlock tool sends the script to erase all data.... Here's what I did:
1. unlock bootloader normally
2. unplug phone without clicking on 'Reboot' button at the end
3. Force power off by holding power button for about 10s
and when it rebooted.. it went right into system..phone booted normally with the 'unlocked' logo at boot with all my data untouched.
Click to expand...
Click to collapse
hey,
is this trick is still working??
did u try this?
if yes then tell me the exact version in which it works...
sanijsnj said:
I think clicking on 'Reboot' on the unlock tool sends the script to erase all data.... Here's what I did:
1. unlock bootloader normally
2. unplug phone without clicking on 'Reboot' button at the end
3. Force power off by holding power button for about 10s
and when it rebooted.. it went right into system..phone booted normally with the 'unlocked' logo at boot with all my data untouched.
Click to expand...
Click to collapse
Anyone else tried this trick from Sanjisin?
I am on Mi 9t pro (MIUI 11.0.3 global), waiting for 168h timeout for unlock
popoFR said:
That was my fear...my phone didn't start again after an official update that went wrong...
There is no other possibility in enabling USB debugging with adb for example ?
I'm stuck and have to erase all my datas...?:crying:
Click to expand...
Click to collapse
maybe you can try using fastboot recovery, do a backup from there (to sd card) , then reflash to stock, unlock again (this time enable usb debugging), and after that use your backup to get back your data.
zlikovac said:
Anyone else tried this trick from Sanjisin?
I am on Mi 9t pro (MIUI 11.0.3 global), waiting for 168h timeout for unlock
Click to expand...
Click to collapse
did you try it out yourself? haven't unlocked mine yet, no need yet, but just in case for the future
Dxue said:
did you try it out yourself? haven't unlocked mine yet, no need yet, but just in case for the future
Click to expand...
Click to collapse
I missed to pull the cable on time, already phone was rebooting :/ ah well backup restore well semi ok. Not sure will i stay rooted. I only needed root so i could automate cell data, vpn. Used MacroDroid for automation. Eg. when off the home wifi, turn on cellular data, when on again, turn off. When on non home/work wifi, turn on vpn, etc. Now i need some like smart unlock (don't lock phone when on home wifi or when bt watch connected) macro and i am done.
Will stick to MIUI for now, but wish Xiaomi would tweak those few things, so we do not have to root phone.
sanijsnj said:
I think clicking on 'Reboot' on the unlock tool sends the script to erase all data.... Here's what I did:
1. unlock bootloader normally
2. unplug phone without clicking on 'Reboot' button at the end
3. Force power off by holding power button for about 10s
and when it rebooted.. it went right into system..phone booted normally with the 'unlocked' logo at boot with all my data untouched.
Click to expand...
Click to collapse
Has anyone tried this pls? I have an Redmi Note 7 and dont want to lose my data pls
Unlock mi note 5 pro without data loss
Dear sir
I want to unlock my mi note 5 pro any way out please help me I haven't installed anything

Categories

Resources