Amazon Kindle Fire (amazon-otter)
This device has been tested with postmarketOS, but its device package has not yet been added to the postmarketOS repositories. This means that it cannot be selected in pmbootstrap. |
![]() | |
Manufacturer | Amazon |
---|---|
Name | Kindle Fire (1st Gen) |
Codename | amazon-otter |
Released | 2011 |
Type | tablet |
Hardware | |
Chipset | TI OMAP 4430 GP |
CPU | Dual-core 1.0 GHz Cortex-A9 |
GPU | PowerVR SGX540 |
Display | 600 x 1024 IPS LCD |
Storage | 8 GB |
Memory | 512 MB |
Architecture | armv7 |
Software | |
Original software The software and version the device was shipped with. |
Android 2.3 |
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 |
Flashing It is possible to flash the device with pmbootstrap flasher . |
Untested
|
---|---|
USB Networking After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system). |
Works
|
Battery Charging and battery level reporting works |
Works
|
Screen Display works. Ideally with sleep mode and brightness control. |
Partial
|
Touchscreen |
Works
|
Multimedia | |
3D Acceleration |
Untested
|
Audio Audio playback, microphone, headset and buttons. |
Untested
|
Connectivity | |
WiFi |
Works
|
Miscellaneous | |
FDE Full disk encryption and unlocking with unl0kr. |
Untested
|
USB OTG USB On-The-Go or USB-C Role switching |
Works
|
Sensors | |
Accelerometer Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile |
Works
|
Contributors
- Foldmorepaper
- h_ro
Users owning this device
- Foldmorepaper
- Foldmorepaper (Notes: Stuck on orange screen)
- H ro (Notes: kernel v5.11/v5.12)
- Jacobk
- Newblicious (Notes: Using twrp-2.8.4, reverted back to cm11)
Root and Fastboot
If the device can reach fastboot mode, the device does not need to be rooted to install recovery since the stock bootloader is already unlocked. Typically, a "Motorola factory cable" is needed to power the device into fastboot mode, but with root and fbmode utility, the device can reboot into fastboot mode without the special cable.
Rooting with saferoot
$ wget https://forum.xda-developers.com/attachments/saferoot-zip.2760984/ -O saferoot.zip
$ mkdir saferoot
$ cd saferoot
$ unzip ../saferoot.zip
$ ./install.sh
Booting into fastboot from Android
$ wget https://forum.xda-developers.com/attachments/fbmode-zip.833582/ -O fbmode.zip
$ unzip fbmode.zip
$ adb push fbmode /data/local/tmp
$ adb shell chmod 755 /data/local/tmp/fbmode
$ adb shell /data/local/tmp/fbmode
$ adb reboot
Custom Bootloader
A custom version of Hashcode's (2014) u-boot port with device tree support is required to boot mainline Linux kernel. The following steps are based off of h_ro's documentation repo.
Toolchain used: Linaro GCC4.9 ARMv7 Baremetal
Build steps
$ wget https://releases.linaro.org/components/toolchain/binaries/4.9-2017.01/arm-eabi/gcc-linaro-4.9.4-2017.01-x86_64_arm-eabi.tar.xz
$ tar -xvf gcc-linaro-4.9.4-2017.01-x86_64_arm-eabi.tar.xz
$ export CROSS_COMPILE=$PWD/gcc-linaro-4.9.4-2017.01-x86_64_arm-eabi/bin/arm-eabi-
$ git clone https://github.com/hansemro/kf_u-boot.git u-boot
$ cd u-boot
$ make ARCH=arm distclean
$ make ARCH=arm omap4_kc1 -j$(nproc)
Installing bootloader
Set the device to fastboot mode and flash the bootloader directly with fastboot.
$ fastboot flash bootloader u-boot.bin
u-boot version should appear on the top right corner when lcd menu is entered. For postmarketOS, version L2.13 or newer is required.
Custom Recovery: TWRP
Download an otter recovery image from TWRP website here.
Set the device to fastboot mode and flash the recovery with fastboot.
$ fastboot flash recovery twrp-2.8.1.0-otter.img
Note: TWRP v2.X does not seem to support postmarketOS recovery-based install scripts. |
Installation
$ pmbootstrap init
$ pmbootstrap install --split
$ pmbootstrap export
$ fastboot flash media /tmp/postmarketOS-export/amazon-otter-root.img
$ fastboot flash cache /tmp/postmarketOS-export/amazon-otter-boot.img
For more advanced installation methods, see here.
Note: If root image exceeds ~400MB, fastboot no longer becomes suitable method of installation due to bootloader limitations. |
Stock Partition Layout
Output of parted /dev/block/mmcblk0 print
while in TWRP recovery:
Model: MMC M8G2FA (sd/mmc) Disk /dev/block/mmcblk0: 7734MB Sector size (logical/physical): 512B/512B Partition Table: gpt
Number | Start | End | Size | File system | Name | Flags |
---|---|---|---|---|---|---|
1 | 131kB | 262kB | 131kB | xloader | ||
2 | 262kB | 524kB | 262kB | bootloader | ||
3 | 524kB | 11.0MB | 10.5MB | dkernel | ||
4 | 11.0MB | 212MB | 201MB | ext4 | dfs | |
5 | 212MB | 229MB | 16.8MB | recovery | ||
6 | 229MB | 296MB | 67.1MB | ext4 | backup | |
7 | 296MB | 307MB | 10.5MB | boot | ||
8 | 307MB | 312MB | 5243kB | ext4 | splash | |
9 | 312MB | 849MB | 537MB | ext4 | system | |
10 | 849MB | 2041MB | 1192MB | ext4 | userdata | |
11 | 2041MB | 2309MB | 268MB | ext4 | cache | |
12 | 2309MB | 7690MB | 5380MB | fat32 | media |
See also
- pmaports!2202 Initial merge request
- Mainlining effort and documentation