plasma-phone-packaging / pm-flashtool

Tool for Flashing PM as LXC Container on top of CM
44 stars 27 forks source link

Nexus 5x: needs flash-vendor if coming from 8.1 #27

Open simonschmeisser opened 6 years ago

simonschmeisser commented 6 years ago

I just found through another issue #20 that if you have the current version of android installed on nexus 5 you need to downgrade the vendor image aka "binary blob" first. Otherwise you get stuck at the android boot screen.

So I think the following should be done

I will need guidance/ access rights but can work on it(a bit)

jbruechert commented 6 years ago

Updating the Halium image to 8 needs android 8 support being merged into libhybris first. Adding a note on the website should be easily doable. The website is hosted on phabricator.kde.org. A quick overview on how to submit patches there can be found here: https://community.kde.org/Infrastructure/Phabricator#Posting_a_Patch_using_the_website.

simonschmeisser commented 6 years ago

the PR is here https://github.com/libhybris/libhybris/pull/388 and WIP

scream314 commented 6 years ago

What do you think, could I work around this by downgrading the phone to Android 6, then flash PM; or should I rather wait for Android 8 support?

simonschmeisser commented 6 years ago

Actually you need Android 7, but you can flash plasma mobile on a 8.1 one and then run ./flash-vendor afterwards

scream314 commented 6 years ago

@simonschmeisser thank you, it looks like I misunderstood the issue. So I have to

# install coreutils as I'm on OSX
# replace readlink with greadlink in the script as I'm on OSX
# boot to fastboot
$ ./pm-flash -c # as I already downloaded everything
$ ./flash-vendor
$ adb root
$ adb shell
$ lxc-start -n system -F

? Update: No luck, now I'm stuck on the screen saying "Google" after ./flash-vendor... Flashed back a stock 7.1 ROM. Update2: Successfully flashed PM on top of 7.1, the problem was I forgot to do fastboot format cache; fastboot format userdata. Unfortunately the OS itself is unusable (at least for me), updates are timing out, window handling has severe bugs, some buttons are not (or not always) working, cannot power off/restart the phone with the physical power/lock key, etc... I will give 8.1 another try later.

losuler commented 5 years ago

It looks like the aforementioned pull request for Android 8 support in libhybris was merged 8 days ago.