CM10.2 for the LG Optimus 2x

Search This thread

tonyp

Inactive Recognized Developer
Feb 3, 2011
5,019
34,902
CM10.2 for the LG Optimus 2x


If you appreciate my work on the LG Optimus 2x you can support me by donating!

I am doing this for free in my leisure time because I like working on Android stuff and helping others out.
You're not required to donate, but I highly appreciate a couple free beers or pizzas as a gratidue for my work.


To quote one of the most famous xda developers:
Don't be a leech, buy me a beer (and use the "Thanks" button!). Imagine if every CF-Root user has donated me $1...

I am nowhere near his usercount, but just imagine if every happy (and only those) user of one of my ROMs has donated 5€+.




After some sleepless nights I am happy to present CM10.2 for the LG P990 :highfive:
The first post contains information for developers, the second one a download and changelog of my personal testbuilds.

My time is rather limited these days. I will maintain the p990 device tree for others to use and post my development test builds.
But I do not plan to support a clean CM10.2 build, as soon as I upgrade to my own fork of CM someone else will have to take over!



Core changelog:
Code:
2131109:
- buildflag optimizations (-Os for arm modules, slightly increases RAM)
- codebase updated to the CM-10.2-M1 snapshot (Android 4.3.1)


20130930:
- fixed camera getting stuck after taking a picture 
  (this isn't about camera FCs - try the norh kernel for them!)


20130930:
- fixed notifications causing media playback interruption


20130829:
- Hack: Disable Wifi suspend options by default 
  (this is a bcmdhd option not compatible to our bcm4329 drivers)
- Additional custom hardwarekeys button actions
- Add gesture based lockscreen security


20130824.2:
- option to use the external SD as primary
- using the T2 camera wrapper (which improves ISO, contrast and saturation)


20130824:
- removed all selinux/auditd etc. modules
- enabled timer coalescence/slack kernel functions by default
- fixed CPU speed options at the performance menu (tegra2 incompatibilities)

20130821:
- dalvik/vm: Dalvik startup with a low memory footprint (gives more free ram)
- built from the new consolidated device tree at [url=https://github.com/p990-dev/android_device_lge_p990/commits/cm-10.2]https://github.com/p990-dev/[/url]

20130820:
- Camera fixed
- hardware OMX fix (mp4 videos in the stock player etc.)
- Google TTS non-neon incompatibility fixed

20130812:
- SoftAP (wifi hotspot) fixed (see details below)

20130809:
- initial CM10.2 build
- device tree updated for Android 4.3 including:
  fstab updates, RIL updates, CM10.2 source build incompatibilities fixed etc



Information for developers:

I have created a clean and consolidated device tree for cm-10.2 at p990-dev:
https://github.com/p990-dev/android_device_lge_p990/commits/cm-10.2

We do not need the split into p990 and star-common anymore (that has been done initially to support the p999), thus I decided to combine them.
I git merged them together to retain the 2.5 year old commit history (I really hate those "initial commit bringups, which destroy them completely).

It is only for the new bootloader, as we got a converter to support both.
But if someone wants to maintain a dedicated oldbl branch just send me a PM and I'll give you push access.

In order to build CM10.2 for the p990 we need to track frameworks/av to fix compiling and for the OMX stuff which fixes the camera.
I've set up a build manifest which you can use: https://github.com/p990-dev/android

If you want to fix the SoftAP (wifi hotspot) you need to track my modified system/netd package and apply the patch attached to this post to frameworks/base.
The fix isn't included by default because I'd have to maintain the frameworks/base package - and it would require almost daily updates or it gets out of sync with other packages relying on it causing the build to fail.




Compile your own CM10.2 ROM
For those of you who want to build your own ROM (which I can highly recommend) I've copied the excellent build setup instructions by @Raum1807 here, they should still work for CM10.2:
Make your 'own' ROM today!

0. Preparation

Things you need for building:

A computer
An internet connection
An open mind
Time
Patience


First of all you need a running up-to-date Ubuntu/Linux system. I am using Ubuntu 12.10 64-bit.

Use the terminal to make the steps. A terminal window can be opened by pressing Ctrl+Alt+T. Every single command for the terminal is marked with a $ sign. Just paste every command (without the $ sign) to your terminal window and there shouldn't be any problem.

IMPORTANT: INSTALL EVERYTHING AS A NORMAL USER. DON'T INSTALL AS ROOT!


[INDENTI. Installation of the required packages (Ubuntu 12.10 64-bit)[/SIZE]

Install packages:

Code:
$ sudo apt-get install git-core gnupg flex bison gperf build-essential \
  zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
  libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
  libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos \
  python-markdown libxml2-utils schedtool pngcrush xsltproc zlib1g-dev:i386
Set the links:

Code:
$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
II. Installing JAVA

You need a Java Development Kit for building CM10. Recommended is the SUN JDK 6. As of writing the most recent version is SUN JDK 6 Update 38.

1. Download the jdk-6u38-linux-i586.bin from the Oracle/Sun Java Download Area. If you are on 64-bit Ubuntu as I am, you should grab jdk-6u38-linux-x64.bin.

2. Make the bin file executable:

Code:
$ chmod +x jdk-6u38-linux-x64.bin
3. Extract the bin file:

Code:
$ ./jdk-6u38-linux-x64.bin
4. Move the extracted folder to this this location:

Code:
$ sudo mv jdk1.6.0_38 /usr/lib/jvm/./jdk-6u38-linux-x64.bin
5. Install the new Java source in system:

Code:
$ sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk-6u38-linux-x64.bin/bin/javac 1
$ sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-6u38-linux-x64.bin/bin/java 1
$ sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk-6u38-linux-x64.bin/bin/javaws 1
$ sudo update-alternatives --install /usr/bin/javadoc javadoc /usr/lib/jvm/jdk-6u38-linux-x64.bin/bin/javadoc 1
$ sudo update-alternatives --install /usr/bin/javah javah /usr/lib/jvm/jdk-6u38-linux-x64.bin/bin/javah 1
$ sudo update-alternatives --install /usr/bin/javap javap /usr/lib/jvm/jdk-6u38-linux-x64.bin/bin/javap 1
$ sudo update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk-6u38-linux-x64.bin/bin/jar 1
6. Select the default Java version for your system:

Code:
$ sudo update-alternatives --config javac
$ sudo update-alternatives --config java
$ sudo update-alternatives --config javaws
$ sudo update-alternatives --config javadoc
$ sudo update-alternatives --config javah
$ sudo update-alternatives --config javap
$ sudo update-alternatives --config jar
7. Check Java version:

Code:
$ java -version
8. Verify the symlinks. Javac, Java, Javaws, Javadoc, Javah, Javap and Jar should all point to the new Java location and version:

Code:
$ ls -la /etc/alternatives/java* && ls -la /etc/alternatives/jar
III. The sources

Install repo:

Repo is a tool that makes it quite easy to download and maintain the sources of Cyanogenmod.

Code:
$ mkdir ~/bin
$ PATH=~/bin:$PATH
$ cd ~/bin
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo[/QUOTE]
[/hide]

After this is done (one time only of course) you can build your own CM10.2 ROM.
There is no need to handle a local_manifest as I included the required repos into the main mainfest.
I've again used [user=4732829]@Raum1807[/user]'s instructions but updated them to CM10.2

[hide][B][SIZE=3]Get the sources[/SIZE][/B]

Start with creating a new working directory for CM10.2:

[CODE]$ mkdir ~/cm10.2
$ cd ~/cm10.2
Initialize Repo for Android CM10.2 (Android 4.3):

Code:
$ repo init -u git://github.com/p990-dev/android.git -b cm-10.2
and enter your credentials if needed.

Download the sources:

Code:
$ repo sync
Wait until it's finished (takes a lot of time!).

If the process hangs use Ctrl+C to break out of it and resume the download with another

Code:
$ repo sync
Initialize the environment

Code:
$ . build/envsetup.sh


Build the ROM

Code:
$ repo sync
$ breakfast p990
$ mka bacon
and flash it via CWM/TWRP. Make a clean start (if necessary) with format /system, wipe data/factory reset, etc..


Have fun!
 

Attachments

  • SoftAPfix.patch
    2.5 KB · Views: 681
Last edited:

tonyp

Inactive Recognized Developer
Feb 3, 2011
5,019
34,902
for users

For users:

A download of my newest newbl testbuild is here:
http://tonyp.basketbuild.com/index.php?dir=main/CM-10.2/
https://meocloud.pt/link/ab96fec3-cac7-4a3f-b652-560ea5efbfa5/tonyp ROMs&Others/ (mirror by @trocopassu, thanks!)

It comes with kk 126 + kowalskimanager, mini gapps for 4.3.
Apart from my fixes to make this old device with ICS(!) blobs and an outdated kernel work it's mostly clean cm10.2 build.

Installation instructions (coming from another ROM than CM10.2):
Do a full wipe. Do another reboot after the first boot. Don't *****.

Installation instructions (updating to a newer CM10.2 build):
Flash the ROM. Reboot. No wipes needed.​


Working:
- Nearly the same features as in CM10.1 (phone, wifi, data, etc).

Not working (oh and pretty please, no "reminders" of what's broken):
- BT is pretty much broken - see here for more details
- camera (yes, it's completely broken)
- wifi hotspot
- all the cm10.1 bugs are still there of course (hdmi etc.)


Changelog:
Code:
[B]cm-10.2-20130824-UNOFFICIAL-p990.zip[/B]
- removed all selinux/auditd etc. modules.
- fixed setting the CPU speed at the performance menu
- enabled timer coalescence/slack kernel functions by default
- lowered the vibration strength
- merged upstream (JWR66Y is merged)


[B]cm-10.2-20130821-UNOFFICIAL-p990.zip[/B]
- dalvik/vm: Dalvik startup with a low memory footprint 
- add the possiblity of using external sdcard as application storage for user 0
- added sys.mem.max_hidden_apps=4 to the build.prop 
- back to CM10.1 stock GPS files 

[B]cm-10.2-20130820-UNOFFICIAL-p990.zip[/B]
- Camera fixed \o/
- hardware OMX fix (mp4 videos in the stock player etc.)
- added my memory management option from CM10.1 (more aggressive task killing)
- long press the clear recents button to clear cache
- enabled development settings for the device owner by default
- enabled camera shutter muting (follows device sound settings)
- re-added Focal
- Google TTS fix
- included mini gapps package updated
- merged upstream

[B]cm-10.2-20130812-UNOFFICIAL-p990.zip[/B]
- SoftAP (wifi hotspot) fixed
- merged upstream


[B]cm-10.2-20130809-UNOFFICIAL-p990.zip[/B]
- initial build
 
Last edited:

tonyp

Inactive Recognized Developer
Feb 3, 2011
5,019
34,902
Sweet, I got the power to move threads from the dev discussion to this place :D
As the main issue seems fixed (spoiler alert - see below :p) and I doubt there will come too much input from other developers anyways, I think we can continue this here.
Still try to use SREEPRAJAY thread for general input :)

Sooo... what's the big news.
Thanks to the help of @timduru I managed to find the missing piece which is required for this:

3f24.jpg


:victory: :victory: :victory:

I will post a new build in the evening :good:
 
Last edited:

JUMPhil

Senior Member
Jun 28, 2011
156
71
30
Bremen
[…]
As the main issue seems fixed (spoiler alert - see below :p) […]

Sooo... what's the big news.
Thanks to the help of @timduru I managed to find the missing piece which is required for this:

3f24.jpg


:victory: :victory: :victory:

I will post a new build in the evening :good:

Ermahgerd you're such a genius, man. Thank you so much for your effort. I'm glad you finally found the missing piece required for the plant.
 
Last edited:

chp2

Senior Member
Jan 17, 2013
284
83
Tony, you're fantastic.

I can't say all my current feelings right now but I'm heating alot (me not my P990, :laugh:)
It's the first time in my life I hope to be back from hollydays soon to be able to download these new builds.

And any news about Github?
 
Last edited:
  • Like
Reactions: Kinimod01

natalya

Senior Member
Jul 24, 2012
988
800
I know we all are grateful, but if hitting the thanks button is not enough, then please use the topic in the general section as tony said. Try to keep the topic right here as clean as it has been so far, no matter how hyped the great devs make us :)

Sent from my LG-P990 using xda premium
 

MetaIIica

Senior Member
Aug 30, 2012
1,568
2,620
Saarbrücken
This is cool....

So i can add p990 back CM10.2 tree from PAC Man.... with nightly and mine builds. We have many things updated and added... Settings menu are new, now with OTA officially and many more xD

But i will wait a little bit and will see if all work fine in this Thread with a clean CM10.2.. Lets first fix all bugs :)

TonyP gratulations, great work
 

aftermath85

Senior Member
May 24, 2013
309
88
Manila
Sweet
3f24.jpg


:victory: :victory: :victory:
I will post a new build in the evening :good:

:crying::crying::crying:
(tears of Joy..) hope that will be a real download link.. :D

Amazing work! You are getting better & better on this... Halleluiah... ^__^
finally...

edit: sorry for spamming ithought im on Discussion thread.. mod will you please delete this , i can't the delete
 
Last edited:

Youngbloodx

Senior Member
Feb 16, 2012
270
47
Although I just bought my gs4 a few days ago, this is great news. Maybe it can increase the resale value of the 2x. Or I can even use it as a backup phone. Good job to all the devs responsible for this. I'll give this a flash as soon as I can.

Sent from my SGH-I337M using xda app-developers app
 

tonyp

Inactive Recognized Developer
Feb 3, 2011
5,019
34,902
Okay, the new build is up :)
Changelog:
Code:
cm-10.2-20130820-UNOFFICIAL-p990.zip
- Camera fixed \o/
- hardware OMX fix (mp4 videos in the stock player etc.)
- added my memory management option from CM10.1 (more aggressive task killing)
- long press the clear recents button to clear cache
- enabled development settings for the device owner by default
- enabled camera shutter muting (follows device sound settings)
- re-added Focal
- Google TTS fix
- included mini gapps package updated
- merged upstream

It looks like GPS is broken.
Would be great if some of you guys could test it and try out different GPS fixes out there at xda, maybe one or the other will work...


I don't think that is true. But if it is, that extra money should go to tonyp!
Oh I like that :good:

You all know where my donation links are - I'm putting lots of effort into the 2x and appreciate each and every incoming beer.
Imagine the amount of money I'd have made when each (happy) user would have donated just 5€ ... :cowboy:



Tony, you're fantastic.
:highfive:


And any news about Github?
I am almost done:
https://github.com/p990-dev/android_device_lge_p990

It should be complete but is untested, will do my next build from the sources, then I can give the green light.


Can u people stop spamming thank you's in DEV thread. Thanks.
Actually: I don't really care that much.
If I would have wanted to keep the thread entirely clean I could have left it in the dev discussion section in the first place.
 
Last edited:

aoh1996

Senior Member
Apr 10, 2012
96
38
Borispol
Almost on my birthday :laugh: Thanks man! Gonna test it's battery life, because on my Nexus 7 it's much better than on android 4.2.
 
  • Like
Reactions: kekks

thorstenhirsch

Senior Member
Dec 13, 2010
134
74
Yay, camera fixed. Concerning GPS there are 2 apps that might help:

1.) FasterFix (might not be needed)
2.) GPS Status - Test & Fix

So I installed FastFix first, selected "Europe" (time server), but still got no GPS signal. I'm not sure if setting the time server is persistent. If it is, this step might be needed. But you can also try to install the 2nd app only: GPS Status - Test & Fix. I started it and suddenly the GPS worked! From then on it also worked in Ingress and Google Maps.

I attached the logcat of both situations: gps_error.txt is before installing any of the apps, gps_fixed.txt is when it works successfully. Both logcats are grepped for "gps_BRCM" and they both start when a GPS signal was not found. Then the screen turns off (GPS also), then screen turns back on (GPS also) and in one case it gets a signal, in the other case it doesn't (although it gets a good number of sattelites in both cases, you see num_svs up to 8).
 

Attachments

  • gps_error.txt
    20.1 KB · Views: 28
  • gps_fixed.txt
    14.4 KB · Views: 24

lucfig

Senior Member
Feb 19, 2008
901
261
Rio das Ostras
@tonyp just one question. Is it build with GCC 4.7/4.8?
Asking because for now I am a heavy user of BT headset.
Thanks us advance

Enviado de meu LG-P990 usando Tapatalk 4
 

Top Liked Posts

  • There are no posts matching your filters.
  • 238
    CM10.2 for the LG Optimus 2x


    If you appreciate my work on the LG Optimus 2x you can support me by donating!

    I am doing this for free in my leisure time because I like working on Android stuff and helping others out.
    You're not required to donate, but I highly appreciate a couple free beers or pizzas as a gratidue for my work.


    To quote one of the most famous xda developers:
    Don't be a leech, buy me a beer (and use the "Thanks" button!). Imagine if every CF-Root user has donated me $1...

    I am nowhere near his usercount, but just imagine if every happy (and only those) user of one of my ROMs has donated 5€+.




    After some sleepless nights I am happy to present CM10.2 for the LG P990 :highfive:
    The first post contains information for developers, the second one a download and changelog of my personal testbuilds.

    My time is rather limited these days. I will maintain the p990 device tree for others to use and post my development test builds.
    But I do not plan to support a clean CM10.2 build, as soon as I upgrade to my own fork of CM someone else will have to take over!



    Core changelog:
    Code:
    2131109:
    - buildflag optimizations (-Os for arm modules, slightly increases RAM)
    - codebase updated to the CM-10.2-M1 snapshot (Android 4.3.1)
    
    
    20130930:
    - fixed camera getting stuck after taking a picture 
      (this isn't about camera FCs - try the norh kernel for them!)
    
    
    20130930:
    - fixed notifications causing media playback interruption
    
    
    20130829:
    - Hack: Disable Wifi suspend options by default 
      (this is a bcmdhd option not compatible to our bcm4329 drivers)
    - Additional custom hardwarekeys button actions
    - Add gesture based lockscreen security
    
    
    20130824.2:
    - option to use the external SD as primary
    - using the T2 camera wrapper (which improves ISO, contrast and saturation)
    
    
    20130824:
    - removed all selinux/auditd etc. modules
    - enabled timer coalescence/slack kernel functions by default
    - fixed CPU speed options at the performance menu (tegra2 incompatibilities)
    
    20130821:
    - dalvik/vm: Dalvik startup with a low memory footprint (gives more free ram)
    - built from the new consolidated device tree at [url=https://github.com/p990-dev/android_device_lge_p990/commits/cm-10.2]https://github.com/p990-dev/[/url]
    
    20130820:
    - Camera fixed
    - hardware OMX fix (mp4 videos in the stock player etc.)
    - Google TTS non-neon incompatibility fixed
    
    20130812:
    - SoftAP (wifi hotspot) fixed (see details below)
    
    20130809:
    - initial CM10.2 build
    - device tree updated for Android 4.3 including:
      fstab updates, RIL updates, CM10.2 source build incompatibilities fixed etc



    Information for developers:

    I have created a clean and consolidated device tree for cm-10.2 at p990-dev:
    https://github.com/p990-dev/android_device_lge_p990/commits/cm-10.2

    We do not need the split into p990 and star-common anymore (that has been done initially to support the p999), thus I decided to combine them.
    I git merged them together to retain the 2.5 year old commit history (I really hate those "initial commit bringups, which destroy them completely).

    It is only for the new bootloader, as we got a converter to support both.
    But if someone wants to maintain a dedicated oldbl branch just send me a PM and I'll give you push access.

    In order to build CM10.2 for the p990 we need to track frameworks/av to fix compiling and for the OMX stuff which fixes the camera.
    I've set up a build manifest which you can use: https://github.com/p990-dev/android

    If you want to fix the SoftAP (wifi hotspot) you need to track my modified system/netd package and apply the patch attached to this post to frameworks/base.
    The fix isn't included by default because I'd have to maintain the frameworks/base package - and it would require almost daily updates or it gets out of sync with other packages relying on it causing the build to fail.




    Compile your own CM10.2 ROM
    For those of you who want to build your own ROM (which I can highly recommend) I've copied the excellent build setup instructions by @Raum1807 here, they should still work for CM10.2:
    Make your 'own' ROM today!

    0. Preparation

    Things you need for building:

    A computer
    An internet connection
    An open mind
    Time
    Patience


    First of all you need a running up-to-date Ubuntu/Linux system. I am using Ubuntu 12.10 64-bit.

    Use the terminal to make the steps. A terminal window can be opened by pressing Ctrl+Alt+T. Every single command for the terminal is marked with a $ sign. Just paste every command (without the $ sign) to your terminal window and there shouldn't be any problem.

    IMPORTANT: INSTALL EVERYTHING AS A NORMAL USER. DON'T INSTALL AS ROOT!


    [INDENTI. Installation of the required packages (Ubuntu 12.10 64-bit)[/SIZE]

    Install packages:

    Code:
    $ sudo apt-get install git-core gnupg flex bison gperf build-essential \
      zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
      libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
      libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos \
      python-markdown libxml2-utils schedtool pngcrush xsltproc zlib1g-dev:i386
    Set the links:

    Code:
    $ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
    II. Installing JAVA

    You need a Java Development Kit for building CM10. Recommended is the SUN JDK 6. As of writing the most recent version is SUN JDK 6 Update 38.

    1. Download the jdk-6u38-linux-i586.bin from the Oracle/Sun Java Download Area. If you are on 64-bit Ubuntu as I am, you should grab jdk-6u38-linux-x64.bin.

    2. Make the bin file executable:

    Code:
    $ chmod +x jdk-6u38-linux-x64.bin
    3. Extract the bin file:

    Code:
    $ ./jdk-6u38-linux-x64.bin
    4. Move the extracted folder to this this location:

    Code:
    $ sudo mv jdk1.6.0_38 /usr/lib/jvm/./jdk-6u38-linux-x64.bin
    5. Install the new Java source in system:

    Code:
    $ sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk-6u38-linux-x64.bin/bin/javac 1
    $ sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-6u38-linux-x64.bin/bin/java 1
    $ sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk-6u38-linux-x64.bin/bin/javaws 1
    $ sudo update-alternatives --install /usr/bin/javadoc javadoc /usr/lib/jvm/jdk-6u38-linux-x64.bin/bin/javadoc 1
    $ sudo update-alternatives --install /usr/bin/javah javah /usr/lib/jvm/jdk-6u38-linux-x64.bin/bin/javah 1
    $ sudo update-alternatives --install /usr/bin/javap javap /usr/lib/jvm/jdk-6u38-linux-x64.bin/bin/javap 1
    $ sudo update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk-6u38-linux-x64.bin/bin/jar 1
    6. Select the default Java version for your system:

    Code:
    $ sudo update-alternatives --config javac
    $ sudo update-alternatives --config java
    $ sudo update-alternatives --config javaws
    $ sudo update-alternatives --config javadoc
    $ sudo update-alternatives --config javah
    $ sudo update-alternatives --config javap
    $ sudo update-alternatives --config jar
    7. Check Java version:

    Code:
    $ java -version
    8. Verify the symlinks. Javac, Java, Javaws, Javadoc, Javah, Javap and Jar should all point to the new Java location and version:

    Code:
    $ ls -la /etc/alternatives/java* && ls -la /etc/alternatives/jar
    III. The sources

    Install repo:

    Repo is a tool that makes it quite easy to download and maintain the sources of Cyanogenmod.

    Code:
    $ mkdir ~/bin
    $ PATH=~/bin:$PATH
    $ cd ~/bin
    $ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
    $ chmod a+x ~/bin/repo[/QUOTE]
    [/hide]
    
    After this is done (one time only of course) you can build your own CM10.2 ROM.
    There is no need to handle a local_manifest as I included the required repos into the main mainfest.
    I've again used [user=4732829]@Raum1807[/user]'s instructions but updated them to CM10.2
    
    [hide][B][SIZE=3]Get the sources[/SIZE][/B]
    
    Start with creating a new working directory for CM10.2:
    
    [CODE]$ mkdir ~/cm10.2
    $ cd ~/cm10.2
    Initialize Repo for Android CM10.2 (Android 4.3):

    Code:
    $ repo init -u git://github.com/p990-dev/android.git -b cm-10.2
    and enter your credentials if needed.

    Download the sources:

    Code:
    $ repo sync
    Wait until it's finished (takes a lot of time!).

    If the process hangs use Ctrl+C to break out of it and resume the download with another

    Code:
    $ repo sync
    Initialize the environment

    Code:
    $ . build/envsetup.sh


    Build the ROM

    Code:
    $ repo sync
    $ breakfast p990
    $ mka bacon
    and flash it via CWM/TWRP. Make a clean start (if necessary) with format /system, wipe data/factory reset, etc..


    Have fun!
    95
    Sweet, I got the power to move threads from the dev discussion to this place :D
    As the main issue seems fixed (spoiler alert - see below :p) and I doubt there will come too much input from other developers anyways, I think we can continue this here.
    Still try to use SREEPRAJAY thread for general input :)

    Sooo... what's the big news.
    Thanks to the help of @timduru I managed to find the missing piece which is required for this:

    3f24.jpg


    :victory: :victory: :victory:

    I will post a new build in the evening :good:
    93
    And another build is up

    Okay, I've compiled another build.
    cm-10.2-20130824.2-UNOFFICIAL-p990.zip

    Before I go to the changelog here's one thing:
    If you're discussing stuff like PDroid, posting about thanks counts asking about red lines underneath some words, flashing problems with TWRP etc:
    Please use the thread in the general section! link
    As you know I don't mind slight offtopic posts, but a whole page (and I have 50 posts per page) with offtopic chitchat is too much.


    This one is sort of an experimental build, with three major changes:
    1. First of all I've picked something you'll love.
      CM will probably merge this later, but the feature seems ready so you can already test it:


    2. Next I've enabled GPU rendering (forced) by default. I want to gather some feedback about it.
      How's the performance and battery compared to the last build?
      You can disable it at Settings - Developer options.

    3. Last but not least:
      I'm using the tegra2 camera wrapper again (which the Atix & Galaxy R use).
      @epinter made some commits regarding ISO, contrast and saturation.
      Does anyone notice a difference of the camera in a) quality and b) stability compared to the previous build?
      It might be good if you take some pictures before and after flashing the new ROM to compare

      Note that all the camera backports out there will overwrite (and thus disable) the camera wrapper - so if you're flashing one you can't test this anymore.
      (Or you need to rename the camera.tegra.so file inside the flashable zip of the ported camera to vendor-camera.tegra.so).


    Oh and holy **** - the last ROM got >3000 downloads in less than a day!! :fingers-crossed: (Edit: and the post got 46 thanks, that's a sweet ratio lol).
    I should start selling the ROM, 5€ per person. See you in Hawaii :D

    Edit: Oh and I've updated the gapps remover for those of you who don't like the pre-included gapps package, it's in the download folder.
    I will keep pre-including them, I don't see the need to put them into a flashable zip when most people are using gapps anyways, it's a lot easier this way.
    79
    for users

    For users:

    A download of my newest newbl testbuild is here:
    http://tonyp.basketbuild.com/index.php?dir=main/CM-10.2/
    https://meocloud.pt/link/ab96fec3-cac7-4a3f-b652-560ea5efbfa5/tonyp ROMs&Others/ (mirror by @trocopassu, thanks!)

    It comes with kk 126 + kowalskimanager, mini gapps for 4.3.
    Apart from my fixes to make this old device with ICS(!) blobs and an outdated kernel work it's mostly clean cm10.2 build.

    Installation instructions (coming from another ROM than CM10.2):
    Do a full wipe. Do another reboot after the first boot. Don't *****.

    Installation instructions (updating to a newer CM10.2 build):
    Flash the ROM. Reboot. No wipes needed.​


    Working:
    - Nearly the same features as in CM10.1 (phone, wifi, data, etc).

    Not working (oh and pretty please, no "reminders" of what's broken):
    - BT is pretty much broken - see here for more details
    - camera (yes, it's completely broken)
    - wifi hotspot
    - all the cm10.1 bugs are still there of course (hdmi etc.)


    Changelog:
    Code:
    [B]cm-10.2-20130824-UNOFFICIAL-p990.zip[/B]
    - removed all selinux/auditd etc. modules.
    - fixed setting the CPU speed at the performance menu
    - enabled timer coalescence/slack kernel functions by default
    - lowered the vibration strength
    - merged upstream (JWR66Y is merged)
    
    
    [B]cm-10.2-20130821-UNOFFICIAL-p990.zip[/B]
    - dalvik/vm: Dalvik startup with a low memory footprint 
    - add the possiblity of using external sdcard as application storage for user 0
    - added sys.mem.max_hidden_apps=4 to the build.prop 
    - back to CM10.1 stock GPS files 
    
    [B]cm-10.2-20130820-UNOFFICIAL-p990.zip[/B]
    - Camera fixed \o/
    - hardware OMX fix (mp4 videos in the stock player etc.)
    - added my memory management option from CM10.1 (more aggressive task killing)
    - long press the clear recents button to clear cache
    - enabled development settings for the device owner by default
    - enabled camera shutter muting (follows device sound settings)
    - re-added Focal
    - Google TTS fix
    - included mini gapps package updated
    - merged upstream
    
    [B]cm-10.2-20130812-UNOFFICIAL-p990.zip[/B]
    - SoftAP (wifi hotspot) fixed
    - merged upstream
    
    
    [B]cm-10.2-20130809-UNOFFICIAL-p990.zip[/B]
    - initial build
    58
    Okay, the new build is up :)
    Changelog:
    Code:
    cm-10.2-20130820-UNOFFICIAL-p990.zip
    - Camera fixed \o/
    - hardware OMX fix (mp4 videos in the stock player etc.)
    - added my memory management option from CM10.1 (more aggressive task killing)
    - long press the clear recents button to clear cache
    - enabled development settings for the device owner by default
    - enabled camera shutter muting (follows device sound settings)
    - re-added Focal
    - Google TTS fix
    - included mini gapps package updated
    - merged upstream

    It looks like GPS is broken.
    Would be great if some of you guys could test it and try out different GPS fixes out there at xda, maybe one or the other will work...


    I don't think that is true. But if it is, that extra money should go to tonyp!
    Oh I like that :good:

    You all know where my donation links are - I'm putting lots of effort into the 2x and appreciate each and every incoming beer.
    Imagine the amount of money I'd have made when each (happy) user would have donated just 5€ ... :cowboy:



    Tony, you're fantastic.
    :highfive:


    And any news about Github?
    I am almost done:
    https://github.com/p990-dev/android_device_lge_p990

    It should be complete but is untested, will do my next build from the sources, then I can give the green light.


    Can u people stop spamming thank you's in DEV thread. Thanks.
    Actually: I don't really care that much.
    If I would have wanted to keep the thread entirely clean I could have left it in the dev discussion section in the first place.