Moto Z "hacking" experiences... - Moto Z Guides, News, & Discussion

EDIT: this is for Marshmallow only. For Nougat some adjustments are required and this way *does not work*!
It's only some days that I have finally my Moto Z on hands and have to say it's really a great piece of hardware for... geeks!
At first it seems nothing particular because of its really-close-to stock Android (it isn't for unexperienced users in my opinion... they haven't added neither a reboot option to Vanilla Android! :cyclops, but more I use it, more I go with modifications, more I like it: it's really well developed to be modified and customized and in this is great!
It's very hard to brick in my opinion, I really love the simple (to access...) and well working system for fastboot/recovery/bootloader etc... and in this it is even better than I expected...
Now I want to share some of my experiences of these days to (eventually) help new users...
My idea was to unlock it installing recovery, root, Xposed support, etc. leaving firmware as stock as possible (for now... ) and in the most "systemless" mode possible... Let's start!
First step was to unlock bootloader. No particular issues here (but Motorola web site that was down for a while when I need it for unlock code...! ). Only thing to note, command adb reboot fastboot often reboot to system instead. No problem, since access to fastboot by keys is very simple on Z.
Unlocking bootloader made a factory reset too, but this is common...
Flash TWRP: no problem at all. Only thing, if you are going to make the first backup without letting TWRP patching your system partition to have a full stock backup, prepare to flash it twice, since if you don't find the required setting after, at first system boot, the stock recovery will be rewritten (a common behaviour anyway...). This TWRP (3.0.2.0) is complete and well working in my opinion. Nothing to be surprised, since it's an official version...
Second step has been to disable encryption. Encryption introduces a bit "slowerness" that I didn't want and could be an issue in case of problems to be resolved... more, I don't need it.
Stock kernel doesn't permit to disable it and phone arrives already encrypted (all data and internal storage too).
So I flashed in TWRP the patch to disable forced encryption that you could find here in another thread and it works fine.
Please note that to decrypt phone you have to not only wipe data, BUT to format it, deleting ALL the contents of internal storage too. So... save them before!
Wanting (if possible...) a systemless modified system (ehm....), next step was to flash Magisk v.9 in TWRP and install Magisk Manager apk. All fine, no problem at all.
Then I tried to root using phh's SuperUser as hinted as best method to use with Magisk. I tried flashing both v.266 & v.266-2 (latest...), no errors during flashing, BUT no one has been able to get root...
So I went with SuperSU v.2.78 (not a particular one... the stock one! ) and it flashed with no issues and obtained root in perfect way (I'm not sure if in system or systemless way...)
Xposed: I installed "Material version installer" apk, since it's able to install both system and systemless versions of Xposed.
I tried both the available systemless versions (v.86), that this apk download and make them installed by TWRP automatically, but none apparently work. So I uninstalled them and I went with stock (system) one, that installs and works fine at first attempt. Modules as GravityBox works perfectly as expected.
I hope these experienced could be usefull for others. I'm here for eventual opinions/suggestions/Q&A... :fingers-crossed:
EDIT: please note that "unencrypt" and "Magisk" steps *are mandatory* to have SuperSU installed with no issues. At 99% in systemless mode.
EDIT: root this way is obtained in system mode.

almost identical to what i did
tried the prerooted rom but got some chinese headers so decided to drop it.
went back to stock and rooted and exposed it the same u did.
added the turbo z kernel though which gave me better battery life.

reiteravi said:
almost identical to what i did
tried the prerooted rom but got some chinese headers so decided to drop it.
went back to stock and rooted and exposed it the same u did.
added the turbo z kernel though which gave me better battery life.
Click to expand...
Click to collapse
This will be my next step I think... I want to test it a bit with stock kernel to have a starting point to compare with...

@mods: Probably this should be put as sticky, since of the lot of requests about root issues...

Can you share the link to disable encryption patch file.. the link in the other thread isn't working.

Manish54 said:
Can you share the link to disable encryption patch file.. the link in the other thread isn't working.
Click to expand...
Click to collapse
Here you are...

enetec said:
Here you are...
Click to expand...
Click to collapse
Thanks

Just to be clear... I've not tested first hand yet (I'm happily sticky with MM for now...), BUT it's my opinion that all above should work fine on Nougat too...

Updated OP to clarify that root has been obtained in system mode this way... (su located in /system/xbin...)

superuser doesn't work
enetec said:
It's only some days that I have finally my Moto Z on hands and have to say it's really a great piece of hardware for... geeks!
At first it seems nothing particular because of its really-close-to stock Android (it isn't for unexperienced users in my opinion... they haven't added neither a reboot option to Vanilla Android! :cyclops, but more I use it, more I go with modifications, more I like it: it's really well developed to be modified and customized and in this is great!
It's very hard to brick in my opinion, I really love the simple (to access...) and well working system for fastboot/recovery/bootloader etc... and in this it is even better than I expected...
Now I want to share some of my experiences of these days to (eventually) help new users...
My idea was to unlock it installing recovery, root, Xposed support, etc. leaving firmware as stock as possible (for now... ) and in the most "systemless" mode possible... Let's start!
First step was to unlock bootloader. No particular issues here (but Motorola web site that was down for a while when I need it for unlock code...! ). Only thing to note, command adb reboot fastboot often reboot to system instead. No problem, since access to fastboot by keys is very simple on Z.
Unlocking bootloader made a factory reset too, but this is common...
Flash TWRP: no problem at all. Only thing, if you are going to make the first backup without letting TWRP patching your system partition to have a full stock backup, prepare to flash it twice, since if you don't find the required setting after, at first system boot, the stock recovery will be rewritten (a common behaviour anyway...). This TWRP (3.0.2.0) is complete and well working in my opinion. Nothing to be surprised, since it's an official version...
Second step has been to disable encryption. Encryption introduces a bit "slowerness" that I didn't want and could be an issue in case of problems to be resolved... more, I don't need it.
Stock kernel doesn't permit to disable it and phone arrives already encrypted (all data and internal storage too).
So I flashed in TWRP the patch to disable forced encryption that you could find here in another thread and it works fine.
Please note that to decrypt phone you have to not only wipe data, BUT to format it, deleting ALL the contents of internal storage too. So... save them before!
Wanting (if possible...) a systemless modified system (ehm....), next step was to flash Magisk v.9 in TWRP and install Magisk Manager apk. All fine, no problem at all.
Then I tried to root using phh's SuperUser as hinted as best method to use with Magisk. I tried flashing both v.266 & v.266-2 (latest...), no errors during flashing, BUT no one has been able to get root...
So I went with SuperSU v.2.78 (not a particular one... the stock one! ) and it flashed with no issues and obtained root in perfect way (I'm not sure if in system or systemless way...)
Xposed: I installed "Material version installer" apk, since it's able to install both system and systemless versions of Xposed.
I tried both the available systemless versions (v.86), that this apk download and make them installed by TWRP automatically, but none apparently work. So I uninstalled them and I went with stock (system) one, that installs and works fine at first attempt. Modules as GravityBox works perfectly as expected.
I hope these experienced could be usefull for others. I'm here for eventual opinions/suggestions/Q&A... :fingers-crossed:
EDIT: please note that "unencrypt" and "Magisk" steps *are mandatory* to have SuperSU installed with no issues. At 99% in systemless mode.
EDIT: root this way is obtained in system mode.
Click to expand...
Click to collapse
thanks for sharing.
for me superuser doesn't work; the phone doen't boot.

[email protected] said:
thanks for sharing.
for me superuser doesn't work; the phone doen't boot.
Click to expand...
Click to collapse
There could be only some reasons:
- you are ready on Nougat (this is tested with MM)
or
- you have missed one of the mandatory steps (read Magisk installation...)
or
- you haven't used the right SuperSU version. v. 2.78 SuperSU-v2.78-201609011115.zip is the tested one.
Please doublecheck.

enetec said:
There could be only some reasons:
- you are ready on Nougat (this is tested with MM)
or
- you have missed one of the mandatory steps (read Magisk installation...)
or
- you haven't used the right SuperSU version. v. 2.78 SuperSU-v2.78-201609011115.zip is the tested one.
Please doublecheck.
Click to expand...
Click to collapse
i'm on Nougat already.

[email protected] said:
i'm on Nougat already.
Click to expand...
Click to collapse
In this case, try to install phh's SuperUser v.259 instead of SuperSU v.2.78 and then install phh's SuperUser manager from Play Store.
I've not tested first hand but many are reporting this should work (and, it seems, not newer version too... only v.259 )
Please remember that this is going to patch your boot.img instead of system.img, so have a complete backup just in case... :fingers-crossed:

Here's a link to the Phh superuser r259 https://superuser.phh.me
Worked fine for me on Nougat :good:

enetec said:
In this case, try to install phh's SuperUser v.259 instead of SuperSU v.2.78 and then install phh's SuperUser manager from Play Store.
I've not tested first hand but many are reporting this should work (and, it seems, not newer version too... only v.259 )
Please remember that this is going to patch your boot.img instead of system.img, so have a complete backup just in case... :fingers-crossed:
Click to expand...
Click to collapse
My MOTOZ rooted now! thanks!
---------- Post added at 15:37 ---------- Previous post was at 15:36 ----------
supacrazyguy42 said:
Here's a link to the Phh superuser r259 https://superuser.phh.me
Worked fine for me on Nougat :good:
Click to expand...
Click to collapse
My MOTOZ rooted now! thanks!
i'm trying to install xposed

[email protected] said:
My MOTOZ rooted now! thanks!
---------- Post added at 15:37 ---------- Previous post was at 15:36 ----------
My MOTOZ rooted now! thanks!
i'm trying to install xposed
Click to expand...
Click to collapse
Great! There's no Xposed ready for Nougat just yet though.

Is there a method for locked bootloader?

Hey there!
I've unlocked my bootloader but couldn't find the way to install the TWRP.
How can I do that? :laugh:
Ah, I'm on 7.0 already!

mrlipz said:
Hey there!
I've unlocked my bootloader but couldn't find the way to install the TWRP.
How can I do that? :laugh:
Ah, I'm on 7.0 already!
Click to expand...
Click to collapse
You can flash it with fastboot.
fastboot flash recovery XXXXX.img
After flash, not reboot your phone first reboot to recovery

MyDarkThrone said:
You can flash it with fastboot.
fastboot flash recovery XXXXX.img
After flash, not reboot your phone first reboot to recovery
Click to expand...
Click to collapse
...*and* enable write modifications in /system.
Otherwise at first system boot TWRP will be overwritten by stock recovery again...

Related

Most up to date rooting method for HTC A9?

Hi, I rooted my a9 back in May right around when 6.0.1 came out. Long story short, my device just gave up the ghost after a nasty interaction between the screen and concrete, so now I have a new device being shipped tomorrow. I figured the first thing I'll do is let it run any updates / OTAs it might have to get it up to date then attempt to root again.
I've been looking around for the past several hours trying to determine what the correct rooting method might be now given Nougat's rollout, but I haven't come across anything truly definitive yet. If anyone could enlighten me on what I'll need to do now to root this new version I'd be very appreciative.
Thanks in advance guys!
Just got the phone today and updated to 7.0 (software version 2.18.651.2) Still searching around and not seeing a definitive answer on whether or not the old method for rooting works for this or not. I'm hesitant to attempt it without knowing, so any advice would be greatly appreciated.
Last time I rooted, I used Windroid toolkid to unlock the bootloader, flash TWRP and apply SU. I'm wondering, would the same program work if I replaced the recovery.img file in the Data folder with the TWRP 3.0.3 unofficial recovery I saw floating around in here for nougat?
txag2011 said:
Just got the phone today and updated to 7.0 (software version 2.18.651.2) Still searching around and not seeing a definitive answer on whether or not the old method for rooting works for this or not. I'm hesitant to attempt it without knowing, so any advice would be greatly appreciated.
Last time I rooted, I used Windroid toolkid to unlock the bootloader, flash TWRP and apply SU. I'm wondering, would the same program work if I replaced the recovery.img file in the Data folder with the TWRP 3.0.3 unofficial recovery I saw floating around in here for nougat?
Click to expand...
Click to collapse
You can unlock it on the HTCDEV website, although if you've already got it unlocked I doubt you need to do it again. To root I just ADB fastboot flashed TWRP 3.0.3-4, then used that to flash Magisk, mounting system read only. I'm fairly sure some people are using Su on Nougat, so it'll probably work.
Never used the Windroid toolkit so I can't comment on that, but I've also never minded typing commands to the prompt. I'd imagine if you gave it the right TWRP it'd flash it OK..
JohnRogers23 said:
You can unlock it on the HTCDEV website, although if you've already got it unlocked I doubt you need to do it again. To root I just ADB fastboot flashed TWRP 3.0.3-4, then used that to flash Magisk, mounting system read only. I'm fairly sure some people are using Su on Nougat, so it'll probably work.
Never used the Windroid toolkit so I can't comment on that, but I've also never minded typing commands to the prompt. I'd imagine if you gave it the right TWRP it'd flash it OK..
Click to expand...
Click to collapse
That actually doesn't sound too bad; From that it seems like the process is still more or less the same. Why is the system mounted as read only though? After looking through most of the older step by step guides it doesn't mention anything about doing that. From what I see, after i run the command "fastboot flash recovery recovery.img" i boot into TWRP and then proceed to do a factory reset and wipe the cache, presumably to remove the encryption iirc, then install the supersu.zip is that still the correct procedure, or does this require mounting the system as read only now?
If you don't mind me asking, what steps exactly did you take to root yours? from what I've found all I need to do is get the bootloader unlocked with the steps from HTCDev, drop into download more, fastboot flash recovery recovery.img to get TWRP, boot into TWRP, run a format to get rid of the encryption, then install supersu.zip and that should be it. IS this correct or am I missing something?
I'm about to start the process trying to root using the above methods.. I'll post again when I have results.
txag2011 said:
That actually doesn't sound too bad; From that it seems like the process is still more or less the same. Why is the system mounted as read only though? After looking through most of the older step by step guides it doesn't mention anything about doing that. From what I see, after i run the command "fastboot flash recovery recovery.img" i boot into TWRP and then proceed to do a factory reset and wipe the cache, presumably to remove the encryption iirc, then install the supersu.zip is that still the correct procedure, or does this require mounting the system as read only now?
If you don't mind me asking, what steps exactly did you take to root yours? from what I've found all I need to do is get the bootloader unlocked with the steps from HTCDev, drop into download more, fastboot flash recovery recovery.img to get TWRP, boot into TWRP, run a format to get rid of the encryption, then install supersu.zip and that should be it. IS this correct or am I missing something?
Click to expand...
Click to collapse
It wasn't bad at all. The reason I mounted R/O is because I'm using Magisk and not disabling dm-verity. I'm not sure if it works the same on 7, but SuperSu should disable dm-verity, so if you're using it you might not need to mount R/O, I haven't been keeping up on that at all. Benefits of Magisk include Android Pay and being able to take an OTA.
That all sounds like exactly what you need to do, except I believe it's fastboot mode (the one with the black screen?) to flash TWRP. I also didn't have to format anything, but I believe you do if you're using Su and disabling forced encryption. You may want to take a system image backup before you change anything, so you can go back to stock and get an OTA, or in case something goes wrong, but other than that it sounds correct to me.
JohnRogers23 said:
It wasn't bad at all. The reason I mounted R/O is because I'm using Magisk and not disabling dm-verity. I'm not sure if it works the same on 7, but SuperSu should disable dm-verity, so if you're using it you might not need to mount R/O, I haven't been keeping up on that at all. Benefits of Magisk include Android Pay and being able to take an OTA.
That all sounds like exactly what you need to do, except I believe it's fastboot mode (the one with the black screen?) to flash TWRP. I also didn't have to format anything, but I believe you do if you're using Su and disabling forced encryption. You may want to take a system image backup before you change anything, so you can go back to stock and get an OTA, or in case something goes wrong, but other than that it sounds correct to me.
Click to expand...
Click to collapse
huh... Magisk can utilize android pay and OTA's? I'm a little bit intrigued.. I just might have to give that a quick look now. Was it difficult to get up and running, and is there a fairly decent guide for doing it?
txag2011 said:
huh... Magisk can utilize android pay and OTA's? I'm a little bit intrigued.. I just might have to give that a quick look now. Was it difficult to get up and running, and is there a fairly decent guide for doing it?
Click to expand...
Click to collapse
Magisk is a framework for systemlessly modifying /system, so safety net works and you can take an OTA (with stock recovery), and also includes root. It's brilliant, but not quite as powerful as Xposed. Not difficult at all to get running, all it needs is to flash the magisk installer zip in TWRP (system mounted R/O of course) and then install the Magisk Manager app from the play store.
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
JohnRogers23 said:
Magisk is a framework for systemlessly modifying /system, so safety net works and you can take an OTA (with stock recovery), and also includes root. It's brilliant, but not quite as powerful as Xposed. Not difficult at all to get running, all it needs is to flash the magisk installer zip in TWRP (system mounted R/O of course) and then install the Magisk Manager app from the play store.
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Click to expand...
Click to collapse
I might give this a shot then, thank you for that. I'm about to try flashing TWRP 3.0.3-0. From the looks of it this is the most current one available. I'll update when it's done
txag2011 said:
I might give this a shot then, thank you for that. I'm about to try flashing TWRP 3.0.3-0. From the looks of it this is the most current one available. I'll update when it's done
Click to expand...
Click to collapse
Go to the TWRP thread, hit the download tab, pick one of the newer ones there. I went with 3.0.3.-4.
JohnRogers23 said:
Go to the TWRP thread, hit the download tab, pick one of the newer ones there. I went with 3.0.3.-4.
Click to expand...
Click to collapse
Did just that. Got TWRP installed successfully. I PM'ed you a second ago but I might as well ask this here for everyone else to see in case someone else is wondering this too.... So if I'm understanding Magisk correctly, all I do now is hit install and choose Magisk v11.1?
Edit: I did just that, but it doesnt seem to have done anything.. I dont see and magisk apps, and root checker says i'm not rooted.. Did I miss something?
edit 2: scratch that... I just installed the magisk manager app from the playstore.. according to it, the latest version of magisk is in fact, installed, and it's rooted with magisksu (despite not showing so in rootchecker).. Little confused now. Is that everything that needs to be done?
edit 3: I went back in after seeing something mentioning installing phh's superuser via TWRP and installing the app after installing magisk. Did both, but noticed safety net wasn't passing. found an option in settings to hide magisk, which seems to fix that. I also ran root checker again and it shows I have root.
unless I missed anything you can think of I think that about finishes things. If thats it thank you for all the help @JohnRogers23
txag2011 said:
Did just that. Got TWRP installed successfully. I PM'ed you a second ago but I might as well ask this here for everyone else to see in case someone else is wondering this too.... So if I'm understanding Magisk correctly, all I do now is hit install and choose Magisk v11.1?
Edit: I did just that, but it doesnt seem to have done anything.. I dont see and magisk apps, and root checker says i'm not rooted.. Did I miss something?
edit 2: scratch that... I just installed the magisk manager app from the playstore.. according to it, the latest version of magisk is in fact, installed, and it's rooted with magisksu (despite not showing so in rootchecker).. Little confused now. Is that everything that needs to be done?
edit 3: I went back in after seeing something mentioning installing phh's superuser via TWRP and installing the app after installing magisk. Did both, but noticed safety net wasn't passing. found an option in settings to hide magisk, which seems to fix that. I also ran root checker again and it shows I have root.
unless I missed anything you can think of I think that about finishes things. If thats it thank you for all the help @JohnRogers23
Click to expand...
Click to collapse
I'm glad you got it working. Strange you had to flash phh's Su separately though. Anyway, glad I could help.
Well Working !
1.Backup your all imp data from internal memory
2.Flash TWRP 3.0.3-4.. Do not reboot into system and enter into Recovery TWRP..
3.Do a factory Reset via TWRP.. Do not reboot into system
4.Now flash SuperSU 2.79 SR3 via TWRP.. Finally Reboot into system..
*2 bootloops are common, do not give up for at least 3 bootloops..
*It will take a long time to boot as you have done a factory reset.. So be patient and wait for at least half hour..
Dr.Anshuman said:
1.Backup your all imp data from internal memory
2.Flash TWRP 3.0.3-4.. Do not reboot into system and enter into Recovery TWRP..
3.Do a factory Reset via TWRP.. Do not reboot into system
4.Now flash SuperSU 2.79 SR3 via TWRP.. Finally Reboot into system..
*2 bootloops are common, do not give up for at least 3 bootloops..
*It will take a long time to boot as you have done a factory reset.. So be patient and wait for at least half hour..
Click to expand...
Click to collapse
Thanks! I got it more or less and went with magisk. Couldn't pass up a chance to have root and still get OTAs and use android pay. I'm still monkeying around trying to figure out how to use it to get liveboot back up and running.

[GUIDE] Dirty update: stay stock, rooted, unencrypted and RETAIN ALL YOUR DATA

I've wrote it in many thread and I report here for users that want:
stay stock and updated
root (with Magisk)
unencrypted
never lose data and configuration
Here's my procedure, I'm using it since since I bought my S8 exynos (jun 2017), never had a problem, never lost a single bit of my data. And I don't know any alternative until now.
G950FXXU4DSDA (pie) tested​
I assume you have:
unencrypted device
oem unlock option checked (never uncheck it)
stock rom: any system mod is ok, but you'll lose it
What you need:
last odin (download here)
last stock rom for your country (download here)
last twrp on your exynos device (download here)
last Magisk zip on your device (download here)
Here's the steps:
if you haven't did before, create a magisk config file executing this two command on a shell (this file remain until you clean /data partition):
Code:
echo KEEPVERITY=false>>/data/.magisk;
echo KEEPFORCEENCRYPT=false>>/data/.magisk;
extract the rom and delete CSC_OXM_G950Fxxx (you don't need it, this file do the factory reset we don't want)
reboot you phone in download mode (boot with voldown+power+bixby)
connect your phone (you already have the driver, right?)
select all files in odin
uncheck auto-reboot option
press start
at the end manually restart the phone with voldown+power
the phone will boot in stock recovery and complete the installation ("Installing system update..." and "Erasing...")
keep attention because when rebooting you have to put your finger on voldown+power+bixby to return in download mode (if system boot your data partition will be encrypted)
in odin select TWRP file in AP slot
check auto-reboot option
put your finger on volup+power+bixby and keep there
press start
after a while you'll be in TWRP and you can relase the finger
flash Magisk
reboot in system
Then you can do any other mod you wan't, my favourites here.
I wrote this thread because all the guides I found skip the important (and tricky) 9-10 step and my tests results in:
interrupted csc install (twrp tried to execute a script producing "Error installing zip file 'CACHE:recovery/sec_omc.zip'")
empty CSC (Phone Info app) and no /system/omc folder
phone works well, but i'm not sure I was using VoLTE because I didn't see the icon
dial codes aren't working
korean operator "KT" voice in settings
Anyone else tried this method? Hoping to give it a try later this week when I have some time should something go wrong
so on s8 works too. nice. I've been doing this on my S7 edge every FW update. dirty flash, then root then xposed. So I hope this trick works in my S8 too.
are you on Nougat or Oreo?
Yea it works just fine, dirty flash can cause issues though. Might wanna let people know that.
t12icky0 said:
Yea it works just fine, dirty flash can cause issues though. Might wanna let people know that.
Click to expand...
Click to collapse
this way works like an ota for my experience, not a single issue in one year of updates
Can i root in your way? Im on CRD7 all stock, unroted.
If i follow your guide will be my phone rooted?
Sent from my SM-G950F using Tapatalk
zelenko said:
Can i root in your way? Im on CRD7 all stock, unroted.
If i follow your guide will be my phone rooted?
Sent from my SM-G950F using Tapatalk
Click to expand...
Click to collapse
if you've never modify the phone, you're encrypted
if you,re encrypted, you need to format your data partition to get root permission (for what I know is not possible / not safe to stay encrypted)
you can follow my guide adding a format data step before flashing supersu, but the phone will be factory reset
so after doing this i'll still get ota updates and i can install them fine plus having the root privileges ?
No, I've never tried ti install otas (I expect it will fail).
To stay updated you have to repeat the procedure whit the new stock image, usually released before the ota.
pie tested ​:good:
Does is still work? I want to upgrade to Pie but dont want to wipe and lose all data.
Is it still rooted after?
Sorry i'm a noob
S8 rooted
TWRP and Magisk
can you help me please???
silverik1 said:
Does is still work? I want to upgrade to Pie but dont want to wipe and lose all data.
Is it still rooted after?
Sorry i'm a noob
S8 rooted
TWRP and Magisk
Click to expand...
Click to collapse
Confirming, it's working perfectly
@c3k ,
Thanhs for this great solution !!
m.
I still have the stock rom and rooted with magisk. But in twrp I can not mount the data partition. Is it because it's still encrypted ?
... that's what I assume but it`s strange because you should be decrypted already after formatting data installing twrp, magisc etc. ...
m.
Yeah..I know...any suggestions ?
... it sounds like a data format is needed then ... Or does this method from c3k work for you ... ?
You `ve the latest TWRP installed?
m.
How do I install the latest one if I have an older version ? Can I use flashify for it ?
Or with twrp itself ?
I install new twrp via the installed one as an img file.
m.

Warning - Notchbarkiller Magisk Module!

Be careful. Yesterday I have installed this module on my pie rom and had bootloop when I tried to uninstall it. Nothing cant solve this issue, I had to flash whole pie rom.
That's why I bought this mobile with stock Android to be sure I'm not install something on it and the truth it's not worth to change something on it.
This mobile work pretty good without needing to root it.
No offense only my opinion.
Thanks
Mi A2 Lite using Tapatalk
wenna.speedy said:
Be careful. Yesterday I have installed this module on my pie rom and had bootloop when I tried to uninstall it. Nothing cant solve this issue, I had to flash whole pie rom.
Click to expand...
Click to collapse
Same happened to me on Android Pie, it completely broke my phone and when restarting it I had bootloop as well.
Had to flash ROM from scratch.
Maj3sty said:
That's why I bought this mobile with stock Android to be sure I'm not install something on it and the truth it's not worth to change something on it.
This mobile work pretty good without needing to root it.
No offense only my opinion.
Thanks
Mi A2 Lite using Tapatalk
Click to expand...
Click to collapse
I dont think so. you havent right, because of magisk. Did you ever try viper4android? Its really some kind of magic! this is only one case. no root = no lot of great stuff. If anything bad happened, you have ever last option = flash vanilla rom
For anyone who gets bootloops caused by a magisk module: Just flash back stock kernel! Then Magisk is gone and the module doesn´t work too. You can delete the module from your magisk manager and root again - voilla!
Voodoojonny said:
For anyone who gets bootloops caused by a magisk module: Just flash back stock kernel! Then Magisk is gone and the module doesn´t work too. You can delete the module from your magisk manager and root again - voilla!
Click to expand...
Click to collapse
I tried it and doesnt work. It seems the module changed any files in system(via root).
wenna.speedy said:
I dont think so. you havent right, because of magisk. Did you ever try viper4android? Its really some kind of magic! this is only one case. no root = no lot of great stuff. If anything bad happened, you have ever last option = flash vanilla rom
Click to expand...
Click to collapse
Nice try, but looks like you are not the only person with the same issue! I'm using Jetaudio and I have great sound with my JBL (Bluetooth) & Sennheiser wired headsets. I'm pass!!!
Mi A2 Lite using Tapatalk
lbsilva said:
Same happened to me on Android Pie, it completely broke my phone and when restarting it I had bootloop as well.
Had to flash ROM from scratch.
Click to expand...
Click to collapse
I get booloop from this module, now when i try to flash system, i get error: cannot load '.\system.img'. Pls i need help
hckrm said:
I get booloop from this module, now when i try to flash system, i get error: cannot load '.\system.img'. Pls i need help
Click to expand...
Click to collapse
Did you place system.img into your fastboot folder? It sounds like fastboot can´t find the file you want to flash!
Voodoojonny said:
Did you place system.img into your fastboot folder? It sounds like fastboot can´t find the file you want to flash!
Click to expand...
Click to collapse
yes, i have tried to flash the whole rom (except userdata) from .bat script of the official pie rom. But i get bootloop again. I have a lot of important data in my phone, is there a way to resolve without touching data?
hckrm said:
yes, i have tried to flash the whole rom (except userdata) from .bat script of the official pie rom. But i get bootloop again. I have a lot of important data in my phone, is there a way to resolve without touching data?
Click to expand...
Click to collapse
You can try install twrp and mount internal storage. I dont know if exists new version with working mounting.
hckrm said:
I get booloop from this module, now when i try to flash system, i get error: cannot load '.\system.img'. Pls i need help
Click to expand...
Click to collapse
Did you try using MiFlashTool?
hckrm said:
yes, i have tried to flash the whole rom (except userdata) from .bat script of the official pie rom. But i get bootloop again. I have a lot of important data in my phone, is there a way to resolve without touching data?
Click to expand...
Click to collapse
Hmm, as told above, then your only option is a backup with twrp. If you can't decrypt data with twrp (after you installed it - not booting) you can try to boot to slot b - that sometimes help. Just select under reboot in twrp or type "fastboot set_active b"...
wenna.speedy said:
Be careful. Yesterday I have installed this module on my pie rom and had bootloop when I tried to uninstall it. Nothing cant solve this issue, I had to flash whole pie rom.
Click to expand...
Click to collapse
There is no wipe required, I just got caught in the loop as well.
Two things you need:
-TRWP installed
-Uninmod installed (magisk module remover)
1. If you are stuck in the loop, boot into fastboot,
- connect your pc and run ADB & fastboot cmd, run the command fastboot boot recovery.img(or your TRWP image) and run TRWP
2. Download Uninmod zip, transfer to phone. https://forum.xda-developers.com/showpost.php?p=72542167&postcount=242&nocache=1
- Use TWRP to install Uninmod,
- remove the Notchkiller mod
- credits to veez21
3. find this file overlays.list and delete it from /data/resource-cache/overlays.list https://github.com/Magisk-Modules-Repo/NotchBarKiller/issues/3
- credits to MatChung
Reboot and there was like a minute of delay on same boot screen, but then it should boot fine.
If you are not stuck in the loop but just installed the module:
-remove the module in magisk
-find the file and delete it.
TLDR: remove the Notchbarkiller mod and remove overlays.list file. Reboot!
Hope it works. It did for me. Poco F1
I flashed this madule last night and found that it break calls. Could not make and receive phone calls. Huawei P20 Pro with EMUI 8.1 running.
Guys don't flash that LITERALLY SHIET module. It's bricking phones, i dirty flashed my rom and still couldn't recover it! I used Poco btw
D1stRU3T0R said:
Guys don't flash that LITERALLY SHIET module. It's bricking phones, i dirty flashed my rom and still couldn't recover it! I used Poco btw
Click to expand...
Click to collapse
Written in the first post...
wenna.speedy said:
Written in the first post...
Click to expand...
Click to collapse
I know...
Strange, I was using the January update when I first installed it and everything worked fine, no issues what so ever. I haven't tried it on the latest update but xiaomi's update might have messed the module. There's no reason what so ever to blame the module for not working on the latest update as they tend to break things. Just report back to the developer with something helpful like a logcat instead of making useless threads.
As of the bootloop there's no reason to wipe your data or reflash the ROM unless you have to. Just boot up in twrp and flash the magisk uninstaller which might be in the Magisk Manager folder or just search it online. Another way to do it is just to mount magisk in twrp and delete the module. Learn about how to mount magisk here: https://forum.xda-developers.com/apps/magisk/magisk-mount-resize-img-t3675853
SnoopDoggyStyleDogg said:
Strange, I was using the January update when I first installed it and everything worked fine, no issues what so ever. I haven't tried it on the latest update but xiaomi's update might have messed the module. There's no reason what so ever to blame the module for not working on the latest update as they tend to break things. Just report back to the developer with something helpful like a logcat instead of making useless threads.
As of the bootloop there's no reason to wipe your data or reflash the ROM unless you have to. Just boot up in twrp and flash the magisk uninstaller which might be in the Magisk Manager folder or just search it online. Another way to do it is just to mount magisk in twrp and delete the module. Learn about how to mount magisk here: https://forum.xda-developers.com/apps/magisk/magisk-mount-resize-img-t3675853
Click to expand...
Click to collapse
UPDATE: This thread is a false alarm as I managed to install the module on the March update and the only crash I get is from google play services with no bootloop and everything working. Maybe the OP has another phone and except that a module that is on the Mi A2 Lite thread should work on any phone or he's done something wrong. I will attach some screenshots to confirm that the module is indeed working and OP's post is a false alarm for stock A2 Lite ROMs (No custom ROM and not other phones)
NOTE: As you can see in the YouTube screenshot there's no black back on the left side of the screen as it should be without the module installed

Best/most efficient root method OP7P

I am running 10.05, I can't decide whether to install twrp, dd root, or magdisk. Given that I have the most current version of oxygen os, what would be the best way to root my phone?
Don't misinterpret my ignorance for lazyness, a majority of guides I've seen aren't recent and don't go over pros & cons of the method.
Thank you, I'm willing to donate for help.
Edit: I'm stupid, I was in wrong forum. Please ignore this post and what I've said!
You only need a patched image if you don't want to install TWRP. If you install TWRP, I'd simply ADB sideload Magisk to get root.
That's what I've done and it works just fine.
This assumes that you're using a OnePlus 7 Pro, and not a 7T Pro. Not got a 7T, so can't comment on that.
Sent from my GM1913 using Tapatalk
Bagpuss said:
You only need a patched image if you don't want to install TWRP. If you install TWRP, I'd simply ADB sideload Magisk to get root.
That's what I've done and it works just fine.
This assumes that you're using a OnePlus 7 Pro, and not a 7T Pro. Not got a 7T, so can't comment on that.
Click to expand...
Click to collapse
Edit: I'm stupid, I was in wrong forum. Please ignore this post and what I've said!
Lossyx said:
TWRP doesn't work on devices launched with Android 10, which has been discussed many times.
My reply above stands true, a patched boot image is the only way as for right now.
(And we're on a 7T Pro forum)
Sent from my OnePlus7TPro using XDA Labs
Click to expand...
Click to collapse
Are you positive? I see TWRP install guides everywhere. From what I've read TWRP with magdisk (not SuperSU, us it's not open source) is the best way to root with the most flexibility. What if I'm running 10.03.0GM21AA, and there is no patched image? Do I need to roll back?
Lossyx said:
There is only one way to root, and that is by using a patched image. Check the guides section, there's probably a patched image of your device, if not, you'll have to make your own.
And what's your version? AA or BA?
Sent from my OnePlus7TPro using XDA Labs
Click to expand...
Click to collapse
AA. So do I need to roll back? I bought the OP7P because I stupidly assumed it would be as easy/flexible to root as my past OP devices. It's ironic I switched from a Samsung devices to a OP for the ability for a stress-free rooting experience and I got the same problem lol. I might just return the phone for another, I'd prefer something with an SD card slot anyway.
What's the best phone with SD card feature that can run TWRP magdisk without issues like using banking apps and Netflix?
Forgive my ignorance, I am still in the learning process.
Lossyx said:
TWRP doesn't work on devices launched with Android 10, which has been discussed many times.
My reply above stands true, a patched boot image is the only way as for right now.
(And we're on a 7T Pro forum)
Sent from my OnePlus7TPro using XDA Labs
Click to expand...
Click to collapse
No we're on a 7 Pro forum. And TWRP works fine on the 7 Pro, but you need a patched version of some sort last time I checked.
sixisixsix said:
I am running 10.05, I can't decide whether to install twrp, dd root, or magdisk. Given that I have the most current version of oxygen os, what would be the best way to root my phone?
Don't misinterpret my ignorance for lazyness, a majority of guides I've seen aren't recent and don't go over pros & cons of the method.
Thank you, I'm willing to donate for help.
Click to expand...
Click to collapse
To root my phone, I didn't even use TWRP. I downloaded the lastest OOS version from OnePlus, extracted the boot image, copied that to my phone, Magisk patched that boot image file (you don't need root for that, you can use the Magisk manager). Then unlocked the phone, and installed the bootloader I just patched while the phone was in bootloader mode (fastboot flash boot boot.img or whatever).
Might not be the easiest, but I think it's clean, however back then I did not know about the option to properly use TWRP. Maybe I can find it, but I know it's possible to just unlock the 7 Pro, and then from the bootloader boot to TWRP once without flashing it, and install Magisk.
QUBiCA said:
No we're on a 7 Pro forum. And TWRP works fine on the 7 Pro, but you need a patched version of some sort last time I checked.
Click to expand...
Click to collapse
Oh damn, I'm actually stupid... How did I miss were on 7 Pro?!
@sixisixsix please ignore everything I've said! I will edit my posts.
Sorry once again
Sent from my OnePlus7TPro using XDA Labs
sixisixsix said:
AA. So do I need to roll back? I bought the OP7P because I stupidly assumed it would be as easy/flexible to root as my past OP devices. It's ironic I switched from a Samsung devices to a OP for the ability for a stress-free rooting experience and I got the same problem lol. I might just return the phone for another, I'd prefer something with an SD card slot anyway.
Click to expand...
Click to collapse
I've found OP devices (having owned two now) to be easy to root, and very friendly to the mod/root community such as XDA. Samsung is the opposite, in my experience (although each Sammy device is different, some better than others in this regard).
The main complexity with the 7 Pro is not that it is an OP device per se; but that it has something called A/B partitions, which are used for "seamless" OTA updates (Pixel devices use this scheme also - as well as a number of other phones).
The thing with A/B partition devices, is that they do NOT have a discrete recovery partition that you can just flash TWRP to. Therefore, you need to patch the boot.img partition (which on A/B devices contains both kernel and recovery, along with ramdisk). It is a little trickier, and somewhat more of a learning curve. But once you've learned that basic difference, it is not too bad.
It seems that the list A/B partitions devices is growing. So while I'm not an expert in the industry or anything, it appears that this is where Android is going (A/B is certainly not going away anytime soon, in any case).
So while the SD card feature is a legitimate difference (and a discriminator for some), I would say you should not make the A/B partition difference scare you away from OP devices. Maybe "too much information", but you can read more about the A/B partition scheme here: https://www.xda-developers.com/how-...ess-updates-affect-custom-development-on-xda/
---------- Post added at 10:13 AM ---------- Previous post was at 10:05 AM ----------
QUBiCA said:
To root my phone, I didn't even use TWRP. I downloaded the lastest OOS version from OnePlus, extracted the boot image, copied that to my phone, Magisk patched that boot image file (you don't need root for that, you can use the Magisk manager). Then unlocked the phone, and installed the bootloader I just patched while the phone was in bootloader mode (fastboot flash boot boot.img or whatever).
Might not be the easiest, but I think it's clean, however back then I did not know about the option to properly use TWRP. Maybe I can find it, but I know it's possible to just unlock the 7 Pro, and then from the bootloader boot to TWRP once without flashing it, and install Magisk.
Click to expand...
Click to collapse
Certainly a valid approach (fastboot flash a patched boot image). The "other" (TWRP) method works as well, and probably a little easier for most folks:
1) Unlock bootloader
2) fastboot boot twrp.img
Note that this is just remote booting a TWRP image, not installing it. It simply allows the next steps. You can't flash a TWRP image directly, for the reason I've noted above.
3) Once booted to TWRP, flash TWRP installer zip (OPTIONAL). This patched the boot.img so that TWRP is installed. You only need to do this if you want TWRP installed on the phone.
4) Also in "booted" TWRP, flash the Magisk zip.
The main fundamental difference, is that Magisk is patching the boot.img for you, instead of doing it yourself. Have the files (TWRP.zip and Magisk) on the phone before starting the process, and it is really pretty simple and fast.
The nice thing about the patched boot.img method, is that is worked even when TWRP method did not. This applied to when the phone was first released, and the command "fastboot boot" was broken (therefore not possible to fastboot boot TWRP). This happened again when the device was updated to Android 10. Although the developer got fastboot boot working fairly quickly in both circumstances.
Lossyx said:
Edit: I'm stupid, I was in wrong forum. Please ignore this post and what I've said!
Click to expand...
Click to collapse
redpoint73 said:
I've found OP devices (having owned two now) to be easy to root, and very friendly to the mod/root community such as XDA. Samsung is the opposite, in my experience (although each Sammy device is different, some better than others in this regard).
The main complexity with the 7 Pro is not that it is an OP device per se; but that it has something called A/B partitions, which are used for "seamless" OTA updates (Pixel devices use this scheme also - as well as a number of other phones).
The thing with A/B partition devices, is that they do NOT have a discrete recovery partition that you can just flash TWRP to. Therefore, you need to patch the boot.img partition (which on A/B devices contains both kernel and recovery, along with ramdisk). It is a little trickier, and somewhat more of a learning curve. But once you've learned that basic difference, it is not too bad.
It seems that the list A/B partitions devices is growing. So while I'm not an expert in the industry or anything, it appears that this is where Android is going (A/B is certainly not going away anytime soon, in any case).
So while the SD card feature is a legitimate difference (and a discriminator for some), I would say you should not make the A/B partition difference scare you away from OP devices. Maybe "too much information", but you can read more about the A/B partition scheme here: https://www.xda-developers.com/how-...ess-updates-affect-custom-development-on-xda/
---------- Post added at 10:13 AM ---------- Previous post was at 10:05 AM ----------
Certainly a valid approach (fastboot flash a patched boot image). The "other" (TWRP) method works as well, and probably a little easier for most folks:
1) Unlock bootloader
2) fastboot boot twrp.img
Note that this is just remote booting a TWRP image, not installing it. It simply allows the next steps. You can't flash a TWRP image directly, for the reason I've noted above.
3) Once booted to TWRP, flash TWRP installer zip (OPTIONAL). This patched the boot.img so that TWRP is installed. You only need to do this if you want TWRP installed on the phone.
4) Also in "booted" TWRP, flash the Magisk zip.
The main fundamental difference, is that Magisk is patching the boot.img for you, instead of doing it yourself. Have the files (TWRP.zip and Magisk) on the phone before starting the process, and it is really pretty simple and fast.
The nice thing about the patched boot.img method, is that is worked even when TWRP method did not. This applied to when the phone was first released, and the command "fastboot boot" was broken (therefore not possible to fastboot boot TWRP). This happened again when the device was updated to Android 10. Although the developer got fastboot boot working fairly quickly in both circumstances.
Click to expand...
Click to collapse
Thank you for taking the time to respond to my post in such detail! Wouldn't installing TWRP give me more flexibility for future updates? If I go the flashed image route won't I need erase my data on my phone every time I update?
sixisixsix said:
Thank you for taking the time to respond to my post in such detail! Wouldn't installing TWRP give me more flexibility for future updates? If I go the flashed image route won't I need erase my data on my phone every time I update?
Click to expand...
Click to collapse
I don't think TWRP would give you more flexibility when it comes to updates, unless you are planning on switching ROMs often, but if this phone is your daily driver I would recommend against that.
If you unlock the phone your data will be wiped, but only once. After that it is completely up to you, if you switch ROMs and pick something that is completely different from stock, it is indeed recommended to wipe data to prevent weird issues. But for a regular system update (if you simply stick with the stock ROM and use Magisk for root, you can still receive normal updates from OnePlus), or an update of the same custom ROM, you do not need to wipe data. I wiped data only once, when I unlocked it, because I had to.
Flashing/installing TWRP generally is not necessary and like @redpoint73 explained, with the "new" A/B system, it is not advised to flash TWRP as it is combined with the boot image (which your phone needs to start up, and is updated after every update, so after every update you will lose TWRP again if I am correct). What @redpoint73 explained is that instead of installing (AKA flashing) TWRP, it is possible to just start it up (boot it) once without installing it. From there you can install Magisk on your stock OnePlus ROM and use the benefits of a rooted system.
QUBiCA said:
Flashing/installing TWRP generally is not necessary and like @redpoint73 explained, with the "new" A/B system, it is not advised to flash TWRP as it is combined with the boot image (which your phone needs to start up, and is updated after every update, so after every update you will lose TWRP again if I am correct).
Click to expand...
Click to collapse
It is correct that you lose the TWRP install when you update (as well as losing root). But it is just a simple matter of flashing the TWRP installer zip after the update (I do this the same time as re-flashing Magisk after OTA update), which takes about 10 seconds to accomplish. I wouldn't personally take that as a reason to "not" flash TWRP. But it is a personal preference whether to install TWRP or not. The reasons to have TWRP installed on the phone are much reduced from previous devices. In the past I would have said that being rooted without a custom recovery is asking for trouble. But now, with A/B partitions, along with the fastboot stock ROMs, the choice becomes much less clear. To the point that installing TWRP is purely optional.
I still personally believe that having TWRP installed gives you more recovery options. But again, it is a personal choice, and certainly not mandatory by any means.
---------- Post added at 09:11 AM ---------- Previous post was at 09:01 AM ----------
sixisixsix said:
Wouldn't installing TWRP give me more flexibility for future updates?
Click to expand...
Click to collapse
Actually, no (as QUBiCA touched on above).
Reason being, OTA updates will still come through on this device (even rooted). And you can still flash (or put OTA files on the phone to flash) using the built-in update engine in the phone's settings menu. Which gives you the option to update to either A/B partition slot. Plus, you can just re-flash TWRP (if desired) and Magisk after the update, straight from the Magisk Manager.
The trick is to make sure you do NOT reboot immediately after an OTA update (when rooted). Then simply open Magisk Manager, flash TWRP as if it were a Magisk module (optional, if you want TWRP installed again). Then install Magisk again through the Magisk Manager as well.. Now you can reboot, and you will be updated with root.
sixisixsix said:
If I go the flashed image route won't I need erase my data on my phone every time I update?
Click to expand...
Click to collapse
No (again, just backing up the answer already provided). There is not a big difference between the two methods. In either case, you are patching the boot.img partition to be rooted (whether you flash a patched boot.img, or you have Magisk patch it for you). And in both cases, you don't need to wipe your data.
redpoint73 said:
It is correct that you lose the TWRP install when you update (as well as losing root). But it is just a simple matter of flashing the TWRP installer zip after the update (I do this the same time as re-flashing Magisk after OTA update), which takes about 10 seconds to accomplish. I wouldn't personally take that as a reason to "not" flash TWRP. But it is a personal preference whether to install TWRP or not. The reasons to have TWRP installed on the phone are much reduced from previous devices. In the past I would have said that being rooted without a custom recovery is asking for trouble. But now, with A/B partitions, along with the fastboot stock ROMs, the choice becomes much less clear. To the point that installing TWRP is purely optional.
I still personally believe that having TWRP installed gives you more recovery options. But again, it is a personal choice, and certainly not mandatory by any means.
---------- Post added at 09:11 AM ---------- Previous post was at 09:01 AM ----------
Actually, no (as QUBiCA touched on above).
Reason being, OTA updates will still come through on this device (even rooted). And you can still flash (or put OTA files on the phone to flash) using the built-in update engine in the phone's settings menu. Which gives you the option to update to either A/B partition slot. Plus, you can just re-flash TWRP (if desired) and Magisk after the update, straight from the Magisk Manager.
The trick is to make sure you do NOT reboot immediately after an OTA update (when rooted). Then simply open Magisk Manager, flash TWRP as if it were a Magisk module (optional, if you want TWRP installed again). Then install Magisk again through the Magisk Manager as well.. Now you can reboot, and you will be updated with root.
No (again, just backing up the answer already provided). There is not a big difference between the two methods. In either case, you are patching the boot.img partition to be rooted (whether you flash a patched boot.img, or you have Magisk patch it for you). And in both cases, you don't need to wipe your data.
Click to expand...
Click to collapse
So if I used the patched version of 10.3.0 and another new version comes out I can just download it through settings and I will remained rooted?
Sent from my Redmi Note 8 Pro using Tapatalk
sixisixsix said:
So if I used the patched version of 10.3.0 and another new version comes out I can just download it through settings and I will remained rooted?
Sent from my Redmi Note 8 Pro using Tapatalk
Click to expand...
Click to collapse
NO.
You need to go through the process and flash Magisk from inside Magisk Manager.
tech_head said:
NO.
You need to go through the process and flash Magisk from inside Magisk Manager.
Click to expand...
Click to collapse
Okay so I downloaded magdisk manager, I flashed the patched version of 10.03, then when I rebooted I hit install update on magdisk and when the phone rebooted it was no longer rooted.
Even the guides for flashing aren't in depth enough for me. Can you help me out real quick?
sixisixsix said:
So if I used the patched version of 10.3.0 and another new version comes out I can just download it through settings and I will remained rooted?
Click to expand...
Click to collapse
You should get the OTA update and be able to download it through settings. BUT, after you install the update, you still need to do as I already said in order to remain rooted:
redpoint73 said:
The trick is to make sure you do NOT reboot immediately after an OTA update (when rooted). Then simply open Magisk Manager, flash TWRP as if it were a Magisk module (optional, if you want TWRP installed again). Then install Magisk again through the Magisk Manager as well.. Now you can reboot, and you will be updated with root.
Click to expand...
Click to collapse
---------- Post added at 09:28 AM ---------- Previous post was at 09:00 AM ----------
sixisixsix said:
Okay so I downloaded magdisk manager, I flashed the patched version of 10.03, then when I rebooted I hit install update on magdisk and when the phone rebooted it was no longer rooted.
Even the guides for flashing aren't in depth enough for me. Can you help me out real quick?
Click to expand...
Click to collapse
You seem to be mixing the two processes: Install update in Magisk is for when you update in the future. You shouldn't have to do this rooting the existing ROM with the patched boot.img method.
For the patched boot.img method, you should just be able to flash the patched boot.img, flash the Magisk apk, and open Magisk, and it should say rooted.
My recommendation is follow this guide: https://forum.xda-developers.com/oneplus-7-pro/how-to/guide-bootloader-unlock-twrp-install-t3940368
I can't possibly see how it can be any more in depth.

Update issue

Hi, i updated my xz premium to pie and installed most recent pie for my phone, (47.2.A.10.107) but I installed TWRP and tried to flash magisk but i couldnt do it gives error, (encryption related error) , twrp cant flash encrypted rom magisk, i wiped all data in order to avoid encryption but i every time when i flash new rom it is encrypted , how can i flash pie latest version and root my phone?
Never had the decryption issue stop Magisk but try this first and then Magisk.
https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
bobsright said:
Never had the decryption issue stop Magisk but try this first and then Magisk.
https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
Click to expand...
Click to collapse
finally i could root my device but with different method , now problem is i cant flash anything with using twrp, it gives mounting error, i dont want to delete my data again because i installed a lot of programs, Can you help me?
i think it is ENCRYPTION problem
murad1990 said:
finally i could root my device but with different method , now problem is i cant flash anything with using twrp, it gives mounting error, i dont want to delete my data again because i installed a lot of programs, Can you help me?
i think it is ENCRYPTION problem
Click to expand...
Click to collapse
If the issue is with mounting the storage where your, whatever it is you're trying to flash, then put that file on an external drive and connect it to your phone via an OTG cable. Once you flash that zip in my last response, you won't have this issue. How did you root your phone?
Ok i unlocked bootloader, flashed stock pie rom, then flashed twrp but not latest one, because latest gave me mount error, i flashed 3.2.1 it solved my mounting problem, then i flashed janjan kernek then magisk. But problem is i lost most of functionalities of my phone(drm key lost) is there any way to restore it? Or is there any kernel?
murad19900 said:
Ok i unlocked bootloader, flashed stock pie rom, then flashed twrp but not latest one, because latest gave me mount error, i flashed 3.2.1 it solved my mounting problem, then i flashed janjan kernek then magisk. But problem is i lost most of functionalities of my phone(drm key lost) is there any way to restore it? Or is there any kernel?
Click to expand...
Click to collapse
Afraid not. There are steps to take to get temp root to back up those keys before unlocking the bootloader, and then restoring the keys after unlock. There's a whole thread on that here: https://forum.xda-developers.com/xp...devonly-exploits-temp-root-to-backup-t3795510. I never bothered with all that and have not had any issues that concern me. What issues are you having?
Image enhancement doesnt work i think, and other camera function as well, any other function?
murad19900 said:
Image enhancement doesnt work i think, and other camera function as well, any other function?
Click to expand...
Click to collapse
Yeah, I couldn't tell you. As for me the phone still does what I need it to do. As far as the camera it still takes the pics I need it to take. I don't social media so I don't need the special effects/enhancements people use for that. When it comes to taking pictures, that's what I have a camera for. My phone is for calls, text, and email and web search when I'm not near my computer. You could try other phone apps to see if they replace what's lost. I believe photo quality is as stock.
Sorry I mean video image enhancement, and i want to ask question, do you think i should stay stock rom or use one of these carbon, existenz...
murad19900 said:
Sorry I mean video image enhancement, and i want to ask question, do you think i should stay stock rom or use one of these carbon, existenz...
Click to expand...
Click to collapse
Well same answer as far as video too.
I'm using eXtstenZ Pie. It's the stock rom with enhancements. It's stable and customizable. I would install the Aroma Add-on at the same time. I've tried Carbon but I had sim card issues, that may be resolved by now. There is also a Lineage 17.1 available but I don't believe it's reliable enough for a main phone. If you don't mind experimenting you could try that as it's Android 10. There's Tomahawk Project if you want barebones and get away from Google. CrDroid also out there. These last three I have not tried.
I am sorry but, i dont know so much about the android phones, I am using stock, exitstenz looks like custom rom, or is this modified stock? Because i lot changes and it doesnt have stock rom interface
murad19900 said:
I am sorry but, i dont know so much about the android phones, I am using stock, exitstenz looks like custom rom, or is this modified stock? Because i lot changes and it doesnt have stock rom interface
Click to expand...
Click to collapse
Yes, it's a modified stock rom.
To flash it, i just need to fladh latest firmware then twrp, then magisk?
If you're already on .107, you're good there. Then from twrp flash eXistenZ then flash Magisk. If you're going to use Aroma Add-on flash it next and you should be good to go. Also, with this phone you can install twrp in recovery partition so you don't have to use a computer every time you want to use twrp. You have to unzip it and save the .img file to where you put all the other files you flash, then from twrp install the image to recovery partition. Then next time you need to flash something, hold power and volume down at the same time (after turning phone off) when the screen just starts to light up release the buttons and it'll boot into twrp.
Thanks, but i have a another question, i flashed 47.2.a.6.30 version pie with using emma, and used janjan kernel of the same version, everyting works without any problem, should i stay this version or i must update to the 107 then root my phone? What is the advantages of the janjan's kernel? and without any custom kernel can i root my phone after flashing 107 firmware?
Don't know anything about the janjan kernel and it's compatibility with eXistenZ. As far as firmware version just flash the eXistenZ version that matches your rom version, I believe there is a list on the first page of the thread that tells which file to use.
---------- Post added at 08:27 PM ---------- Previous post was at 08:19 PM ----------
I don't know anything about the janjan kernel or it's compatibility with eXistenZ.
You can stay on that firmware if you wish. Just use the correct version of eXistenZ for it.
You can root any kernel once bootloader is unlocked. You loose root when you change firmware versions though.

Categories

Resources