yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] DamienMc:
You called it :D

setting the permissions above fixed it. But both Odin and the device check boot. So no editing it...but a init.d script does the trick ;)

#!/system/bin/sh
#set correct permissions to fix flashlight
chmod 0660 /sys/class/camera/flash/rear_torch_flash
chown media system /sys/class/camera/flash/rear_torch_flash

I added our script to [MENTION=4576707]Ryuinferno[/MENTION] init.d installer

Make sure you have busybox.

Install zip with flashfire or pull the script and run with sh.
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] bmfc187:
Confirmed rooted, Wi-Fi working, flashlight working, latest AQC1 update!
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] bigjohnman:
Which xposed version did you use?

I downloaded a .zip of xposed (xposed-v87-sdk23-arm.zip)

It softbricked my phone.

I mean, no big deal since I can simply reflash my system back to what it was 5 seconds before I flashed xposed... (Thanks Flashfire)

I've never used xposed, and want to figure it out. Can someone point me in the right direction?
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] bigjohnman:
Ok, Thanks Gunner. This is Great information. It also says to wait as the boot up takes a long time after the first flash of this xposed framework install. It's possible that I didn't wait long enough last time... 10 mins at the AT&T logo.

I found a direct link:

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

I am quite certain that this phone is a 32 bit system, but I just want to make sure... do I use:

xposed-v87.1-sdk23-arm-custom-build-by-wanam-20161125.zip <<<< 32 bit UPDATE, USE THIS ONE!!!

OR

xposed-v87.1-sdk23-arm64-custom-build-by-wanam-20161125.zip <<<< 64 bit

I couldn't find anything in the system settings that pointed to either a 32 or 64 bit OS.

I'm on Marshmallow 6.0.1

Major Thanks to the guy who fixed the flash light. Such a cool script. Who would have thought that it was a permissions issue.

ALSO, I used flashify to back up my boot loader. After resetting my phone and re-King rooting it, I was having a small issues getting SuperSU to work. So I used Flashify to install my backed up boot loader. It rebooted me to a window with options to go to the boot loader. I had never seen this before on this phone.

I know that the current hack for locked bootloaders is to hijack the boot process. Tell it to go to a different location to boot up. It's a way that people are trying to get custom roms on the LG G4.

If I was to attempt to decrypt the boot loader, I would have to make a backup using flashfire or flashify. I would need a bruteforce program.

Which program would allow me to attempt to decrypt the boot loader?

I am going to attempt to build a massive cluster so I can brute force with more power.

I will be using Kali on about 25 raspberry pi's. This theoretically should allow me to brute force with 125 thousand attempts per minute.

Its worth a shot to try it on my own.

I could even use a deliminator, which is likely based on the IMEI number of the phone.

I want to unlock everything on this phone. I may needs some help here.
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] ashyx:
Brute force what?

How are you going to access the bootloader let alone decrypt it?

The bootloader image is supplied with the firmware, but it's encrypted. Good luck with deciphering or reverse engineering that. You're gonna need a lot more than 25 PI's and probably a few hundred years.

Samsungs bootloader has so far been and is uncrackable.
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] bigjohnman:
Xposed Framework Options

[IMG="Editted Screenshot"]https://preview.ibb.co/i23n5v/Screenshot_20170519_163301.png[/IMG]There are a few things that I would like to do to this phone.

Customize the quick settings. If I could remove them completely, PowerToggles would work great.

I want the option to remove all the stupid icons I never use and Add a DATA option.

See attached screenshot.

I tested with GravityBox, but it kept killing my SystemUI. I'm still new at Xposed... So I may have screwed something up.

If the boot loader isn't accessible from the phone, are FlashFire & Flashify making backups of it?

If there's a backup, I could attempt to crack the encryption on the backup.

I like a good puzzle. I just need some help as to how I would go about it. Do I need to adb into this phone and make a backup this way?

FlashFire gave me a boot.lz4

I attempted to extract and got an error that "There is some data after the end of the payload data"

Because this error, it can't extract it all. What I did extract, I opened in a text editor, and it was garbled, which I would expect if it's encrypted.

If there is a hardware restriction that locks the bootloader, then there is a spot on the phone's MOBO that can be tripped to reset the authentication in the bootloader. This isn't my first time removing a password form a system. Still any help would be great!
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] DamienMc:
We used to be able to edit quick settings with a simple csc edit, but after 6.0 you'll need to edit systemui. Not sure if it's a xml or smali thing tho.

You can try goodlock with the right settings you can get close to what you want

There are windows tools that deal with lz4. And if you Google hard enough you can find a modified 7zip that'll decompress it ;)
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] Vee89:
Please root or twrp j320w8
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] Vee89:
U say twrp j320fn would work on j320w8?
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] bigjohnman:
Ok, So I got it working CLOSE to what I want it to do.

Here's the process:

1) root with king root

2) SuperSU script to get the best root on this phone

3) install Flashfire app & Xposed Installer

4) Flash Xposed Framework: xposed-v87.1-sdk23-arm-custom-build-by-wanam-20161125.zip with Flashfire app

5) In Xposed Installer, download the module GravityBox for Marshmallow, activate & reboot

6) Open this app (GravityBox), Go to Statusbar Tweaks, QuickSettings management, enable Master switch. This requires another reboot.

7) I played around with options in GravityBox, but nothing really made changes to the way my status bar looked, except scale correction had to be set to +15%

8) Edit your Status bar using the swipe down twice & clicking edit. There should now be a Cellular data option.

9) Move the icons to meet your desired look & feel. See my screenshots below.

I couldn't get gravity box to set the Status icons to only 5 or 6. Samsung by default has 10. This option can NOT be reduced on my phone, so far as I can tell.

Now I am having issues attempting to hide pictures on this phone. Gallery Lock isn't working like it does on every other phone I've had. Any suggestions?
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] nadersarbalaband:
I need to root my j3 20fssumg 20f
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] hunterj15:
Is it possible to install twrp with flash fire or will it not work?
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] Danutzzz:
HELP please

My Phone Is SM-J320A.

I tried rooting with this method and it bricked the phone

Then my PC crashed and i had to buy a new one so i don't have any of the recovery files.

I can get to Odin mode but other then that it is stuck in a boot loop that says:

"System software not authorised by at&t please turn off your phone and go to the nearest at&t"

I have downloaded Kies and Smart Switch and all the latest drivers. All up to date.

I downloaded the original firmware and tried flashing it with Odin

( A few different Versions Of Odin Up To The latest) but it says it cant communicate with device. it picks it up though and tries the flash with a fail report.

I tried disabling Kies and Smart Switch while running Odin.

I also tried firmware update in Kies And Smart Switch.

I spent a day talking to Samsung support with no luck.

Please can you point me in the right direction

Here Is My Phones Full Info

DEVICE

Model: SAMSUNG-SM-J320A (j3xlteuc)

Manufacturer: samsung

Baseband Version: J320AUCU1APC9

RIL Version: Samsung RIL v3.0

Build Number: MMB29K.J320AUCU1APC9

Build Fingerprint: samsung/j3xlteuc/j3xlteatt:6.0.1/MMB29K/J320AUCU1APC9:user/release-keys

Bootloader: J320AUCU1APC9

Java VM: ART 2.1.0

OS Version: Marshmallow (6.0.1)

SDK: 23

DISPLAY

Resolution: HD, 720x1280 pixels

Software Density: 320 dpi (xhdpi)

Refresh Rate: 60 Hz

PROCESSOR

CPU Architecture: ARMv7-A

Board: universal3475

Chipset: UNIVERSAL3475

Cores: 4

Clock Speed: 403 MHz - 1300 MHz

Instruction Sets: armeabi-v7a, armeabi

CPU Features: swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt

CPU Governor: interactive

Kernel Version: 3.10.9-7303650

Kernel Architecture: armv7l

GRAPHICS

Renderer: Mali-T720

Vendor: ARM

OpenGL Version: OpenGL ES 3.1

RAM

Total: 1391 MB

Java Heap: 128 MB

STORAGE

Internal: 10.3 GB

EXTERNAL: Not Detected

PRIMARY CAMERA

Resolution: 5 MP

Flash: Yes

Video Resolution: HD, 1280x720

Supported Resolutions:

Image:

2576x1932

2560x1440

2560x1920

2048x1536

2048x1152

1920x1920

1920x1080

1600x1200

1280x960

1280x720

1024x768

640x480

320x240

Video:

1280x720 (HD)

720x480

640x480 (VGA)

320x240

176x144

SECONDARY CAMERA

Resolution: 1.9 MP

Video Resolution: VGA, 640x480

Supported Resolutions:

Image:

1600x1200

1280x960

1280x720

640x480

320x240

Video:

640x480 (VGA)

352x288

320x240

176x144

BATTERY

Technology: Li-ion

Health: Good

SENSORS

K2HH Acceleration

CM36672P Proximity Sensor

Screen Orientation Sensor
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] jonpjingleheimler:
Think you should first flash the engineering boot img. With Odin again. If that doesn't work go into recovery and do a factory reset. If that doesn't work it will be necessary to Odin the entire stock firmware using the stock boot img. If I'm missing something anyone feel free to speak up.
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] Danutzzz:
OMG dude i can express how happy and grateful iam to you . i never thought to try this now when iam trying the initial set up it gets to wifi set up and says youtube has stopped working play store has stopped working then it says setting has stoped working and restarts the set up . no i wanted to root and use the xepsoed rom and thats where the trouble started . now i can access the recovery menu . i should also add that when i tried recovery b4 i checked all options in odin
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] randomblame:
trying to get twrp to work but odin is a spiteful jerk this recovery.img should work it just doesnt like my tar ball I guess
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] bmfc187:
TWRP will not work because the device is bootloader locked. Until we find a way to unlock the bootloader, custom recovery will not be possible.
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] randomblame:
hehehe I flashed twrp but its not happy trying crom
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] caspuh:
so I'm having ther same problem. I orginally flashed the eng boot img and evrerything was cool, than I tried to flash twrp and now I get the unautherized software screen. I can get into download mode but that's it. no recovery. I'vewe reflashed the the eng.boot.tar, same thing. so I downloed the J30AUCS2AQA.zip and flashed all the BL, AP,CSC and sgtill get the same thing.. I get a success msg aftrer each time in odin, but it just keepos booting to the att msg.. I dunno what else to do and I'm not independently wealthy so go spend another $100 unless absolutely necessary..ahelp?
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] bigjohnman:
I figured out the Gallery lock issue, it was due to a stupid permissions thing built into the OS. There is a Xposed module called Marshmallow SD fix. That did the trick.

I am trying to get Linux Deploy to work, but there are two issues. Loopback is failing (VNC loops back to localhost to have a gui on your linux img) and there is a permissions issue with a grep command in a file called cli.sh (Line 1104)

File location: /data/user/0/ru.meefik.linuxdeploy/env/cli.sh

I set the permissions for this file to "chmod 777 cli.sh" but this did nothing.

I like to use Kali to grab a pcap file of a wireless connection. Once I have the encrypted handshake in the pcap file, I will send the file to my server for a bruteforce.

I simply just enjoy cracking wifi for the lolz. Once I have the password, I most of the time don't connect.

I want to use my Kali Linux img file that is already setup with all my tools.

Can someone help me figure out the Linux Deploy issues?
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] Sh$llNinjA:
Hi Brother I New So Here is Link wihout Use KingRoot You Can Even Mount System what ever Can Do :cowboy: There No Need SuperSu

https://www.mediafire.com/?o1cvqn5mlc4mnfo :good::good:
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] jonpjingleheimler:
The only TWRP recovery remotely close to the sm j320a is for sm j320p. It's the same phone different Carrier and it's bootloader is unlocked/able. The sm j320 is locked. I Don't like it any more than the next guy. It's impossible barring a act of God to unlock this unit. I followed this thread since the beginning. If anyone serious enough about unlocking this particular unit had read the entire thread it would be clearly and abundantly understood that this bootloader cannot be unlocked.
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] ashyx:
Thanks, it is indeed the Eng_root binary, however it's actually PD1 not PJ2 as stated.

This will allow a root shell , however Supersu is needed for apps to gain proper root priveleges, so Supersu needs pushing to system. Will look at it when I get chance.

.
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] Sh$llNinjA:
yes i agree with that for app we need su priveleges

;)
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] randomblame:
you realize you are talking to an rd who has been breaking into these things for many many years?
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] bobbyp1086:
Help with a different model? Pm if you can I don't want to steer ppl down the wrong road and brick a phone
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] danny8:
Need help with root

I followed the steps in the OP to try and obtain root. I cannot obtain root.

Whenever I run SuperSU I get a message SU Binary occupied. The [size=-1]HOW TO SOLVE[/size] button yields the unhelpful message "Only needs a coffee's time to make it happen" from the supersu.com faq site.

I had far more difficulty than expected. To briefly recap:

I used Kingroot and SuperSU-Me apps as directed, as well as flashing the engineering-enabled boot image. I purchased and used SuperSU-Me Pro.

I ran Kingroot three times. I had to pull the battery twice. The first hang was ugly as my screen illuminated in wide bands at full brightness and phone became quite warm. Every subsequent run of Kingroot seemed to advance the process, however.

I ran SuperSU-Me Pro immediately after "successful" completion of Kingroot (no reboot). Again, I had to pull the battery.

My SM-J320A GoPhone is, I think, running a newer version of the firmware than shown in original post. Is this a problem?

I was unclear about the method for disabling security log agent. I assume the way to do it is to use the app called App Disabler.

My phone is still working, although I see a strange animation near my home button from time to time. I think it's a remnant from Kingroot, but I don't know.

---------------

I was able to wrest control away from Kingroot by uninstalling version 5.0.5 and installing Kingroot 4.5 instead. Then Super-Sume Pro was able to do its work. Fully removing KR 5.0.5 required a lot of gyrations which I won't elaborate. Not knowing what I was doing likely caused more steps than was necessary.

I'm pretty sure no remnants of Kingroot remain on my phone.

SU root benefits like Titanium Backup profiles appear to be working now.
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] irelia is cancer:
hello,

does would this root procedure work for my AT&T galaxy express prime? (SM-J320A) ?
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] Mikizio:
J320aucu1apc9

If currently I have the J320AUCU1APC9 firmware installed, could I proceed with your guide, right away ? Or should I firstly flash the J320AUCU2AQA1 firmware you gave in the recover link ?

Thanks [MENTION=4899305]ashyx[/MENTION]
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] ashyx:
It has been tested working on earlier firmware. Just try it if not update.
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] Mikizio:
OK, thanks for the quick answer. BTW, to firstly update to AQA1, I just need the AQA1 AP file, without BL,CSC,CP files, right ?

Thanks [MENTION=4899305]ashyx[/MENTION]
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] ashyx:
I'd flash all of it. The rest is in post #32.
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] Mikizio:
Thanks !

Maybe you have the full package of AQC1 firmware (AP+BL+CSC+CP) ? (or just the AP file if not)

Grateful! [MENTION=4899305]ashyx[/MENTION]
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] ashyx:
No sorry only AQA1
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] Mikizio:
Can flashing all 4 files lock the phone again to AT&T ? (if it's unlocked now) [MENTION=4899305]ashyx[/MENTION]

Thanks

UPDATE: worked, no problems, still unlocked :) Thank you (If you or someone else will find the AQC1 4files firmware, don't hesitate to share)
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] Adam175:
So this will work on my AT&T Galaxy J3 2016? Also, by flashing the boot image will I lose any data?
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] BURNTROACH:
does this work for the sm-j327a?
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] doc221978:
I doubt it, but really I don't know. I'm the one who tried on the j320az and it worked. If you want to try it, make sure you are able to recover from a soft brick first.... And please post the results.
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] jacob1981y:
fail

not sure how u did this but i attempted and odin fails to flash boot
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] nuclearfarts:
Make sure you have Odin open and your phone plugged in BEFORE entering download mode. Otherwise it gets stuck on something like, IIRC, "checking connection."
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] wcat33:
Has anyone made a rom without gapps for the 320a? I would like to replace as much as I can with FOSS. I would welcome anyones 2 cents on safe to freeze bloat or open replacements as I have not had a rooted phone since around 2011 and not really up to speed. Already using f-droid and successfully flashed xposed and flashlight fix. What can I do about replacing touchwiz or should I just leave it and wait a bit. Also big thanks to everyone who made this possible.

EDIT: My battery life kind of sucks as well. What can be done to help the drain?

TY
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] doc221978:
Closest to a custom rom is https://xdaforums.com/galaxy-j3-2016/development/rom-j320a-j320az-deodexd-t3596450

It's a deodexed and debloated rom. I'm currently running it, and tweaked it some to suit my taste. It's based on the stock rom, but I can't find anything better. It's an aroma installer, so it gives some options(root, gapps, ect.)..... worth looking into.
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] Lester6t9:
I've got a Att J320a on Apj2, can anyone confirm root method works?
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] bobbyp1086:
Yes it does
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] dublingt:
WHen I use king root it gets stuck a 51% and freezes for over 10 minutes until I pop the battery out. SM J320A. Any idea?

---------- Post added at 10:42 PM ---------- Previous post was at 10:39 PM ----------

Also, the wifi fix How to I edit the file?

5. Wifi fix:

modify the line below in /system/build.prop:

ro.securestorage.support=true to false
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] bobbyp1086:
Es file explorer after root and did you flash the kernel?
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] dublingt:
After few reboots I got king root to finally complete and root the device, then I downloaded a build.prop editor and fixed it eventually
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] bobbyp1086:
I bricked mine again trying twrp lol
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] bigjohnman:
At&t just released an update for the SM-J320A model. It fails to upgrade on my phone. This is a small update, only 25Mbs. This is likely a patch for the kernel to block some kind of security hack. It may disable our ability to root. As this update fails for me, can anyone tell me what is new in this build upgrade? I'm not finding much on the at&t help page.
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] DamienMc:
Does it download? If so please share the zip
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] bobbyp1086:
I noticed it does take a little longer than it did
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] Lajoker:
So does

Net.tethering.noprovisoning=true

Go on proxy
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] DamienMc:
Sorry I don't understand the question?

Net.tethering.noprovisoning=true

Is to add that option to settings, but our settings already show the tethering.

I posted a tether/hotspot fix in the Google Experience thread if you're interested
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] Lajoker:
UOTE=DamienMc;73186678]Sorry I don't understand the question?

Net.tethering.noprovisoning=true

Is to add that option to settings, but our settings already show the tethering.

I posted a tether/hotspot fix in the Google Experience thread if you're interested[/QUOTE]

:laugh:

Imma need zip ? sorry

Omg I'm so ****ing and confused

Oops not ****ing lol ?lost
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] SBCarr:
Here is the OTA zip file (25.9 MB) downloaded to my phone:

mega.nz/#!s35myLSZ!LHi4cSDYnPVYh0qj4NYxkRpvKvPCx0XE2HKtPp2RekY

Will this July security update prevent our ability to root?
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] ashyx:
If I was you I would block ALL future updates or let someone test the water. Most updates are simply security patches with the potential to completely lose root.

I never update unless there is a dire need to.

Updating for the sake of updating on a bootloader locked device is a risky business.
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] ivywen:
I accidentally had this update for a few hours, while I worked on some other root things (xposed related). I didn't explore it too much (did note that it had a data toggle and new tab in settings for commonly used settings), but I had to root to reflash a backup with flashfire!

It did work with this method still, using the kingroot listed (probably would with others also, but not tested). It did take several more tries than before, and it was a lot quicker to undo the root on reboot. For me, at least, kingroot couldn't disable Knox itself after root and so that annoying message (reboot to remove unauthorized changes) came true. I made sure I had titanium backup installed already, and after kingroot I immediately used it to freeze all Knox things as well as security log agent. This let me keep root long enough to use super su me, and everything was functional.

(As a silly note, if you haven't done the wifi fix, supersu me won't work after boot until you manually sign into wifi. I know it is obvious, but it gave me a few minutes of worry before I remembered...)
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] Adam175:
My phone auto updated to the July security patch, can I still do this successfully?
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] DamienMc:
I can confirm both J320AUCS3AQG1 & J320AZTUS3AQG1 work with this root method
[Samsung Galaxy J3 (2016) Guides, News, & Discussio] JeffF73:
This Post and information has Helped me learn a lot, Not just for Rooting my device but also Fixing issues with Wifi, Model Number and Etc. Thank you.