A quick tutorial on having the image work its best - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: UBPorts on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=125) +---- Thread: A quick tutorial on having the image work its best (/showthread.php?tid=8923) |
A quick tutorial on having the image work its best - Luke - 01-25-2020 All of these things may, very well, be addressed by the time you receive your phone, but I am just posting this in the even X or Y doesn't work/ is broken: [edit] For starters, every morning (EU Time) you may wish to: Code: sudo apt update && apt upgrade -y 1) Downgrade Mesa (currently newest Mesa brakes the UI) [edit] fixed 2) Enabling sound (speaker routing at this time is also wrong - may be fixed soon) 3) Manually start the the modem (fix / hack soon) [edit] 4) Change the wallpaper 1) Downgrade Mesa: 2) Enable Sound: Code: sudo modprobe snd_soc_simple_amplifier then: Code: amixer -c 0 set 'AIF1 Slot 0 Digital DAC' unmute [edit] 2 Feb 2020 Then: Quote: 3) Start modem: Code: sudo /usr/share/ofono/scripts/enable-modem In settings, navigate to background, and choose a different wallpaper (like the one with dogs) - there is some odd glitch that makes the OS run slow due to the wallpaper sizes. RE: A quick tutorial on having the image work its best - jfloren - 01-27-2020 This is probably a good place to ask, will `apt-get update && apt-get upgrade` typically be sufficient to keep the image up to date? In other words, if I run that every day, will I be in essentially the same position as if I downloaded & flashed the latest build to the SD card every morning? I ask because coming from the Android world, updating could be... "finicky" RE: A quick tutorial on having the image work its best - PinePhoneCoder - 02-03-2020 To turn on the audio speaker on the back of the pinephone: Code: amixer -c 0 set 'Line Out' unmute To set volume on max: Code: amixer sset 'Line Out' 100% RE: A quick tutorial on having the image work its best - Luke - 02-03-2020 (02-03-2020, 04:07 PM)PinePhoneCoder Wrote: To turn on the audio speaker on the back of the pinephone: Superb! thank you RE: A quick tutorial on having the image work its best - Luke - 02-03-2020 @PinePhoneCoder how about headphones? RE: A quick tutorial on having the image work its best - wibble - 02-03-2020 When you've found a decent set of mixer settings for a particular function you can save them with: Code: alsactl -f /path/to/my/phone_mixer_settings.state store Code: alsactl -f /path/to/my/phone_mixer_settings.state restore Edit: It seems one option is alsaucm at the command line, or its API equivalent, for switching between use cases. I've not checked whether it's got push/pop capabilities for switching then reverting to whatever was there before. RE: A quick tutorial on having the image work its best - kop316 - 02-08-2020 Hello, To confirm, this seems to be different than here: https://megous.com/dl/tmp/modem.txt Can I ignore the link above for Ubuntu touch, or is the shutdown still essential in the aboce link? EDIT: The script from megous does not seem to work in Ubuntu Touch. RE: A quick tutorial on having the image work its best - MIchael - 02-08-2020 (01-25-2020, 12:26 PM)Luke Wrote: The extra s in "sset" might confuse someone. RE: A quick tutorial on having the image work its best - liamsgotgenes - 02-08-2020 (02-08-2020, 12:21 PM)kop316 Wrote: Hello, I believe the script will only work on megous' kernel they are working on: https://xff.cz/kernels/ Note that right before the script he says "...enable the modem in my kernel..." RE: A quick tutorial on having the image work its best - kop316 - 02-09-2020 (02-08-2020, 10:08 PM)liamsgotgenes Wrote:(02-08-2020, 12:21 PM)kop316 Wrote: Hello, Makes sense. It was hard to tell if that was already in Ubuntu Touch. It sounded like it was in here and Postmarket OS. |