Hey folks,
I've been experimenting over the past few days with trying to compile TWRP for the Cosmo so I can mess around with updates a bit more easily. Ultimately this may be a bit of a fruitless endeavour if Planet ends up releasing their own, but perhaps this will be useful for some reason or other anyway?
Source code on GitHub: https://github.com/Treeki/unofficial-twrp-cosmo
Initial flashable release: https://github.com/Treeki/unofficial-twrp-cosmo/releases
This is a fairly standard TWRP port with one exception - the Cosmo's userdata partition is encrypted, and getting TWRP to decrypt it is an adventure. I finally got it working after importing a bunch of blobs from Planet's vendor partition so that TWRP can start up the TrustKernel TEE, obtain the correct key and decrypt everything.
I've confirmed that the following features work on my Cosmo:
- Flashing partition images
- Creating backups
- adb while in recovery mode
Android hackery is still a very new thing for me and there's probably ways I could have made this better, but I did what I could with my lack of skills.
Unfortunately the Planet OTA doesn't seem to be flashable from TWRP - it complains about the build fingerprint being different, and even after commenting out that check in the updater script it fails to update the system partition. I think I may have to resort to manually flashing the updated partitions one-by-one.
Hi. I've installed twrp using the image provided by planet here (
http://support.planetcom.co.uk/download/co...taller-beta.zip ) in EMPTY_RECOVERY_BOOT_2 partition (
http://support.planetcom.co.uk/index.php/C...id_installation ).
But nothing happens when I boot to twrp.
I've also installed Debian in EMPTY_RECOVERY_BOOT_3 partition and debian boots fine.
What is the problem with twrp ?
I've also installed again twrp and the problem persists. I think the problem is because of Cosmo's userdata partition is encrypted. Mine is encrypted. Because mifritscher ( an user from this forum ) said in this post (
https://www.oesf.org/forum/index.php?showtopic=36119 ) that for him it is working... Despite having problems unlocking the user partition (he didn't activated the encryption...). He used the the same file from
http://support.planetcom.co.uk/download/co...taller-beta.zip . He said that it shows the TWRP logo for 1-2 minutes before giving up on decrypt the user partition.
Can I use your twrp image overwriting the planet image after decompressing this zip file above ?
Thank you