Plaease Help /vendor not mounting - Xiaomi Redmi 4X Questions & Answers

i am using latest twrp 3.2.3-1 and the vendor is not mounting when i am trying to flash magisk v18.1

I think for vendor you should try treble supported twrp.
Or you may should try orange fox recover 9.0
It may work

Related

Can't revert to stock boot image from Magisk 16.4

Motorola G5 Plus
Lineage 15.1
TWRP 3.2.1
I want to go back to my stock boot image but I appear to be stuck with the Magisk 16.4 boot image.
I first ran this (I didn't know there was an updated uninstaller): Magisk-uninstaller-20170813.zip
Unfortunately I don't have the exact output because when I run this again (after running the updated one below) I have a different output now, but here's the basics of what I do remember:
- Mounting /system, /vendor
- Device platform: arm64
.
.
.
I remember it saying that the stock boot image was found, but then immediately after it said Magisk wasn't installed and then aborted.
(Magisk is definitely installed as when I rebooted the phone after that, the Magisk app said 16.4 was installed, plus I still had root).
Then I ran this: Magisk-uninstaller-20180429.zip and got:
- Mounting /system, /vendor
- Device platform: arm64
Updater process ended with ERROR: 1
Error installing zip file '/sdcard/Download/Magisk-uninstaller-20180429.zip'
Updating partition details...
...done
So I'm currently stuck at this point and I don't know what to do. If wiping everything and reinstalling Lineage 15.1 will fix this, then that's what I'll do but I'm looking for any suggestions to get my stock boot image back in place.
Try the next to last uninstaller:
https://github.com/topjohnwu/Magisk/releases/download/v16.3/Magisk-uninstaller-20180328.zip
The latest one has issues on 64-bit systems...
Didgeridoohan said:
Try the next to last uninstaller:
https://github.com/topjohnwu/Magisk/releases/download/v16.3/Magisk-uninstaller-20180328.zip
The latest one has issues on 64-bit systems...
Click to expand...
Click to collapse
That did it. Thanks!

[Suggestion/Guide] How make Magisk works with TWRP encryption

I don't know about other users, but when I installed magisk on asus zc554kl, I have to format data, coz system can not be loaded. Then, TWRP lost access to /data partition too.
I think I have solution for this problem. It allows TWRPs decrypt data and transfer them from original system.
The problem is Magisk patchs kernel in boot.img, so new boot image can not decrypt data and you need format data.
BUT I Suggest those steps (it worked for me):
1. Magisk should create 2 new images : boot and recovery
Firstly it unpack boot, patches kernel and build boot, as usual.
But Magisk also should use same patched kernel for repacking TWRP/recovery. In this case decrypt from TWRP will be supported.
Dreamject said:
I don't know about other users, but when I installed magisk on asus zc554kl, I have to format data, coz system can not be loaded. Then, TWRP lost access to /data partition too.
I think I have solution for this problem. It allows TWRPs decrypt data and transfer them from original system.
The problem is Magisk patchs kernel in boot.img, so new boot image can not decrypt data and you need format data.
BUT I Suggest those steps (it worked for me):
1. Magisk should create 2 new images : boot and recovery
Firstly it unpack boot, patches kernel and build boot, as usual.
But Magisk also should use same patched kernel for repacking TWRP/recovery. In this case decrypt from TWRP will be supported.
Click to expand...
Click to collapse
well that only works in the boot to system, once boot to other partition access is lost

[recovery] twrp 3.2.1-0

TWRP for EMUI 9.1​
THIS TWRP IS FOR HI6250 DEVICES ON 9.1 AND NOT FOR 8 FIRMWARE
What's different from TWRP for Android 8?
erecovery_ramdisk option to flash .img
system_root partition for 9.1
What works now?
You can now flash .zip like Gapps and they'll work (before it gave error 64)
What doesn't work?
At the moment, I don't know if ADB sideload works.
Otherwise, everything seems to be working.
How to flash this TWRP
To recovery_ramdisk
Code:
fastboot flash recovery_ramdisk [TWRP].img
I DIDN'T BUILD ANY OF THIS
I only modified a TWRP (which I don't know the author, sorry) to make it work good on hi6250 EMUI 9.1 devices.
I would like to have the hardware and knowledge to build and develop new stuff but at the moment I can't.
Download - https://drive.google.com/open?id=10VONtu_Bf6grW60N7K8gMrzQSG-rswni
Feel free to contact me on Telegram @tekmuse (group) or @Yellow_B_ird (PM)

How To remove Project Treble

Hey guys,
had Project Treble installed and wanted to remove it and install Pixel Experience Android Q ROM.
I flashed Stock ROM & TWRP with XiaoMiTool V2 and via TWRP I installed Pixel Experience ROM, which worked..
But now the following problem:
Cannot flash Magisk cause TWRP cannot mount DATA.. If I format DATA it can mount but then Magisk install wants to mount Vendor, but why?? There should be no Vendor Partition anymore..
Thanks for your help!
Edit:
Okay, Project Treble still seems to be present, had to flash Treble enabled Recovery..
But how the hell can I restore standard Partition Layout without Treble?

Cannot mount magisk on Moto G5s Plus(Sanders)

Hi!
I tried installing Magisk v20.4 beta on my Moto G5s Plus (Sanders) running PixelExperience ROM (2020/04/12) with TWRP with treble support but I get the following message
- Mounting /system, /vendor
! Cannot mount /vendor
- Unmounting partitions
Updater process ended with ERROR: 1
Error installing zip file '/sdcard/Magisk-v20.4.zip'
Can anybody please help.
As you've surmised, that usually indicates that you're not using a TWRP that is Treble compatible.
And even if you do have a Treble compatible TWRP, it is much more likely that the issue lies with the recovery rather than Magisk. You can hopefully get help with that in the corresponding TWRP thread, if there is one.
A way around it would be to patch the boot image with the Manager and then install that patched image though TWRP, instead of using the zip. Installation instructions here:
https://topjohnwu.github.io/Magisk/install.html#boot-image-patching

Categories

Resources