Closed A2B1C4 closed 8 months ago
Hm its means, the vendor size bigger then should be, but its strange... We need to resize that vendor partition So now we fixed twrp touch working. But Why this happens. We need to resize vendor.img to match your device partition size...
*-> When you select vendor.img to flash you select what need to flash - vendor partition yes?
Yes, it is the vendor partition
gpt partition of vendor lower size then vendor.img size it's very strange
so we need use parted for resize partition on device. Or img tools for resize .img
There is also one more thing, I can't mount the vendor partition
Try: fastboot erase vendor fastboot format vendor and try to mount vendor in twrp
if not helps: i can give one gpt . which i modified This gpt inside.zip
write it exactly as this command.
fastboot flash partition gpt_both0.bin
Can I flash the zip using twrp?
nah, it's impossible. In twrp doesn't exist way to flash .bin file of partition. Only from fastboot working good. Inside .zip included .bin file. (gpt_both0.bin) there's no scripts to flash it.
OK, I will flash it in fastboot
now reboot to fastboot again if it's boots to fastboot so repeat this.
fastboot format userdata fastboot format vendor
Then try to flash new vendor.img. It's should fit now.
And in twrp wipe data. If vendor.img fits to partition, write gsi's rom
OK, I will update you as soon as I bring a laptop
In the meantime, as soon as I rebooted from the fastboot mode back to the twrp recovery, it became unresponsive again.
hm try to fastboot erase userdata fastboot erase cache fastboot flash vendor vendor.img fastboot -w fastboot reboot
Try to flash vendor.img and gsi with fastboot as i say above . I think should work with our new gpt ...
OK
Good news, I was able to flash vendor using fastboot, can I also flash gsi using fastboot too? or I have to use twrp?
you can flash gsi too. in twrp: adb shell twrp wipe data
OK, I flashed gsi using fastboot, fastboot -w then reboot
yes. And let it bootup
OK, I forgot to wipe data, the system did bootloop, but it rebooted back to erecovery and managed to wipe data there, and the gsi did boot up.
so it's working yes? And i can close issue if gsi full boot up
Yes, it is working, gsi full boot.
You can close
one thing which is it was model i don't know exactly.
Model is ATU-L31, international version
Solve files. [SOLVED] Vendor for gsi9 : https://drive.google.com/drive/mobile/folders/1aFTTMSArwBuF5tsJBkWJ7f_d7IQc7zyy Patched GPT if vendor size wont be flashed : This gpt inside.zip TWRP : https://4pda.to/forum/index.php?showtopic=909094&st=1000#entry88299205
When I click read info, I am getting this error: [WARN] Not Found PCUI [WARN] Not Found DBADAPTER