OnePlus 7 Pro - McLaren, Unable to install magisk through TWRP - OnePlus 7 Pro Questions & Answers

Hello,
As the title states, I have tried to install Magisk through TWRP as I have done on other devices. This time the SD card appears to be unreachable, as I cannot locate any of the typical folders such as Downloads or Documents in the TWRP file manager.
When I use an OTG USB to install magisk, it fails with:
'error code 2 unable to mount storage. E:Error creating fstab'.
Also attempting to install magisk, by installing the apk on the OS, then using the install feature, only gives the patch option. Any help would be appreciated.

I solved this by following this video:
Then I used the OTG USB to install the magisk.zip, and it worked.

Related

Rooting & LineageOS 16

Hi Folks,
I am not sure if you are aware, but there is a large list of GSI ROMs that will work on the One Max, including LineageOS 16 (Android 9)! Everything appears to work (not 100% about NFC) including the camera. Here is the complete list:
https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
For some of these ROMs, you will need to install Gapps:
I recommend "pico"
https://opengapps.org/
Before you begin. DO A BACKUP FIRST!
The best method, after installing TWRP, and removing encryption is this:
1. Download/extract this LineageOS version:
https://sourceforge.net/projects/an...0-20190609-UNOFFICIAL-treble_arm64_avN.img.xz
2. Download ARM64/9.0 Gapps / https://opengapps.org/
3. Do a full Wipe.
4. Install the LineageOS image first. Pick Install Image > Pick LOS image > Select system partition
5. After image is done, go back to main menu in TWRP. Pick Install > Zip > Install Gapps.
6. Reboot, Setup Google Account, and restore your cloud backup.
7. Download latest Magisk app & Zip and install.
8. Refer to _cab13_ post. Towards the bottom on getting Magisk working with GSI Roms:
https://forum.xda-developers.com/android/development/umidigi-one-max-custom-rom-modding-t3942521
In TWRP, mount the /vendor and /system partitions to be able to copy files from one directory to another.
9. At this point, d'load a root checker app to verify prompts are working. You should now have rooted LOS16!
Encryption
After starting LOS and initial boot screen pops up w encryption, and says system UI keeps stopping.
Tries to encrypt the phone.
I formatted data and installed disable encryption zip after LOS image install
Any help appreciated
I am have twrp installed but twrp does not see xxxand...m64_avN.img.xz-file.
twrp accepts only zipfiles
So what can i am do, please?
Madricks18 said:
I am have twrp installed but twrp does not see xxxand...m64_avN.img.xz-file.
twrp accepts only zipfiles
So what can i am do, please?
Click to expand...
Click to collapse
You need the `unxz` tool, and all you have to do is `unxz <file.xz>` and it will unpack it.

Problem rooting refurbished google Pixel 1 with magisk (failed to mount system/root)

Hi,
I just got a second hand Google Pixel 1 and I ran into some trouble trying to install magisk on it : I keep getting those two error messages in TWRP when flashing the TWRP.zip and magisk.zip :
"Failed to mount system/root (invalid argument)"
"failed to mount vendor (invalid argument)"
The two installations are still considered successful by TWRP but rebooting after flashing the magisk.zip keeps the phone in bootloop.
Any idea how I could fix this please ?
Information on the device and software used :
- android 10 installed on the phone when i got it ;
- bootloader unlocked, usb debugging on ;
- Flashing TWRP with "twrp-installer-3.4.0-0-sailfish" preloaded in the phone and the corresponding img ;
- magisk manager installed and using magisk 20.4 zip preloaded in the phone for flashing ;
- all commands made in cmd.exe from windows 10 computer ;
- adb and google drivers installation all ok.
please ask if I didn't give enough information.
Thanks in advance !
dantafas said:
Hi,
I just got a second hand Google Pixel 1 and I ran into some trouble trying to install magisk on it : I keep getting those two error messages in TWRP when flashing the TWRP.zip and magisk.zip :
"Failed to mount system/root (invalid argument)"
"failed to mount vendor (invalid argument)"
The two installations are still considered successful by TWRP but rebooting after flashing the magisk.zip keeps the phone in bootloop.
Any idea how I could fix this please ?
Information on the device and software used :
- android 10 installed on the phone when i got it ;
- bootloader unlocked, usb debugging on ;
- Flashing TWRP with "twrp-installer-3.4.0-0-sailfish" preloaded in the phone and the corresponding img ;
- magisk manager installed and using magisk 20.4 zip preloaded in the phone for flashing ;
- all commands made in cmd.exe from windows 10 computer ;
- adb and google drivers installation all ok.
please ask if I didn't give enough information.
Thanks in advance !
Click to expand...
Click to collapse
Guide
Do #9 in the guide using the Canary Magisk Manager.
Ok thanks I'll try that !

Unable to install Magisk

Hi everyone !
I'm trying to install Magisk on the cereus... but I fail miserably !
I have reset the phone.
I unlocked the device, installed TWRP, I can mount the data and system folder.
Then I got to Install > Select the Magisk apk I downloaded from Github without error and when I reboot the phone... No magisk icon, and Root Check still tells me I'm not root...
What did I miss ?
Thanks a lot for your help !

Custom ROM not loading/existing after flash via TWRP

Kia ora!
I have an old chinese smartphone (Nomu s10) and I found an apparently working Havoc OS version for it ( https://www.getdroidtips.com/havoc-os-nomu-s10/ ).
So I tried installing it through TWRP:
- USB debugging was originally activated
- I installed all the drivers (I can see the phone on Windows USB connection & Device manager does not give any yellow errors)
- I unlocked the bootloader via ADB and freeboot
- TWRP 3.0.2 by Jemmini was already installed as I was using a Lineage variation before.
- I formatted via freeboot via TWRP
- I formatted the /data to ext2 and then ext4 via TWRP
So I installed the Havoc zip via TWRP. Then Open Gapps pico as well. And I reboot into "system", but it does not work. It simply always goes back to TWRP.
PLUS:
Now I see that my phone storage shows up as 100% empty (in TWRP and on PC connection).
So where did I go wrong? What else do I need to do?
Any help would be great, as I am already a bit lost with it .
Thank you!
Nac
Nacrim said:
Kia ora!
I have an old chinese smartphone (Nomu s10) and I found an apparently working Havoc OS version for it ( https://www.getdroidtips.com/havoc-os-nomu-s10/ ).
So I tried installing it through TWRP:
- USB debugging was originally activated
- I installed all the drivers (I can see the phone on Windows USB connection & Device manager does not give any yellow errors)
- I unlocked the bootloader via ADB and freeboot
- TWRP 3.0.2 by Jemmini was already installed as I was using a Lineage variation before.
- I formatted via freeboot via TWRP
- I formatted the /data to ext2 and then ext4 via TWRP
So I installed the Havoc zip via TWRP. Then Open Gapps pico as well. And I reboot into "system", but it does not work. It simply always goes back to TWRP.
PLUS:
Now I see that my phone storage shows up as 100% empty (in TWRP and on PC connection).
So where did I go wrong? What else do I need to do?
Any help would be great, as I am already a bit lost with it .
Thank you!
Nac
Click to expand...
Click to collapse
Plainly, I don't think the ROM is for your device. Take a look what's inside the zip, go to the META-INF, open the updater-script, in newer firmware it could there in update-binary (too much), see what device is built for.

Tried Rooting my Redmi Note 5 Pro, but to fail, dunno why !(android 9 oreo) [EDIT : ISSUE SOLVED]

Hello y'all, i want to root my phone, i followed several tutorials and installed image file of twrp v 3.2.3 , lazyflasher.zip and magisk.zip . Tried flshing the twrp image file through fastboot, but it is unable to decrypt my data and is asking for a password, installed a later version of twrp v 3.4.0 and tried the same, it was able to decrypt , Now i succesfully entered TWRP and then i first installed the image file but i was not able to install the ladyflasher.zip(error 1 cannot unpack zip file) so i avoided the lazyflasher step and directly tried installing magisk and it said successful, but when my phone rebooted there was no magisk app and my phone is not rooted! Tried with different versions of magisk like v 16 and v 23 , still no effect. Also instead of magisk zip file i installed supersu zip file and still the result is same ( No supersu app on phone and thus not rooted)!
Reflash Stock ROM to get rid off of all mods you applied so far, then retry.
Issue Solved! Thanks for your tip @xXx yYy , but i solved it! Basically the absence of magisk app is not a problem, i manually installed the magisk manager and basically upgraded the magisk version(I flashed v 16 through twrp, magisk manager required v 23 and above) so i clicked install within the app and boom! root access is granted, crazy but anyways it did work , so issue solved

Categories

Resources