Jump to content

Lynx R1 (lynx-r1)

From postmarketOS Wiki
Revision as of 18:10, 10 October 2024 by Medusa (talk | contribs) (Flashing)
Lynx R1
.
.
Manufacturer Lynx
Name R1
Codename lynx-r1
Released 2023
Type headset
Hardware
Chipset Qualcomm Snapdragon XR2 (SM8250)
CPU Octa-core (1x2.84 GHz Cortex-A77 & 3x2.42 GHz Cortex-A77 & 4x1.80 GHz Cortex-A55)
GPU Adreno 650
Display 3200x1600 (1600x1600 per eye)
Storage 128 GB UFS 3.1
Memory 6 GB LPDDR5
Architecture aarch64
Software
Original software Android
Original version 12
postmarketOS
Category testing
Pre-built images no
Mainline no
Features
Flashing
No data
USB Networking
No data
Internal storage
No data
SD card
No data
Battery
No data
Screen
No data
Touchscreen
No data
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
No data
Bluetooth
No data
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


Contributors

Users owning this device

  • Caleb (Notes: With JTAG breakout)
  • Medusa (Notes: Year of spatial Linux desktop???)


Table of hardware

Component Model Notes
SoC Qualcomm SM8250 Snapdragon XR2
UFS WDC SDINFDK4-128G WD iNAND MC EU521, 128GB UFS 3.1
SD reader ? There's a slot on the left side of the device
Displays JDI/BOE LPM021M528C Unsure how they're connected yet, waiting for vendor sources
Wi-Fi Qualcomm QCA6390 PCI-E
IR Cameras OmniVision OV9282 (x2)
Passtrough cameras OmniVision OV4689 (x2)
Accel/gyro TDK ICM4X6XX
Magnetometer Bosch BMM150
Proximity SensorTek STK3X3X

Bootloader log

strings /dev/block/sde54

Partition layout

kona:~# ls -alh /dev/block/bootdevice/by-name/

Rooting, running ADB as root

  1. Download stock firmware from https://portal.lynx-r.com/downloads/firmware/lynx-r-1/
  2. Download OTA extractor from https://github.com/StevenDoesStuffs/android-ota-extractor
  3. Download Magisk from https://github.com/topjohnwu/Magisk/releases
  4. Download/build https://github.com/tiann/adb_root

---

  1. Install Magisk on the headset using ADB, copy boot.img to internal storage and patch it.
  2. Download patched boot.img
  3. Flash it using Qualcomm EDL mode
  4. After flashing it, copy adb_root Magisk module to internal storage and install it.
  5. You may use ADB as root now (to dump partitions etc). This module breaks scrcpy.

Flashing stock firmware

  1. Download firmware package from Lynx: https://portal.lynx-r.com/api/public/ota/firmware/download/latest-qfil
  2. Download/build QDL tool: https://github.com/linux-msm/qdl
  3. Reboot to EDL using `adb reboot edl`
  4. Flash the headset using the following command: ./qdl --storage ufs --include ./ ./prog_firehose_ddr.elf ./rawprogram0.xml ./patch0.xml ./rawprogram1.xml ./patch1.xml ./rawprogram2.xml ./patch2.xml ./rawprogram3.xml ./patch3.xml ./rawprogram4.xml ./patch4.xml ./rawprogram5.xml ./patch5.xml ./rawprogram_unsparse0_fullupgrade.xml
  5. Reboot the device by holding the power button for ~15 seconds.

See also