[Miscellaneous Android Development] a-dead-trousers:
View attachment 5188615​

* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.

This is a TWRP 3.5.1_10-0 Recovery for the Helios P60 based Atom XL (Atom_XL), a rugged Android phone released by Unihertz in July 2020.

DO NOT USE IT FOR THE ATOM L!

Just head over to the thread for the Atom L to get the correct variant of this Recovery from there.

Team Win Recovery Project, or twrp for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

Not Working

MTP

Data decryption (partially)

Sideload (maybe because of partially decryption)

You tell me

How to install

1. Unlocking

Boot your Atom XL to the official OS.

Go to `Settings > About phone`, tap `build number` several times to enable developer settings.

Go to `Settings > System > Developer Settings`, enable `OEM unlocking` and `ADB debugging`.

Connect your phone to your PC and open a terminal or a command line window.

Run `adb reboot bootloader` on your PC (there is no way to enter bootloader directly, only possible through adb).

Run `fastboot flashing unlock` and comfirm unlock on device (THIS WILL WIPE ALL DATA!).

Run `fastboot reboot` to reboot your device and now you should see an unlocked warning during boot screen.

2. Disabeling AVB (Android Verified Boot)

Download 'vbmeta.img' from the latest LineageOS release (link provided further down).

Connect your phone to your PC and open a terminal or a command line window.

Run `adb reboot bootloader` on your PC to put your device in bootloader mode.

Run `fastboot flash --disable-verification --disable-verity vbmeta vbmeta.img`.

Run `fastboot flash --disable-verification --disable-verity vbmeta_system vbmeta.img`.

Run `fastboot flash --disable-verification --disable-verity vbmeta_vendor vbmeta.img`.

3. Installing TWRP recovery

Download `recovery.img` from the latest release (link provided further down).

Connect your phone to your PC and open a terminal or a command line window.

Run `adb reboot bootloader` on your PC to put your device in bootloader mode.

Run `fastboot flash recovery recovery.img`.

Run `fastboot reboot` and after the screen goes dark press volume up until you see the TWRP logo.

Now you need to install a new ROM because booting into stock ROM will replace TWRP with the stock recovery.

How to update

Download `recovery.img` from the latest release (link provided further down).

Connect your phone to your PC and open a terminal or a command line window.

Transfer using adb:

Run `adb reboot recovery` on your PC or simply hold volume up while turning power on to boot your device into the recovery.

Wait for TWRP to boot.

Run `adb push recovery.img /external_sd`.

Transfer using mtp: (currently not working in TWRP)

Transfer `recovery.img` from your PC to your devices SD card.

Run `adb reboot recovery` on your PC or simply hold volume up while turning power on to boot your device into the recovery.

Wait for TWRP to boot.

In TWRP select `Install`.

Use `Select Storage` to switch to your SD card.

Use `Install Image` to switch to image installation mode.

Select `recovery.img` from the list.

Select `Recovery` partition.

Swipe the slider on the bottom to the right to confirm.

Links

LineageOS

Releases

Device tree

Bug reporting

Spoiler content hidden.

Help from other developers is certainly welcome. Currently only myself is working on this Recovery.

Credit and Thanks

TWRP team

@PeterCxy for starting the work on the Atom L

Enjoy! (y)

XDA:DevDB Information

TWRP 3.5.1_10-0 for Unihertz Atom XL, ROM for the Android General

Contributors

a-dead-trousers

Source Code: https://github.com/ADeadTrousers/twrp_device_Unihertz_Atom_XL

ROM OS Version: Android 10

ROM Kernel: Linux 4.x

Based On: TWRP

Version Information

Status: Alpha

Created 2021-01-15

Last Updated 2021-03-22