Question [CLOSED] Magisk select and patch a boot image not working. - Samsung Galaxy A12

Hi guys
I don't know what I'm doing wrong, but when I chose the method "select and patch a file" and select the boot.img of the AP fimware file, for some reason the "Let's Go" button is still grayed out and I can't patch the boot image.
It would be nice if someone knows a fix for this.
Thanks.
Solution:
1. Download app-debug.apk from githubb
GitHub - topjohnwu/magisk_files at canary
(Deprecated) Magisk File Host. Contribute to topjohnwu/magisk_files development by creating an account on GitHub.
github.com
2. Uninstall the old magisk and install the app-debug.apk
3. Change update chanel to canary

Still didn't solve the problem, looking for a fix.

Can someone patch the boot image for me because I sure can't.

extract first

Why do you want to patch the magisk?

BryanCp13 said:
Why do you want to patch the magisk?
Click to expand...
Click to collapse
I want to patch the boot image, but I can't so it would be greatful if someone can for me.

Magisk bug, has been fixed a while ago. apologies
Thread can now be closed

LAST_krypton said:
Thread can now be closed
Click to expand...
Click to collapse
Closed on request of OP.

Related

(GUIDE)How to install android p or other gsi image on poco f1

FIRST UNLOCK BOOTLOADER AND FLASH TWRP
2ND install " disable force encryption.zip after that . for video guide go here
and for file go here
3RD DO FACTORY RESET DONT DELETE SYSTEM AND VENDOR
4TH MOUNT SYSTEM AND FLASH ANY GSI IMAGE YOUR CHOICE TO SYSTEM IMAGE PARTIONDONT FLASH ZIP, EXTRACT .IMG FILE AND FLASH
FOR SEMI GSI YOU HAVE TO MOUNT VENDOR THEN FLASH 1,2,3 ZIP
FOR PROOF WATCH THIS VIDEO
Wow man! Someone "ACTUALLY" did it!
I'll try when my f1 arrives
the top corners curves and the margin being small is just killing me :/
But nice work dude
How did you manage to unlock so fast?
1emrys1 said:
How did you manage to unlock so fast?
Click to expand...
Click to collapse
Yeah, how
sankhauaa said:
FIRST UNLOCK BOOTLOADER AND FLASH TWRP
2ND install " disable force encryption.zip after that . for video guide go here
and for file go here
3RD DO FACTORY RESET DONT DELETE SYSTEM AND VENDOR
4TH MOUNT SYSTEM AND FLASH ANY GSI IMAGE YOUR CHOICE TO SYSTEM IMAGE PARTIONDONT FLASH ZIP, EXTRACT .IMG FILE AND FLASH
FOR SEMI GSI YOU HAVE TO MOUNT VENDOR THEN FLASH 1,2,3 ZIP
FOR PROOF WATCH THIS VIDEO
Click to expand...
Click to collapse
How's the experience using a GSI on this phone? What works and what doesn't? Camera usable?
ffh2303 said:
How's the experience using a GSI on this phone? What works and what doesn't? Camera usable?
Click to expand...
Click to collapse
Open camera is working fine.
Almost all working but all GSI have little bug and u have to fixed it manually
Jio volte not working in some gsi
1emrys1 said:
How did you manage to unlock so fast?
Click to expand...
Click to collapse
Ok lets unlock your device within a second
Dont update your phone before this process
First backup your some data like sms call history to mi cloud with sync on ,(see pic in attachment)
Now enable developer option
In this setting u have to check 4 option.dont forget 4 option
Check devoloper option
Check miui unlock(wait mi server read your device)
Check two types of usb debugging
Now download some photo from miui cloud that u just uploaded see sync on and find my device on
Now use mi unlock tool v2.2.406 or other versions u can try
Hope this time u can unlock .dont forget dont update your phone before unlock
Notch support and Jio Volte support for phh treble based ROMs
Can someone make a flashable zip to add notch support to phh treble based ROMs like how it is for mi 8 and can someone make flashable zip to add Jio Volte support for phh treble ROMs any help would be appreciated!
Have a nice day!
I've got mine unlocked fast because I am an old user of xiaomi and i've unlocked my old phone(also xiaomi phone).
Otherwise u've to wait for 720hrs.
Might clear out abit confusion.
sankhauaa said:
FIRST UNLOCK BOOTLOADER AND FLASH TWRP
2ND install " disable force encryption.zip after that . for video guide go here
and for file go here
3RD DO FACTORY RESET DONT DELETE SYSTEM AND VENDOR
4TH MOUNT SYSTEM AND FLASH ANY GSI IMAGE YOUR CHOICE TO SYSTEM IMAGE PARTIONDONT FLASH ZIP, EXTRACT .IMG FILE AND FLASH
FOR SEMI GSI YOU HAVE TO MOUNT VENDOR THEN FLASH 1,2,3 ZIP
FOR PROOF WATCH THIS VIDEO
Click to expand...
Click to collapse
do you flash A or B GSI?
thank you
abihakim said:
do you flash A or B GSI?
thank you
Click to expand...
Click to collapse
A gsi
It shows 57hours waiting time before unlock. I'm on miui version 9.6.18.0.
How can I unlock for sure?
sankhauaa said:
FIRST UNLOCK BOOTLOADER AND FLASH TWRP
2ND install " disable force encryption.zip after that . for video guide go here
and for file go here
3RD DO FACTORY RESET DONT DELETE SYSTEM AND VENDOR
4TH MOUNT SYSTEM AND FLASH ANY GSI IMAGE YOUR CHOICE TO SYSTEM IMAGE PARTIONDONT FLASH ZIP, EXTRACT .IMG FILE AND FLASH
FOR SEMI GSI YOU HAVE TO MOUNT VENDOR THEN FLASH 1,2,3 ZIP
FOR PROOF WATCH THIS VIDEO
Click to expand...
Click to collapse
Hi, I'm quite new here and while I have a general understanding of what you say here, I'm not sure I could follow those instructions without bricking my device by overlooking something or just basic newbie stupidity... Could you make a more detailed guide, please?
PocoSteve said:
Hi, I'm quite new here and while I have a general understanding of what you say here, I'm not sure I could follow those instructions without bricking my device by overlooking something or just basic newbie stupidity... Could you make a more detailed guide, please?
Click to expand...
Click to collapse
after unlock ur device flash twrp then post here i will help you
Pranay nagavolu said:
It shows 57hours waiting time before unlock. I'm on miui version 9.6.18.0.
How can I unlock for sure?
Click to expand...
Click to collapse
you r lucky then not 72 only 57
sankhauaa said:
you r lucky then not 72 only 57
Click to expand...
Click to collapse
Lol
Should we disable force encryption if we want to flash Magisk ?
Hi,
Any place where GSI ROMs are listed ?
That would also be a nice addition to XDA I think
Regards.

[Guide] How to get rid of force encryption/dm-verity on Huawei MediaPad T3 10 (AGS-W0

I was frustrated by the huawei encryption and decided to get rid of it once and for all.
At first I faced many bootloops but i finally figured out what was going on. Formatting user data through TWRP is not enough because after booting the device, encryption is still there. This happens because the kernel encrypts the device when booting up. Simply modifying the boot.img file to remove file encryption also doesn't work because you still boot into an already encrypted stock user data. So the answer was pretty obvious by now.
The trick is to format data using TWRP AND THEN boot to bootloader to flash a modified boot without encryption. So let's get to it.
How to create a modified boot.img without file encryption/dm-verity
1. Find and download your current firmware from Huawei Firmware Finder Dtabase (Team MT), or from a source that you trust. (Using a firmware with different cust version or a different update will most likely not work).
2. Download Huawei Update Extractor and use it to extract the stock boot.img file from UPDATE.APP
3. Download ASSAYYED_KITCHEN.
4. Place your stock boot.img file in the "WORK" folder of ASSAYYED_KITCHEN.
5. Launch ASSAYYED and select the 12th option (KERNEL/RECOVERY MENU) and then the 1st one (Unpacking Kernel).
6. The ASSAYYED options don't work for me so i did it manually. Go to your work folder and open the folder boot_unpacked\ramdisk.
7. You will see a file named "fstab.qcom", open it using WordPad.
8. Find the line:
Code:
/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,discard,inline_data,inline_xattr wait,check,fileencryption
and delete ",fileencryption".It should now look like that:
Code:
/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,discard,inline_data,inline_xattr wait,check
9. (This step is optional,follow it only if you also want dm-verity removed) Use the same method to remove dm-verity.
Code:
/dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1 wait, verify
/dev/block/bootdevice/by-name/vendor /vendor ext4 ro,barrier=1 wait, verify
/dev/block/bootdevice/by-name/product /product ext4 ro,barrier=1 wait, verify
(Just delete the ",verify" part.)
10. Save the file.
11. Launch ASSAYYED and select the 12th option (KERNEL/RECOVERY MENU) and then the 2nd one (Packing Kernel).
12. Follow the instructions below to properly flash your modified boot.img and get rid of encryption.
Removing file encryption/dm-verity from the device
1. Unlock your device.
2. Flash this TWRP on AGS-W09 or the appropriate custom recovery for your device.
3. Boot to TWRP and FORMAT user data (note that it is very important to format data and not just wipe it). •WARNING• this will delete all your data!
4. Go back to the reboot menu of TWRP and select reboot booloader (it's important to not allow your device to boot into system yet).
5. Using fastboot, flash your modified boot.img that you created earlier.
6. Reboot your device (you might get a bootloop on the first boot but force rebooting your device again by holding the power button will fix that).
7. After booting up, your device should not be encrypted anymore.
8. You can now use the root method that you like to root your device and internal storage should be visible on TWRP. TWRP backup should also work normally.
How to fix Magisk modules not showing up on Magisk Manager (! /data/adb/magisk_merge.img mount failed error)
I am not going to get into the technical staff you can find more info here
Edit: As of Magisk 19.0, the following method becomes obsolete. Magisk modules should now work as expected without issues. This method now concerns those who want to stick to an older version of Magisk
1. Download f2fsfix-2018.9.2.zip provided by VR25 on the thread above.
2. Download all the magisk modules that you need to flash and place them on your device.
3. Download the latest Magisk uninstaller along with the latest installer.
4. Boot to TWRP and flash Magisk uninstaller. (If you don't have Magisk already installed, skip this step)
5. Wipe Davlik Cache.
6. Install the latest Magisk.
7. Wipe Davlik Cache.
8. Flash the "f2fsfix-2018.9.2.zip" immediately followed by your modules.
9. Reboot (it should take more than usual).
10. Open Magisk Manager and check your Modules. Hopefully they'll show as installed and function correctly.
Note: This method should also work on similar devices. Just make sure you know how to recover your device in case something goes wrong.
I can confirm this worked for me. I was able to run a full nandroid, but haven't tried to restore. Wasn't running any magisk modules, so haven't tried that part of the guide. Flashed Xposed in TRWP and installed greenify, etc Seems to be working. So far no errors. Be warned, this is like a restore. You'll be starting from scratch again.
Also thanks for the boot image trick Thanostsak. I couldn't find stock fimware for my version (AGS-L03) anywhere. He suggested to use the Magisk's boot image backup. Worked like a charm. Still looking for AGS-L03 stock if anyone has one, knows where to get one please post!
TRS_80 said:
I can confirm this worked for me. I was able to run a full nandroid, but haven't tried to restore. Wasn't running any magisk modules, so haven't tried that part of the guide. Flashed Xposed in TRWP and installed greenify, etc Seems to be working. So far no errors. Be warned, this is like a restore. You'll be starting from scratch again.
Also thanks for the boot image trick Thanostsak. I couldn't find stock fimware for my version (AGS-L03) anywhere. He suggested to use the Magisk's boot image backup. Worked like a charm. Still looking for AGS-L03 stock if anyone has one, knows where to get one please post!
Click to expand...
Click to collapse
Glad it worked for you. Yes this is the downside. The device already comes with an encrypted userdata, so it needs to be formatted. So anything you do before that becomes obsolete. That's why this procedure is much more convenient when it happens after the unlock,when the userdata is wiped by the stock recovery to get a stock condition.
AGS-L09 LTE
I just followed your detailed guide to my tablet and finished all the processes perfectly.
Working..Twrp, Magisk, removed encryption & verify from boot.img and from Data successfully.
A big THANKS for your guide, links and trick all in one post!!!!.
Thanks for the info.
I am new to android (but have jailbroken iOS for years).
I have received a Huawei MediaPad T3 AGS-W09 (AGS-W09C100B278) today.
I have managed to unlock and install TWRP 3.2.1 but also want to install SuperSU, but of course the filesystem is encrypted, which brings me here.
I have searched all over for Huawei MediaPad T3 AGS-W09 (AGS-W09C100B278) firmware which contains boot.img but cannot find it. Even the rom on the AGS-W09 thread on this forum doesnt contain the .img file. Am I missing something ?
Any help is appreciated.
Thanks again
mr_fingy said:
Thanks for the info.
I am new to android (but have jailbroken iOS for years).
I have received a Huawei MediaPad T3 AGS-W09 (AGS-W09C100B278) today.
I have managed to unlock and install TWRP 3.2.1 but also want to install SuperSU, but of course the filesystem is encrypted, which brings me here.
I have searched all over for Huawei MediaPad T3 AGS-W09 (AGS-W09C100B278) firmware which contains boot.img but cannot find it. Even the rom on the AGS-W09 thread on this forum doesnt contain the .img file. Am I missing something ?
Any help is appreciated.
Thanks again
Click to expand...
Click to collapse
I strongly suggest using Magisk to root your device instead of SuperSU. The good thing about Magisk is that everything happens systemlessly, so it doesn't matter if the kernel is encrypted in order of it to work. If you still want to use SuperSU though, my guide should provide all the info you need.
To answer your question you can find two OTA firmware updates for your device here. If that doesn't work (if the OTA updates don't include the boot.img file ) i will let you know how to use magisk to get a copy of your current boot.img
Thanostsak said:
I strongly suggest using Magisk to root your device instead of SuperSU. The good thing about Magisk is that everything happens systemlessly, so it doesn't matter if the kernel is encrypted in order of it to work. If you still want to use SuperSU though, my guide should provide all the info you need.
To answer your question you can find two OTA firmware updates for your device . If that doesn't work (if the OTA updates don't include the boot.img file ) i will let you know how to use magisk to get a copy of your current boot.img
Click to expand...
Click to collapse
Thanks for the info.
I have been looking down the Magisk avenue too.
My plan is, decrypt is then root it.
I did download those firmware files earlier but as you say, no .img files.
I have tried to follow a guide on youtube from rootjunky but got as far as running the info gathering piece to gather mount points, but it fell over. Don;t know if thats because I was using adb sideloading via TWRP .. ?
I attempted to run the commands from the batch file direct but no joy.
It would be really appreciated if you could point me to a guide to extract the img. It's my day 1 of this device and Android (already voided warranty from Amazon within 1 hour ha) but as I say, I have experience in most of what is needed from my iOS jailbreaking and bringing phones back from bootloops and the brink of bricks.
When you mention rooting with Magisk .. Can that be achieved in the state my device is in now, which is TWRP'd but encrypted ?
I also notice the "Ultimate Backup Tool, No Root Required" thread (cant put URL's yet as I'm a n00b member). Could that export my boot.img ?
I am done for today. I am working from home and it the device got delivered at 9:30 ish. I was hacking around with it all day and did about 20 min work. I'm fried now :-O
Thanks again
mr_fingy said:
Thanks for the info.
I have been looking down the Magisk avenue too.
My plan is, decrypt is then root it.
I did download those firmware files earlier but as you say, no .img files.
I have tried to follow a guide on youtube from rootjunky but got as far as running the info gathering piece to gather mount points, but it fell over. Don;t know if thats because I was using adb sideloading via TWRP .. ?
I attempted to run the commands from the batch file direct but no joy.
It would be really appreciated if you could point me to a guide to extract the img. It's my day 1 of this device and Android (already voided warranty from Amazon within 1 hour ha) but as I say, I have experience in most of what is needed from my iOS jailbreaking and bringing phones back from bootloops and the brink of bricks.
When you mention rooting with Magisk .. Can that be achieved in the state my device is in now, which is TWRP'd but encrypted ?
I also notice the "Ultimate Backup Tool, No Root Required" thread (cant put URL's yet as I'm a n00b member). Could that export my boot.img ?
I am done for today. I am working from home and it the device got delivered at 9:30 ish. I was hacking around with it all day and did about 20 min work. I'm fried now :-O
Thanks again
Click to expand...
Click to collapse
I get what you are saying. Going from iOS to android is a big step. Since the firmware files don't contain the boot.img and having in mind that you want to decrypt, getting a boot.img file is a must.
There are ways to get the boot.img without root but the ones i tried don't work. But there is an easy way that i know of that requires installing Magisk. When you flash Magisk from TWRP it roots your device. However, apart from rooting it also creates a backup of your boot.img in case something goes wrong.
Decrypting requires formatting your device, so Magisk will be removed too. So its only purpose for now is to provide you with a boot.img file.
Here is what you need to do
1. Download the latest magisk installer from the magisk threat
2. Save the file in your SD card (internal storage is encrypted)
3. Flash the Magisk installer from TWRP
4. Boot your device and navigate to /data
5. There should be a stock boot_xxx.img.gs file in there. Copy it to your storage, move it to a computer and extract it. You should get a boot.img file that you could use to decrypt.
6. Follow my guide to decrypt the boot.img and then flash it from bootloader
7. Since your device is now formatted from the decryption, you can choose the root method that you like.
Thanostsak said:
I get what you are saying. Going from iOS to android is a big step. Since the firmware files don't contain the boot.img and having in mind that you want to decrypt, getting a boot.img file is a must.
There are ways to get the boot.img without root but the ones i tried don't work. But there is an easy way that i know of that requires installing Magisk. When you flash Magisk from TWRP it roots your device. However, apart from rooting it also creates a backup of your boot.img in case something goes wrong.
Decrypting requires formatting your device, so Magisk will be removed too. So its only purpose for now is to provide you with a boot.img file.
Here is what you need to do
1. Download the latest magisk installer from the magisk threat
2. Save the file in your SD card (internal storage is encrypted)
3. Flash the Magisk installer from TWRP
4. Boot your device and navigate to /data
5. There should be a stock boot_xxx.img.gs file in there. Copy it to your storage, move it to a computer and extract it. You should get a boot.img file that you could use to decrypt.
6. Follow my guide to decrypt the boot.img and then flash it from bootloader
7. Since your device is now formatted from the decryption, you can choose the root method that you like.
Click to expand...
Click to collapse
Makes total sense. I just installed Magisk now from SD, thing is, the only spare SD I had was 128MB !! So I dont know if the .img was saved correctly. I will look into it tomorrow. My other large SD is corrupted but I have a 32GB one in the dashcam I will use tomorrow.
That leads me to a question. Is the auto created .img saved on the card or the internal storage ? I am assuming its card but I could not see it.
Will look more tomorrow.
Thanks
mr_fingy said:
Makes total sense. I just installed Magisk now from SD, thing is, the only spare SD I had was 128MB !! So I dont know if the .img was saved correctly. I will look into it tomorrow. My other large SD is corrupted but I have a 32GB one in the dashcam I will use tomorrow.
That leads me to a question. Is the auto created .img saved on the card or the internal storage ? I am assuming its card but I could not see it.
Will look more tomorrow.
Thanks
Click to expand...
Click to collapse
It is actually on the internal storage. Now that you are rooted you can use a root file explorer to get it. (128mb should be enough for this task)
Thanostsak said:
It is actually on the internal storage. Now that you are rooted you can use a root file explorer to get it. (128mb should be enough for this task)
Click to expand...
Click to collapse
On it now before work
Extracted stock_boot_(IDremoved).img.gz which contains the img
Will run your guide against this img
---------- Post added at 09:20 AM ---------- Previous post was at 08:33 AM ----------
All done. Nice and easy
No issues other than sweaty palms on Huawei long boot screen after flash :silly:
No reboot loop and no Magisk errors
Much appreciated for the help
Correction,
Magisk is giving the the errors when installing modules.
Followed your guide and all good
mr_fingy said:
Correction,
Magisk is giving the the errors when installing modules.
Followed your guide and all good
Click to expand...
Click to collapse
Great! If you need anything feel free to ask.
Well... I followed your steps to remove force encryption and install Magisk, everything seems to be perfect. The Magisk and modules are funtional. However after reboot all modules are dispeared, but magisk is still recognized by magisk manager. I don't know where is the problem...
Model: AGS-W09
f2sffix version: 2018.10.9
magisk version: 17.2 (At first I used the latest 18.0 version, but after this problem appeared, I noticed that f2sffix-20181009 only support magisk version 17.2 or older, so I retry your method with magisk 17.2, but the problem remains.)
TimYuan said:
Well... I followed your steps to remove force encryption and install Magisk, everything seems to be perfect. The Magisk and modules are funtional. However after reboot all modules are dispeared, but magisk is still recognized by magisk manager. I don't know where is the problem...
Model: AGS-W09
f2sffix version: 2018.10.9
magisk version: 17.2 (At first I used the latest 18.0 version, but after this problem appeared, I noticed that f2sffix-20181009 only support magisk version 17.2 or older, so I retry your method with magisk 17.2, but the problem remains.)
Click to expand...
Click to collapse
You should use the latest version of f2sffix (10.9) and then follow the procedure again. After your first boot follow VR25's recommendation and you should be good to go.
VR25 said:
Those getting everything broken after a second reboot, try the following workaround...
After the first reboot (right after installing), remove </sbin/.core/img/f2fs*bla*bla/service.sh>, </data/adb/magisk_merge.img> and </cache/magisk_merge_.img>.
Note that after doing this, you'll only be able to install modules and update Magisk from TWRP.
Click to expand...
Click to collapse
Thanostsak said:
You should use the latest version of f2sffix (10.9) and then follow the procedure again. After your first boot follow VR25's recommendation and you should be good to go.
Click to expand...
Click to collapse
It works!!! You are my hero!
TimYuan said:
It works!!! You are my hero!
Click to expand...
Click to collapse
Glad it worked for you.
Kudos to VR25 for making this amazing module even though he is not personally benefited by it.
Thanostsak said:
Glad it worked for you.
Kudos to VR25 for making this amazing module even though he is not personally benefited by it.
Click to expand...
Click to collapse
what if there is no fstab.qcom in kernel but stored in vendor/etc partition?
i've already edited the fstab, but still my system partition become ro (read only) when i made a change in system. all file manager error even previously has root.
please take a look at attachment . thanks in advance
an-_-dro said:
what if there is no fstab.qcom in kernel but stored in vendor/etc partition?
i've already edited the fstab, but still my system partition become ro (read only) when i made a change in system. all file manager error even previously has root.
please take a look at attachment . thanks in advance
Click to expand...
Click to collapse
I believe that what you are missing is after changing forceencrypt=footer into encryptable=footer you should also do a full data format through TWRP.
Thanostsak said:
I believe that what you are missing is after changing forceencrypt=footer into encryptable=footer you should also do a full data format through TWRP.
Click to expand...
Click to collapse
encryption is not a problem. since the first place already done with that data partition.
my problem is system partition, every time i made a change to system (for example deleting chrome.apk), something triggered that makes my system weird (magisk forceclose, all file manager become malfunction because system become read only). something lock my system partition if system change.
i thought change fstab.qcom <mnt_flags and options> ro,errors=panic to >> errors=continue (deleting ro/read only) will change my system behaviour, but it's not

August Security Patch Rolling Out

[Global] Mi A2 Lite V11.0.10.0.QDLMIXM rolling out!

			
				
Wow. That's gotta be some kind of record for Xiaomi
Mine is only 13M though. Must be a tiny update.
Wow! First time ever that this Android One device is actually up to date security wise.
Yes, from July update only 13MB.
Maybe it was there before, but after updating I noticed a native screen recorder icon.
Updated: It is not native. I have a screen recorder app installed.
Direct share not yet available.
penahj said:
Maybe it was there before, but after updating I notice a native screen recorder icon
Click to expand...
Click to collapse
strange i dont have this one and never had screen recording option
Antho02 said:
strange i dont have this one and never had screen recording option
Click to expand...
Click to collapse
You are right. It's not a native app. I have a screen recordering app installed. Sorry for the wrong news.
Does someone know how to install an OTA Update without using the System Update App? It always says Installation Problem. Installation failed.
I'm rooted with magisk, that's the reason i guess.
I found the 13mb Update as a zip file, but it's not flashable via twrp... Any Suggestions?
Best regards
Alex
Alibabara said:
Does someone know how to install an OTA Update without using the System Update App? It always says Installation Problem. Installation failed.
I'm rooted with magisk, that's the reason i guess.
I found the 13mb Update as a zip file, but it's not flashable via twrp... Any Suggestions?
Best regards
Alex
Click to expand...
Click to collapse
+1 I am also looking for this
Alibabara said:
Does someone know how to install an OTA Update without using the System Update App? It always says Installation Problem. Installation failed.
I'm rooted with magisk, that's the reason i guess.
I found the 13mb Update as a zip file, but it's not flashable via twrp... Any Suggestions?
Best regards
Alex
Click to expand...
Click to collapse
with twrp/magisk i always do
1-xiaomiflash rom (keep user files)
2-boot and install twrp
3-boot and install magisk
no problem this way
Antho02 said:
with twrp/magisk i always do
1-xiaomiflash rom (keep user files)
2-boot and install twrp
3-boot and install magisk
no problem this way
Click to expand...
Click to collapse
So you Flash the whole Rom (~1.2gb) and not just the Update?
I would like to find a way to Flash just the Update since your method is taking too long for me...
Best regards
Alex
If you only have Magisk, the standard process should work for you.
https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-proper-support-ota-t3836952
If it's not working and you have somehow modified some other partition, it will be written to the logcat.
adb logcat | grep update_engine
My Problem is, even with magisk 'uninstalled' the Update App from xiaomi still says 'Installation failed: Installation Problem'
That even happens with totally Stock rom, no root and no twrp.
I dont know why. But is there any other way to Update manually without flashing the whole Big Rom file? Just the Update file...
There must be a reason why there is an update file in zip Format which is 13mb Big.
Best regards
Alex
Alibabara said:
My Problem is, even with magisk 'uninstalled' the Update App from xiaomi still says 'Installation failed: Installation Problem'
That even happens with totally Stock rom, no root and no twrp.
I dont know why. But is there any other way to Update manually without flashing the whole Big Rom file? Just the Update file...
There must be a reason why there is an update file in zip Format which is 13mb Big.
Best regards
Alex
Click to expand...
Click to collapse
Alex, You don't have to flash the whole big rom file, but you do have to download it though. You can get it from here: https://mirom.ezbox.idv.tw/en/phone/daisy/roms-global-stable/
You then have to extract the files that you need with payload_dumper which you get from here:
https://androidfilehost.com/?fid=818070582850510260
NB that is the Windows 64bit version so make sure that is the OS your pc is using.
You then have to find which partition it is that is causing the problem for which you have to use a1291762's advice:
Code:
adb logcat | grep update_engine
and read very carefully through the results because the offending entry will be difficult to spot amongst the dozens of others.
You then flash the partition mentioned in the logcat. For example if 'system' is mentioned in the logcat as having an incorrect hash (that is always the reason for the failures) you would have to extract 'system.img' with payload_dumper and run
Code:
fastboot flash system system.img
Then try the update again. If it works you will also probably have to reinstall Magisk from scratch again as flashing system will probably remove it.
Yes it is complicated - far too complicated, but the simple measure you call for - just flash an update file - has, to the best of my knowledge never been possible, so there must be some reason why that is so, but I don't know what it is.
Incidentally, the reason I am able to respond to this question is that I had a torrid time yesterday trying to update my A2 lite on which I had not one, but 3 errors. aboot hash incorrect, system hash incorrect, and before any of that the normal Magisk uninstall told me it had no images to restore and so had to be uninstalled completely. It took me hours and it wasn't that much fun.
Alibabara said:
There must be a reason why there is an update file in zip Format which is 13mb Big.
Click to expand...
Click to collapse
The update is only 13M because it contains only changes. But for that to work, your partitions must be unmodified.
The larger update zip has complete partitions so it can work even if you have changes. You may be able to do the recovery update method with that file...
The even larger fastboot image has every partition.
thanks everyone for the help!
I did it as you said viking777 and it worked.
It's sad, that for an 13mb update this procedure is necessary, but thats how it is..
So thanks again everyone for the help
Antho02 said:
with twrp/magisk i always do
1-xiaomiflash rom (keep user files)
2-boot and install twrp
3-boot and install magisk
no problem this way
Click to expand...
Click to collapse
Can I do this with out installing TWRP as I haven't installed it already.
Aadil Gillani said:
Can I do this with out installing TWRP as I haven't installed it already.
Click to expand...
Click to collapse
sure, even more quick if u dont need twrp
flash last rom with xiaomi flash (save user data selected)
then boot patched.img and install magisk, less than 10 mins and no need to worries about uninstall magisk or any mod before
Antho02 said:
sure, even more quick if u dont need twrp
flash last rom with xiaomi flash (save user data selected)
then boot patched.img and install magisk, less than 10 mins and no need to worries about uninstall magisk or any mod before
Click to expand...
Click to collapse
I have some questions it would be a be a pleasure if you could answer.
Q1 will the modules remain or not ?
Q2 how to make make patched boot img I mean should I make my self using Magisk Manager app
Q3 Also which TWRP do you use and if it has any problems
Q4 should I use zip file or tgz for mi flash

Lg v20 drivers gpu v5 490 lineage 18 erro twrp

i have h910 when trying to install gpu drivers by twrp i get a vendor error and i can't enable emount
Just use the Magisk module...
iTzFeRReTTi said:
Just use the Magisk module...
Click to expand...
Click to collapse
by magisk causes bugs and is not 100℅, google play starts from error and the system bugs in lineage 18
I'm using v0490.0 with Vulkan 1.1.128 without any issues with the module...
iTzFeRReTTi said:
I'm using v0490.0 with Vulkan 1.1.128 without any issues with the module...
Click to expand...
Click to collapse
Do you use this module on Crdroid or Lineage 18.1 ?
sajadzarepour said:
Do you use this module on Crdroid or Lineage 18.1 ?
Click to expand...
Click to collapse
Works on both.
iTzFeRReTTi said:
Works on both.
Click to expand...
Click to collapse
after you installed the module did you do any cleaning? have a clean gpu file if you used this for twrp?
Where is driver link for los18 ?
sajadzarepour said:
Where is driver link for los18 ?
Click to expand...
Click to collapse
v5.5 ([email protected]) - Google Drive
drive.google.com
rafrgt said:
i have h910 when trying to install gpu drivers by twrp i get a vendor error and i can't enable emount
Click to expand...
Click to collapse
if you cant mount you have to flash the boot partition again.
get the boot.img file from your rom, put it in phone, open magisk and go for patch boot file, select boot.img, it will creat a new file, like patched_boot.img, flash it in recovery. now /vendor error is fixed.
now, what is this driver? what does it do?
hamid_valad said:
if you cant mount you have to flash the boot partition again.
get the boot.img file from your rom, put it in phone, open magisk and go for patch boot file, select boot.img, it will creat a new file, like patched_boot.img, flash it in recovery. now /vendor error is fixed.
now, what is this driver? what does it do?
Click to expand...
Click to collapse
have you tested this? is gpu drivers, by magisk causes bugs in apps could you make a video to see if it works?
rafrgt said:
have you tested this? is gpu drivers, by magisk causes bugs in apps could you make a video to see if it works?
Click to expand...
Click to collapse
nope. i don't even know what this driver is!!!!
I just read that you have /vendor issue, and since i had the same issue (different reason) i thought i may tell you the work around.
hamid_valad said:
nope. i don't even know what this driver is!!!!
I just read that you have /vendor issue, and since i had the same issue (different reason) i thought i may tell you the work around.
Click to expand...
Click to collapse
I did here by magisk and error in my recovery I had to reinstall

magisk KB2005_11_c.21 ?

hey i have op 8t devices rooted but i dont have magisk
there is option to install magisk if my version is KB2005_11_c.21?
I dont find any img file :/
thx for helping
Did you look in the 8T Guides etc forum?
Look at this thread in that forum https://forum.xda-developers.com/t/11c21-kb2005-stock-boot.4461111/
And if you had read the pinned post in that forum you could have used option A.1.1 to get a copy yourself https://forum.xda-developers.com/t/guide-root-and-keeping-root-options.4387977/
BillGoss said:
Did you look in the 8T Guides etc forum?
Look at this thread in that forum https://forum.xda-developers.com/t/11c21-kb2005-stock-boot.4461111/
And if you had read the pinned post in that forum you could have used option A.1.1 to get a copy yourself https://forum.xda-developers.com/t/guide-root-and-keeping-root-options.4387977/
Click to expand...
Click to collapse
I need to download the img file and then install it with adb?
Or install it with magisk?
Grigiac said:
I need to download the img file and then install it with adb?
Or install it with magisk?
Click to expand...
Click to collapse
Read the instructions carefully - they walk you through the process step by step. If you get stuck on a specific step, ask for clarification, but quote the step you're having problems with.

Categories

Resources