-
How does the OTA updates work..
Is it the same as apt-get update ?
Question 2: I believe the graphical environment on UB-Touch is called Lomiri/unity8 ? is it in the form of a ingle .deb package that we can uninstall and install again or a collection of individual apps/.deb files ?
I am trying to make changes in the gui like change colors of various screens like wifi setup,calculator etc and see my changes .
Whats the best way to do that
A) get lomiri src from gitlab repo and use clickable to change code, test and deploy on the phone ?Please advise
Thanks
-
-
@nibzy26 said in OTA updates and graphical changes:
How does the OTA updates work..
Is it the same as apt-get update ?
No, OTA updates are image based. You download the difference between the latest image and the one currently on your device. That is why it is important not to mess with the root filesystem if you want to be able to update reliably.
Question 2: I believe the graphical environment on UB-Touch is called Lomiri/unity8 ? is it in the form of a ingle .deb package that we can uninstall and install again or a collection of individual apps/.deb files ?
It is a set of .Deb packages that makes up the Lomiri DE, just like Gnome or KDE are also made up of several packages. There might be meta packages that pull in all the needed dependencies, but the meta packages themselves do not contain any binaries.
The rest of your questions, I leave to someone with more experience on that than me.
-
@nibzy26 As mentioned, updates are image based. It can be a delta update or a full update if you are switching to a different channel or if you haven't updated for a while and there's a lot of changes already. Delta updates can mess up your system if you modified system files.
You can't really uninstall Lomiri since it's well integrated to the system. You can however have a custom build and install it to your device. You can also modify it directly on the device if you only need QML changes. The files are at
/usr/share/lomiri
. I'm not sure exactly what you're trying to modify though since you mentioned things like Calculator which is an app not part of Lomiri. You can check the core apps from UBports Gitlab repos.I haven't tried myself but I think using clickable would only let you test Lomiri on your PC in some kind of a test suite. For deployment, you may need something else.
-
@kugiigi Thanks
Do I need to disable lomiri if not uninstall before installing my own lomiri custom deb package?
Yes I will be making QML changes mostly .But I would like to distribute my changes to others as well so just thinking what route to take .
Does the /usr/share folder contain srcs of other apps like calculator, clock etc ?
I am in the middle of installing UB-Touch on a phone actually. -
@nibzy26 No, you just need to install and overwrite the current packages. Deb core apps like Morph, messaging and phone are there too but some core apps are in click package and they are at
/opt/click.ubuntu.com
. However most of them are probably compiled so you can't modify them directly on the device. Using clickable for those would be easy though.