Tool for Flashing PM as LXC Container on top of CM
Switch branches/tags
Nothing to show
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore ignore cache Jan 10, 2017 rename script Apr 13, 2017
flash-vendor Rename file Oct 6, 2017
pm-flash fix links in pm-flash Apr 6, 2018
resize-root-partition Changes about space issue Dec 12, 2017
rootstock-touch-install /write output to /dev/null instead of /dev/bull Jun 18, 2018


Tool for Flashing CM+PM as LXC Container

Typical workflow.. (How it works)

  • Waits for device to be in fastboot mode,
  • Downloads twrp recovery and flashes into recovery
  • Boots into recovery
  • Downloads and pushes it to /cache
  • Creates command file with
  • pushes it to /cache/recovery/command
  • Reboots into recovery
  • recovery installs
  • reboots in system
  • Installs lxc and plasma rootfs

Howto use

To run..

git clone
cd pm-flashtool

Without options pm-flash script downloads all files again, pass '-c' to let it use cache instead

./pm-flash -c


a) Downloads the files required in ~/.cache/plasmaphone b) Flashes cyanogenmod c) Puts togather lxc and plasma rootfs

After that you can run

adb root
adb shell
lxc-start -n system -F

to get login console and plasma started

Multirom version

See instructions here :