Jump to content

OnePlus 3T (oneplus-oneplus3t): Difference between revisions

From postmarketOS Wiki
MartinL (talk | contribs)
MartinL (talk | contribs)
Line 195: Line 195:
| Synaptics S1302
| Synaptics S1302
| N
| N
|
| Home, Back
|-
|-
|Fingerprint Reader
|Fingerprint Reader

Revision as of 19:04, 2 August 2022


OnePlus 3T
OnePlus 3T with Plasma Mobile UI
OnePlus 3T with Plasma Mobile UI
Manufacturer OnePlus
Name 3T
Codename oneplus-oneplus3t
Released 2016
Hardware
Chipset Qualcomm MSM8996Pro Snapdragon 821
CPU 2x 2.35 GHz Kryo & 2x 1.6 GHz Kryo
GPU Adreno 530
Display 1080x1920 AMOLED
Storage 64/128 GB
Memory 6 GB
Architecture aarch64
Software
Original software OxygenOS 3.x (Android 6.0 "Marshmallow")
postmarketOS
Category testing
Pre-built images no
Mainline yes
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Partial
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
Works
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
Partial
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

  • DrGit
  • MartinL

Maintainer(s)

Users owning this device

Good luck.

Unlocking the Bootloader

WARNING: Doing this will wipe ALL data on your device. Please backup all your personal data before continuing!

  1. Enable Developer options by tapping the build number 7 times in Settings > About
  2. Go to Developer options and enable both USB Debugging and OEM Unlocking
  3. Open a terminal window and type adb devices to verify your device is visible.
  4. Type adb reboot bootloader to reboot your device into fastboot mode.
  5. Type fastboot devices to verify once again that your device is visible.
  6. Type fastboot oem unlock. To navigate the on screen options use Volume Up/Down and select an option with the Power button.
  7. Congrats, your bootloader is now unlocked!


How to enter flash mode

  1. After the bootloader is unlocked press the Power button and you should see the warning screen. Press Volume Up/Down to open the boot options.
  2. Select Fastboot and press Power

You are now ready to flash.

Installation

Follow the usual flashing guide


Mainline

MSM8996 common mainline kernel fork

Feature Components Status
USB Onsemi FUSB301 (extcon)

PMI8996 SMBCharger (OTG supply)

Y SMBCharger OTG VBUS driver not upstream.
UFS SAMSUNG KLUDG8J1CB-B0B1 (128GB) Y
Display MDSS1,2

Samsung S6E3FA3

Samsung S6E3FA5

Samsung S6E3FA5R9S

Y S6E3FA5R9S untested
GPU Adreno 5301 Y Somewhat glitchy, causes some artifacts and tearing in GNOME and GTK4 due to a possible mesa bug. Can be mitigated by disabling binning by setting FD_MESA_DEBUG=nobin.
WiFi QCA6174a Y
Bluetooth P Bluetooth is detected but currently untested
Modem MSS1 N Calls and SMS untested. Mobile data requires WIP IPA 2.5 support in IPA driver and modemmanager.
GNSS N requires PDS support in gpsd
NFC NXP PN544 P Driver loads, untested
Audio Codec WCD9335 (Headphones, earpiece, microphones)

NXP TFA9890 (Speaker)

N Untested
Video Codec Venus1 N Untested
Battery TI BQ27541 3400mAh

PMI8996 SMBCharger/Fuel gauge2 SMB13512

P Fuel gauge works. Charger can reach its maximum current at 5V. Faster charging (9V) will require extra handling in the PMI8996 SMBCharger driver, and for better efficiency (and possibly even faster charging) a new driver for SMB1351.
Rear Camera Sensor: Sony IMX298

Lens actuator: ROHM BU63165GWL

N Needs dts, untested, no mainline driver
Front Camera Sensor: Samsung S5K3P8SP N Needs dts, untested, no mainline driver
Sensors SLPI/SSC1,2

Gyroscope/Accelerometer: LSM6DS3

Magnetometer: MMC3416PJ

Pressure

Proximity + Light: APDS-9922

N Work in progress SSC driver.
Touchscreen Synaptics S3320 Y
Touchkeys Synaptics S1302 N Home, Back
Fingerprint Reader fpc1020 N Must confirm if SPI and/or GPIOs leading to it are accessible from the normal world. Work in progress fingerprint subsystem. Needs driver.

If SPI and GPIOs are secure, a driver for QSEECOM will be needed to load the vendor-provided trusted app, as well as something to communicate with it.

Buttons TLMM1,2/PM8996 GPIO2 (Volume Up, Volume Down)

PM8994 PON/RESIN2 (Power)

Y
Tri-state switch TLMM1,2/PM8996 GPIO2 N May need a driver
Haptics PMI8996 Haptics2 N Driver not upstream yet.
LEDs PM8994 LPG2 (Keypad backlights)

PMI8996 LPG/Flash2 (Status light, Flash)

N Will require a driver for flash.

1: Internal component

2: Driver of component

Known issues

Troubleshooting

If the PostmarketOS screen shows "boot partition not found" after flashing, try using recovery installation method.

$ pmbootstrap install --android-recovery-zip
$ pmbootstrap flasher --method=adb sideload
$ # start ADB sideload in recovery (try TWRP or LOS recoveries if yours doesn't have this option)
< wait for any device >
* daemon not running; starting now at tcp:5038
* daemon started successfully
Total xfer: 1.09x                                                                                                           
[01:07:26] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
[01:07:26] DONE!

After ADB sideload is done, power down the phone completely, then boot it up again.

See also