I've just been following the porting guide here https://wiki.ubuntu.com/Touch/Porting it says that is is updated for the 13.10 images, so when I finish, I'll let you know how it goes. If it works, I'll start a thread
I've just been following the porting guide here https://wiki.ubuntu.com/Touch/Porting it says that is is updated for the 13.10 images, so when I finish, I'll let you know how it goes. If it works, I'll start a thread
Hmmm. Has anybody made progress on that? Could we use the boot.img from a working cm10.1?yes. at the top of the guide is wip and has the todo and notes section which you will need to follow describing booting information you will need.
Hmmm. Has anybody made progress on that? Could we use the boot.img from a working cm10.1?
If you pulled in all the files at the start of the guide (not missed anything), its all setup quite good. Don't need any .repo changes and very few code changes for building:
The problem is that you need the blobs which are obtained from unzipping the cm device build (manually; via script [via adb] appears to be a bit broken - though playing around with it can help you find the vendor directory locations?) and bt proprietary files from the internet in order compile it. These files go in specific directories inside the vendor dir.
I also needed an entire directory from google. Its actually there already but for whatever reason different and breaks compiling at the end.
...oh, some code additions too to add in device directories like the guide says.
If it asks for a file called empty or whatever it was called, just create an empty file or search and copy one of the others which are 0 bytes anyway... and that's all it needed there.
There probably are a few more files to add in along the way.
this patch was needed as well http://paste.ubuntu.com/5883021/
That might be it.
Here is the thread from that guy. http://www.oppoforums.com/threads/wip-dev-ubuntu-touch-13-10.6109/ we may be able to port that, since he got that working. Is that feasible?
mkbootimg --kernel kernel --ramdisk ramdisk.img --base 0x80000000 --cmdline 'androidboot.console=ttyO0 console=ttyO0,115200n8 def_disp=lcd2' --pagesize 4096 -o new_boot.img
cat new_boot.img >> head.img
Yay we got a bootable build working! We just need to get the files together and make a thread for this.
Some photos. Image does not fill the entire screen and not fully visible. Touch and wifi works.
UPD: +1 screenshot with ro.sf.hwrotation=0; screen now is fine, but touch is rotated
mkbootimg --kernel kernel --ramdisk ramdisk.img --base 0x80000000 --cmdline 'androidboot.console=ttyO0 console=ttyO0,115200n8 def_disp=lcd2' --pagesize 4096 -o new_boot.img
cat new_boot.img >> head.img