Lanchon REPIT: The In-Device Data-Sparing Repartitioning Tool For Android REPIT is a simple, safe, device-only, data-sparing, and easily portable repartitioning tool for Android devices: device-only: just flash a zip file in recovery to...
forum.xda-developers.com
So as Nougat is getting quite old, I tried myself at building Pi/e/ for I9100 and to my surprise it built quite easy and succesful, thanks to rinando and linusdan a.k.a Danilo Santos ☭. To flash it please follow the steps given at this XDA-page by Danilo, as this device is quite old and it is...
community.e.foundation
Thank you for giving me the right direction / confirmation to give it a try! In the end, it is a single line to repit and flash recovery with heimdall from the shell:
sudo heimdall flash --repartition --pit i9100-LOS-19.1.pit --RECOVERY twrp-3.6.1_9.0-i9100.img --no-reboot
After that reboot to recovery:
- Wipe -> Format Data
- Wipe -> Advanced Wipe -> Davik / ART Cache, Cache, System, Preload, Non-emulated Storage
- Flash desired ROM
That is what worked for me. More details in the two links provided by mirhl and also here about
what a PDA file contains.
Not reproducible observation: On the first attempt following the above steps, "internal storage" was located in "/data/media" and was not linked to "/sdcard". On the second attempt, "internal storage" was located in /data/media/0" and was linked to "/sdcard".
Reproducible observation: On the first boot after installation, the phone is stuck on the initial boot splash for more than 5 min. I had to force shutdown once and boot again to get into LineageOS 19.1.
Other observations:
- Same as on other LineageOS 19.1 builds (my reference OnePlus 5), USB debugging is active. Can be deactivated in developer mode. Also, USB connection mode selector is only accessible thru the settings menu - no shortcut upon connecting USB cable.
- As the very initial screen is already a bit tight for the standard LineageOS 19.1 greeting (see image below), one might be missing that the buttons to proceed are below and you need to scroll. I was a bit confused for a moment.
So, no further nagging on details but want to share for others as information. I am very thankful to everyone who makes it possible to run Android 12.1 on this ancient phone!