Danny Kohler

Results 8 comments of Danny Kohler

(Forgotten vbmeta.img in the previous post) ![image](https://user-images.githubusercontent.com/63065242/125359237-48a8e980-e36a-11eb-822b-ac3022d52ca6.png)

It seems the Windows version hasn't the pipe problem, but cannot read a file that must be created by the script : ![image](https://user-images.githubusercontent.com/63065242/125419864-0c57604a-f14b-43d8-8b67-b30309a4e5a2.png)

[images.zip](https://github.com/bkerler/android_universal/files/6807514/images.zip) Thank you ! If the problem really originates from unpacking initfs, the broken pipe might be linked since it's exactly at the same place ( p.stdin.write(rdcpio) ) : ![image](https://user-images.githubusercontent.com/63065242/125456213-a1dc635e-ccb8-4652-a7fa-d22d365b6271.png)

Maybe it's because the Android phone is A/B device. (Fairphone 3) Inside makeramdisk.py : The script is writing hdrsize if the header version is superior than 0 : ![image](https://user-images.githubusercontent.com/63065242/125939149-d47c5074-2e96-4b35-aafd-82a542e08bf0.png) But...

I have managed to modifiy the program in order to complete the process. First, according to bootimg.h, I have modified this part of makeramdisk.py : ![image](https://user-images.githubusercontent.com/63065242/125981889-628ea5fc-2e9f-41c6-b4ae-a568d53f6f86.png) I have changed the...

![image](https://user-images.githubusercontent.com/63065242/126036514-20851123-6d96-41a2-92f3-e44d42513f96.png) I presume the difference between the two mods (0750 vs 0755) is normal. I will adapt the script to patch this init@0755 because it seems the A/B devices have...

In fact, it seems the kernel doesn't load the ramdisk at all. (I have tried boot_a and boot_b) ![image](https://user-images.githubusercontent.com/63065242/126195639-e9688d9e-c4aa-4b5c-ae3d-7589ed199372.png) I think it is linked to the boot method in some...