yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy J7 Questions & Answers] Project89Odin:
Chances are their incredibly busy, there are hundreds if not thousands of devices out there to gain root on that need exploits not to mention the everyday struggle that is life, they are human ya know ;) if you feel the j700t forum is lacking in dev support, id say take up development step by step. Its quite difficult and very time consuming. Please be respectful and keep the questions for your model in your forum :)

On a second note i can confirm the modified boot.img works after formatting data in stock recovery. Installed twrp from post #7 after confirming kernel boot and system and data are mountable and reports back about 10kmb space, although microsd is not (0mb). Even tho data is mountable, i cant seem to find the internal sd cards save locations, alittle different here. no bootloops or anything when going from twrp to system. When attempting to perform a backup the partitions are seen in correct sizes but backups wont work because of the usual permission denied. Was going to try and flash supersu as system seemed mountable. Maybe adb sideload? Will report back more, if you need any files or certain screenshots just let me know, and once again thankyou for working on this device, as well as many others.
[Samsung Galaxy J7 Questions & Answers] RS.85243:
Okay, flashed and booted to verification fail, went back and formatted data and it booted:laugh: Used the patched tar and flashed twrp and installed su (data is mountable in twrp) and formatted again, then it froze at the sprint splash screen (i waited and reformatted data but it still didn't help)
[Samsung Galaxy J7 Questions & Answers] Project89Odin:
Flashed latest boot woth selinux change, then twrp with sr3. Even after mounting system there is no /supersu directory or file. Data partition still seems somewhat encrypted as i cant get to its fs. Progress :)
[Samsung Galaxy J7 Questions & Answers] ashyx:
OK we might need a different tack here. I've consulted Chainfire regarding the system not booting after installing System mode supersu. Apparently system mode isn't working with nougat yet or may never be.

So moving on from this it looks like we're back to square one and systemless mode.

Anyway armed with this new information that the modified boot.img works as long as data is formatted. Im going to patch up the custom boot image to see if its also bootable.

However can someone provide more details regarding the data partition being mountable after Formatting in stock recovery?

Does the DATA partition show the correct size? Can anything be accessed on the DATA partition via Twrp file manager or ADB?

The reason I ask is so I can manually patch the boot.img for Systemless supersu.

However it would also need the su.img on the /data partition.

This is possible one of 4 ways:

1. Push su.img to /data booted to android

2. Push su.img to /data with TWRP

3. Push su.img to /data with adb

4. Push su.img to /DATA with ODIN

Hopefully one of the above will be successful.
[Samsung Galaxy J7 Questions & Answers] RS.85243:
data partition shows the correct size in twrp., after formatting. As for access...I can mount it and open the data folder in file manager (but it is empty so I don't know if you can write to it. ADB sideload does work in TWRP, so that is possible.
[Samsung Galaxy J7 Questions & Answers] ashyx:
Not possible to access /data via ADB SHELL?

If sideload works and data is mountable then it's worth trying the latest systemless supersu zip.
[Samsung Galaxy J7 Questions & Answers] Borams:
I tried to flash sr3 supersu 2.79 by ashyx. with adb sideload. However, an error occurred in the boot image patcher section. After the reboot, the supersu was not seen.
[Samsung Galaxy J7 Questions & Answers] ashyx:
Any idea what the error was, screenshot maybe?
[Samsung Galaxy J7 Questions & Answers] Project89Odin:
Also did you try systemless 2.79, the stable one not sr3? Ill be off in the next 3 hours to help test.
[Samsung Galaxy J7 Questions & Answers] ashyx:
[MENTION=7214191]Project89Odin[/MENTION] [MENTION=8120858]Borams[/MENTION] [MENTION=5231580]RS.85243[/MENTION]

Right here we go, I have patched the boot image for systemless root. I have also included a flashable cache image which contains su.img.

Instructions:

1. Ensure your DATA partition is FORMATTED in recovery (THIS REMOVES ENCRYPTION AND WIPES YOUR DEVICE)

2. Immediately boot to DOWNLOAD mode (DO NOT allow your device to boot normally)

3. Flash the first file below with ODIN in the AP slot using ODIN 3.12 (Note: Samsung use 2 types of sparse image, either 28bit or 32bit, SD devices are usually 28bit, however if this fails in ODIN use the 32bit version instead)

J727P_Supersuv2.79SR3_boot_patch_28bit

J727P_Supersuv2.79SR3_boot_patch_32bit

4. Your device should reboot and may reboot to recovery and then auto reboot. If it doesn't auto-reboot from recovery just reboot manually.

5. If everything goes to plan your device should be rooted.

.
[Samsung Galaxy J7 Questions & Answers] RS.85243:
28bit...secure check fail cache

32bit...unsupported dev type

both fail on Odin
[Samsung Galaxy J7 Questions & Answers] ashyx:
What is it with this device, integrity checks on the cache partition with an unlocked bootloader, sheese? :eek: I'm starting to feel like the Lawnmower man.

Ok, lets try another way. Here we go again...

( I have not tested this method, but it should work if there are no issues with the steps below, but it might need tweaking!)

Basically I have modified the init in the ramdisk, this should copy su.img to CACHE and then DATA. SuperSU should pick this up and mount it.

Instructions:

1. Extract su.img from zip and place into the folder where your ADB executable is located.

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

2. Using ADB type the following:

adb push su.img /data/local/tmp

3. Reboot to DOWNLOAD mode

4. Install J727P_rooted_boot_mod.tar with ODIN.

NOTE: the DATA partition must not be encrypted. If not already it will need to be FORMATTED first then immediately boot to DOWNLOAD mode.

5. Let the device reboot and hopefully should be rooted!

.
[Samsung Galaxy J7 Questions & Answers] RS.85243:
okay, looks like it boots to android but didnt root. I pushed the img then formatted data in recovery then went straight to download mode. Should i format then push the img?
[Samsung Galaxy J7 Questions & Answers] RS.85243:
It works...sorta

I have root, but no network. I had to format then boot and push the img, after that I booted to download mode and it worked. Thanks for all your hard work so far.
[Samsung Galaxy J7 Questions & Answers] ashyx:
You should format BEFORE as you have wiped data and deleted the su.img.

You only need to format if you haven't already.

As you've already done that all you need do now is push su.img to /data/local/tmp and reboot.

---------- Post added at 09:22 AM ---------- Previous post was at 09:06 AM ----------

OK, like I say tweaks maybe required. I have an idea what the issue is, so will have a look at this.

At least we're half way there, finally :silly:

You can probably fix this yourself.

Install Flashfire.

Then use it to install the SuperSU zip below and the stock boot image.

http://download.chainfire.eu/1021/SuperSU/SR3-SuperSU-v2.79-SR3-20170114223742.zip

This should fix up any permission issues.
[Samsung Galaxy J7 Questions & Answers] Borams:
Can you explain in more detail how you did it?

Push su.img and in download mode J727P_rooted_boot_mod.tar flash.

Then it says to initialize at boot time.

I think I have a misunderstanding.

---------- Post added at 09:50 AM ---------- Previous post was at 09:32 AM ----------

I was successful.

When I tested it, it seemed that root permissions was obtained well.

The rootexplorer also gets root permissions.

I am going to test it in more detail now.
[Samsung Galaxy J7 Questions & Answers] RS.85243:
worked like a charm, thanks
[Samsung Galaxy J7 Questions & Answers] Borams:
Flashfire good work
[Samsung Galaxy J7 Questions & Answers] ashyx:
WiFi all fixed now?

I'll attend to fixing things up later.

In the mean time could you do me a favour?

Can you pull the boot image from your device and post it to me?

You can use adb or even just back it up with flashfire.
[Samsung Galaxy J7 Questions & Answers] RS.85243:
Here ya go.
[Samsung Galaxy J7 Questions & Answers] ashyx:
Great stuff, you're a star.
[Samsung Galaxy J7 Questions & Answers] Borams:
I did not have a Wi-Fi problem. Can not Wi-Fi work?
[Samsung Galaxy J7 Questions & Answers] RS.85243:
wi fi was fine...my mobile network was messed up til I flashed the stock kernel
[Samsung Galaxy J7 Questions & Answers] Project89Odin:
YOU ARE THE MAN ASHYX!!!! Thankyou so much for being so adamant on getting root for this device! Also thankyou RS. For testing each build and quickly reporting back!
[Samsung Galaxy J7 Questions & Answers] Nimrod OG:
Looking for knowledge.

My thanks to everyone that had a hand in this project. I'm looking for a starting point. Which post would get me going in the right direction? Post #35, #71 or #73? Also I have 2 questions I couldn't find an answer to.

1. Ensure your DATA partition is FORMATTED in recovery (THIS REMOVES ENCRYPTION AND WIPES YOUR DEVICE) -

I couldn't find anything on the web regarding this, is it "Wipe cache partition?"

2. Where can I find the J727P_rooted_boot_mod.tar?

Best wishes,

Nimrod OG
[Samsung Galaxy J7 Questions & Answers] ashyx:
IF you just hold off proper instructions will be forthcoming after tweaking the procedure.
[Samsung Galaxy J7 Questions & Answers] bluemonstr:
Just to jump in on this...I literally JUST received my Perx and started following this thread yesterday - watching this process - YOU GUYS ROCK!

First thing I always do when I get a new phone - root then install Viper4Android. LOL That is my priority. After that everything else is gravy. ;)

Anyways - just wanted to come out of 'lurk' mode and say thanks and that I'll be looking forward to the 'process' too. :)
[Samsung Galaxy J7 Questions & Answers] scbcskin:
Been off the thread for a couple days and I come back to root. Thanks ashyx and rs, you guys knocked it out the park!!!:svetius:
[Samsung Galaxy J7 Questions & Answers] ashyx:
Ok I've tweaked the process, should be no need to push su.img to data. All is taken care of automatically.

Can someone test the boot image below? Simply install with latest ODIN then download and install the Supersu apk from Play store and you should be rooted.

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

.
[Samsung Galaxy J7 Questions & Answers] ashyx:
UPDATE: Full instructions how to root can be found here: https://xdaforums.com/galaxy-j7/development/root-sm-j727p-galaxy-j7-perx-td-lte-t3611202

.
[Samsung Galaxy J7 Questions & Answers] ashyx:
[MENTION=5231580]RS.85243[/MENTION] [MENTION=7214191]Project89Odin[/MENTION]

Ok, so I'm back on with TWRP. Made a few config changes to the kernel.

If you're willing to test it out: https://www.androidfilehost.com/?fid=817550096634776352

.
[Samsung Galaxy J7 Questions & Answers] RS.85243:
same partition issues as before. I can mount data and system, but not any other partition. I added a recovery.log if that helps
[Samsung Galaxy J7 Questions & Answers] ashyx:
Strange it boots, but same issue. Selinux is completely disabled, but it seems this is also causing a problem as TWRP is complaining about being unable to get the file contexts which I wouldn't have thought to be an issue if Selinux is disabled.

Hopefully this boots and fixes the issue: https://www.androidfilehost.com/?fid=889764386195906466

.
[Samsung Galaxy J7 Questions & Answers] RS.85243:
Okay, First I screwed up and left [reserve recovery on in Flashfire when flashing the twrp imgs. But I redid them and neither will boot to recovery and the latest won't boot to android either.
[Samsung Galaxy J7 Questions & Answers] ashyx:
This is crackers, I have no idea what's up with the kernel source and why it won't boot.

Could you download the app called syslog then after trying to boot to TWRP, reboot to android and then run the app ensuring last kernel log is checked then upload the zip it creates.
[Samsung Galaxy J7 Questions & Answers] RS.85243:
odd...if I flash with Odin it will boot to android, but with Flashfire it gets stuck only trying to boot to recovery?? Here is the syslogs...
[Samsung Galaxy J7 Questions & Answers] peter couniaz:
Is there still development going on for a twrp for this phone or what is going on ?
[Samsung Galaxy J7 Questions & Answers] RS.85243:
Yep, it is just taking awhile as it is being difficult
[Samsung Galaxy J7 Questions & Answers] peter couniaz:
Thanks for your reply ! Haven't noticed any activity here in a bit just wanted to know ! Thanks again !
[Samsung Galaxy J7 Questions & Answers] HACK3DANDR0ID:
Is this for all J3 Prime variants? i have the 327T T-Mobile version...
[Samsung Galaxy J7 Questions & Answers] RS.85243:
no, this is for the J7 model, here is a link to his J3 stuff https://www.androidfilehost.com/?a=show&w=files&flid=160052
[Samsung Galaxy J7 Questions & Answers] HACK3DANDR0ID:
My bad, but thanks for the link. Just gotten find the XDA link:confused:
[Samsung Galaxy J7 Questions & Answers] Jerezer1985:
Is TWRP devopment for this device still going on?

I noticed its been about a month since i seen any new posts just wanted to know if TWRP is still being worked on for this device.
[Samsung Galaxy J7 Questions & Answers] Versatil2010:
[MENTION=4899305]ashyx[/MENTION] any idea if the sm-j727t1 being worked on for a root.
[Samsung Galaxy J7 Questions & Answers] peter couniaz:
Galaxy J727p

Guess no one is working on anything for this phone !! Looking for a unlock J7 max any one know the price an if it will work on us carries ?
[Samsung Galaxy J7 Questions & Answers] Versatil2010:
.

I'm surprised. This is actually a great phone, I don't get why some are saying bad things about it for some display reasons or what not.
[Samsung Galaxy J7 Questions & Answers] mbmadnes32:
so i flashed it on my phone and it booted fine but apparently its not rooted may i have some guidence please?
[Samsung Galaxy J7 Questions & Answers] peter couniaz:
Virgin mobile galaxy J727P

You need to us supersu 2.79 apk to gain root then to keep root us flashfire to flash supersu 2.82 zip to update superSU !
[Samsung Galaxy J7 Questions & Answers] scbcskin:
1. Disable Google accounts, enable oem unlock and usb debugging which I'm sure you already know.

2. I personally boot into recovery and factory reset, I format cache as well.

3. Boot into download mode, flash the zip.

4. Boot back into recovery and factory reset.

5. Boot it up normally and you should be rooted.

6. Like Peter said it is supersu 2.72 so the su app will want you to update the binary. Don't do it from the app.

7. Download Flashfire, download supersu 2.82 zip and flash with Flashfire.

8. Choice flash zip or ota.

9. Make sure EverRoot is disabled which it typically is.

10. Flash it and there you have it.

I've been having issues with Flashfire lately, I flash and wait forever but nothing happens. I just pull the battery, reboot and give it another go.

Thanks ashyx for educating me, it's greatly appreciated!
[Samsung Galaxy J7 Questions & Answers] scbcskin:
I had to go back to stock momentarily this afternoon. There's a firmware update that just rolled out Q95. If for some reason you need to go back stock. Don't update or you will not be able to get root. J727P SR3 root boot does not work with Q95!!
[Samsung Galaxy J7 Questions & Answers] peter couniaz:
Virgin mobile galaxy J727P

Are you talking about the QF5 update ? Because root does work on this I'm running root on QF5 !
[Samsung Galaxy J7 Questions & Answers] scbcskin:
Yeah, I'm beginning to think my root boot zip somehow got corrupted. I flashed QE4 same as I did yesterday and couldn't flash the root boot zip. Guess I need to download a fresh copy.
[Samsung Galaxy J7 Questions & Answers] peter couniaz:
Virgin mobile galaxy J727P

Yes that would do it ! I'll try to send you a copy in the am ! Got to get some sleep !
[Samsung Galaxy J7 Questions & Answers] scbcskin:
I downloaded a fresh copy and it still didn't work. I had the idea yup restart my pc not really sure why that would work. But I did and no more issues, everything flashed just fine. Thanks anyhow!!
[Samsung Galaxy J7 Questions & Answers] Tyreethetruth:
So is anyone still working on a custom recovery on the j727p?
[Samsung Galaxy J7 Questions & Answers] peter couniaz:
Virgin mobile galaxy J727P

Not that I know of sorry to say doesn't look like any developers are going to do much for this phone !!!
[Samsung Galaxy J7 Questions & Answers] ashyx:
I can build a half assed twrp which has some functionality, but until I can solve the mounting and kernel issues completely I wouldn't be comfortable with releasing it for general use.

However that doesn't stop development at all. Flashfire can do almost everything TWRP can. So no reason why custom stuff can't be flashed.
[Samsung Galaxy J7 Questions & Answers] peter couniaz:
Virgin mobile galaxy J727P

But flashfire can't do much if the phone don't boot after a bad flash or can it ?
[Samsung Galaxy J7 Questions & Answers] ashyx:
True but that's nothing the stock firmware can't fix.
[Samsung Galaxy J7 Questions & Answers] peter couniaz:
Virgin mobile galaxy J727P

Yes very true good point !
[Samsung Galaxy J7 Questions & Answers] Tyreethetruth:
As long as I can flash then I am content. I've tried flashfire and it seems to flash but when the phone boots then nothing has happend like nothing ever flashed at all. I'm trying to install viper4android and have tried all methods and workarounds but none worked so my only hope is twrp.
[Samsung Galaxy J7 Questions & Answers] scbcskin:
https://xdaforums.com/nexus-6p/general/how-to-install-viper4android-nougat-t3465597

Not sure if you tried this but it worked for me.
[Samsung Galaxy J7 Questions & Answers] Tyreethetruth:
The J727P doesn't have TWRP as of yet and my audio_effects.conf file is in /etc rather than /vendor/etc by default which is odd to me.
[Samsung Galaxy J7 Questions & Answers] scbcskin:
Of course it doesn't, flash it with Flashfire. I had issues myself using flashfire. I flashed it several times and nothing. I used this method and problem solved.
[Samsung Galaxy J7 Questions & Answers] Tyreethetruth:
I'm confused because the 1st step is to flash with twrp which this phone does not have. Could you tell me what you did exactly?
[Samsung Galaxy J7 Questions & Answers] scbcskin:
Just substitute twrp with flashfire.
[Samsung Galaxy J7 Questions & Answers] Tyreethetruth:
Flashed with flashfire and removed the audio effects file but the viper app is not in my app drawer so cannot do step 3. Busybox and supersu is installed.
[Samsung Galaxy J7 Questions & Answers] scbcskin:
Try this, not sure it's any different but I just downloaded it and flashed it worked first time.

https://xdaforums.com/htc-one-m8/themes-apps/mod-viper4android-t3496893
[Samsung Galaxy J7 Questions & Answers] Tyreethetruth:
Still nothing, it flashes but the viper app doesn't show
[Samsung Galaxy J7 Questions & Answers] Tesla74:
[MENTION=4899305]ashyx[/MENTION]

I was wondering if you could help root the Cricket version (SM-J727AZ) of this Galaxy J7 2017 phone?

https://xdaforums.com/galaxy-j7/help/galaxy-j7-pop-galaxy-halo-t3647805

Thanks for any help!
[Samsung Galaxy J7 Questions & Answers] ashyx:
Unfortunately as far as I know that device has a locked bootloader and there are no known methods as yet to root bootloader locked devices running NN.
[Samsung Galaxy J7 Questions & Answers] Tesla74:
Bummer! I've searched everywhere and don't see anyway to unlock the bootloader. Thank you for quick reply.
[Samsung Galaxy J7 Questions & Answers] HACK3DANDR0ID:
On addition to my (2) SM-J327Ts, i just purchased a SM-J727T. Have you had any luck or a chance to work on SM-J727T?
[Samsung Galaxy J7 Questions & Answers] scbcskin:
Can someone give me the ro.product.name from build.prop for this device please?
[Samsung Galaxy J7 Questions & Answers] peter couniaz:
Virgin mobile galaxy J727P

Don't know what you need it for but it is ro.product.name=j7popltespr yes it the same as ro.product.device= j7popltespr
[Samsung Galaxy J7 Questions & Answers] scbcskin:
That's what I thought it was but was unable to confirm. I made a couple changes for experiments sake, need to change back. If I were smart I would have copied it, anyway thanks peter.
[Samsung Galaxy J7 Questions & Answers] rapidrayo:
I recently bought a Galaxy J7 Perx for Sprint, but I need to root for unlock with my octopus box, can somebody please help me with the steps I saw all the post but I got really confuse, Idk wich one of the methods is the best, if somebody can help me I will really appreciate that!
[Samsung Galaxy J7 Questions & Answers] RS.85243:
Disable frp and wipe data then flash the kernel...if i remember correctly
[Samsung Galaxy J7 Questions & Answers] ashyx:
Ok, if anyone is interested I have had another crack at getting a working TWRP build up. If someone could test and report:

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

.
[Samsung Galaxy J7 Questions & Answers] RS.85243:
working...kinda

flashed with flashfire, system and data accessibe , here are pics of the screen capture
[Samsung Galaxy J7 Questions & Answers] ashyx:
I think I messed up there and posted the wrong version. :silly:

It seems I used the wrong kernel.

Will re-up shortly.
[Samsung Galaxy J7 Questions & Answers] RS.85243:
:silly:
[Samsung Galaxy J7 Questions & Answers] ashyx:
https://www.androidfilehost.com/?fid=673368273298981124
[Samsung Galaxy J7 Questions & Answers] RS.85243:
no boot...sorry
[Samsung Galaxy J7 Questions & Answers] ashyx:
:crying:
[Samsung Galaxy J7 Questions & Answers] ashyx:
Can you do me a favour and just flash the boot image, so I can ascertain whether its the kernel or TWRP causing the issue? I have provided the stock boot image if it doesn't boot or just flash the rooted boot image.

j727p_stock_boot

j727p_custom_boot

.
[Samsung Galaxy J7 Questions & Answers] RS.85243:
welcome to weird land...okay, it completely froze after flashing twrp, wouldn't boot to either recovery or system after flashing custom boot (odin). But it worked when I flashed with the original (J727P-SR3-SuperSU-v2.79-SR3_rooted_boot_AQB9.tar) image and twrp works now??!! all partitions seem accessable including ext sd card:confused:

UPDATE: later I tried to go back into recovery and it hangs before the twrp splash screen.
[Samsung Galaxy J7 Questions & Answers] ashyx:
Can you see if the recovery log is available in cache/recovery?
[Samsung Galaxy J7 Questions & Answers] RS.85243:
here you go
[Samsung Galaxy J7 Questions & Answers] ashyx:
Strange , seems TWRP fully booted with all partitions mounted. So close. :eek:

Can you recreate the steps?

What happens if you flash TWRP then the rooted boot straight after?

---------- Post added at 11:45 AM ---------- Previous post was at 10:57 AM ----------

Following on from my previous post I've combined the boot and recovery into one package.

Can you try this out and see if TWRP boots? If it doesn't can you pull the recovery log again?

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

.
[Samsung Galaxy J7 Questions & Answers] RS.85243:
okay, flashed with odin and it can boot to twrp and system, but I can't access cache, ext sd or otg
[Samsung Galaxy J7 Questions & Answers] ashyx:
It looks like you've sent me the same recovery log from the previous post.

Can you boot to TWRP and then go to ADVANCED and save the recovery log?
[Samsung Galaxy J7 Questions & Answers] RS.85243:
sorry, it says it saved it to /data/media but there are no files there
[Samsung Galaxy J7 Questions & Answers] ashyx:
Never mind, just checked the upload. I included the wrong TWRP build, built with stock kernel.

If you could try the one below and then try and boot to TWRP, but flash it with the latest odin.

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

.
[Samsung Galaxy J7 Questions & Answers] RS.85243:
flashed with odin, will boot to system, but hangs before twrp splash screen trying to load recovery...recovery log is the same one as before