[ROM][WIP]Plasma Mobile for Xiaomi Mi3[cancro]

Plasma Mobile or Ubuntu touch?

  • Plasma Mobile

    Votes: 4 44.4%
  • Ubuntu Touch

    Votes: 5 55.6%

  • Total voters
    9

Mattia990

Senior Member
Feb 7, 2016
95
87
18
Italy
Hello guys, i've successfully built plasma mobile for Xiaomi MI3.
  • First, you need to download my images: https://drive.google.com/drive/folders/1koCdOk7G3KX_rNlFzuObro1OVb4XRCS8 plasma caf rootfs: http://images.plasma-mobile.org/caf-rootfs/ and some scripts: https://github.com/JBBgameich/halium-install
  • Reboot your device to recovery and run this command: ./halium-install <pm rootfs path> <system.img path> pm
  • When finished flash boot.img, reboot the phone and take it connected to the pc
  • Every boot took ~5 minutes so wait and run this command in background while : ; do lsusb -v 2>/dev/null | grep -Ee 'iSerial +[0-9]+ +[^ ]' ; done (This command is in loop) when you'll see "Gnu/Linux" your phone is booted.
  • Once booted we need to connect to it with ssh, so run this command Connect.py -p ssh -u phablet
  • When we are connected we need to disable rsyslog and remove all logs (it fills up all the memory) so run these 3 commands: systemctl disable rsyslog | rm /var/log/syslog | rm /var/log/Kern.log
  • Now we need to connect to internet enable wifi echo sta > /sys/module/wlan/parameters/fwpath and connect to the network nmtui
  • Ok now we must create udev rules or plasma GUI doesn't work so change directory cd /etc/udev/rules.d/ and wget https://raw.githubusercontent.com/h...cf/usr/lib/lxc-android-config/70-cancro.rules
  • We have to resolve apt problems so edit this file /etc/passwd and replace this _apt: x :114:65534::/nonexistent:/bin/false with this _apt: x :0:65534::/nonexistent:/bin/false
  • When you have modified it, run apt update and reboot it systemctl reboot
  • Tadaaa you have got plasma on Mi3!

IMG_20180626_135409.jpg

IMG_20180626_135436.jpg

P.s Sorry for my bad English, this is my first porting and camera doesn't work yet... Don't do apt upgrade or you will break the installation!
 
Last edited:

JulianJenner

Senior Member
Apr 17, 2013
4,796
1,936
253
Arnhem
Please screenshots...
it have some big problem with camera and audio... Don't do apt upgrade or you will break the installation!
@Mattia990 Okay. I understood. Porting was successful. But there is no audio and the camera does not work. Unfortunately, audio is very important for telephoning ... Good work! I wish you a successful sequel!
 
Last edited:

groche97

Member
Aug 18, 2014
8
1
0
Woow interesting port, you'll continue maintaining this port? if you need help I'm not a developer of android but I use gentoo linux and I know about build a system xD
 
  • Like
Reactions: Mattia990

nsiva4

Member
Aug 31, 2012
27
5
0
Nellore
link drive.google.com/drive/folders/1koCdOk7G3KX_rNlFzuObro1OVb4XRCS8
no files in this link seems like deleted, please share me new link or files
I'm trying to installed but it is not booting