FORUMS
Remove All Ads from XDA

[DEV][WIP] Ubuntu Phone Preview for LG Optimus 2x (alpha)

902 posts
Thanks Meter: 2,740
 
By rugglez, Senior Member on 23rd February 2013, 08:06 PM
Post Reply Email Thread
This thread is intended for developers and others who can contribute to the project
If you think you can contribute, please do so

Standard disclaimer:
I am not responsible if anything happens to your device

Status:

Device specific build of Ubuntu's minimal cm10.1 build ready
Ready for flashing


Working:
Touch screen
ADB
Browser (Although no net access yet)

You can browse and get a feel of the entire OS, including the homescreen (unity desktop), multitasking (the cool new way to switch between apps), etc.
Since it is a preview, many apps are dummy apps.

Screenshots:
Check them out here

Video:
Here is a video of the fresh new OS in action on the O2x made by JordanRulz

Download links:

Ubuntu touch preview (raring ringtail)
Current build of Ubuntu-CM10.1 (old bootloader)
New bootloader build by delaya73:
cm-10.1-20130604-UNOFFICIAL-p990.zip



TWRP latest version is recommended (CWM 6.x may work too)


Note:

The raring/quantal image is large, but thankfully gets installed on the data partition, thus saving our small system partition the burden

Source:
Ubuntu-cm10 source

Building instructions:

Building instructions are similar to building CM10 (refer Raum's guide) till repo sync (instead of official cm10 repo, use above source during repo init)

Dont forget to add device props in "local_manifests" (local_manifest.xml is deprecated). Add the following in local_manifests:
Code:

(Taken from Raum's guide, thanks to him)

After syncing the repo,
1. cd device/lge/p990, connect your device running cm10.1 with usb debugging on, and then ./extract-files.sh
2. In device/lge/p990/fstab.p990, remove "nosuid" from data partition
3. In kernel/lge/star/arch/arm/configs, in cyanogenmod_p990_defconfig, add the following:
Code:
CONFIG_SYSVIPC=y
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_DEVTMPFS=y
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
CONFIG_FSNOTIFY=y
CONFIG_DNOTIFY=y
CONFIG_INOTIFY_USER=y
CONFIG_FANOTIFY=y
CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
CONFIG_FSNOTIFY=y
CONFIG_SWAP=y
# CONFIG_ANDROID_PARANOID_NETWORK is not set
4. Go to ubuntu folder inside your source folder and do
Code:
bzr branch lp:phablet-extras/libhybris hybris
bzr branch lp:platform-api platform-api
If you didnt have bzr, get it first using
Code:
sudo apt-get install bzr
Now you can build. This build would be for the old bootloader. For the new one, make these changes said by pengus77 here


Flashing instructions:

1. Make a full wipe (wipe data + format /system)
2. Flash the current build and raring/quantal image
Then flash this afterflash.zip
3. Reboot

Credits:
  • Ubuntu dev team (Canonical)
  • Ricardo and the rest of the CM team
  • delaya73 for the new bootloader build
  • pengus77 for bringing cm10 to the new bootloader
  • Adam77Root for helping find the missing components stopping it from booting
  • All other contributors
The Following 102 Users Say Thank You to rugglez For This Useful Post: [ View ] Gift rugglez Ad-Free
 
 
23rd February 2013, 08:21 PM |#2  
SWTR's Avatar
Senior Member
Flag Cham
Thanks Meter: 198
 
More
AW: [DEV][WIP] Porting Ubuntu Phone for LG Optimus 2x
You rock man!

Gesendet von meinem LGP990 mit CM10.
23rd February 2013, 08:38 PM |#3  
trocopassu's Avatar
Senior Member
Flag Lisboa
Thanks Meter: 1,004
 
More
Thumbs up
Good luck with your job, Buddy, and Congratulations for all your interest/performance for our machines!

Regards.
23rd February 2013, 10:55 PM |#4  
Junior Member
Thanks Meter: 11
 
More
Thnx, I downloading, after a try, I will post some feedback
23rd February 2013, 11:07 PM |#5  
proyatzu's Avatar
Senior Member
Thanks Meter: 222
 
More
R: [DEV][WIP] Porting Ubuntu Phone for LG Optimus 2x
Can i have some screenshot?

Sent from my LG-P990 using xda app-developers app
23rd February 2013, 11:18 PM |#6  
trocopassu's Avatar
Senior Member
Flag Lisboa
Thanks Meter: 1,004
 
More
Quote:
Originally Posted by rugglez

"...If you think you can contribute, please do so ..."

I have not had time to install this ROM ... I have been testing other, but lack little longer to do so!
Once you have news post here the results.

Thank you all for the effort made
23rd February 2013, 11:26 PM |#7  
Senior Member
Flag Caserta
Thanks Meter: 45
 
More
Thank you man you're doing a really good job
24th February 2013, 01:22 AM |#8  
sgspluss's Avatar
Senior Member
Thanks Meter: 5,105
 
Donate to Me
More
Very good job rugglez bro. cant wait for bootable version to test it on my self
24th February 2013, 02:17 AM |#9  
trocopassu's Avatar
Senior Member
Flag Lisboa
Thanks Meter: 1,004
 
More
Well, I tried to make some tests to see if he could complete the boot ... unfortunately without success after six or seven attempts.
Enough for today testing, hahahaha! ...
24th February 2013, 02:48 AM |#10  
Account currently disabled
Flag ND-BL-MB-KL
Thanks Meter: 7,611
 
Donate to Me
More
So finally your Repo synced! I've left Hope here! And yea, Rugglez Bhai, you are great! )
24th February 2013, 03:01 AM |#11  
JordanRulz's Avatar
Senior Member
Thanks Meter: 201
 
More
Quote:
Originally Posted by rugglez

This thread is intended for developers and others who can contribute to the project
If you think you can contribute, please do so

For now, this is only for the new bootloader. If the project is successful, it would be made available on the old one as well

Standard disclaimer:
I am not responsible if anything happens to your device

Status:

Device specific build of Ubuntu's minimal cm10.1 build ready
Ready for flashing

Does not complete the boot yet


Download links:

Current build of Ubuntu-CM10.1
Ubuntu kernel for O2x
Ubuntu phone quantal image

TWRP latest version is recommended (CWM 6.x may work too)

Instructions:

1. Make a full wipe (wipe data + format /system)
2. Flash the current build, Ubuntu_kernel and quantal image
3. Reboot

Note:

The quantal image is large, but thankfully gets installed on the data partition, thus saving our small system partition the burden

To do:
There is no "logcat" in Ubuntu (may be some other way to debug), so need another way to look at what is preventing the boot

Credits:

Ubuntu dev team (Canonical)
CM team
All other contributors

have u tried dmsg/kmsg?
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes