Open DeWarner opened 3 years ago
Fix #44 Fix #49
Hello,
I am trying to install Plasma to a Nexus 5x, and running into this problem. I see there is a fix? How do I apply this fix? Is there a replacement for the pm-flash file with the changes?
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! Too bad, I did not realise support had finished...
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
git clone https://github.com/DeWarner/pm-flashtool bullhead-pm-flashtool
cd bullhead-pm-flashtool
chmod +x pm-flash
./pm-flash
Thank you so much! The phone is an old phone from my work. I don´t believe in throwing good devices away, so this is a good experiment for me
Something happened to my phone though! It finally started downloading and installing.
The phone is in a loop... Failed to mount ´data´ (invalid argument)
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