ASUS MeMO Pad 7 (asus-me176c)

From postmarketOS
Revision as of 20:03, 20 March 2021 by Minecrell (talk | contribs) (Refactor installation instructions for pre-built images)
Jump to navigation Jump to search
ASUS MeMO Pad 7 (ME176C(X))
asus-me176cx running postmarketOS
asus-me176cx running postmarketOS
Manufacturer ASUS
Name MeMO Pad 7 (ME176C(X))
Codename asus-me176c
Released 2014
Category community
Original software Android 4.4 KitKat (updated to 5.0 Lollipop + UEFI)
postmarketOS kernel 5.4 (LTS)
Hardware
Chipset Intel Bay Trail T Z3745
CPU Intel® Atom™ CPU Z3745 @ 1.33GHz
GPU Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Display 7" 800x1280 IPS LCD
Storage 8/16 GB
Memory 1 GB
Architecture x86_64
Unixbench Whet/Dhry score 1664.4
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Works
Xwayland
Works
FDE
Works
Mainline
Works
Battery
Works
3D Acceleration
Works
Accelerometer
Works
Audio
Works
Bluetooth
Works
Camera
Broken
GPS
Broken
Mobile data
Unavailable
SMS
Unavailable
Calls
Unavailable
USB OTG
Works



Contributors

Users owning this device


Installation

Preparation

The device has a locked Android bootloader. To boot other operating systems, you need to replace the bootloader entirely with a custom one.

  1. Make sure that you are running Android 5.0 (Lollipop) - older versions did not have UEFI firmware.
  2. Install me176c-boot.
  3. Set up the APD partition as additional ESP (EFI System Partition), see me176c-boot - Setting up an additional ESP partition.

Pre-built image

There are pre-built images that can be easily installed without pmbootstrap. Currently, there is only an image with the Phosh UI. If you want more control about the installation (e.g. no proprietary firmware, different UI, extra packages, ...) consider using the pmbootstrap installation method instead (documented further below).

Note: sshd is currently enabled by default in the pre-built images (build.postmarketos.org#85)!

First, download an image for your device:

  • edge bleeding edge version (has latest features, but may break more often).
  • v21.03 (TBD) stable version, less updates, more stability

Download 2 files:

  1. <date>-...-asus-me176c-bootpart.img.xz (boot partition)
  2. <date>-...-asus-me176c.img.xz (rootfs)

Unpack them using unxz *.xz.

Note: The default username is user, and the default password is 147147.

pmbootstrap

  1. Follow the Installation guide.
  2. Use pmbootstrap export to get the same files as in the pre-built images section.

Flashing boot partition

The bootloader cannot boot directly from a SD card, therefore the boot partition must be always on internal storage.

Boot into Fastboot mode, and use fastboot flash APD asus-me176c-bootpart.img (or pmbootstrap flasher flash_kernel with pmbootstrap) to flash the boot partition. Then you need to create a boot entry for postmarketOS. Create a file pmos.conf:

title    postmarketOS
volume   80868086-8086-8086-8086-000000000007
linux    /vmlinuz-asus-me176c
initrd   /intel-ucode.img
initrd   /acpi-me176c.img
initrd   /initramfs-asus-me176c
# Comment this out to get more output on screen while booting
options  console=null

To install the new boot entry, boot into TWRP recovery, mount the ESP partition, and push the new configuration using ADB: adb push pmos.conf /esp/loader/entries/

Now you can choose if you would like to install the root partition (asus-me176c(-root).img) on internal storage or a SD card.

Internal Storage

Normally you should be also able to flash the rootfs using Fastboot:

  • System partition: fastboot flash system asus-me176c.img (pmbootstrap flasher flash_rootfs)
  • Userdata partition (larger): fastboot flash userdata asus-me176c.img (pmbootstrap flasher flash_rootfs --partition=userdata)

However, if you get an error you may need to flash it using dd via the TWRP recovery instead:

$ gzip -c ...-asus-me176c.img.gz | adb shell "zcat | dd of=/dev/block/by-name/system bs=4m"

SD card

Write the root partition image to a partition on your SD card:

  1. Find the correct block device (usually /dev/mmcblkXpY but sometimes /dev/sdXY)
  2. Write the image to the partition (Warning: Existing data will be erased): dd if=asus-me176c-root.img of=/dev/mmcblkXpY bs=4M

See also