yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] sandix:
Samsung Galaxy on5 is a pretty good phone for the price. Today I share my root method and debloated stock system backup for all to enjoy.

The version of TWRP I am linking to WAS NOT MADE BY ME. It is an official build of TWRP for our phone.

To prepare the phone to be rooted you will need a few things:

Download ODIN from the following link: Download ODIN

Download TWRP ODIN flashable TAR file for the on5 here: Download TWRP (It will say it is for T-Mobile only, but works on MetorPCS as well)

Download SuperSU Latest Stable here: Download SuperSU

Download Samsung Drivers if needed: Download Drivers

Once the above is downloaded you must then do the following:

On the phone goto Settings->About and tap "Build Number" 10 times to enable Developer Mode.

Go to Settings->Developer Mode and select "Enable OEM Unlock"

Then power off the device.

With the device powered off hold "VOL-DOWN + HOME + PWR" until Download mode appears.

Plug the phone into the computer and start ODIN with Administrator Rights.

Open Odin and place that TWRP TAR file in the [AP] slot, under Options tab disable Auto Reboot, then press [Start]

When ODIN says the flash is complete in the log window, pull the battery and put the battery back in.

Before turning back on hold "VOL-UP + HOME + PWR" to enter recovery.

Once in recovery go to Mount->Enable USB Mass Storage

Copy the SuperSU zip to the phone's storage

Disable USB Mass Storage

Go to Backup->Start Backup to backup the phone IN CASE OF ISSUES!!

Go to Install->Select SuperSU zip file and wait.

Once done, reboot the phone and you should be good!

For the custom ROM, I will be posting the information, instructions, and downloads on my website LINKED HERE You will find the download at the bottom of that page. If you have issues please let me know.

Download the system image from the link above

Extract the zip file to your external SD Card: (Example: Phone:\Ext_sd\TWRP\backups\)

Reboot into recovery (vol-up+home+pwr

Make sure System Read only is not enabled in Mount settings.

Select "Restore" -> Select the Folder you just put on your external SD Card

Wait for a few minutes.

After that is done, go back to the recovery home

Then select "Wipe"

Select "Data", "Cache", and "Dalvick Cache", and "Internal Storage" ONLY (

IF UPDATING FROM A PREVIOUS VERSION YOU MUST CLEAR CACHE/DALVIK CACHE!!!!)

Slide to wipe.

Some users are reporting that you need to also restore DATA only from a stock ROM backup.

Then reboot.

Follow android setup as normal

Profit.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] whodisname:
I got that phone today and I was looking for roms for it. this is all I ran across. I already rooted it and have twrp and whatnot, tweaked it some. I was wondering f this is the 6.0.1 rom and if I need to unzip it and place it where my other twrp backup is or do I just flash it like it is?
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] sandix:
This is the latest OEM ROM, debloated and rooted. So it is 6.0.1 based. and yes it is a TWRP backup so place it on the internal (Or External) SD card under "sdcard://TWRP/BACKUPS/<RANDOM_ID>/"

It is pretty much completely debloated, left a couple samsung stuff in to keep some features working, but most bloat is gone, which gives a lot of space back to the user, figured I would post it here for others to use if they wanted :)
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] whodisname:
I used it. Its nice, saved me a gig. I have all the apps I really want on sd card and now I have almost 2 gigs free. Was at about 750mb. Thnks for this, saved me a bit of work! Appreciated!
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] whodisname:
You wouldnt happen to know how to get this thing to use adoptable storage, would you?

Adb shell sm partition-disk: 179,32 private does nothing
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] hofs1:
I have tried everything to get adoptable storage to work BUT sammy must have blocked it via firmware.....ive tried multiple cards ,terminal ,root essentials app...nothing works
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] sandix:
Adaptable Storage is a Kernel level thing, one way to do adaptable storage is to remount the SDCARD (While it is formatted to ext3), and mount it to (Or as) a folder in the /user-data partition (/data).

I can attempt to modify the kernel to allow this, but it might brick the phone because of Knox or something. I will try it out on a spare.

Edit:

Install busybox, then try the instruction here (Note the sm list-disks command, MAKE SURE TO DO THIS)

http://www.xda-developers.com/enable-adoptable-storage-for-galaxy-s7-and-s7-edge/
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] bandtab:
ey i'm lookin to debloat my g550t1 but i dont really want to lose everything to install the rom. is there any chance you'd be able to give a quick run down on what's safe to remove? if not that's cool, i realize it'd probably be fairly uninteresting to you and time consuming.

anyways thanks for the work! glad to see this phone getting more love. hope more good stuff comes in the future.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] whodisname:
What you van do here is boot into TWRP and make a backup of just your data, or a full backup if you want. Then restore thos rom (its only boot and system) then go to the backup you just made and them restore just the data. Thats what I did. You can delets all the knox apps. I did, then I went looking in all the folders and deleted anytbong that said knox in the name. I deleted a few security files and also beacon manager. If you dont get all the security files, you get a "unfortunatly security has stopped" eroor one time after boot.

All the knox can go without any extra work..

I have busybox and adoptable storage will not work. If you can fix it cool, if not, still cool! Just wish I had a little bit more storage on here for apps.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] hofs1:
Well i tried it all again BUT still no adoptable storage working....If u do make a working custom kernel that would be sweet....im trying this all on a spare unused ON5 before i mess with "her" live phone....lol.

If this just had a bit more free memory it be a fine phone for awhile.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] okino:
Any help installing xposed framwork in the samsung galaxy on5 ?

How do you install xposed framework in the samsung galaxy on5? (Sorry if this is out of place I always end up in a boot-loop and can't find a way to successfully install it

(The way I recover from that is using twrp and using a xposed unistaller zip file located here --->

mirror41.downloadandroidrom.com/download/tools/Xposed/6.0/xposed-uninstaller-20150831-arm.zip?token=335900416 go to the bottom of the page where it says "download here" for the file.)
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] whodisname:
This is the one I use, just install this, wipe delvic cache and wait. And I mean wait like 5 minutes.

And just to be clear, this mod was mafe by Wanam. This is just a link.

https://www.androidfilehost.com/?w=files&flid=37508

---------- Post added at 02:14 PM ---------- Previous post was at 01:56 PM ----------

Also, install your modules one at a time because if one doesnt work you will be ble to know which one. This is my setup right now.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] okino:
Which one is the exact file you used? "xposed-vXX.X-alt-sdk23-arm-custom-build-by-wanam-XXXXXXXX" ? I cant find the right one atm.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] whodisname:
This one.

https://www.androidfilehost.com/?fid=24572330218881465

And the uninstaller you have will work for this if you have a problem.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] okino:
The file is "xposed-v80.0-sdk23-arm-custom-build-by-wanam-20160211.zip" install it from https://www.androidfilehost.com/?fid=24411628330026060 and you'll be ready to go. After that you might go to this process saying starting apps 0 out of 200 (something like that) and tells you a service/app has stop and gives you a black screen. After that take out the battery and put it back again and turn on your phone and would give you a "starting apps" prompt again. The whole process took me bout 15 min. Btw thanks whodisname for some help highly appreciate it! Have a good day guys!!! :)

What you need

Samsung Galaxy on5 (obviously)

twrp

xposed-v85.1-sdk23-arm-custom-build-by-wanam-20160530.zip (link --> https://www.androidfilehost.com/?fid=24411628330026060 )

---------- Post added at 07:09 PM ---------- Previous post was at 07:07 PM ----------

I used "xposed-v80.0" :confused:
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] whodisname:
This one is newer. Version 85.1

Download from the page on the link. I didnt have to do anything but install it. Once you flash it, reboot your phone and set it down for a little while. Go make some coffee or whatever. Gunna look like a bootloop. Leave it alone for 5 or 10 minutes. Then you will see it optimizing apps. Depending on what you did gonma be like 190- 250 apps. Jusy let it go. It worked like a charm on mine. Make sure you dont have any modules downloaded yet. Do that when its done.

The version is 85.1 sdk 23.

Sdk 21 is for 5.0 sdk 22 is for 5.1.1 and sdk 23 is for 6.0.1.

The one in the link is what you need. Lile I said, just wait. It will install. 15 min tops. Built specifically for samsung devices.

---------- Post added at 08:46 PM ---------- Previous post was at 08:45 PM ----------
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] okino:
The one I installed "xposed-v80.0" seems a little bit laggy since I installed it. I'll just experiment with it and i will also edit my post I did earlier. Thanks :)
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] djevil:
I rooted this phone three days again but is still lagging. I remove bloatware with no problems how can I speed this phone up?
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] sandix:
Install "L-Speed" from playstore, use advanced mode in app and then go to town on the kernel modifications/optimizations.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] whodisname:
Im using "Watson" from somewhere on here. To be honest, it isnt that helpful, just slightly. I fingd this phone to be plenty snappy.

Maybe you have someyhing on there thats not acging right?

My only beef with this phone is yhat MEMORY. Damn they could have made it with just a tad more.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] :
[MENTION=3100103]sandix[/MENTION] is there an app named theme service in ur Roms?.....how to get themes????
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] sandix:
Theme engine was removed to save space. Use a different launcher.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] :
Do u have theme engine apk?
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] :
Okay Sandi.. I was wondering.... Can u make ROM for our on5?.... I mean.. sources are available right?......
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] whodisname:
Where was the zip file uploaded to?
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] N3TiK:
Yeah I'd love to test it out as well and if you don't mind possibly use it as a base for a custom AOSP or CM rom.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] djmcho:
Confirmed. Phone is Koch faster with LSpeed

I also turned on Smoother schooling and fastui

---------- Post added at 12:42 PM ---------- Previous post was at 12:37 PM ----------

I can backup my smart manager from Titanium and put it on Dropbox...
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] :
I fixed it buddy.... Thx anyways.. don't delete the app name security provider.... I restored that app and signal got working........

---------- Post added at 03:27 PM ---------- Previous post was at 03:24 PM ----------

So....guys... Any development for Indian version...?.. I'm happy to help.....

And what about theme manager? Is there any theme manager app? I want to change theme to dark.. i saw on YouTube eve. Indian version was having it but my phone was not having it... So please help me on that.....
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] :
[MENTION=3100103]sandix[/MENTION] I am waiting for theme store apk can u help me with that?...
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] djmcho:
Has anyone tried the app Root Essentials 'ADOPTABLE STORAGE' feature? I'd have to move a lot of apps back to internal and Uninstall a lot of stuff so curious if it's been tried before I go thru all the work?
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] N3TiK:
I use it for various other things but I haven't tried the adoptable storage feature yet. I can do it today and let you know how it works out. While we're on the subject, I'm gonna break topic real quick. Does anyone know of any other apps like root essentials? I've tried 3c Toolbox, Android assistant, rom toolbox. I'm looking for a good aio toolkit. The only thing I don't like about root essentials is every time I connect a USB drive to my phone I get that root browser pop up and you can't disable it.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] Yavia:
even if you had the theme store you would need a bunch of other Samsung apps for the theme service to work
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] :
Yup.... Lost hope....have firmware which has theme store
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] djmcho:
Where I search 'theme' in Titanium Backup I get these (see attached) . Maybe restore all these?
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] djmcho:
I tried it anyway... Seems like after flashing the app you need, asplugin.apk (which the app helps you download, then you flash in TWRP ) I do have an sdcard set as internal but still Google play doesn't recognize the new space. I did some research and it apparently the OS should use the new space as needed.... Not sure but will keep researching.. Screen shot attached of the end result. As you can see the full space available is the internal free space plus the sdcard free space.

Edit I attached the wrong screen shot... But that an example of what happened when I formatted my adoptable storage at 50% of the sdcard. I tried 100% too and that didn't work either.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] :
Thx for letting us know..I already tried that 3 days ago... It was like working..... Only for the Os but when I go to twrp it doesn't show the files I have in that adoptable storage... I think it did work but it made a separate partition which we can't see through without being in Os... I am not using g it as of now .. and that was asplugin.zip not apk
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] djmcho:
I have had some success with moving apps to adoptable storage... Here are the steps

By doing this u have been able to get my internal fee space up to 1GB...

NOTICE you still have to move apps manually when installing new apps.

1. Down root essentials, LINK2SD from app store. Also must be rooted and have TWRP installed. I also suggest a full backup.. Then move the backup to your computer, free space on the phone... Don't leave the backup on the sdcard as it about to be partioned and formatted!!!!!!!!!!!!

2. If you already did this and tried adoptable let storage then use the 'revert changes' and reboot

3. Go into settings a d format sdcard as standard Portable Storage. Click cancel or no if it wants to move anything over.

4. Go into root essentials, storage tab and click adoptable storage.. Run thru the wizard... When getting to Percentage To Use..i chose 50%... (my sdcard is 16gb... So 8gb for adoptable and 8gb for Portable)...

5. Follow procedures to download zip needed (the app will automatically load the web page)

6. Power down phone

7. Hold down volume up+home+power until logo appears... Essentially go into twrp

8. Do a kernel (system) backup if you haven't yet recently.

9. Flash. Zip which will automatically reboot phone

10. Not sure this is important but I waited for my phone to fully boot... Paying particular attention to the Toast saying that root essentials has been granted full permissions....

10b... Do not go into storage settings and try to format the second part of the partition... It's already been formatted..

10c. Run Root Essentials / adoptable storage after flashing

11. Went into LINK2SD, Settings... And pressed 'app location' got a weird warning about hierarchical something or whatnot.. Pressed it a few times and finally got the right screen. SELECTED EXTERNAL. Restarted the app. I kept getting a population asking me why the format of the second partition was... Looks like root essentials leave a little space behind.. I just clicked do not show me again and clicked cancel.

That was it... Now when I move apps with LINK2SD it seems like a ton of more free space is clearing on the internal... Before when I moved apps I think it was just moving the data..
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] whodisname:
I'm about to try this. Does your memory reflect these changes in storage capacity in your settings?
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] djmcho:
Yes, I use internal storage widget, which increases by the size (give or take a few mb) as stated in LINK2SD..

Also I missed a step. You have to rerun the adoptable storage option after you flash.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] whodisname:
I tried it 3 times. It just says I have to download the .zip file. I did it twice going to recovery the manual way. And o ce again with the recommended method. It cleaned my art cache but it didn't work. Just asked me to download the .zip

Edit: it worked. Seems like really all you need to do is download that .zip file, install it, then just go straight to your settings and format for adoptable storage.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] whodisname:
Hell, now my memory is full and it will not let me move anything. Says not enough storage space. I have a 32 GB card with about 6.8gb used. So like 22gb free.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] djmcho:
Move apps over with link2sd
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] whodisname:
im going to try it again. it booted and then the memory was full for no particular reason then I tried to restore it from a backup and got error 255.

Its not a problem to fix, my 34 gb sd card now has two partitions. one is 16gb and the other is 29 gb. im not a rhodes scholar, but that dont compute! im going to be back on it in about 30 min. i will try it again and see if I m,ight have done something wrong.

EDIT: I odined back to stock due to problems with the memory and I couldnt restore a backup, it kept failing. I tried it once again and it worked like it was supposed to. I have 2.56gb free and all the apps I had before plus a few extra! I have 32 gb sd card. used 25% for adoptable storage. still has the wrong storage numbers, but everything works. swet.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] :
Hey..... Any development going on with cm13?
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] czarsuperstar@gmail.com:
I will run the STOCK Rom thru again adding data functions (like a apps 2 sd.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] djmcho:
If you want to restart the process of making sdcard work as internal storage you can just format the portable version of it and it will bring along both partitions.. You don't need to reload the stock OS... Or just put the sdcard in a pc and format it fat
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] czarsuperstar@gmail.com:
You misunderstood I'm talking about data / apps so the internal storage won't be full. But I have to make a Sdext recovery first. SuperSu is not added in I root the Rom but I have to override certain apps that never happened with my recovery (k7)
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] djmcho:
Think I am lost... Why not Odin TWRP and zip load supersu?
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] Migue9088:
Hey guys does someone knows how to fix the "custom binary lock by frp" it shows red when I try to boot into recovery mode
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] tatdaddy13:
So, I followed instructions to the T, after boot, and setting up account, I only have a black home screen, no app button, no phone button, in fact no buttons at all, just a black screen. When I swipe notification bar and try to enter settings, I get an error and it closes settings. I even went and restored old Data from stock rom, and then I get an Android is starting apps screen, green with rotating gears, and then it just stays on that, until I boot into recovery and wipe everything again, and then same thing. It starts fine, but then no home screen, no buttons, and no access t anything. Any help would be appreciated.
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] :
You always have to wipe the data dalvuc cache...... Might also wipe internal.. idk.. but do those two
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] Yavia:
someone pls help this phone is slow as ass now :/
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] :
Can u format the dalvic cache and .... If that does not work... Try formating the phone?
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] Yavia:
that might actually work because I flashed like 3 things without wiping

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

Can someone please send me a twrp backup I used the default wipe and know my phone won't boot
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] :
I'm sorry my phone is Indian variant ... I am uploading for different reason but idk if it will help u... Sim might not work on my backup in ur phone
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] Yavia:
That's OK I just need it to boot then I might be able to find a different fix

---------- Post added at 02:42 AM ---------- Previous post was at 02:40 AM ----------

Omg it turned on it was just a long boot

---------- Post added at 02:49 AM ---------- Previous post was at 02:42 AM ----------

Can you still send the backup because I'm pretty sure I have no apps and the WiFi is broken and I can't finish setup

---------- Post added at 02:54 AM ---------- Previous post was at 02:49 AM ----------

Ya all my Samsung apps are gone
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] :
I'll try wait.. uploading right now.. but u need to wait 8 hrs cuz I am gonna go school
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] Yavia:
Ok thanks

---------- Post added at 04:01 AM ---------- Previous post was at 03:09 AM ----------

@whodisname is android is staring taking long Normal or is it a side effect of not restoring data
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] tatdaddy13:
Ok, I thought I did that, but I may have forgotten second time round. I wound up restoring original back up, and that put it back to normal, but now SU is saying there is no root. Do I need to reinstall SU via TWRP again? Also can I factory restore via "Settings" on phone, or is there a way I should go about it using TWRP? I was thinking it may be better to factory restore, then make a clean backup via TWRP, then install De-bloated ROM following the instructions, as I am assuming that is the Stock Data back up I should use, if needed, as per instructions.:confused:

---------- Post added at 06:41 AM ---------- Previous post was at 05:45 AM ----------

Ok, So I followed instructions, without stock Data, I get the same black homescreen thing. When I pull battery and wipe delvik and cache, I get a green screen with gears turning, stating Android is Starting, with starting apps under neath it and a full white bar, but it stays on that, like a boot loop. If I need stock Data restore, where can I find that?
[Samsung Galaxy On5 ROMs, Kernels, Recoveries, & Ot] Yavia:
https://mega.nz/#!vNthxYZa!8ptfwc-h7_BIOWLfsMkAP5YmIoXO8YMpP1R__IbjiQM Sam thing happened to me just restore data from that and get a home launcher or else you will have a black screen and the settings will crash