Hi,
Okay, I hope this method can help you, so you don’t have to go through the tedious process I went through to fix this fpr lock problem, I personally tried a lot of methods described in forums and finally was able to fix this problem, so I hope this works for you too and you don’t have to spend a lot of time looking for a solution to this problem.
I used this method on my galaxy a5 2016, but I think it will work on other Samsung phones as well if you download the right stock rom for it.
Warning: if you are a newbie, please read through this entire post once before attempting to try it out. It’ll only take a few minutes but at least you’ll know what you’re doing.
since i'm a new user i'm not allowed to post outside links so i'll put spaces between my links to be able to post them.
So I had the same problem as a lot of other guys, I had rooted my Galaxy A5 Sm-a510-fd through CF-Auto-Root, Everything was working fine, But Since I didn't know about OEM Unlocking & FRP Lock (Factory Reset Protection), I Logged Into my google account in my phone, and after restarting my phone after installing an app, my phone showed a red small text at the top left corner of my screen saying "custom binary blocked by fpr lock", now keep in mind I had enabled usb debugging and oem unlocking before but since I logged into my google account, apparently google had disabled the oem unlocking, hence this message.
Now I tried a few methods like a method where someone had said to go into download mode (Hold Volume down + Home + Power) and then pressing the volume down (cancel) instead of volume up (continue) and after the restart the phone for some reason wouldn't show this message again (weird), some had tried this in that forum with success but it didn’t work for me, so first try this see if it works for you, then I tried to flash a new stock rom but I got the same frp lock message in download mode as well, then I tried a few other method which didn’t work and I don’t even remember them (I’m a newbee, and I was confused by all the articles I had read and all the method I had tried so I don’t remember a lot of them, and a few of them may have worked but needed to remove the battery but in galaxy a5 battery isn’t removable), but the method which finally worked for me was this (It was posted in gsmhosting . com by zishhaider user):
1. Download (A510FXXU1AOL1 02.12.2015) from samsung-updates . com/device/?id=SM-A510F or from sammobile . com/firmwares website.
2. Remove .md5 at the end of stock rom you downloaded, extract the .tar file with 7zip to a folder, delete cm.bin and sboot.bin from this folder, open 7zip file manager from you installed program list in windows, navigate to the folder, choose all remaining files, click add, choose tar as archive format and and click ok to compress the files again into a tar format (a better method to re-pack these files into a tar ball is by using a software called unified android toolkit described at the end of this post).
3. Download and install the latest kies from Samsung (it will automatically install the latest usb drivers for your phone) and I recommend restarting your computer after installing kies.
4. Now go to download mode (Volume down + Home + Power >> Volume Up) , Download odin 3.10.7 or newer if available at the time of reading this post, right click on odin and run as administrator, now connect your phone to your computer with the usb cable preferably coming with your own phone, now if you have installed the drivers (from kies software) and if the cable is working and usb debugging is enabled, odin should detect your phone and show <ID:0/003> added in the message section (the number 3 isn't important, it depends on which usb port you use), now check the options tab to make sure only Auto Reboot and F. Reset Time are checked (by default these 2 are always checked, make sure Re-partition is unchecked). I recommend waiting a minute or two to make sure your phone and odin have recognized each other fully and usb drivers are fully installed.
5. Click on AP and browse to the location where you compressed the rom files and choose it, now to begin flashing this stock rom, just hit start.
6. When ODIN is done, you should see a box that will say reset or passed (depending on which version you have, you may see either or both.). At this point it is ok to remove your device.
ODIN has completed the flash, and by now, the device should be going through the reboot screen, if it works for you as it did for me you won't get the frp lock message again.
Any problems, try these few things: Update Drivers, and restart your PC; Different cables; Different USB ports.
Just a tip: If you are in download mode and you want to restart or turn off your phone for any reason and you have an unremovable battery like me, in download mode hold Volume down + Power for 10 to 20 seconds to restart your phone, now if you want to turn it off completely, after the restart hold Volume up + Home + Power to go to recovery and from there choose turn off.
-------------------------
After this process your phone should boot and the red little text saying “custom binary is locked by frp lock” should disappear. But since you flashed your phone after you removed cm.bin and sboot.bin your phone will be slow and you will aslo, still have to bypass the frp lock from google inside your phone, to do that I will give you a link to youtube from rootjunkey which explains it best how to bypass this frp lock inside the phone, or if you have the user and password of the google account you had previously logged in with to you phone, you can enter those and when asking to backup your previous apps choose "treat this phone as a new device" because you don’t want to install the apps just yet and you’ll have to flash your phone one more time with the complete stock (including cm.bin and sboot.bin). after entering your phone either by logging into your google account or bypassing the google acounot login screen, go to settings >> about >> software info and hit build number several times to enable developers options, then go to developers option and enable usb debugging and the damned oem unlock, and from now on before restarting or turning your phone off check to see the goddamned oem unlock box is on.
www . youtube . com/watch?v=JzywoFS_r9U
www . youtube . com/watch?v=DJ8_qbj1DPQ
Now after I did all these things I tried to flash the whole stock rom I had downloaded but I got the message “sw .rev binary check failed device 2 binary 1” and I think the reason I got this was beacase I had flashed many other recovery and roms before and I had screwed up my bootloader version and my phone didn’t recognize this rom as the right one for my phone, I downloaded a few more roms from my own country (Iran) and each time it either gave me this message or failed because it was stuck in flashing either hidden.img or sboot.bin or … . so what I did was a method I learned from someone in a forum (I don’t remember which forum), I’ll post a picture of that method and explain a little bit about the steps or modifications I made. And before using this method, download unified android toolkit, just google and download it, you’ll need it for this method.
link to the image:
s7.picofile . com/file/8250224492/Galaxy_S6_NAND_Write_Start_Fail_Fix.jpg
this software creates a folder in the root of your operating system drive (c Drive in my case) named Unified_Android_ToolKit, inside it you will find an input and an output folder, put the files you want to re-pack into tar files in the input folder, follow the instructions (99, 8, 1, 3) and your resulting files will be saved in output folder.
So the modifications I made to that method was:
The order I followed in flashing was as follows:
- AP: Boot/Recovery/System : these are the main system and recovery files and have the biggest size.
- CRC: Cashe/Hidden : This is some country code used for the region to flash the ROM against, XE is Europe, AU is Australia, and so on, this part can throw you off, its more then for tracking what region this is based of, in terms of localization and language support. And more importantly, for Kies to recognize the region and to determine if there's firmware update available. It is quite possible to have a CSC that can be limited to one country.
- CP: Modem
- BL: cm/sboot : Your bootloader
This is the order I followed and as you can see I chose all buttons and their corresponding files instead of choosing all of them with AP. Each one of these buttons re-writes the corresponding file into it’s previous partition in your phone.
Also I flashed boot.img first, restarted, flashed recovery.img, restarted, and so on, except for the cm.bin and sboot.bin which I repacked with unified android toolkit into one tar ball instead of 2 tar file, and flashed them together, to do this all you have to do is put these 2 together into the input folder and select 99, then 8, then 2, then yes.
finally I decided to try using Samsung smart switch (which I had tried but didn’t work before) to try to flash a stock rom once again to make sure everything is back to normal, but it still didn’t work and froze just like before, so I decided to use kies and it worked, even though smart switch is newer I believe kies is still better, so I recommend you use kies to update your firmware one more time using this Samsung tool, especially if the previous method still didn't fully work or if your baseband version or IMEI is unknown. To do that after enabling usb debugging, open kies, connect your phone to your computer, unlock your phone screen if it is locked and wait for kies to recognize your phone, if it said kies does not support your device or try smart switch just ignore it, it’s okay even if it doesn’t recognize your phone, just go to tools and choose firmware upgrade and initialization, now enter your model number (Upper-case), then serial number, both are on the box of your phone, sn is also behind your battery or at the back of your phone if your battery is unremovable, follow the instructions, at one point you’ll have to disconnect the cable, turn off your phone, go into download mode and conncet the cable again and then hit update to update the downloaded firmware. This time if everything goes right your phone may work even better and faster than before just like it did for me.
one last thing: I had screwd up my phone so badly that my baseband and IMEI was unknown and I couldn’t make any calls, and what’s worse I hadn’t backed up my efs folder, so I tried a few methods to solve this and finally decided to use kies, kies hadn’t worked before but this time it worked and restored everything to normal.
Now this time after i fixed my phone, I have backed up my efs folder, and my stock rom from clockworkmod recovery, and I have also set up a Microsoft/Samsung drive, google drive and dropbox account and installed some software to backup every contact, message, and app I have to the cloud in case sth like this happens again, I learned my lesson, I hope you do the same.
Developers, please correct any mistakes I may have made explaining this method, I am a newbie and these are what I learned in just 2 days of reading many forums and applying them to solve my own problem, so I may be wrong in some of these, so before people try this method out correct all the mistakes I may have made so people don’t brick their phones. Thank you
I hope this was helpful, thanks for reading, sign out.
quick question, when i try to flash the modified .tar rom a message appears saying: "custom binary(boot) blocked by frp lock"
but without i cant activate developer options and OEM unlock. i cant use my phone atm
edit: phone is a510f
After removing the 2 files from tar, I was able to flash OK.
But after flashing, my phone is stuck in bootloop - it shows Samsung Galaxy A5 and restarts, continuosly.
---------- Post added at 09:09 AM ---------- Previous post was at 09:08 AM ----------
After removing the 2 files from tar, I was able to flash OK.
But after flashing, my phone is stuck in bootloop - it shows Samsung Galaxy A5 and restarts, continuosly.
Thanks, this helped my friend he is a n00b
This does not work with 6.0.1
Just for anybody who has that version, dont waste your time downloading 5.1.1, it wont work if you already in 6.0.1
Why should oem unlocking automatically turned off
This actually applies to all Samsung phones...
But, use the right firmware and flash it using Odin.
Side note:
To activate Developer options, tap Build number 7 times on About phone settings. Then, open Developer options and activate OEM Unlock.
You should ready to go flashing everything. Happy flashing!
AlokAk said:
Why should oem unlocking automatically turned off
Click to expand...
Click to collapse
OEM Unlock is turned off by default for Factory Reset Protection (FRP) feature to work properly.
Sent from my ASUS_Z00AD using XDA Labs
Is there any way by which i turned on OEM UNLOCKING permanentaly..
I have also rooted my A5 2016 by cff auto root.it rooted But after restarting it shows custom binary blocked by Frp lock. I have submitted this phone to samsung care. They fix it.
Now my phone is okk .
But no root access. Now I am not dare to root it by cff auto root
Is there any other way to Root my Galaxy A5 2016 Marshmallow (6.0.1) that after rooting it works without any problemm, if anyone could help me please.
Thanks in Advance
Which country's firmware i download for my galaxy A5 2016 ( SM-A510FD ) INDIA region.
On Sammobile website there is no firmware for india region.
Please tellll
AlokAk said:
Which country's firmware i download for my galaxy A5 2016 ( SM-A510FD ) INDIA region.
On Sammobile website there is no firmware for india region.
Please tellll
Click to expand...
Click to collapse
You could try to find it on Updato.
Sent from my ASUS_Z00AD using XDA Labs
No firmware for India region infact it only shows four region in filter region section
samsung a5 2016 SM-A510FD firmware fail any [Q-call 9041634416 i help you better
orion7i7 said:
Hi,
Okay, I hope this method can help you.
Click to expand...
Click to collapse
tx You saved my phone life
It works also with other software not only old one
não da certo comigo
no meu galaxy a5 deu essa mensagem mas coloco no modo download mas ele não aparece no ODIN pois não reconhece o cel pelo pc e agora ???
Fwatech said:
no meu galaxy a5 deu essa mensagem mas coloco no modo download mas ele não aparece no ODIN pois não reconhece o cel pelo pc e agora ???
Click to expand...
Click to collapse
The same thing happened with my phone.
After this message "Custom recovery blocked by FRP lock", the boot does not go ahead and in the download mode is not recognized by the pc.
I can not solve this :crying:
danjercm said:
and in the download mode is not recognized by the pc.
Click to expand...
Click to collapse
1) Have you installed USB drivers?
2) Have you tried other cables?
3) Have you tried different OSes, Odin versions, etc...?
Sent from my Redmi 3 using XDA Labs
krasCGQ said:
1) Have you installed USB drivers?
2) Have you tried other cables?
3) Have you tried different OSes, Odin versions, etc...?
Sent from my Redmi 3 using XDA Labs
Click to expand...
Click to collapse
Hi
thanks for answering
1) Yes, I installed the most up-to-date version of the samsung driver (SAMSUNG_USB_Driver_for_Mobile_Phones_1.5.63.0)
2) Yes, I tried 5 different original cables
3) I tried with 6 different versions of Odin, on windows 7, 8.1 and 10.
so I researched google, the only alternative is to do a procedure called JTAG, but still had hope of being able to solve without having to open the device
If anyone has a suggestion, I'll appreciate it.
Thanks
Many thanks
Me and my A5 want to thank you a lot. You saved his life I don't have to use my Wiko View :silly: anymore
Not simple is write combination firmware to the phone, then enable usb debugging and then just write firmware that not erase user data and cache and use free sw or adb command(this work not depend on software in the phone) to unlock the phone.
Simple software is here and the manual.
http://www.hardreset.info/FRP-Unlocker/
Thank you so much dude! I've searched the internet for 2 days and then this post came by so I decided to read and do it because I had nothing to lose and hell yeah it worked! THANKS!
I rooted my my few weeks ago with snapdragon root, and yesterday I realized that some apps kept crashing, so I rebooted my phone, but it stucks at Tmobile logo. So I opened up smart switch on my pc, tries to restore my phone, but it said that : SM-G930T does not support initializing. It's confusing since I restore using smart switch before, but I downloaded stock firmware from xda forum, and flashed with odin. And it shows sw rev check fail device 4, binary 3. And it boots in to recovery mode everytime I forced to restart. btw, it says dm-verity verification failed. What can I do to fix this? Thanks for any suggesions.
i had the same problem with my s7 SM-G930T
JokerCat233 said:
I rooted my my few weeks ago with snapdragon root, and yesterday I realized that some apps kept crashing, so I rebooted my phone, but it stucks at Tmobile logo. So I opened up smart switch on my pc, tries to restore my phone, but it said that : SM-G930T does not support initializing. It's confusing since I restore using smart switch before, but I downloaded stock firmware from xda forum, and flashed with odin. And it shows sw rev check fail device 4, binary 3. And it boots in to recovery mode everytime I forced to restart. btw, it says dm-verity verification failed. What can I do to fix this? Thanks for any suggesions.
Click to expand...
Click to collapse
I had the exact same problem with my phone which is the same model as yours, and after almost 2 days of surfing in the internet like crazy and trying all the diferent programs I found the solution.
1. first go to this video youtube,com/watch?v=RSZiVxJyFb4 (I cant post links so I will substitute the dot in "DOT COM" by a comma)
2.Download the firmware and Samsung drivers in the link in the video which is pangu.in/samsung_firmware.html skip thru the pages until you find your model(this link will download the drivers and a notepad with the link to the actual firmware download page which is sammobile,com/firmwares/
3. type the model number in the search bar (SM-G930T) and select the first one in the list and download it(note: you will need to create an account in this page in order to download the firmware but its only put your email and choose a password so it shouldn't be a problem. extract the firmware after downloaded.
4.Download the version of odin that is linked in the video link: pangu.in/odin_tool.html . Scroll down a lil bit and download the one that says "ODIN 3.11 (GALAXY S7)"HAS TO BE THIS ONE other versions wont work. extract it.
5.After you have downloaded everything(make sure you installed the drivers if you haven't done before) proceed to run ODIN with your phone unplugged from your pc and turned off
6.Load the AP file from the extracted firmware file into the AP tab you will see in ODIN(do all this with your phone UNPLUGED from the PC.
7.Now put your phone(which should be off and disconnected from the PC) into download mode[hold vol down+home+pwr button
then you will be aske to press button up to continue, do so(you probably know how to do this but I said in case other people don't)
8.connect your phone onto your pc and you should see your device show up in odin, now click start and you should be good to go
I hope it works for you since I know how frustrating it is to have such and expensive phone bricked.
juanernestous said:
I had the exact same problem with my phone which is the same model as yours, and after almost 2 days of surfing in the internet like crazy and trying all the diferent programs I found the solution.
1. first go to this video youtube,com/watch?v=RSZiVxJyFb4 (I cant post links so I will substitute the dot in "DOT COM" by a comma)
2.Download the firmware and Samsung drivers in the link in the video which is pangu.in/samsung_firmware.html skip thru the pages until you find your model(this link will download the drivers and a notepad with the link to the actual firmware download page which is sammobile,com/firmwares/
3. type the model number in the search bar (SM-G930T) and select the first one in the list and download it(note: you will need to create an account in this page in order to download the firmware but its only put your email and choose a password so it shouldn't be a problem. extract the firmware after downloaded.
4.Download the version of odin that is linked in the video link: pangu.in/odin_tool.html . Scroll down a lil bit and download the one that says "ODIN 3.11 (GALAXY S7)"HAS TO BE THIS ONE other versions wont work. extract it.
5.After you have downloaded everything(make sure you installed the drivers if you haven't done before) proceed to run ODIN with your phone unplugged from your pc and turned off
6.Load the AP file from the extracted firmware file into the AP tab you will see in ODIN(do all this with your phone UNPLUGED from the PC.
7.Now put your phone(which should be off and disconnected from the PC) into download mode[hold vol down+home+pwr button
then you will be aske to press button up to continue, do so(you probably know how to do this but I said in case other people don't)
8.connect your phone onto your pc and you should see your device show up in odin, now click start and you should be good to go
I hope it works for you since I know how frustrating it is to have such and expensive phone bricked.
Click to expand...
Click to collapse
Thanks alot! I fixed it somehow, I reflash the root ap file, and it works
I never EVER post in these chats/forums, but you, whoever you are, you are a life saver. Thank you, THANK you, THANK YOU so much. it worked like a charm on my t-mobile SM-G930T
Hi, this is my first post on this forum. Thanks for helping me. I apologize if my english isnt the best.
I have this model: SM-G925W8. but im stuck in the blue screen that said that i have to use smartswitch to fix it. But in smartswitch, i need the S/N, and i dont have the box and my phone dont have it in the back. What can i do? Thanks for answers :good:
ItsAj said:
Hi, this is my first post on this forum. Thanks for helping me. I apologize if my english isnt the best.
I have this model: SM-G925W8. but im stuck in the blue screen that said that i have to use smartswitch to fix it. But in smartswitch, i need the S/N, and i dont have the box and my phone dont have it in the back. What can i do? Thanks for answers :good:
Click to expand...
Click to collapse
- Unzip SamFirm
- Copy all SamFirm's file in a new folder
- Launch SamFirm.exe
- Write the parameters like in the "picture 1"
- Unzip the the file SM-G925W8_1_20170825144427_9dzo3tq8md_fac.zip.enc4
- Install Odin and put the phone in downloading mode
- Put the file accordingly in Odin
- Flash
dinamo1975 said:
- Unzip SamFirm
- Copy all SamFirm's file in a new folder
- Launch SamFirm.exe
- Write the parameters like in the "picture 1"
- Unzip the the file SM-G925W8_1_20170825144427_9dzo3tq8md_fac.zip.enc4
- Install Odin and put the phone in downloading mode
- Put the file accordingly in Odin
- Flash
Click to expand...
Click to collapse
How i put the file "accordingly" in Odin? Do you have an example? Thanks
And what happen if something goes wrong? Like if odin tell me it falied?
ItsAj said:
Hi, this is my first post on this forum. Thanks for helping me. I apologize if my english isnt the best.
I have this model: SM-G925W8. but im stuck in the blue screen that said that i have to use smartswitch to fix it. But in smartswitch, i need the S/N, and i dont have the box and my phone dont have it in the back. What can i do? Thanks for answers :good:
Click to expand...
Click to collapse
You have to reinstall the correct firmware for your device.
Flashing Guide:
first download a correct firmware for model of your device(Go to setting>About phone>Model Number(it starts with SM) from www.updato.com or www.sammobile.com and then put it on you computer. then download ODIN PC version.
after downloading them charge your device over 60 percent and then conncect it to the pc.
then power off your device and hold Volume down + Home button + Power button together after that a page will be shown then Press Volume + to Confirm.
Run Odin and unzip the firmware that you have downloaded it(the file extension is .Tar) then click on AP on ODIN and select the firmware file wait for few minutes to file is being read.
Make sure that Auto Reboot is selected and Re-partiation is deselected then start the flashing after that you will get a message(Done with Green Color)
to asure your device has been inserted to ODIN the top of Odin color will be changed to Blue.
Be careful,Odin its a powerful software and if you dont know about flashing dont use it. It may cause to your device to be instable/.