meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
install-android [2021/05/16 23:28]
a-wai created
install-android [2021/05/18 09:37]
a-wai Remove link to OP6T (merged with OP6 image download)
Line 6: Line 6:
 === Pre-built Images === === Pre-built Images ===
 We recommend downloading pre-built images for installation. The image files for your device will be packed in a file named ''​mobian-<​device>​-phosh-YYYYMMDD.tar.gz''​ and can be found here: We recommend downloading pre-built images for installation. The image files for your device will be packed in a file named ''​mobian-<​device>​-phosh-YYYYMMDD.tar.gz''​ and can be found here:
-  * [[https://​images.mobian-project.org/​oneplus6/​nightly/​|OnePlus 6]] +  * [[https://​images.mobian-project.org/​oneplus6/​nightly/​|OnePlus 6/6T]]
-  * [[https://​images.mobian-project.org/​oneplus6t/​nightly/​|OnePlus ​6T]]+
   * [[https://​images.mobian-project.org/​pocof1/​nightly/​|Pocophone F1]]   * [[https://​images.mobian-project.org/​pocof1/​nightly/​|Pocophone F1]]
  
Line 18: Line 17:
 We also recommend that you upgrade Android to the latest available version and install all system updates before installing Mobian. We also recommend that you upgrade Android to the latest available version and install all system updates before installing Mobian.
  
-==== Flashing the Image to the Target ​Storage ​Device ===+==== Flashing the Image to the Target Device ===
  
 **WARNING: Flashing Mobian to your device will wipe your Android installation! Please install a recovery software such as [[https://​twrp.me/​|TWRP]] and make sure you understand how to recover your system before proceeding** **WARNING: Flashing Mobian to your device will wipe your Android installation! Please install a recovery software such as [[https://​twrp.me/​|TWRP]] and make sure you understand how to recover your system before proceeding**
Line 25: Line 24:
  
 In practice, this means we can't flash a single image file, and the the downloaded tarball will contain: In practice, this means we can't flash a single image file, and the the downloaded tarball will contain:
-  * an Android bootimg containing the kernel, device-tree and initramfs named ''​mobian-<​device>​-phosh-YYYYMMDD.boot.img''​+  * an Android bootimg containing the kernel, device-tree and initramfs named ''​mobian-<​device>​-phosh-YYYYMMDD.boot-<​variant>​.img''​
   * an F2FS-formatted rootfs (using Android'​s sparse image format) named ''​mobian-<​device>​-phosh-YYYYMMDD.root.img''​   * an F2FS-formatted rootfs (using Android'​s sparse image format) named ''​mobian-<​device>​-phosh-YYYYMMDD.root.img''​
 +
 +As these devices have several variants, which differ only by the device-tree they need, and the DT being part of the bootimg, we provide one bootimg for each variant. You have to flash the one matching your device:
 +  * OnePlus 6: ''​enchilada''​
 +  * OnePlus 6T: ''​fajita''​
 +  * Pocophone F1: use the ''​beryllium-tianma''​ variant first; if the display never shows up, then switch to the ''​beryllium-ebbg''​ variant
  
 Once you have extracted those files from the tarball, boot your device into //Fastboot mode//, connect it to your computer using a USB cable and run the following commands to install Mobian: Once you have extracted those files from the tarball, boot your device into //Fastboot mode//, connect it to your computer using a USB cable and run the following commands to install Mobian:
  
-  fastboot flash boot mobian-<​device>​-phosh-YYYYMMDD.boot.img +  fastboot flash boot mobian-<​device>​-phosh-YYYYMMDD.boot-<​variant>​.img 
-  fastboot -S 100M flash userdata mobian-<​device>​-phosh-YYYYMMDD.boot.img+  fastboot -S 100M flash userdata mobian-<​device>​-phosh-YYYYMMDD.root.img
   fastboot erase dtbo   fastboot erase dtbo