[Q] Prevent FRP lock when battery runs out - Android Q&A, Help & Troubleshooting

Hello,
I have a Samsung Galaxy SM-J320M with Android 5.1.1 which I have successfully rooted (installing SuperSU via TWRP).
Everything works OK except when the phone runs out off battery and switches off: when I plug the charger and try to turn it on, I get "Custom binary blocked by FRP lock" message.
This doesn't happen if I turn off the phone normally or long pressing power button or pulling the battery out, only when it self turns off because of battery low state.
I have always been able to recover the phone by reflashing stock firmware (via ODIN), and then rooting it again (always same procedure: enable OEM unlock, flash TWRP, flash SuperSU).
I would like to ask if anybody knows a way to prevent this from happening again. As a workaround, I try to have the phone charged before the battery dies, but sometimes it is not possible. I'm worried of this happening on a trip out of home with no access to a computer for reflashing.
Thanks.

Related

Samsung GT-I8552: Unable to access recovery mode and battery issues

Hello,
I'm using GT-i8552 stock 4.1.2 (UNROOTED).
I did root my phone with 'Framaroot', the rooting was successful and SuperSU was installed properly. After this I didn't try installing any custom ROMs or any conflicting apps but still I started facing battery issues like,
1. After putting on charge, display shows that it is charging but no progress at all (it freezes at certain %)
2. When the phone is switched off and put on charge, the display just blinks up and goes off (lights on lights off) nothing else appears and no battery progress
3. Sometimes the phone charges properly to 100% but after disconnecting cable, battery status is 50-60%
The above problems occur not all the time.
The things that I tried,
1. Did unroot my phone and removed SuperSU
2. Did a factory reset from phone's settings option.
3. Got an original new battery from service center
4. Took the phone to Samsung customer care (they couldn't find any problem at all and advised that the problem must be in the charger) (I tried to charge with samsung charger, sony's charger & portable charger)
5. Changed USB cables for charging
6. Tried Battery Calibration apk by Nema
7. I think the charging port is little bit damaged but I can still get the phone to charge
Even after doing all the above things the problems still occur sometimes. Other than that the phone works fine, there is no BOOTLOOP.
When I try to boot it into recovery mode (volume up+home+switch on and release after SAMSUNG logo) but after releasing the buttons the SAMSUNG GT-i8552 logo appears and phone starts with no warning and all, it's not accessing the recovery mode or download mode too.
Is there any solution to the battery related issues or do I need to flash the stock firmware again?
I am not aware of the steps of flashing firmware, please do redirect.
Thank You!!

Beware unchecking OEM unlock when rooted - FRP custom binary Lockout

How I bricked (and unbricked) my tablet SM-T820 due to OEM Unlock setting and battery drain - I hope this is useful for someone making the same mistake! I successfully rooted my Tablet S3 T820 with TWRP 3.2.1-1 and Magisk and installed SM-T820 Tweaked without any problem the moment I received it - it's a great daily driver!
While fiddling to fix an app crashing due to safetynet issues, I unchecked OEM-Unlock and forgot about it. The tablet ran out of power and upon reboot gave an FRP boot error "Security Error: This device has been flashed with unauthorized software & is locked. Call your mobile operator for additional support...". Any attempt at booting into TWRP was FRP blocked I guess because of the locked Bootloader. I immediately tried doing a stock firmware restore etc. via ODIN which failed at about 65%, probably due to a low battery (which I didn't know as there was no way of seeing the battery status). Upon reboot I had a screen saying "use the emergency recovery function in the smart switch PC software". When I tried reflashing stock firmware through Odin again, the tablet connection kept disconnecting/dropping out every 10 seconds or so and restarting always going back to the same “use smart switch” error message. The same happened in Download mode. I now know this was due to a drained battery. I couldn't power off the Tablet in order for it to charge as it always switched on as soon as power was connected.
The fix: I noticed when in the error boot screen "use smart switch to recover" it didn’t charge at all (I had it plugged in for 8 hours) and always cut out and rebooted to error msg. every 10 seconds. The first time I managed to stop it cutting out was by booting into Stock Recovery Mode with "Home & Vol+ & Power" buttons while plugged into the wall socket (stock recovery must have installed just before Odin failed the first time I tried to unbrick). I had it plugged into the wall socket in Recovery Mode for about 2 hours where it very slowly charged a tiny bit. In stock recovery I booted into "Reboot Bootloader" where it went directly to Odin Mode saying “Downloading... Do not turn off target”. I then reflashed my firmware without any errors. After first boot the battery was still only on 1%! I again have a brand new, functional Tablet! Now back to Rooting . . . and never touching oem-unlock again!
Hello i hope you can help me, same mistake but i cant find the correct firmware. originaly it has the android 7.0 ara2, but later i flash the SM-T820 TWEAKED Based on latest stock BRJ1 firmware, and have to flash the oreo bootloader. i tried a uk BRJ1, ARA2 and others from mexico where i buy the tablet but it fails. i dont want to waste more battery so any suggestions are welcomed
Masterchivo said:
Hello i hope you can help me, same mistake but i cant find the correct firmware. originaly it has the android 7.0 ara2, but later i flash the SM-T820 TWEAKED Based on latest stock BRJ1 firmware, and have to flash the oreo bootloader. i tried a uk BRJ1, ARA2 and others from mexico where i buy the tablet but it fails. i dont want to waste more battery so any suggestions are welcomed
Click to expand...
Click to collapse
Are you using the latest Odin? 3.13.1 I think.
Sent from my [device_name] using XDA-Developers Legacy app
recovery is twrp, I can't boot to recovery and charge

Bricked Samsung Galaxy S7 (SM-G930F)

Hi. I have a problem with a bricked Samsung Galaxy S7, SM-G930F (the Exynos one). A bought it a few years ago and let someone root it to play around with it. I got it back recently and it didn't turn on. I had the battery replaced which allowed me to turn it on, to a "no command" message. I got it into recovery mode. I chose "factory reset" to try to bring it back to a working state. That didn't help, so I booted into download mode and was able to flash the latest firmware; I made sure it was the correct one for this model. It would reboot to a screen with the Android logo and a message of "erasing" with rotating arrows on the Android that stopped after a few seconds. If I left it plugged in, it would stay like that indefinitely. If I unplugged it it would turn off within a few seconds. For a while I could still get it to come up in download mode, but now it does nothing no matter which buttons I press. No lights come on when I plug it into a USB charger, although a wireless charger seems to detect it as the charger's red LED comes on. Following advice on this forum for a bricked S8, I left it not charging for 24 hours to see if it would drain the battery completely, letting me try again. That didn't work; no matter how long I charge it or what buttons I press, nor whether it's plugged into the charger or computer or not, nothing happens. There's no way to tell if it is charging. I have evidence that it works since I was able to flash the firmware and that process went smoothly, but I can't get it back to that mode. Any ideas? Thanks.
Re-flash Stock ROM.
jwoegerbauer said:
Re-flash Stock ROM.
Click to expand...
Click to collapse
Thanks for your reply. I flashed the stock firmware before the phone became unresponsive. Now I can't flash anything since none of the buttons have any effect. and the phone is not recognized by my PC.
@Doctor_Perceptron
If you can't access phone by means of Odin then with 99.9% certainty phone's boot-loader is broken. Put phone into e-waste.
If it was a Qualcomm device I'd be able to help you through EDL flashing. Since it's not I do believe your not able to flash it at this point as already said by the user above my reply

Huawei P Smart 2019 pot-lx1 stuck in boot loop, seemingly unrecoverable?

So my mom and I have the same phone, a Huawei P Smart 2019 pot-lx1.
The problem
The phone started doing a boot loop anytime you try to turn it on.
It vibrates and shows the Huawei logo like normal, but after the logo the screen turns dark (not off, just dark, the backlight seems to still be on).
Sometimes after this black screen, a 'recharging' icon is visible in red for a brief moment. It's a red circle with a red lightning symbol in the middle.
It does this regardless of whether it's plugged in or not.
I have no idea what this means because as far as I'm aware, the device can function fine without power (see further down below).
After this black screen or flashing the red recharging icon, it just reboots and does the same.
What I tried
The phone refuses to open Erecovery mode (hold volume up and plug in the device). I have confirmed that this method -should- work since I tried it on my own phone of the same model. In the case of my mom's phone it just shows a black screen like normal.
I can get the phone into fastboot, which is great. It tells you to open HiSuite on your computer, which I do, only for HiSuite to tell me "Your device is not supported for system recovery". Furthermore, any commands that could help me return 'Command not allowed', this is returned from the bootloader of the phone and is NOT an OS permissions issue. I've tried stuff like booting into TWRP or wiping userdata this way but it's simply not allowed.
Regarding the battery, I've tried unplugging the phone while it's in fastboot mode. It just stays on like expected and doesn't turn off, so I don't think the battery has no charge.
From what I gather online, the phone has an FRP lock which prevents you from doing anything that could result in the phone getting a reset. FRP can supposedly be disabled, I've tried dc-unlocker but it simply didn't work, presumably the phone is 'too new' because it wasn't in the model list. (I used detection & then the blue nuke option that said Temp FRP unlock or something like that). There are sites that offer FRP unlock passwords which can be used with 'fastboot oem frp-unlock XXX' but I REALLY don't trust these sites and the prices are expensive.
USB debugging is not enabled and I cannot possibly enable it because the phone will never boot, hence I cannot hop into adb and disable FRP that way or do anything else that adb could. I'm essentially stuck.
I also tried some random things like holding volume up + volume down + power during boot. I have also tried countless times to get into erecovery but it simply will never get to that point.
I also tried downloading the phone's firmware and putting all the files where the UPDATE.app is also located in the 'dload' folder on an SD. I also tried putting an 'update.zip' in the root, but this didn't do anything and I think it's pointless unless you can boot into erecovery.
My mom and dad suspect they damaged something related to charging the phone, either the pins or something inside the device by inserting the charger agressively, is that possible at all? It could explain the red charging icon regardless of battery status, but I'm really not sure.
Same problem!
Hi I have the exact same problem with my huawei. Could you able to solve your problem? If so, could you tell me how?
Thank you in advance.

How to stop device from powering on when charging (Solved)

Hello, I have been searching for a solution without much luck.
Summary:
When the device is off and the charger is connected, the device does a complete boot up (ie: system starts up, goes to home launcher and tablet is completely useable as normal). If the charger is still connected and I try to power off the device, it will turn off and on again (essentially a restart)
Expected behavior:
If the device is off and the charger is connected, the device should do a soft boot and display the battery/charging screen only.
Other notes:
I am on the latest update (Android 11) and rooted with magisk. Tablet has been in use for a few months now. This only started happening recently and I don't recall making any changes.
I tried flashing the latest firmware on top using ODIN (although imaged was patched with magisk and data is preserved) but this didn't help.
I also have tried different chargers/cables and problem remains.
Searching online, I see people trying to power on their devices when connected via charger/USB without much luck. For me, the problem/question is reversed!
Any ideas/suggestions other than a complete/clean wipe with stock firmware?
Thanks
Small update, removing root and uninstalling magisk fixes the issue. Flashing magisk back causes the issue to appear again.
Still not sure why the problem didn't occur before as the device has been rooted with magisk for months now and magisk has not been updated since.
Oh well, I do need root enable so back to the drawing board again.
Success! Flashing TWRP fixes the problem. Still, doesn't explain why the device was working fine for a few months with stock recovery and why it suddenly changed in the last week.
So to summarize in case anyone else is interested on a device using stock Android 11 firmware and the device is powered off:
Magisk with stock recovery: Device will power on when charger/usb is connected.
Magisk with TWRP: Device will run in low power mode and display the charging animation screen.

Categories

Resources