yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Guides, News, & Discussion] Ronnie_180808:
I seem to have confusion about the flashing sequence;

during upgrade.

I usually disable all magisk mods, reboot to system and then reboot to recovery for upgrading

I do use custom kernel but I don't usually flash it with the rom upgrade, until one successful boot to system.

Only if the system boots properly then I flash the kernel and re-enable the previously disabled magisk modules.

Anyways, I was mostly concerned with messing up decryption, since I feel like I dont understand all that so clearly.:confused:

That being said, I just needed someone who has successfully applied upgrades without loosing/messing up decryption.

Encryption issues include unsuccessful attempt of maintaining decryption after an attempt to upgrade in a decrypted storage leading to corruption/format of internal storage and then having to simply re-copy backup from pc.

Thanks for your help and response. I'll try the method you suggested and let you know if I end up in issues.

I'll also uninstall magisk modules this time before upgradation and follow each step to the word.:fingers-crossed::good:
[OnePlus 7 Guides, News, & Discussion] tzic:
I got these errors, any ideas what is causing them?

PS D:\tmp\platform-tools> adb reboot bootloader

PS D:\tmp\platform-tools> fastboot boot twrp-3.4.0-0-guacamole-unified-Q-mauronofrio.img

downloading 'boot.img'...

FAILED (data transfer failure (Too many links))

finished. total time: 0.624s

PS D:\tmp\platform-tools> fastboot boot twrp.img

downloading 'boot.img'...

FAILED (command write failed (Unknown error))

finished. total time: 5.028s

PS D:\tmp\platform-tools>
[OnePlus 7 Guides, News, & Discussion] strongst:
Try to format internal storage and use twrp 3.3.1-79 for example.
[OnePlus 7 Guides, News, & Discussion] wiz.wiz:
Hi,

my wife installed the application "mywellness" which refuses to run because the phone is rooted or has an unlocked bootloader or has a custom ROM.

Actually she had updated the phone and lost root (but magisk mgr app was still installed), and the app refused to execute for the above reason

The bootloader is unlocked and xXx is installed on the OOS ROM.

I reinstalled TWRP & magisk, and selected in magisk hide to hide it to mywellness.

Do you know if an application can check whether a phone is bootloader unlocked ? Can it also see that the phone is rooted although magisk is hidden from it ?

thanks !
[OnePlus 7 Guides, News, & Discussion] strongst:
Hello, this can be checked by apps, especially banking apps, even if you hide them with magisk hide. I don't know if that's the case for the app you mentioned.
[OnePlus 7 Guides, News, & Discussion] Hälftebyte:
delete
[OnePlus 7 Guides, News, & Discussion] yesca213:
Ok, its been a while for me posting, but i'm stuck. Maybe someone here may have an answer. OP 7 1900 Chinese variant. ive been running stock rom since new with bootloader unlocked, TWRP installed and Magisk. I was on android 10 and have had no problems doing OTA's and running TWRP retention script and magisk to retain root. All was glorious..... Then came android 11 update. I had failed to update to latest magisk, and was still running 20.3.... little did i know, after installing OTA and before reboot i would not be able to use magisk to flash these files. I have now lost root.... my bootloader is still showing unlocked. when i try to run twrp in fastboot, it loads black and white screen with oneplus logo and fastboot mode underneath. ive tried quite a few versions of twrp and cannot get it to load. i am confused on the patching method, and i cannot find my exact version of oxyos to pull payload from. any help would be greatly appreciated. i really want my root priveledges back. thanks in advance!

Update: I have solved the issue with magisk, I had to force it to push to partition A using command "fastboot flash boot_a *.img. it is showing I have root now which is a plus. Is there any way I can get back TWRP? I tried to flash it through magisk, but ended up in a bootloop flashing the TWRP start screen. Forced the boot.img again to fix, but no recovery... Thanks
[OnePlus 7 Guides, News, & Discussion] Zobat:
I am in the same boat i guess. Except that flashing to both boot-partions did not help me to get root. I cant boot into twrp via fastboot boot command and if i flash a magisk patched boot image it does not finish the startup. I can get into adb shell though and su is in there. But unfortuanatly, like i said it wont complete booting up the gui.

fastboot boot twrp-3.4.0-10-guacamole-unified-Q-mauronofrio.img
downloading 'boot.img'...
OKAY [ 1.263s]
booting...
OKAY [ 0.123s]
finished. total time: 1.386s

this is after booting from fastboot into a twrp image. It hangs in fastboot afterwards.

:~/android$ adb shell
shell@OnePlus7:/ $ su
root@OnePlus7:/ #

This is after flashing a patched bootimage, booting does not finnish and hangs for ever with lots of errors in adb logcat:

05-08 21:27:06.065 1757 1757 E ion : ioctl c0044901 failed with code -1: Inappropriate ioctl for device
05-08 21:27:06.065 1757 1757 E adsprpcd: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:2588: Error 0xffffffff: apps_dev_init failed for domain 0, errno Transport endpoint is not connected
05-08 21:27:06.065 1757 1757 E adsprpcd: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:2686: Error 0xffffffff: open_dev (-1) failed for domain 0 (errno Transport endpoint is not connected)
05-08 21:27:06.065 1757 1757 E adsprpcd: vendor/qcom/proprietary/commonsys-intf/adsprpc/src/fastrpc_apps_user.c:1206: Error 0xffffffff: remote_handle_open failed for adsp_default_listener (errno Success)
05-08 21:27:06.065 4120 4120 E libc : Access denied finding property "persist.vendor.fast.compostion"
05-08 21:27:06.066 1757 1757 E adsprpcd: vendor/qcom/proprietary/adsprpc/src/adsprpcd.c:48:adsp daemon will restart after 25ms..

one note: I was encrypted before the update to android 11. Could that be a problem?

Did you make any progress?
[OnePlus 7 Guides, News, & Discussion] strongst:
encrypted is no problem as the stock recovery can handle it too. Did you try to flash a stock boot.img from your current system and boot the system?

Currently the TWRP isn't working on Android 11 so you can only patch a boot.img file with Magisk.

I reworked the guide and tested it for Android 11 (y)
[OnePlus 7 Guides, News, & Discussion] kodrnusa:
Will there be a twrp for android 11?
[OnePlus 7 Guides, News, & Discussion] strongst:
Currently not, maybe in the future. But it's working good without. In terms of backups you can use other tools too.
[OnePlus 7 Guides, News, & Discussion] Lukalion:
Hello. Im currently on OOS 10 with twrp, magisk, unlocked bootloader. How do i proceed to OTA to OOS 11 and gain root? Heres is how i would proceed but i dont want to run into issues:

1) deactivate magisk modules

2) OTA to Android 11

3) extract boot.img

4) install magisk apk

5) patch boot img via magisk

6) flash patched boot.img via fastboot to a & b
[OnePlus 7 Guides, News, & Discussion] strongst:
Hello,

I did it exactly like(first post) this when I updated from OOS10 to OOS11:

1. [OPTIONAL, but highly recommended]Backup everything in case of issues!

2. Go to Magisk Manager App and uninstall all modules

2.1 [Optional]: For some modules(read those instructions) you should do an reboot now, then proceed

3. Go to Android settings -> system -> system update and hit "Download & Install Now", don't reboot yet!

4. Flash "TWRP ZIP" within Magisk Manager App like a Module: Magisk Manager App -> Menu -> Modules "+". This installs TWRP to both a/b partitions.

5. Install Magisk via Magisk Manager App again: Magisk Manager App -> hit install after your Magisk version -> hit again install -> hit "install to inactive slot"

6. Reboot your device

7. Reinstall your Magisk Modules(maybe a reboot is necessary)

But you can also do it like this(I've changed some steps from you):

Backup everything including media storage!

1) deactivate magisk modules

2) download but not install OOS11

3) copy the OOS11 zip from the phones .ota folder to your pc

4) extract boot.img and copy it back to your phone

5) install magisk apk on your phone if you don't have it already

6) patch boot img via magisk and copy the patched one back to your PC

7) OTA to Android 11 (install the already downloaded OOS11 update zip)

8) reboot to fastboot and connect the phone to your PC

6) flash patched boot.img via fastboot to a & b

report back if it was working (y)
[OnePlus 7 Guides, News, & Discussion] pycxe-01:
Hi. Has anyone tried Magisk v23 & Android 9 combo on their OP7 GM1900 here? Does updated/latest Magisk bring any stability issues on your devices?
[OnePlus 7 Guides, News, & Discussion] Lukalion:
I thought twrp is not working with android 11 and decryption? or was this patched already in the latest twrp for OP7 ?
[OnePlus 7 Guides, News, & Discussion] strongst:
I had no issues when updating from A10 to A11 with twrp-3.4.0 or 3.3.1-79 but i think that was just during the update process. If you're decide to install or root from scratch, it wont work anymore and that was my test so i reworked the guide to use patched boot.img until twrp for A11 is available :)

So it's better to go the way without twrp(I'm using other tools for backups and it is more reliable and convenient).
[OnePlus 7 Guides, News, & Discussion] Lukalion:
So after the update booting to twrp will not work correctly? that would suck. because you couldnt disable bootlooping magisk modules.
[OnePlus 7 Guides, News, & Discussion] strongst:
That's why you should to uninstall any magisk modules prior any update
[OnePlus 7 Guides, News, & Discussion] wantei:
What other tools are you using for backup without TWRP?
[OnePlus 7 Guides, News, & Discussion] strongst:
I'm using Titanium Backup which backups all apps and most setting. Those backups will be synced to a storage off the phone randomly(with SyncMe). That's for me the best way for years cause TWRP backups are always not so handy when you want to restore specific apps or app settings. It's cumbersome...
[OnePlus 7 Guides, News, & Discussion] pycxe-01:
Does Titanium Backup work on Android 10 & 11? I'm asking because as far as I know Titanium Backup app wasn't updated since November 2019.
[OnePlus 7 Guides, News, & Discussion] strongst:
It works flawlessly(v8.4.0.2) with A10/11 and every other version before. I'm using it since 12 years :cool:

But there might be issues with backup/restore of specific android and specific app settings, as mentioned before.

But it's more flexible than TWRP or nandroid backups can be, at least for me.
[OnePlus 7 Guides, News, & Discussion] yesca213:
Ya I still couldn't get twrp to boot, even after using boot.img. I do have root, or what seems to be partial root.. TB shows root. And yes TB is great. I have magisk installed and already updated once since, haven't had any issues besides not having twrp, which in my opinion was the best for an oops soft brick, or maybe when applying a module and things get buggy. Maybe it will make an appearance for 11. I noticed with 11, I tried changing my icons and my fonts to what they were set at in 10, and I was unable to accomplish that. Almost like the files needed more permissions...
[OnePlus 7 Guides, News, & Discussion] hkhs10811:
if i upgrade from oos10 to oos11, is there any possible to keep twrp and magisk at same time? or i will lost twrp and got unrooted when upgrading from local file?
[OnePlus 7 Guides, News, & Discussion] zozo932:
I updated via the oxygen update application I was under Android 10 in 10.3.8. I upgraded to 11.0.1.1 Android 11 (the latest). Obviously I lost my root access. I would like to know if I flash the patched boot.img the phone reboots to zero and I lose ALL MY DATA AND SETTINGS?

Thank
[OnePlus 7 Guides, News, & Discussion] pycxe-01:
Reporting back: OP7 GM1900, Android 9 based OOSv9.5.8 & Magisk v23 work well together! 😃

I've updated to Magisk v23 from Magisk v20.4 within Magisk Manager v8.0.7/Magisk v23 using the recommended direct install method. Next, rebooted & all my Magisk modules + settings were still there! Recommend!
[OnePlus 7 Guides, News, & Discussion] Zobat:
negative. All is wel.
[OnePlus 7 Guides, News, & Discussion] kistedu:
I upgraded to android 11 last ver. Lost of course TWRP and root. As I understand, there is no TWRP foor A11 but, how can I root my phone.

Please link files that I have to install via fastboot.

Thanks for help
[OnePlus 7 Guides, News, & Discussion] pgomes2000:
Hi,

Follow this guide here
[OnePlus 7 Guides, News, & Discussion] kistedu:
twrp-installer-3.5.2_9-0-guacamole.zip

That's the last version of TWRP for OP7.

I downloaded the image file.

When I flash via fastboot, I'm getting that everything is OK, and instead the phone booting to TWRP, I get only fastboot logo and nothing hapoens.

OEM is unlocked, before A11 my device was rooted with working TWRP.

What I'm doeing wrong, why getting fastboot logo after fastboot boot twrp-3.5.2_9-0-guacamole.img command?
[OnePlus 7 Guides, News, & Discussion] dudas89:
Hello,

I am facing the exact same problem and I am trying to find a solution for 6 hours not. I've searched everywhere. My Oneplus 7 is stuck at "Fastboot Mode" screen. I can reboot it normally, but can't flash TWRP. It is just stuck at this screen.
[OnePlus 7 Guides, News, & Discussion] strongst:
The bootloop is due to Android 11. There's no TWRP for Android 11 hence the guide is highlighted if you have Android 11.
[OnePlus 7 Guides, News, & Discussion] Yakia:
hi, thanks for the guide, i unlocked my bootloader successfully but after i flashed the patch magisk img, things went wrong : my phone boots, but my screen is completely black, i can still access to the power menu with the power button and reboot but it won't do anything. it also loops

edit : also tried flashing back the stock boot.img but same result

edit 2 : after doing a factory reset in recovery mode, the phone boots normally, but wifi isn't working

edit 3 : i was using the wrong boot.img since the beginning because oneplus gave me an outdated update filed, i took the updated one here
[OnePlus 7 Guides, News, & Discussion] Xplayerhtz:
But i have this issue on both Android 9 and 11 LOL
[OnePlus 7 Guides, News, & Discussion] strongst:
Maybe you're using a wrong kernel or twrp?
[OnePlus 7 Guides, News, & Discussion] ciao99:
Hi, the phone is stuck on bootloop when i flash the patched boot.img. I'm on OOS 11.0.2.1.

In the "BootReason" of stock recovery i can see that rescue party is triggered.

I tried cleaning up magisk, then reinstall, but nothing works. Can someone suggest me a solution?
[OnePlus 7 Guides, News, & Discussion] strongst:
Hello, simply flash stock(unpatched) boot.img via fastboot should work.
[OnePlus 7 Guides, News, & Discussion] ciao99:
yeah, i did this. But i don't get root after booting stock img. Am i missing something?
[OnePlus 7 Guides, News, & Discussion] strongst:
Exactly, you don't have root, but you can start again. You have patched the stock boot.img yourself with the latest magisk manager app after extracting it with payload dumper from your stock rom?
[OnePlus 7 Guides, News, & Discussion] ciao99:
yes, patched the stock boot.img from app and even tried installing magisk from recovery, booting twrp from fastboot, but same result every time. boot.img is the right one because i can flash it to boot and it works fine.

EDIT

finally after 1 and a half day i managed to restore root :D

Installing full 11.0.2.1 update from local storage, booting nebrassy twrp to install magisk zip and now all is working as it should.
[OnePlus 7 Guides, News, & Discussion] lvints:
I spent some time without flash roms on the OP7 and I'm kind of lost in developing for it.

Is it currently possible to upgrade to A11, have root (magisk) and TWRP?

If anyone has any tutorial on this I would be very grateful.
[OnePlus 7 Guides, News, & Discussion] strongst:
There's an unofficial TWRP: https://xdaforums.com/t/recovery-11-unofficial-teamwin-recovery-project.4289455/
[OnePlus 7 Guides, News, & Discussion] lvints:
Hey @strongst wanted to confirm with you the step by step to exit from A10 (10.3.8) to A11 (11.0.4.1) and have TWRP.

I would start by following the topic information above, upgrading via local upgrade and then installing magisk in the inactive slot.

For TWRP just do what is said in the thread (fastboot boot twrp.img, go to Advanced > Flash Current TWRP, after that is done, if you were using a custom kernel, reflash it now, if you were using magisk, reflash it now).

Just want to avoid bootloop, hence insecurity.
[OnePlus 7 Guides, News, & Discussion] strongst:
If I understand correctly, you want to update from A10 (10.3.8) to A11 (11.0.4.1) and have TWRP.

You should be fine following the

Steps for UPDATE OxygenOS via local upgrade and keep unlocked bootloader, TWRP, Root(Magisk)

but skipping step 5 cause the TWRP for A11 is an .img and cannot be flashed from Magisk app.

So you have to flash TWRP like mentioned in the instructions of the TWRP or like the first time

and then

reinstall magisk again(patch boot image) after flashing TWRP.

I don't use TWRP anymore cause :)
[OnePlus 7 Guides, News, & Discussion] Chrisch_91:
I'm searching for a a patched boot image from 10.0.5.1. Can someone pls upload it? I cant create it with python on my own.
[OnePlus 7 Guides, News, & Discussion] MrMuscle:
Hello @strongst

Is this a permanent change for TWRP filetype and will Magisk be able to flash .img in the future? I've been waiting some time for this to be possible. Currently stuck in A10 because of the hassle with the update process.

Also, what recovery you use if not TWRP?
[OnePlus 7 Guides, News, & Discussion] strongst:
Hello, I don't know about the future features of magisk... I used TWRP and had no issues when I updated from A10 to 11, but I don't own this device anymore.
[OnePlus 7 Guides, News, & Discussion] avivara:
Im having problems with adb

adb server version (41) doesn't match this client (39) killing

What i can do?
[OnePlus 7 Guides, News, & Discussion] Manjotbenipal:
Try installing adb latest version and using latest platform tools
[OnePlus 7 Guides, News, & Discussion] Tomolin:
I am using Oneplus 7, trying to root the device in Android 11. And it is not responsive in the last step, not sure what it means. I did boot to bootloader, and unlocked my device. I need some help, any suggestion is welcomed to shoot. Thanks!

$ .\fastboot.exe flash boot_a .\magisk_patched-25100_QWwXj.img
< waiting for any device >
[OnePlus 7 Guides, News, & Discussion] Manjotbenipal:
You should probably look for forum of your device
[OnePlus 7 Guides, News, & Discussion] Tomolin:
This method is actually working, but I have to manually install drivers for my cellphone according to the link below.

[Guide] Fix for device not working in fastboot / unable to install official driver in Windows 10 / 11

If you are getting the error as in the screenshot below, this solution is for you. 1. Download the attachment "Generic Driver.zip" and extract it 2. Click on "Update Driver" in the dialog in the screenshot. 3. Browse my computer for drivers 4...

xdaforums.com
[OnePlus 7 Guides, News, & Discussion] strongst:
This driver problem occurs from time to time, I had it also with several PCs...
[OnePlus 7 Guides, News, & Discussion] Marcolin141:
Hello, this is a well written guide for rooting the phone. I want to try it but i have some questions first if its possible to get an answer here. I use 1-2 bankapps for my day 2 day operations. I understand that by rooting some of then wont work but there is a workaround ( some youtube videos). My question is that after i have rooted my phone, i become the admin for it. Any new app that asks for root will go through me. How safe is that for my phone and bankapps if i keep installing the apps from playstore and not 3rd party apps?
[OnePlus 7 Guides, News, & Discussion] daitalos:
Banks are not soft when it comes to the safety of their customers and themselves

Before you get to root, from the moment you unlock the bootloader the security of the device is at risk (even if a root-app "hides" it,for example magisk / safetynet api etc)

You can find and read generic various topics related to device security and rooting in these threads:

https://www.google.com/search?q=roo...QV5A8QQ8NMDegQIARBS&biw=1661&bih=935&dpr=1.04

[ https://www.extremetech.com/mobile/...u-should-or-shouldnt-root-your-android-device ]

I hope you find time to read some interesting ones (y)
[OnePlus 7 Guides, News, & Discussion] killer1850:
Hi all, does it work with android 12 or not?
[OnePlus 7 Guides, News, & Discussion] florian.sudhan:
I am not able to unlock the bootloader of my OP7. Works fine till the part it boots to the fastboot where it shows the bootloader version,device id stuff and then the fastboot doesnt detect any device. The weird part is oly my device id is shown but not my bootloader version and baseband version,but it says that status is locked
[OnePlus 7 Guides, News, & Discussion] strongst:
Hope you enabled oem unlocking and USB debugging within developer options, otherwise you won't see your device with "adb devices"
[OnePlus 7 Guides, News, & Discussion] florian.sudhan:
The device shows up in adb devices but is not showing up on fastboot devices, I've enabled oem unlocking, advanced reboot and USB debugging
[OnePlus 7 Guides, News, & Discussion] strongst:
You don't have to enter "fastboot devices", this isn't a step. please explain or mark at which step you stuck exactly :)
[OnePlus 7 Guides, News, & Discussion] florian.sudhan:
When I type in the fastboot oem unlock command it only returns with <waiting for device>, so I assumed that my device is not recognised in fastboot devices, so tried the fastboot devices command and I get no return
[OnePlus 7 Guides, News, & Discussion] strongst:
Your device is in bootloader state issues by "fastboot reboot bootloader" like mentioned here https://xdaforums.com/oneplus-7-pro...der-unlock-twrp-install-t3940368/post79741564

Can you please upload a cmd or powershell log(pastebin) to have an insight of all your commands and steps you take?
[OnePlus 7 Guides, News, & Discussion] florian.sudhan:
Sorry for the picture quality, hope it answers your doubts:(
[OnePlus 7 Guides, News, & Discussion] florian.sudhan:
Found this on the link you've mentioned :

"Thanks for your guide, did it today.

Couldn't get it done first, because I used the cable from my Huawei p20 pro. ADB worked, but fastboot didn't."

It was the last post of the third page where someone encounters a similar issue, could it mean the included cable could've been bad for me? :confused:
[OnePlus 7 Guides, News, & Discussion] gargamelxda:
Try reinstall drivers, change cable and/or change usb port in PC. I think that correct drivers solve it

Enviado desde mi GM1900 mediante Tapatalk
[OnePlus 7 Guides, News, & Discussion] who ah way:
EDIT:

Answering my own question, it looks like the recommended method to root this phone would be Method 1 (TWRP with Magisk).
[OnePlus 7 Guides, News, & Discussion] who ah way:
Followed the steps, ran "Root Checker Basic", got this:

Huge thanks for the guide!
[OnePlus 7 Guides, News, & Discussion] who ah way:
Fantastic guide, thank you.

Now that I finish my set-up, I would suggest adding these steps for noobie users like me:

- after successfully rooting, DO a backup using TWRP. Long press Power, select "Recovery", enter your pin if needed, select "Backup", select either internal storage (the phone) or external storage (plug in a flash drive). While setting up the phone, DO frequent TWRP backups in case you install something nocious and enter bootloops.

- DO NOT install Pixel Netcut (guaranteed boot loop)

- Think twice before installing Magisk modules, check on the forum what version is compatible with your phone (hint: be cautious with Xposed)
[OnePlus 7 Guides, News, & Discussion] stkf10:
Hi I have OnePlus 7 model GM1900 does Root ?
[OnePlus 7 Guides, News, & Discussion] strongst:
Hello, what do you mean exactly? You want to root your device? What OxygenOS you're running,as this guide isn't for android 10 yet :)