Temporary fixes that make Mobian work on sargo
Find a file
2024-09-07 22:32:28 +02:00
ansible update package name for q6voiced 2024-09-07 22:32:28 +02:00
.gitignore Initial commit 2024-07-16 17:44:34 +00:00
IMAGE.md add note about packages that might be required 2024-08-31 21:46:43 +02:00
LICENSE Initial commit 2024-07-16 17:44:34 +00:00
README.md Update status of the project and also fix a few typos 2024-09-07 17:40:11 +02:00

sargo-temp

Temporary fixes that make Mobian work on sargo.

Please note that the MIT license does not apply to qcom-firmware.

What to do

Build Image

Instructions can be found in IMAGE.md in this repo.

Flash image

First flash the image. Boot the phone.

Connect via SSH: ssh mobian@10.66.0.1

Accept the host key.

Note: If you built the image with a different username, you will have to set that in ansible/ansible.cfg.

Roll out workarounds using Ansible

You have to have ansible-playbook installed.

Go to the Ansible folder: cd ansible

Roll out workarounds: ./workarounds.sh

Reboot phone via SSH.

Connect to wifi.

Rolling out the workarounds for audio requires installing packages from the repo, so we need an internet connection.

Roll out audio workarounds: ./audio.sh

Note:

  • You might have to switch SIM slots if your SIM card is not recognised.
    • Command: mmcli -m 0 --set-primary-sim-slot=1, options are 1 or 2
    • Note that this reboots the modem, therefore it will be -m 1 and then the next time -m 2 until you reboot and this makes it go back to -m 0.
  • The kernel does not get updates from the repos yet, so watch the git repo to find out when there are new releases so you can compile it again and install the .deb file.
  • Watch the RSS feed for this repo to learn when there is something new:

Project Status

To Do List

Issues To Solve To Get Official Mobian Images

  • Combining SDM670 kernel patches with the Mobian qcom kernel (To Do List entry above, help wanted)

Done:

For those I will remove the workarounds once the changes are in the Mobian repo

Misc Issues

(This is a non-exhaustive list)

Low Priority

  • fix udev rule for the Bluetooth workaround in this repo
  • create/find script/tool that brings up Bluetooth & then package it

This Works

  • booting
  • display
  • touch
  • modem <- You might have to switch to the other slot if it does not work: mmcli -m 0 --set-primary-sim-slot=1, options are 1 or 2. Note that the modem could also be a different number, maybe try -m 1 if it is not found as the command will reboot the modem and then it changes.
  • plymouth
  • battery/charging
  • mobile data
  • wifi
  • torch
  • suspend
  • call audio
  • vibration
  • Bluetooth™
  • full disk encryption
  • eSIM (provisioning tool not yet packaged and has to be compiled and installed manually)
  • SMS
  • audio (ALSA config not packaged, but can be manually added using the playbook in this repo)
  • camera (some sort of bug and it does not work currently, but the support is there, udev rule required)

This Has An Unknown Status

  • Fingerprint Sensor
  • NFC (should work, does so on pmOS)

This Does Not Work Yet (Soon™)

  • GPS
  • USB host mode (no Kernel support yet, but apparently this is being worked on)
  • Verified Boot (first need to do research whether this is actually feasible)

This Is Missing And Will Come Later

  • accelerometer
  • magnetometer
  • ambient light sensor
  • barometer

The Sources (Use The Source, Luke)

Thanks For All The Fish

Huge thanks to be sdm670-linux project and flamingradian who did and still does an awful lot of work to make sure the Kernel works on those devices! :)

I dont know how Kernel development works, so I would have never started porting without this project.

Find that here: https://gitlab.com/sdm670-mainline/linux