Fixing nexus 5x rootfs download issue - #51
Conversation
detect and log if curl is not installed and add automatically find latest rootfs automatically
|
Hello, I am trying to install Plasma to a Nexus 5x, and running into this problem. I would really appreciate the help! |
|
you can clone my fork or edit the script locally to match the changes i made |
|
but in case you arent aware the 5x isnt officially supported anymore so you are probably going to run into more issues in a later step |
|
please let me know what happens if you do try it! |
|
thanks for the quick answer! I tried to alter the file, but I can´t save any changes. It is a read-only file. Sorry, I´m a noob... |
|
ah, it sounds like the file is owned by root, did you 'git clone' as root? what commands did you run? Before you continue please be aware that I dont know what will happen, you may brick your device or at the very least expect to lose any data stored on the device. As a regular user, open up a new terminal and run |
|
Thank you so much! Something happened to my phone though! It finally started downloading and installing. |
|
The phone is in a loop... |
|
if you can get into bootloader you could try again, but do a factory reset when you get into twrp, and unmount partitions before heading to the next step, see if that works? I fear plasma mobile for the nexus 5x might be a lost cause, but you might have better luck with postmarketos |
issues cropped up when the rootfs_stamp was removed from the server.
this is a quick and dirty fix to poll the available options and take the latest version.
BE WARNED: while i have fixed the specific issues i have not got a device to test on with me, so I dont know what happens next. Dont get angry with me if you break your phone.
side issues:
curl is an implicit dependency and not always installled on host, log helpful message and exit if its not available
if the connection to host server is broken it now shows helpful message