FORUMS
Remove All Ads from XDA
Honor View 10
Win an Honor 7X!

[WIP][Ubuntu Touch - Vivid][07-06-2015] Ubuntu Touch for falcon

2,317 posts
Thanks Meter: 6,780
 
By h2o64, Senior Member on 18th July 2014, 06:46 PM
Post Reply Email Thread
Announcement from h2o64: Port of Ubuntu Touch 14.10 on Motorola Moto G

Hi everybody,
I recently work on a port for Ubuntu Touch on android. And I achieve to build something

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, thermonuclear war, 
* or you getting fired because the alarm app failed. Please do some research 
* if you have any concerns about features included in this ROM
* 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.
*/
WARNING : This ROM is a "Work In Progress" : this ROM is experimental, flash it only if you know what you are doing

Downloads

Quote:
Originally Posted by h2o64

Quote:
Originally Posted by h2o64

UPDATE : Working (building) on a new build.... With a bunch of new stuff...
SPOIL : A piece of spoil if you wanna know what I'm up to ... https://github.com/ubuntu-touchCAF/a...a0a96859f3483e

So what's up ?
Hre is a new build. But it's not the build I annnonced. Let me explain you.

Why this isn't the right build ?

I'm currently working on a rebased Ubuntu Touch (rebased on CAF wasn't has good as I thought). The "non-AOSP"/"Important" patches are made and applied. Sources are up-to-date. BUT there still is an issue : to do this a clean way, I need to update Ubuntu Touch from android-4.4.2_r1 to android-4.4.4_r2 and this take a very very very long time indeed (downloading files, merging the updates, ...). So I decided to do other stuff while the sources are downloading.

So.... What did you throw here ?

As I said many times, there aren't any developpers working on porting Ubuntu Touch there. But I found one a while ago wich his working on the OnePlus One and get it """working""" (thread here). And now that I have a bit of time, I decided to adapt his sources to Moto G. @mariogrip actually made everything work except RIL, Camera and bluetooth : it's not a daily driver at all.
But I didn't choose to follow his way earlier for a good reason : he didn't made such a clean job. Sources are dirty, commits are wrongly looking, device tree is wierd, he uses way too much AOSP, ... But I entirely respect him because he did the work I couldn't achieve to do.
So I leave you with this build down bellow.

Downloads - Non-tested but may be interessting for enthusiasts

boot.img - 9.3 Mo
recovery.img - 8.4 Mo
system.img - 126.3 Mo
UbuntuTouch-falcon-installer.zip - 4 Ko

Quote:

How to install this on your device ?
Flash on you device,
1. Download boot.img, recovery.img, system.img, UbuntuTouch-falcon-installer.zip and wily-preinstalled-touch-armhf.tar.gz
2. Reboot the device into fastboot mode
3. Flash boot.img using fastboot

Code:
fastboot flash boot boot.img
4. Boot the device back to recovery (I recommend twrp, but anything should work!)
5. Wait until adb has started (use "adb devices" to check if it has started)
6. Extract UbuntuTouch-falcon-installer.zip, remember to have the configs folder in the same folder as the script.
7. Flash ubuntu root system and system.img using rootstock installer
Code:
./MotoG-rootstock-installer wily-preinstalled-touch-armhf.tar.gz system.img
8. After that it may boot ubuntu.

Source : http://wiki.ubports.com/index.php/OnePlus_One

I think I'll get my official build until next Sunday. You can check out my sources if you want. I do my best.

Developpers Informations

The sources is now here : CAF Ubuntu Touch
You can build by yourself thanks to this tutorial

Flash
Do not forget to do a NANDROID backup before flashing anything.
You need to use Ubuntu AND a Motorola Moto G (2013) Unlocked
That's only flashable on Ubuntu/Linux because the rootstock software (flashing tool) doesn't exist on Windows OS
Quote:

A - Install adb and fastboot
[HIDE]

Code:
sudo apt-get install android-tools-adb android-tools-fastboot android-tools-fsutils bzr
Create a directory (here mydirectory) and put every img files in it.
Connect your device de the PC using an USB cable.

B - Download the requiered files
Downloads the images and download the preinstalled files from Ubuntu like this :
Code:
wget http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/current/wily-preinstalled-touch-armhf.tar.gz
C - Install the actual ROM
Now reboot in recovery mode (By volume - to "recovery" and then volume + to confirm)
Go into Wipe and format DATA & SYSTEM and cahce/dalvik cache..
Next use Advanced Wipe and format every choice indidualy.
Now (in the terminal)
Code:
$ ./project-rootstock-ng/rootstock-touch-install wily-preinstalled-touch-armhf.tar.gz system.img
The ROM is installed

Thanks you

Remember that's a community project
Thanks guyw


XDA:DevDB Information
[WIP] Ubuntu Touch Port on Falcon, ROM for the Moto G

Contributors
h2o64, h2o64
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
Based On: AOSP & CyanogenMod

Version Information
Status: Testing

Created 2014-07-18
Last Updated 2015-06-07
The Following 75 Users Say Thank You to h2o64 For This Useful Post: [ View ] Gift h2o64 Ad-Free
 
 
18th July 2014, 07:11 PM |#2  
fermasia's Avatar
Senior Member
Flag Buenos Aires
Thanks Meter: 1,960
 
Donate to Me
More
Can you provide a bit more info about the project? Where are these img taken from? Have you compiled them yourself?
The Following User Says Thank You to fermasia For This Useful Post: [ View ] Gift fermasia Ad-Free
18th July 2014, 07:20 PM |#3  
h2o64's Avatar
OP Senior Member
Flag Paris
Thanks Meter: 6,780
 
Donate to Me
More
Quote:
Originally Posted by fermasia

Can you provide a bit more info about the project? Where are these img taken from? Have you compiled them yourself?

I've compiled everything in this thread. The img came from my outpout directory
The Following 3 Users Say Thank You to h2o64 For This Useful Post: [ View ] Gift h2o64 Ad-Free
yeshwanthvshenoy
18th July 2014, 07:51 PM |#4  
Guest
Thanks Meter: 0
 
More
highly appreciated work. will try to build from monday. and yes u may need to link github to thread as u may violate GPL terms if thread doesnt have one.
18th July 2014, 07:55 PM |#5  
h2o64's Avatar
OP Senior Member
Flag Paris
Thanks Meter: 6,780
 
Donate to Me
More
Quote:
Originally Posted by yeshwanthvshenoy

highly appreciated work. will try to build from monday. and yes u may need to link github to thread as u may violate GPL terms if thread doesnt have one.

Thanks you !
18th July 2014, 08:12 PM |#6  
Semseddin's Avatar
Senior Member
Flag Istanbul
Thanks Meter: 582
 
More
Appricate the work done here. Hope to get a stable release to try on my G. Thanks.
The Following User Says Thank You to Semseddin For This Useful Post: [ View ] Gift Semseddin Ad-Free
18th July 2014, 09:17 PM |#7  
K3VYNC's Avatar
Senior Member
Flag São João de Meriti
Thanks Meter: 183
 
More
Does it work on dual SIM devices?

Sent from my Moto G using XDA Free mobile app
18th July 2014, 09:22 PM |#8  
h2o64's Avatar
OP Senior Member
Flag Paris
Thanks Meter: 6,780
 
Donate to Me
More
Quote:
Originally Posted by K3VYNC

Does it work on dual SIM devices?

Sent from my Moto G using XDA Free mobile app

This is build with cm11 source in majority... So why not... But be careful!

Sent from my Moto G using XDA Free mobile app
The Following 2 Users Say Thank You to h2o64 For This Useful Post: [ View ] Gift h2o64 Ad-Free
18th July 2014, 09:34 PM |#9  
poran123's Avatar
Senior Member
Flag Shillong
Thanks Meter: 111
 
More
so excited about this Project... hope it will boot

EDIT: I want to test but i'm not able to download, mega.co.nz is not working for me anymore
The Following User Says Thank You to poran123 For This Useful Post: [ View ] Gift poran123 Ad-Free
18th July 2014, 09:59 PM |#10  
K3VYNC's Avatar
Senior Member
Flag São João de Meriti
Thanks Meter: 183
 
More
Quote:
Originally Posted by h2o64

This is build with cm11 source in majority... So why not... But be careful!

Sent from my Moto G using XDA Free mobile app

Don't we need to flash "fastboot flash system system.img"? It's not in the OP

EDIT
The Following User Says Thank You to K3VYNC For This Useful Post: [ View ] Gift K3VYNC Ad-Free
18th July 2014, 10:03 PM |#11  
h2o64's Avatar
OP Senior Member
Flag Paris
Thanks Meter: 6,780
 
Donate to Me
More
Quote:
Originally Posted by K3VYNC

Don't we need to flash "fastboot flash system system.img"? It's not in the OP

No because of Rootstock

Sent from my Moto G using XDA Free mobile app
The Following User Says Thank You to h2o64 For This Useful Post: [ View ] Gift h2o64 Ad-Free
Post Reply Subscribe to Thread

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