Open main menu

Difference between revisions of "ASUS MeMO Pad 7 (asus-me176c)"

(Undo revision 8448 by Lazcode (talk))
 
(10 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
| imagecaption = asus-me176cx running postmarketOS
 
| imagecaption = asus-me176cx running postmarketOS
 
| releaseyear = 2014
 
| releaseyear = 2014
 +
| category = community
 
| originalsoftware = Android 4.4 KitKat (updated to 5.0 Lollipop + UEFI)  
 
| originalsoftware = Android 4.4 KitKat (updated to 5.0 Lollipop + UEFI)  
| chipset = Intel BayTrail T Z3745
+
| chipset = Intel Bay Trail T Z3745
 
| cpu = Intel® Atom™ CPU  Z3745  @ 1.33GHz
 
| cpu = Intel® Atom™ CPU  Z3745  @ 1.33GHz
 
| gpu = Atom Processor Z36xxx/Z37xxx Series Graphics & Display
 
| gpu = Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Line 16: Line 17:
 
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
 
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
 
| status_usbnet = Y
 
| status_usbnet = Y
| status_flashing = N
+
| status_flashing = Y
 
| status_touch = Y
 
| status_touch = Y
 
| status_screen = Y
 
| status_screen = Y
 
| status_wifi = Y
 
| status_wifi = Y
 
| status_xwayland = Y
 
| status_xwayland = Y
| status_fde =  
+
| status_fde = Y
 
| status_mainline = Y
 
| status_mainline = Y
 
| status_battery = Y
 
| status_battery = Y
Line 35: Line 36:
 
| status_otg = Y
 
| status_otg = Y
 
| booting = Y
 
| booting = Y
| pmoskernel = 4.19 (LTS)
+
| pmoskernel = 5.4 (LTS)
 +
| whet_dhry = 1664.4
 
}}
 
}}
  
Line 50: Line 52:
  
 
== Installation ==
 
== Installation ==
 
+
1. Make sure that you are running Android 5.0 (Lollipop) - older versions did not have UEFI firmware.<br />
0. !!! make sure you have UEFI firmware, which was supplied as part of official lollipop 5.0 update !!!
+
2. Install [https://github.com/me176c-dev/me176c-boot#readme me176c-boot].<br />
 
+
3. Set up the <code>APD</code> partition as additional ESP (EFI System Partition), see [https://github.com/me176c-dev/me176c-boot#limitations me176c-boot - Setting up an additional ESP partition].<br />
1. obtain a bootloader that doesn't suck (i.e. this one: https://forum.xda-developers.com/memo-pad-7/orig-development/bootloader-me176c-boot-asus-memo-pad-7-t3780225), but don't install it yet
+
4. Follow the [[Installation guide]].<br />
 
+
6. The boot partition must be on internal storage. Use <code>pmbootstrap flasher flash_kernel</code> to write it to the <code>APD</code> partition.<br />
2. obtain the rootfs image, the kernel and the initramfs by following [Installation_guide], but instead of running `$ pmbootstrap flasher`, run `$ pmbootstrap export`.
+
7. Create a boot entry for postmarketOS. Create a file <code>pmos.conf</code>:<br />
 
+
<nowiki>
3.0 before flashing the bootloader, mount the esp.img partition image and copy /tmp/postmarketOS-export/initramfs-asus-me176c and /tmp/postmarketOS-export/vmlinuz-asus-me176c to the root (alongside e.g. EFI folder)
 
 
 
3.1 create [esp.img]/loader/entries/postmarketOS.conf and change it's contents like so:
 
<syntaxhighlight lang="config">
 
 
title    postmarketOS
 
title    postmarketOS
 +
volume  80868086-8086-8086-8086-000000000007
 
linux    /vmlinuz-asus-me176c
 
linux    /vmlinuz-asus-me176c
initrd  /initramfs-asus-me176c  
+
initrd  /intel-ucode.img
options  console=tty0
+
initrd  /acpi-me176c.img
</syntaxhighlight>
+
initrd  /initramfs-asus-me176c</nowiki>
 
+
8. Install the new boot entry: Boot into TWRP recovery, mount the ESP partition, and push the new configuration using ADB: <code>adb push pmos.conf /esp/loader/entries/</code><br />
you can add mmc_block.perdev_minors=XX to options if you have added any partitions beyond the original 16
+
9. To boot into postmarketOS, select <code>postmarketOS</code> in the boot menu. You can make it the default by editing <code>/esp/loader/loader.conf</code>.<br />
  
3.2 open [esp.img]/loader/loader.conf, and change "default  android" to "default  postmarketOS"
+
Now you can choose if you would like to install the root partition (<code>asus-me176c-root.img</code>) on internal storage or a SD card.
  
4. umount esp.img and flash it according to the xda guide
+
=== Internal Storage ===
 +
* System partition: <code>pmbootstrap flasher flash_rootfs</code>
 +
* Userdata partition: <code>pmbootstrap flasher flash_rootfs --partition=userdata</code>
 +
* Alternatively, you can consider shrinking the data partition and create a new partition for postmarketOS. It's best to use a Linux system not located on the data partition for this purpose, for example a postmarketOS install on the system partition or on an SD card.
  
5. while in droidboot, use <syntaxhighlight>fastboot flash data asus-me176c.img</syntaxhighlight> to flash rootfs to the device
+
=== SD card ===
 +
Write the root partition image to a partition on your SD card:
  
6. reboot - now you should be booted into postmarketOS
+
# Find the '''correct''' block device (usually <code>/dev/mmcblkXpY</code> but sometimes <code>/dev/sdXY</code>)
 
+
# <code>pmbootstrap export</code>, navigate to exported files
note that charging will be done by whatever android ROM you had previously. I haven't tested if the ROM tries to do anything with data partition at this stage. If you want to be sure, change the partlabel so android can't find it. You can also dualboot (see below)
+
# Write the image to the partition ('''Warning:''' Existing data will be erased): <code>dd if=asus-me176c-root.img of=/dev/mmcblkXpY bs=4M</code>
 
 
I will probably look into charging-sdl in the future
 
 
 
== DualBoot ==
 
 
 
1. remove rootfs from data partition
 
 
 
2. put rootfs to system partition
 
 
 
3. boot into postmarketOS
 
 
 
4. using your favorite linux tools, shrink the data partition and add a new partition with any partlabel you like (e.g postmarketOS)
 
 
 
5. remove rootfs from system partition
 
 
 
6. put rootfs on the new partition
 
 
 
7. put android back on system partition
 
 
 
8. you can now boot into android by holding volume down on bootup and selecting it from the menu
 
  
 
== See also ==
 
== See also ==
lambdadroid's mainline based kernel tree - https://github.com/me176c-dev/me176c-kernel/tree/arch-4.19
+
* [https://github.com/me176c-dev/linux-me176c Linux on ASUS MeMO Pad 7 (ME176C(X))]
 
+
* [https://wiki.archlinux.org/index.php/ASUS_MeMO_Pad_7_(ME176C(X)) Arch Linux on ASUS MeMO Pad 7 (ME176C(X))]
GPS - https://github.com/me176c-dev/android_device_asus_K013/issues/48
+
* [https://forum.xda-developers.com/memo-pad-7/orig-development/rom-unofficial-lineageos-16-0-asus-memo-t3929600/ LineageOS 16.0 (Android) ROM] (uses the same kernel)
 
+
* Unsupported features: [https://github.com/me176c-dev/me176c/issues/3 GPS], [https://github.com/me176c-dev/me176c/issues/2 Camera]
Camera - https://github.com/me176c-dev/android_device_asus_K013/issues/47
 

Latest revision as of 11:34, 25 May 2020

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

Maintainer(s)

Users owning this device


Installation

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.
4. Follow the Installation guide.
6. The boot partition must be on internal storage. Use pmbootstrap flasher flash_kernel to write it to the APD partition.
7. 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

8. 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/
9. To boot into postmarketOS, select postmarketOS in the boot menu. You can make it the default by editing /esp/loader/loader.conf.

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

  • System partition: pmbootstrap flasher flash_rootfs
  • Userdata partition: pmbootstrap flasher flash_rootfs --partition=userdata
  • Alternatively, you can consider shrinking the data partition and create a new partition for postmarketOS. It's best to use a Linux system not located on the data partition for this purpose, for example a postmarketOS install on the system partition or on an SD card.

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. pmbootstrap export, navigate to exported files
  3. 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