yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy J3 (2017) Questions & Answers] Youuglyspark:
so its still locked for us?
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
Unfortunately so.
[Samsung Galaxy J3 (2017) Questions & Answers] TheEmpathicEar:
[MENTION=4899305]ashyx[/MENTION] Do you think this might lead to rooting this phone?
[Samsung Galaxy J3 (2017) Questions & Answers] MiiJack:
If the root is in the bootloader, why can't you gain root access by flashing that?
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
What do you mean root is in the bootloader?

Root is in the OS not the bootloader.
[Samsung Galaxy J3 (2017) Questions & Answers] MiiJack:
I see, is there anyway (or just the same app I backed up the boot) to dump the whole system/OS and be able to flash it to odin? Just in case something wrong happens when the update'll come.
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
You can dump the system image using the same app.

If you dump it can you upload it?

It MAY be possible to flash the dump with Heimdall.

I'm sure one of the guys here will try it out.
[Samsung Galaxy J3 (2017) Questions & Answers] MiiJack:
I'll upload that on the weekend then, I'm still doing my exams.
[Samsung Galaxy J3 (2017) Questions & Answers] TheEmpathicEar:
I just re-read the above article. It states that an Unlocked Bootloader is required for it to work? This phone does not have that?
[Samsung Galaxy J3 (2017) Questions & Answers] AzHavicx:
My phone doesn't have an unlocked boot loader, but the way that link for that root method looks like someone has this device with an unlocked boot loader and found a way to root it. All i did was post the link to see if someone has an idea if that was real or false hopes.
[Samsung Galaxy J3 (2017) Questions & Answers] TheEmpathicEar:
Hmm, I wonder if someone bought the phone directly from Samsung? I have heard that Unlocked Bootloaders are more likely from manufacturers than branded phones? i.e. AT&T, Sprint, etc.
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
I wouldn't put too much trust in these websites claiming root. Quite often they just crawl forums and post stuff willy nilly.

There's loads of my stuff on these websites which I haven't authorised and some of them were just test builds that don't even work.
[Samsung Galaxy J3 (2017) Questions & Answers] David1224:
Maybe miijack can upload the files of his rooted phone so we can flash them?
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
Post #1049/1050
[Samsung Galaxy J3 (2017) Questions & Answers] MiiJack:
Sorry for those waiting me to upload it, it gave me an error near 50% and I need to re-upload it now (with a speed of 25 KBps on average). If no problems occur, it should be up by tomorrow.
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
Did you compress the file first to make it smaller?

Mediafire also allows resumable uploads
[Samsung Galaxy J3 (2017) Questions & Answers] MiiJack:
I'm using MEGA for this one (I also need this backup, should my PC die, that happened once), and no, I didn't compress an already compressed (.tar.gz) file, it should be done in 2h. Mediafire is not really working on my end though, the error occured probably due to 3 continuous blackout (don't ask why, it refused to resume the upload, but normally it can.)

There's some things I need to say about this device, also I want some help if these can be resolved :

- It randomly crashes (looking at a video through the browser, gaming, on standby) and especially if you locked the device twice (after inputting your unlock code after booting, lock the screen then unlock it (freezes then reboots))

- It cannot update some Samsung apps (Software update, browser, device management, etc.... (maybe it's because of root)

- The phone just turns off if its battery is aprroaching ~30% (might be my battery, I'm still saving up for a new battery, just saying) It was the battery, so don't worry about that.

- Syncing Samsung apps seems impossible (again, might be because of root)
[Samsung Galaxy J3 (2017) Questions & Answers] MiiJack:
After 16h of upload, here it finally is :

https://mega.nz/#F!wEtDFLgb!5C9CvMifD1qnntFlGVMbwQ

Please read my post just above, and just flash the system (just in case). Should a brick happen , I have no way of repairing your device, You've been warned.
[Samsung Galaxy J3 (2017) Questions & Answers] :
impressive. maybe one of the previous owners did something to the kernel or something because that seems like the case.

---------- Post added at 12:38 AM ---------- Previous post was at 12:17 AM ----------

When looking into these files i found that it is using the eng firmware
[Samsung Galaxy J3 (2017) Questions & Answers] TheEmpathicEar:
Will this help with creating a reliable root method?
[Samsung Galaxy J3 (2017) Questions & Answers] :
yes it would honestly. also notice this is the factory binary modified. i looked at the files last night and found the supersu folder in /system and everything is set to r/w also with the owner of all the files being root according to 7 zip.
[Samsung Galaxy J3 (2017) Questions & Answers] TheEmpathicEar:
If this is all true, then we only have to consider the uploader's comments on some issues?
[Samsung Galaxy J3 (2017) Questions & Answers] :
yep and the random crashing is probably due to a bug in the system i suggest using a logcat to trace the issue if possible. also i would make sure to disable encryption because i think since encryption is still enabled it could cause problems like that and to temporarily bypass the issue i would disable the lockscreen until theres a fix for it if anyone flashes this successfully. also it is possible to make it odin flashable. also if you face any issues flashing the stock rom files from sammobile will fix it.
[Samsung Galaxy J3 (2017) Questions & Answers] MiiJack:
What app do you suggest for logging those crashes (I don't know what the command lines are) and for how long to make it helpful?
[Samsung Galaxy J3 (2017) Questions & Answers] :
Matlog on google play.
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
I suggest syslog for saving logs.
[Samsung Galaxy J3 (2017) Questions & Answers] MiiJack:
I don't want to log everything (screen update, connection to WiFi and the like), just the essential. What option should I pick (which of those are better by the way?) ?
[Samsung Galaxy J3 (2017) Questions & Answers] :
Just put it on log level critical
[Samsung Galaxy J3 (2017) Questions & Answers] MiiJack:
So...log level : "error" should do it (Matlog)?
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
How are you going to know what causes the issue if you don't log everything?

You want everything up until the point it crashes.

Of course if you know what is actually causing the issue then you can be a bit more selective.
[Samsung Galaxy J3 (2017) Questions & Answers] MiiJack:
I think it's logging everything (need to confirm though), it (Matlog)'s just showing the Error ones. Does it log without oppening the app though? Because I forgot to this morning.
[Samsung Galaxy J3 (2017) Questions & Answers] chrisrlink:
so I've been keeping tabs on this thread since i got my j3 Prime last week how would we flash it w/ a locked bootloader or force a bootloader unlock?
[Samsung Galaxy J3 (2017) Questions & Answers] Gh0stn00b:
I have a spare test device I'm willing to try this on. I just ask for a little hand helping on what I need to do and what I'm actually doing in exchange. I'm a complete n00b
[Samsung Galaxy J3 (2017) Questions & Answers] Youuglyspark:
ashyx? he seems to know what he's doing.
[Samsung Galaxy J3 (2017) Questions & Answers] TheMadAtheist:
Anyone "device unlock" from the carrier, yet thing I should be aware of, I'm about to drop my service plan for this phone?
[Samsung Galaxy J3 (2017) Questions & Answers] Youuglyspark:
for the sm-j327t1 from metro pcs has an option to "carrier unlock" that lets you switch carrier( its an app that looks like a key hole)
[Samsung Galaxy J3 (2017) Questions & Answers] TheMadAtheist:
Yes,I know that, just wondering if anything else I should be aware of.
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
Did anyone try installing this yet?
[Samsung Galaxy J3 (2017) Questions & Answers] TheMadAtheist:
I'll wait till others do it and I get a laptop stabled.
[Samsung Galaxy J3 (2017) Questions & Answers] TheMadAtheist:
Anyone know of a good gamepad mapper that doesn't need root, I just got a mocute 054 and they don't have an app for it?
[Samsung Galaxy J3 (2017) Questions & Answers] Youuglyspark:
can some one take a look at an app called ghost commander on the app store, open it and select local storage and then push the back button twice on the bottom of the phone, i was looking around and i found a folder called oem and one called root, and i saw a text file with the the bootloader startup report
[Samsung Galaxy J3 (2017) Questions & Answers] Relyt2012:
Where did you find the boot loader folder
[Samsung Galaxy J3 (2017) Questions & Answers] Youuglyspark:
i selected local storage and pushed the back button on the bottom of the phone until i was in the "/" directory, then at the bottom there is a bar that has the option to search and all i did was delete the star and typed in boot and i got all the files that are related to the bootloader.
[Samsung Galaxy J3 (2017) Questions & Answers] Youuglyspark:
https://mail.google.com/mail/u/0/?u...=safe&realattid=1593763853726908416-local0&zw

https://mail.google.com/mail/u/0/?u...=safe&realattid=1593763853726908416-local1&zw
[Samsung Galaxy J3 (2017) Questions & Answers] Relyt2012:
Nice work, hopefully helpful. I'm gonna have to try that on my new phone. May yield new info
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
None of this is boot loader related.

It's just normal stuff that is run at boot time.
[Samsung Galaxy J3 (2017) Questions & Answers] TheEmpathicEar:
So, we are not closer to a root method?
[Samsung Galaxy J3 (2017) Questions & Answers] Relyt2012:
Isn't preload just preloaded applications for when the device is setup?
[Samsung Galaxy J3 (2017) Questions & Answers] MiiJack:
So what are supposed to be in those files (that help us)?
[Samsung Galaxy J3 (2017) Questions & Answers] Youuglyspark:
I'm still a noob so I was just putting those out there, also I found a boot apk file.

---------- Post added at 06:20 AM ---------- Previous post was at 06:18 AM ----------

And an oem file called ss_config
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
Correct.

---------- Post added at 10:27 AM ---------- Previous post was at 10:24 AM ----------

[MENTION=8936305]MiiJack[/MENTION] posted the rooted firmware a page or 2 back.

If you can flash that with ODIN then you will possibly have root.
[Samsung Galaxy J3 (2017) Questions & Answers] MiiJack:
[MENTION=4899305]ashyx[/MENTION] There are some update about the device. Also one thing I noticed, when booting, no T-Mobile (or MetroPCS if that matters) shows up, what does that mean?
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
You mean you don't get the T-mobile splash screen at boot?
[Samsung Galaxy J3 (2017) Questions & Answers] MiiJack:
Yes, the boot animation is Samsung J3 Prime then the Samsung logo only. I looked on YouTube some review of the device, then I thought it was odd that the boot screen is different.
[Samsung Galaxy J3 (2017) Questions & Answers] :
that is wierd. a samsung only boot screen is usually on devices that are unlocked variants like the sm-j327u (the only j3 prime ever to have twrp and root access)
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
Maybe someone flashed the CSC from the non carrier version.
[Samsung Galaxy J3 (2017) Questions & Answers] MiiJack:
Somehow, that turned into my favor, because I don't have a T-Mobile carrier.

---------- Post added at 04:23 PM ---------- Previous post was at 04:03 PM ----------

Can someone show me the way to replace superSU with Magisk without loosing root (my device device doesn't have custom recovery though)?
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
Unfortunately not possible . Magisk doesn't support system installs.
[Samsung Galaxy J3 (2017) Questions & Answers] MiiJack:
That's a bummer, I'll wait when you can figure out how to root this phone.
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
The only possibility is SuperSU on this device, which you already have.

I dont think anyone else has/or knows how to flash the image you uploaded.

It's there for someone to try out, but it seems no one actually wants root that badly.
[Samsung Galaxy J3 (2017) Questions & Answers] :
I can try it i just need to download the stock firmware, odin, the rooted firmware, and switch my service over to my old phone. stay tuned for updates. notice i am testing on the metropcs variant.
[Samsung Galaxy J3 (2017) Questions & Answers] :
Bootloader blocked it on my device. Boot gives secure check fail. /System just doesnt flash and bootloader doesnt give error but odin does. Edit: odin tries to flash but gives write error. For some reason the bootloader accepts the package. Device wont boot anymore since /system is gone now. (Thanks odin)
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
I wouldn't expect it to flash the boot image as its an unsigned raw image.

However there's a slight hope regarding the info you've given with respect to flashing the system image.

I'm guessing you simply repacked the the system image to tar or md5 to flash in ODIN?
[Samsung Galaxy J3 (2017) Questions & Answers] :
that is correct. something in the image file is preventing odin from completing or the NAND flash isn't wanting to flash for some reason but the bootloader is accepting it somehow.
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
The system image needs to be a specific format not just repacked to tar.

I'll see if I can repack the system image in the correct format later if I have the time to do it.
[Samsung Galaxy J3 (2017) Questions & Answers] :
that may explain why i can see the files inside of the img file when using 7zip. but whenever i try looking through the stock system img it just says its corrupted. (windows can't read android or linux based img files i assume)
[Samsung Galaxy J3 (2017) Questions & Answers] :
umm ashyx you will not believe this but i found a root method for this device. samkey is what is used. its using some kind of exploit in ram to obtain root using the factory binary All you need is odin and samkey with box ofcoarse. link to a video with proof:

https://youtu.be/RYxFXhYKhpk

Everyone else who has samkey and they see this please try to find out what exploit the program is using so we can finally obtain root on this phone. Notice the exploit is obviously done through adb so anyone who has adb installed on a pc can execute it no problem. we just need to extract the code and change it a little for it to work well. Also we need any files that are flashed to the device when the exploit runs in samkey.
[Samsung Galaxy J3 (2017) Questions & Answers] TheMadAtheist:
Is adb Windows based only or can we use Linux based like Ubuntu?

My PC stuff was stolen and using a crappy old backup laptop.
[Samsung Galaxy J3 (2017) Questions & Answers] :
yes it works on linux, windows, and even macOS also.
[Samsung Galaxy J3 (2017) Questions & Answers] Youuglyspark:
Is the struggle finally over?
[Samsung Galaxy J3 (2017) Questions & Answers] arjun90:
Can this work on Boost Mobile's J3 Emerge as well?
[Samsung Galaxy J3 (2017) Questions & Answers] TheMadAtheist:
Not yet, hopefully soon so I can use my gamepad and do more with this phone.
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
Ok here we go, repacked to the correct format. The download includes the system image, the eng binary from the combo firmware and Prince Comsey version of ODIN which may be required to flash the images. Hopefully the bootloader will allow it to flash.

http://www.mediafire.com/file/59ah5r29i0gb5w4/J327TUVS1AQI3_ROOTED.zip

If this doesn't flash all is not lost, theres another possibility for root. ;)

.
[Samsung Galaxy J3 (2017) Questions & Answers] :
Boost's J3 Emerge already has root and even twrp.

---------- Post added at 03:17 AM ---------- Previous post was at 03:16 AM ----------

thanks and stay tuned for updates in a few hours.

---------- Post added at 03:37 AM ---------- Previous post was at 03:17 AM ----------

It failed to flash. The bootloader gave a secure check fail (system) error after the bar makes it to the end. But imma try something else. Im gonna flash the factory image bootloader and try again as i am using a different bootloader version.
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
Bummer, thought as much.

However all is not lost I have the ENG firmware which already has the su binary.

This means that it should be possible to get a root shell and then push the proper su binaries.

Basically it's the same procedure as SamPWNED.

I'll post the link shortly.

Be aware /data will be wiped.
[Samsung Galaxy J3 (2017) Questions & Answers] :
I figured it would be and btw boot.img flashed no problem. Update: dont flash the modded boot.img it will cause a soft brick.
[Samsung Galaxy J3 (2017) Questions & Answers] MiiJack:
Since it's just a matter of time, could you make an update to the system I've provided several post ago? Or make the one provided at sammobile unlocked (no T-Mobile startup and other things)?
[Samsung Galaxy J3 (2017) Questions & Answers] :
The boot screen is easily removed once rooted. You can even change it with an app (i forgot the name of that app) to get a new one. Notice samsung uses a different format for boot screens than other companies.
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
Heres the ENG firmware: http://www.mediafire.com/file/cj7bmck2mhee6oc/J327T_J327T1_Rev1_for_SamKEY.zip

Same procedure as Sam PWNED.
[Samsung Galaxy J3 (2017) Questions & Answers] MiiJack:
One problem solved then, so what about T-Mobile bloatwares (if there are any that is) and making it carrier free? Those are my only main issue if I were to update my device.
[Samsung Galaxy J3 (2017) Questions & Answers] TheMadAtheist:
I wonder how much of a boast the phone get without the junk and if the cpu in oc-able.

Coarse, it'll be nice to change the gov atleast.
[Samsung Galaxy J3 (2017) Questions & Answers] :
Root was achieved but after the device rebooted it got stuck in a bootloop. Also from what i can tell is that the root files was made for arm64 not arm which is what the j3 prime is on.
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
You mean the SamPAWNED files?

Before rebooting you can use Flashfire to install the system version of SuperSU which will install the correct version or use Flashfire to install the previous image I uploaded.
[Samsung Galaxy J3 (2017) Questions & Answers] :
I mean when using root.sh it reboots and gets stuck at the boot screen. I think sampwned's script isnt compatible with this device. I requested the sampwned devs to make a ARM version since this phone isnt compatible with ARM64 i have to reflash system.img from the eng firmware to fix the bootloop.
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
I see. I'll modify the binaries for 32 bit versions tonight if I get chance.
[Samsung Galaxy J3 (2017) Questions & Answers] TheEmpathicEar:
Are we any closer to getting a step by step root method?
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
I'd say not far off. Just wish I had this device to actually work on.

But at least there's willing testers.
[Samsung Galaxy J3 (2017) Questions & Answers] chrisrlink:
so what area do i put the TAR?

---------- Post added at 07:57 PM ---------- Previous post was at 07:31 PM ----------

oh I'm so Happy two hacks incoming (Second one is my PS3 4000 model)
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
Ok I've replaced and modified the required parts, root.sh has also been modified to reflect we are using a 32bit device. However I didn't use the 32bit version of supolicy, messing with supolicy can break stuff.

We'll see how that goes.

This is all that is required below, obviously the firmware being used is different.

PART 1 Instructions: NEW

Flashing SamPWND 4 Files Firmware:

1) Download the PART 1 FILES Listed Below (this includes SamPWND_Root.zip and Initial ODIN 4 Files FIRMWARE and ODIN's if you do not already have them.)

2) Extract the 4 Files ODIN Firmware Package (also extract the ODIN's if you do not have them already.)

3) Open Comsey ODIN and select each partition and then select the files from the 4 File Firmware Package you extracted (BL goes in BL slot, AP in AP, CP in CP & CSC in CSC.) The options you select in ODIN shouldn't matter but I typically select F. Reset Time, Auto Reboot, Re-Partition, Nand Erase All & Update Bootloader.

4) Press Start and Wait for it to Finish. Once it finishes, if it boots into stock recovery simply select "Reboot System"

Take a breather, the ODIN portion is done (unless you have to start over for some reason...)

Now the NEW Root Process:

1) Once the phone is booted up, make sure you have ADB Enabled and connected to your PC. It should have prompted you to accept USB debugging as soon as it booted up.

2) Unzip the SamPWND_Root.zip

3) Double click "step1"

4) Wait for it to finish and once it reboots and comes back on you will be rooted with SuperSU!

http://www.mediafire.com/file/fp6b5hljd1z7oya/SamPWND_Root_32.zip

.
[Samsung Galaxy J3 (2017) Questions & Answers] TheEmpathicEar:
Is it possible to "batch" some or all of this?
[Samsung Galaxy J3 (2017) Questions & Answers] ashyx:
It's already batched, just run step1.bat from the SamPWNED folder after installing the firmware.
[Samsung Galaxy J3 (2017) Questions & Answers] TheEmpathicEar:
Could U provide the download link for the firmware? It would be nice to have whatever download(s) are necessary in the same place/post?
[Samsung Galaxy J3 (2017) Questions & Answers] KyoKusanagi017:
Going to attempt this now will post updates as I go. I own the MetroPCS variant J327T1.
[Samsung Galaxy J3 (2017) Questions & Answers] chrisrlink:
freezes at T-mobile using Metro T1
[Samsung Galaxy J3 (2017) Questions & Answers] :
same here before ashyx made changes to the root files. i have yet to try the modified files though.

---------- Post added at 08:06 PM ---------- Previous post was at 08:01 PM ----------

If anyone flashes the eng binary be warned that you most likely will have kernel panics which is normal. just take out the battery and reboot. verify that adb is installed and authenticated with your pc with adb installed.

---------- Post added at 08:35 PM ---------- Previous post was at 08:06 PM ----------

Link for Eng binary with prince comsey odin:http://www.mediafire.com/file/cj7bmck2mhee6oc/J327T_J327T1_Rev1_for_SamKEY.zip

Link for root files for sampwned (edited by ashyx):http://www.mediafire.com/file/fp6b5hljd1z7oya/SamPWND_Root_32.zip

(you only need the stock system.img formatted as ext4 and the stock csc file since you will need it to flash back to stock.if you do not flash csc you will have a weird settings menu with double menus.)

Download and install flashfire to preserve root when flashing back stock rom.

step 1: boot into download mode and connect usb to phone and pc.

step 2: open prince comsey odin

step 3: click AP and choose the eng binary which is a tar file (you dont need to change any settings or choose other buttons like bl or cp)

step 4: reboot into system once it goes to recovery and complete setup

step 5: verify adb is enabled and authenticated with pc. (if you have a kernel panic remove battery and reboot as this is normal)

step 6: run step1.bat

step 7: Wait for it to reboot (you should be rooted but if your stuck on the tmobile screen then something went wrong and you need to start over.If nothing works after 3 tries give as much detailed information as possible in the thread)

step 8: if you managed to reboot successfully run supersu and run flashfire.

step 9: flash stock system.img with root injected.

(hopefully now your rooted on stock firmware for now on)
[Samsung Galaxy J3 (2017) Questions & Answers] chrisrlink:
where is the modded stock fw can you post it plz
[Samsung Galaxy J3 (2017) Questions & Answers] :
its on my last post. first link.