yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] eagleofdeath13:
Tried, still bootlooping, but found the way to have logs from 0 (sending them to my GDrive)

First, we need to have the Ubuntu Touch recovery flashed (Wiping from Ubuntu Touch Recovery don't work, maybe partition size not working, so first, flashing another Recovery to do the wipes, then "adb reboot bootloader" then flashing Ubuntu Touch Recovery, then reboot to recovery, then launching command)

Then, when the phone bootloop, press volume down key, at next reboot it will reboot to fastboot, then activate recovery, and this time logs start from 0 :D)

---------- Post added at 02:53 PM ---------- Previous post was at 02:50 PM ----------

But i hope that these logs arent the recovery's logs :s
[Moto G Android Development] h2o64:
Yes it does.

**** ! I was sure bootlooping was over !

The bootloop still the same (timing) ?
[Moto G Android Development] eagleofdeath13:
Yes, identical, still "bootloader unlocked" screen, then vibration, black screen, then "bootloader unlocked"
[Moto G Android Development] h2o64:
Okok ... I'm analysing the log file ... WIll take some time.

If a dev is interessting, the log is in attachement below.

last_kmsg_22-08-2014B_eagleofdeath13
[Moto G Android Development] DustArma:
No dev, but I don't see anything wrong with this kmsg, does Ubuntu Touch generate any other kind of logs?
[Moto G Android Development] h2o64:
There is tonns of errors x)

(tonns = 8)
[Moto G Android Development] eagleofdeath13:
And you see how to fix that? :D
[Moto G Android Development] h2o64:
I'm uplaoding a build using a new kernel (CM11 one).

Will see :p

Be ready for debugging !
[Moto G Android Development] DustArma:
Backed up my internal storage, will try and post logs as soon as a new build is uploaded
[Moto G Android Development] eagleofdeath13:
i'm on starting blocks!
[Moto G Android Development] h2o64:
New build !

New build uploaded

CHANGELOG
- new [URL="https://github.com/h2o64/android_kernel_motorola_msm8226/tree/phablet-4.4.2_r1-caf"]kernel[/URL]

Maybe some issues anyway because it using the depreciaded /vendor/motorola/qcom-common

For more changelog and updates, take a look at my Github

Thanks for your support !

Don't forget to send me logs !
[Moto G Android Development] eagleofdeath13:
Still bootloop, but log uploaded!
[Moto G Android Development] blueskyder:
Hi! h2o64 In https://wiki.ubuntu.com/Touch/Devices can u fill the info the device section.

Thx for all you're doing to port u-touch to the moto g.
[Moto G Android Development] mario156090:
Then just install in ubuntu ?, no windows ?
[Moto G Android Development] eagleofdeath13:
Yes impossible on Windows
[Moto G Android Development] mario156090:
Brick is posible ?
[Moto G Android Development] h2o64:
I don't know how to do... Contact the right people, explain me how to do, and I'll do it :D

Thanks ! Got it ! This one IS PERFECT :D :D Thanks you very much !!!!

last_kmsg_22-08-2014C_eagleofdeath13

5 % chance.

But if you made great backup there aren't any risk of loosing the device.
[Moto G Android Development] eagleofdeath13:
I don't think so
[Moto G Android Development] Awesomeslayerg:
So a bootable version is coming very soon.
[Moto G Android Development] h2o64:
I'm kind of worring that the error is due to Kernel CM11 is 4.4.4 and Ubuntu Touch is 4.4.2

Maybe [MENTION=4403780]TeamMex[/MENTION] can help me answering this question ? ;)

I'll see that tomorrow, my other project take me some time and some energy :p
[Moto G Android Development] TeamMex:
uhmm the kernel work from 4.4.2 to 4.4.4

the problem is some related on the Ramdisk used on ubuntu Touch.

in the last_dmg I see

Last boot reason: kernel_panic

try to use precompiled kernel and use my 3.4.96-XPerience

http://d-h.st/DBt maybe work ;)
[Moto G Android Development] DustArma:
Gonna try as soon as I download the ubuntu-touch files
[Moto G Android Development] DustArma:
I'm getting a bunch of "No space left on device" errors when attempting to create /cache/system/android and /cache/system/userdata even after fully wiping everything.

Apparently the recovery I flashed botched the formatting job so I had to flash another.
[Moto G Android Development] Awesomeslayerg:
Post a log maybe?
[Moto G Android Development] DustArma:
Bootloop with the default boot.img

https://dl.dropboxusercontent.com/u/28439034/log_20140822_dustarma-stock
[Moto G Android Development] Awesomeslayerg:
I think you should try using the ubuntu emulator and see what it loads and what not http://developer.ubuntu.com/apps/sdk/tutorials/using-the-ubuntu-emulator/

https://wiki.ubuntu.com/Touch/Emulator
[Moto G Android Development] h2o64:
Do you meen sources files :p ?

Thank you SO MUCH @TeamMex !

By the way, I think Ubuntu Touch use a little bit tricky ramdisk. I'll research about that.

BUT I can't use your precompiled kernel because I need a particular config (using mmi_defconfig that seems important)

Thank you anyways guys ! :D
[Moto G Android Development] TeamMex:
Anyway you has added the necesary Linux-headers from ubuntu?
[Moto G Android Development] h2o64:
I don't understand. What do you mean ?
[Moto G Android Development] Awesomeslayerg:
I finaly got my phone to make logs. I had to install the motorola drivers manually But heres my log:

https://mega.co.nz/#!Mk9CCQDb!eVXit5pzc0q7qPxvcCtrwTbOcarXkricbLIGy7VfbLo
[Moto G Android Development] h2o64:
New build !

New build uploaded

Download link

It's a experience of a FIX, so it needs only recovery.img and boot.img with the old system.img

CHANGELOG :
- move manually the init.qcom.recovery.rc in [B]$(OUT_TARGET_ROOT) folder[/B]

Please try it out ! ;)

UPDATE :

Still not booting but definitly an Ubuntu Touch problem.

[ 5.048965,2] initrd: mounting /root/var/lib/lxc/android/system.img as /root/android/system
[ 5.177786,0] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200

If you guys have solutions ... I'm interessted.
[Moto G Android Development] Awesomeslayerg:
Nvm check the dsmeg logs or how ever you spell it.

---------- Post added at 04:01 PM ---------- Previous post was at 03:43 PM ----------

It also maybe an intrfams problem
[Moto G Android Development] h2o64:
I'm looking for issues in the ubuntu-generic-initframs.

Can somebody send me a dsmeg with

the last buid

?

Thanks you guy(s) :D
[Moto G Android Development] eagleofdeath13:
I'll try tonight ;)
[Moto G Android Development] Awesomeslayerg:
I'll try in a few minutes

---------- Post added at 05:14 PM ---------- Previous post was at 04:33 PM ----------

Heres my log i uplaoded it to mediafire because mega isnt working for me.

https://www.mediafire.com/?7vlq0yuqb8k2bn2
[Moto G Android Development] h2o64:
Awesome. Thanks you man

EDIT : The file is unuseable : don't start from 0s
[Moto G Android Development] eagleofdeath13:
Logs are up (but this time, only /proc/last_kmsg start from 0, /proc/kmsg start from 7. I've also included dmesg, hope they'll help :D

https://drive.google.com/folderview?id=0BzfPvnKA9uaeRXdqU1JJWi1neEE&usp=sharing
[Moto G Android Development] eagleofdeath13:
Did it helped?
[Moto G Android Development] h2o64:
Not much .. x))

New build uploaded :

CHANGELOG :
- Look at [URL="https://github.com/h2o64/android_device_motorola_msm8226-common/commit/06503f1d3465cae22a9f6e06e64a5ded99323df6"]this commit[/URL] (may revert it later on : perm --> radio for [I]diag[/I] thing

Send logs ;) !
[Moto G Android Development] eagleofdeath13:
Last modified files on mega seems to be from the 23, they don't seem to be uploaded :s
[Moto G Android Development] h2o64:
Now they are x). You looked just when I was moving them x)
[Moto G Android Development] eagleofdeath13:
New logs are up! :D

https://drive.google.com/folderview?id=0BzfPvnKA9uaeMzFuYzh2emh6UjQ&usp=sharing

(will keep my floder like that, you can put it on main thread if you want to make it more visible for other devs ;) )
[Moto G Android Development] h2o64:
Ok I'll do that... My change hasn't do anything. Going to revert it.

I'll work on fixes this night.
[Moto G Android Development] eagleofdeath13:
OK, will try updates as they'll show up ;)
[Moto G Android Development] h2o64:
Yeah !

That's the SWAG !

https://wiki.ubuntu.com/Touch/Devices#Work_in_progress --> Moto G
[Moto G Android Development] eagleofdeath13:
SWAG: You got it!
[Moto G Android Development] h2o64:
Find a way to debug efficasier !
[Moto G Android Development] eagleofdeath13:
You found or you ask me to find ? ^^
[Moto G Android Development] h2o64:
Found.
[Moto G Android Development] Zerelth:
U mean found...right?
[Moto G Android Development] h2o64:
Yes. Sorry :p I'm french ^^
[Moto G Android Development] h2o64:
New build !

New build uploaded :

New build added :

CHANGELOG :
- use Xperience kernel

New EXP build uploaded :

This is only a system.img wich might improve the Xperience Kernel compatibility.

There also is a litter way using a zip after flashing everything ... But I don't know if that's work
[Moto G Android Development] dsyed:
I have only one question does ril stuff works on xt1033..and any other considerable things not working..
[Moto G Android Development] h2o64:
It should (because it's based on CM11) ... But I don't know if Ubuntu Touch support it.

If it boots. Everything should work.
[Moto G Android Development] dsyed:
Thanks for quick reply...
[Moto G Android Development] Awesomeslayerg:
So does it work?
[Moto G Android Development] h2o64:
I get my device back on Saturday (hapiness).

Can somebody test ?
[Moto G Android Development] Awesomeslayerg:
I'll try it if I have time today.
[Moto G Android Development] Awesomeslayerg:
Nope still in a bootloop.
[Moto G Android Development] eagleofdeath13:
Provide logs ;)

While bootloop push vol down key until recovery start

Then : adb shell cat /proc/kmsg > kmsg

adb shell dmesg > dmesg

For this to work you need to have flashed the Ubuntu recovery
[Moto G Android Development] Awesomeslayerg:
I would but its annoying to keep flashing Ubuntu then android. Cause I need it the next day. But I'll wait until someone else tests it or he gets his phone back.
[Moto G Android Development] eagleofdeath13:
Use twrp

Make backup

"Adb pull /sdcard/TWRP/"

Do your wipes (except internal memory)

Do all flashs :

-boot

-recovery

Go to recovery

./rootstock<you know what>

You're done.

To return to Android :

Boot to bootloader

Flash twrp

(If needed (shouldn't))Adb pull BACKUPS /sdcard/TWRP/

Then do all wipes then restore ;)

(I do it more than daily to help h2o64 ;) )
[Moto G Android Development] :
You could use Dualboot (or does that change anything?)
[Moto G Android Development] h2o64:
Wait for it to boot.. And next we'll think about MultiROM and stuff as this
[Moto G Android Development] wahyuwidi:
Thanks for your work,.
[Moto G Android Development] UCHIHA:
So,,,,,

MOTO G WILL HAVE UBUNTU SOON...:fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed::victory::victory::victory:
[Moto G Android Development] blueskyder:
The port will have full desktop convergence?

Thx
[Moto G Android Development] h2o64:
Don't know.
[Moto G Android Development] eagleofdeath13:
It's still not yet on Ubuntu Touch, i dont think our device will before
[Moto G Android Development] h2o64:
The error is particulary anoying.

I want to first fix my regular android ports and next Ubuntu Touch
[Moto G Android Development] eagleofdeath13:
I was talking about desktop mode ^^
[Moto G Android Development] h2o64:
Sorry :p
[Moto G Android Development] blueskyder:
In Ubuntu touch is possible to use a Ubuntu "desktop" terminal?
[Moto G Android Development] boros2222:
Is Ubuntu still developing Ubuntu Touch at all?
[Moto G Android Development] h2o64:
yes

yes it is.
[Moto G Android Development] boros2222:
Well, I don't see many news about it. Also, there have been many years since they made it and there is no any phone that comes with Ubuntu Touch.

They are developing very slowly.
[Moto G Android Development] eagleofdeath13:
Many years? 1 or 2 is not many. And phones will come very soon (anounces for september)
[Moto G Android Development] SoxasoraRT:
Updates? :silly:
[Moto G Android Development] h2o64:
Nope. This project is kind of suspended actually because of my IRL work and the MIUI project
[Moto G Android Development] 0xicl33n:
Since you have not updated it, and have no idea what works and what doesnt. This is totally useless. I was excited to use it, but t there is no list of what works (

LIKE THE ACTUAL PHONE PART

).

Has anyone actually tested this? Can you even use call/sms ?
[Moto G Android Development] EternalFame:
You can't use anything cause it doesn't boot but if you would have read the posts you would know this.
[Moto G Android Development] h2o64:
The best idea is to check out the github and help me to make it working Nope?
[Moto G Android Development] michalurban:
Im not trying to diminish anybodys efforts but I dont understand one thing - if it doesnt boot (and I believe its been this way for some time now), whats the purpose? I mean, there are updates and stuff ...
[Moto G Android Development] eagleofdeath13:
If testing is still needed, i'm available again :)
[Moto G Android Development] :
+1, now is my moto g fully available for any testing, a One will replace it.
[Moto G Android Development] h2o64:
It's to get help and tester
[Moto G Android Development] glossywhite:
Bravo and well done for making a start on this project. It's so easy (and unkind) to mock and demand that you make progress, but noone is owed this project - you've taken time out of your own life to make a start on this, and have shared it through goodwill.

Thank you and God bless you - I hope you get it working fully, but I won't lose any sleep if not :)

Take care, Matt.
[Moto G Android Development] abhifx:
ubuntu touch RTM is released.

just for the info...
[Moto G Android Development] haky 86:
Hi mates

I don't have the Moto G but i am downloading the source of phablet 4.4.2 aosp source it's more than 50% i found this manifest for your phone and also you can try it

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="team-moto-g/android_kernel_motorola_msm8226" path="kernel/motorola/msm8226" remote="github" revision="cm-11.0" />
<project name="team-moto-g/android_device_motorola_falcon_umts" path="device/motorola/falcon_umts" remote="github" revision="cm-11.0" />
<project name="team-moto-g/proprietary_vendor_motorola_falcon_umts" path="vendor/motorola/falcon_umts" remote="github" revision="cm-11.0" />
<project name="team-moto-g/android_hardware_qcom_media-msm8226" path="hardware/qcom/media-msm8226" remote="github" revision="cm-11.0" />
<remove-project name="CyanogenMod/android_build" />
<project name="team-moto-g/android_build" path="build" remote="github" revision="cm-11.0" />
</manifest>

And also guys about flashable zip wil not generated as described by porting guide because is not compiled by Android as my experience in porting that i do a 100 of tests for Galaxy W that qualcomm based with same issue on logo.

You should try in this way:

1-Once compilation is finish install the recovery.img by the following commang:

fastboot boot out/target/product/falcon/recovery.img

2-In the same out/target/product/falcon folder type bzr branch lp:project-rootstock-ng to install rootstock then type cd project-rootstock-ng/

3-Download the latset image from ubuntu touch website into rootstock folder

4-Make sure that you are in recovery mode and type the following command to install the system.img in this way ./rootstock-touch-install utopic-preinstalled-touch-armhf.tar.gz out/target/product/falcon/system.img

5-Once get worked image follow the rest of instructions

I think their instructions should be followed carefully ;)
[Moto G Android Development] h2o64:
I did the exact same thing but with some additional commits
[Moto G Android Development] haky 86:
I think you have to compile a recovery too for your device like my recovery for galaxy w that used to flash the zip automatically (its based on CM10.1 ) and also system partition should be mounted automatically to get booted i think.

http://xdaforums.com/galaxy-w/development/port-cwm-6-0-2-8-t2887372
[Moto G Android Development] h2o64:
I did it
[Moto G Android Development] glossywhite:
It seems this "project" has been left to stagnate, with little (if any) progress. Ubuntu will build and release the image themselves, in the time it takes for you to make it half-work. I hope you get it running, but I have my doubts for now.

Thanks for trying, keep pressing on :)
[Moto G Android Development] h2o64:
I'm still compiling Ubuntu ^^ every weekend.... But I need to take a break
[Moto G Android Development] eagleofdeath13:
Take your time ;)

(and if you need me again, just ask ;) )
[Moto G Android Development] pico hackr:
He did everything dude i hope some other dev will bring official support for our device soon just like miui v5
[Moto G Android Development] lost101:
Unsure if this is any value to the project:

https://developer.qualcomm.com/mobi...le-gaming-graphics-adreno/tools-and-resources
[Moto G Android Development] sub77:
can someone test this build please, i cant because of using multirom:

Ubuntu_Touch_falcon
[Moto G Android Development] eagleofdeath13:
Made by who?
[Moto G Android Development] deeplyyoung:
Anyone tried or not yet, as m also on multoROM, so can't try
[Moto G Android Development] !n0x:
It seems suspiciously small at ~90Mb for all files.
[Moto G Android Development] h2o64:
Do not use CM trees
[Moto G Android Development] h2o64:
I'll work on Ubuntu Touch when I'll be on holidays (next week)
[Moto G Android Development] !n0x:
So I manned up and tried the files posted above. been stuck at the motorola bootlogo for ~10 minutes. dunno how to get logs though :/
[Moto G Android Development] eagleofdeath13:
Yeah!
[Moto G Android Development] ghost9685:
i can test.. let me know how to flash this.. i dont see the system image in the link..
[Moto G Android Development] PuLKit4xd:
I flashed it on my XT-1033. It is stuck at boot-logo and besides i couldn't select any option in recovery only navigation. I am still hopeful.
[Moto G Android Development] eagleofdeath13:
Any update?
[Moto G Android Development] alexkta:
nope, it seems the developer is working on aosp
[Moto G Android Development] reversegear:
Have a look at the thread title it clearly says the stopped ;)
[Moto G Android Development] h2o64:
I simply don't enjoy anymore.

I'm not overskilled and nobody skill try to port over 4.4.2 for another device. If you find one to inspire me, tell me
[Moto G Android Development] VictoriousShooter:
Before you abandon this thread, can you at least fix the spelling in the title?

Because this "stoped" thing in the title is flaming up my OCD senses
[Moto G Android Development] h2o64:
Sorry ^^

There were a character limit on the title ^^ I'll fix that.
[Moto G Android Development] reali:
hey, what the last status of porting? Do console working?
[Moto G Android Development] andogeek10:
If you'll look at the title, it says discontinued...
[Moto G Android Development] h2o64:
[Ubuntu Touch - Utopic][PORT][DISCONTINUED] Ubuntu Touch for falcon
[Moto G Android Development] reali:
I saw it. ;) I asked another question. What last status of porting (before discontinued)? I have some experience in porting native linux on Android devices so I want to continue porting Ubuntu Touch for Moto G, thats why I'm asking..
[Moto G Android Development] h2o64:
This is an android ROM.

We build the loader and Canonical provide te common packages.

The issue is on FSTAB, it need to be able to mount the data partition in order to mount the LXC container.
[Moto G Android Development] Black_Eyes:
Let me know if you want to Port Moto G(2014) lollipop Update :)
[Moto G Android Development] h2o64:
We working on the update for the 2013 one.

You have a 2014?
[Moto G Android Development] deeplyyoung:
As the Soak updates are already rolling out for Moto G 2nd Gen & i'm sure that someone will share the same on XDA soon, so it may possible to work on it to get L for our Moto G
[Moto G Android Development] Black_Eyes:
Naaah,

xt1032
[Moto G Android Development] abhi0502:
Its already there

http://xdaforums.com/moto-g-2014/general/ota-moto-g-2014-x1064-v22-11-6-t2936931

Soak version of lollipop for gen 1 also coming in next few days
[Moto G Android Development] Black_Eyes:
It's pretty much easy to get The Lollipop from 2nd Gen,

Are you trying too boot AOSP L on Moto g?
[Moto G Android Development] K3VYNC:
root@K3VYNC:/home/k3vync/Downloads/Moto G/Archive-314b# ./project-rootstock-ng/rootstock-touch-install $ROOTFS system.img

please make sure the device is attched via USB in recovery mode

error: device not found
[Moto G Android Development] h2o64:
I'll fix that in 2 seconds!

EDIT : I'm an idiot x) the device need to be in recovery mode for this command AND IT'S WAS WRITTEN ..... shame on me
[Moto G Android Development] immortal_yash:
can we get a list of working and not working things on the rom?
[Moto G Android Development] K3VYNC:
My device doesn't boot into recovery :(
[Moto G Android Development] h2o64:
Euh... What? You have flash recovery.img?

wget http://loki.rombitch.com/Devs/Dhacker29/MotoG/CWM-swipe-6.0.4.7-falcon.img
[B]Reboot in fastboot mode ([I]volume - + power[/I])[/B]
sudo fastboot flash recovery CWM-swipe-6.0.4.7-falcon.img
[Moto G Android Development] nikky2u20:
Why this is not available as a flashable zip? Isnt it possible
[Moto G Android Development] h2o64:
Because nobody test already x)
[Moto G Android Development] h2o64:
Because (apparently) since the 14.04 there is only .img WHICH REALLY FRUSTATING ME because the build/core/Makefile have code to make a flashable zip file :crying: :crying: :crying: :crying:
[Moto G Android Development] K3VYNC:
I flashed the recovery from the OP
[Moto G Android Development] h2o64:
I try to fix that ... I had trouble with --dt in mkbootimg before :(
[Moto G Android Development] :
downloading the source code. will help u to build bro :)
[Moto G Android Development] h2o64:
thank you soooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo much !!!!!!

EDIT : I reset some change about mkbootimg and I make a proper way for f2fs_tools. PLEASE ! Tell me when you're code is downloaded, I'll help you because patches.sh is not very pretty x)
[Moto G Android Development] nikky2u20:
No problem. Atleast you are you trying to make new rom for our device. Thanks you for taking such efforts for our devices.
[Moto G Android Development] h2o64:
:angel::victory::laugh::good::fingers-crossed::laugh::laugh::laugh::laugh::laugh::laugh::laugh::laugh:
[Moto G Android Development] h2o64:
So ... There is two things to do :

First one And the most important --> Create a decent patches.sh because my one is rubbish..

What is it ?

It's a file wich download directories, copy files, etc etc ... Things I can't do with my github (like synchronising a specific file/directory in a big repository like CyanogenMod/android_system_core to a specific place)

What does it need to do ?

- include on the line 551 of /build/core/main.mk

include device/qcom/common/dtbtool/Android.mk

- include on the line line 239 of /bootable/recovery/Android.mk

include external/f2fs-tools/Android.mk

- Remove /system/core/mkbooting directory

- Download (from github) CyanogenMod/android_system_core/mkbooting and put it in /system/core/mkbooting directory

- Copy device/motorola/msm8226-common/rootdir/etc/init.recovery.qcom.rc to out/target/product/falcon/root/

Second One --> Find fixes for issues

Actually

- Why build/core/Makefile as things to make a Zip flashable file and there is not at the end of the building ?

WITH NO ERRORS

Thanks guy ;) :highfive:
[Moto G Android Development] :
add it to OP if it works keep updating guide bro i ll finish download in 2 or 3 days.
[Moto G Android Development] h2o64:
Ok thanks :D

I think I've fix the recovery error.
[Moto G Android Development] K3VYNC:
Are you uploading the new recovery img? :fingers-crossed:
[Moto G Android Development] DustArma:
Has anyone tested if this boots?
[Moto G Android Development] virajmalia:
This is still a development thread. The ROM does not flash.

I request users that they do not post unnecessary questions.

It will help devs to quickly search and find a post that is important to them.

Keep calm and let the devs roll! ;)
[Moto G Android Development] h2o64:
Yes