Newbe install question - failed install
-
Hi. I've successfully oem unlocked this Xiaomi Poco M3 (created a web page on how I did that: https://www.electricbrain.com.au/pages/phone-adventures.php )
Recovery works wonderfully. However the install fails after download 14/14.
Over on XDA there is a thread with my issue:
https://forum.xda-developers.com/t/rom-guide-citrus-port-ubuntu-touch-ubports.4345617/
Essentially eveything stops with:
error: adb: preparesytemimage: error: {"error":{"code":1,"cmd":"C:\Users\tman1\AppData\Local1\Temp\1z2CZhpznORyjIPpqvVgfFBXFGZ\resources\app.asar.unpacked\node_modules\android-tools-bin\dist\win32\x86\adb.exe -p 5037 shell mkdir -p /cache/recovery"},"stderr":mkdir: '/cache/recovery": required key not available"}From my (very limited) understanding I suspect AVB may have a hand in this?
When booted to UPPorts Recovery I am able to use adb to execute a shell. Everything seems to work. I can use top and see the "disk". All looks good.
Any help most welcome (I loved the FAQ btw about the "don't panic" thing).
Cheers
P -
@phone-adventures replying to my own reply (newbie thing to do I know) anyway SUCCESS!
Thanks in large part to the folks on XDA. I ended up downloading 0.8.8-beta (but maybe a later version would also have worked). It displayed the exact same issue. Searching revealed a post on the LineageOS site (I think it was) with people that had an identical issue.
The advice which was followed related to data in the user partition which causes this. So the advice was to wipe all user data (i.e. check that box). I followed that advice and BINGO everything just worked as documented.
I hope this helps someone with a Xiaomi Poco M3. I've added some stuff to the web page, but more needs to be done on that.
I'll now try to figure out how to close this issue off on this forum.