yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy On5 Guides, News, & Discussion] LighthammerX:
Hey kevo150,

You're under a few misconceptions on what was done here. I kind of wish we had a 101 thread to refer you to because it would be better at tackling some of these questions. Considering the nature of this unlock though, I'm unsure one will get created :-\.

Anywhoo, I'll try to answer these as best as I can for you.

1.) The most popular Root Explorer is ES Explorer. A lot of people consider it a *MUST HAVE* app for any android aficionados. You can get it from the play store, but you should probably keep an APK of it handy to sideload for projects like this.

2.) No, he didn't get it from the TWRP website. He got it from the TWRP TMO Restore. When you restore from TWRP, it gives you the option of which partitions to restore. He's saying he restored the EFS and CEFS partitons. That file he's referring to is on my ultimate file dump thread.

3.) EFS and CEFS are in the root directory.

4.) The password he's referring to is the mobile network password unlock. If your EFS is "screwed up", when you boot the phone, it will ask you for the password to log in. This is usually from the EFS folder being corrupt. Properly installed TMO and MetroPCS roms won't ask for the password because they both have each others network passwords in the EFS folder (encrypted). If its asking you for a password, its a sign that things in the EFS folder aren't right. That being said, I found (and didn't write down when I found it) the TMO password, but if the EFS folder is, in fact, corrupt, it will ask you for the password every time you lose connection to a TMO tower.
[Samsung Galaxy On5 Guides, News, & Discussion] LighthammerX:
Thanks to Erdogan, the TMO Firmware file now includes the Bootloader. If you use this zip, please confirm weather or not it works.
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
Baby steps to the RFP fix?

I see that we probably have all of the neccesary files here, I just can't seem to get this back to any kind of functional level, I don't care if it's stock or otherwise - I just want to see my home screen again. I have been digging through xda for an entire day. I have tried several supposed fixes. I really need someone to baby step me through it.

Phone: T-Mobile SM-G550T

Samsung boot screen with "Custom binary blocked by FRP Lock" in red with (vol up+home+power, or just power) See screen 1.

Can boot into download mode (vol down+home+power) See screen 2.

I need steps that involve exact placement of recovery/firmware/etc. files in odin. (which file goes in BL, AP, CP, CSC, PIT, ETC.). I need battery removal timing, and checks and unchecks.

Please help. This is torturing me
[Samsung Galaxy On5 Guides, News, & Discussion] LighthammerX:
To execute the firmware do the following:

#1.) Download the most current version of ODIN (it's in the OP of this thread).

#2.) Download all the drivers and install them (it's in the OP of this thread).

#3.) Download the ODIN Firmware Zip file for TMO or MetroPCS (which ever applies, it's in the OP of this thread) and extract it.

#4.) Put your phone into Download mode.

#5.) Launch ODIN.

#6.) Mount the BL, AP, CP and CSC all at the same time in ODIN.

#7.) Run ODIN.

That should be what you need to get back up and running.

Be advised though, the TMO Bootloader in the firmware zip file is untested. Please let us know if it works!
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
regarding Step 6...

"#6.) Mount the BL, AP, CP and CSC all at the same time in ODIN."

I have 5 files in the zip (I have t-mob, so I used the last one TMO). This one:

StockROM - G550T1-TUVU1APF1 (TMO)

I unzipped it. Inside are the following files:

AP_G550TUVU1APF1.tar.md5

BL_G550TUVU1APF1

CP_G550TUVU1APF1.tar.md5

on5ltetmo.pit

OPT_G550TUVU1APF1.tar.md5

Which one is the CSC? Do I need to do anything with the pit file? Baby steps. Thanks.
[Samsung Galaxy On5 Guides, News, & Discussion] LighthammerX:
PIT and OPT you don't need. These are advanced files.

CSC probably isn't needed either. The CSC is specialized customization options. You might actually be better off without it.

Flash BL, AP and CP and you should be fine; though, again, be advised that the BL is untested. I can't physically test it because I dont have room to back up my phone completely =( (damn the lack of an ext SDcard).

Otherwise, you seem to have the right firmware.

Let us know how it goes!
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
Failed. :(

See pics and Log below. Any suggestions?

Log:

<ID:0/003> Added!!

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/003> Odin engine v(ID:3.1203)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Get PIT for mapping..

<ID:0/003> Firmware update start..

<ID:0/003> SingleDownload.

<ID:0/003> param.bin

<ID:0/003> sboot.bin

<ID:0/003> boot.img

<ID:0/003> FAIL!

<ID:0/003>

<ID:0/003> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)
[Samsung Galaxy On5 Guides, News, & Discussion] LighthammerX:
Yea, looks like you did what you needed to. Unsure if its the BL having problems or if you're having other complications.

Have you been able to install TWRP on your On5?
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
Prior to this FRP thing, yes. I had TWRP installed, had root, etc. The problem started when I tried attempted to adb in and set up adaptable storage.

http://www.androidcentral.com/inside-marshmallow-adoptable-storage

Reboot, then fukd. :(
[Samsung Galaxy On5 Guides, News, & Discussion] LighthammerX:
Try running the same process using the MetroPCS Firmware then.

We have a restore you can use to get you back to TMO once you have TWRP access.
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
See captures It kinda worked. It passed instead of failed on odin. However, I still have my frp lock. So it really didn't make a difference. :(

Any other suggestions?
[Samsung Galaxy On5 Guides, News, & Discussion] LighthammerX:
After you use ODIN to get the MetroPCS Firmware on, try using the TWRP Firmware through ODIN.

Once you're in TWRP, you should get a prompt to fix permissions permanently.

That *SHOULD* get you around your FRP lock.
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
So I did the process again in Odin with the metro files (with auto re-boot unchecked), then I immediately flashed the odin flashable TWRP "TWRP Recovery v3.0.2.0 (on5ltetmo)" in the odin PDA position. It took a REALLY long time to flash this TWRP recovery file, like 15 minutes, but it failed.

I'm all ears, and I really appreciate you taking the time to help me on this. This is really a bummer. I just got this phone. I can't believe I bricked it within a few days. All I wanted was a standard 6.0.1 feature to work.

Here is the log:

<ID:0/003> Added!!

<ID:0/003> Odin engine v(ID:3.1203)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Can't open the serial(COM) port.

<OSM> All threads completed. (succeed 0 / failed 1)
[Samsung Galaxy On5 Guides, News, & Discussion] LighthammerX:
NV Tools might do the trick.

Download:

Samsung USB Driver v1.5.59.0

EFS Professional

First off, TWRP should take a few seconds to flash. If it takes longer then 2 minutes, there are permission issues.

You might also need the Generic ADB Android Driver.

You should be able to use EFS Professional, though, fair warning, EFS Professional HAS NOT been updated for the S7 generation of phones yet, the app is a little hit or miss.

#1.) Install the above drives

#2.) Boot the phone into Download mode

#3.) Launch EFS Professional.

#4.) From the EFS Menu, go into EFS Professional

#5.) Go to the Samsung Tools Tab

#6.) Under Other Tools try "Repair NV Data File Permissions".

Fair warning, this is kind of shooting at random targets; I'm not wholly sure you'll be able to use this tool to get back online, but in theory it will.

You can also try changing from Factory Mode to User Mode from the other Tools Menu, but I've only been able to successfully do this while fully booted.

Another option might be to use ODIN to flash the Factory Restore onto your phone too. That might get you on the right track. If that works, you'll need to REFLASH the MetroPCS package and then TWRP again.

I checked to see if I could pull the official firmware off Samsung's site again and its still not up. The only thing the site has right now is the open source kernel and platform.

The trick to getting the FRP lock off is really being able to get TWRP to stick on the phone so you can use fix permissions from the app.

Something else to keep in mind is Cyanogenmod's community (which is largely the XDA community) is working on a rom for this phone, but there's no telling how long it will take for them to get one up. I'm HOPING by early to mid October. I tried building a rom for Cyanogen myself, but there's too many unknowns about this phone still I hit a brick one. There's some hope they'll have a solution SoonTM but that's obviously not something I'd recommend waiting for.

That's a few things to try. I hope they either work or it puts you on a viable trajectory. If none of this helps, feel free to report back to the thread and I'll gladly keep thinking of solutions and perhaps someone else in the community will have a solution.
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
I repeated this process above (METRO files then TWRP) with a different version of Odin with slightly different results.

1. The TWRP recovery install did not "hang" this time, but it still failed.

2. I had not noticed this before, but the download screen changes when I attempt to flash recovery. It adds the message "Custom Binary (RECOVERY) Blocked By FRP Lock" in green letters with a black background. See Screen caps and different log.

<ID:0/003> Added!!

<ID:0/003> Odin engine v(ID:3.1205)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Get PIT for mapping..

<ID:0/003> Firmware update start..

<ID:0/003> SingleDownload.

<ID:0/003> recovery.img

<ID:0/003> FAIL!

<ID:0/003>

<ID:0/003> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
EFS Professional does not like my phone apparently. See attached. "Device not connected" even though Odin can see it. Installed both of the driver packages.
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
Where would I find my MSL/SPC number if I can't get into the phone? I cant seem to find this online.
[Samsung Galaxy On5 Guides, News, & Discussion] LighthammerX:
If its not connecting, EFS Professional has insufficient privileges to get in to do anything. That makes that a dead end for now, sadly.
[Samsung Galaxy On5 Guides, News, & Discussion] LighthammerX:
Check this out:

https://www.youtube.com/watch?v=tPiOVuDGrUo

I do have that tool listed on the first page, but I personally hadn't had any success with it. I kept it around because it looked like a good tool.
[Samsung Galaxy On5 Guides, News, & Discussion] JustinDGlasgow:
I cant get an ODIN flashable firmware for TMO from the links. When I download the ODIN flashable link it doesnt contain any of the correct files. It appears to have the TWRP files inside. Can someone please help if im mistaken

It seems I should have:

AP_G550TUVU1APF1.tar.md5

BL_G550TUVU1APF1

CP_G550TUVU1APF1.tar.md5

on5ltetmo.pit

OPT_G550TUVU1APF1.tar.md5

Instead when extracted the zip contains:

boot.emmc.win

cache.ext4.win

and so on etc

........

it looks like the twrp version, thanks
[Samsung Galaxy On5 Guides, News, & Discussion] LighthammerX:
These are flashable through ODIN, not TWRP.

You need to flash BL, AP, and CP during the same session.

The Bootloader (BL) is untested though. We had one member say it didn't work so far but I'm also waiting to hear from a few more people till I say its absolutely no good.

The MectroPCS Firmware is confirmed working, but if you're on TMO, you'll have connection issues unless your phone is unlocked; however, you can use the MetroPCS Firmware to get TWRP on your phone and then use the TWRP TMO restore; just be sure to not restore the EFS folder when you restore.
[Samsung Galaxy On5 Guides, News, & Discussion] biwo:
i tried this step by step and when i try to restore with TWRP the zip file is not showing, i tried doing it with Install and get error and when i click on restore the file is not showing.
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
I got it working!!! I'm not sure how, but I know that the last thing that I did was flash the JST the CSC from Metro via odin, then it rebooted past the red letter screen! I would to replicate it, but I am scared that it will happen again. I tried bits from this thread.

http://xdaforums.com/android/help/samsung-galaxy-on5-metropcs-sm-g550t1-t3439557

The only problem now is that I can't use the phone with my t-mobile sim card. It won't connect to anything by my wifi. Any suggestions?

I might just do a TWRP restore.

Thanks for all the help.
[Samsung Galaxy On5 Guides, News, & Discussion] biwo:
i have the same trouble here, i had my phone rooted and turned off the OEM unlock and got the FRP message and now im reading all over to try and fix this. i flahed the metro firmware and also the tmobile twrp but now according to what other member says i cant restore the tmobile firmware via the twrp because it doesnt show up when i click the restore button
[Samsung Galaxy On5 Guides, News, & Discussion] LighthammerX:
MetroPCS Firmware to TMO Recovery is how I got things working too.

The only thing that sucks about this is if you're a little less aware of your "surroundings", it's possible to perma softbrick your phone by killing your EFS Folder. That can't be recreated with the current set of tools.

I'm glad you guys got things working and that this thread helped =).
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
I'm sorry, can you elaborate on how I can avoid this? How would I kill my efs folder exactly>

---------- Post added at 08:26 PM ---------- Previous post was at 08:23 PM ----------

I found a solution for this. I have yet to try it, so I can't support it. It seems that because (the current installation) of twrp never made it, that it can't restore it. So you have to "trick it" into seeing the file.

Also, there is a TWRP stock backup that somebody uploaded SOMEWHERE on XDA, but I can't find it now. It might work with the technique linked below.

http://androidforums.com/threads/verizon-solved-twrp-cannot-find-backup.654751/
[Samsung Galaxy On5 Guides, News, & Discussion] biwo:
thats what im gonna try right now, i will post in a couple minutes and let you know if it works.

update:currently restoring followed the steps on the link you provided so that the TWRP could see the zip file and its going ok so far, it should finish soon. will update this asap.

---------- Post added at 04:35 AM ---------- Previous post was at 04:29 AM ----------

for members that when trying to restore via TWRP and cant see the zip file read the following link and it will work

http://androidforums.com/threads/ver...backup.654751/

right now im restoring and i will update asap and let you know if ti worked or not. so far it looks ok

ok my phone rebooted and i heard the tmobile sound and i am setting up my phone from start, hope everything is ok and no issues with it.

almost done setting up my phone and so far so good, this is a great phone just the internal memory is small, this all started when i installed luckypatcher to move those non-movable apps to sd card and i turned off the OEM unlock and been on this for hours, hopefully this will fix it and we can help other members
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
If it works, please post the exact process you used. Like, what files get moved, etc.

For example, my exact path for my "new" backup is...

SM-G550T1\Card\TWRP\BACKUPS\4200fa40da5773d1\2016-09-25--22-20-31_MMB29K.G550T1UVU1APF1

Did you just replace the files from your old backup files in that final folder? (boot.emmc, data, etc?)
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
Seems to me like every imstruction set should contain the phrase !!!☆☆DO NOT TURN OFF OEM UNLOCK EVER EVER EVER. NOT EVEN ONCE.☆☆☆!!!!!!!!!
[Samsung Galaxy On5 Guides, News, & Discussion] biwo:
finished setup and it cant read my sim card, any suggestions?

---------- Post added at 04:59 AM ---------- Previous post was at 04:56 AM ----------

yes, i had to do a backup with the TWRP then i placed the rom in that folder so now it shows when i click restore but it cant read the sim card
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
Seconded.
[Samsung Galaxy On5 Guides, News, & Discussion] LighthammerX:
Either you corrupted your EFS Folder or you're running the wrong package for your carrier.

If you're on TMO, you have to *END* with the TMO TWRP Recovery file.

If you're on MetroPCS, you have to *END* with the MetroPCS Firmware.

The opposing 'package' won't work on the opposing carrier UNLESS your phone is unlocked.

If your EFS folder has become corrupted, you may be S.O.L. --- However, look in this thread for my instructions of how to use EFS Professional to try to recover your EFS Folder.

http://xdaforums.com/showpost.php?p=68834839&postcount=39

Also, please try not to quote the ENTIRE Second post. Its rather long and will cause the thread to quickly become harder to read.
[Samsung Galaxy On5 Guides, News, & Discussion] biwo:
i saved that file on the sd card before doing this, hope that works. imma try the twrp you uploaded and see if it works

currently restoring the firmware with your file in your guide, hope this one works this time

all finished and still no sim card, gonna try the post you gave me and see if that helps,
[Samsung Galaxy On5 Guides, News, & Discussion] biwo:
do a backup first wit TWRP then put the tmobile twrp backup in the last folder it will be in your sd card twrp-backups-ect-ect-

hope you dont get the same issue as me, the sim card wont show up so only works with wifi now. trying to do the EFS professional but it says devices not connected now
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
But light hammer says you can't END with an opposing service. Isn't this what he meant would NOT work??? I'm confused. I don;t want to attempt this file transfer in structure technique if it is going to mess up anything.
[Samsung Galaxy On5 Guides, News, & Discussion] biwo:
i flashed the metropcs firmware then the tmobile twrp then backup
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
And that worked???

1. You had (same as me right now) your TMOB phone running the METROpcsd firmware.

2. You flashed the Lighthammer's posted "#14.) Download the T-Mobile TWRP Backup " in TWRP (just like you would a cu...up?

If so, do you even need to do step 3???
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
I need to flash the MetroPCS firmware again? It is already on my phone. If I don't need the backup (to restore) that you're saying you can't see on your SD card, then I'm not gong to bother. All I want is a clean T-mobile installation.

I'm going to hit the sack, and then see if lighthammer can chime in later.

1. I found my EFS folder in the root of my phone via EFS. I went to back it up on my computer, but it looks empty to me. So...?

2. What do I do next? Can I just flash the file from #14? "StockROM - G550T1 - UVU1APF1 v6.0.1 (TMO).zip"

Do I need to flash the MetroPCS firmware again? If I don't need the backup that you're saying you can't see on your SD card, then I'm not gong to bother. All I want is a clean T-mobile installation.
[Samsung Galaxy On5 Guides, News, & Discussion] biwo:
you only need to install it one time with odin then use twrp to flash the tmob zip from the recovery folder
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
OK. I downloaded the apk for root explorer, installed it and looked in the phone's root/efs folder, and it is most definitely NOT empty. I have it backed up on both the SD card, and on my PC. I just need to know what to do now. I lfeel like I am missing a step from the second post.

Status... I have a t-mobile phone that is masquerading as a MetroPCS phone that is (I think) no longer showing FRP lock symptoms, it is rooted, and I have backed up the EFS folder. What step am I on from the second post? Also...

Shouldn't there be a step in between #17 and #18 where you TWRP flash the t-mobile file from #14???? "StockROM - G550T1 - UVU1APF1 v6.0.1 (TMO).zip"

I'm seriously sorry if I am being a bonehead here. I just don't want to miss anything. I have shell shock from this whole FRP boolsh1t.
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
On the s3 there was a dialer code that took you to a menu. (The menu where 4.1 roms could carrier unlock for free) and they had an option for nv rebuild. This would fix the gps and all sorts of issues when switching from touchwiz to aosp and cm builds. Has anyone tried any of that? Might help, might not. Im good over here so I aint tryin it!!

---------- Post added at 04:09 PM ---------- Previous post was at 04:06 PM ----------

Nvm. The code is *#197328604# but it does nothing on this phone.
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
most of these dont work. i just tried a bunch of them.
[Samsung Galaxy On5 Guides, News, & Discussion] biwo:
i was looking up how to fix the EFS folder because i had the unknown band in my phone but right now as i was reading some sites i looked at my phone and it works now, its tmobile, it just works again. all i did before was to intall "root exporer" and made a backup of the EFS then tried to delete it like on a site and it gave me error and then it worked.

this is the site i was gonna try and use but i couldnt delete the EFS folder like it said.

http://www.androidrooting.org/how-to-recover-your-phone-when-you-have-lost-your-imei/
[Samsung Galaxy On5 Guides, News, & Discussion] LighthammerX:
Sounds like you deleted "enough right parts" as the phone was adding data it worked.

I don't know if we have a full understanding how the EFS folder works. A lot of it is encrypted.
[Samsung Galaxy On5 Guides, News, & Discussion] biwo:
im so happy it works now, needed my phone asap. hope i can help others get their phone working again. thanks for the help and you time to make this thread.
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
Awesome! So just to be clear of the steps for right now. Remember, I was in the same place as you! I have everything backed up.

1. Boot into Odin, flash metroPCS Firmware update (BL, AP and CP files AT THE SAME TIME) with not auto-restart.

2. Battery out. Battery back in.

3. Boot into recovery, Flash T-MO Rom: (StockROM - G550T1 - UVU1APF1 v6.0.1)

4. Re-boot.

YES????? :)
[Samsung Galaxy On5 Guides, News, & Discussion] biwo:
yes, after you flash TWRP into the phone go into it and backup your phone so it creates the backup folder then go to the last folder and place the TMO TWRP backup there then go back to main screen on TWRP and select, RESTORE and it will show the TMO TWRP backup zip.

you might get the unknown band thing like i did.