Commit 637948a7 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

Redirect to documentation

parent 07af844e
Pipeline #1399 passed with stage
in 46 seconds
---
title: Flashing the Neon or Arch based image
title: Installation
permalink: /neon-arch-reference-rootfs/
layout: default
---
## Plasma Phone Reference System
<meta http-equiv="refresh" content="0; url=https://docs.plasma-mobile.org/Installation.html" />
Supported Device: **Nexus 5X (bullhead)**
Needed software tools: **adb, fastboot**
If you flash Plasma Mobile for the first time, you likely need to follow
steps 1A and 1B.
After successfully done those steps, you can always jump straight to
step 2 for future flashing.
### 1A. Unlock (skip if already unlocked)
Unlock the Nexus 5X:
<https://forum.xda-developers.com/nexus-5x/general/guides-how-to-guides-beginners-t3206930>
### 1B. Put into firmware mode and run once:
**CAUTION: This will erase the complete memory of your Nexus 5X device!
Please ensure you have a backup of all your data before you proceed.**
$ fastboot format cache
$ fastboot format userdata
### 2. Flashing Plasma Mobile (PM)
Put your Nexus 5X in fastboot mode (press volume down + power button
at once), then open a terminal and run
$ git clone https://github.com/plasma-phone-packaging/pm-flashtool.git
$ cd pm-flashtool
$ ./pm-flash
The -c parameter of script can be used to re-use the **cache** instead
of downloading all the files again.
The -p ***platform*** parameter currently accepts ***neon***, ***arch***
and ***edge***. Edge rootfs is the latest development snapshot of Plasma Mobile and the platform recommended for testing new features and bug fixes.
It will download all files required and store them in cache subdir, e.g.
for Nexus 5X (*bullhead)*:
- pm-rootfs-20180124-113114.tar.gz (Plasma Mobile rootfs)
- recovery.img (TWRP recovery img)
- system.img (Halium image containing the hardware adaption for each device)
- boot.img (Halium initrd)
Then the TWRP Recovery img is used as a tool to flash all other
components to the target device.
Note: The above could take quite some time (15-20 minutes) and require
to enter your password to continue.
### After Flashing is done
If successfull, you should automatically see the Login Screen.
The password to unlock is ‘1234’.
(the username to enter the login prompt for your phone from an adb shell
desktop terminal is ‘phablet’, password is ‘1234’).
See [more tips what to do after flashing
here](/tips).
<p>This page has moved, you should be automatically redirected. If not, please click <a href="https://docs.plasma-mobile.org/Installation.html">here</a>.</p>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment