Closed normaluser321 closed 4 years ago
The boot.img isn't in Android format at all, so of course will not work.
Upload your backup of your boot partition so @topjohnwu can take a look to see if it's sensible to add support.
Thank you for your fast response. To be honest, I don't know how to extract the boot image in the right way. I think it is supposed to contain a kernel and the ramdisk, but the one from TWRP does not include a kernel. I would like to help here, could you point me in the right direction on how to extract the full boot image? Does the boot image contain any private information like the mac address or wifi names/passwords I should remove if I export it from the device? I think the original image from the original author contains the boot image in the 0.fat partition.
I got Magisk working after reading the source code and patching the ramdisk manually. I simply extracted the ramdisk in the cpio format and used magiskboot to add the magisk init file. After that the Magisk Manager showed that it is working and the root option in the developer settings disappeared. My only problem left is that I cannot pass SafetyNet. Basic integrity and cts fail. I would really like to get it working, so I used the Module SafetyPatcher and MagiskHide Props Config. Sadly, the basic integrity and ctr are still failing. I would be very glad about any idea to fix the safety net issue. Do you need more information here to help?
I don't have a Pi so I can't tell you the proper way.
@normaluser321 Hi, you say that you have install the SafetyPatcher and MagiskHide Props Config modules, but have you tried to just install the MagiskHide Props Config module only and reboot your Pie to check if it works?
There is currently no plans to support devices using non standard Android boot image
Thank you for your fast response. To be honest, I don't know how to extract the boot image in the right way. I think it is supposed to contain a kernel and the ramdisk, but the one from TWRP does not include a kernel. I would like to help here, could you point me in the right direction on how to extract the full boot image? Does the boot image contain any private information like the mac address or wifi names/passwords I should remove if I export it from the device? I think the original image from the original author contains the boot image in the 0.fat partition.
I got Magisk working after reading the source code and patching the ramdisk manually. I simply extracted the ramdisk in the cpio format and used magiskboot to add the magisk init file. After that the Magisk Manager showed that it is working and the root option in the developer settings disappeared. My only problem left is that I cannot pass SafetyNet. Basic integrity and cts fail. I would really like to get it working, so I used the Module SafetyPatcher and MagiskHide Props Config. Sadly, the basic integrity and ctr are still failing. I would be very glad about any idea to fix the safety net issue. Do you need more information here to help?
How did you get it to work? Can you upload the working version?
will the firmware of raspberry pi be any useful?
No. topjohnwu and I already clearly explained it's not an Android boot.img so won't be officially supported.
If you can dump and upload the boot.img properly I'd like to take a closer look still, but that's about it.
It would be awesome if @normaluser321 could post a complete description of how he patched Konstakang's Android on Raspberry Pi with Magisk. Then, others could follow it.
Hello, I'm trying to install magisk on lineage os 16 on a raspberry pi (Image from here). The installation of the zip via TWRP fails (see log [1]). I also tried to extract the boot image and patch it with the magisk manager app. For this I used the backup option of TWRP and renamed the resulting backup of the boot partition to image.img. But the patch operation fails with "No boot image found". The third option I tried was the direct installation from the app while granting root access. This resulted in "Unsupported/Unknown image format". What is wrong? Can I help with the solution?
Thank you very much. [1]: