• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM] [CM12.1] [CAF] [5.1.1] [MOST VARIANTS] [dt2w] [unofficial]

Status
Not open for further replies.

daniel.stuart14

Inactive Recognized Developer
May 14, 2013
313
1,162
0
Curitiba - PR
aqsd.github.io
A cm12.1 rom, compiled with CAF sources by me

What's CAF? CAF (CODE AURORA FORUM), it's a source provide by qualcomm instead LG. It has a better performance compared to CM stock, and since it uses the LP source (CM 12 uses JB), we don't need to do a lot of modifications to get it to work.

WARNING: THIS IS AN ALPHA AND UNOFFICIALY ROM, DON'T INSTALL IF YOU DON'T KNOW WHAT IS A BRICK, AND HOW TO REVERT THAT.

Code:
/*  *** Disclaimer
* I am not responsible for bricked devices, dead SD cards, thermonuclear war, 
* or you getting fired because the alarm app failed. Please do some research 
* if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
* BOOM goes the Dynamite
*/

What is working:
- WIFI
- RIL
- GPS
- NFC
- CAMERA
- H/W AC.
- DT2W (knock On)

BUGS:
- I think any. REPORT ME IF.

Supported Variants:
-D800
-D801
-D802/5/6
-F320
-LS980
-VS980

Installationg Instructions:
(FIRST INSTALLATION)
- Reboot in Recovery
- Format system/data/cache
- Download and install bootstacks for your model. (VERY IMPORTANT, EXPLANATION IN FAQ)
- Reboot Recovery
- Download and install ROM zip for your model.
- Download and install GAPPS (You can use any for 5.1, I recommend BaNKs)
- Reboot! :laugh:

(UPDATE ROM)
- Reboot in Recovery
- Wipe cache
- Download and install ROM zip for your model.
- Reboot! :laugh:


DOWNLOADS:
Mod Edit: Downloads removed pending investigation
ROM = CM12.1 >>> [MODEL] >>> *.zip
BOOTSTACKS = BOOTSTACKS >>> *.zip


-===FAQ===-

WTF is bootstacks? Do I need it? Why?
-"Bootstacks" is how are called the boot partitions on device (laf, rpm, persist, etc). YES, you need it, since without you can't boot. The new lg lollipop source needs the lollipop bootstacks. The one we're using, is a LP bootstack with JB aboot, that provides us loki support.

I am on *ANY ROM*, do I need flash bootstacks?
-Doesn't matter which rom you are, I really recommend you to flash bootstacks.

I have a d805/d806 and I can't boot.
-You'll need a d802 baseband modded to work with your model. See 2# post.

OMFG, I installed the rom without the bootstacks and now I can't boot in recovery, neither in system.
-Power off your phone (press power button for 9s), then, pressing vol-up connect the USB. TCHARAM, now KDZ/TOT it!

Can I flash another kernel with this rom? (thx to @wulsic !)
-Only if this kernel is CAF, but I think there isn't any custom kernel by now supporting CAF. RenderBroken is working on it. If you have some skills, you can compile it from his source.

How can I come back to official CM / LG STOCK (KK/LP)? (thx to @Lawlrus !)
-CM: You'll need flash the JB bootloader before. You can find the images in lg-devs bootstack repo, but, many cm-based threads have an JB bootloader.zip.
-STOCK: You'll need flash KK bootloader before. You can find KK bootloader for d802 in dori's stock LP kernel thread.

Why I don't have root after flash?
-You need activate it in developer options:
How activate: Settings > About This Phone > tap seven times "Build Number". Now, press back and then, settings > Developer Options > Root Acess.

-===FAQ===-


THX TO:
-LG-DEVS TEAM. (For the CAF source, and bootstacks)
-CyanogenMod. (For the cm12.1, :p)






XDA:DevDB Information
CM12.1 CAF UNOFFICIAL, ROM for the LG G2

Contributors
daniel.stuart14
Source Code: https://github.com/lg-devs

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
ROM Firmware Required: LP BOOTSTACKS
Based On: CyanogenMod

Version Information
Status: Testing

Created 2015-05-30
Last Updated 2015-05-29
 

Attachments

Last edited by a moderator:

daniel.stuart14

Inactive Recognized Developer
May 14, 2013
313
1,162
0
Curitiba - PR
aqsd.github.io
Reserved

FIXs AND MODs

D805/D806 BASEBAND:
1-Go to my mediafire (1# post), then BASEBANDS and download your device baseband.
2-Flash the zip in recovery, after flash BOOTSTACKS.
3-Restart! :D

INFO: D805/D806 uses D802 bootstacks + baseband.
Warning: You need flash this baseband ALWAYS after flashing bootstacks. (don't need if updating)
Warning 2: Bootstacks already has a modem, so, these basebands are only for unsupported devices, as d805/6.
 
Last edited:

daniel.stuart14

Inactive Recognized Developer
May 14, 2013
313
1,162
0
Curitiba - PR
aqsd.github.io
Reserved

Changelog:

30/05: Sync with CM
Added d800, d801, vs980, ls980 & f320.
---Only for vs/ls980 & f320 (coming to others variants soon):
|---- Added script to set baseband
|---- Add loc_launcher service

29/05: First upload. (d802 only)
Based in CM12.1 with CAF sources from lg-devs.
 
Last edited:
  • Like
Reactions: Lawlrus

mujka

Senior Member
Dec 22, 2012
68
39
0
Tuzla
greetings to you in Brazil :D
I installed on D802 version so far /all Good
only option that doesn't work is 4K video recording (it is available in options) / maybe it is my fault since i always delete internal storage after flashing everything ?
i tried also in google camera it starts recording but you cant find that file in gallery/file-manager.
Open Camera however records in 4K but in 16FPS in my room with medium light available.
I will test more but i think this is more stable than testing : )

Thank you
 

Lawlrus

Elite Member
Nov 20, 2013
10,692
6,598
113
Hey, don't want to sound noobish, but could you tell us the difference between this and "normal" cm? :)
Without having to spend twenty paragraphs explaining what caf is.

This kernel base is 5.0 versus us currently using 4.2. Also the kernel is full caf versus the current kernel being caf patched.
 
  • Like
Reactions: jamesd1085

wulsic

Elite Member
Aug 21, 2013
1,881
2,315
0
20
Nijmegen
@daniel.stuart14 Nice, I also wanted to say or you could put a note for the flashing beginners that they must not flash a NON-CAF kernel as this is a CAF rom.
Also I wanted to say to you that Rashed97 is also having a caf-panel branch on the device and the kernel tree, it is a bit behind the other commits from the default cm-12.1 caf branch but includes changes for display detection and it also dumped loki in favor of bump. You can use this and pull the changes from the other caf branch but I suppose that Rashed97 is going to update the panel branch with the default caf's branch commits and make it the default branch.
 

jl10101

Elite Member
Jan 16, 2012
1,301
820
113
This ROM is working so well.

dt2w works perfectly.
Whatsapp and VoIP audio is all good.
Skype microphone is working and is super clear.

Two thumbs up! Performance is stellar too!
 
  • Like
Reactions: Soufiansky

daniel.stuart14

Inactive Recognized Developer
May 14, 2013
313
1,162
0
Curitiba - PR
aqsd.github.io
greetings to you in Brazil :D
I installed on D802 version so far /all Good
only option that doesn't work is 4K video recording (it is available in options) / maybe it is my fault since i always delete internal storage after flashing everything ?
i tried also in google camera it starts recording but you cant find that file in gallery/file-manager.
Open Camera however records in 4K but in 16FPS in my room with medium light available.
I will test more but i think this is more stable than testing : )

Thank you
Hmmm, I think I know the problem. Instead 4K it should be 2K recording, since our phone doesn't support 4k. I'll take a look.

Looking forward to the d803 build!
I'm uploading d800/d801 now. If everything goes okay, ls980/vs980/f320 will be there today.
As d803 doesn't has an LP source, I can't compile it. When it comes out, we can talk about it. ;)
 
  • Like
Reactions: dtomlin

errikosd

Senior Member
Mar 24, 2014
618
500
93
So, if I understand correctly, we need JB bootloader for this one, right?

Sorry to ask if this is obvious, but just got my replacement back. I got black lines in my previous one, due to incompatible bootloader.

Thanks ahead!
 

daniel.stuart14

Inactive Recognized Developer
May 14, 2013
313
1,162
0
Curitiba - PR
aqsd.github.io
@daniel.stuart14 Nice, I also wanted to say or you could put a note for the flashing beginners that they must not flash a NON-CAF kernel as this is a CAF rom.
Also I wanted to say to you that Rashed97 is also having a caf-panel branch on the device and the kernel tree, it is a bit behind the other commits from the default cm-12.1 caf branch but includes changes for display detection and it also dumped loki in favor of bump. You can use this and pull the changes from the other caf branch but I suppose that Rashed97 is going to update the panel branch with the default caf's branch commits and make it the default branch.
I put in FAQ, thanks! :highfive:

About caf-panel branch, I think LP kernel detects the panel automatic. (In stock LP is how it works). But I'll take a look.
One thing I was wanting to do in future, is update the aboot to KK, and push bump over loki. But it'll need update bootstacks package, so let's wait a little time before. :p

So, if I understand correctly, we need JB bootloader for this one, right?

Sorry to ask if this is obvious, but just got my replacement back. I got black lines in my previous one, due to incompatible bootloader.

Thanks ahead!
Nop, you need to use BOOTSTACKS in download area. It'll install JB aboot (bootloader), but with LP partitions. It's the better of both worlds. haha
 
Last edited:
  • Like
Reactions: coolcfan

Lawlrus

Elite Member
Nov 20, 2013
10,692
6,598
113
@daniel.stuart14

As silly as it is, you and I both know its going to come up, But you might want to add a bit in the op about going from this ROM to another ROM.

That they need to flash say their 4.2 bootstack if they want to go back to a 4.2 kernel based ROM.

Or 4.4/5.0 bootstack for a stock based.

---------- Post added at 09:48 AM ---------- Previous post was at 09:35 AM ----------

By Tuesday, I'm going to see about setting up some Kind of reference thread.

Been meaning too for a while, but I'm so damn lazy
 

sandys1

Senior Member
Jun 4, 2010
763
165
0
Hmmm, I think I know the problem. Instead 4K it should be 2K recording, since our phone doesn't support 4k. I'll take a look.


I'm uploading d800/d801 now. If everything goes okay, ls980/vs980/f320 will be there today.
As d803 doesn't has an LP source, I can't compile it. When it comes out, we can talk about it. ;)
@daniel.stuart14 - could you please help get a gitcompare on the kernel defconfig ( d803 vs d802 in kitkat source) which is available at opensource.lge.com/osSch/list?types=ALL&search=d803 vs opensource.lge.com/osSch/list?types=ALL&search=d800 and opensource.lge.com/osSch/list?types=ALL&search=d802. There were lots of times in Kitkat, one could take a d802/d800 rom and flash a d803 kernel on top and be done.
Possibly a binary blob diff is also necessary.

I only request this because it is entirely likely that you have the source code lying around. That would be very helpful. thanks!
 

daniel.stuart14

Inactive Recognized Developer
May 14, 2013
313
1,162
0
Curitiba - PR
aqsd.github.io
@daniel.stuart14 - could you please help get a gitcompare on the kernel defconfig ( d803 vs d802 in kitkat source) which is available at opensource.lge.com/osSch/list?types=ALL&search=d803 vs opensource.lge.com/osSch/list?types=ALL&search=d800 and opensource.lge.com/osSch/list?types=ALL&search=d802. There were lots of times in Kitkat, one could take a d802/d800 rom and flash a d803 kernel on top and be done.
Possibly a binary blob diff is also necessary.

I only request this because it is entirely likely that you have the source code lying around. That would be very helpful. thanks!
The problem is that, even if I compile for d803, we'll still without the LP bootstacks. So, it won't boot.
CAF kernel already has an d803-defconfig, unfortunately that's not the problem.
We can only wait. :(
 
Status
Not open for further replies.