Jump to content

General Mobile E-Tab 4 (gm-mehmet)

From postmarketOS Wiki
General Mobile E-Tab 4 (2012)
E-tab 4 front
E-tab 4 front
Manufacturer General Mobile
Name E-Tab 4 (2012)
Codename gm-mehmet
Released 2012
Hardware
Chipset Samsung Exynos 4412 Quad
CPU Cortex-A9
GPU Mali-400 MP
Display 800x1280
Storage 16GB
Memory ~1GB RAM
Architecture armv7
Software
Original software
The software and version the device was shipped with.
Android 4.2.2
Extended version
The most recent supported version from the manufacturer.
Android
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
Features
Flashing
Whether it is possible to flash the device with pmbootstrap flasher.
Partial
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Untested
Battery
Whether charging and battery level reporting work.
Untested
Screen
Whether the display works; ideally with sleep mode and brightness control.
Works
Touchscreen
Untested
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
IR TX
Untested
Connectivity
WiFi
Untested
Bluetooth
Untested
GPS
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
USB OTG
USB On-The-Go or USB-C Role switching.
Untested
Sensors
Accelerometer
Handles automatic screen rotation in many interfaces.
Untested
Note Note: WIP page
Note Note: Device boot patition size is 10MB but mainline kernel boot.img is 13.3MB. We need decrease size

Contributors

Users owning this device

  • 19atlas (Notes: android 4.2.2 is too old also device is old)
  • V6lhost (Notes: My new mainline target)

How to enter flash mode

Press Power + Volume Up to boot into recovery mode (i recommend using TWRP Recovery)

For fastboot, try adb reboot fastboot. but fastboot maybe broken

Installation

Since it's not currently merged into the Exynos4 kernel, to compile and boot it:

$ make exynos4_defconfig
$ make O=.output
$ pmbootstrap build --envkernel linux-postmarketos-exynos4 --force


for building device images

Clone device package repository into your cache_git/pmaports/device/testing/ . its probably under ~/.local/var/pmbootstrap/ directory.

$ pmbootstrap init #select gm-mehmet
$ pmbootstrap install

We recommend using recovery mode (ex. twrp). $ pmbootstrap install --android-recovery-zip

Mainline component status

Element type Element Works? Notes
Chipset Exynos 4412 yes
Graphics Mali-400MP4 CONFIG_VIDEO_MALI400MP=y CONFIG_USE_LEGACY_MFC=y CONFIG_VIDEO_AS0260=y
PMIC (Regulators) max77686 Supported in mainline
Fuel gauge MAX17040 Supported by MAX17042 driver
Charger MAX8903 Supported in mainline (though no other DTSes use it yet...)
Touchscreen Focaltech ft5x0x or Atmel MXT1664S Atmel supported, Focaltech unclear (need exact model number, but should be supported by edt-ft5x06 driver?)
Display LTN101AL03 supported in mainline mainline LTN101AL03 patch
Backlight PWM backlight Can use the pwm-backlight driver.
Buttons gpio-keys Volume up/down and power button.
Audio WM8985 The codec itself is supported but we might need more to get it to work.
Camera ON Semiconductor AS0260 Not in mainline,
GPS UBLOX G6010 Not in mainline
Accelerometer Bosch BMA150 Supported in mainline. Oddly enough, downstream handles it in some Yamaha-related driver (grep for YAS_ACC_DRIVER), drivers/input/misc/yas_cfg.h
Magnetometer Alps HSCDTD007/008 Downstream sources initially led to Yamaha YAS530, grep for YAS_MAG_DRIVER, drivers/input/misc/yas_cfg.h; but dmesg claims HSCDTD007/008. Either way, supported in mainline.
Light sensor ISL29023 Supported in mainline by ISL29018 driver

Some parts of this have been verified with a MEHMET_HW_VE1 [0x7] revision tablet.

See also