[LG Optimus 2x] Firtecy:
Stock LG Jellybean from LG G2

I'm proud to present you my unofficial Stock version of Android 4.2.2.At the moment it is in developing. I only make it public now, beacuse it boots and i think this community can help out a bit at some parts! This is a very unstable version and i now that not everything works!

This version comes LG UI 3 and many features of the G2.

Not everything can get ported

, because we don't have all the hardware stuff from G2, for example: The IR Blaster (so no QuickRemote) or Miracast (requires at the moment Qualcomn libs and stuff).

Please be patient that this version is at the moment only a ALPHA-VERSION so not everything will work as it should be! Please help me by fixing them, if you can and i'm pretty sure that everyone can do at least a bit. You can grab a logcat or at least describe your problem in detail! Bug reports with an detailed explanation and a log are always welcome and please don't report stuff that is already in the not working list. If you don't have enough posts, but think there is an important thing that you want to tell me then write me a PM​

Ported from LG G2:

Because the whole rom is a port of the official G2 system dump you will get a full LG UI. So it is not just a theme, it is a full working system. But as the G2 has a 2 GB system and that would not make so much sense on our device, so i deleted many LG/vendor/carrier apps. I will provide them later as an extension. Our device is really powerful, but the G2 runs a Quad-Core from Qualcomm so under the hood it has much more power. Maybe because of that some stuff will get a bit lagging when on heavy usage.

As you all should know we are only having 512 MB of RAM vs 2GB on G2. I tried to trim the system down as much as i can, but i can't extend our RAM; so very heavy multitasking will cause troubles and sometimes the launcher will redraw. As said above this is only a alpha version! I will try to decrease the system RAM usage as much as possible. (Oh and on a side note: deactivating location access will save you around 10-20 MB because googles location services won't run in background)

Features:

I put many hours of work into it in the last couple of weeks so please remember that when you are complaining about stuff not working. I'm open to everyone that have some ideas on how to fix something and will take a look at everything you send to me! :) Below the list are explanations of some of the features!

LG G2 UI

LG Stock 4.2.2 Keyboard with swipe features

3 Different Screen Off animations

Some gesture shortcuts (like turn device around to silent incoming calls)

LG Guest mode

"Accessory" - Show a overlay of some selected apps when plugging in earphones or the usb cable

Battery saver options

Slide Aside

QSlide Apps

Wireless Storage option

Quiet Mode

QuickMemo Video

Text Link engine

init.d support

Superuser from koush (If it don't work please flash this! This is the Google+ post from koush: Superuser

HDR in Camera, but read as well the non working stuff!

Not availbe stuff for now:

Wireless Storage - Currently not working because of not working wifi

When you enable that option you will be able to acces your phone storage other the network. You will get a screen that shows your phone's ip. Then at your computer open your explorer. Click on the search bar at the top of the window and type:

\\192.168.x.xx (the IP address listed on your Wireless storage screen)

You will be prompted to enter your username and password and once done a network folder labeled "g2" will pop up and you will have wireless access to your phone.

Guest mode: - Currently not working because of a not working lockscreen

With the guest mode you can declare an other lock pattern. With this special pattern the phone will go into the guest mode. This will restrict the usage. You can define some apps that you will be able to use in guest mode and which not. In this mode you can not access the statusbar (pulling it down) or settings app.

LG promotion video

What is not working

Data (phone/sms)

Wifi ( + Wireless Storage)

GPS

Bluetooth

Rotation

Lg Lockscreen (use the small android one, already included) -> Big thanks to nvidia! :eek:

Statusbar pull down, will fc SystemUI

External Storage not mounting

Camera (+ Wise Screen & Smart Video) -> More or less, you can take photos with default settings

Font server

Brightness settings won't get saved (auto + value)

SetupWizard

Contacts -> FC

Date & Time options under settings -> FC

Storage and lockscreen settings -> FC

Custom background (please don't try it!)

Gallery will fc when clicking on an image

MTP -> use Mass storage or just only charge

Phone process will fc everytime in background, please ignore it!

Graphic issues:

Launcher (nearly nothing is displayed right)

Camera (around the shutter button, the background is black)

Calculator (the background is black in normal app // background transparent in qslide)

notebook (the app is displayed too large)

Install

Requirements:

The new unlocked bootloader

TWRP or CWM Recovery (tested with TWRP v2.6.0.0)

A enlarged system partition (use the AIO Toolkit provided by [MENTION=4419327]spyrosk[/MENTION] ), minimum: ~900MB, better 1 GB

Important: You should make a backup of everything before repartition your device! And please make a full wipe before first flash!

First install

Copy the downloaded zip to internal SD Card

Wipe: System + data + cache (This is required, you should backup your current ROM if sth. goes wrong you can always return)

Install the zip file (Don't install any other zip then, please perform a reboot before flashing other zips)

reboot your device

Important: The progress of flashing will take long, so please wait till it finishes! And the first boot will take really long, the next ones will be shorter so for both flashing and first boot: Wait! And after first boot, reboot again!

Updating install

Install the update zip

Wipe cache + dalvik-cache

Reboot

Important:I will not provide everytime a full zip. I will provide update zips and when one is big enough i will make a next full release. I can't provide everytime the full zip. That will cost too much upstream and you have to download every time the full 1 GB zip. So follow these rules:

Download latest full zip (marked with a [full]) > Download other small update zips (marked with [update]) that were released since the last full zip! > Flash the full version first, then the all other update zips (in the correct order!) > Reboot and enjoy 4.2.2

I have worked on this for weeks and is apart from some small code additions to tony, my first contribution, so enjoy it! :) And please read the OP, you mustn't read everything in detail, but at least the working/not working things and the install introduction. When you want to report something, then read how to do it properly! When you want to say thanks to someone here, then press thanks and don't write posts only to say thank you! This is the first ALPHA version, don't expect that most of the stuff works!

Downloads

Alpha #01: At the moment from bitbucekt, but i will provide a link from an other hoster soon! ;) #1 or the mega mirror: #1 provided by [MENTION=2813698]Custom40[/MENTION]

Screenshots:

​

Configuration

The Rom is based on the hardware side of the tonyp T-Build 5- thanks to [MENTION=3605868]tonyp[/MENTION]! I will recompile all stuff new with -OS build flags and the dalvik low memory footprint from Slim Rom sources ;) Really thanks to [MENTION=1200697]DJNoXD[/MENTION] Had not worked at the first try, so i had to take CM sources with -Os and dalvik low memory footprint

Included is the Kowalski Kernel M1 ramhack (we need that extra RAM atm) from the awesome [MENTION=3783116]pengus77[/MENTION]! ZRam is disabled, but the swap partition is enabled by default! (Would be a waste if we leave it unused).

I've reduced the dalvik heap to save apps from taking too much RAM. If this causing troubles post this and i will look which value is better!

Screen density changed in build.prop to 213

Thanks to:

[MENTION=2813698]Custom40[/MENTION] - you helped me so much with all this bringup! :)

[MENTION=3605868]tonyp[/MENTION] - well i learned so much from you and you help me with so much! Would not have the knowledge if you hadn't gave me so many tips and explained so much!

[MENTION=4972367]Jishnu Sur[/MENTION] - i started this because of your idea and you give me much information for this

[MENTION=3783116]pengus77[/MENTION] for providing an awesome kernel

[MENTION=1200697]DJNoXD[/MENTION] for help me with the mounting, some parts of the boot.img and the permission to rebuild from his sources!

@ LG this time you did everything right with code! No crazy stuff and everything well organized! Why not doing this before?!

every other one i forgot - please tell me! :)

And of course my girlfriend, because you support me by everything. Also this port is dedicated to you! :)