Skip to content

[Bug] Script not working on Nexus 5x #44

Description

@alexpattyn

I am trying to install plasma mobile on a 5x and it seems that the script isn't running correctly. Using the latest master as of 2019-12-27.

It asked me if my device was bullhead, which it is, then I goes to download the rootfs but just exits. I can see the device on 'fastboot devices' but not 'adb device' since I am in fastboot mode. Then I already have TWRP install (manually).

Output:

$ ./pm-flash 
+ CACHEDIR=cache
+ echo 'Waiting for device to be in the fastboot mode'
Waiting for device to be in the fastboot mode
+ fastboot getvar product
product: bullhead
finished. total time: 0.020s
++ fastboot getvar product
++ head -1
++ awk '-F: ' '{print $2}'
+ DEVICE_NAME=bullhead
+ confirm 'Connected device is bullhead, is that correct? [y/N]'
+ read -r -p 'Connected device is bullhead, is that correct? [y/N] ' response
Connected device is bullhead, is that correct? [y/N] y
+ case $response in
+ true
+ PLATFORM=neon
+ echo 'Continuing ...'
Continuing ...
+ getopts cp: opt
+ '[' -z '' ']'
+ download bullhead neon
+ '[' 2 -eq 0 ']'
+ mkdir -p cache/
+ pushd cache/
~/Git/pm-flashtool/cache ~/Git/pm-flashtool
+ echo 'Downloading latest rootfs ... '
Downloading latest rootfs ... 
+ '[' neon == neon ']'
++ curl https://images.plasma-mobile.org/rootfs_stamp
+ ROOTFS_VERSION=

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions