Jump to navigation Jump to search
no edit summary
== Installation ==
# 1. Make sure that you are running Android 5.0 (Lollipop) - older versions did not have UEFI firmware.<br /># 2. Install [ me176c-boot].<br /># 3. Set up the <code>APD</code> partition as additional ESP (EFI System Partition), see [ me176c-boot - Setting up an additional ESP partition].<br /># 4. Follow the [[Installation guide]], but use <code>pmbootstrap install --split</code> to generate separate root and boot partition images.<br /># 5. Navigate to the generated partition images (use <code>pmbootstrap export</code>).<br /># 6. The boot partition must be on internal storage. Use <code>fastboot flash APD asus-me176c-boot.img</code> to write it to the <code>APD</code> partition.<br /># 7. Create a boot entry for postmarketOS. Create a file <code>pmos.conf</code>:<br />
title postmarketOS
initrd /acpi-me176c.img
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 /># 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 />
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.
* System partition: <code>fastboot flash system asus-me176c-root.img</code>
* Userdata partition: <code>fastboot flash userdata asus-me176c-root.img</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.
=== SD card ===


Navigation menu