Still able to use Google Play store and certify device after root + custom rom? - Lenovo P2 Questions & Answers

Hi,
Not too long ago a weird bug forced me to do a wipe of the device before i can start using it again (was all stock). Now i'm debating on a custom rom since the biggest obstacle for me (wiping the device and reinstalling everything again after) has been taken away.
I did however remember reading about devices with root and custom rom not being able to use the play store anymore since Google marked them as unregistered and such.
Is this still a problem? or is there a work around / fix for this to be found?
Thanks in advance.

DDakara said:
Hi,
Not too long ago a weird bug forced me to do a wipe of the device before i can start using it again (was all stock). Now i'm debating on a custom rom since the biggest obstacle for me (wiping the device and reinstalling everything again after) has been taken away.
I did however remember reading about devices with root and custom rom not being able to use the play store anymore since Google marked them as unregistered and such.
Is this still a problem? or is there a work around / fix for this to be found?
Thanks in advance.
Click to expand...
Click to collapse
Its not a problem if you flash custom rom + gapps + magisk altogether. Once all those files are flashed successfully then only reboot to system & your Google play store will say your device is certified.

abhishekjain.ims said:
Its not a problem if you flash custom rom + gapps + magisk altogether. Once all those files are flashed successfully then only reboot to system & your Google play store will say your device is certified.
Click to expand...
Click to collapse
Great thank you for your reply. Was losing hope i would not get an answer anymore.

Does this mean it's possible to use Google Pay with a custom rom? Or just the play store?
Edit: I think I have found my answer reading other threads, that it does work.

abhishekjain.ims said:
Its not a problem if you flash custom rom + gapps + magisk altogether. Once all those files are flashed successfully then only reboot to system & your Google play store will say your device is certified.
Click to expand...
Click to collapse
Alright so i have managed to install lineage and gapps, but somehow i cant get magisk to work.
1) can i just leave it like this without magisk and not have problems with google uncertified stuff?
2) if the above can't be done or if i can still somehow install magisk, please explain how. (i rooted one other time long ago with superSU, i dont have experience with magisk). I followed: https://www.xda-developers.com/how-to-install-magisk/ but i get an error 1 when trying to install in TWRP.
Please help and thanks in advance

DDakara said:
Alright so i have managed to install lineage and gapps, but somehow i cant get magisk to work.
1) can i just leave it like this without magisk and not have problems with google uncertified stuff?
2) if the above can't be done or if i can still somehow install magisk, please explain how. (i rooted one other time long ago with superSU, i dont have experience with magisk). I followed: https://www.xda-developers.com/how-to-install-magisk/ but i get an error 1 when trying to install in TWRP.
Please help and thanks in advance
Click to expand...
Click to collapse
To make magisk working properly just make sure you have /data partition EXT4 formatted also install this version of TWRP for Lenovo p2 https://androidfilehost.com/?fid=5862345805528044694 after that install latest version of magisk through recovery & you will be able to install magisk successfully.

anewman said:
Does this mean it's possible to use Google Pay with a custom rom? Or just the play store?
Edit: I think I have found my answer reading other threads, that it does work.
Click to expand...
Click to collapse
Correct. Even with Magisk root Google Pay and other secure banking apps work fine. You may just need to activate Magisk hide for certain apps.

abhishekjain.ims said:
To make magisk working properly just make sure you have /data partition EXT4 formatted also install this version of TWRP for Lenovo p2 https://androidfilehost.com/?fid=5862345805528044694 after that install latest version of magisk through recovery & you will be able to install magisk successfully.
Click to expand...
Click to collapse
Thank you for your reply.
Yes i did format the data partition to ext4. I used the TWRP version of their original website, searched for the lenovo p2a42 and found kuntao_row. (twrp-3.2.3-0-kuntao_row.img to be exact). Is there a difference in the version you linked there and this one ?
I currently have lineageos with gapps installed and working. If i am going to try and make magisk work. Are the following steps correct?:
1) install magisk manager
2) shut down and enter fastboost
3) flash different TWRP version
4) Boot into TWRP recovery
5) install magisk from ext sd
6) Then done? Or do i need to reinstall LineageOS and gapps again after those steps? And maybe wipe and reformat again at some points? if so, where?
Again thanks in advance and i really appreciate the help.

DDakara said:
Thank you for your reply.
Yes i did format the data partition to ext4. I used the TWRP version of their original website, searched for the lenovo p2a42 and found kuntao_row. (twrp-3.2.3-0-kuntao_row.img to be exact). Is there a difference in the version you linked there and this one ?
I currently have lineageos with gapps installed and working. If i am going to try and make magisk work. Are the following steps correct?:
1) install magisk manager
2) shut down and enter fastboost
3) flash different TWRP version
4) Boot into TWRP recovery
5) install magisk from ext sd
6) Then done? Or do i need to reinstall LineageOS and gapps again after those steps? And maybe wipe and reformat again at some points? if so, where?
Again thanks in advance and i really appreciate the help.
Click to expand...
Click to collapse
Just download latest version of the magisk, keep it somewhere in the storage then reboot to recovery, update your current recovery by the recovery I have given you above, reboot again to recovery then flash magisk & reboot to system. After successful flashing of magisk zip install magisk manager apk from play store or Google.

abhishekjain.ims said:
Just download latest version of the magisk, keep it somewhere in the storage then reboot to recovery, update your current recovery by the recovery I have given you above, reboot again to recovery then flash magisk & reboot to system. After successful flashing of magisk zip install magisk manager apk from play store or Google.
Click to expand...
Click to collapse
Perfect. Worked like a charm! Hero
So the TWRP version i used was the wrong one? Although it came from their website?

DDakara said:
Perfect. Worked like a charm! Hero
So the TWRP version i used was the wrong one? Although it came from their website?
Click to expand...
Click to collapse
Yes, the TWRP which I gave you is special. Cheers :good:

abhishekjain.ims said:
Yes, the TWRP which I gave you is special. Cheers :good:
Click to expand...
Click to collapse
Hi,
Back again haha. It still works properly and almost have everything set up as i wanted to. One more question arose:
The system is telling me there is a new version update for lineageos.
I am assuming i just click download on the latest version, then reboot into recovery (backup as optional), click install, search the zip and let it install then reboot again is the way to install it. But do i have to reinstall gapps? and does this process delete any data or is it just like a normal update and everything stays the way it was before installing the update?
Thanks again in advance.

Related

How to flash official nougat without wiping internal storage?

Hello all!
I am currently on OOS 3.2.8, and official TWRP. I have read all the instructions on the forums but all lead to one option, formatting internal memory. So, my question are:
1. Will flashing oos 4.0 work with official TWRP or 8 have to use modified 28 version?
2. How can I flash oos 4 with modified TWRP and not have to wipe internal memory?
I would appreciate all the responses. Thanks
I was the same predicament as you. I finally took the plunge and now I have Nougat running on my OP3. Here is what I did :
Start: OOS 3.2.8 w/ custom kernel and modified TWRP
1. Flash stock recovery (Google for a forum post in the OP3 forums on downloading the stock recovery and flash it through fastboot)
2. Reboot and let 3.2.8 start
3. Download Snap VPN and change the country to Canada. You will be prompted for the system update.
4. Let the update download (~1 GB)
5. Install the update. You may see an error of the installation may fail as your phone is rooted. Ignore and go ahead.
6. The installer will now boot to stock recovery and reboot with Nougat. All settings and apps will be maintained
The only catch is that you may have ext4 instead of f2fs. I am okay with it for now... But your mileage may vary
All the best!
Edit : Nougat running on my op3.
abhibnl said:
Hello all!
I am currently on OOS 3.2.8, and official TWRP. I have read all the instructions on the forums but all lead to one option, formatting internal memory. So, my question are:
1. Will flashing oos 4.0 work with official TWRP or 8 have to use modified 28 version?
2. How can I flash oos 4 with modified TWRP and not have to wipe internal memory?
I would appreciate all the responses. Thanks
Click to expand...
Click to collapse
Are you rooted? Are you encrypted? What file systems are you using for your partitions? You're not giving full information. Why is formatting not an option if it'll give you the results you want?
To get to F2fs (I do recommend it)
Take a backup of your Data partition. , copy it to your pc with "adb pull /sdcard/Twrp/whatever".
Now go to Twrp>Wipe>Advanced select data and click on change file system. Change it to F2fs. Now restore your backup (Reader the guide all info is there). Profit!
anshulajain said:
I was the same predicament as you. I finally took the plunge and now I have Nougat running on my OP3. Here is what I did :
Start: OOS 3.2.8 w/ custom kernel and modified TWRP
1. Flash stock recovery (Google for a forum post in the OP3 forums on downloading the stock recovery and flash it through fastboot)
2. Reboot and let 3.2.8 start
3. Download Snap VPN and change the country to Canada. You will be prompted for the system update.
4. Let the update download (~1 GB)
5. Install the update. You may see an error of the installation may fail as your phone is rooted. Ignore and go ahead.
6. The installer will now boot to stock recovery and reboot with Nougat. All settings and apps will be maintained
The only catch is that you may have ext4 instead of f2fs. I am okay with it for now... But your mileage may vary
All the best!
Click to expand...
Click to collapse
I don't have any issues with ext4, infact i do feel ext4 is more stable than f2fs so file system is my last concern. Thanks for your method, but then how did u root again? Installing nougat is fine but what after that? I have read that you can't use modified twrp without formatting internal memory first, as it'll show you the pin issue. Let me know how do you propose a safe method to achieve root.
Renosh said:
Are you rooted? Are you encrypted? What file systems are you using for your partitions? You're not giving full information. Why is formatting not an option if it'll give you the results you want?
Click to expand...
Click to collapse
Yes i am encrypted, rooted, stock OOS 3.2.8 + Franco kernel. Official TWRP(not modified). I am using ext4, never used f2fs at all. The time to backup data and then to restore it all back is the reason formatting is not an "preferred" option for me. I can do it, but i would have to wait until i find enough time to do the whole process. I am in a full time job, so i hope you would understand.
Puddi_Puddin said:
To get to F2fs (I do recommend it)
Take a backup of your Data partition. , copy it to your pc with "adb pull /sdcard/Twrp/whatever".
Now go to Twrp>Wipe>Advanced select data and click on change file system. Change it to F2fs. Now restore your backup (Reader the guide all info is there). Profit!
Click to expand...
Click to collapse
Well this again defeats the purpose of my original question, but thanks mate. I would definitely read the guide if decide to switch to f2fs.
@abhibnl. BTW your encrypted. So the modified TWRP won't work.
How to fix:
Wipe Userdata with Fastboot / fastboot erase UserData
Boot into Twrp modified twrp.
Flash OOS 4.0 flash SuperSU and let it boot
You should be decrypted DO NOT install a boot password since you will be encrypted again.
I haven't rooted my phone again. My only reason to root is to install Adaway to block all ads. With DNS66 and Adguard, I have little incentive to root my stock nougat install.
Edit : I had encryption during 3.2.8 and it carried over to 4.0
Puddi_Puddin said:
@abhibnl. BTW your encrypted. So the modified TWRP won't work.
How to fix:
Wipe Userdata with Fastboot / fastboot erase UserData
Boot into Twrp modified twrp.
Flash OOS 4.0 flash SuperSU and let it boot
You should be decrypted DO NOT install a boot password since you will be encrypted again.
Click to expand...
Click to collapse
Thanks a lot for informing me mate. I really don't want to decrypt my storage as of now. I guess flashing stock recovery is the only solution now. Will hope someone would pick up the twrp and update it.
anshulajain said:
I haven't rooted my phone again. My only reason to root is to install Adaway to block all ads. With DNS66 and Adguard, I have little incentive to root my stock nougat install.
Edit : I had encryption during 3.2.8 and it carried over to 4.0
Click to expand...
Click to collapse
Seems like stock recovery is the best way as of now. Seems like I'll have to love without root until someone updates twrp to support encrypted storage.
I haven't updated to Nougat yet, but I looked over Chainfire's SuperSU changelog and its installation script and both of them confirm that from March installing SuperSU prevents forced encryption. Also many guides suggest installing it as way for disabling forced encryption. Of course you have to flash SuperSU just after flashing ROM, before booting the system.
abhibnl said:
Hello all!
I am currently on OOS 3.2.8, and official TWRP. I have read all the instructions on the forums but all lead to one option, formatting internal memory. So, my question are:
1. Will flashing oos 4.0 work with official TWRP or 8 have to use modified 28 version?
2. How can I flash oos 4 with modified TWRP and not have to wipe internal memory?
I would appreciate all the responses. Thanks
Click to expand...
Click to collapse
Very simple indeed...
1. Switch on wifi
2. Download OTA and click install whem finished
3. Once installation completed, flash twrp .28 and latest su
4. Reboot and ignore any errors, youwill beup and running fine...
Zielony360 said:
I haven't updated to Nougat yet, but I looked over Chainfire's SuperSU changelog and its installation script and both of them confirm that from March installing SuperSU prevents forced encryption. Also many guides suggest installing it as way for disabling forced encryption. Of course you have to flash SuperSU just after flashing ROM, before booting the system.
Click to expand...
Click to collapse
That i already knew mate. But i WANT my storage to remain encrypted. And that's the issue with modified TWRP. You can't enter into recovery on that if your storage is encrypted.
kpmohamedhussain said:
Very simple indeed...
1. Switch on wifi
2. Download OTA and click install whem finished
3. Once installation completed, flash twrp .28 and latest su
4. Reboot and ignore any errors, youwill beup and running fine...
Click to expand...
Click to collapse
Again, "You can't enter into recovery on modified TWRP if your storage is encrypted." So i won't be able to enter into twrp in the first place, let alone flash anything.
abhibnl said:
Hello all!
I am currently on OOS 3.2.8, and official TWRP. I have read all the instructions on the forums but all lead to one option, formatting internal memory. So, my question are:
1. Will flashing oos 4.0 work with official TWRP or 8 have to use modified 28 version?
2. How can I flash oos 4 with modified TWRP and not have to wipe internal memory?
I would appreciate all the responses. Thanks
Click to expand...
Click to collapse
In the same boat as you. I have OOS 3.2.8 encrypted, rooted and TWRP 3.0.2-1.26. I too would like to update but have way to much stuff on my phone to back it all up and restore it. Hope you or someone come's up with a solution. I will be following your thread.
Thanks.
Go to twrp. Press backup. Select only data. Save to PC youre backup for safety..
3.2.8 it's Android 6, 4.0 it's Android 7. Some apps might not work from base to base.
If you want to change to F2FS it will format youre phone, wipe phone full internal memory. If you want to change it back to ext4, same.
Clean flash, full wipe it's always better.
dmoses1969 said:
In the same boat as you. I have OOS 3.2.8 encrypted, rooted and TWRP 3.0.2-1.26. I too would like to update but have way to much stuff on my phone to back it all up and restore it. Hope you or someone come's up with a solution. I will be following your thread.
Thanks.
Click to expand...
Click to collapse
My suggestion (and my steps are in #1), install stock recovery, install snap VPN, download the update and install (ignore any errors on root). Once done, you will have Nougat with stock recovery, encryption maintained and all app data also intact.
anshulajain said:
My suggestion (and my steps are in #1), install stock recovery, install snap VPN, download the update and install (ignore any errors on root). Once done, you will have Nougat with stock recovery, encryption maintained and all app data also intact.
Click to expand...
Click to collapse
This is the last resort brother. With this method, unfortunately I won't have any root available. The only way now is to wait for updated twrp.
abhibnl said:
This is the last resort brother. With this method, unfortunately I won't have any root available. The only way now is to wait for updated twrp.
Click to expand...
Click to collapse
I dont know. I found this on Oneplus forum. May be worth trying. Just not 100% sure.....
Thanks! Will try and let you know
abhibnl said:
Thanks! Will try and let you know
Click to expand...
Click to collapse
Well, I tried something, waiting on it to finishing booting and see how it went.
I flashed twrp-3.0.2-1.28-oneplus3p version,
Flashed the OnePlus3Oxygen_16_OTA_035_all_1612310359_e10cadfb2af7.zip inside TWRP,
Flashed SR1-SuperSU-v2.79-SR1-20161221223537.zip right after flashing OTA zip.
Its rebooting and says Android is upgrading. Fingers crossed.
EDIT: Its booted and I am on Nougat, didnt lose my data and phone is still encrypted!
Edit: Ended up having issues with settings app locking up. So, I went a different route and its all working great now.
Downloaded the stock recovery image and renamed it to recovery.img
Make sure after you rename it its not named recovery.img.img, If you have show file extensions enabled on your pc you should already see the file extension.
Rebooted to bootloader - adb flash recovery recovery.img
Using the volume keys and power button selected - reboot recovery.
Now in stock recovery - flashed OnePlus3Oxygen_16_OTA_035_all_1612310359_e10cadfb2af7.zip
After rom is done flashing, went right back into bootloader. Did not let my phone reboot to start the OS.
Renamed twrp-3.0.2-1.28-oneplus3p.img to recovery.img
adb flash recovery recover.img
Powered off phone and Manually boot it into recovery by holding Power + Volume Down button.
Phone booted into TWRP
Flashed SR1-SuperSU-v2.79-SR1-20161221223537.zip
Wiped cache / dalvik
Rebooted system from TWRP and waited. System is really smooth now, no issues yet. Been playing with it for awhile now.
During the booting up process it might take a minute and it will reboot twice. Dont get nervous like I did thinking it was going to start bootlooping. It booted just fine. I read in a nother thread that SuperSU is what causes it to boot twice.
So......Now I have OOS 4.0 Nougat, Rooted, Encrypted and everything seems to be working fine.

Anyone successfully rooted SM-A520W?

Hey everyone,
I have been trying to root my new Samsung A5 (A520W - Canadian variant) but nothing seems to be working.
My first method was to flash CF AUTO ROOT with Odin, but this just rebooted the device without any sign of changing anything - no superSU installed and RootChecker returning negative results
I then flashed TWRP, and from there tried installing both SuperSU and Magisk v16.0, both of these options made the phone unusable (verification error on boot) so I flashed back to stock firmware and now I'm out of ideas.
I've tried looking for guides on the SM-A520F (non-Canadian variant) but most of these are out of date with respect to the recent OTA upgrade to nougat and/or mention the CF AUTO ROOT method which I know doesn't work
has anyone here managed to root this device? Am I missing a step, like formatting/wiping data beforehand or something? is it worth downgrading to an earlier android version?
Cheers!
dan.tjones said:
Hey everyone,
I have been trying to root my new Samsung A5 (A520W - Canadian variant) but nothing seems to be working.
My first method was to flash CF AUTO ROOT with Odin, but this just rebooted the device without any sign of changing anything - no superSU installed and RootChecker returning negative results
I then flashed TWRP, and from there tried installing both SuperSU and Magisk v16.0, both of these options made the phone unusable (verification error on boot) so I flashed back to stock firmware and now I'm out of ideas.
I've tried looking for guides on the SM-A520F (non-Canadian variant) but most of these are out of date with respect to the recent OTA upgrade to nougat and/or mention the CF AUTO ROOT method which I know doesn't work
has anyone here managed to root this device? Am I missing a step, like formatting/wiping data beforehand or something? is it worth downgrading to an earlier android version?
Cheers!
Click to expand...
Click to collapse
Format data with the FORMAT DATA button first in TWRP then immediately flash Magisk (preferred) or latest Supersu.
Reboot.
dan.tjones said:
Hey everyone,
I have been trying to root my new Samsung A5 (A520W - Canadian variant) but nothing seems to be working.
My first method was to flash CF AUTO ROOT with Odin, but this just rebooted the device without any sign of changing anything - no superSU installed and RootChecker returning negative results
I then flashed TWRP, and from there tried installing both SuperSU and Magisk v16.0, both of these options made the phone unusable (verification error on boot) so I flashed back to stock firmware and now I'm out of ideas.
I've tried looking for guides on the SM-A520F (non-Canadian variant) but most of these are out of date with respect to the recent OTA upgrade to nougat and/or mention the CF AUTO ROOT method which I know doesn't work
has anyone here managed to root this device? Am I missing a step, like formatting/wiping data beforehand or something? is it worth downgrading to an earlier android version?
Cheers!
Click to expand...
Click to collapse
Just wondering how you flashed TWRP (which version) and how? I'm having the same issue trying to get root on this phone and will probably just flash a custom
jermzii said:
Just wondering how you flashed TWRP (which version) and how? I'm having the same issue trying to get root on this phone and will probably just flash a custom
Click to expand...
Click to collapse
I have done it! Had the same problem and yes i have the Canadian a520w. I had to use Odin and then install superuser
Step one: Is to download Odin on pc mac or linux.
Step two: download superuser on your phone then move the file from your phone to
you computer.
Step three: open Odin and select the superuser zip file and it should say pass.
Step four: install root checker off Google play
This is not a full tutorial on how to install it but all you need to search is how to use Odin.
I got it!!
jermzii said:
I got it!!
Click to expand...
Click to collapse
Glad you got it to work did you use my method?
ashyx said:
Format data with the FORMAT DATA button first in TWRP then immediately flash Magisk (preferred) or latest Supersu.
Reboot.
Click to expand...
Click to collapse
Can you please provide a link to an appropriate TWRP version for SM-A520W?
Many thanks!
---------- Post added at 09:47 PM ---------- Previous post was at 09:45 PM ----------
SlickSneeker said:
I have done it! Had the same problem and yes i have the Canadian a520w. I had to use Odin and then install superuser
Step one: Is to download Odin on pc mac or linux.
Step two: download superuser on your phone then move the file from your phone to
you computer.
Step three: open Odin and select the superuser zip file and it should say pass.
Step four: install root checker off Google play
This is not a full tutorial on how to install it but all you need to search is how to use Odin.
Click to expand...
Click to collapse
Please excuse my being a layman in this matter. I tried tot flash superuser.zip using ODIN but ODIN does not even see zip files (it only recognizes some other formats like .tar, .img etc). Could you please give a little more details on how you flashed superuser.zip using ODIN?
Thanks a lot in advance.
jermzii said:
I got it!!
Click to expand...
Click to collapse
Hi jermzii,
I apologize for my questions - I am not very experienced in all these. I would like to ask you a few questions:
Where did you get an appropriate TWRP version for SM-A520W?
Also, ODIN, does not "see" zip files. How did you flash the supersu.zip using ODIN?
Many thanks for your help in advance.
I just bought a Canadian A520W with with stock Nougat (Telus firmware A520WVLS2BRD2). I tried to root it using CF autoroot and TWRP and I had the exact experience as the OP dan.tjones. There is no TWRP specifically for A520W. After trying several versions I found one which is successfully flashed with ODIN (TWRP 3.2.1.0 for A520F). TWRP appears to install Magisk (latest version 16) successfully but it shows no root or su binary. TWRP also appears to install SuperSU zip (there is a specific version for A520W nougat) successfully, but when I open SuperSU app, it says the SU binary is occupied. Google shows two "fixes" ((1) clean uninstall using an option within SuperSU, then reinstall, and (2) uninstall SuperSU + install an earlier version of SuperSU then updating the binary (hangs). Both fixes do not work. Someone mention wiping DATA in TWRP would fix the problem, but it did not work for me.
The major problem seems to be KNOX keep saying "failed verification". At one point it was so screwed up that it just boot-loop / hang and the only thing that work was download mode. I install TWRP again and it sticks. Then I wiped everything (cache/ Dalvik, data, system, internal storage). I probably could try to flash the stock nougat firmware using ODIN, but it was still downloading (snail speed free download).
Since there is no more OS in the phone, I manage to install a 6.0.1 pre-rooted custom ROM using TWRP (I originally intended to downgrade from 7 to 6.0.1 anyway because of reports of poor battery life), and installation was successfully, giving me root. BTW I originally tried to downgrade from stock nougat to stock marshmellow using ODIN, but it does not work ("failed" message).
The TWRP version that I flashed with ODIN:
TWRP 3.2.1.0 for A520F ("recovery_a5y17lte-080318.img.tar")
https://androidfilehost.com/?fid=890129502657588962
The 6.0.1 custom ROM I installed with TWRP:
AXES ROM v.1 (they did say it is compatible with A520W)
https://forum.xda-developers.com/samsung-a-series-2017/development/rom-t3606231
I did not find any nougat custom ROM suitable for A520W. I am happy that I can find a rooted ROM and it does not matter to me whether it is marshmellow or nougat.
slim_thumb said:
I just bought a Canadian A520W with with stock Nougat (Telus firmware A520WVLS2BRD2). I tried to root it using CF autoroot and TWRP and I had the exact experience as the OP dan.tjones. There is no TWRP specifically for A520W. After trying several versions I found one which is successfully flashed with ODIN (TWRP 3.2.1.0 for A520F). TWRP appears to install Magisk (latest version 16) successfully but it shows no root or su binary. TWRP also appears to install SuperSU zip (there is a specific version for A520W nougat) successfully, but when I open SuperSU app, it says the SU binary is occupied. Google shows two "fixes" ((1) clean uninstall using an option within SuperSU, then reinstall, and (2) uninstall SuperSU + install an earlier version of SuperSU then updating the binary (hangs). Both fixes do not work. Someone mention wiping DATA in TWRP would fix the problem, but it did not work for me.
The major problem seems to be KNOX keep saying "failed verification". At one point it was so screwed up that it just boot-loop / hang and the only thing that work was download mode. I install TWRP again and it sticks. Then I wiped everything (cache/ Dalvik, data, system, internal storage). I probably could try to flash the stock nougat firmware using ODIN, but it was still downloading (snail speed free download).
Since there is no more OS in the phone, I manage to install a 6.0.1 pre-rooted custom ROM using TWRP (I originally intended to downgrade from 7 to 6.0.1 anyway because of reports of poor battery life), and installation was successfully, giving me root. BTW I originally tried to downgrade from stock nougat to stock marshmellow using ODIN, but it does not work ("failed" message).
The TWRP version that I flashed with ODIN:
TWRP 3.2.1.0 for A520F ("recovery_a5y17lte-080318.img.tar")
https://androidfilehost.com/?fid=890129502657588962
Before flashing custom ROM (in zip format), I use TWRP to wipe everything on the phone (cache / Dalvik, data, system, internal storage).
The 6.0.1 custom ROM I installed with TWRP:
AXES ROM v.1 (they did say it is compatible with A520W)
https://forum.xda-developers.com/samsung-a-series-2017/development/rom-t3606231
I did not find any nougat custom ROM suitable for A520W. I am happy that I can find a rooted ROM and it does not matter to me whether it is marshmellow or nougat.
Click to expand...
Click to collapse
You have rooted the device successfully the first time when you flashed magisk.Just root manager app was not installed.
If you have screwed up your device, do a clean flash of OS...then flash twrp and after flashing magisk the binary would be flashed but the app would
not be installed.To do that extract the app from the magisk zip that you flashed.It must be in common folder inside the zip.
Dont flash binaries on top of binaries.
Hope it helps
dan.tjones said:
Hey everyone,
I have been trying to root my new Samsung A5 (A520W - Canadian variant) but nothing seems to be working.
My first method was to flash CF AUTO ROOT with Odin, but this just rebooted the device without any sign of changing anything - no superSU installed and RootChecker returning negative results
I then flashed TWRP, and from there tried installing both SuperSU and Magisk v16.0, both of these options made the phone unusable (verification error on boot) so I flashed back to stock firmware and now I'm out of ideas.
I've tried looking for guides on the SM-A520F (non-Canadian variant) but most of these are out of date with respect to the recent OTA upgrade to nougat and/or mention the CF AUTO ROOT method which I know doesn't work
has anyone here managed to root this device? Am I missing a step, like formatting/wiping data beforehand or something? is it worth downgrading to an earlier android version?
Cheers!
Click to expand...
Click to collapse
hey...im novice at this as well but I did get my a520w rooted with su on oreo with twrp...I flashed the latest su on twrp....twrp was hard to get on but there is somewhere that shows how...good luck
A Very Possible and Precise Solution
dan.tjones said:
Hey everyone,
I have been trying to root my new Samsung A5 (A520W - Canadian variant) but nothing seems to be working.
My first method was to flash CF AUTO ROOT with Odin, but this just rebooted the device without any sign of changing anything - no superSU installed and RootChecker returning negative results
I then flashed TWRP, and from there tried installing both SuperSU and Magisk v16.0, both of these options made the phone unusable (verification error on boot) so I flashed back to stock firmware and now I'm out of ideas.
I've tried looking for guides on the SM-A520F (non-Canadian variant) but most of these are out of date with respect to the recent OTA upgrade to nougat and/or mention the CF AUTO ROOT method which I know doesn't work
has anyone here managed to root this device? Am I missing a step, like formatting/wiping data beforehand or something? is it worth downgrading to an earlier android version?
Cheers!
Click to expand...
Click to collapse
Hey Sir!
Soooooo I've been messing around with this all night and I figured it out somehow after nearly frying my new A5 (2017) lol
I'd recommend that you follow the directions as best you can and as fully to help you not have to redo all your software settings and stuff like I did haha. I think if all this is done in this order you shouldn't have to lose your data. I can't guarantee anything but figured I could share what worked for me. BONUS: I actually don't have an unlocked phone and I'm still locked to my carrier actually! So I don't think all these warnings are necessarily valid. Anyhow, hope it helps. :laugh:
NOTE: I'm not allowed to post website links here for some reason haha so sorry for the inconvenience! All the sites began with the https colon double slash btw! So MAKE SURE to add that to the addresses below (links are in italics)!
FIRST: Completely backup phone using Android Studio as can be found at Tech Republic website /article/how-to-create-a-full-backup-of-your-android-device-without-root/ . Also I'd recommend you do a Smart Switch full backup. Smart Switch will work to some extent and I personally restored from there pretty intact as I didn't have the Android Studio backup option before my phone got wrecked by the Verification error after I attempted to flash SuperSU onto the phone using TWRP.
1. BEFORE ANYTHING ELSE: Enable Developer Mode (by tapping on the Build Number several times), Turn OEM unlock on, enable USB debugging, and make sure all the "factory reset block" is off (or Allow factory reset option is on) and encrypted data features are off, I unlocked any Notes and disabled Secure Folder and Knox and Samsung Pass
2. Turn phone off
3. Boot phone into Custom OS install mode by holding Power+Volume Up+Home
4. I downloaded a TWRP installer file from tx5.androidfilehost.com/dl/TLLV1I5jSqS9Zg68RNh1hA/1538776061/890129502657588962/recovery_a5y17lte-080318.img.tar
5. Download the Odin software to flash TWRP onto your device, I got mine from drive.google.com/file/d/0B-2yp-J_x0LPaGJrSUlUcHE1a2s/view
6. Used Odin 3.1 to flash TWRP onto Recovery using the AP function, also turned Auto Reboot and F.Restart off (unchecked boxes)
7. Downloaded (newest file that's a zip) such as no-verity-opt-encrypt-6.0.zip from build.nethunter.com/android-tools/no-verity-opt-encrypt/ and put it on the SD card in the phone
8. Turned phone off and booted it into Recovery Mode by holding Power+Volume Down+Home
9. Used TWRP recovery to flash the no-verity-opt-encrypt-6.0.zip which sort of disables all the security things on Samsung (such as Health and Pass and Auto Updates) that would block your work, and this actually lets you reboot your phone instead of getting the Verification Integrity Check failed error and having to reset your phone every time.
10. After rebooting my phone, everything was running fine. I then downloaded SuperSU file SR5-SuperSU-v2.82-SR5-20171001224502.zip from download.chainfire.eu/1220/SuperSU/SR5-SuperSU-v2.82-SR5-20171001224502.zip?retrieve_file=1
11. Used TWRP in Recovery Mode to flash SuperSU onto phone from SD card and hit Reboot. Slight boot loop was visible and then the phone restarted normally with SuperSU installed and full root access. Thanks be to God.
Again, I can't guarantee this will work BUT it is the first walkthrough that I know of on the web. Hope it helps at all!
Edit:
Originally gave up on this, but recently managed to flash TWRP.
Now in Verification Error on boot, and trying to flash the no-verity to get around that.
Success (almost rooted, but shouldn't be much harder)
Just flashed a custom OS using Odin_3.12.3, twrp-3.2.3-1-a5y17lte.img.tar, lineage-14.1-20181117-nightly-a5y17lte-signed.zip, and open_gapps-arm64-7.1-pico-20181204.zip.
With help from this discussion, the LineageOS wiki "Install LineageOS on a5y17lte", r/LineageOS "Heimdall Failed to send data" (a post by noahajac was very helpful. You'll find it soon after OP), and the Odin install guide.
Some problems I encountered was that heimdall isn't favoured for this, and that if you try to wipe your partition through TWRP and it says it couldn't mount /data, you need to format the partition before wiping it.
Edit: so upon using the phone for a bit, it became evident that the SIM card was not being detected. From what I've read so far, this is because the phone had Android Oreo and the LineageOS was for Nougat. So I will have to restore and then revert to a Nougat version of Android and try again from there...
Not gonna be finished tonight. As long as I can get the restore and cell service working...
Two Questions re: rooting the SM-A520W
1. How can I make a proper Nandroid Backup. Everytime I go into TWRP the /data partition is unavailable. Yes I formated it and flashed no-verity-opt-encrypt-6.0.zip but it still is Zero bytes.
2. After rooting, the Fingerprint scanner becomes non operational and the lock screen password/pin does not work (keeps asking for the same password/pin over and over even though they are correct.)
Thanks for the Help.
ethan_hines said:
1. How can I make a proper Nandroid Backup. Everytime I go into TWRP the /data partition is unavailable. Yes I formated it and flashed no-verity-opt-encrypt-6.0.zip but it still is Zero bytes.
2. After rooting, the Fingerprint scanner becomes non operational and the lock screen password/pin does not work (keeps asking for the same password/pin over and over even though they are correct.)
Thanks for the Help.
Click to expand...
Click to collapse
Which firmware are you running.
ashyx said:
Which firmware are you running.
Click to expand...
Click to collapse
I'm on Stock 8.0
I managed to fix problem 1 by flashing a modded Version of TWRP (3.2.3-TwrpBuilder) I am rooted with Magisk and now have access to the /data partition and can make a proper Nandroid Backup.
Problem 2 Is still there I seem to remember I have to replace Samsung Pass and Samsung Account, but I don't know where they are located I think I am supposed to create a directory in /prv-app I don't remember
I have that phone. I installed a custom recovery and used super SU.
SonicFan66 said:
I have that phone. I installed a custom recovery and used super SU.
Click to expand...
Click to collapse
I didn't want Super SU because it can't be hidden from apps that disable if root is detected esp. Snapchat
@ethan_hines did you figure it out? I am looking to do what you did.

Root and Magisk on Oreo (oct security patch)

After using this phone for a while I decided to root it.
I unlocked bootloader, installed TWRP and flashed Magisk, but all I get is bootloop or stuck on bootlogo (your device has been unlocked.....)
SOLUTION
https://forum.xda-developers.com/moto-z-play/how-to/guide-how-to-magisk-root-xposed-oreo-8-t3743273
Applicable also for moto Z2 Play, just with appropriate recovery, of course
Please note the updates to the first post. It may be necessary to do the procedure twice.
I tried these TWRPs:
3.2.3.0
64bit 3.2.1
and TWRP and modified magisk from https://forum.xda-developers.com/z2-play/how-to/guide-twrp-root-t3667769
I tried all TWRPs with both modified magisk and official v18.
I have XT1710-09 with Oreo and October security patch
Is there a way to root this lastest firmware?
Thanks
Klen2 said:
I tried these TWRPs:
3.2.3.0
64bit 3.2.1
and TWRP and modified magisk from https://forum.xda-developers.com/z2-play/how-to/guide-twrp-root-t3667769
I tried all TWRPs with both modified magisk and official v18.
I have XT1710-09 with Oreo and October security patch
Is there a way to root this lastest firmware?
Thanks
Click to expand...
Click to collapse
I did 3.2.3-0 TWRP method (by Junior Passos) on my XT1710-06 device with 8.0 on August 1 security patch (purposefully neglected updating any further cause method was tested exactly up to August patch according to Passos) and everything seems working pretty fine for a month now. Think I've installed no Magisk modules other than Xposed systemless yet and I've no interest in SafetyNet as well, so not deeply tested either. Don't know for sure, but I guess there's a good chance for such method to work on October patch too. Just be sure to perform every step as it is now in the 3.2.3-0 OP. One word of advice: after performing TWRP backup, look for it in /system/media and move it to both external and internal SDcards just in case something goes wrong (usually because of a missed step, I can say)... Also: I recommend to install Magisk v17.1 first time; then, if you want, update to v18 but right from the installer...
Sent from my Moto Z2 Play using XDA Labs
Strange, I have zero magisk problems when using the latest stock rom. Flash in twrp, done, no issues. However, it could be because I first back up boot and system and then restore them with twrp before rooting(this removes encryption).
Have these steps worked for me...
1.)Flash TWRP using Fastboot
2.)Go to TWRP/Settings and open Terminal.
3.)Run both of following commands:
echo KEEPVERITY=true>>/data/.magisk
echo KEEPFORCEENCRYPT=true>>/data/.magisk
Click to expand...
Click to collapse
4.)Flash Magisk-v17.1.zip
5.)Repeat step 2 and 3 dont wipe.
6.)Start
NOTE: before Reinstall stock or uninstall Magisk.
I did the Junior Passos method of doing the backup, and everything is working like a charm.
Cupcake 1.5 said:
Strange, I have zero magisk problems when using the latest stock rom. Flash in twrp, done, no issues. However, it could be because I first back up boot and system and then restore them with twrp before rooting(this removes encryption).
Click to expand...
Click to collapse
Hi, Could you please, tell me which stock ROM you are using and where is possible to get it?
First time I am having problem with Magisk, never had on other phones.
Problem = Bootlop
OldUncle said:
Hi, Could you please, tell me which stock ROM you are using and where is possible to get it?
First time I am having problem with Magisk, never had on other phones.
Problem = Bootlop
Click to expand...
Click to collapse
It's not what rom but, how you do it. When on stock ROM, it is encrypted so you must first back up system and boot and then immediately restore them, this remove encryption. Now flash magisk and it will work.
Cupcake 1.5 said:
It's not what rom but, how you do it. When on stock ROM, it is encrypted so you must first back up system and boot and then immediately restore them, this remove encryption. Now flash magisk and it will work.
Click to expand...
Click to collapse
Perfect!
Thank you very much!
The only solution which worked!
Finally I got full control on my Z2 Play.
Cupcake 1.5 said:
It's not what rom but, how you do it. When on stock ROM, it is encrypted so you must first back up system and boot and then immediately restore them, this remove encryption. Now flash magisk and it will work.
Click to expand...
Click to collapse
Regarding backup, this is done through the stock ROM correct (Settings --> System --> Backup to Google Drive).
Thanks,
smithmal
Cupcake 1.5 said:
It's not what rom but, how you do it. When on stock ROM, it is encrypted so you must first back up system and boot and then immediately restore them, this remove encryption. Now flash magisk and it will work.
Click to expand...
Click to collapse
This worked perfectly on my Moto Z2 XT1710-06 with Oreo 8.0 when no other options worked.
Flash or Boot into TWRP
Backup System and Boot partitions in TWRP
Restore System and Boot Partitions in TWRP (note I had to enable R/W access in TWRP to restore the system partition)
Flash Magisk-v19.3.zip
Reboot
That is it. Now Rooted and passes all SafteyNet test. No more restricted apps. Even Google Pay now works.
Thank You.
sick
Cupcake 1.5 said:
It's not what rom but, how you do it. When on stock ROM, it is encrypted so you must first back up system and boot and then immediately restore them, this remove encryption. Now flash magisk and it will work.
Click to expand...
Click to collapse
your method worked like charm, thanks alot man

Help updating Android on a rooted OnePlus 5T

Hey guys, so this is my problem:
I've bought a OnePlus 5T some days after its release. When i searched for a tutorial teaching how to root the device (i don't know the root process deeply), there were just a few videos at that time. This was the video i watched to root me device (some people already told me that this isn't the best method, but it was what I had at the moment):
https://www.youtube.com/watch?v=9SsIH6iauYQ
As i told, i'm a layman and doesn't know the root process, and now i need to update urgently my Android (its currently on the Android version it was when i bought it: 7.1.1). I've found some threads with a similar situation, but i got lost in all the details that i don't know, like "you need to unlock the bootloader", "just flash the TWRP and stuff", but i need a more simple language like "click this, click that". I really need it now, so i'm even thinking about searching for someone trustable to do it or transfering some cash to anyone who helps me, because i don't wanna lose anything important in the process. Anyone that can help me, PLEASE?!
Thanks in advance
djmarkybr said:
Hey guys, so this is my problem:
I've bought a OnePlus 5T some days after its release. When i searched for a tutorial teaching how to root the device (i don't know the root process deeply), there were just a few videos at that time. This was the video i watched to root me device (some people already told me that this isn't the best method, but it was what I had at the moment):
https://www.youtube.com/watch?v=9SsIH6iauYQ
As i told, i'm a layman and doesn't know the root process, and now i need to update urgently my Android (its currently on the Android version it was when i bought it: 7.1.1). I've found some threads with a similar situation, but i got lost in all the details that i don't know, like "you need to unlock the bootloader", "just flash the TWRP and stuff", but i need a more simple language like "click this, click that". I really need it now, so i'm even thinking about searching for someone trustable to do it or transfering some cash to anyone who helps me, because i don't wanna lose anything important in the process. Anyone that can help me, PLEASE?!
Thanks in advance
Click to expand...
Click to collapse
I am not sure, if I understood it correctly. You need to update your device that's clear but do you need your device still rooted afterwards?
Because if not just update your device, it should be that simple. If you need to root your device afterwards just follow this thread:
https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-unlock-bootloader-flash-twrp-t3704592
Gesendet von meinem CLT-L29 mit Tapatalk
CaerCadarn said:
I am not sure, if I understood it correctly. You need to update your device that's clear but do you need your device still rooted afterwards?
Because if not just update your device, it should be that simple. If you need to root your device afterwards just follow this thread:
https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-unlock-bootloader-flash-twrp-t3704592
Gesendet von meinem CLT-L29 mit Tapatalk
Click to expand...
Click to collapse
Sorry, actually i forgot this detail. I have a root based on SuperSU and i would like to have the Magisk one after i update my Android. What you think is the best way to do it?
Btw, just one question: you said that if i didn't want to keep the root, i could just update my Android, but once i click in the system update option, the update fails, i believe its because of the root right?
djmarkybr said:
Sorry, actually i forgot this detail. I have a root based on SuperSU and i would like to have the Magisk one after i update my Android. What you think is the best way to do it?
Btw, just one question: you said that if i didn't want to keep the root, i could just update my Android, but once i click in the system update option, the update fails, i believe its because of the root right?
Click to expand...
Click to collapse
No, because you have to download the whole update package. Normally the device detects itself if it is rooted/unlocked, so there should be the option to download the whole package. With that the update should not fail.
Gesendet von meinem CLT-L29 mit Tapatalk
CaerCadarn said:
No, because you have to download the whole update package. Normally the device detects itself if it is rooted/unlocked, so there should be the option to download the whole package. With that the update should not fail.
Gesendet von meinem CLT-L29 mit Tapatalk
Click to expand...
Click to collapse
Where i find this whole package option? Can i just download the last version (5.7.1) on OnePlus site?
@ djmarkybr,
follow this self explanatory guide by Funk Wizard, here:https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-unlock-bootloader-flash-twrp-t3704592
for removing super su you can use uninstaller unsu
a0879 said:
@ djmarkybr,
follow this self explanatory guide by Funk Wizard, here:https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-unlock-bootloader-flash-twrp-t3704592
for removing super su you can use uninstaller unsu
Click to expand...
Click to collapse
Ok, i read the guide so i'll try to follow it once i get home since i don't have admin access on my work.
Just 2 questions:
1- how do i remove SuperSU? I'm asking cause i've download the file you attached and there is no .exe file or something on it, do i put the files on my phone and then execute the uninstaller by the phone itself? If so, how i do it? Btw, i was taking a look at the SuperSU app and it has this option : "Exchange superuser app - Cleaning to exchange for another superuser app", it works just the same as your uninstall?
2- Even reading FunkWizard's guide, i'm still confused of which order i should do the things. Because i need to:
- Uninstall SuperSU
- Download full OTA on OnePlus website and install it through TWRP
- Install Magisk
is there a best order to do all this? Am i missing something?
Thanks
The attached unsu file is for removing super su by flashing thru twrp ! its not not for pc i.e. no .exe file.
i assume that your bootloader is unlocked and twrp already installed then just flash the unsu zip in twrp > wipe dalvik/cache > reboot, super su gets removed.
You can also go like this (you may need a pc for this):
Since you are on nougat build download the oreo version first.
first download the full oos rom from here on pc : https://forum.xda-developers.com/showthread.php?t=3728665http://
download latest magisk zip from here :https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445http://
download no verity zip to remain decrypted, here :https://forum.xda-developers.com/oneplus-5/how-to/guide-how-to-decrypt-data-partition-t3642144
boot your phone in twrp , wipe everything (first transfer your important data from phone to pc/usb otg), in twrp you can go advanced > format data > yes > done > reboot twrp > now there is nothing in your phone by formatting internal storage (everything). Now while in twrp transfer your already downloaded oos and magisk zips from pc to your phone through the data cable.
Now, flash oos zip > magisk zip > no verity zip > wipe dalvik/cache > reboot > that's it, enjoy your new android version !
a0879 said:
The attached unsu file is for removing super su by flashing thru twrp ! its not not for pc i.e. no .exe file.
i assume that your bootloader is unlocked and twrp already installed then just flash the unsu zip in twrp > wipe dalvik/cache > reboot, super su gets removed.
You can also go like this (you may need a pc for this):
Since you are on nougat build download the oreo version first.
first download the full oos rom from here on pc : https://forum.xda-developers.com/showthread.php?t=3728665http://
download latest magisk zip from here :https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445http://
download no verity zip to remain decrypted, here :https://forum.xda-developers.com/oneplus-5/how-to/guide-how-to-decrypt-data-partition-t3642144
boot your phone in twrp , wipe everything (first transfer your important data from phone to pc/usb otg), in twrp you can go advanced > format data > yes > done > reboot twrp > now there is nothing in your phone by formatting internal storage (everything). Now while in twrp transfer your already downloaded oos and magisk zips from pc to your phone through the data cable.
Now, flash oos zip > magisk zip > no verity zip > wipe dalvik/cache > reboot > that's it, enjoy your new android version !
Click to expand...
Click to collapse
Thank you so much for the help, i'll try this once i get home. Just one more thing: you suggest a Beta Oreo Version or a Stable One? Any version specifically?
djmarkybr said:
Thank you so much for the help, i'll try this once i get home. Just one more thing: you suggest a Beta Oreo Version or a Stable One? Any version specifically?
Click to expand...
Click to collapse
After installing Oreo I don't think that you'll remain on it for a long time.. ha, ha..., Pie is already waiting out there.. :laugh:
go for stable :good:
5.1.3 to 5.1.7
a0879 said:
After installing Oreo I don't think that you'll remain on it for a long time.. ha, ha..., Pie is already waiting out there.. :laugh:
go for stable :good:
5.1.3 to 5.1.7
Click to expand...
Click to collapse
Hey buddy, i followed your steps and now the phone isn't starting totally, it stops on the OnePlus start screen with the white balls around the red one. Should i do the process all again? Can i start TWRP in this situation?
edit: nvm, i try it again and now it works normally But Magisk isn't working, when i try to flash it through TWRP it shows "Updater process ended with ERROR: 1
Error instaling zip file '/sdcard/Magisk....' "
And Android version is still 7.1.1 , so i need to update the Android through the phone itself and then i reapply the root?
edit2: sorry for so many edits in this same reply, let me try to explain the status of all the process right now to see if you can give me some tip:
- Android is on 8.1.0 version right now; Do i need to upload it more?
- Bootloader is unlocked (at least when i go "Enable OEM Unlocking" on Developer options, i cant check this option cause it says that bootloader is already unlocked)
- I can't acess TWRP on reboot now, it seems that i enter on some Oneplus Recovery Mode, not TWRP itself
- Root isn't working
If you need any extra information just ask me
djmarkybr said:
Hey buddy, i followed your steps and now the phone isn't starting totally, it stops on the OnePlus start screen with the white balls around the red one. Should i do the process all again? Can i start TWRP in this situation?
edit: nvm, i try it again and now it works normally But Magisk isn't working, when i try to flash it through TWRP it shows "Updater process ended with ERROR: 1
Error instaling zip file '/sdcard/Magisk....' "
And Android version is still 7.1.1 , so i need to update the Android through the phone itself and then i reapply the root?
edit2: sorry for so many edits in this same reply, let me try to explain the status of all the process right now to see if you can give me some tip:
- Android is on 8.1.0 version right now; Do i need to upload it more?
- Bootloader is unlocked (at least when i go "Enable OEM Unlocking" on Developer options, i cant check this option cause it says that bootloader is already unlocked)
- I can't acess TWRP on reboot now, it seems that i enter on some Oneplus Recovery Mode, not TWRP itself
- Root isn't working
If you need any extra information just ask me
Click to expand...
Click to collapse
I acknowledge your PM, Little tied up at the moment. Please allow me time till tonight to study your case and i shall reply with the best way forward. Don't do anything silly till then
Edit: Please confirm the current status of the device
Rom/OS version
TWRP yes/no
Magisk yes/no
Funk Wizard said:
I acknowledge your PM, Little tied up at the moment. Please allow me time till tonight to study your case and i shall reply with the best way forward. Don't do anything silly till then
Edit: Please confirm the current status of the device
Rom/OS version
TWRP yes/no
Magisk yes/no
Click to expand...
Click to collapse
No problem FunkWizard, take your time and answer when possible, i'll hold my fingers to don't get a worst situation. :angel:
Rom/OS version : Custom ROM(i believe)/8.1.0
TWRP: no; after everything i tried, when i try to acess TWRP now, it doesn't enter on TWRP itself, it shows a different recover screen, like a recovery screen of Oneplus system, just like the picture i attached.
Magisk: no; one of my goals in this entire process was to uninstall SuperSU and install Magisk after all, but when TWRP was working and i tried to install Magisk, i got an error and Magisk didn't install correctly, and since i've uninstalled the SuperSU, i'm without root right now, and i can't even try to install it since TWRP is working right now :crying:
djmarkybr said:
No problem FunkWizard, take your time and answer when possible, i'll hold my fingers to don't get a worst situation. :angel:
Rom/OS version : Custom ROM(i believe)/8.1.0
TWRP: no; after everything i tried, when i try to acess TWRP now, it doesn't enter on TWRP itself, it shows a different recover screen, like a recovery screen of Oneplus system, just like the picture i attached.
Magisk: no; one of my goals in this entire process was to uninstall SuperSU and install Magisk after all, but when TWRP was working and i tried to install Magisk, i got an error and Magisk didn't install correctly, and since i've uninstalled the SuperSU, i'm without root right now, and i can't even try to install it since TWRP is working right now :crying:
Click to expand...
Click to collapse
you lost TWRP sometimes happen but not worry you can easly load again :good:
Mervingio said:
you lost TWRP sometimes happen but not worry you can easly load again :good:
Click to expand...
Click to collapse
Thank God o/ i just need to know how lol :laugh:
djmarkybr said:
No problem FunkWizard, take your time and answer when possible, i'll hold my fingers to don't get a worst situation. :angel:
Rom/OS version : Custom ROM(i believe)/8.1.0
TWRP: no; after everything i tried, when i try to acess TWRP now, it doesn't enter on TWRP itself, it shows a different recover screen, like a recovery screen of Oneplus system, just like the picture i attached.
Magisk: no; one of my goals in this entire process was to uninstall SuperSU and install Magisk after all, but when TWRP was working and i tried to install Magisk, i got an error and Magisk didn't install correctly, and since i've uninstalled the SuperSU, i'm without root right now, and i can't even try to install it since TWRP is working right now :crying:
Click to expand...
Click to collapse
djmarkybr said:
Thank God o/ i just need to know how lol :laugh:
Click to expand...
Click to collapse
If you have oneplus recovery instead of twrp then you can't be on custom ROM, it has to be on oxygenos. Unless I know of what version I would not be able to give you the step by step process.
U can flash twrp easily, simply download the latest Bluspark twrp and flash it via fastboot steps on the unlock device thread in the guides section.
There on you can download and flash the full zips from twrp followed by Magisk.
Sent from my OnePlus6T using XDA Labs
Funk Wizard said:
If you have oneplus recovery instead of twrp then you can't be on custom ROM, it has to be on oxygenos. Unless I know of what version I would not be able to give you the step by step process.
U can flash twrp easily, simply download the latest Bluspark twrp and flash it via fastboot steps on the unlock device thread in the guides section.
There on you can download and flash the full zips from twrp followed by Magisk.
Sent from my OnePlus6T using XDA Labs
Click to expand...
Click to collapse
Sorry Funk, i confused the information, my OxigenOS is 5.1.4
I'll wait for your step by step just to make sure i don't do something wrong
Hi. I download the official update on My 5t rooted. But do not install correctly. "installation failed", it's a twrp problem? I i flash the stock recovery works fine? Thanks.
bramby said:
Hi. I download the official update on My 5t rooted. But do not install correctly. "installation failed", it's a twrp problem? I i flash the stock recovery works fine? Thanks.
Click to expand...
Click to collapse
I don't know, i'm also lost here. Hope someone can help you too
bramby said:
Hi. I download the official update on My 5t rooted. But do not install correctly. "installation failed", it's a twrp problem? I i flash the stock recovery works fine? Thanks.[/QUOTE @djmarkybr
I flashed back stock recovery and all went fine with Pie!
Gesendet von meinem CLT-L29 mit Tapatalk
Click to expand...
Click to collapse

[GUIDE] How to Root OnePlus 7T without TWRP

So today with some testers i managed to make root on OnePlus 7T, I want to specify that 95% of the work was done by @topjohnwu (Magisk creator). For now you should use only Magisk Canary files
I will explain 2 different guides:
First Root Guide:
This guide is for a specific rom version, so you will need to use a specific patched boot.img
- Download the patched_boot.img
- Reboot your device in bootloader-fastboot mode
- Flash the patched_boot.img in the boot partition:
Code:
fastboot flash boot boot.img
replace "boot.img" with the patched_boot.img path
- Reboot the device
- Install Magisk Manager
Second Root Guide:
This guide is more generic than the first one, you should use this one if you are unable to find a specific patched boot.img
- Download a patched_boot.img (you should try with the latest one)
- Reboot your device in bootloader-fastboot mode
- Boot the patched_boot.img:
Code:
fastboot boot boot.img
replace "boot.img" with the patched_boot.img path
- Reboot the device
- Install Magisk Manager
- Click on Install, then direct install and wait the end of the process
- Reboot the device
Third Root Guide:
Guide by @gpz1100
TIPS:
Actually you should use only Magisk canary files Magisk 20.3
You can get the stock boot images from the fastboot rom: https://forum.xda-developers.com/oneplus-7t/how-to/rom-stock-fastboot-roms-oneplus-7t-t3979213
Actually i'm using magisk manager canary and magisk canary debug to patch the boot.img, I don't recommend updating magisk, if you don't want to see the updates install the normal magisk manager
Magisk 20.3 fully support OnePlus 7T and 7T Pro
HOW TO UPDATE a ROM and KEEP ROOT:
Before all Disable all magisk modules
Be sure to use Canary Magisk Manager and Canary Magisk (debug)
You can update a stock rom from phone settings with local upgrade:
- Update the Rom WITHOUT REBOOT;
- Open Magisk Manager;
- In Magisk Manager, click on Install/Install/Direct Install;
- Again in Magisk Manager, click on Install/Install/Inactive Slot;
- Reboot.
Download:
Patched/Stock Boot Images: https://www.androidfilehost.com/?w=files&flid=300177
Reccomended ADB and Fastboot binaries:
Adb and Fastboot Installer
Donations:
Credits:
@RohanAJoshi
Flashed and working flawless.
Really thanks for this.
Awesome work bro.
Can you please upload the patched boot.img please? I dont see it in the above folder at all.
nick_22 said:
Can you please upload the patched boot.img please? I dont see it in the above folder at all.
Click to expand...
Click to collapse
Done, i uploaded them using ftp and i forgot to move the files in the right folder
Working, thanks a lot @mauronofrio
I am on 10.0.3 begin so i should flash the magisk patched boot image of this version, is that correct? With what should i flash, sdk tools or any other specific tool? Is there any portable adb toolkit and do i need to copy the not image in the same folder as adb?
Edit : I tried but the device was locked so unlocked it after finding instructions on xda. Never knew it would wipe everything including internal storage also
Need to install everything again and have lost data of last few days. But I got root so that's the only consolation. Also a lesson never to make unnecessary haste. But it's fine. Won't repeat the mistake again.
jesrani said:
I am on 10.0.3 begin so i should flash the magisk patched boot image of this version, is that correct? With what should i flash, sdk tools or any other specific tool? Is there any portable adb toolkit and do i need to copy the not image in the same folder as adb?
Edit : I tried but the device was locked so unlocked it after finding instructions on xda. Never knew it would wipe everything including internal storage also
Need to install everything again and have lost data of last few days. But I got root so that's the only consolation. Also a lesson never to make unnecessary haste. But it's fine. Won't repeat the mistake again.
Click to expand...
Click to collapse
See OP, its clearly mentioned there. You have to flash this via fastboot and not any custom recovery. Firstly setup adb on your PC and then check the commands. Its very easy. Do some googling and still if its difficult for you, come back and ask.
jesrani said:
I am on 10.0.3 begin so i should flash the magisk patched boot image of this version, is that correct? With what should i flash, sdk tools or any other specific tool? Is there any portable adb toolkit and do i need to copy the not image in the same folder as adb?
Edit : I tried but the device was locked so unlocked it after finding instructions on xda. Never knew it would wipe everything including internal storage also
Need to install everything again and have lost data of last few days. But I got root so that's the only consolation. Also a lesson never to make unnecessary haste. But it's fine. Won't repeat the mistake again.
Click to expand...
Click to collapse
Welcome to the android scene, reminds me of the old psx scene
I installed some rogue module, that was not supposed to be installed on OP 7T. Due to this, now I am not able to boot into patched boot. I had to re-flash my stock boot.img to boot into my phone. Can you please help? I want to uninstall that particular module thats all. Tried doing something with your TWRP, but it wont show my system or storage at all.
@mauronofrio, thanks so much for this. I had some queries :
1) Is the internal storage always wiped when bootloader is unlocked or did I do something wrong?
2) I have switched off auto-download of updates and also disabled automatic system updates in Developer settings. Is this correct? How to proceed when an update is available in future?
3) Will TWRP be developed or is it not useful for OP7T?
nick_22 said:
I installed some rogue module, that was not supposed to be installed on OP 7T. Due to this, now I am not able to boot into patched boot. I had to re-flash my stock boot.img to boot into my phone. Can you please help? I want to uninstall that particular module thats all. Tried doing something with your TWRP, but it wont show my system or storage at all.
Click to expand...
Click to collapse
Get your stock boot.img from 1st post.
Reboot to bootloader.
And do this command
fastboot flash boot boot.img
fastboot reboot
Device will boot unrooted.
---------- Post added at 05:58 AM ---------- Previous post was at 05:55 AM ----------
jesrani;80464121 [user=4712355 said:
@mauronofrio[/user], thanks so much for this. I had some queries :
1) Is the internal storage always wiped when bootloader is unlocked or did I do something wrong?
2) I have switched off auto-download of updates and also disabled automatic system updates in Developer settings. Is this correct? How to proceed when an update is available in future?
3) Will TWRP be developed or is it not useful for OP7T?
Click to expand...
Click to collapse
1. Yes, always wipe
2. Just update as usual, let update go, after installation complete, don't reboot device. Go to magisk, install, install on inactive slot. Reboot. You will be rooted (Warning : this is not tested on 7T, this method from 7)
3. TWRP will be developed but some good dev like @mauronofrio need device for this, as of now, no hopes for twrp. We are lucky that we got root.
RohanAJoshi said:
1. Yes, always wipe
2. Just update as usual, let update go, after installation complete, don't reboot device. Go to magisk, install, install on inactive slot. Reboot. You will be rooted (Warning : this is not tested on 7T, this method from 7)
3. TWRP will be developed but some good dev like @mauronofrio need device for this, as of now, no hopes for twrp. We are lucky that we got root.
Click to expand...
Click to collapse
Thanks. Yes, root is good enough right now.
By "update as usual", do you mean through OTA? I think the phone reboots after update is downloaded and then installs the update but not sure. So once it reboots after updating, should I go to Magisk and install root?
Should I keep Magisk update channel to Canary or Canary(Debug)? It's already showing an update as available. Should I update it?
jesrani said:
Thanks. Yes, root is good enough right now.
By "update as usual", do you mean through OTA? I think the phone reboots after update is downloaded and then installs the update but not sure. So once it reboots after updating, should I go to Magisk and install root?
Should I keep Magisk update channel to Canary or Canary(Debug)? It's already showing an update as available. Should I update it?
Click to expand...
Click to collapse
In older devices like OP5T it happens like this, not in newer devices. OP7T has seamless updates, its installs while device is turned on in second partition.
nick_22 said:
I installed some rogue module, that was not supposed to be installed on OP 7T. Due to this, now I am not able to boot into patched boot. I had to re-flash my stock boot.img to boot into my phone. Can you please help? I want to uninstall that particular module thats all. Tried doing something with your TWRP, but it wont show my system or storage at all.
Click to expand...
Click to collapse
So, modules are saved in /data , the only way to remove them without root actually is wiping data, if you can't now, you can just flash the stock boot.img because without root the modules can't work. Usually you can remove all magisk stuff using magisk uninstaller.
jesrani said:
@mauronofrio, thanks so much for this. I had some queries :
1) Is the internal storage always wiped when bootloader is unlocked or did I do something wrong?
2) I have switched off auto-download of updates and also disabled automatic system updates in Developer settings. Is this correct? How to proceed when an update is available in future?
3) Will TWRP be developed or is it not useful for OP7T?
Click to expand...
Click to collapse
1) yes
2) for rom updates i will pubblish a guide in the first post in some minutes
3) yes it will be developed but actually is needed a bit of time because twrp is not working for op7t (due to android 10)
mauronofrio said:
So, modules are saved in /data , the only way to remove them without root actually is wiping data, if you can't now, you can just flash the stock boot.img because without root the modules can't work. Usually you can remove all magisk stuff using magisk uninstaller.
1) yes
2) for rom updates i will pubblish a guide in the first post in some minutes
3) yes it will be developed but actually is needed a bit of time because twrp is not working for op7t (due to android 10)
Click to expand...
Click to collapse
Should I keep Magisk update channel to Canary or Canary(Debug)? It's already showing an update as available. Should I update it?
jesrani said:
Should I keep Magisk update channel to Canary or Canary(Debug)? It's already showing an update as available. Should I update it?
Click to expand...
Click to collapse
Canary debug, don't update it
Help please. I have returned to Android after 5years with OnePlus 7t and trying to root it. I am trying this method but not being able to successfully root it. Steps I have tried
Went to fastboot mode by restarting the phone but I don't get an option to install the patched image file. And even boatloader is locked. Do I need to unlock the bootloader. And I unlock will I loose my data. Sorry for silly question I have completely forgot about Android.
Thanks, rooted successfully
?
To be honest need video tutorial asap?
mauronofrio said:
So, modules are saved in /data , the only way to remove them without root actually is wiping data, if you can't now, you can just flash the stock boot.img because without root the modules can't work. Usually you can remove all magisk stuff using magisk uninstaller.
1) yes
2) for rom updates i will pubblish a guide in the first post in some minutes
3) yes it will be developed but actually is needed a bit of time because twrp is not working for op7t (due to android 10)
Click to expand...
Click to collapse
Ok. Got it. So, I have already booted back to unrooted mode now. And I cant wipe my data again. Thanks for your response.

Categories

Resources