Motorola Moto G 2014 (motorola-titan): Difference between revisions
Appearance
No edit summary |
Added infobox, removed HTML, formatted table. |
||
Line 1: | Line 1: | ||
[[Category:Supported Devices]] | [[Category:Supported Devices]] | ||
[[Category:Devices]] | |||
{{Infobox device | |||
| manufacturer = Motorola | |||
| name = Moto G (2nd gen) | |||
| codename = titan | |||
| image = File:Moto G 2014 Weston.png | |||
| imagecaption = Moto G 2014 running Weston | |||
| releaseyear = 2014 | |||
| originalsoftware = Android 4.4.4 on Linux 3.10 | |||
| cpu = Qualcomm MSM8226 Snapdragon 400 | |||
| gpu = Adreno 305 | |||
| storage = 8GB | |||
| display = 720x1280 IPS | |||
| memory = 1GB | |||
}} | |||
=== Contributors === | === Contributors === | ||
Line 77: | Line 87: | ||
=== Links === | === Links === | ||
* [https://github.com/LineageOS/android_kernel_motorola_msm8226 android_kernel_motorola_msm8226] | |||
* [https://github.com/LineageOS/lineage_wiki/blob/master/_data/devices/titan.yml titan.yml] | |||
* [https://github.com/LineageOS/android_kernel_motorola_msm8226/blob/cm-14.1/arch/arm/configs/titan_defconfig defconfig] | |||
* [https://github.com/LineageOS/android_device_motorola_titan/blob/cm-14.1/proprietary-files.txt proprietary-files.txt] | |||
* [https://cve.lineageos.org/android_kernel_motorola_msm8226 CVE security status] | |||
* [http://termbin.com/84rz dmesg.txt] | |||
=== Drivers table === | === Drivers table === | ||
{| | {| class="wikitable sortable" | ||
! Component | ! Component | ||
! Brand | ! Brand | ||
Line 100: | Line 106: | ||
| bma2x2 | | bma2x2 | ||
| | | | ||
|- | |- | ||
| Framebuffer | | Framebuffer | ||
| | | | ||
| mdss | | mdss | ||
| Yes | | Yes | ||
Line 110: | Line 114: | ||
| WiFi | | WiFi | ||
| | | | ||
| [https://github.com/LineageOS/android_kernel_motorola_msm8226/blob/cm-14.1/Documentation/devicetree/bindings/wcnss/wcnss-wlan.txt wcnss] | | [https://github.com/LineageOS/android_kernel_motorola_msm8226/blob/cm-14.1/Documentation/devicetree/bindings/wcnss/wcnss-wlan.txt wcnss] | ||
| | | | ||
|- | |- | ||
| Storage | | Storage | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
| USB networking | | USB networking | ||
| | | | ||
| | | | ||
| | | | ||
|} | |} |
Revision as of 16:13, 31 August 2017
![]() Moto G 2014 running Weston | |
Manufacturer | Motorola |
---|---|
Name | Moto G (2nd gen) |
Codename | titan |
Released | 2014 |
Hardware | |
CPU | Qualcomm MSM8226 Snapdragon 400 |
GPU | Adreno 305 |
Display | 720x1280 IPS |
Storage | 8GB |
Memory | 1GB |
Software | |
Original software | Android 4.4.4 on Linux 3.10 |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | no |
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
What works
- [x] Kernel compiles (LineageOS)
- [x] Booting the system
- [ ] Splash screens
- [x] Unlock the root encrypted partition
- [x] Framebuffer graphics
- [x] Weston
- [x] Touchscreen
- [ ] XWayland
- [ ] Battery
- [ ] Flash light
- [ ] RGB front LED
- [ ] Backlight control
- [x] flash_system
- [x] boot
- [ ] flash_kernel
- [ ] wifi
What doesn't work well
- I had to disable -Werror in order to compile the kernel
- initfs hook is not executed
- Splash screens don't work and I cannot get framebuffer working in initramfs
- Screen is black after I've entered the password. Workaround:
sh /etc/postmarketos-mkinitfs/hooks/00-device-motorola-titan.sh`
- Cannot boot if kernel is XZ-compressed (it boots if you build it using Android's build system)
- flash_kernel: boot image is too big
- wifi: requires wcnss-service (see issue #373 and the wiki page Qualcomm MSM Interface).
- show_splash
# From initramfs /tmp # show_splash splash1.ppm.gz fbsplash: short read
This is written to dmesg everytime you type the previous command:
[ 74.192213,0] mdss_fb_alloc_fb_ion_memory: alloc 0x398000B vaddr = e9b99000 (0x00200000 iova) for fb0 [ 74.192374,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.192685,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.192846,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.193004,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.193106,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.193263,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.193366,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.193522,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.193624,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.193780,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.193882,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.194037,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.194138,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.194292,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.194446,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.194547,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.194702,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.194804,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.194960,0] vm_start=b6ad2000 vm_end=b6e6a000 vm_page_prot=1799 [ 74.196516,0] lm3630a_bl 0-0038: wake up and re-init chip
Useful stuff
White LED:
echo 255 > /sys/devices/leds-qpnp-rgb-e1d8be00/leds/white/brightness
Links
- android_kernel_motorola_msm8226
- titan.yml
- defconfig
- proprietary-files.txt
- CVE security status
- dmesg.txt
Drivers table
Component | Brand | Module | Works? |
---|---|---|---|
Accelerometer | Bosch Sensortec MEMS accelerometer sensor driver | bma2x2 | |
Framebuffer | mdss | Yes | |
WiFi | wcnss | ||
Storage | |||
USB networking |