[Sprint LG Optimus G] fjsferreira:
Hi,

- First things first (warning: skip ahead below the Carbon logo image if you don't want to get sleepy):

Note: english is not my 1st language. Sorry for any errors.

Since the latest available Carbon ROM (simply my favorite) for gee is from July, I decided to go ahead and learn this strange, time consuming but addicting ROM building business. Mind you, my only experience with building was more than 2 years ago, when I did builds of a specific kernel (dzo's) for a specific phone (Huawei U8800). Since then, I even hadn't touch ubuntu at all....

Which takes us to today. Last week, I decided to grab the bull by the horns and start doing a Carbon build it myself. I know, more or less, my way around ubuntu, it hasn't changed much in 2 years that I couldn't start right away.

First build of Carbon - disaster. That thing wouldn't build, sepolicy errors, video encoder errors, busybox erros, even bootanimation errors (these were all simple fixes, but I thought I would never find a solution for these. This kind of stuff was for the pros and my Google-fu wasn't enough.

Gave up on carbon, found out about aicp. Great, seems like a great ROM. Wow, building it went along fine. Let's put it on the phone. Bootanimation, great! A little viration and... bootanimation again. More vibration, bootanimation again. adb logcat: --waiting for device--

God damn it. Let's change the device specific stuff. Tried them all, joollaman's, MikeEx, xboxfanj, etc. All with the same issue, bootloops and no logcat possible.

Okay, won't give up just yet, let's try AOKP now, since there is no recent gee aokp build that I can find. Same deal, builds fine, but bootloop and no logcat.

After countless hours downloading (each ROM source is more than 10GB) and compiling stuff (my modest pc takes more than 3hrs for a first compilation), with no success, I gotta get some help on the forums. Found out I wasn't the only one. AICP and AOKP simply refuse to boot on gee. k5t4j5 is trying to fix that. Let's keep our fingers crossed.

Ok, since those two ROMs build fine without sepolicy or busybox errors breaking everything, let's go again for my primordial objective: build Carbon. Figured I should change the "broken" projects (sepolicy, busybox) paths in the manifest with, for example, the ones from aokp. BINGO!!!!

Carbon now builds fine. First build just yesterday, using MikeEX device tree.

Now, using jollaman999's (thank you!), because I wanted a working gee rom with stock camera right away (and thank you faust93 for your revolutionary work with the camera port).

DISCLAIMER

============================================

I'm reponsible for all the bad stuff this ROM could do to your phone. If it breaks it, tell me and I'll buy you a new phone of your choosing.

Actually, no :D I'm not responsible for anything, your phone, your warranty, your cat, your bills, you know the deal...

And I'm sorry, I can't provide support for this unofficial build, as I'm just a builder with no other skills whatsoever. Also, it's probably better not to ask support on official Carbon channels bc this is completely unoficial, made by some random guy on the intertubes.

THE CARBON ROM

============================================

- About Carbon:

https://carbonrom.org/

- Features:

https://carbonrom.org/features/

Review of Carbon by some guy on youtube:

https://www.youtube.com/watch?v=ShtTnxPNKAA

DOWNLOADS

============================================

GAPPS (PA) - http://xdaforums.com/showthread.php?t=2397942

ATTENTION - I plan on updating these builds at least once a week. Come here regularly. If for some reason, building breaks or I'm out of town or whatever, I'll let you guys know.

To make things clear - This is CARBON GEE and includes jollaman999's Kernel with stock camera drivers. Note, this requires MOD kernels. Gproj kernels won't work with this.

-------------------------------------------------------------------------------------------------------------------

==MEDIAFIRE FOLDER WITH ALL BUILDS==

==GOOGLE DRIVE FOLDER WITH ALL BUILDS==

------------------------------------------------------------------------------------------------------------------

- 1st Build - 09-24-2014 || MEGA || MEDIAFIRE || GOOGLE DRIVE

- 2nd Build - 09-25-2014 || MEGA || MEDIAFIRE || GOOGLE DRIVE

- 3rd Build - 09-27-2014 || MEGA || MEDIAFIRE || GOOGLE DRIVE

- 4th Build - 10-01-2014 || MEGA - Other mirrors, pls, check the folder links

- 5th Build - 10-05-2014 || MEGA - Other mirrors, pls, check the folder links

--------------------------------------- THE NEW BUILDS BELOW NOW INCLUDE JOLLAMAN999 GEE MOD STOCK CAMERA DRIVERS KERNEL V11.1 --------------------------

-6th Build - 10-08-2014 || MEGA - Other mirrors, pls, check the folder links.

-7th Build - 10-13-2014 || MEGA - Other mirrors, pls, check the folder links.

-8th Build - 10-18-2014 || MEGA - Other mirrors, pls, check the folder links.

GEEB users: just flash a geeb kernel after installing the ROM - I personally recommend Jollaman999's kernel, GEEB MOD EXT4 STOCK CAM version.

OFFICIAL CHANGELOG

============================================

(Please take in consideration this rom's build date when checking changelogs)

https://review.carbonrom.org/#/q/status:merged,n,z

HOW TO INSTALL

============================================

First time instalation, or coming from another ROM:

- Make sure you're running a proper working ClockworkMod-Recovery/Team Win Recovery Project - WITH SELINUX SUPPORT! (I used Philz Touch which worked fine)

- Copy GApps and ROM ZIP to your SDCard

- Boot into Recovery

- BACKUP YOUR EXISTING WORKING ROM

- Factory reset, or even better, triple-wipe (system, data, cache)

- Install ROM's zip and then GAPPS

- Reboot (first boot takes a while)

Upgrading from an earlier version:

- Copy the ROM ZIP to your SDCard (No need to wipe anything, it'll do it for you)

- Boot into Recovery

- Flash the ROM zip from SDCard

- Reboot

KNOWN ISSUES

============================================

As this is gee based, it will have known gee bugs. There are probably more but these are the ones I always encounter:

- NFC toggle doesn't work on first boot. After a reboot, it works just fine. Then you can turn it on/off like there is no tomorrow if you want.

- Gee kernels without ported stock camera have, IMO, bad camera quality. Video fps in less than ideal light is worse than if it was taken with a potato. The included kernel has stock camera but beware if you install another kernel without it.

- Gee kernels with ported stock camera (like the one included here) don't turn on flash when focusing at night. In fact, this is stock ROM behavior, nothing that can be done about it.

SOURCES

============================================

Carbondev - https://github.com/CarbonDev/android

Device tree - https://github.com/jollaman999/android_device_lge_gee

https://github.com/jollaman999/android_device_lge_gee-common

https://github.com/jollaman999/vendor_lge_gee

Kernel - https://github.com/jollaman999/jolla-kernel-Stock_Camera

THANK YOU

============================================

- CARBONdev - https://carbonrom.org/

- jollaman999

- faust93

- k5t4j5

-MikeEx

- Google