CWM with root (obtain root from recovery by default). Reboot into recovery. Install system-software-update-nonroot.zip. Done. Android build version: 9.0.4. Build date: 2019/07/01.
But the screenshots and the sdcard in recovery and even the gallery are not writable.
The only solution i found was to get the files i needed with a third-party tool, go through adb, put them to the right location and restore the partition and then use the third-party tool to install the images again.
The solution:
Restore partitions
- Create new adb backup image of the sdcard in recovery in case you’re going to reinstall the device.
- Enter into recovery and open the terminal app. Use these commands to restore the partitions:
adb shell dm partition delete -f -p /data/system
adb shell dm partition delete -f -p /data/user
adb shell dm partition delete -f -p /data/factory/
adb shell dm partition delete -f -p /data/media
adb shell dm partition delete -f -p /data/user/0
adb shell dm partition delete -f -p /data/media/0
adb shell dm partition delete -f -p /data/user/0/media
adb shell dm partition delete -f -p /data/user/0/Pictures
adb shell dm partition delete -f -p /data/user/0/Music
adb shell dm partition delete -f -p /data/user/0/Downloads
adb shell dm partition delete -f -p /data/user/0/Movies
adb shell dm partition delete -f -p /data/user/0/Pictures/Camera
adb shell dm partition delete -f -p /data/user/0/Downloads/Android
adb shell dm partition delete -f -p /data/user/0/Downloads/Photo
adb shell dm partition delete -f -p /data/user/0/Downloads/Music
adb shell dm partition delete -f -p /data/user/0/Download
Related links:
Comments