sargo-temp/README.md

6.7 KiB
Raw Blame History

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:

Project Status

Issues on Debian Salsa

Various issues can be found on Salsa: https://salsa.debian.org/Mobian-team/devices/kernels/qcom-linux/-/issues/?sort=created_date&state=opened&search=sargo%2Fbonito&first_page_size=20

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
  • plymouth
  • battery/charging
  • SMS
  • 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)
  • audio (ALSA config not packaged, but can be manually added using the playbook in this repo)
  • camera (currently only one camera works at a time, image quality is still not anywhere near Android, driver is work in progress, 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