If have installed TWRP and you want to upgrate to the latest firmware using the official procedure, you have to restore the original
- shutdown the device
on the pc extract
recovery.img from the
update.zip file which contains your current firmware.
tolino-15.3.0$ unzip update.zip recovery.img
on the pc run the flash command and keep it waiting
$ fastboot flash recovery recovery.img
< waiting for any device >
(enter fastboot mode) keep pressed the power up button on the device while inserting the USB cable and in about 25 seconds you should see
Sending 'recovery' (6474 KB) OKAY [ 0.245s]
Writing 'recovery' OKAY [ 0.906s]
Finished. Total time: 1.170s
reboot the device and now you should be able to upgrade it with the standard procedure
All the credits to topjohnwu and osm0sis.
I’m working on Ubuntu 21.10, so
$ apt install git google-android-ndk-installer
Clone the repository
git clone https://github.com/topjohnwu/ndk-box-kitchen.git
Follow the instruction, as today are
git clone https://git.busybox.net/busybox/
git clone https://github.com/SELinuxProject/selinux.git jni/selinux
git clone https://android.googlesource.com/platform/external/pcre jni/pcre
Choose the supported
git checkout 1_34_1
Push on a device and test
adb push ./obj/local/armeabi-v7a/busybox /data/local/tmp
adb shell chmod 775 /data/local/tmp/busybox
adb shell /data/local/tmp/busybox date
Mon Nov 21 21:08:47 CET 2021
Install as you want, for example
../busybox --install .
Changelog for v5.4.1 and v5.5.0.
Changelog for v5.4.1 and v5.4.3.
Changelog for v5.4.1 and v5.4.2.