Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 7 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
# pm-flashtool
Tool for Flashing CM+PM as LXC Container
Tool for flashing Plasma Mobile and Halium

# Typical workflow.. (How it works)

- Waits for device to be in fastboot mode,
- Downloads twrp recovery and flashes into recovery
- Downloads Plama Mobile rootfs and the boot, recovery, and system images
- Boots into recovery
- Downloads cm.zip and pushes it to /cache
- Creates command file with
```
--update_package=/sdcard/cm.zip
```
- pushes it to /cache/recovery/command
- Reboots into recovery
- recovery installs cm.zip
- reboots in system
- Installs lxc and plasma rootfs
- Installs Plasma Mobile on the device using `rootstock-toch-install`

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: rootstock-toch-install -> rootstock-touch-install

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly, I'm not sure if this PR is up to date any more, I haven't looked into this for a long time.


# Howto use

Expand All @@ -33,22 +24,11 @@ Without options pm-flash script downloads all files again, pass '-c' to let it u
./pm-flash -c
```

This

a) Downloads the files required in ~/.cache/plasmaphone
b) Flashes cyanogenmod
c) Puts togather lxc and plasma rootfs
This won't download the required files again and use previously downloaded files instead.

After that you can run

```
adb root
adb shell
lxc-start -n system -F
```
After that your phone should reboot into Plasma Mobile.

to get login console and plasma started
To get a console login, try

Multirom version
----------------
See instructions here : https://community.kde.org/Plasma/Mobile/CyanogenModBase#MultiROM_instructions_.28For_dualboot.29
`$ ssh phablet@10.15.19.82`