A simple and feature full batch tool to handle installing/replacing Operating Systems (Ubuntu Phone / Ubuntu Touch, Android, CyanogenMod, Maru OS, Sailfish OS and Phoenix OS) on your mobile devices.
Shell
Latest commit 5a9dcfd Jan 19, 2017 @MariusQuabeck committed on GitHub Update flashwipe.sh
Permalink
Failed to load latest commit information.
devices Update flashwipe.sh Jan 18, 2017
LICENSE Create LICENSE Dec 22, 2016
README.md Update README.md Jan 18, 2017
launcher.sh Add Fairphone 2 Dec 29, 2016
mdt.png Update logo Oct 31, 2016
mdtnames.png Add files via upload Jan 14, 2017

README.md

Version 1.0 - magic-device-tool

alt text

A simple and feature full batch tool to handle installing/replacing Operating Systems (Ubuntu Phone / Ubuntu Touch, Android, CyanogenMod, Maru OS, Sailfish OS, and Phoenix OS) on your mobile devices.

Contact

Marius Quabeck (Email)

Mister_Q on irc.freenode.net

Join us on Telegram

Donate if you like

Standard Disclaimer Text

This tool does not let you Dual Boot between Android and Ubuntu Touch.

Not all ROMs are available for all devices.

Functions

  • Ubuntu

    • Install Ubuntu Touch
    • Switch Channels
    • Install OpenStore
    • Screencast
  • Android

    • Install CyanogenMod (with or without GApps)
    • Install Maru OS
    • Install Sailfish OS
    • Install Phoenix OS
    • Install Factory Android Image
    • Backup / Restore
    • Lock/Unlock bootloader
    • Install TWRP recovery
  • Misc

    • Join Telegram Group Chat
    • Report a bug

Requirements

  • Ubuntu 16.04 and above
  • A device from the supported list below
  • USB cable for your device
  • Internet connection
  • about 15 minutes (depending on your Internet speed)

Supported devices

  • BQ Aquaris E4.5 (krillin)
  • BQ Aquaris E5 HD (vegetahd)
  • BQ Aquaris M10 HD (cooler)
  • BQ Aquaris M10 FHD (frieza)
  • Meizu MX 4 (arale)
  • Meizu Pro 5 (turbo) removed until Marius can get his hands on this device
  • LG Nexus 4 (mako)
  • LG Nexus 5 (hammerhead)
  • Asus Nexus 7 2013 WiFi (flo)
  • Asus Nexus 7 2013 LTE (deb)
  • Samsung Nexus 10 (manta)
  • OnePlus One (bacon)
  • Fairphone 2 (FP2)

Usage

Connect the device to the computer with the USB cable

Clone the repo down to your local machine from github

git clone https://github.com/MariusQuabeck/magic-device-tool.git

cd into the new directory

cd magic-device-tool

Make the file executable so the script can run

chmod +x launcher.sh

run the script

./launcher.sh

Then follow the simple on screen guide

FAQ

  • Q: Will you support "device x"?
    A: You can open an issue for a new device, if it has a working port of Ubuntu Touch. Most of them are at ubports.com. If your device isn't there, it probably has no working port, so please don't open new issues.

  • Q: Will you port Ubuntu Touch to "device x"?
    A: We are not responsible for porting Ubuntu Touch, so no.

  • Q: What language is mdt written in?
    A: Bash. So you don't have to give root to an app, you can't figure out.

  • Q: How does mdt work?
    A: mdt downloads some tools from the ubuntu repos and, depending on your choices, gets the newest recovery and ROM for your device and flashes it. If you want to know more, just read the source (it's only bash).

  • Q: Is it called Ubuntu Touch, Ubuntu for devices, or just Ubuntu?
    A: We really don't care ;)

  • Q: What is the "OpenStore"?
    A: An easy way to sideload apps on Ubuntu Touch. You can find more about it here.

  • Q: Do I need to root / prep my device?
    A: No, just read the instructions on the screen and follow them carefully.

  • Q: When i boot into recovery it says it's "locked". What can I do?
    A: Run the option "Lock/Unlock bootloader" first

TODO

  • Switch CM to Lineage OS
  • Add more devices
  • Add support to install F-Droid
  • Add option "add udev rule"
  • Add Zenity for success/failure prompts
  • Give Aaron access to README
  • Add Plasma Mobile
  • Snap
  • Add feature to flash SD cards with Raspian, Ubuntu,...
  • Add Kali Linux
  • Add FAQ section
  • Add FlymeOS for Meizu devices
  • Add revision option

Special thanks to