yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
OK. It worked!!! This is what I did. ( I am not responsible for sh1t if anyone does anything bad to anything, ever)

1. Boot into DL mode (power+down+home) and connect to odin, flash metroPCS Firmware update (BL, AP and CP files AT THE SAME TIME) with auto reboot unchecked. Let it finish to "RESET"

2. Battery out. Battery back in.

3. Boot BACK into DL mode, connect to odin. Flash TWRP recovery with auto reboot unchecked. (Not sure why it would not do it at the same time after step 1, but whatever)

4. Battery out. Battery back in.

5. Boot into TWRP recovery (power+up+home), make a backup.

6. USB connect your phone to your PC. Save the backup from the TWRP folder to somewhere on your PC. Leave the folders on the phone, just make a copy and paste somewhere for safe keeping. (you probably wont need it)

7. Replace the contents of the final folder (of the newly created TWRP backup) on your SD card with the contents of "StockROM - G550T1 - UVU1APF1 v6.0.1 (TMO)"

For example, your backup folder will look something like this on your SD card:

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

From your PC, you need to get rid of all that OLD STUFF on your SD and replace it with the NEW STUFF from the unzipped StockRom. So your folder on your SD card should look something like this:

SM-G550T1\Card\TWRP\BACKUPS\4200fa40da5773d1\2016-09-25--22-20-31_MMB29K.G550T1UVU1APF1/THE NEW STUFF (GET RID OF THE OLD STUFF)​

7. Do a TWRP Restore (should only be one choice). DO NOT RESTORE THE EFS FOLDER.

8. Re-boot.

That's what I did. It worked for me.
[Samsung Galaxy On5 Guides, News, & Discussion] biwo:
nice guide. thats what i did, give em the link to the forum where they talk about now being able to see the files when trying to restore with TWRP. that would greatly help other users having that issue.
[Samsung Galaxy On5 Guides, News, & Discussion] orntar:
I did this, but TWRP says no mountable partitions in replaced backup. What can I do?
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
Just to be sure of two things...

You have multiple files and folders in your new backup directory, right? It is the contents of the zipped TWRP backup, not the zip itself.

This is a TWRP restore being performed, not a flash.

Yeah?
[Samsung Galaxy On5 Guides, News, & Discussion] orntar:
Yes, and I think I found it. There are 2 zip files out there with the exact same name of "StockROM - G550T1 - UVU1APF1 v6.0.1 (TMO).zip"

One has only 5 items, and does not work, I think this is the one in the OP. The other is from the post 3 or so above mine, and it has 18 files. It had the mount options, and is currently flashing.

Hope it works. Thanks for you help.

edit: worked!! Thanks!
[Samsung Galaxy On5 Guides, News, & Discussion] orntar:
ok, didn't work out. I didn't do anything special after getting it running. I put on my profile, installed some app updates, and toggled off oem lock in prep for reflashing SU.

Rebooted to flash SU, and FRP is back.

I guess I need to start over, should I not mess with the oem lock next time?

edit: Yes, that was it. I am a dufus I guess. the OEM unlock wording is ambiguous to me.
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
Until some kind soul makes an AOSP ROM...

Has anyone or is anyone able to create a de-bloated stock ROM???

This tiny internal card is killing me. It comes stock almost full. I have every app that I can possibly move over to the SD card or deleted, and it still gives me hell every day about running out of space. I can't even install my core apps, I have pruned several times now. I can't adopt storage thanks to Samsung. I can't install new apps without deleting old apps. What has everyone else done? I cant wait to flash a nice slim custom ROM!!!
[Samsung Galaxy On5 Guides, News, & Discussion] N3TiK:
I'm trying to make an AOSP or CM rom, at the very least a deodexed version. It's all new to me, I can't figure out how to create a flashable zip out of the system.img and boot.img files. This phone isn't supported by any of the Android kitchens.
[Samsung Galaxy On5 Guides, News, & Discussion] GalaxyFrame:
Having the same problem. Apps2SD and Link2SD aren't working for me either, the phone refuses to accept the second partition...
[Samsung Galaxy On5 Guides, News, & Discussion] orntar:
Ditto for me on Apps2SD and Link2SD. Just doesn't work.

I have a short list of apps I removed with no issue at all. But it was pretty obvious stuff.
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
Ok... let's try a different approach. What system apps can we delete safely? Not just the bloatware. I already got rid of them.
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
If you post up a screenshot of what you have, I can tell you what to delete. Or just a list of stock apps, I will tell you what is safe to remove.

It was a while ago.
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
I was just about to do this (and I probably will anyways), but do you or does anyone else know if this phone ever had a sub marshmallow ROM? Maybe a nice lean lollipop ROM? Well...comparatively lean.

---------- Post added at 01:13 PM ---------- Previous post was at 01:09 PM ----------

Actually, with root, both Apps... and Links... are working for me. It's just that even with all that they will let me move, I'm still in the "danger zone" where it locks everything down with only the slightest usage.
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
I dont think they even had one for this phone.
[Samsung Galaxy On5 Guides, News, & Discussion] N3TiK:
This phone was originally released with lollipop in India.
[Samsung Galaxy On5 Guides, News, & Discussion] DACampos4:
Hello, I'm still new to this, and maybe you already answered this question. I'm fine up to restoring a MetroPCS firmware, but when you say restore the TWRP Recovery you mean to flash on Odin the TMO packages? Or to use the restore tool on the TWRP recovery? Thanks
[Samsung Galaxy On5 Guides, News, & Discussion] gogonimago:
You use the restore tool on TWRP. (henceforth referred to as recovery or backup)

FIRST, BACKUP EFS. DON'T RESTORE ANYONE ELSE'S EFS. See above comments on what it is and why it matters. I didn't know either.

Boot into TWRP

Go to where you make recoveries, and check one of the boxes - doesn't matter which one you check , you will be replacing it.

Make a backup of whatever you just checked. Now when you go back to the main TWRP menu and go back into recovery, you will have a file with the date (the recovery you just made)

Connect your phone to the computer, mount your usb storage so your computer can see it, then go into the TWRP folder through the file explorer in your computer, go into recovery and find the backup you just made. If you open it, you'll see files named stuff like data and whatnot.

Unzip the T-mobile package you downloaded (yes, you install this DIFFERENTLY from the Metro PCS version) (yes you MUST HAVE METRO PCS ALREADY INSTALLED and must have fully gone through booting up and setting it up)

Upon unzipping T-mobile, you'll find that the contents inside there have similar names to the contents in your backup file. Delete all of the contents iNSIDE the TWRP backup you created (on your phone memory) and copy over the CONTENTS of the UNZIPPED T-mobile package into the TWRP recovery folder (which should be empty)

Boot back into TWRP on your phone, upon going to recovery and selecting the package you made earlier, you should see a bunch of new checkboxes (if you don't, then you must have selected to backup everything in the first place) - boxes like data, system, boot etc. Check them all EXCEPT EFS. DO NOT CHECK EFS. IN FACT, BACKUP EFS BEFORE DOING ANY OF THIS.

Check all other boxes and hit recovery. You have basically tricked your phone into thinking it created that T-mobile backup you downloaded and it will recover from it.

The above worked like a charm for me - connectivity is back and all. The OP isn't super clear for noobs, but I was glad I was able to figure it out and maybe this will help with those of us less savvy.

Thank you to all who contribute to this and to the OP!
[Samsung Galaxy On5 Guides, News, & Discussion] iiw:
(SOLVED)

Hello,

I've been trying to follow the steps to get rid of FRP lock for the on5 T-mobile version, but I get stuck when I try to flash the twrp recovery (8.2mb) or when I try flashing the twrp backup (1.27gb) both for t-mobile. It gives me a message in the DL mode saying "Custom Binary (RECOVERY) Blocked by FRP Lock" and in ODIN I get a FAIL! message.

I was able to flash the MetroPCS firmware update i think, since on the DL mode it says product name: SM-G550T1. I had my SD card and my SIM card removed when I was flashing the MetroPCS software, but then I tried flashing again with both of them inserted and got the same problem. I still get the "Custom Binary Blocked by FRP Lock" after flashing the MetroPCS files.

EDIT: I forgot to mention, I tried going into recovery mode by holding HOME+VOL UP+POWER, but it would not go into recovery mode and would give me the FRP lock message. I probably need to install the twrp first, but thought I should mention this.

2nd EDIT:So I figured out the problem. Upon reading some of the other topics, it was advised that I needed to flash all 4 BL, AP, CP, and CSC files from MetroPCS instead of just BL, AP, and CP as advised on this thread. After doing this I was able to go on to the next step of using root junky frp bypass to access MetroPCS home and be able to turn on oem. After that I just followed the rest of the instructions and it worked fine.

Any help would be appreciated, thank you.
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
Has anyone used it on the on5 with success? I'm not going to chance it unless I know it works.
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
Yep. It works.
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
If you do a step-by-step of this process, I will make a video. I feel like there are a ton of people that could use this info. But seriously, I do not want to mess up my phone again. I will not do it without confirmed steps.

I have a stock rooted On5 G900T, factory reset with a blank micro-sd card. I'm all set. Tell me what to do.
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
Step by step of just the root essentials? Easiest thing in the world.

This is the method I used on the wife's phone. It is the G550T1 from metro PCS.

I'm confident this will work on yours.

*Backup your SD card to the PC.*

Turn off your ad blockers (just do it)

Download root essentials.

Go to adoptable storage tab in root essentials and touch "adopt storage".

Follow the instructions and download the plugin.

Flash it.

Boot phone.

Go grab a cold drink or somethin.

Give your phone like 2 minutes to boot all the way. (Again, just do it)

*Ignore all notifications about storage and SD cards completely*

Open root essentials again. Go back to "adopt storage" and click. Enter the code and then select your percentage, and select the only option under "disk".

I used 25% of a 32 gig Sandisk uhs 2

And so I got 7.68 gigs. I suggest at least that, I should have made it 16 in hindsight, but whatever you want to use.

**Best results with a quality SD card**

The next step is to go to your internal and card and click "more" in the top right and click "migrate data".

**Once you have migrated data from the internal, go to the SD card listed under "device storage" and migrate data AGAIN FROM HERE.

If you do not do this last step, it won't look like it worked. And indeed it will not be really working yet.

So look at the attached pic, first migrate data from internal sd storage.

Then migrate data from the internal external sd

Makes a stupendous difference.

As for the speed decrease I have heard about, some apps take a bit longer to load. Maybe a 2 sec total lag on startup, but that's the most I have noticed.

Works perfectly.
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
I followed the steps above. I have no "migrate" or "more" option under internal storage. I do have one under external.

See 3 screen caps.

1. All drives after format process:

2. Internal select

View attachment 3928787

3. external selected:

View attachment 3928788 select.

What now? Did I do something wrong?
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
Did you use 100% of your external SD card? That doesn't look totally correct.
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
First off, thanks! You are awesome for doing this. I still have issues doing this as you described.

OK. I started over. Tabula Rasa. I went to recovery and completely wiped the SD car. then...

I went back and restarted the Root Essentials process you described above. Rebooted, the rest. I did a 60/40 in a 32GB card. Here is what I ended up with after the partition and before any migrations.

View attachment 3929267

You see 3 "drives" from top to bottom on the screen capture.

Internal Storage (under device)

SD card (under device)

SD card (under external)

This is where I am stuck. Please describe the EXACT steps using the numbers above from this point on. Your migration progress is unclear. I will not describe why because I don't want to confuse things. Please just describe the process from this point.
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
Go to #1 (internal storage).

Click it. On the top right should have option "more". Click that.

Then migrate data.

Then, go to storage #2 (adopted storage) and get these three options and an option to migrate data.

I don't have this option right now because I have done this already. But you should have it and use it.

When done, phone storage should be about 6.5gb used.
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
Problem corrected itself?

So a funny thing happened...

I decided to wipe one last time,

I took the SD card out, out it in my PC, did a full wipe and format FAT32 in MiniTool Partition. Wiped ALL partitions from Root Essentials.

I did a full factory reset on the phone. Started it up and set up all the standard intro junk. Powered off the phone. Flashed SuperSU and powered off. I then put the fresh formatted SD in the phone and powered up.

Then in the task bar I notice a notification. "New SD card detected. Setup." So I hit it.

Low and behold the (supposedly disabled) option to "use as internal storage" appears. So I do it, and now I have it. See screen caps.

What the hell? Why does it work now? I'm not complaining, but???

Root essentials wasn't even installed on the phone.
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
Root essentials prompts you to download a boot patch. It's the patch that does most of the work. Using root essentials allows you to use a portion of your SD card.

I'm sure if you installed the patch, you could use the adb hack to use simply a portion of the SD card. (The "list-disks" thing)

---------- Post added at 10:25 PM ---------- Previous post was at 10:24 PM ----------

Glad you got it working tho!

Watch how many apps you can now install ??
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
That makes sense. I have to say, it's not doing much good. it installs most of the apps from the play store on the local portion, so it is getting filled up almost as fast as before.
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
Go to your internal SD card.click on "more" in the top right** corner, then click "migrate data". Just do that and tell me if that worked. If not, I will tell you what to do.

I promise you, it works. And well
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
Done. The difference is marginal at best. See pictures of before and after.

After:

Do I need to migrate all the time? For some reason I thought this feature would make just one drive partition, like [enter metaphor for two things becoming one]. If I have to keep migrating, then I may as well just move the stuff manually every so often, or use a moving app. Right?

Does yours work this way?
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:


---------- Post added at 07:14 AM ---------- Previous post was at 07:11 AM ----------

It's going to now store almost all apps on the adopted portion. That looks about right. If it doesn't start putting them on the adopted portion, click on the adopted sd and migrate data from there. (Will be the fourth option.

Then download like 50 apps.

---------- Post added at 07:15 AM ---------- Previous post was at 07:14 AM ----------

Might want to consider a really good sd card, but I think it will be alright.
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
Are you still having trouble?
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
I am still having trouble. I tried it out for a few days, and had to repeatedly migrate back and forth. But now that doesn't even work, now I am deadlocked. No matter how many times I migrate, it never gets better than this, and I am at cap.

Not sure what to do. I *supposedly* have 28GB left, but I can't use it. See below. Any suggestions?
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
You should have e only had to migrate data once from the internal.

Usually that's supposed to be it. I had to do it once more from the adopted storage and that was it.

Did you have a lot of apps already installed to the s card?

Did you use the debloated backup from Sandix? Some say that causes problems. I was using that and I had to reset to factory and start over.
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
below

---------- Post added at 09:35 AM ---------- Previous post was at 09:34 AM ----------

Sadly it does not work, this is a failed experiment. Only a tiny fraction of the apps are being directed to the adopted external drive. I did not use any debloat apps. In fact, I used nothing. I started with a clean slate factory reset phone and a newly fully formatted FAT32 sd card. I adopted the entire card, no partitions whatsoever. Now I can't install ANY apps without deleting other apps. Only a tiny percentage of the adopted SD card is used. Any suggestions?
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
OK. First of all, what kind of sad card are you using?

Have you migrated data from just the internal at this point?
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
Do you suppose it would move fewer apps automatically if it was a slower card? It's a decent Samsung 32g card, maybe 2 years old. Not low-end.
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
Samsung makes a good card. I don't know if that would make a difference in this case or not. I wish I knew more to tell you, I got it working 100% in two devices.

The screenshots of your storage usage looked like it was moving stuff to the adopted portion.

1) Reboot into download mode, restore factory img with Odin.

2) install twrp and root according to directions in the post.

3) do a minimal phone set up, go to google market and download root essentials.

4) go to the adoptable storage area, download the .zip file. Install the zip file using the instructions provided by root essentials app. I.E. Use the root essentials flasher to do it. Don't change the settings, just click ok.

5) upon reboot, there will be alerts on your phone about the sd card.

* Ignore them completely.

6) go back to root essentials and pick an amount of storage you need.

I use 8 GB (25% of a 32) but I recommend using more. 8 is good but 12 would be better. This is an opinion.

Anyway, once you do that and follow the instructions from the app just reboot one more time.

It really should work if you do that. It's not actually really a mod, Samsung disabled a perfectly functional bit of firmware. This just patches the spot where they blocked it at (basically) so it's not some alien process to the phone like link2sd or anything like that.
[Samsung Galaxy On5 Guides, News, & Discussion] maniacmania:
I bought a Simple Mobile branded version of the On5 (thinking it would work on Tmobile since they use the same towers, but apparently I can't do that.) If i flash the tmobile firmware onto this, would it work with tmobile? (I have a post-paid plan with tmobile).
[Samsung Galaxy On5 Guides, News, & Discussion] k11--:
Thanks a lot for the files OP

Can anyone help with how to flash back to stock (550T TMO)?

I just want to make my phone eligible for the automatic updates because it says that I can't update due to having a custom firmware.
[Samsung Galaxy On5 Guides, News, & Discussion] LighthammerX:
Sorry guys, this thread has officially maxed out my dropbox links.

We're going to need to find a new place to host them.

If you're willing to host them, please contact me via PM here on the forums and I'll update the main page accordingly.
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
You have to get the stock .tar file for your model. Then get the latest version of Odin install Odin.

Then unzip the .tar file

Each file has the letters in it according to where it needs to go in Odin (you should notice this easily)

Then flash. It should take about 5 min or so then reboot the device automatically.
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
I'm finally getting around to trying this. Would you please link me to this factory t-mobile image. PM is fine. The original dropbox links are no more.

I have SO many files related to this issue/phone and i'm not sure which is which.

Alternately, could tell me the exact title of the file that was originally available on the Dropbox at the top of this? I think I have it. I'm just pensive about flashing the wrong file.
[Samsung Galaxy On5 Guides, News, & Discussion] adrockr:
Ok, I did this step by step. It totally does not work. It does not "use" much of the adopted partition.

I even tried a different sd card. No good. :crying:

I'm open to any suggestions.
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
Did you migrate data?

---------- Post added at 02:26 AM ---------- Previous post was at 02:21 AM ----------

As I have done this already, I don't have the option when I click the tab on the top right. However, you should have the option.

Also, while doing the process of gaining adoptable storage, make sure that every time you have to reboot, let it boot all the way. Give I at least 3 min before doing anything.

If you mess it up, you only get one shot to do it. If you mess up, it won't work right and I will adopt the whole card, forcing you to use Odin and reflash everything again.

Try migrating your data.
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
Hit that thanks button when I get yoi right, dude!

---------- Post added at 09:27 PM ---------- Previous post was at 09:26 PM ----------

I did it again last night just to make sure.
[Samsung Galaxy On5 Guides, News, & Discussion] capnwchan:
Could I please have a link to download the tmobile stock ROM? Thank you!
[Samsung Galaxy On5 Guides, News, & Discussion] Gremiken:
I've got a rooted SM- 550T1 and there's nothing out there worth doing with it. I'd love to be a tester. I've got backups and twrp so I'm fairly safe against bricking.
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
Me too. I have thrown literally EVERYTHING there is out there on it. Its almost a great phome, but not quite.
[Samsung Galaxy On5 Guides, News, & Discussion] biwo:
i also need the TRWP recovery image for the TMO version. i was able to flash a metropcs on this on5 device but now i cant get my hands on the TMO recovery image.

anyone got a link?
[Samsung Galaxy On5 Guides, News, & Discussion] jman315:
I believe this is the TMO image that you'd load through Odin.

https://www.androidfilehost.com/?fid=24723757092307323
[Samsung Galaxy On5 Guides, News, & Discussion] Apathy772:
link to StockROM - G550T1_PF1_Recovery is dead can anyone relink
[Samsung Galaxy On5 Guides, News, & Discussion] whodisname:
I have a copy. Uploading to mediafire now. Gunna put up a fresh link soon as Im done uploading.

Gunna have the stock rom, odin, supersu.zip, twrp, xposed available to download.
[Samsung Galaxy On5 Guides, News, & Discussion] innoman:
Did you get a chance to upload it?

Thanks!