[Ubuntu-phone] Porting issues

2015-08-26 Thread Bastian Köcher
Hi, I want to compile the kernel for my Oneplus One. I know that there is already a working kernel but I wanted to try it by myself. I'm using the official cyanogenmod sources with patches of the working kernel. My problem is that neither the screen is working or that I can use adb to connect

[Ubuntu-phone] Porting issues

2013-11-25 Thread Dmitry Smirnov
Hi, I'm trying to port ubuntu-touch to some specific device but have issues with this. I've ported all the changes from phablet-saucy branch to my code base (non-CM, pure codeaurora). I decided to skip recovery procedures because I can build all the images (kernel, system, userdata, etc) and try

Re: [Ubuntu-phone] Porting issues

2013-11-25 Thread Ivo Stoyanov
...@gmail.com To: ubuntu-phone@lists.launchpad.net Sent: Tuesday, November 5, 2013 8:36 AM Subject: [Ubuntu-phone] Porting issues Hi, I'm trying to port ubuntu-touch to some specific device but have issues with this. I've ported all the changes from phablet-saucy branch to my code base (non

Re: [Ubuntu-phone] Porting issues

2013-11-18 Thread François Leblanc
I agree this is not clear for me too. I notice some differences betwen using ubuntu dir and system.img in the structure of files and even if it is more simple to use dir ubuntu it is quite difficult to understand how system.img must be. According to touch script in build kernel they are some

Re: [Ubuntu-phone] Porting issues

2013-11-18 Thread Florian Will
(writing from my phone) I'm not sure if this is still true, but a few weeks ago porters were recommended to just use the old cdimage-style flipped model. It means to just have the extractes rootfs files in /data/ubuntu and the Android system.img copied in there, which happens automatically when

Re: [Ubuntu-phone] Porting issues

2013-11-18 Thread François Leblanc
Ah yes. The problem is that if the 2 ways are too differents you can make lot of effort porting to old model and realize that isn't working in new model and to have a real port you need to be have same as official port.. surfaceflinger is a good example you can make working with it and realize

Re: [Ubuntu-phone] Porting issues

2013-11-18 Thread Dmitry Smirnov
Please correct my understanding of these models: 1. Old-style 2013/11/18 François Leblanc fleblan...@gmail.com Ah yes. The problem is that if the 2 ways are too differents you can make lot of effort porting to old model and realize that isn't working in new model and to have a real port

Re: [Ubuntu-phone] Porting issues

2013-11-18 Thread Dmitry Smirnov
Sorry for previous message... Please correct my understanding of these models: 1. Old-style a. Uses original Android init b. Ubuntu is in container, should be in /data/ubuntu 2. New style a. Uses Ubuntu initrd, should be in /data/system.img b. Android is in container (should be in

Re: [Ubuntu-phone] Porting issues

2013-11-18 Thread Dmitry Smirnov
How this new-style system.img can be generated? I'm already ported phablet changes for this new-style model, but do not know how to create system.img 2013/11/18 François Leblanc fleblan...@gmail.com Yes It is that I understand... François. 2013/11/18 Dmitry Smirnov divis1...@gmail.com

Re: [Ubuntu-phone] Porting issues

2013-11-18 Thread François Leblanc
I Don't know... For supported device it is phablet-flash tools doing that for other??? 2013/11/18 Dmitry Smirnov divis1...@gmail.com How this new-style system.img can be generated? I'm already ported phablet changes for this new-style model, but do not know how to create system.img

Re: [Ubuntu-phone] Porting issues

2013-11-06 Thread Jani Monoses
Hi Dmitry, (adding back the list so others can follow and add more information) The system.img built from the AOSP-like source tree indeed now contains some Ubuntu components but that is ok, those are needed as the glue between Android and the Ubuntu system. And the image that you need to boot

Re: [Ubuntu-phone] Porting issues

2013-11-06 Thread Dmitry Smirnov
One more question. Manual Download Installation section on https://wiki.ubuntu.com/Touch/Install mentions a saucy-preinstalled-touch-armel+grouper.zip as a second step in this process. In case of my own port, should it become something like cm-10.1-20131101-UNOFFICIAL-tilapia.zip which is

Re: [Ubuntu-phone] Porting issues

2013-11-06 Thread Jani Monoses
Hi you need to download that exact zip from the Ubuntu servers. It is the full Ubuntu userland. the cm-...tilapia.zip is the Android side, same as system.img and boot.img but packaged in a zip for easy update via the recovery image. So the Ubuntu side is prrebuilt for armhf and should be almost

Re: [Ubuntu-phone] Porting issues

2013-11-06 Thread Dmitry Smirnov
I'm sorry Jani, but I'm lost :-) Please correct me if I'm wrong. That Manual Download Installation tells about 3 steps: 1. Flash boot, recovery, system images. I presume these images should contains some phablet code (at least for recovery - support for autodeploy, otherwise next step could

Re: [Ubuntu-phone] Porting issues

2013-11-06 Thread Jani Monoses
On Wed, Nov 6, 2013 at 12:26 PM, Dmitry Smirnov divis1...@gmail.com wrote: I'm sorry Jani, but I'm lost :-) Please correct me if I'm wrong. Sorry, I forgot to say that what I was talking about is the newer (so called flipped-image) method of running Ubuntu, where Android's system.img is

Re: [Ubuntu-phone] Porting issues

2013-11-06 Thread Oliver Grawert
hi, Am Mittwoch, den 06.11.2013, 12:36 +0200 schrieb Jani Monoses: On Wed, Nov 6, 2013 at 12:26 PM, Dmitry Smirnov divis1...@gmail.com wrote: I'm sorry Jani, but I'm lost :-) Please correct me if I'm wrong. Sorry, I forgot to say that what I was talking about is

Re: [Ubuntu-phone] Porting issues

2013-11-06 Thread Jani Monoses
unflipped will not work anymore, all the super evil hacks it used are gone from the rootfs since over 6 months, please only use (and recommend) the flipped method. From the recent thread on this list saying the cdimage-legacy option of phablet-flash is to be kept around I figured that

Re: [Ubuntu-phone] Porting issues

2013-11-06 Thread Oliver Grawert
hi, Am Mittwoch, den 06.11.2013, 12:49 +0200 schrieb Jani Monoses: unflipped will not work anymore, all the super evil hacks it used are gone from the rootfs since over 6 months, please only use (and recommend) the flipped method. From the recent thread on this

Re: [Ubuntu-phone] Porting issues

2013-11-06 Thread Dmitry Smirnov
Ok, thanks for clarifications! I see I need to finish porting phablet changes into recovery to make my life simpler :-) 2013/11/6 Jani Monoses jani.mono...@canonical.com unflipped will not work anymore, all the super evil hacks it used are gone from the rootfs since over 6 months, please

Re: [Ubuntu-phone] Porting issues

2013-11-06 Thread Jani Monoses
Hi, while I have not tested it, I had a go at porting the recovery patches ported to AOSP 4.2.2 in the phablet-4.2.2_r1 branch of the main repositories and those may serve as a start for CodeAurora based trees. Jani On Wed, Nov 6, 2013 at 12:59 PM, Dmitry Smirnov divis1...@gmail.com wrote:

Re: [Ubuntu-phone] Porting issues

2013-11-06 Thread Dmitry Smirnov
Thanks for the tip. I'll try to use it. 2013/11/6 Jani Monoses jani.mono...@canonical.com Hi, while I have not tested it, I had a go at porting the recovery patches ported to AOSP 4.2.2 in the phablet-4.2.2_r1 branch of the main repositories and those may serve as a start for CodeAurora

[Ubuntu-phone] Porting issues

2013-11-05 Thread Dmitry Smirnov
Hi, I'm trying to port ubuntu-touch to a device but have issues with this. I've ported all the changes from phablet-saucy branch to my code base (non-CM, pure codeaurora). I decided to skip recovery procedures because I can build all the images (kernel, system, userdata, etc) and try to run the

Re: [Ubuntu-phone] Porting issues

2013-11-05 Thread Jani Monoses
Hi, that system.img should be the one built from your CodeAurora tree and then turned into a regular ext4 image on your build machine $simg2img system.img new.img $resize2fs -M new.img In recovery mode #mkdir a #mount /data/system.img a On the host $adb push new.img