Jump to content

Amazon Fire 7 2015 (amazon-ford): Difference between revisions

From postmarketOS Wiki
Cdde (talk | contribs)
Document the current state of trying to get kernel to compile
Exkc (talk | contribs)
No edit summary
 
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
Amazon Fire 7" is a cheap low-end tablet released back in November of 2015. It had specs similar to a Nexus 7 from 2012.
{{Infobox device
{{Infobox device
| manufacturer = Amazon
| manufacturer = Amazon
| name = Fire 7 (2015)
| name = Fire 7 (2015)
| codename = amazon-ford
| codename = amazon-ford
| image = File:Fire72015.jpg
| image = File:Fire72015.jpg
| imagecaption = Amazon Fire 7 running Weston and it's demo programs
| imagecaption = Amazon Fire 7 running postmarketOS with Weston
| releaseyear = 2015
| releaseyear = 2015
| originalsoftware = Fire OS 5 (based on Android Lollipop)
| originalsoftware = Android (Fire OS)
| originalversion = 5 (FireOS 5)
| chipset = MediaTek MT8127
| chipset = MediaTek MT8127
| cpu = Quad-core 1.3 GHz Cortex-A7
| cpu = Quad-core 1.3 GHz Cortex-A7
| gpu = Mali-450MP4
| gpu = Mali-450MP4
| storage = 8GB, expandable up to 256GB with microSD card
| storage = 8 GB
| display = 600x1024 IPS  
| display = 600x1024 IPS
| memory = 1GB
| memory = 1 GB
| architecture = armv7
| architecture = armv7
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
| type = tablet
| status_usbnet = Y
| status_usbnet = Y
| status_flashing = <!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. -->
| status_flashing = Y
| status_touch = Y
| status_touch = Y
| status_screen = Y
| status_screen = Y
| status_wifi =  
| status_wifi = <!-- Wireless network works? -->
| status_xwayland = Y
| status_xwayland = <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
| status_fde =
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_mainline =
| status_mainline = N
| status_battery = Y
| status_battery = <!-- Charging the battery with charging-sdl is possible -->
| status_3d = <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_3d = <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_accel = 
| status_audio = <!-- Using the device's speakers/headphone jack works -->
| status_audio =  
| status_bluetooth = <!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_bluetooth =  
| status_camera = <!-- Taking photos and videos works. -->
| status_camera =  
| status_gps = <!-- The Global Positioning System sensor works. -->
| status_gps =   
| status_mobiledata = -
| status_mobiledata = -
| status_sms = -
| status_sms = -
| status_calls = -
| status_calls = -
| status = Boots, no MR/port in pmaports
| status_otg = Y
| booting = no
| status_nfc = <!-- Near-Field Communication (NFC) works -->
| status_usba = -
| status_hdmidp = -
| status_keyboard = -
| status_touchpad = -
| status_irtx = <!-- Infrared (IR) port works -->
| status_trustzone = <!-- TrustZone works -->
| status_accel = <!-- The sensor that measures proper acceleration works -->
| status_magnet = <!-- Magnetometer works -->
| status_light = <!-- Ambient light sensor works -->
| status_proximity = <!-- Proximity sensor works -->
| status_hall = <!-- Hall effect sensor works -->
| status_barometer = <!-- Barometer works -->
| status_powersensor = <!-- Power sensor works -->
| status_fossbootloader = N
| booting = yes
| pmoskernel = 3.10.54


<!-- you can also use these lines if you need to:
<!-- you can also use these lines if you need to:
if the device haven't originally ran Android OS, e.g. Nokia N900
| n-android =  ✔
Version of the kernel that pmos is running
| pmoskernel = 3.x.x
see Unixbench page on wiki
see Unixbench page on wiki
| whet_dhry = 0.0
| whet_dhry = 0.0
Is OTG available, not used in wiki
| status_otg =
-->
-->
}}
}}


== Contributors ==
== Contributors ==
* reon0
* BenTheTechGuy


== Users owning this device ==
== Users owning this device ==
{{Device owners}}
{{Device owners}}
<!-- Don't edit this block directly, add the device to your User: page -->
<!-- autogenerated, use {{Owns device|devicepage|notes}} on your profile page -->
<!-- use _ instead of spaces in device page name, e.g. {{Owns device|HTC_Desire_(htc-bravo)|custom notes}}-->
<!-- you may need to purge page cache to see changes (more->purge cache)-->
<!-- you can use {{My devices}} on your profile page to show table with all your devices -->


== Unlock the bootloader ==
== How to enter flash mode ==
Before installing pmOS, you will need to unlock your bootloader by following the instructions here:  
* Your bootloader must be unlocked via this method: https://forum.xda-developers.com/amazon-fire/development/unlock-fire-t3899860
https://forum.xda-developers.com/amazon-fire/development/unlock-fire-t3899860


== Entering recovery mode ==
* TWRP can be reached by holding {{button|Volume Down}} and {{button|Power}} at boot.
* Press and hold the power button and the left volume button until the device powers on. The Amazon splash screen should be visible, with the addition of text on the left side of the display reading "=> RECOVERY MODE...".


== Installation ==
== Installation ==
Booting into TWRP and flashing a pmOS zip made with 'pmbootstrap install --android-recovery-zip' works. Fastboot has not been tested yet.
{{Warning | PMOS needs to be flashed using TWRP instead of fastboot so the boot.img can be patched with the amonet exploit.}}
<nowiki>
pmbootstrap init
pmbootstrap install --android-recovery-zip
# Make sure you're booted into TWRP at this point and Started ADB Sideload on the device
pmbootstrap flasher --method=adb sideload
</nowiki>


== What works ==
== See also ==
* Installing via TWRP
* {{MR|3286|pmaports}} Initial merge request
* USB Networking
* {{Device package|amazon-ford}}
* Touchscreen (needs configuring, read Issues section)
* {{Kernel package|amazon-ford}}
* Display (works but needs msm-fb-refresher)
* Wayland
* XWayland
* Battery
* USB OTG (tested with USB sound card and external keyboard)
 
== What doesn't work or hasn't been tested ==
* Wi-Fi (no driver)
* Bluetooth
* FDE
* Audio from the internal speaker and headphone jack
* Cameras
* Anything else that isn't filled in
 
== Kernel compilation issues when using ggow's amazon MT8127 kernel ==
 
* virtual_sensor_cpufreq_cooling.c in drivers/thermal needs to be modified to use #include "thermal_core.h" instead of #include <thermal_core.h>
* tpd_debug.c in arch/arm/mach-mt8127/ford/touchpanel needs to be modified to use #include "tpd.h" instead of #include <tpd.h>
** Without these two changes to the kernel source, the kernel will fail to compile.
** The only kernels from ggow's "android_kernel_amazon_mt8127-common" repo that work with these fixes are cm-12.1 and amazon-5364.
 
* The kernel can only be compiled with gcc6 or gcc4.
** Note: It seems like this no longer works (latest gcc, gcc6 or gcc4 with either branch):
 
tools/include/tools/be_byteshift.h:4:10: fatal error: linux/types.h: No such file or directory
    4 | #include <linux/types.h>
      |         ^<nowiki>~~~~~~~~~~~~~~</nowiki>
compilation terminated.
 
== Other issues ==
* The touchscreen will be flipped vertically even though the screen itself is in a horizontal resolution. This can be fixed by creating '/etc/udev/rules.d/90-android-touch-dev.rules' and appending these lines to the file:
 
ENV{ID_INPUT}="1", ENV{ID_INPUT_TOUCHSCREEN}="1", \
ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1"
 
* The screen will not refresh on a fresh install. 'msm-fb-refresher' can be installed to fix this issue.
 
== Links ==
* [https://github.com/ggow/android_kernel_amazon_mt8127-common/ Kernel source code - ggow/android_kernel_amazon_mt8127-common/]
 
[[Category:Mediatek]]

Latest revision as of 11:27, 26 February 2024

Amazon Fire 7" is a cheap low-end tablet released back in November of 2015. It had specs similar to a Nexus 7 from 2012.

Amazon Fire 7 (2015)
Amazon Fire 7 running postmarketOS with Weston
Amazon Fire 7 running postmarketOS with Weston
Manufacturer Amazon
Name Fire 7 (2015)
Codename amazon-ford
Released 2015
Type tablet
Hardware
Chipset MediaTek MT8127
CPU Quad-core 1.3 GHz Cortex-A7
GPU Mali-450MP4
Display 600x1024 IPS
Storage 8 GB
Memory 1 GB
Architecture armv7
Software
Original software Android (Fire OS)
Original version 5 (FireOS 5)
FOSS bootloader no
postmarketOS
Category testing
Pre-built images no
Mainline no
postmarketOS kernel 3.10.54
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
No data
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
IR TX
No data
Connectivity
WiFi
No data
Bluetooth
No data
GPS
No data
NFC
No data
Miscellaneous
FDE
No data
USB OTG
Works
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data
Power Sensor
No data


Contributors

  • BenTheTechGuy

Users owning this device


How to enter flash mode

  • TWRP can be reached by holding Volume Down and Power at boot.

Installation

Warning WARNING: PMOS needs to be flashed using TWRP instead of fastboot so the boot.img can be patched with the amonet exploit.
pmbootstrap init
pmbootstrap install --android-recovery-zip
# Make sure you're booted into TWRP at this point and Started ADB Sideload on the device
pmbootstrap flasher --method=adb sideload

See also