[Samsung Galaxy J3 (2016) Guides, News, & Discussio] mauriciognr:
DISCLAIMER: So if you're thinking this is the same as [GUIDE] TWRP, ROOT and XPosed - Only J320FN ! you're right, but you're also wrong. The process is somewhat the same of course, but i did not followed that guide nor use any of his files, i'll explain a lot of things, introduce you to magisk.... And here we're talking of the J320F and J320F/DS , which is the variant I have. Yes FN stuff works on F and F/DS most of the time, i'm aware.

With that out of th way let's talk business, I'm running stock 5.1.1 on my Samsung Galaxy J3 2016 J320F. This guide is for Stock ROM, custom roms come pre-rooted or use their own Root addon like Lineage, in the other hand, Samsung's stock roms based on Android L and M are not compatible with the official Xposed Framework from Rovo89, it will bootloop the device, instead we have to use a modified Xposed made by Wanam, more on that later.

I'm going to split this guide in 3 parts, first we're gonna install the custom recovery TWRP via Odin, the recovery will enable us to flash zip files which will allows us to Root the device and finally install Xposed.

How to Install TWRP on the J3 J320F

​

The tool to flash firmwares files on Samsung phones running Android is called Odin, and in order for Odin to recognize your phone in Download Mode (more on that later) it also needs some drivers. You can download both things from the following links:

Odin 3.10 from MEGA*

<Mod Edit> 4shared link removed

PLEASE READ

[*]

1. Both files are in .RAR5, so you need to use WinRAR 5 or above to be able open them.

2. They also are password protected (sorry about that, but i offer them on several sites already). Password is: Tecnoriales

TWRP 3.0.2 for J320F - is a *.tar file, leave it as is, i mean don't extract it.

Before you star please charge your battery to 100%.

1. Install the Samsung Drivers.

2. In your J320F go to Settings>About phone>Software Info and tap 7 times on the Build Number, you'll see a toast message about "Developers Options" being now enabled.

3. Head back to Settings and now youll see Developer Options, enter there turn the toggle for Disable OEM Unlock, you'll face your security challenge, whatever it is you have (pin, password, pattern...).

NOTE: From now on leave Disable OEM Unlock thicked (what i mean is, if you turn the toggle to his original state will enable OEM Unlock). otherwise when you reboot your phone it won't boot again showing you the Custom Binary blocked by FRP Block" error in red letter. This can only be fixed Flashing the stock rom on your J320F, although you might not lose your data you will lose TWRP, root and Xposed. So, BE CAREFUL!

4. Turn off your phone and enter Download Mode pressing Vol+- Home and Power. You'll see a warning in the screen, accept it pressing Vol+.

[IMG="Download mode j3"]https://4.bp.blogspot.com/-1_9FRUpaGHw/WC71Uczh71I/AAAAAAAACY8/AJftVG65B0QGdudN23g30EjTOkWmLkxawCLcB/s640/Download%2Bmode%2BSamsung%2BGalaxy%2BJ3.jpg[/IMG]

5. Plug your phone to the PC using your usb cable and give it some time for the driver to kick in if it is the very first time.

6. Run Odin as Admin. Check the COM Port is illuminated and you see Added in the log below.

7. Click the AP button and load the *.tar file of the TWRP.

8. Go to Options Tab and disable Auto-Reboot.

9. Press Start and wait Odin to say Pass in green. It's only a couple of seconds.

10. Unplug your phone from the PC and remove the battery and put it back. Now turn in on with the key combo: Vol+, Home and power.

Your J320F will boot straight to TWRP- Change the language from Russian to whatever you want and swipe to the right the slider in the bottom of the screen to enable the TWRP to modify the system. That's it.

How to ROOT the J3 J320F using SuperSu or Magisk

​

Grab your rooting tool:

SuperSu - Good old SuperSu from Chainfire. Might hang from time to time and refuse to grant root access, kinda has bad temper.

or

Magisk + Magisk Manager APK. Newest and systemless root. Works like a charm, I used v16.0.

Before you star please charge your battery to 100%. You might want make a nandroid backup with TWRP before rooting.

1. Copy the *.zip file to the sdcard of your J320F

2. Boot into TWRP.

3. Go to Install and navigate to your sdcard to find and select the zip file.

4. Swipe to the right the slider control on the bottom of the screen to start the flashing process, which you can follow in the log.

5. Once it has finished touch on Reboot System and wait for the phone to boot. It might take a loot of time if you installed SuperSu.

You will have in your launcher the app of your root manager app. Test that root is working with root checker, Link2Sd, or whatever needs root access.

[IMG="magisk manager on j320F"]https://3.bp.blogspot.com/-KfhNDY8ht-o/Wp3KGUHgFgI/AAAAAAAAHko/3eIe4cchAScjbaMunzLemrmLwbLF-hZ_ACLcBGAs/s400/Magisk%2Bmanager%2Bsamsung%2Bgalaxy%2Bj3%2B2016%2Bj320f.jpg[/IMG]

Note: If you rooted with Magisk and don't see Magisk Manager on your launcher, install the apk manually.

How to Install Xposed Framework on the J3 J320F

​

As I said at the beginning of this post, YOU CAN'T USE OFICIAL XPOSED on Samsungs stock roms (Android 5.x and 6.x) it will make your device loop on the boot process. This is due to the heavy modifications Samsung make to Android to turn it into his TouchWiz UI.

To install Xposed you need:

Xposed Framework by Wanam - The current (and probably final) version is 87.1, download the zip for ARM and SDK22. Optional: Also download Xposed Uninstaller zip in case you get a bootloop.

Xposed Installer App - Is an APK file attached to this thread, which by the way is the official Xposed Framework thread by Rovo89, don't used Xposed zips from there!

Before you star please charge your battery to 100%. You might want make a nandroid backup with TWRP before rooting.

1. Copy files to your sdcard. And install Xposed Installer.

2. Boot into TWRP, go to install and select the xposed-v87.1-sdk22-arm-custom-build-by-wanam-20161125 zip.

3. Swipe to the right the slider control on the bottom of the screen to start the flashing process and wait.

4. When it finishes select Reboot System. This will be a long boot, be patient.

After booting go to the Xposed Installer, or install it if you havent already, and see if Xposed is enabled. You should see the version and the samsung warning like in this pick

[IMG="Xposed on j320F"]https://2.bp.blogspot.com/-wljEI7FShKM/Wp3GmhM1wwI/AAAAAAAAHkU/kZzYka5twr0y1CSVaDNu47XF5YHIwTV9ACLcBGAs/s400/Xposed%2B87.1%2Bby%2Bwanam%2Bj3%2B2016%2Bj320f.png[/IMG]

NOTE: DO NOT UPDATE XPOSED from the Xposed Installer app, it will flash official Xposed and you will get ****ed, i mean, a bootloop.

Xposed has tons, and tons, and tons of modules, most of them won't work on Samsung roms, again, due to all the changes Samsung made to Android in his stock roms. Always read carefully the info of any module before installing it, believe me they are state it when they wont work on Samsung roms. There's one module you should never even try to install:

It's called Gravity Box... The most powerful and famous module of all, and no, it wont work on your Samsung.

However, theres something called Wanam Xposed, made by the same dev from the modified Xposed we are using, it has some of the features you can find in GB.

[IMG="xposed modules for j320f"]https://2.bp.blogspot.com/-rnkC8RY8J8Q/Wp3GnB_F_rI/AAAAAAAAHkY/RDD9wGK_2fYYvlT3h42k6r99wskHBNBbgCLcBGAs/s400/Modulos%2Bapra%2Bxposed%2Bcompatibles%2Bcon%2Btouchqiz%2Bj320f%2Bj3%2B2016.png[/IMG]

All the above information is in this video i made. Video is in Spanish tough.

[YOUTUBE]YF4RaG0_6u4[/YOUTUBE]​

Sorry for my english, good luck and happy flashing.