Skip to content

Releases: CaptainThrowback/android_device_htc_m8

TWRP 3.3.1-3

05 Apr 02:21
Compare
Choose a tag to compare

Alright, after digging through the source all day, and with the help of @bigbiff, we were able to determine that libziparchive was the source of the problem with the Lineage OTA installation. I found some patches in the android-9.0 tree and backported them to the 8.1 tree and rebuilt TWRP, and OTAs appear to be installing properly now. As always, if you have any issues, please post on the Issues tab.

Some reminders about this version:

  • unified TWRP for both SAR and legacy system setups
  • For AOSP based ROMs only, especially Oreo+
  • MTP may load incorrect drivers in Windows 10, if you have the HTC drivers previously installed, but it should work fine in Linux-based systems

EDIT: Had to re-upload because I realized I missed the patch to include the LineageOS keys so that Zip verification won't fail, and then realized I forgot the decryption fix. Been trying to do too much these past few days - I think it's time for a break...

TWRP 3.3.1-2

03 Apr 23:19
Compare
Choose a tag to compare

No actual changes to the recovery source itself here, but there was an issue with boringssl that was preventing decryption. This has been patched and I'll push the fix to the TWRP source at some point. This does not fix the issue with the Lineage OTA not installing when the device is unencrypted, but I don't know that it's a TWRP issue since it doesn't work correctly with Lineage Recovery either.

TWRP 3.3.1-1

03 Mar 02:45
Compare
Choose a tag to compare

Latest version, a lot of cleanup, and latest upstream TWRP changes. Just want to get this version out there as the last one before official TWRP is released.

All previous bugs should be fixed. If you have issues with MTP and/or adb in Windows, it's probably a driver problem, as I had to fight with the drivers to get it working right both in Android and in TWRP.

P.S. The reason there's only one TWRP build here now is because the SAR and non-SAR versions are now unified. I didn't realize I forgot to mention that ;)

TWRP 3.3.1-0_CPTB-20191022-03

22 Oct 16:59
Compare
Choose a tag to compare

So...the previous release was garbage.

This release is actually decrypting properly, and now TWRP no longer wipes out the OS version in bootloader when booting it up. Note that you will need to flash firmware in bootloader to get an OS version back in bootloader, but it should stay now, unless you attempt to install a LineageOS 16 OTA, which seems to wipe it out again :/. That's something @bgcngm will have to look into. UPDATE: As of the 10/24/2019 LineageOS 16.0 nightly, this has been fixed! Also, OTA updates will now install properly!!

So to recap, this version has:

  • Working decryption in Pie and 10
  • Fixes the bootloader offset issue which was causing mainver to get wiped from /misc
  • legacy system and SAR versions

As always, any issues, please post in the "Issues" section with recovery log and dmesg.

TWRP 3.3.1-0_CPTB-20191021-01

21 Oct 18:18
Compare
Choose a tag to compare

It has been brought to my attention that some people that haven't moved on to Android 10 might be interested in a version of TWRP for the M8 with working decryption on Pie. So, this release is simply for that purpose. I'm also attaching an updated SAR build that has no changes other than being synced to the current TWRP source and built along with the legacy system build. Going forward I'll try to release both simultaneously.

Same bugs as previous version apply, along with same bug reporting process.

NOTE: These builds are untested. Please provide feedback via the Issues on this repo if there are any problems besides the already known bugs.

UPDATE: These builds were faulty and have been removed. Please use the latest release instead.

TWRP 3.3.1-0_CPTB-20191007-07-SAR

07 Oct 17:28
Compare
Choose a tag to compare

Hello loyal M8 users!

Amazingly, thanks to @bgcngm, there is already a LineageOS 17.0 Alpha ROM available for our beloved old device. Android 10, however, brings with it some new changes and requirements. The most notable change is that all devices must now use system-as-root (SAR). In order to properly support this in TWRP, some adjustments were necessary to the code so that zips such as GApps and Magisk flash properly and place files in the correct locations.

So, this is an Alpha build of TWRP with this support. Also included is support for decryption on Android 10 (and Pie too, but since that's not SAR, you can't really use this TWRP with it). And since this is an Alpha, there are of course a few bugs (though I have no idea how to currently fix them):

  • Offmode charging requires unplugging before powering on, or long pressing Power button to turn device on (it wasn't working at all on my initial builds, so this is an improvement, honestly)
  • MTP and UMS not working (adb works though, and that's the most important)

If there are any other bugs, you can post an issue here and I'll review it. And make sure you include recovery log and dmesg otherwise I will close your issue immediately!