How to root J730GM on Oreo, and install TWRP - Samsung Galaxy J7 (2017) Questions & Answers

Running Oreo, once tried to flash compatible TWRP via Odin, did it properly, and data partition becomes unmountable. So, how do I install TWRP and root via magisk?
Model number - SM-J730GM

souvikghosh915 said:
Running Oreo, once tried to flash compatible TWRP via Odin, did it properly, and data partition becomes unmountable. So, how do I install TWRP and root via magisk?
Model number - SM-J730GM
Click to expand...
Click to collapse
Data partition have encryption, u need to format data (will lose all you data) and you should be able to mount it

Related

How can I get to Android N preview 3 from a custom ROM and rooted?

I don't have a PC either but I have TWRP installed!
the only way if to find someone who does a full TWRP backup of Android N (untouched) and upload to you.
you put it in TWRP folder and restore it. then you need to flash the boot.ing for android N.
it is a long way and I doubt you will find a backup uploaded since it is around 5GB.
ZacksBuilds said:
I don't have a PC either but I have TWRP installed!
Click to expand...
Click to collapse
Download the DP3 image from Google then unpack it and transfer it to your phone. You can flash system, boot, and vendor in TWRP 3.0. The radio must be flashed in fastboot. You will want to do a factory reset before flashing N IMG's. If you want continued access to TWRP after flashing Android N, you must be decrypted. TWRP does not work with Android N unless decrypted.
Alternatively, use fastboot to install the factory image. You still need to be decrytped to use TWRP on N.
SlimSnoopOS said:
Download the DP3 image from Google then unpack it and transfer it to your phone. You can flash system, boot, and vendor in TWRP 3.0. The radio must be flashed in fastboot. You will want to do a factory reset before flashing N IMG's. If you want continued access to TWRP after flashing Android N, you must be decrypted. TWRP does not work with Android N unless decrypted.
Alternatively, use fastboot to install the factory image. You still need to be decrytped to use TWRP on N.
Click to expand...
Click to collapse
How can I install a decrypted version of N?
ZacksBuilds said:
How can I install a decrypted version of N?
Click to expand...
Click to collapse
Fair warning. I have not done this nor do I use N previews. I am decrypted on MM though for several months. Also, I strongly suggest having a PC on standby so you can troubleshoot any issues that will arise.
In TWRP, do a backup then transfer that to a backup device. While in TWRP 3.0:
-Flash the vendor and system from N DP3
-Flash this DP3 modified boot
-Flash SuperSU 2.7x
-Wipe internal storage via TWRP. This step erases everything from your phone and is necessary to remove the encryption. Fastboot format userdata also does this from a PC.
Once you boot up, the phone should indicate you are not encrypted wherever that is located in Settings. If done properly, you should still have complete access to TWRP 3.0.
Notice that radio and bootloader are not mentioned. It is my understanding these have been updated in DP3. You need a computer to flash these two files. If you notice signal issues or anything like this, you are using older radio and bootloader combo than is specified for DP3.

Backup existing Data after fresh install of TWRP before ROOT

Hello,
I have an S7Edge and looking to flash it. I am currently in Nougat 7.0 and would like to backup my data before proceeding with the root.
I have flashed the phone with TWRP but when following this tutorial: https://forum.xda-developers.com/s7...overy-official-twrp-hero2lte-3-0-0-0-t3334084
People say that you have to format the Data Partition in order to proceed with the installation of SuperSu and NO Dm verity.
Is there a way to backup my phone data [w or w/o TWRP] before ROOTING my phone with TWRP (format data partition to decrypt, install no dm verity and install super su)? This is so after my phone is rooted, I can restore all the apps, pictures, etc.
Thank you for the help! :fingers-crossed:
rods91 said:
Hello,
I have an S7Edge and looking to flash it. I am currently in Nougat 7.0 and would like to backup my data before proceeding with the root.
I have flashed the phone with TWRP but when following this tutorial: https://forum.xda-developers.com/s7...overy-official-twrp-hero2lte-3-0-0-0-t3334084
People say that you have to format the Data Partition in order to proceed with the installation of SuperSu and NO Dm verity.
Is there a way to backup my phone data [w or w/o TWRP] before ROOTING my phone with TWRP (format data partition to decrypt, install no dm verity and install super su)? This is so after my phone is rooted, I can restore all the apps, pictures, etc.
Thank you for the help! :fingers-crossed:
Click to expand...
Click to collapse
Dear All,
I would really appreciate if anyone could help me on the question above. Need to get my phone rooted but want to have it backed up first.
Thank you!
Same thread here https://forum.xda-developers.com/s7-edge/help/please-help-bought-7-edge-t3571403
Still no solution
smaberg said:
Same thread here https://forum.xda-developers.com/s7-edge/help/please-help-bought-7-edge-t3571403
Still no solution
Click to expand...
Click to collapse
Hi,
Thank your forwarding me to your thread. I think I figured out a way to fully back it up with the following steps:
1) If you are in Nougat, downgrade to 6.0.1
2) Root your phone by flashing CF-Auto-Root in Odin (it should not wipe any data)
3) Once phone is rooted, you can backup your phone with TitaniumBackup or Flashfire
4) Save the backup in your sd or other external
5) Update phone with official or custom Nougat FW
6) Root phone via custom recovery (TWRP), will have to format all your data
7) One phone fully booted up and rooted, restore from backup with TitaniumBackup or Flashfire
Let me know how it goes

Recover Stock [unroot] VNS-L31C432B160

I just rooted my P9 lite, installed TWRP from the SRK Guide in here and then saw that Snapchat checks for root.
So now i would like to unroot (doesnt work in SuperSU), install Snapchat, Root und save with TitaniumBackup.
How does the process of returning to stock work? Where do i get my .zip?
I understand that i need to download my full ROM [Firmware Finder APP] but how do i procees further? Do i need to have stock recovery for dload method?
The unroot option in SuperSU does not work? :/
Download the stock firmware from here: https://forum.xda-developers.com/huawei-p9lite/development/stock-firmware-links-t3468245
Extract the dload folder which has the UPDATE.APP inside, put the dload folder in your microSD card, power off the phone, hold power button + volume up + volume down and wait until the installation will start.
This will relock your bootloader and restore the phone to stock firmware.
Does it matter that i have a ****ty twrp installed which doesnt even recognize data partition?
And can i unlock bootloader and root the samw way as before?
Thanks in advance
Wims
You can unlock and root as you already did. Which TWRP are you using?
Potato997 said:
You can unlock and root as you already did. Which TWRP are you using?
Click to expand...
Click to collapse
I had a ****ty one from the Guide with the srktoolkit. Now i updated to TWRP v4 by METICULUS. It works and i can finally see /data/media again.
Does the Phone Off then 3 Button trick go through the Recovery or through what exactly?
I would now do the thing above, then unlock my Bootloader again (i still have the key so it should be easy), install the TWRP by METICULUS, install my apps i need to install without root (Snapchat) , then reboot to twrp and flash newest supersu from chainfire. Finished. Am i right?
Btw i have to say that i was pretty much a flashaholic with tht Galaxy S3, Moto G and OnePlus 2 and it was never this tricky i think :'D
Well TRWP still doesnt get /data. I didn't encrypt anything but Twrp keeps telling me that it cant find it. And when i (select storage) (internal storage) it goes to /emmc...
At first the log says:
Failed to mount '/data' (mounted without encryption)
And the Screenshots were saved to /data/media/Pictures/Scrennshots insted of somwhere in the internal storage...
I fear of having my partitions mixed up somehow because when stock recovery couldn finish wiping cache and data too...
Probably TWRP can't mount encrypted Huawei data partition, the only thing it can probably do is to format it so basically a hard reset
Potato997 said:
Probably TWRP can't mount encrypted Huawei data partition, the only thing it can probably do is to format it so basically a hard reset
Click to expand...
Click to collapse
So -> TWRP -> Format /data?
EDIT: I tried format data -> yes -> and even there it said can't find /data partition.
Any ideas what i can do?? Everything works but i can't do anything in all the TWRPs...

Root for 8.0 Oreo

Hello,
I have tried to root multiple times but everytime I flash TWRP and format Data and then restart the data partition keeps getting encrypted again, I am using the official 8.0 Oreo UK version which recently got released, I have tried installing Magisk and Xposed both are installed successfully but with error that /data is not mounted and like I said if I format data to decrypt it and then restart it automatically encrypts it. I also tried flashing Samsung anti root and no opt zips but it also didn't help.
It was released a few days ago, just go with custom or wait for working solution
1 workaround for now :
flash rom via odin /
flash twrp via odin /
flash no_encrypt 6.0, full wipe, reboot to recovery /
flash MoroKernel 1.5 (magisk already included) /
reboot and have fun with no encryptation anymore
No-verity didn't work for me but remove encryption.zip did.
this didn't work for me, it resulted in a bootloop
ric69 said:
1 workaround for now :
flash rom via odin /
flash twrp via odin /
flash no_encrypt 6.0, full wipe, reboot to recovery /
flash MoroKernel 1.5 (magisk already included) /
reboot and have fun with no encryptation anymore
Click to expand...
Click to collapse
fre78 said:
this didn't work for me, it resulted in a bootloop
Click to expand...
Click to collapse
Sorry for you. check Mount system or data or enable MTP. Internal storage was probably still at 0
I rebooted more than 10times it's ok here
zainbfaisal said:
Hello,
I have tried to root multiple times but everytime I flash TWRP and format Data and then restart the data partition keeps getting encrypted again, I am using the official 8.0 Oreo UK version which recently got released, I have tried installing Magisk and Xposed both are installed successfully but with error that /data is not mounted and like I said if I format data to decrypt it and then restart it automatically encrypts it. I also tried flashing Samsung anti root and no opt zips but it also didn't help.
Click to expand...
Click to collapse
sir may i ask how come ur able to have twrp .
how dd u install twrp on android 8.0 UK firmware?
thanks for help
What I did :
1. Install official room through Odin
2. Do not reboot!!!!
3. Install TWRP through Odin
4. Install Magisk
5. Install Encryption Disabler
It worked for me
OREO stock keeps encrypting DATA partition
NewbieFTW said:
What I did :
1. Install official room through Odin
2. Do not reboot!!!!
3. Install TWRP through Odin
4. Install Magisk
5. Install Encryption Disabler
It worked for me
Click to expand...
Click to collapse
Hi NewbieFTW,
I've followed the steps you've described. (in step 3, I also did format the DATA partition because it was encrypted)
The result is that I'm on stock OREO and I can boot in TWRP.
But whatever I try, after booting OREO the first time, my DATA partition is encrypted again.
So, I have a TWRP as recovery, but only in READ ONLY mode, because it cannot mount an encrypted DATA partition.
This way, I cannot backup or restore my DATA partition.
Can you confirm that your TWRP is not READ ONLY?
And what encryption disabler did you use? (I used no-verity-opt-encrypt-6.0.zip)
fre78 said:
Hi NewbieFTW,
I've followed the steps you've described. (in step 3, I also did format the DATA partition because it was encrypted)
The result is that I'm on stock OREO and I can boot in TWRP.
But whatever I try, after booting OREO the first time, my DATA partition is encrypted again.
So, I have a TWRP as recovery, but only in READ ONLY mode, because it cannot mount an encrypted DATA partition.
This way, I cannot backup or restore my DATA partition.
Can you confirm that your TWRP is not READ ONLY?
And what encryption disabler did you use? (I used no-verity-opt-encrypt-6.0.zip)
Click to expand...
Click to collapse
Yes, I can confirm that I can do whatever I want on TWRP.
I used a .zip found somewhere on a 8.0 thread. I feel like the no-verity zip doesn't work on some devices as it didn't on mine.
Let me grab the link for you : https://drive.google.com/file/d/1tCLamw9j07bhRgEd6qhymqUxExazy04c/view?usp=sharing
Here you go, try this. It should work now. Try doing the exact same steps as you did before but with this zip instead of no-verity.
Good luck mate
NewbieFTW said:
Yes, I can confirm that I can do whatever I want on TWRP.
I used a .zip found somewhere on a 8.0 thread. I feel like the no-verity zip doesn't work on some devices as it didn't on mine.
Let me grab the link for you : https://drive.google.com/file/d/1tCLamw9j07bhRgEd6qhymqUxExazy04c/view?usp=sharing
Here you go, try this. It should work now. Try doing the exact same steps as you did before but with this zip instead of no-verity.
Good luck mate
Click to expand...
Click to collapse
Can anyone confirm that magisk should be installed in twrp before encryption disabler?
skydivider said:
Can anyone confirm that magisk should be installed in twrp before encryption disabler?
Click to expand...
Click to collapse
Magisk removes the encryption disabler .zip for some reason.
Sounds good dosen´t work.
When you flash Magisk it flashes its own boot or system img and remove encrypt flashes its own, if you flash the magisk itll flash the img but if you then flash encryption disabler it will overwrite the magisk img and magisk will uninstall or if you flash the encrypt and then magisk then you will have magisk but encryption will be enabled.
NewbieFTW said:
What I did :
1. Install official room through Odin
2. Do not reboot!!!!
3. Install TWRP through Odin
4. Install Magisk
5. Install Encryption Disabler
It worked for me
Click to expand...
Click to collapse
zainbfaisal said:
Sounds good dosen´t work.
When you flash Magisk it flashes its own boot or system img and remove encrypt flashes its own, if you flash the magisk itll flash the img but if you then flash encryption disabler it will overwrite the magisk img and magisk will uninstall or if you flash the encrypt and then magisk then you will have magisk but encryption will be enabled.
Click to expand...
Click to collapse
I'm sorry then, I don't know what to say. It worked for me.
I needed reinstal magisk after boot for root, but worked for me...
fre78 said:
Hi NewbieFTW,
I've followed the steps you've described. (in step 3, I also did format the DATA partition because it was encrypted)
The result is that I'm on stock OREO and I can boot in TWRP.
But whatever I try, after booting OREO the first time, my DATA partition is encrypted again.
So, I have a TWRP as recovery, but only in READ ONLY mode, because it cannot mount an encrypted DATA partition.
This way, I cannot backup or restore my DATA partition.
Can you confirm that your TWRP is not READ ONLY?
And what encryption disabler did you use? (I used no-verity-opt-encrypt-6.0.zip)
Click to expand...
Click to collapse
When this happend to me, i hit format data and typed yes, when i mount on TWRP i can see my storage again
I can root with patched boot image, but Samsung Healt and Samsung Pay don't works. Anyone?
miguelan.ruiz said:
I can root with patched boot image, but Samsung Healt and Samsung Pay don't works. Anyone?
Click to expand...
Click to collapse
Samsung Pay will, at the moment, probably never work again because it trips Knox.
For Samsung Health the fix is still the same: install a build.prop editor and change the value of RO.Config.Tima from 1 to 0.
not for me
NewbieFTW said:
What I did :
1. Install official room through Odin
2. Do not reboot!!!!
3. Install TWRP through Odin
4. Install Magisk
5. Install Encryption Disabler
It worked for me
Click to expand...
Click to collapse
doesn't work for me
Apparently there are 2 kind of users here.
One part did manage to install stock Oreo (BTU? other CSC?) , with root (magisk? superSu?) and a working TWRP (3.2.1?) which is not read-only on our beloved S7 Edge (SM-G935F)
The other part did not manage to setup this particular config.
It would be nice to have a detailed step-by-step guide from scratch by someone who managed to do it, so we can reproduce it.

ONEPLUS 5 updating issues , stuck in OOS 5.0 after updating it from OOS 4.1.5

Hello Guys Recently i decided to update my OP5 which was on rooted nougat for a year and some how after countless wipes, bootloops, rom flashes and data mounting errors in twrp, was able to flash OOS 5.0 instead of the OOS 5.1.4 , coz flashing 5.1.4 directly from OOS 4.1.5 ,resulted in "error 7" everytime
Device status is unlocked boot loader, decrypted and rooted with magisk. But after this when i check with TWRP(3.2.3) ,i found that its unable to mount data partion again and cannot flash upadte on it or do anything else in twrp, tried to mount the data partion but that resulted in loosing OS again and had to repeat the whole process to Install OOS 5.0 .
Any Idea how i can update my phone further to 5.1.4 or beyond that?
Akarsh Adithya.K said:
Hello Guys Recently i decided to update my OP5 which was on rooted nougat for a year and some how after countless wipes, bootloops, rom flashes and data mounting errors in twrp, was able to flash OOS 5.0 instead of the OOS 5.1.4 , coz flashing 5.1.4 directly from OOS 4.1.5 ,resulted in "error 7" everytime
Device status is unlocked boot loader, decrypted and rooted with magisk. But after this when i check with TWRP(3.2.3) ,i found that its unable to mount data partion again and cannot flash upadte on it or do anything else in twrp, tried to mount the data partion but that resulted in loosing OS again and had to repeat the whole process to Install OOS 5.0 .
Any Idea how i can update my phone further to 5.1.4 or beyond that?
Click to expand...
Click to collapse
Hello, do you read this similar thread already https://forum.xda-developers.com/oneplus-5/help/oneplus5-ota-update-4-1-15-to-5-0-1-5-1-t3859695 ?
strongst said:
Hello, do you read this similar thread already https://forum.xda-developers.com/oneplus-5/help/oneplus5-ota-update-4-1-15-to-5-0-1-5-1-t3859695 ?
Click to expand...
Click to collapse
Yeah, i checked the thread, but mine is a bit different, coz mine is rooted and has TWRP recovery, and it took me many bootloops and flashs to figure out ,that i have to flash every single version of OOS, for example 4.1 to 5.0 and then, 5.0 to 5.0.4 and then 5.0.4 to 5.1 and on.
You get the point. But now i cant update after 5.0 , as TWRP throws this "unable to mount storage" error and my internal storage doesnt even show up in install section
Akarsh Adithya.K said:
Yeah, i checked the thread, but mine is a bit different, coz mine is rooted and has TWRP recovery, and it took me many bootloops and flashs to figure out ,that i have to flash every single version of OOS, for example 4.1 to 5.0 and then, 5.0 to 5.0.4 and then 5.0.4 to 5.1 and on.
You get the point. But now i cant update after 5.0 , as TWRP throws this "unable to mount storage" error and my internal storage doesnt even show up in install section
Click to expand...
Click to collapse
What twrp(link) do you have?
Did you format internal storage or not?
Don't bother with root until you have undated your os. Updating with twrp is also possible and I did it a lot of times.
strongst said:
What twrp(link) do you have?
Did you format internal storage or not?
Don't bother with root until you have undated your os. Updating with twrp is also possible and I did it a lot of times.
Click to expand...
Click to collapse
Its twrp 3.2.3 and yeah before installing rom , i did a full wipe of dalvik, data, system, internal storage and then did a data format too
Akarsh Adithya.K said:
Its twrp 3.2.3 and yeah before installing rom , i did a full wipe of dalvik, data, system, internal storage and then did a data format too
Click to expand...
Click to collapse
Please link the twrp file you're running. Als also you aware that twrp won't stick if you flash full oos rom?
strongst said:
Please link the twrp file you're running. Als also you aware that twrp won't stick if you flash full oos rom?
Click to expand...
Click to collapse
"https://dl.twrp.me/cheeseburger/twrp-3.2.3-0-cheeseburger.img.html"
Yeah i m aware of it and i flashed twrp back every time i finish flashing full OOS
Akarsh Adithya.K said:
"https://dl.twrp.me/cheeseburger/twrp-3.2.3-0-cheeseburger.img.html"
Yeah i m aware of it and i flashed twrp back every time i finish flashing full OOS
Click to expand...
Click to collapse
Please use the latest blu spark recovery which needs to be installed for the vendor partition from 5.1.4 https://forum.xda-developers.com/devdb/project/dl/?id=30332 or codeworks recovery. If you decrypt internal storage and did not flash no verity zip to stay decrypted, after first boot oos will encrypt interval storage.
strongst said:
Please use the latest blu spark recovery which needs to be installed for the vendor partition from 5.1.4 https://forum.xda-developers.com/devdb/project/dl/?id=30332 or codeworks recovery. If you decrypt internal storage and did not flash no verity zip to stay decrypted, after first boot oos will encrypt interval storage.
Click to expand...
Click to collapse
Its Decrypted , but do i have flash no verity zip, again after flashing twrp img
Akarsh Adithya.K said:
Its Decrypted , but do i have flash no verity zip, again after flashing twrp img
Click to expand...
Click to collapse
If you want to stay decrypted: yes
But first update your twrp, check if data partition is accessible, otherwise format internal storage - easiest way.
strongst said:
If you want to stay decrypted: yes
But first update your twrp, check if data partition is accessible, otherwise format internal storage - easiest way.
Click to expand...
Click to collapse
Thanks man strongst, it worked.
Changing recovery to blu spark twrp made all the difference, now i m on OOS 5.1.4
Akarsh Adithya.K said:
Thanks man strongst, it worked.
Changing recovery to blu spark twrp made all the difference, now i m on OOS 5.1.4
Click to expand...
Click to collapse
To help others mark this thread as [SOLVED] in the the title :good:
strongst said:
To help others mark this thread as [SOLVED] in the the title :good:
Click to expand...
Click to collapse
Yeah And one last question,
I tried ti update it to 5.1.5, using same process, and it throws boot loop, is there any other specifc order to flashing magisk and no verity, Or do i have to use other version of verity.
currently the one i m using is no verity v2
Akarsh Adithya.K said:
Yeah And one last question,
I tried ti update it to 5.1.5, using same process, and it throws boot loop, is there any other specifc order to flashing magisk and no verity, Or do i have to use other version of verity.
currently the one i m using is no verity v2
Click to expand...
Click to collapse
Flash full rom Update 5.1.4, then 5.1.5 then
Just make sure that vendor partition is mounted correctly within twrp, before flashing no verity v2 and after then magisk.
Now you can reboot the first time. If it won't help, you should format internal storage again when you have copied files into it like the rom zip. This can cause a bootloop sometimes.
strongst said:
Flash full rom Update 5.1.4, then 5.1.5 then
Just make sure that vendor partition is mounted correctly within twrp, before flashing no verity v2 and after then magisk.
Now you can reboot the first time. If it won't help, you should format internal storage again when you have copied files into it like the rom zip. This can cause a bootloop sometimes.
Click to expand...
Click to collapse
Again , thank you soo much man .
Turns out enabling that vendor portion after flash rom for no verity and magisk will cause no trouble
and now i m on OOS 5.1.5!!(uninstalling Magisk before flashing new update was important to).
Now that
how do i mark this thread as Solved.

Categories

Resources