Jump to content

Huawei Mediapad T3 10 (huawei-agassi)

From postmarketOS Wiki
Note This device is supported as part of a generic port. Refer to Generic MSM89x7 (qcom-msm89x7) for installation instructions and more information.
Huawei MediaPad T3 10
MediaPad T3 10
MediaPad T3 10
Manufacturer Huawei
Name MediaPad T3 10
Codename huawei-agassi
Model AGS-L09
Released 2017
Type tablet
Hardware
Chipset Qualcomm Snapdragon 425 (MSM8917)
CPU 4x 1.40 GHz ARM Cortex-A53
GPU Adreno 308
Display 800 x 1280 IPS
Storage 16/32 GB (eMMC 5.1)
Memory 1/2/3 GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android 7
Extended version
The most recent supported version from the manufacturer.
Android
FOSS bootloader lk2nd
postmarketOS
Category testing
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
pmOS kernel
The kernel version that runs on the device's port.
6.12
Generic port Generic MSM89x7 (qcom-msm89x7)
Device package device-qcom-msm89x7
Kernel package linux-postmarketos-qcom-msm89x7
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Internal storage
eMMC, SD cards, UFS, ...
Works
SD card
Also includes other external storage cards
Works
Battery
Charging and battery level reporting works
Works
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Built-in DVB
TV tuner/DVB device
Untested
Audio
Audio playback, microphone, headset and buttons.
Partial
Camera
Broken
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Broken
NFC
Near Field Communication
Untested
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Works
USB OTG
USB On-The-Go or USB-C Role switching


Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Works
Magnetometer
Sensor to measure magnetism
Untested
Ambient Light
Untested
Proximity
Untested
Hall Effect
Also known as flip cover sensor
Untested
Haptics
Works
Barometer
Sensor to measure air pressure
Untested
Power Sensor
Sensor to monitor current, voltage and power. Not fuel gauge!
Works


Contributors


Users owning this device

  • NekoCWD (Notes: AGS-L09. 2/16GB. postmarketOS lab rat)


Bootloader unlocking

Hint If your tablet got FRP lock and you can't go settings, just erase frp config via edl: edl e config then factory reset your tablet

1) Go to settings
2) Enable USB debugging and OEM Unlocking
3) Disconnect battery
4) Short EDL points
5) Connect battery
6) Backup whole flash

edl rl backup

7) Download generic bootloader for your device from bootloaders repo
8) Flash bootloader partitions to device

Warning WARNING: Do not skip step 5! Backup ALL of your tablet flash! You will flash aboot/sbl and other important partitions via EDL. If you don't want to miss your IMEI/MAC or you want to roll back to android, backup all partitions
edl wl AGS-LXX

9) Reboot to fastboot (Power+Vol -)
10) Start unlocking procedure

fastboot oem unlock
Hint If you are getting error like FAILED (remote: 'oem unlock is not allowed'). See step 1. You need to restore flash from your backup and enable OEM unlocking. Then repeat all the steps

11) Continue unlocking procedure

Warning WARNING: This will wipe userdata!
fastboot oem unlock-go

Your device is unlocked now. But it won't boot into android because of wrong board-id in device tree.

LK2nd

Warning WARNING: Upstream lk2nd has only DT that works with custom bootloader from the section above. Feel free to fix it <3

Use this guide
To build LK2nd for this device you need to add additional option to make

Hint You need to install arm-none-eabi gcc. On Arch you can run sudo pacman -S arm-none-eabi-gcc
make TOOLCHAIN_PREFIX=arm-none-eabi- lk2nd-msm8952 LK2ND_ADTBS="msm8917-huawei-agassi.dtb" LK2ND_COMPATIBLE="huawei,agassi"


MPV configuration

This is a MediaPad. We need to play some media on it.

MPV is a lightweight player. But its OSD is awful on our screen configuration. To make it more usable let's configure it.

In first of all make configuration directories:

mkdir -p ~/.config/mpv/script-opts

Open ~/.config/mpv/mpv.conf and configure basic mpv behavior:

profile=fast # Worse quality, but no lags
hwdec=auto # Use best decoder
fs=yes # Open MPV in fullscreen mode

OSD is too small?

Open ~/.config/mpv/script-opts/osc.conf and configure OSC:

layout=box # Best layout for touchscreen imo
scalewindowed=4 # Show big controls
scalefullscreen=4 # Show big controls


Test Points

UART and EDL

See also

My 6.12 kernel tree