-
so im commited to breaking my device and surviving updates which im firmware hopping atm so my device is down im thinking about implementing a suicide script so to speak where i can automatically rw and change repos to regular ubuntu repos i think someone here did this? i know about the ut tweak tool and the jerk script but i was looking for something to do more this any ideas for ye ol bash script?
first set the system to RW
#!/bin/bash # Ubuntu Touch repository URLs UBUNTU_TOUCH_REPOS=( "https://system-image.ubports.com/ubuntu-touch/stable/meizu-pd.en/rc/bq-aquaris.en/stable" "https://system-image.ubports.com/ubuntu-touch/stable/meizu-pd.en/rc/meizu-mx4.en/stable" "https://system-image.ubports.com/ubuntu-touch/stable/meizu-pd.en/rc/nexus-5.en/stable" ) # Arm64 library URLs ARM64_LIB_REPOS=( "http://ports.ubuntu.com/ubuntu-ports" "http://ports.ubuntu.com/ubuntu-ports" "http://ports.ubuntu.com/ubuntu-ports" ) # Replace Ubuntu Touch repos with Arm64 library repos for i in "${!UBUNTU_TOUCH_REPOS[@]}"; do sudo sed -i "s|${UBUNTU_TOUCH_REPOS[$i]}|${ARM64_LIB_REPOS[$i]}|" /etc/apt/sources.list.d/ubports.list done # Update the package list sudo apt update # Install Plasma Mobile sudo apt install -y plasma-phone-components # Set Plasma Mobile as the default session sudo sed -i 's|Exec=/usr/bin/ubuntu-session|Exec=/usr/bin/startplasma-wayland|' /usr/share/xsessions/ubuntu.desktop
Reboot the device
sudo reboot
-
What's your goal with this?
-
@developerbayman That is wrong, UT already uses Ubuntu repos (check /etc/apt/sources.list). The repos which you are replacing aren't even repos, they're deprecated
-
-
@TheVancedGamer more about tinkering really and pushing the boundry of what can be done
-
@developerbayman Good luck! Keep us posted on the progression
-
@TheVancedGamer yeah im having difficulty editing the sources.list set system to RW and file permissions to rw .....did something change? Iv edited it before ....also yeah repos outdated UT sources seem rather limited my main goal rn is to get a full python enviroment running including pip ....UT built in python is minimal it seems
-
@developerbayman said in unlocking ubuntu software/switching to plasma mobile (there be dragons here):
so im commited to breaking my device and surviving updates which im firmware hopping atm so my device is down im thinking about implementing a suicide script so to speak where i can automatically rw and change repos to regular ubuntu repos i think someone here did this? i know about the ut tweak tool and the jerk script but i was looking for something to do more this any ideas for ye ol bash script?
first set the system to RWI would since I have two FP4, like to do that too, but not on KDE but postmarketos and just as Mobian. Have not found anything yet. Maybe it is also because of my English, which I do not master so. If you have found something let me know.
-
@carrabelloy i would switch to mobian but for me the path isnt clear im on a xaiomi redmi note 9 pro