ubports / ubports-installer

A simple tool to install Ubuntu Touch on UBports devices
https://github.com/ubports/ubports-installer/releases
GNU General Public License v3.0
546 stars 120 forks source link

"Error: preparing: TypeError: Cannot read property 'codename' of null" #2059

Closed supersalbai closed 2 years ago

supersalbai commented 3 years ago

Hi guys, I want to set up UT on an Xiaomi Mi A2. I get an error "Error: preparing: TypeError: Cannot read property 'codename' of null". I am stuck - any help apprechiated.

UBports Installer 0.8.8-beta (deb) Environment: Pop 21.04 hirsute linux 5.11.0-7620-generic x64 NodeJS v12.18.3 Device: jasmine_sprout Target OS: Ubuntu Touch Settings: undefined OPEN-CUTS run: N/A Log: N/A

Don't know. Something with my phone?

supersalbai commented 3 years ago

Anybody? Any help?

NeoTheThird commented 2 years ago

Hey, sorry about this. Could you try again with this prerelease version of the installer? Also, Your device must be running a specific android 9 build before installing Ubuntu Touch. You can use the link below to download it. You can use either use stock recovery or TWRP recovery to flash it. Flash it to both slots to be safe: https://github.com/ubports-xiaomi-sdm660/artifacts/releases/download/v0.1/jasmine_sprout_stock_android9.zip