Hi everybody,
i'm trying to backup my oeminfo before rebranding, but no success
bootloader is unlocked, phone recognised on a W7 Pro computer
the phone is in recovery mode and not erecovery
and i'm using hwota8 to backup (in c:\)
the only thing disturbing me is..
after bootloader unlocking, the phone is making a wipe. I answer all the questions again and ...
i can activate oem unlock, activate usb debugging, go back to settings menu with no problems.
But if i'm going to developpers option (just after)....usb debugging isn't active !!!!
Do you have an idea ?
Have a nice christmas all
fred2a said:
Hi everybody,
i'm trying to backup my oeminfo before rebranding, but no success
bootloader is unlocked, phone recognised on a W7 Pro computer
the phone is in recovery mode and not erecovery
and i'm using hwota8 to backup (in c:\)
the only thing disturbing me is..
after bootloader unlocking, the phone is making a wipe. I answer all the questions again and ...
i can activate oem unlock, activate usb debugging, go back to settings menu with no problems.
But if i'm going to developpers option (just after)....usb debugging isn't active !!!!
Do you have an idea ?
Have a nice christmas all
Click to expand...
Click to collapse
Easiest way would probably be to flash TWRP and backup through it.
Then you can flash back stock recovery.
Flash TWRP by pretoriano80 (fastboot flash recovery_ramdisk twrp_image_name_here.img)
Boot to recovery, which is now TWRP, input PIN/Pattern to enable /data decryption.
use Terminal in advanced or adb shell:
dd if=/dev/block/bootdevice/by-name/oeminfo of=/sdcard/oeminfo.img
This will backup your oeminfo partition to oeminfo.img
To restore stock recovery you can use:
dd if=/dev/block/bootdevice/by-name/erecovery_ramdisk of=/dev/block/bootdevice/by-name/recovery_ramdisk
This will write eRecovery to recovery (they are identical partitions, only different boot entries that's why they look different when you boot to them)
As for USB debugging, plug in USB then enable it in dev options.
It does turn itself off on some builds so you may have to enable it again through dev options if adb doesnt recognize device
Thank you for your answer. I'm a little afraid to flash something on recovery.
So I have make a fresh new windows 7 pc, install hisuite.
I put the phone in recovery mode and my pc can view it. But adb not.
If I sent the command adb devices
Nothing appears.
Really strange
Envoyé de mon BLA-L09 en utilisant Tapatalk
finally i have flashed twrp and backup my oeminfo.
Happy New year and thank you again
Related
Short version - is it possible to copy files from my phone to my PC using fastboot (or perhaps adb)? The cyanogenmod WIKI for fastboot, among others, imply that you can (under the section Examples -> Manual Nandroid Restore it says "Make a Nandroid backup, and copy the folder off your SD card to your desktop."). Sorry I'm not allowed to post the link due to being a new user, but this is what it says:
"Make a Nandroid backup, and copy the folder off your SD card to your desktop.
cd ~/Desktop/path/to/backup/
fastboot flash userdata data.img
fastboot flash system system.img
fastboot flash boot boot.img
fastboot reboot"
If it is possible, is "flash" the correct command to be using? The description of the flash command when you run "fastroot help" implies it writes data to the phone, not from the phone to the PC... Unfortunately almost everything I search for around the flash command is examples showing how to load ROMs etc, I can't seem to find anything else that points to it being used to backup data...
[UPDATE] - From what I understand you can't copy files off the phone using fastboot commands, but can using adb - so a few questions:
- Does anyone know why adb wouldn't see my device (when I run "adb devices") but fastboot does (note that I'm on the fastboot screen)?
- Does adb require debugging mode to be on?
[UPDATE-2] - Still can't get adb working, suspect it's because USB debugging isn't enabled (though not sure how I can check?). I did try using fastboot to erase the /cache partition in case the lockout data was stored in there - but this didn't work unfortunately. Looking likely I'll just have to wipe it with fastboot oem unlock
Long version / background info:
Using a Samsung Nexus S with Android 4.1
The other night someone down the pub decided to try to unlock my phone, and apparently got the pattern wrong so many times it's now requiring me to enter my Google account details.
Fine, I enter the username / pass, only it says they're wrong - I know they're correct because I've just confirmed they are by logging into Gmail. It says they're incorrect so quickly that I suspect it's not even connecting to the web to check. The icons at the top imply there is signal, but it looks as though 3G / data is off, and there's no WiFi icon even though I'm sat next to my wireless router. I can't find any way to re-enable WiFi / 3G without first unlocking the phone - which requires a net connection. So I got into Fastboot Mode and selected Recovery and the device looks as though it's doing something (deleting all user data I assumed), but when it starts up it's exactly the same - which implies the user data hasn't been erased.
Then I installed fastboot, and the drivers for the Nexus S.
When I run "fastboot devices" I can see the phone listed, however bizarrely "adb devices" lists nothing.
"fastboot oem unlock" seems to work (the phone prompts me to confirm I want to give root access & delete all user data). I haven't done this yet as I want to see if I can save my data somehow using adb or fastboot commands.
For adb to work, your phone must be booted and USB debugging enabled. In your current situation, as far as I know, a factory reset is the only option.
The phone is either in ADB mode or in Fastboot mode. It can never be in both ADB and Fastboot at the same time. ADB requires the phone is up and running, Fastboot requires the phone is in bootloader mode. ADB requires debugging turned on.
If you unlock your bootloader, you can boot the phone using fastboot and your own recovery image using "fastboot boot myrecovery.img" (notice, no flash keyword here). Booting your device with this recovery image, you can do whatever you like and the image permits, e.g. running ADB and copying files. You'll need this recovery image, though.
Thanks, I did try fastboot with a recovery image, but it currently doesn't work because I need to unlock the bootloader (which will wipe all data anyway). Sounds like I will need to just wipe it
kuisma said:
The phone is either in ADB mode or in Fastboot mode. It can never be in both ADB and Fastboot at the same time. ADB requires the phone is up and running, Fastboot requires the phone is in bootloader mode. ADB requires debugging turned on.
If you unlock your bootloader, you can boot the phone using fastboot and your own recovery image using "fastboot boot myrecovery.img" (notice, no flash keyword here). Booting your device with this recovery image, you can do whatever you like and the image permits, e.g. running ADB and copying files. You'll need this recovery image, though.
Click to expand...
Click to collapse
Facing same issue.
Is there anyway so I could copy userdata.img to my pc and then delete gesture.key file (I am running Lollipop) with NO USB DEBUGGING ON in Fastboot mode.
I have gone through "unpacking and packing .img files"http://forum.xda-developers.com/galaxy-s2/general/ref-unpacking-repacking-stock-rom-img-t1081239
But it is out of my knowledge range can anyone get through it and explain me the same.
Hi! I am in the same situation... ADB not working, only fastboot... Any way to save my data? Do I need to unlock bootloader to install a stock recovery? Thank you!
Hi - I am in exactly same situation as well. I am using Oneplus 8t. Any help is greatly appreciated. thanks
Hi, I'm trying to help a friend unbrick his nexus 7.
The problem is that he is a stock clean user. No root, no custom recovery, all plain stock
This also means that he never enabled usb debugging in dev options
Now im trying to reflash factory image but everytime it gets stuck at the same point of unlocking bootloader (wiping user data)
Will it be possible to reflash factory if adb debug wasn't enabled in the device?
(adb device returns empty, but fastboot works)
If the answer is no, is there any way to edit the build.prop and/or where the adb gets flagged as enabled?
(The only solution i found requires going through adb shell, which in my case isn't working)
thank you for any suggestion
I flashed havoc os had some issues , tried restoring from my backup, got caught in a bootloop so i used lgup to flash a kdz and it worked.but now my enable oem unlock is turned off and it is greyed out. What can i do.
Mohammedbi said:
I flashed havoc os had some issues , tried restoring from my backup, got caught in a bootloop so i used lgup to flash a kdz and it worked.but now my enable oem unlock is turned off and it is greyed out. What can i do.
Click to expand...
Click to collapse
The same thing happens to me, I have not found much info about this, I hope you can help us.
Mohammedbi said:
I flashed havoc os had some issues , tried restoring from my backup, got caught in a bootloop so i used lgup to flash a kdz and it worked.but now my enable oem unlock is turned off and it is greyed out. What can i do.
Click to expand...
Click to collapse
I already found the solution, but it will erase your data.
with the adb commands you must restart the device in boorloader mode:
adb reboot bootloader
Then when I take you to the bootloader screen what you have to write next:
fastboot oem lock
(Remember the phone will be erased)
then to restart the device you have to:
fastboot reboot
And the device will reboot.
what you do is lock it, so that you can then unlock it in a simple way.
(If you do not know what the ADB is, warn man), I hope it helps you and those who enter here too :good:
@l3dson: Be careful before relocking the bootloader: The phone MUST be 100% stock or you will have a brick.
@Mohammedbi: Your bootloader is still unlocked, even after flashing the KDZ. It's just the newly flashed ROM doesn't know it, and you don't need it to.
Just go to fastboot (PowerOff, Vol- while plugging in cable) and flash TWRP. Follow ChazzMatt's root guide for the initial TWRP steps.
Have anyone found the solution for this problem...
vino90m said:
Have anyone found the solution for this problem...
Click to expand...
Click to collapse
What exactly is not working?
ADB doesn't require Enable OEM Unlock to be set. Just plug it in and ADB away - unless drivers or cable or port aren't working.
And your bootloader is still unlocked if it was unlocked before you flashed stock Oreo. You should be able to enter fastboot using the steps described in the post just before yours.
Edit: Of course you have to enable USB debugging in order to use ADB. I'm sure you knew that
l3dson said:
I already found the solution, but it will erase your data.
with the adb commands you must restart the device in boorloader mode:
adb reboot bootloader
Then when I take you to the bootloader screen what you have to write next:
fastboot oem lock
(Remember the phone will be erased)
then to restart the device you have to:
fastboot reboot
And the device will reboot.
what you do is lock it, so that you can then unlock it in a simple way.
(If you do not know what the ADB is, warn man), I hope it helps you and those who enter here too :good:
Click to expand...
Click to collapse
hey i have this same problem and been asking around... but the adb reboot command will not work because it says the phone must be "enabled oem unlock" mode before you can use adb commands... which is greyed out..so back to square one... how to enable it?? any suggestions on this??
Hi, everybody,
I have an LG K20 (lmx120emw) I'd like to install a custom recovery.
So I need to unlock the bootloader, then install the custom recovery.
From developer settings I have enabled OEM unlocking and USB debugging.
From ADB I can see the device with "adb devices".
When I go to reboot it in fastboot mode "adb reboot bootloader" it only reboots my mobile phone.
Moreover I ask: can you link me the TWRP (or antheor custom rom) and the package for the root for this mobile phone?
Thank you.
tattare1987 said:
Hi, everybody,
I have an LG K20 (lmx120emw) I'd like to install a custom recovery.
So I need to unlock the bootloader, then install the custom recovery.
From developer settings I have enabled OEM unlocking and USB debugging.
From ADB I can see the device with "adb devices".
When I go to reboot it in fastboot mode "adb reboot bootloader" it only reboots my mobile phone.
Moreover I ask: can you link me the TWRP (or antheor custom rom) and the package for the root for this mobile phone?
Thank you.
Click to expand...
Click to collapse
This is for the k20 plus. You might actually have better luck hitting up Android forums, they've had a good track record with phone's almost nobody sees.
(Also, that's cool af. How you get a dual module camera.)
-----------------------------------------------------------------------------------------
Start up Failed:
Your device didnt't start up successfully.
Use the software repair assistant on computer
to repair your device.
connect your device to your computer to get
the software repair assistant
ap fastboot flash mode (secure)
failed to validate boot image
ERROR: Failed to pass validaton, backup to fastboot
fastboot reason: Fall-through from charger boot mode
-----------------------------------------------------------------------------------------
is there any way to backup my phone data before flashing ?
only if you installed custom recovery, boot in recovery and exctract /data in SD card/ USB OTG.
as this looks like you screwed up with bootloader unlock, or reflashing stock ROM
indestructible master said:
only if you installed custom recovery, boot in recovery and exctract /data in SD card/ USB OTG.
as this looks like you screwed up with bootloader unlock, or reflashing
Click to expand...
Click to collapse
i didn't tried to unlock bootloader or did anything. my phone was just charging & then this showed up , all other options are disabled (recovery, factory, restart bootoader etc)
adb is not detecting & i can only execute fastboot command ,
is there any way to backup my photos & files ?
niirmaaltwaatii said:
i didn't tried to unlock bootloader or did anything. my phone was just charging & then this showed up , all other options are disabled (recovery, factory, restart bootoader etc)
adb is not detecting & i can only execute fastboot command ,
is there any way to backup my photos & files ?
Click to expand...
Click to collapse
no,
remove SD card, and
at least recover it via fastboot, or via stock recovery (download official, stock ROM and flash in stock recovery, it should work)
or install that software for PC first to check if it can be restored that way, maybe it's faulty boot.img which software can fix (try this first, maybe you get lucky and save data)