Related
Why does the boot.img have to be present in the .zip file? I take the boot.img out of the zip file and
fastboot flash boot boot.img
Click to expand...
Click to collapse
it anyway, so why is it in the zip file?
Is the boot.img by the way the kernel?
zettez said:
Why does the boot.img have to be present in the .zip file? I take the boot.img out of the zip file and
it anyway, so why is it in the zip file?
Is the boot.img by the way the kernel?
Click to expand...
Click to collapse
Boot.img is inside zip because same source build sripts are used for devices with s-off. So...on s-off devices U only have to flash rom.zip and it's installing boot.img also.
icke said:
Boot.img is inside zip because same source build sripts are used for devices with s-off. So...on s-off devices U only have to flash rom.zip and it's installing boot.img also.
Click to expand...
Click to collapse
And because my One X has s-on that means I have to install the contents of the zip first and then flash because of the s-on security preventing installation from within the zip file?
zettez said:
And because my One X has s-on that means I have to install the contents of the zip first and then flash because of the s-on security preventing installation from within the zip file?
Click to expand...
Click to collapse
That's right...as long as your bootloader is saying s-on u've to flash boot.img via fastboot.
icke said:
That's right...as long as your bootloader is saying s-on u've to flash boot.img via fastboot.
Click to expand...
Click to collapse
So I could basically just make a zip file with the manifest and system folder and exclude the boot.img from there?
zettez said:
So I could basically just make a zip file with the manifest and system folder and exclude the boot.img from there?
Click to expand...
Click to collapse
What is the target to doing this? What are U meaning with "just make a zip file"?
zettez said:
So I could basically just make a zip file with the manifest and system folder and exclude the boot.img from there?
Click to expand...
Click to collapse
You cant 'just make' a zip file.. you would have to repack and sign the zip again. Better would be that the boot.img stays where it is.
Sent from my unlocked HTC One X using XDA premium.
icke said:
What is the target to doing this? What are U meaning with "just make a zip file"?
Click to expand...
Click to collapse
Based on our conversation I have come to this conclusion.
S-OFF: You need not use fastboot to flash a boot.img. When you install a ROM from a zip file it will automatically take the boot.img and put it in the right place.
S-ON: You need to use fastboot to flash a boot.img. When you install a ROM from a zip it will not install the boot.img because it is protected by the system (read-only or something) and you then need to implement one more step, the
fasboot flash boot boot.img
Click to expand...
Click to collapse
code. What I wanted to confirm is if I have an S-ON phone I need not have the boot.img in the zip file? I can just flash it after I have installed the manifest/system folder from the zip file?
anks257 said:
You cant 'just make' a zip file.. you would have to repack and sign the zip again. Better would be that the boot.img stays where it is.
Click to expand...
Click to collapse
But is it possible on an S-ON phone to skip the boot.img in the zip file and only go with the manifest and system folder?
Yes, you could delete the boot.img from the zip file if you really wanted. It won't make any difference as it isn't being written anyway (you might also want to modify the updater script so it's not referencing something you've removed).
10.5.10.IN11BA (European version):
I dumped the boot.img with payload dumper from the "OnePlus8ProOxygen_15.E.19_OTA_019_all_2007021957_d0064.zip" file and patched it with magisk
Note: This is for the European variant of version 10.5.10(.IN11BA)
Download links:
boot.img: https://drive.google.com/file/d/1q9BP31PO6tELbTR-4bWD8pP19_g_VSU0/view?usp=sharing
patched boot.img: https://drive.google.com/file/d/1peDOwsvoUVIoEkp8WZ3jGoRvyqd46MOo/view?usp=sharing
You can use these files to root your OP8Pro with the following guide: https://forum.xda-developers.com/oneplus-8-pro/how-to/guide-how-to-root-oneplus-8-pro-twrp-t4083981
10.5.10.IN11AA (global version):
I dumped the boot.img with payload dumper from the "OnePlus8ProOxygen_15.O.19_OTA_019_all_2005301411_63c531a1a94a4fc1.zip" file, you'll have to patch it yourself with magisk
Here is the boot.img file for 10.5.10.IN11AA : https://gofile.io/d/yavZRg
You can patch it using the following steps (source: Magisk github)
Copy the boot.img file to your device
Download and install the latest Magisk Manager
Press Install → Install → Select and Patch a File, and select your stock boot.img file
Magisk Manager will patch the image, and store it in [Internal Storage]/Download/magisk_patched.img
Copy the patched image from your device to your PC. (If you can’t find it via MTP, you can pull the file with ADB:
adb pull /sdcard/Download/magisk_patched.img)
Flash the patched boot image to your device with adb:
Code:
fastboot flash boot /path/to/magisk_patched.img
reboot
Please give me feedback if it worked or not
Hello, Thanks for this work. Just a beginner's question, I suppose you must already have an unlocked bootloader to use your files.
vigneras said:
Hello, Thanks for this work. Just a beginner's question, I suppose you must already have an unlocked bootloader to use your files.
Click to expand...
Click to collapse
Yes of course.
Is this patched with magisk 20.4,not magisk canary? And fingerprint sensor works after that?
Thanks, I would come back after unlocking the bootloader
janitor9 said:
Yes of course.
Is this patched with magisk 20.4,not magisk canary? And fingerprint sensor works after that?
Click to expand...
Click to collapse
Yes indeed, patched with 20.4 and fingerprint works fine. I recommend backing up the persist.img just to be sure
Hey brother, any chance of patching 10.5.10AA? Thank you in advance. Cheers
Sent from my IN2025 using Tapatalk
rawhide85 said:
Hey brother, any chance of patching 10.5.10AA? Thank you in advance. Cheers
Sent from my IN2025 using Tapatalk
Click to expand...
Click to collapse
Here is the boot.img file for 10.5.10.IN11AA : https://gofile.io/d/yavZRg
You can patch it using the following steps (source: Magisk github)
Copy the boot.img file to your device
Download and install the latest Magisk Manager
Press Install → Install → Select and Patch a File, and select your stock boot.img file
Magisk Manager will patch the image, and store it in [Internal Storage]/Download/magisk_patched.img
Copy the patched image from your device to your PC. (If you can’t find it via MTP, you can pull the file with ADB:
adb pull /sdcard/Download/magisk_patched.img)
Flash the patched boot image to your device with adb:
Code:
fastboot flash boot /path/to/magisk_patched.img
reboot
Unable to boot from patched image. Unable to boot from normal boot patched with magisk ... as a hole - no root with 10.5.10BA
Can someone suggest solution?
Lucifer4o said:
Unable to boot from patched image. Unable to boot from normal boot patched with magisk ... as a hole - no root with 10.5.10BA
Can someone suggest solution?
Click to expand...
Click to collapse
Boot the twrp and flash magisk
cultofluna said:
Boot the twrp and flash magisk
Click to expand...
Click to collapse
Same result - boot loop.
Does anyone have the stock boot.img for the Global version of 10.5.10? For the IN2017 OnePlus 8. IN21AA.
10.5.11 EU Patched pls ??
alxioa said:
10.5.11 EU Patched pls ??
Click to expand...
Click to collapse
Found it here:
https://forum.xda-developers.com/showpost.php?p=83137417&postcount=424
Flying Fox said:
Found it here:
https://forum.xda-developers.com/showpost.php?p=83137417&postcount=424
Click to expand...
Click to collapse
Thanks my friend
hi, sadly the payload unzip doesn't work on my computer. I am urgently looking for the boot.img for 10.5.10.IN21BA. Can anyone help me? i can't find it on the net.
Hey everyone, I'm trying to root my Xiaomi Mi a2 lite without twrp since, if i understand correctly, it needs the data partition to be formatted as it cant decrypt it, and I don't really need it anyway. I wanted to use Magisk manager to patch a boot image and flash it to get root, but the app explicitly asks for .img files. I've been looking everywhere and I can only find zip archives or .tgz files of my firmware. I'd appreciate any help, and btw my build number is 11.0.21.0
Ame76 said:
Hey everyone, I'm trying to root my Xiaomi Mi a2 lite without twrp since, if i understand correctly, it needs the data partition to be formatted as it cant decrypt it, and I don't really need it anyway. I wanted to use Magisk manager to patch a boot image and flash it to get root, but the app explicitly asks for .img files. I've been looking everywhere and I can only find zip archives or .tgz files of my firmware. I'd appreciate any help, and btw my build number is 11.0.21.0
Click to expand...
Click to collapse
A TGZ file is a TAR Archive file that has been compressed using Gnu Zip (gzip).
You can uncompress tgz files using 7-zip:
7-Zip
7-zip.org
VD171 said:
A TGZ file is a TAR Archive file that has been compressed using Gnu Zip (gzip).
You can uncompress tgz files using 7-zip:
7-Zip
7-zip.org
Click to expand...
Click to collapse
oooh thank you so much, feeling pretty stupid rn
Obviously, first you need unlocked bootloader, or your device will get bricked.
1. Download the full stock rom.
2. Extract these two files: boot.img and vbmeta.img.
3. COMPRESS those two files to TAR. (Attention: TAR and NOT tgz.)
4. Open the magisk app and click on "install to file".
5. Select the COMPRESSED TAR file and wait until it finish.
6. Open the folder "Downloads" and uncompress the file magisk_patched.tar to get the patched boot.img and the patched vbmeta.img.
7. Flash the patched boot.img and the patched vbmeta.img. (You need to flash patched vbmeta because vbmeta verifies if any partition was changed.)
Done, you are rooted.
Warning: magisk app will ignore if you try to patch ONLY the vbmeta.img, you need to patch vbmeta.img together boot.img compressed in only one file.
You can use 7-Zip: https://7-zip.org
VD171 said:
Obviously, first you need unlocked bootloader, or your device will get bricked.
1. Download the full stock rom.
2. Extract these two files: boot.img and vbmeta.img.
3. COMPRESS those two files to TAR. (Attention: TAR and NOT tgz.)
4. Open the magisk app and click on "install to file".
5. Select the COMPRESSED TAR file and wait until it finish.
6. Open the folder "Downloads" and uncompress the file magisk_patched.tar to get the patched boot.img and the patched vbmeta.img.
7. Flash the patched boot.img and the patched vbmeta.img. (You need to flash patched vbmeta because vbmeta verifies if any partition was changed.)
Done, you are rooted.
Warning: magisk app will ignore if you try to patch ONLY the vbmeta.img, you need to patch vbmeta.img together boot.img compressed in only one file.
You can use 7-Zip: https://7-zip.org
Click to expand...
Click to collapse
thanks dude, you're really helping me out with this
VD171 said:
Obviously, first you need unlocked bootloader, or your device will get bricked.
1. Download the full stock rom.
2. Extract these two files: boot.img and vbmeta.img.
3. COMPRESS those two files to TAR. (Attention: TAR and NOT tgz.)
4. Open the magisk app and click on "install to file".
5. Select the COMPRESSED TAR file and wait until it finish.
6. Open the folder "Downloads" and uncompress the file magisk_patched.tar to get the patched boot.img and the patched vbmeta.img.
7. Flash the patched boot.img and the patched vbmeta.img. (You need to flash patched vbmeta because vbmeta verifies if any partition was changed.)
Done, you are rooted.
Warning: magisk app will ignore if you try to patch ONLY the vbmeta.img, you need to patch vbmeta.img together boot.img compressed in only one file.
You can use 7-Zip: https://7-zip.org
Click to expand...
Click to collapse
Hey i seem to be having a problem, i extracted the .tar file and i can see the boot.img file but i can't find the vbmeta.img one
Ame76 said:
Hey i seem to be having a problem, i extracted the .tar file and i can see the boot.img file but i can't find the vbmeta.img one
Click to expand...
Click to collapse
Actually i've looked around and everyone only shares the boot file, maybe flashing vbmeta is unnecessary for this device?
Maybe.
I need a boot.img necessarily from 12.5.6.0.RKHEUXM GLOBAL.
Nowhere is this version of ROM in FastBoot format to download.
I need extract boot.img to magisk root.
I have an installed version of 12.5.6.0.
But I mistake I flash boot.img from version 12.5.3.0. , and now I have a broken system, it's not sound,wi-fi, etc.
Thanks very much
Hi. I used the boot.img from the 12.5.6 "Stable Beta" released a few weeks ago. I read somehere, here, that it is the same built as the one released over OTA a couple of days ago. And so far it's working fine. I have wifi and sound.
It is a recovery file, but you can unzip it and then use a payload dumper tool to extract the boot.img.
The recovery: https://xiaomifirmwareupdater.com/miui/alioth/stable beta/V12.5.6.0.RKHEUXM/
And this tool on my Mac: https://github.com/ssut/payload-dumper-go/releases/tag/1.0.0
kurtschmeichel said:
Hi. I used the boot.img from the 12.5.6 "Stable Beta" released a few weeks ago. I read somehere, here, that it is the same built as the one released over OTA a couple of days ago. And so far it's working fine. I have wifi and sound.
It is a recovery file, but you can unzip it and then use a payload dumper tool to extract the boot.img.
The recovery: https://xiaomifirmwareupdater.com/miui/alioth/stable beta/V12.5.6.0.RKHEUXM/
And this tool on my Mac: https://github.com/ssut/payload-dumper-go/releases/tag/1.0.0
Click to expand...
Click to collapse
If I may go off-topic for a question, recovery files are to be flashed in recovery? fastboot files in fastboot mode? hope you can help enlighten me.
I dont need recovery type rom , there is not after unzip the boot. img.
I need fastboot type rom, there is boot. img after unzip.
Thanks
I must flash boot.img over magisk, not twrp!
Please read my previous post again.
You can get a boot.img from the recovery file!
kurtschmeichel said:
Please read my previous post again.
You can get a boot.img from the recovery file!
Click to expand...
Click to collapse
Thanks very much I'll try it.
So far I have tried to extract boot.img from China V12.5.6.0.RKHCNXM Fastboot TYPE, I flashed it via magisk and everything works fine.
If everything works OK, then it's fine
When the official 12.5.6.0.RKHEUXM is published, you can still patch and flash its boot.img again, in order to be sure you have the right one. I will do it.
Or just wait for the Android 12 update.
kurtschmeichel said:
If everything works OK, then it's fine
When the official 12.5.6.0.RKHEUXM is published, you can still patch and flash its boot.img again, in order to be sure you have the right one. I will do it.
Or just wait for the Android 12 update.
Click to expand...
Click to collapse
;-)
To complete this thread, here is how I extracted the boot.img from the recovery file:
- Download the recovery file from here: https://xiaomifirmwareupdater.com/miui/alioth/stable beta/V12.5.6.0.RKHEUXM/
- Unzip it, you will find a payload.bin file inside.
- Download this command line tool for your platform, I used it on my Mac: https://github.com/ssut/payload-dumper-go/releases
- Unpack it and put the binary inside the folder of the unpacked recovery, next to the payload.bin file
- Run the command : ./payload-dumper-go payload.bin
- Let it do its thing and you will find a series of .img files, one will be boot.img
Credits: https://forum.xda-developers.com/t/tool-a-quick-android-ota-payload-dumper.4173271/
tried many custom roms with recoveries but after flashing rom cant install magisk because of this !! help needed !!
You need after install customrom instal in system Magisk apk
After in app magisk patch boot.img from your customrom. This file patched in Download folder. Transfer to your PC and this file patchedboot.img flash in Fastbooy mode command with adb
Fastboot flash boot patchedfile.img
After patch magisk work
Patch here
Works for me with PixelOs or PixelExperience
boneszbo said:
You need after install customrom instal in system Magisk apk
After in app magisk patch boot.img from your customrom. This file patched in Download folder. Transfer to your PC and this file patchedboot.img flash in Fastbooy mode command with adb
Fastboot flash boot patchedfile.img
After patch magisk work
Patch here
View attachment 5769251
View attachment 5769253
Click to expand...
Click to collapse
ur 3rd photo does not showed up !
boneszbo said:
You need after install customrom instal in system Magisk apk
After in app magisk patch boot.img from your customrom. This file patched in Download folder. Transfer to your PC and this file patchedboot.img flash in Fastbooy mode command with adb
Fastboot flash boot patchedfile.img
After patch magisk work
Patch here
View attachment 5769251
View attachment 5769253
Click to expand...
Click to collapse
what patched file ??? u mean from magisk zip img file ?
1. Install Customrom like PixelOS before u install u flash via fastboot file boot.img
After install Customrom u must the same file from your Rom patch Via Magisk so u must install Magisk.apk in Android
In Android Magisk App u must click Install and patch file from ur Rom Boot.img
New file save in Download Patched_boot.img
This file transfer to your computer
Go phone to fastboot mode and flash with command new file patched
Fastboot flash boot patched_boot.img
After flash boot recovery u have install Magisk correctly
Examples:
How to Root Pixel Experience ROM via Magisk [Video]
In this comprehensive tutorial, we will show you the steps to root your Pixel Experience ROM via Magisk patched boot.img file
www.droidwin.com
U only need download recovery boot from ur CustomRom u dont need extract payload.bin
U must patch this file via Magisk application in PixelOs for examples
So first go to
GitHub - topjohnwu/Magisk: The Magic Mask for Android
The Magic Mask for Android. Contribute to topjohnwu/Magisk development by creating an account on GitHub.
github.com
Download magisk.apk and install
In Magisk App patch boot file img after flash it with PC
Done u goot Magisk installed with root
Remember to use boot file from your customrom not other... If u use PixelOs u need boot recovery from PixelOs etc. !!
boneszbo said:
1. Install Customrom like PixelOS before u install u flash via fastboot file boot.img
After install Customrom u must the same file from your Rom patch Via Magisk so u must install Magisk.apk in Android
In Android Magisk App u must click Install and patch file from ur Rom Boot.img
New file save in Download Patched_boot.img
This file transfer to your computer
Go phone to fastboot mode and flash with command new file patched
Fastboot flash boot patched_boot.img
After flash boot recovery u have install Magisk correctly
Examples:
How to Root Pixel Experience ROM via Magisk [Video]
In this comprehensive tutorial, we will show you the steps to root your Pixel Experience ROM via Magisk patched boot.img file
www.droidwin.com
U only need download recovery boot from ur CustomRom u dont need extract payload.bin
Click to expand...
Click to collapse
there is no recovery boot so i think i need to extract playload.bin
Try PixelOs good Rom everythings work. Photos google unlimited srorage...
And u got recovery boot img file
boneszbo said:
Remember to use boot file from your customrom not other... If u use PixelOs u need boot recovery from PixelOs etc. !!
Click to expand...
Click to collapse
i am using awoken os !!
https://sourceforge.net/projects/pr...iton-lisa-official-1240-20221018.zip/download
i extracted the rom but there is no img file
boneszbo said:
Try PixelOs good Rom everythings work. Photos google unlimited srorage...
And u got recovery boot img file
Click to expand...
Click to collapse
ok flashing pixel os again then !!!
U have here boot awaken os
U need patch thia boot.img file via Phone Magisk and flash via fastboot.
Done
boneszbo said:
Try PixelOs good Rom everythings work. Photos google unlimited srorage...
And u got recovery boot img file
Click to expand...
Click to collapse
dude I was so tired that I could not understand what u said but it was so simple !!!! thanks for the help !!!! thank you so much !!!
boneszbo said:
U need patch thia boot.img file via Phone Magisk and flash via fastboot.
Done
Click to expand...
Click to collapse
yes it was simple but those links and tutorials confused me !!! again thanks for the big help
Welcome back...