[Android General] Old_Mil:
So my experience in flashing Lineage 20 onto my Titan *Pocket*.

I started with an unlocked and rooted phone, so I won't get into those specfics here. My Linux system also had the adb platform tools with fastboot installed from other things I had done so I didn't need to install that.

My system was Trisquel GNU/Linux which ships without a lot of dependencies that something like Mint or Ubuntu probably has out of the box so I had to do a lot of apt get installing from the terminal to install things like python3, git, libc++-dev, clang, g++, make, libz-dev that you or may not need to. If you are not sure, I would advise trying to install these things with the apt command from the command line before you start running the scripts so you don't have to interrupt the process later.

If you're using Windows, install Linux :)

Step 1: Go to this website. This will guide the intial preparation process. Keep it up and visible in a browser window.

GitHub - rumplestilzken/mksuper: Guide and Scripts to help unmake and make a super partition for Unihertz Devices

Guide and Scripts to help unmake and make a super partition for Unihertz Devices - rumplestilzken/mksuper

github.com

Step 2: Download the stock firmware for your specific model from here

http://rumplestilzken.com:14005/Unihertz/StockResources

Step 3: Download the specific gargoyle tarball for your specific model from here

Release gargoyle GSI v1.2 · rumplestilzken/gargoyle_lineageos20

Welcome, Here it is! Release v1.2! Supported Devices Titan Titan Pocket Titan Slim Process unlock your phone. Notes on rooting Flash You will need to install fastboot and adb see here Android 9...

github.com

Step 4: In the folder where you have your platform tools installed, open a terminal window (preferrably as an administrator, if not use the su command to gain root access) and run this command.

git clone https://github.com/rumplestilzken/mksuper.git mksuper

This will make the mksuper directory within your platform tools directory and place a number of files in it.

Step 5: Move (or copy) the stock firmware file that you downloaded in Step 2 and the gargoyle tarball you downloaded in step 3 to the mksuper directory.

Step 6: Run install-dependencies.py

This will ask for your admin password, it is installing apt packages, inspect the script if you have an issue and run the commands:

python3 install-dependencies.py

Step 7: Run extract.py

This will extract the super, system, vendor and product partitions, then copy them for update:

python3 extract.py

Step 8: I missed this because it was referenced on a different page and I didn't see it until I had completed the mksuper process. I tried running these commands after mksuper completed, but got a bash error. I moved forward anyway and the install was successful? So I'm not sure exactly what I missed, and if in time this will cause the install to fail. But I was unable to run the commands below.

Additional steps are needed to keep the Titan Pocket and Titan Slim booting. These images can be found in the stock rom zip or at mksuper/<STOCK_ROM_FOLDER> after extract.py has successfully run.

fastboot flash --disable-verity --disable-verification vbmeta <vbmeta.img>

fastboot flash --disable-verity --disable-verification vbmeta_system <vbmeta_system.img>

fastboot flash --disable-verity --disable-verification vbmeta_vendor <vbmeta_vendor.img>

Step 9: mksuper

This will package the super.new.img for your device:

python3 mksuper.py

Step 10: Flash your gargoyle image on a Titan Slim or Titan Pocket:

adb reboot bootloader

fastboot erase cache

fastboot erase userdata # Skip this step if you are not coming from stock rom

fastboot erase super

fastboot flash super <super.new.img> #

fastboot reboot

So basically that's what I did, keeping in mind that I (rightly or wrongly) ended up skipping from step 7 to step 9 because I didn't see those three commands on the distro release page until after I had completed the mksuper steps.

After completing the install, I downloaded Magisk directly from github, direct installed it, and it works fine/has root.

Things I've noticed:

Step 6 and Step 7 took a long time on my 11 year old i3 laptop with a physical HDD and 4 gigs of RAM. If it looks like the script has hung, just wait because it probably hasn't.

During the process it generated a total of about 15 "warnings", but the script install continued, completed, and was successful.

Android 13 with the Trebuchet launcher runs noticeably slower (maybe 20%?) on the Titan Pocket than Android 10, despite being vanilla/degoogled. I solved this problem by installing version 7 of the Nova Launcher which restored it's performance. After installation, it takes a while to "settle". Immediately after installation I had some trouble with Trebuchet with icons being stuck on the screen, but in about a half hour this behavior stopped. With Nova Launcher installed, everything works fine.

Still not sure what I missed by not being able to complete Step 8 successfully, but the install doesn't seem to be affected by it.

Overall, this is a great upgrade for the phone - many thanks to the dev - and if you're interested in a vanilla Titan, I'd strongly recommend it.

Hopefully this writeup helps some of you who get a little glassy eyed when looking at Github pages.