Can i recover files from locked bootloader - Samsung Galaxy A40 Questions & Answers

Hi, so i have a A40 with completely shattered screen - unresponsive + black screen.
I would like to know if there's any chance of me getting the files that are on the phone through adb or fastboot. Problematic here is the fact that phone is OEM locked.
I cannot enable USB debugging with just keys, or can i?

Related

[Q] What to double check before confirming hardware issues?

Hey guys,
I recently went to power on my Nexus 7 (2013) after a weekend of having it off, and it got stuck on the white Google start up screen with no further responses. Holding power the devices still turns off, and I am able to get into Bootloader and Recovery. From bootloader "start" just sends it back to the Google start up screen. I'm able to enter Recovery but the Android logo with the red warning triangle doesn't have the No Command script below it, Power and Vol. Up gets me into the Recovery menu. Entering recovery I get errors of : Can't open, failed to mount, can't mount etc which continues as I try to clear the cache, and wide the partition (I'd post pictures but I can't as a new poster). Moving on I tried some of the guides to flashing a new factory image with fastboot or Adb. Since I don't have normal access to the device I'm sure sure is USB debugging was enabled or not, but in bootloader that shouldn't matter correct? Anyways here is where I hit my snag, my device is still in LOCKED bootloader, and the fastboot oem unlock command gets me to the unlock bootloader screen, but after I select and confirm the option the device freezes and no progress is made. From that screen I am still able to turn it off by holding the power button down, so I'm somewhat confused about it becoming unresponsive to the unlock bootloader command. All of the other fastboot commands like fastboot erase cache come back with "Failed: Too many Links". From my knowledge I've checked through everything I can do software wise, and I was curious if you guys had any input before attributing this all to a hardware failure? I've got some experience rooting and flashing custom ROMS on my phone so I have somewhat of an understand of all this but its by no means vast. Thanks for the help, and I tried to provide you with as much info as possible but I'll attempt to answer additional questions to the best of my ability.
Stock Nexus 7 2013
Version : KTU84P
Bootloader: Locked, FLO-04.02
scbikep2 said:
Hey guys,
I recently went to power on my Nexus 7 (2013) after a weekend of having it off, and it got stuck on the white Google start up screen with no further responses. Holding power the devices still turns off, and I am able to get into Bootloader and Recovery. From bootloader "start" just sends it back to the Google start up screen. I'm able to enter Recovery but the Android logo with the red warning triangle doesn't have the No Command script below it, Power and Vol. Up gets me into the Recovery menu. Entering recovery I get errors of : Can't open, failed to mount, can't mount etc which continues as I try to clear the cache, and wide the partition (I'd post pictures but I can't as a new poster). Moving on I tried some of the guides to flashing a new factory image with fastboot or Adb. Since I don't have normal access to the device I'm sure sure is USB debugging was enabled or not, but in bootloader that shouldn't matter correct? Anyways here is where I hit my snag, my device is still in LOCKED bootloader, and the fastboot oem unlock command gets me to the unlock bootloader screen, but after I select and confirm the option the device freezes and no progress is made. From that screen I am still able to turn it off by holding the power button down, so I'm somewhat confused about it becoming unresponsive to the unlock bootloader command. All of the other fastboot commands like fastboot erase cache come back with "Failed: Too many Links". From my knowledge I've checked through everything I can do software wise, and I was curious if you guys had any input before attributing this all to a hardware failure? I've got some experience rooting and flashing custom ROMS on my phone so I have somewhat of an understand of all this but its by no means vast. Thanks for the help, and I tried to provide you with as much info as possible but I'll attempt to answer additional questions to the best of my ability.
Stock Nexus 7 2013
Version : KTU84P
Bootloader: Locked, FLO-04.02
Click to expand...
Click to collapse
A clear explanation of the problem alone with everything that you have tried will do for reporting hardware/software issues and also help others help you.
Sent from my Nexus 5 using Tapatalk

[Q] Tried reverting to Kitkat, screwed something up

After a whole 24 hours of using Lollipop and found the phone was unusable (phone would ring, but not give any other indication of an incoming call) in some ways, and lacking in other features, I decided it was time to go back to 4.4.4.
So I followed the instructions from Google(/android/nexus/images) , downloaded the 4.4.4 Occam factory image, and installed Minimal ADB and Fastboot. It took a while playing with drivers to get the device to show properly with the adb devices command, but it finally did, and was able to command it to reboot bootloader.
Everything still looking good. Still following the instructions, did the oem unlock, wiping it to factory settings, and then ran flash-all.bat. It went through that, the phone restarted into the bootloader, this time showing the Kitkat loading images instead of Lollipop, I think I'm home free.
I'm in the bootloader again now and notice adb devices is no longer showing the phone, so I try oem lock, and the phone screen updates to show locked. Odd, but it worked. I now used the volume buttons to select power off, and power off the device.
Powering on, the phone shows the Kitkat white "Google" on the screen, but that's it. I try powering it off again, and it restarts itself. I try getting it to display in adb devices, and nothing. The phone has been sitting at this screen for half an hour now with no change.
Using volume down+power I'm able to get it back into fastboot mode, but nothing will work from there. Start, recovery mode, and power off all result in the same thing: phone looks like it's turning on, but sits forever just showing the white "Google" on the screen. Abd devices still shows no devices attached, yet the phone still accepts oem lock and unlock commands, so I tried to run flash-all.bat again, but it just gives a 'command write failed(unknown error)'.
I'm kinda stumped now, and I haven't been able to find anything on this kind of issue. I'm hoping someone might have some experience or be able to suggest something my limited experience hasn't exposed me to before.
EyebrowZing said:
After a whole 24 hours of using Lollipop and found the phone was unusable (phone would ring, but not give any other indication of an incoming call) in some ways, and lacking in other features, I decided it was time to go back to 4.4.4.
So I followed the instructions from Google(/android/nexus/images) , downloaded the 4.4.4 Occam factory image, and installed Minimal ADB and Fastboot. It took a while playing with drivers to get the device to show properly with the adb devices command, but it finally did, and was able to command it to reboot bootloader.
Everything still looking good. Still following the instructions, did the oem unlock, wiping it to factory settings, and then ran flash-all.bat. It went through that, the phone restarted into the bootloader, this time showing the Kitkat loading images instead of Lollipop, I think I'm home free.
I'm in the bootloader again now and notice adb devices is no longer showing the phone, so I try oem lock, and the phone screen updates to show locked. Odd, but it worked. I now used the volume buttons to select power off, and power off the device.
Powering on, the phone shows the Kitkat white "Google" on the screen, but that's it. I try powering it off again, and it restarts itself. I try getting it to display in adb devices, and nothing. The phone has been sitting at this screen for half an hour now with no change.
Using volume down+power I'm able to get it back into fastboot mode, but nothing will work from there. Start, recovery mode, and power off all result in the same thing: phone looks like it's turning on, but sits forever just showing the white "Google" on the screen. Abd devices still shows no devices attached, yet the phone still accepts oem lock and unlock commands, so I tried to run flash-all.bat again, but it just gives a 'command write failed(unknown error)'.
I'm kinda stumped now, and I haven't been able to find anything on this kind of issue. I'm hoping someone might have some experience or be able to suggest something my limited experience hasn't exposed me to before.
Click to expand...
Click to collapse
ADB needs a booted up android to work, it wont work in bootloader mode. Another requirement is that usb debugging must be enabled in dev options. Fastboot works only in bootloader mode and doesnt need usb debugging.
Download wugfresh toolkit.. Use it to restore your device and DISABLE FORCE FLASH
Sent from my Nexus 4 using XDA Free mobile app

help! need to factory reset and screen is not responsive

I shattered the screen of my 2015 X pure.
I am sending it back to Motorola for screen replacement.
I want to factory reset, but the screen is not responsive. I can see the screen.. well the lock screen, as touching anywhere on the screen does nothing.
i have tried to hold power button 10 seconds to turn off... from there i can hold power and down volume until enter bootloader mode.. or whatever that is.... I cannot see anyway to factory reset from there either!!
It is bad enough that i cannot get the files off the phone because, thanks to Marshmellow, you can no longer just hook up to computer and have it open a folder.. it goes in in a different mode now, and you have to change it on hte phone.... which i can't do... lucky me.. .isn't progress great?
Anyway, if someone can help me, it'd be appreciated.
thanks.
TWRP custom recovery enables adb and mtp without any touches, so you could recover your files via usb if you have TWRP. Was your bootloader unlocked? It has to be to run TWRP, and you have to enable a setting with the touchscreen to allow bootloader unlocking. If your bootloader is unlocked and you have, or are willing to install TWRP then I think you can get at your files. If your bootloader is locked I think your stuck.
Fastboot will work to factory reset with no touchscreen if you must. While in that bootloader mode plug it into a PC and use the following commands:
Code:
fastboot erase userdata
fastboot erase cache
Pretty much same thing as a factory reset, no touchscreen required. Now those lenovo techs won't be able to check out all your funny cat pictures.
Don't have a working fastboot/adb PC? Check out Heisenberg's guide for how to set that up.

Nova Can-L11 - Can´t boot in fastboot mode

Hello out there.
since two days i own a second hand Can-L11 EU version. My problem: i can´t boot in fastboot mode to unlock bootloader. Phone ist working with stock rom, adb is working, i can flash full stock roms with power + vol+/-.
Device is starting in fastboot mode via adb or cable and poweron or power + vol-. Immidiately after the fastboot-mode screen appears, phone is starting new, so i can´t place any commands. Fastboot screen shows frp unlock and bootloader locked.
I flashed a new full stock rom but nothing changed, it´s the same as before flashing - rebooting after fastboot-screen appears.
What am i doing wrong? Is there someone with similiar problems? Searched many threads, tried many tips - nothing works. I don´t want to use a phone without root to install a reasonable firewall, that protects me from google and huawei or whatever app spying me out....
Thanks for replies...
110errm

Phone stuck on Bootloader [soft brick]

Hi, just bought a phone for my son secondhand, it's going to be sold again if I can't fix this! The phone was sold cheap as it had software issues (of course) so I figured I could fix these and get it going (install custom recovery, ROM etc). I'm slightly stumped at the moment, so maybe you can help me.
The phone's defaulting to the bootloader screen, lots of info on this but the key thing I noticed was that it says 'the device is locked status code: 2'.
Clicking 'start' takes me a 'warning unlocked bootloader screen' then it runs through the 'hello moto' startup screen and back to bootloader
Clicking 'recovery' - there is definitely no working recovery on it, I just a get the dead robot with 'no command' underneath.
Clicking 'Factory Mode' allows me so far through the startup (after the bootloader unlocked warning), and you can get so far through setting it up, but because the battery is so low (it's permanently on with the bootloader when plugged in) it never seems to charge up enough, and either way the screen freezes at or around the final setup steps and then it reverts back to bootloader. I thought if I got into developer options and security, I could enable the USB debugging, OEM unlock etc, but no go there.
I've installed Motorola USB drivers but it doesn't seem to be registering on the PC (Windows 10).
There is some suggestion on other forums (less reputable!) that the locked status code may mean the bootloader has been relocked, but this seems contrary to what the phone is telling me.
Any ideas welcome, thanks - it's a lovely phone, just not much use at the moment.
GitManMatt said:
Hi, just bought a phone for my son secondhand, it's going to be sold again if I can't fix this! The phone was sold cheap as it had software issues (of course) so I figured I could fix these and get it going (install custom recovery, ROM etc). I'm slightly stumped at the moment, so maybe you can help me.
The phone's defaulting to the bootloader screen, lots of info on this but the key thing I noticed was that it says 'the device is locked status code: 2'.
Clicking 'start' takes me a 'warning unlocked bootloader screen' then it runs through the 'hello moto' startup screen and back to bootloader
Clicking 'recovery' - there is definitely no working recovery on it, I just a get the dead robot with 'no command' underneath.
Clicking 'Factory Mode' allows me so far through the startup (after the bootloader unlocked warning), and you can get so far through setting it up, but because the battery is so low (it's permanently on with the bootloader when plugged in) it never seems to charge up enough, and either way the screen freezes at or around the final setup steps and then it reverts back to bootloader. I thought if I got into developer options and security, I could enable the USB debugging, OEM unlock etc, but no go there.
I've installed Motorola USB drivers but it doesn't seem to be registering on the PC (Windows 10).
There is some suggestion on other forums (less reputable!) that the locked status code may mean the bootloader has been relocked, but this seems contrary to what the phone is telling me.
Any ideas welcome, thanks - it's a lovely phone, just not much use at the moment.
Click to expand...
Click to collapse
OK, some progress, I have now unlocked the bootloader, so have the UNLOCKED Status Code:3 which is good, unfortunately has not yet helped with my issues. I can't use ADB, but MFastboot tool is working, so can run commands from that (hence me getting to that stage). Tried reinstalling firmware, may try and do this again now bootloader unlocked....
slightly further along...
GitManMatt said:
OK, some progress, I have now unlocked the bootloader, so have the UNLOCKED Status Code:3 which is good, unfortunately has not yet helped with my issues. I can't use ADB, but MFastboot tool is working, so can run commands from that (hence me getting to that stage). Tried reinstalling firmware, may try and do this again now bootloader unlocked....
Click to expand...
Click to collapse
I have now managed to flash stock firmwares using Mfastboot tool, but hasn't unfortunately fixed the boot up issues. However, I have now worked out how to access the recovery, by reading other posts on different Motorola phones:
boot to bootloader, power+vol down
in bootloader select recovery using the volume up/down buttons, press power button to select
phone boots into 'recovery,' showing the dead android with no command
at this point hold down the power and volume up, then release volume up but keep power held down
phones boots, by magic, into android recovery, where you can factory reset, wipe cache adb sideload and install from SD card
I now need to try and get a flashable recovery to sideload, as the attempts to flash it don't work for me. The OS I seem to be on is reteu 7.1.1, so I will try and go for a lower version, and see if that allows me to flash the custom recovery I desperately need.
But....things are improving slowly....:laugh:
GitManMatt said:
I have now managed to flash stock firmwares using Mfastboot tool, but hasn't unfortunately fixed the boot up issues. However, I have now worked out how to access the recovery, by reading other posts on different Motorola phones:
boot to bootloader, power+vol down
in bootloader select recovery using the volume up/down buttons, press power button to select
phone boots into 'recovery,' showing the dead android with no command
at this point hold down the power and volume up, then release volume up but keep power held down
phones boots, by magic, into android recovery, where you can factory reset, wipe cache adb sideload and install from SD card
I now need to try and get a flashable recovery to sideload, as the attempts to flash it don't work for me. The OS I seem to be on is reteu 7.1.1, so I will try and go for a lower version, and see if that allows me to flash the custom recovery I desperately need.
But....things are improving slowly....:laugh:
Click to expand...
Click to collapse
Never try to downgrade using stock firmware.
tyamamoto said:
Never try to downgrade using stock firmware.
Click to expand...
Click to collapse
OK thanks, I read that, but didn't realise it was a thing....should I be able to sideload a custom rom using ADB?

Categories

Resources