How to install TWRP on unlocked bootloader without PC? - OnePlus 6 Questions & Answers

Here's the short version of my story:
1) Got my new OP6 and turned it on.
2) Immediately upgraded OS to 9.02
3) Unlocked the bootloader + installed TWRP+Magisk
Problem. Xposed modules aren't (yet) supported on Android Pie. I want to downgrade.
4) Downloaded + Installed OS 5.18
5) Reinstalled Magisk on other slot before rebooting
Now I have OS 5.18 installed, Magisk root installed, bootloader unlocked, but TWRP was Erased. I'm away from home for the holidays, and I don't have access to any computer for another month.
Is there a way I might install TWRP with Magisk? I'm not afraid to use the command terminal if needed. Thank you

Sepero said:
Here's the short version of my story:
1) Got my new OP6 and turned it on.
2) Immediately upgraded OS to 9.02
3) Unlocked the bootloader + installed TWRP+Magisk
Problem. Xposed modules aren't (yet) supported on Android Pie. I want to downgrade.
4) Downloaded + Installed OS 5.18
5) Reinstalled Magisk on other slot before rebooting
Now I have OS 5.18 installed, Magisk root installed, bootloader unlocked, but TWRP was Erased. I'm away from home for the holidays, and I don't have access to any computer for another month.
Is there a way I might install TWRP with Magisk? I'm not afraid to use the command terminal if needed. Thank you
Click to expand...
Click to collapse
use the app flashfire

Related

Magisk v9 with 6045

Hi to all
I am trying to install magisk v9 in stock ROM without any success. Always after the installation phone boot to bootloader.
The Bootloader is unlock and when I un-install the magisk v9 the phone working properly.
Any idea how we could install magisk v9
Try factory reset or another version. I had installed Magisk v7, and few days ago updated to v9.
Great finding!!!
In Stock 6045 it is possible to install magisk-v7 or Magisk-v8.
In stock 6045 (5.0.2-010 02) it isn't possible to install Magisk-v9 via Manager or temp TWRP.
In case of temp TWRP device is stack to bootloader. It is possible to uninstall Magisk to work properly or install Magisk-v8
Any idea how to overcome the issue
totalcmdext said:
In stock 6045 (5.0.2-010 02) it isn't possible to install Magisk-v9 via Manager or temp TWRP.
In case of temp TWRP device is stack to bootloader. It is possible to uninstall Magisk to work properly or install Magisk-v8
Any idea how to overcome the issue
Click to expand...
Click to collapse
root your device, install permamently TWRP and no problem then
Stuck on Android splash image during boot, after downloading and installing Magisk Manager and Apk 12.0. I was rooted through KingRoot, SuperSu installed busybox as well. I uninstalled SuperSu (through in app options) getting ready for MagiskSU.
Heres the deal. Even though I have twrp working, I cant use it cuz of a broke screen. Im thinking a factory reset via hardware buttons is my best option. But how?
6045O running the Panasonic Eluga Switch. Rooted, twrp satana 3.0.0.1 installed

Official Xposed for Nougat is out! Post your Xperiences...

Have you installed official Xposed for Nougat?
Does it work fine on your MotoZ?
Any performance issues/lags?
Please add details on your ROM version, root method and if you have Magisk installed too or not...
Thank you.
I have this rom
Android Nougat on Moto Z (All Unlocked Versions) and rooted in the way that post says.
Installed xposed OK via TWRP, modules are correctly checked and enabled but didn't work, for example greenify didn't recognize that xposed is installed so didn't show the option.
Now I have missed data connection so am going to reinstall the same rom on the dirty way to not lose data and reinstall everything.
lilloscar said:
I have this rom
Android Nougat on Moto Z (All Unlocked Versions) and rooted in the way that post says.
Installed xposed OK via TWRP, modules are correctly checked and enabled but didn't work, for example greenify didn't recognize that xposed is installed so didn't show the option.
Now I have missed data connection so am going to reinstall the same rom on the dirty way to not lose data and reinstall everything.
Click to expand...
Click to collapse
Two things...
- Greenify needs to fix its compatibility with Nougat, it's a known bug
- It is *needed* to use new official Xposed apk v.3.1.2 to manage modules activation. I've seen that unofficial or old version aren't able to enable them properly...
Thanks I have just read that about greenify, the list of compatible modules with nougat is short at this time guess so
Sent from my XT1650 using Tapatalk
Mine doesn't boot with xposed installed.
Stock 7.1.1 with turboZ and magisk
I remember that installing magisk caused a bootloop on my stock 7.0
I had forgotten what modifications I did to my 7.0 stock (retus), trying to flash Xposed on it prevented it from booting (probably because of verity-dm) so I restarted from scratch.
1) Downloaded 7.1.1 stock from here and flashed it. Downloaded and installed 2 OTAs from system updates then.
2) Flashed latest TWRP (3.1.1-0).
3) I've read various reports of latest Magisk not working on Moto Z. Gave it a try though. Flashed Magisk v14.0, everything went well and I got back root access.
4) Tried installing systemless Xposed, however install failed from Magisk Manager, flashing the zip succeeded in recovery but Xposed wasn't recognized after reboot.
5) So I flashed classic Xposed (arm64) following these instructions, everything went fine (after one very long reboot).
Hi my fried. How long time this reboot in minuts?
Thanks
Ano59 said:
I had forgotten what modifications I did to my 7.0 stock (retus), trying to flash Xposed on it prevented it from booting (probably because of verity-dm) so I restarted from scratch.
1) Downloaded 7.1.1 stock from here and flashed it. Downloaded and installed 2 OTAs from system updates then.
2) Flashed latest TWRP (3.1.1-0).
3) I've read various reports of latest Magisk not working on Moto Z. Gave it a try though. Flashed Magisk v14.0, everything went well and I got back root access.
4) Tried installing systemless Xposed, however install failed from Magisk Manager, flashing the zip succeeded in recovery but Xposed wasn't recognized after reboot.
5) So I flashed classic Xposed (arm64) following these instructions, everything went fine (after one very long reboot).
Click to expand...
Click to collapse
josenilsantana said:
Hi my fried. How long time this reboot in minuts?
Thanks
Click to expand...
Click to collapse
It took maybe 15-20 minutes for the first reboot.
For me systemless Xposed install e worked properly too.
Ano59 said:
It took maybe 15-20 minutes for the first reboot.
Click to expand...
Click to collapse

[Guide] Install Magisk for root & xposed framework and have working OTA updates

Most Nexus phones users use magisk in order to be able to have root and xposed and also be able to easily pass safetynet check tests in order to be able to get OTA updates.
Well now magisk 14.4 works on our device and OTA updates should work just fine according to this https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips
Of course when Android Oreo rom comes out we should wait before applying it just to be sure that magisk and twrp will work on that rom so that we wont be left without root after updating (or brick the device.
I wrote a guide for installing magisk 14.4 on our device having 2nd october OTA installed, i copy it here so that more people can see it.
DISCLAIMER - USE AT YOUR OWN RISK! Bellow steps worked for my device but they might brick yours, you might lose warranty etc.!!!!!!
I am not a developer, I am just a user that wants to have the new phone setup like the older phones in my possession before using it as the main everyday phone.
All below packages are here due to the hard work of the people who made them. If you use them, give them the appropriate credits. This is also the reason that I don't attach any files in this post, I only give links to download the packages on the the forum threads/ sites I also found them.
Here I just show a combination of packages/ programs that worked.
PREREQUISITES:
1) Read the whole guide before starting. Make sure you are familiar with all the terms used and you understand what you are doing in each step.
2) I advise you to firstly download all the needed packages and have them in a folder in your computer and also make a copy of them in your phone and then start with the steps of this guide.
3) In this guide I use a windows pc. Fastboot commands are written in cmd. If you use a pc with another operating system, just make sure you can use adb/ fastboot commands and that you can also use miflash or another tool to flash the rom to your phone.
4) Make sure you have correct adb drivers installed in your pc. For this guide I have used adb-setup-1.4.3.exe from this thread.
So this is the step by step procedure with links:
Flash official rom with miflash
rom image: Here is the latest rom. (tissot_images_7.10.14_20171014.0000.00_7.1_d791bf99f4.tgz is the image I used while writing this guide)
miflash: MiFlash2017-7-20-0.zip
Boot to freshly flashed rom,
Install second october OTA update (75mb),
Do reboot and wait a few minutes until the update is installed.
If you have not done any changes to your device (other root like supersu, old magisk verision etc) you can ignore above step.
From settings-->developer options:
Usb debuging on
OEM unlocking on
Just to be on the safe side for magisk manager app also go to Settings --> Security and enable Unknown sources.
Then shutdown phone, boot phone to fastboot with Vol- & power button,
send the command "fastboot oem unlock" in order to unlock bootloader.
Phone reboots by it self if I remember correctly.
Boot to rom, now being unlocked, and see the splash screen to see if it says "Unlocked" to be sure that it is unlocked.
Then shut down the phone.
Again boot phone to fastboot with Vol- & power button,
boot twrp (just boot, not flash) with command "fastboot boot recovery.img"
recovery-3.1.1-1
From twrp, install Magisk-v14.4-20171103-073038
It installs magisk 14.4 but magisk manager apk version installed with this is 14.0.
So, in order to have magisk 14.4, reboot to rom, uninstall magisk manager and then install Magisk Manager 5.4.0 (as suggested by matcho13579) MagiskManager-v5.0-20170513.apk
The problem now with this version of magisk manager is that it installs modules correctly and they work just fine, but the installed modules are not listed in magisk manager modules page (they work but they cannot be seen). That means that you cannot disable a single module, you have to enable magisk core mode to disable all of them or normal mode to have all modules enabled - I hope this will be fixed in a newer version. Magisk-v14.4-20171103-073038 zip file as I said installs magisk manager 14.0 which also appears to be working, but I did all tests on my device with MagiskManager-v5.0-20170513.apk installed.
Next, inside magisk manager downloads, search and install xposed framework sdk 25 systemless by topjohnwu.
After installation is completed reboot phone (phone boot takes some time at this step).
Then install this Xposed installer apk -material design XposedInstaller_by_dvdandroid_31_10_17.apk.
Now you have October 2nd update rom in your device, magisk 14.4 & xposed framework.
If you select magisk core only mode (which disables magisk modules), have enabled magisk hide and hide it form all apps except the ones you want to have root access, the device passes safetynet and theoretically you can install OTA updates (xposed framework -systemless or not- does not pass safetynet, but being installed systemlessly through magisk, it can be disabled), according to this link
Inside magisk manager you can also install this MiA1Plus_V1.01 module in order to enable camera2api & EIS, to be able to use google camera application.
Finally, i installed gravitybox using gravitybox non-fbe 7.0.4 - 29/10/2017 and it also appears to be working, I have not tested it thoroughly though:
https://forum.xda-developers.com/showpost.php?p=73340439&postcount=2
https://forum.xda-developers.com/attachment.php?attachmentid=4317286&d=1509267532
After installing xposed... Safety net goes fail
Sent from my Mi A1 using Tapatalk
How do I flash stock recovery. I flashed twrp earlier and cannot find stock recovery. There is no recovery.img in the tissot system image.
Aman301582 said:
How do I flash stock recovery. I flashed twrp earlier and cannot find stock recovery. There is no recovery.img in the tissot system image.
Click to expand...
Click to collapse
Recovery is included in boot.img
tidschi said:
Recovery is included in boot.img
Click to expand...
Click to collapse
Which means I'll lose root after flashing ?
Aman301582 said:
Which means I'll lose root after flashing
Click to expand...
Click to collapse
Yes, but it takes 1min to boot to TWRP, flash TWRP and Magisk?
blackyz01 said:
After installing xposed... Safety net goes fail
Sent from my Mi A1 using Tapatalk
Click to expand...
Click to collapse
As I have written in the first post "xposed framework -systemless or not- does not pass safetynet, but being installed systemlessly through magisk, it can be disabled"
This means that if you enable magisk core mode which disables all modules or if you disable xposed framework module, it passes safetynet.
tidschi said:
Yes, but it takes 1min to boot to TWRP, flash TWRP and Magisk?
Click to expand...
Click to collapse
Okay, managed to get stock recovery back. But 2nd ota is not installing. Always fails
Why install old Magisk Manager? New one seems like it works, unless I am missing something..
ilpanos said:
Finally, i installed gravitybox using gravitybox non-fbe 7.0.4 - 29/10/2017 and it also appears to be working
Click to expand...
Click to collapse
Only one question about this: why did you choose NON-FBE version instead of the normal one?
Thank you :good::good::good:
this is worked for me
but i have a qu. how we will update next OTA?
matcho13579 said:
Only one question about this: why did you choose NON-FBE version instead of the normal one?
Click to expand...
Click to collapse
Just because unfortunately it seems that FBE is not currently supported on our device and it is using FDE.
Perhaps the normal version also works, but I didn't want to be in a situation where I find out in the future that something doesn't work correctly and I have to uninstall it.
suryaabadsar said:
Thank you :good::good::good:
this is worked for me
but i have a qu. how we will update next OTA?
Click to expand...
Click to collapse
First we have to make sure that magisk works correctly in the new OTA. Then and only then, enable magisk core mode to disable modules and pass safetynet and update according to the instructions in the link I have on the first post.
Will we lose root after an OTA update?
You have to do the procedure as described in the link I have provided in the first post. I am putting it again here:
https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips
ilpanos said:
Just because unfortunately it seems that FBE is not currently supported on our device and it is using FDE.
Perhaps the normal version also works, but I didn't want to be in a situation where I find out in the future that something doesn't work correctly and I have to uninstall it.
Click to expand...
Click to collapse
I'm currently using the normal version and everything is working as intended.
That's why I ask, because it might not work the same way with Magisk (I used CF-Root + SuperSU + standard Xposed method)
ilpanos said:
First we have to make sure that magisk works correctly in the new OTA. Then and only then, enable magisk core mode to disable modules and pass safetynet and update according to the instructions in the link I have on the first post.
Click to expand...
Click to collapse
I HAVE UNROOT PHONE WITH THE SAME METHOD AND RE-LOCK BOOTLOADER WITH FASTBOOT COMMAND fastboot oem lock
NOW OTA WILL WORK PROPERLY ON MY PHONE.?
Thanks for the perfect guide.
One side note: official ROM on the provided link is already version .30, so no need to boot into the ROM and install the updates, the update is already merged in
@ilpanos hello mate! I just ordered my A1 from Trading Shenzhen. I have an clear conception what to do with my A1 when it has arrived. So therefore I am collecting some knowledge about flashing and modding (I am not a beginner, but not familiar with A/B partitions). Your thread is very useful here, many thanks.
I have still one question and maybe you can answer it: i would like to remove the google apps from the system, but I don't know if this works just like usual (to remove it from /system/app or priv-app). The reason is that I am using microG instead gapps.
Or will removing files and folders screw up something?
Thanks in advance!
Cheers!
Well, the thing is that by even mounting system partition as read-write ,and of course doing any change - even adding a line in build.prop - disables the ability to do OTA updates. You will have to reflash the new rom for each update. This is the purpose of this thread, to show that there is a way to mod root etc systemlessly without loosing the ability to update (of course under certain conditions).

OTA with root and TWRP

Dears,
I have a OnePlus 6 unlocked and rooted with magisk and TRWP.
Currently I'm running stock firmware: oxygenos 10.3.
I got a message from system to update to 10.3.1.
Last time (when I have to update to 10.3) I tried to update in every way but without success and at the end I had to format everything and I lost my data.
So here is my question: which is the correct procedure to update software?
Thanks!
Look in TWRP and Root for OnePlus 6 on Oxygen OS 10 Stable/Beta thread
So you need to download latest Oxygen zip which is 042 buil if I'm not wrong...put it on your phone if you already didn't done that...then reboot to TWRP...and here starts the procedure....I HIGHLY RECCOMEND TO DO A WIPE WITHOUT FORMATTING INTERNAL STORAGE ONLY DATA...FOR AVOIDING ISSUES...but you can go without it...so here we start
Boot into twrp
Flash oxygen os zip(latest)
Flash twrp
Reboot to twrp(if it says no os installed just ignore it and swipe reboot anyway)
Flash magisk
and your done...thats it...nothing could go wrong.... I'm always doing it this way....
ilpratti said:
Dears,
I have a OnePlus 6 unlocked and rooted with magisk and TRWP.
Currently I'm running stock firmware: oxygenos 10.3.
I got a message from system to update to 10.3.1.
Last time (when I have to update to 10.3) I tried to update in every way but without success and at the end I had to format everything and I lost my data.
So here is my question: which is the correct procedure to update software?
Thanks!
Click to expand...
Click to collapse
For me, the phone downloaded the whole package instead of just the little OTA. I let it install it, bit did not let it restart it. Then I went to magisk modules and installed "twrp-keep". Then in magisk manager I had it install magisk on the other slot. Then I restarted the phone. Everything worked great.
tabletalker7 said:
For me, the phone downloaded the whole package instead of just the little OTA. I let it install it, bit did not let it restart it. Then I went to magisk modules and installed "twrp-keep". Then in magisk manager I had it install magisk on the other slot. Then I restarted the phone. Everything worked great.
Click to expand...
Click to collapse
Try this method... im also done my update like this!
my way of doing it
Here's what i did and it didn't took me long at all i'm a newbie
I unroot my phone via magisk
install os 10.3.1 then flash twrp and root my phone again.
Dears,
Thanks for the replay.
I forgot that I was without TWRP.
What I did, and it worked, is:
- uninstall magisk manager by magisk
- install full update
- reboot
- flash by fastboot boot.img patched by magisk.
Thanks again

Upgrading from 10 to 11 preserving root

Hi, I'd like to upgrade from last stable version of Android 10 to the stable version of 11. Can someone confirm that the method of installing Magisk on inactive slot before rebooting phone after installation works beetween different version of Android?
Thanks
unvisigoth1 said:
Hi, I'd like to upgrade from last stable version of Android 10 to the stable version of 11. Can someone confirm that the method of installing Magisk on inactive slot before rebooting phone after installation works beetween different version of Android?
Thanks
Click to expand...
Click to collapse
Answer myself if can help someone.
Open Magisk and uninstalled magisk image (image NOT all Magisk)
Downloaded and installed update
DO NOT REBOOT
Open Magisk and install to inactive slot
Reboot
Done
My cell: 0p6, rooted, android 10.3.12, magisk 23 and twrp 3.4.0-11
Any actual complete guide to upgrade to A11 stable, and preserving root and twrp?
Thanks
As long as update won't lock bootloader reinstalling magisk should be a 5 minute process.
unvisigoth1 said:
Answer myself if can help someone.
Open Magisk and uninstalled magisk image (image NOT all Magisk)
Downloaded and installed update
DO NOT REBOOT
Open Magisk and install to inactive slot
Reboot
Done
Click to expand...
Click to collapse
Twrp?
Roy Ken Robryk said:
Twrp?
Click to expand...
Click to collapse
After flashing OOS11 if your recovery in A10 was twrp it will be lost. And I am afraid that your device will get unrooted.
I´never updated across OTA, I have heard that by OTA your bootloader becomes locked, I am not sure.
So, IMO and the way I did it from A10, TWRP as recovery and rooted:
In TWRP, flash OOS11 (to inactive slot, let´s say B)
flash twrp (3.5.2_9-0 in my case) (in both slots)
reboot recovery (changing to inactive slot, B)
flash OOS11 (to new inactive slot, A)
flash twrp
reboot recovery (changing to slot A)
flash magisk (in slot A) If Magisk-23.zip fails (in my case is always this) try magisk 21.4.
In reboot menu select slot B and then reboot recovery.
Now, in slot B, flash magisk
Reboot system.
And as always, backup all your data before starting.
Ok guys
Here's the summary of what I know after performing the update to Android 11
my phone is OP6, rooted, android 10.3.11, magisk 23 and twrp 3.3.1-16 (not the latest one)
I just followed this guide, as I always do.
TWRP and Root for OnePlus 6 on Oxygen OS 10 Stable/Beta
A. If you are on OOS 10 I. If you are on OOS 10.3.0, OB4, or higher Prerequisites: TWRP image TWRP installer zip Latest Magisk zip Unlocked bootloader Reboot to fastboot mode. Boot to TWRP using the following command: fastboot boot...
forum.xda-developers.com
The process was completed without any errors of any sort.
So yeah, follow the above guide. I guarantee it (the aforementioned post) would not let you down.
So far I have observed few other things
OP launcher is (has become) sluggish
Brightness slider does not decreases brightness instantly when reduced to minimum (takes a second or two)
The most awesome substratum theme Liv Dark doesn't work perfectly
So far so good! ?
ALWAYS REMEMBER TO BACKUP YOUR DATA!
Fully working twrp (which twrp) on A11?
Roy Ken Robryk said:
Fully working twrp (which twrp) on A11?
Click to expand...
Click to collapse
I didn't get your question exactly
But still, the twrp remained the same as before i didn't flash a new one ( version mentioned above)
or
if you are asking for a fully working twrp on A11, I think this version is working fine; no hiccups
You can try to find one that is tailor made for A11 on xda in some or the other posts ( i might have seen one)
One more thing,
Maybe i am being paranoid but the faster battery drain is real and MX Player is bugged ( not only on op6 but every A11 phone out there, you will have to downgrade)
Greenify also doesn't work on A11 (PROPERLY YET!)
Cheers to google for always messing up!
I believe he was indeed asking if TWPR is working from the existing version, or if there was a new one that works.
I too prefer clarification. Does the existing TWP continue to work?
Thanks
I have 10 latest with twrp 3.3.1-18 enchilada and magisk 21.4.
Anyone has step by step guide to upade to stable 11 via twrp and to retain root?
Fully working nebrassy twrp on A11.1.1.1?
Ulises31 said:
After flashing OOS11 if your recovery in A10 was twrp it will be lost. And I am afraid that your device will get unrooted.
I´never updated across OTA, I have heard that by OTA your bootloader becomes locked, I am not sure.
So, IMO and the way I did it from A10, TWRP as recovery and rooted:
In TWRP, flash OOS11 (to inactive slot, let´s say B)
flash twrp (3.5.2_9-0 in my case) (in both slots)
reboot recovery (changing to inactive slot, B)
flash OOS11 (to new inactive slot, A)
flash twrp
reboot recovery (changing to slot A)
flash magisk (in slot A) If Magisk-23.zip fails (in my case is always this) try magisk 21.4.
In reboot menu select slot B and then reboot recovery.
Now, in slot B, flash magisk
Reboot system.
And as always, backup all your data before starting.
Click to expand...
Click to collapse
Hi man, can you elaborate how do you change slots, install to inactive slot, boot to specific slot a/b and such? I'm not as familiar with twrp stuff, I'm afraid i will screw something up.
Also where can I get twrp 3.5.2-9.0 that you are using. I have 3.3.1 enchilada.
Thanks,

Categories

Resources