FORUMS
Remove All Ads from XDA

[ROM][WIP]Ubuntu Touch 16.04 for Xiaomi MI3[cancro]

89 posts
Thanks Meter: 67
 
By Mattia990, Member on 19th August 2018, 09:06 PM
Post Reply Email Thread
Ubuntu Touch 16.04 For Xiaomi Mi3

Quote:

/*
* I'm not responsible for bricked devices, dead SD cards, ecc...
* Please do some research if you have any concerns about features included in the products you find here before flashing it!
* YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
* Your warranty will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/

Hello everyone! Today i'm here to share with you a porting of ubuntu touch done by me, i used halium to develop it, so thanks to halium group and for their support.

Requirements
-You can use which operating system do you want
-Adb & Fastboot tools, you can download it here.
-The phone needs to be updated to android 6 or higher.
-Download all the files in this folder: folder.
-TWRP recovery, you can found it here.

Ok, let's start!
-Unzip my file
-Reboot your phone to recovery mode and connect it to the pc
-Open a terminal or cmd and run this commands: adb push system.img /data/system.img and adb push rootfs.img /data/rootfs.img
-Once it is done click on reboot and click on bootloader.
-When you are on fastboot mode run this command: fastboot flash boot halium-boot.img and fastboot reboot
-Done!

The default username is: phablet and password is: 12345

When the phone turns on run this command "echo manual > /etc/init/rsyslog.conf" and reboot so the process which uses all the cpu won't start up.
For audio you need to run "pulseaudio --start"

Wifi is buggy(sometimes work and sometimes no), when you turn on your phone you need to run this commands to turn on wifi
-sudo -i
-echo 1 > /dev/wcnss_wlan
-echo sta > /sys/module/wlan/parameters/fwpath

P.S Remember. It has some bugs, some apps crashing, audio not working and camera don't work! (GSM works, you can also use data but you can't call someone and you can't receive calls; SMS works).
If someone can help me he can send me a mail or comment below.
Try it and send me some feedbacks! Thank you!

Update
I see your comments and i tried myself. Halium-boot.img and system.img were corrupted so i uploaded all the file instead of zipping them.
With the latest update run these command to reduce the cpu usage:
- sudo -i
- mkdir /etc/system-image/config.d
- Reboot the phone
Attached Thumbnails
Click image for larger version

Name:	photo6028413610335776272.jpg
Views:	5650
Size:	204.6 KB
ID:	4576116   Click image for larger version

Name:	IMG_20180819_220842.jpg
Views:	5312
Size:	255.3 KB
ID:	4576125   Click image for larger version

Name:	IMG_20180819_220849.jpg
Views:	5258
Size:	247.1 KB
ID:	4576126   Click image for larger version

Name:	IMG_20180819_220921.jpg
Views:	4912
Size:	256.9 KB
ID:	4576127   Click image for larger version

Name:	IMG_20180819_220929.jpg
Views:	4976
Size:	251.1 KB
ID:	4576129   Click image for larger version

Name:	IMG_20180819_220958.jpg
Views:	4902
Size:	241.2 KB
ID:	4576134  
The Following 14 Users Say Thank You to Mattia990 For This Useful Post: [ View ] Gift Mattia990 Ad-Free
19th August 2018, 09:17 PM |#3  
JulianJenner's Avatar
Senior Member
Flag Arnhem
Thanks Meter: 1,937
 
More
Thanks Mattia!

I will try to understand it.
And after I will try to install too.

小米MIX标准版4GB128GB银色MIUI10中国开发者8.8.13.
The Following User Says Thank You to JulianJenner For This Useful Post: [ View ] Gift JulianJenner Ad-Free
19th August 2018, 11:16 PM |#4  
rajen77's Avatar
Member
Flag Győr
Thanks Meter: 10
 
Donate to Me
More
halium-boot.img error
Hi Mattia990!

Thank you very much for your work!

The halium-boot.img file flash after an error:

Code:
target reported max download size of 805306368 bytes
sending 'boot' (12956 KB)...
OKAY [  0.421s]
writing 'boot'...
FAILED (remote: image is not a boot image)
finished. total time: 0.425s
Update:
I tried to install the boot image with TWRP. It will not start in 20 minutes.
The Following 3 Users Say Thank You to rajen77 For This Useful Post: [ View ] Gift rajen77 Ad-Free
19th August 2018, 11:56 PM |#5  
OP Member
Italy
Thanks Meter: 67
 
More
Quote:
Originally Posted by rajen77

Hi Mattia990!

Thank you very much for your work!

The halium-boot.img file flash after an error:

Code:
target reported max download size of 805306368 bytes
sending 'boot' (12956 KB)...
OKAY [  0.421s]
writing 'boot'...
FAILED (remote: image is not a boot image)
finished. total time: 0.425s
Update:
I tried to install the boot image with TWRP. It will not start in 20 minutes.

You have to unzip my file, go into "Ubuntu Mi3 Funz", open terminal app and do fastboot flash boot halium-boot.img
20th August 2018, 12:02 AM |#6  
JulianJenner's Avatar
Senior Member
Flag Arnhem
Thanks Meter: 1,937
 
More
Quote:
Originally Posted by rajen77

Hi Mattia990!

Thank you very much for your work!

The halium-boot.img file flash after an error:

Code:
target reported max download size of 805306368 bytes
sending 'boot' (12956 KB)...
OKAY [  0.421s]
writing 'boot'...
FAILED (remote: image is not a boot image)
finished. total time: 0.425s
Update:
I tried to install the boot image with TWRP. It will not start in 20 minutes.


CONFIRMED
target reported max download size of 805306368 bytes
sending 'boot' (12956 KB)...
OKAY [ 6.521s]
writing 'boot'...
FAILED (remote: image is not a boot image)
finished. total time: 35.141s


of course all 3 files unzipped IMG
and I've followed correctly your tutorial step-by-step
The Following User Says Thank You to JulianJenner For This Useful Post: [ View ] Gift JulianJenner Ad-Free
20th August 2018, 09:58 AM |#7  
rajen77's Avatar
Member
Flag Győr
Thanks Meter: 10
 
Donate to Me
More
I think we have to leave these unnecessary circles on how to install fastboot with something we know about it.

We're trying Windows with the latest fastboot components so far, all files have been installed on all phones, but that's not the case. I'm sorry, now I can not ask Linux to try it there, at most in a virtual machine.
The Following User Says Thank You to rajen77 For This Useful Post: [ View ] Gift rajen77 Ad-Free
20th August 2018, 01:23 PM |#9  
JulianJenner's Avatar
Senior Member
Flag Arnhem
Thanks Meter: 1,937
 
More
Quote:
Originally Posted by Mattia990

Files uploaded

SUCCESS with NEW files !!! THANKS !!!!

success
The Following User Says Thank You to JulianJenner For This Useful Post: [ View ] Gift JulianJenner Ad-Free
20th August 2018, 02:31 PM |#10  
JulianJenner's Avatar
Senior Member
Flag Arnhem
Thanks Meter: 1,937
 
More
@Mattia990

next problem, when I typed to Terminal
echo 1 > /dev/wcnss_wlan
I got: -bash: echo: write error: Bad address - message
What can I do? coz defaultly no Wi-Fi...
20th August 2018, 03:14 PM |#11  
OP Member
Italy
Thanks Meter: 67
 
More
Quote:
Originally Posted by JulianJenner

@Mattia990

next problem, when I typed to Terminal
echo 1 > /dev/wcnss_wlan
I got: -bash: echo: write error: Bad address - message
What can I do? coz defaultly no Wi-Fi...

I know it's a known problem.
Try the other commands
Post Reply Subscribe to Thread

Tags
ubuntu, ubuntu mi 3, ubuntu touch, ubuntu touch mi 3, ubuntu xiaomi mi 3

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes