yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] parkjh0821:
CyanogenMod 13 For F320

Please NEVER upload this rom to other forum or file share service.

Please contact me before modifying this rom.

Recommend Recovery : TWRP 2.8.7.X or above

Working on CM13

- Cellular(Call&Data)

- Wi-Fi

- GPS

- Sensors

- seLinux

- SD Card(w/ exFat FS)

- and all features except below

Not Working on CM13

- VoLTE

Known Bugs

- Not reported

Change Log

- Sep 4

* Merge latest kernel and device sources from cyanogenmod

- June 12

* Merge latest kernel and device source

* Fix battery icon width

- May 15

* Kernel Timer changed(100hz to 300hz). it increases performance without more power costs.

* TCP buffer define location changed(init -> overlay)

- Apr 10

* Fix Lockscreen's shortcut starts apps(camera, googlenow, etc...) while touch other area.

- Apr 3

* increase speak volume from F320K Stock Lollipop's mixser_path.xml

* merge d802 kernel, g2-common source.

- 14 feb

* fix media playback error when seek.

* change default governor to ondemand and customize for msm8974 ap.

* change iosched on init.g2.rc ( bfq -> fiops: for more battery)

* fix invalid number.

- 27 Jan

* sync latest cyanogenmod repos. system is more stable.

- 10 Jan

* Update init.g2.rc

> android 6.0 has changed storage mount like externalSD or USB OTG.

I change storage mount(fstab and etc...). Now can Boot!

* Change Default Governor: SmartassH3

* Change Default IO Sched: fiops

* update power_profile for f320*

- 8 Jan

* rebase all source

- 25 Dec

* Add IOSCHED, CPU GOV, ExtSD, EXFAT
[G2 Android Development] parkjh0821:
Installing Guide

Precondition :

KK Bootloader and LP BootStack are required in order to install this ROM.

You may also need new Modem for working radio

1. Flashing LP BootStack (If upgrade old version, this is not needed)

1-1. Wipe factory reset, Wipe /system (IMPORTANT, Never Dirty Flash from CM-12.1 or others.)

2. Flashing Modem(If you first install)

3. Flashing CM13

4. Flash Gapps

5. Reboot

Source Code

Github : https://github.com/whdgmawkd

android_device_lge_f320, android_device_lge_g2kr-common,android_kernel_lge_msm8974_kr

Special Thanks to

CyanogenMod (Rom Source)

TheMuppets (CM vendor)

lg-devs (LP BootStack)

mpeople (KitKat Bootload for each F320S/K/L)

Download Link

I'm not fluent in English. Sorry for my poor English.

Modem : https://www.androidfilehost.com/?w=files&flid=46208

It was included KitKat Bootloader and LP Modem and etc.

Stable ROM : https://www.androidfilehost.com/?w=files&flid=46198

Download "cm-13.0-20160903-UNOFFICIAL-f320.zip"

Customized ROM by [MENTION=5232381]pipyakas[/MENTION] : https://www.androidfilehost.com/?fid=24591023225176446

* Changelog

- Compiled with UBERTC 5.3 for the rom and Architoolchain 4.9 for the kernel

- -O3 optimization flag, I'm working on further optimizations like graphite or full archidroid optimizations

- 3.4.112 linux kernel, I added 2.65ghz CPU OC and 650mhz OC, for the kernel I'm trying to implement zram and fastcharge, also I'm looking to modify ondemand governor for better balanced between performance and battery

This is my experimental build with some changes I like, everyone feel free to test it and give me feedbacks, also any advice would be awesome as I only have a month of experience in android building

Gapps : Use anything support 6.0.X. Recommend OpenGapps.
[G2 Android Development] liusi522:
Merry Christmas.

Thank you for your work.
[G2 Android Development] Velkyrix:
I shall test it. if it has the same bug i have with another marshmallow rom, i will re use the report i did on the prev rom. wish me luck :)
[G2 Android Development] adriannxda:
It won't boot on my F320L. It gets stuck at LG logo. My steps: Wipe data, cache, system, dalvik. Install F320L_KK_bootloader_plus_LP_bootstack.zip. Reboot to recovery. Install ROM. Is it supposed to boot on F320L?
[G2 Android Development] Velkyrix:
wont boot on f320k. tried from Vanir 6.0.1 (f320 also) and didn't work. there is no reason for me to flash a bootloader/stack because I am on marshmallow. Please help :)
[G2 Android Development] somboons:
For F320S/K
[G2 Android Development] adriannxda:
Previous versions cm12.1 booted and worked fine. It should work on F320L outside Korea.
[G2 Android Development] Velkyrix:
did anyone manage to boot on this rom? mine won't go past the LG logo
[G2 Android Development] liusi522:
f320s .The same as yous.can't boot with LG LOGO .
[G2 Android Development] Velkyrix:
I'm Hoping [MENTION=6189704]parkjh0821[/MENTION] Senpai can fix this
[G2 Android Development] Velkyrix:
planning on fixing the fact it won't go past the LG logo ? don't worry, take your time :) its usually like this on all first builds XD
[G2 Android Development] parkjh0821:
I'm sorry for late.

I found It cant boot because rom has critical problem. but I dont know why it cant boot.

boot image is OK. maybe overlay(ExtSD Patch) make this problem.

but I dont have enough time to build new cm13.

it will take long time to release new build.
[G2 Android Development] liusi522:
It's not your fault. It's just your job no return.Just Do your own thing.

When you have a new building in your free time, I'll test.Thanks:o
[G2 Android Development] Velkyrix:
its ok. take ur time. aslong as in the end, we will have a booting cm13 :)
[G2 Android Development] parkjh0821:
new version released.

but still cant booting.

need more tester and feedback.

my device cant boot this rom with KK bootloader.

stuck at bootanimation and /data partition has no files, only folders
[G2 Android Development] Velkyrix:
Continue trying, good luck!
[G2 Android Development] liusi522:
Thank you for your work.I will test tomorrow .
[G2 Android Development] Velkyrix:
tested

wont go through the cyanogen mod boot animation :(
[G2 Android Development] liusi522:
I think it is something wrong in kernel.

First time ，I only flash this，it can't boot.

Second time，I flash this and flash the kernel from vanir.Yes，it can boot and use.
[G2 Android Development] Velkyrix:
omg really?! where do i get Vanir's kernel??!

I have the rom... do i have to take it from the rom somehow and replace the cm13 one with it?
[G2 Android Development] Velkyrix:
ok will try thanks

---------- Post added at 04:10 PM ---------- Previous post was at 04:09 PM ----------

I backed up my kernel so what do i do in recovery, i cant flash the file for its not a image/zip?
[G2 Android Development] parkjh0821:
Now F320L users can use this Rom! (If your country is not Korea)

Change cpu governor and io sched for better performance and battery!

fstab and init.g2.rc has benn changed.
[G2 Android Development] liusi522:
F320S also can use this！

BUGs：1. Like other rom based cm,can't change network mode

2. No external card write permission

3.RE Explorer FC.
[G2 Android Development] meneses.leonardo:
RE fc fix, install busybox!

A bug i found in another device also running cm13. Bluetooth is not accepting all file types by default, in cm12.1 there was an option in bluetooth settings.

need to change this behavior in source code.

http://xdaforums.com/showpost.php?p=64751923&postcount=51

[IMG="bluettoth setting"]http://s16.postimg.org/z1z2umk4l/Screenshot_2016_01_10_12_18_17.png[/IMG]
[G2 Android Development] ZeistX:
Mine f320L too ,

can boot but im using Hybrid Bootstack xD
[G2 Android Development] parkjh0821:
new version released

- sync latest cyanogenmod source

now system is more stable!

ExternalSD with ExFat works perfect!
[G2 Android Development] bch94:
hello parkjh0821 :)

thanks for your hard work!

i've flashed the newest verson of your ROM, everything seems fine, but i have a small request,please! could you fix the slow charging bug? when i plug my phone, it show "slow charging" on the lock screen. i searched carefully in setting panel but i didn't find any thing to change that charging mode.

thanks again!!! :) respect you work
[G2 Android Development] parkjh0821:
it seems your charger has low-output power(like 550mah,700mah).

check your charger.

lg stock charger has no problem.
[G2 Android Development] LegitCarry:
Hello, Thank you very much for publishing this rom.

I look for a rom which I can use for a long time without formating the device or changing it.

Is it stable enough at this point?
[G2 Android Development] ailing:
Recent build is quite stable, but I found strange behavior in CPU governor.

Default governor is SmartassH3, though I don't have any experience with this new governor,

I believe this governor should behave like interactive, at least it should be more energy efficient.

But I found out CPU clock has a tendency to stay in 2265MHz resulting battery drain.

The problem is interactive governor is strange, too. It just keeps stick to 2265MHz.

Ondemand seems okay.

Is it possible kernel is malfunctioning ?

I checked with kernel adiutor.

새로운 빌드의 스마트애스H3 가 다른 클럭을 거의 사용하지 않고 항상 최고클럭에 고정되어 있습니다.

인터랙티브로 바꿔봤더니 순간순간 저클럭을 사용하기는 하지만 역시 최고클럭에 머무르더군요.

분명 정상은 아닌 것 같습니다. 반면 온디맨드는 정상적으로 하위클럭을 사용하네요.

개인적인 의견이지만 과거 Bacon 은 전혀 배터리 절약에 도움이 안되는 가버너였기 때문에

새로운 가버너가 디폴트가 된 것이 반가웠지만 뭔가 정상은 아닌 듯 합니다.
[G2 Android Development] afj9966:
is it normal to have such battery slope?

i notice the wifi is on all the time but the phone is in deep sleep but i set the wifi is on only when plugged in. i found this problem in many rom and flash stock cant help. is there any solution?(how ever the deep sleep dont take much battery)

the second thing is when i watch youtube with wifi,the battery drop rapidly. is it fine?
[G2 Android Development] parkjh0821:
now i checked your issue. and i found same problem.

smartassH3 is ported from other kernel source and it optimized for that devices. so it works incorrectly.

this governor will be deprecated in next build. and change default governor to ondemand or interactive.

what make clock force 2.26ghz is some header files for smartassH3(interactive use same header, because interactive has same problem)

thank you for your reporting

가버너 문제 확인했습니다.

헤더에 문제가 있어 이 헤더를 같이 사용하는 interactive기반 가버너는 다 그러는듯합니다.

다음빌드에서는 삭제될겁니다 그리고 ondemand나 interactive중 하나로 변경하겠습니다.

감사합니다.
[G2 Android Development] parkjh0821:
try settings -> location -> 3dot menu- > scanning -> uncheck Wi-Fi scanning
[G2 Android Development] despine:
I have f320s, running blisspop rom 6.01 I have network issue, the speed is only G and it is very very slow, although it is on lte-only mode in options.

Can anyone confirm that they have good download speed?
[G2 Android Development] afj9966:
thank you, it works
[G2 Android Development] parkjh0821:
sorry, i'm not bliss rom builder. check your bootstack or modem version
[G2 Android Development] parkjh0821:
Feb 14

Fix invalid number

Fix media play issue when seek

Change cpu gov : ondemand, optimized for msm8974

Change iosched on init.g2.rc : bfq -> fiops, better battery
[G2 Android Development] despine:
still problem with network, only getting G speed

I am using f320s, on your latest feb 14 build, with modem from your boostack
[G2 Android Development] axunder:
Thanks 4 your work.

P.S. Pls. fix the problem of indicating H/H+/EDGE symbols when the phone is in roaming. Only R symbol is shown, but all other smartphones (ZTE, Freelander) in this network shows H or E with R symbol.
[G2 Android Development] roby000:
thanks

thanks for new room:good: work very good
[G2 Android Development] parkjh0821:
while roaming, it is normal.

when i visit japan and turn on roaming, only R symbol is shown. (even if it was H or H+, LTE etc...)
[G2 Android Development] parkjh0821:
where is your country or mobile carrier? in Korea, H,H+,LTE works without problem. and i cant test other c****ry.

check APN or Your SIM Status.
[G2 Android Development] roby000:
when upgrade room........................

When programmed to do before a total reset of the phone, then installed the latest gapps " pico open gapps"

not update above. reset devil, data, system. first, after room and final gapps .

when you upgrade your phone works bad, better to reset everything before, new installation is best solution :good: :good: :good: :good:

opengapps. org select. arm 6.0 and pico for last gapps
[G2 Android Development] roby000:
hi thanks for new room 2016.03.06 news in this room ?

:

what news in this last room thanks
[G2 Android Development] axunder:
Where is this 2016.03.06 ? I see no rom with such date for F320.
[G2 Android Development] roby000:
have room see link

https:// www .androidfilehost.com/?fid=24438995911971796

this link last room work good , reset first phone

When programmed to do before a total reset of the phone, and installed the latest gapps " pico open gapps"

not update above. reset devil, data, system. first, after room and final gapps .

when you upgrade your phone works bad, better to reset everything before, new installation is best solution
[G2 Android Development] axunder:
Will download it now and wait for the news about it. Want to know what changed first, cause my latest Cm13 14/02/2016 works good I think.
[G2 Android Development] roby000:
hi

I asked but did not respond, I think that solves the problem of network change automatically, I installed it works well.

but you have to reset everything, ever update above.

i m italian.:laugh::good:

i have f320k nice phone now cost only 95 euro.. aliexpress.

only thing I do not like are the speakers, bad quality
[G2 Android Development] axunder:
Hi!

I'm from Ukraine. I have bought my F320S from Ali too for only 103 USD, I like the sound but I don't like the battery lifetime, it works only 1 day or less. Hope a new one I ordered will last longer. My F320K also has some issues with the network (loses signal or week signal 3G) sometimes but I'm not sure wheter it's phone's problems or the network's.
[G2 Android Development] roby000:
hi

I have no problem with it the battery it with the network works well with this room:D:D

this phone is slightly less powerful, such as received signal

the best is huawei

I have so many phones, gladly use this often, thanks to our friend who has developed this room perfect now.

I use telephone operator the best signal where I live
[G2 Android Development] Jay.son.:
Can anyone share a link for kk bootloader for f320s. Thanks
[G2 Android Development] roby000:
https://www .androidfilehost.com/?w=files&flid=46208

for k,l,s
[G2 Android Development] iopdop:
Has anyone experienced any issues while roaming? I cannot send/receive SMS. Calls are fine. I get "error code 38" in Messenger. F320K_KK_bootloader_plus_LP_bootstack_v2.zip and cm-13.0-20160306-UNOFFICIAL-f320.zip.
[G2 Android Development] DarkFrenzy:
someone plz download this kernel sourec CM13

and upload to google or AFH
[G2 Android Development] nitrobg:
https://drive.google.com/file/d/0B0PFpBm7VIjKaE53Z0YwZlBfYkE/view?usp=sharing
[G2 Android Development] blanxlr:
Hows this rom on 320k? Anyone tried it? Do we have many bugs?

---------- Post added at 08:09 AM ---------- Previous post was at 08:09 AM ----------

I dont wanna lose sd card support
[G2 Android Development] DarkFrenzy:
Its fine. Sdcard also working . everything is fine
[G2 Android Development] blanxlr:
Thanx for reply. Another question. Do i need a bootstack? I am currently on cloudy 3.3. Lollipop base rom
[G2 Android Development] DarkFrenzy:
ya u need KK Bootloader and LP BootStack.

thats mentioned in the second post

http://xdaforums.com/showpost.php?p=64481307&postcount=2
[G2 Android Development] blanxlr:
Thanks 4 reply. Hmm, still need it. (prefer not to) cloudyfa's rom was so simple to install (root, recovery and flash rom). I will look into it. Really want to try mm, because of security(?)
[G2 Android Development] parkjh0821:
i'm sorry for late.

New version released!

* Speaker Volume has increased.
[G2 Android Development] bc050400:
modem work perfectly

Hi Team

i gratefully thank you for share modem for Korean version.

i very badly needed this modem as i am not able to call neither message and my phone not auto rotate.

Now my smart phone Lg g2 f320s perfectly working

thanks you once again
[G2 Android Development] parkjh0821:
New version Released!

- Fix Lockscreen issue

if it is not solved, plz reply me.
[G2 Android Development] pipoy7:
Installing Guide

Precondition

KK Bootloader and LP BootStack are required in order to install this ROM.

You may also need new Modem for working radio

1. Flashing LP BootStack

1-1. Wipe factory reset, Wipe /system (IMPORTANT, Never Dirty Flash from CM-12.1 or others.)

2. Flashing Modem(If you first install)

3. Flashing CM13

4. Flash Gapps

5. Reboot

Hello, anyone here can answer me, I really like to try this rom, unfortunately i'm on cloudyg2 3.3 rom. So is it possible to flash cm13 over cloudy? Need your expert opinion on this guys. Thanks:cowboy:
[G2 Android Development] blanxlr:
I have the same question.
[G2 Android Development] pipyakas:
You need caf hybrid bootstack for f320 first, then flash cm12.1 or cm13 roms
[G2 Android Development] xxoscarxx28:
And don't forget to clean flash ;)

Wipe

Flash

Benefit :)
[G2 Android Development] ong14:
Excuse me, where can I find a TWRP for my F320s?
[G2 Android Development] khanjui:
http://www.gregtwallace.com/lgg2-projects/twrp/?version=3.0.2-0
[G2 Android Development] ong14:
Thank you very much.
[G2 Android Development] awais52:
I am using f320k with cloudyg2 3.3, can anyone please list down the steps for installing this rom? Which camera does this rom have? How is the camera performance as compared to stock? Does it have the snapdragon camera app?
[G2 Android Development] ong14:
I got a secure boot error, and cannot boot.

How to install CM13 from stock LP(F320s)?

Found a cause: Latest BETA-SuperSU-v2.71-20160331103524.zip

My path:

1. Restock with F320S30E_00.kdz.

2. Root + TWRP with SRKtool_2.1_droidth.

3. Update TWRP to twrp-3.0.2-0-f320-bump-blastagator-signed.zip.

4. Wipe all, except uSD which contains a set of CM and Gapps.

5. Flash cm-13.0-20160410-UNOFFICIAL-f320.zip.

6. Flash open_gapps-arm-6.0-pico-20160418.zip.

7. Restart.
[G2 Android Development] rchrdson21:
Thanks for this best Rom so far. I have some issue, does anyone experienced a wifi sudden random disconnect/connect issue? Mine does happen randomly, any tips to fix this? Thanks!
[G2 Android Development] gnaneshwar.v1:
help for twrp

will u please say me the process how u installed TWRP recovery on our F320L.. please gimme the link bro.
[G2 Android Development] nufhero:
thank you! Rom very good. :good:

but , can you make the navigation ring (long -press action ) return? as the CM 12.1. :victory:

//sr for my english :o
[G2 Android Development] 22pises:
first of all i would like to thanks for this super awesome cm rom for g2 korean users :)

and i have a concern about slightly tiny little bug issue on lockscreen when clicking notification theres a overlaping issue on "Touch again to open" when you tap notification on lockscreen if you have pin,pass, or pattern im using your latest version, sorry i cant include external link screenshot images because this is new account :(

and also after clicking the lockscreen lower icon phone or camera theres a imges,icons dislocation after opening the app. sorry i cant capture its to fast :) and sometimes icons are not changing on lockscreen even if you change it on settings and sorry for my bad english :* :highfive: i hope this will fix soon but dont rush :fingers-crossed: just take your time and drinks some beers :highfive: btw thanks for all :highfive:
[G2 Android Development] Jokohama:
I have been using ver0306 since March, it's good but recently my phone is draining battery like hell, about 15% overnight. I think something is weird when the battery chart shows that the awake time is almost 100%...

And I just flash ver0410. Everything seems normal now. I will report back after a while if something new happen :)
[G2 Android Development] Vuongtky:
After flashed new version (15/5), NO HAVE the quick setting bar...anyone help me?
[G2 Android Development] 22pises:
mine have no problem ~f320L

just flash clean

wipe(dalvic,system,cache,data), or if you upgrade just dont wipe data (dalvic,sytem,cache)
[G2 Android Development] 22pises:
i notice the Status Bar battery icon portrait is bigger and more spacing compared to 04/10 builds

but the lockscreen issue is already fix :) big thanks ang big hugs ~F320L version 05/15(clean install)

now checking bugs
[G2 Android Development] atarashi:
Hi, thanks for the great ROM

I have been using your ROM from yesterday,

have some bug on my f320s, WiFi sometimes not working when sleep (screen off) and when I turn on the screen the WiFi working again in few seconds

How to fix this?
[G2 Android Development] khanjui:
Known bug, no fix for it yet.
[G2 Android Development] bluerain28:
Thank you for this very nice rom for my F320k, but I noticed on the latest update drains battery fast. Anyone here had the same issue as mine? Thank you. :D
[G2 Android Development] xxoscarxx28:
Your wrong.. There is already a fix.. Dorimanx already has it and it is working, no disconnections or any of that sorts. Check out his LP thread ;)

Edit: We just need to have someone merge it
[G2 Android Development] khanjui:
Great news then. Hope someone will merge it.
[G2 Android Development] Jokohama:
I'm currently trying other roms, but I really like the launcher in this rom. Can anyone upload it for me please, thanks alot :p

<Oops, found it, sorry>
[G2 Android Development] parkjh0821:
Rom updated!

!Important!

My lg g2 was broken 3 weeks ago.

Display didn't work and I changed my phone nexus 6p.

So this rom's release will very slowly(about 1 month) and cant test rom if it works.

* merge latest kernel and device source

* fix battery icon's width was too thick
[G2 Android Development] 22pises:
thanks i'll test it :D btw like that 6p :)
[G2 Android Development] pipyakas:
saw that one coming when angler popup in your github a few days ago :)

anw I'm testing a cm13 build with a custom kernel and some optimization flags, using OP's device sources :highfive:

[MENTION=6189704]parkjh0821[/MENTION] can I post it here?
[G2 Android Development] Espinosa_Rommel:
Please share it to us. Im also glad to test it :)
[G2 Android Development] parkjh0821:
You can post that rom. Write my name on your post. Thank you using my sources.

can you link kernel and device sources?
[G2 Android Development] pipyakas:
Actually I was going to post it here, since my build is kind of an experimental one though :rolleyes:

about kernel and device sources I only changed a few things in the kernel, all device sources are the same as yours and also I really dont know how to use github properly at the moment :eek: it's here and it's very messy :crying:

I'm uploading my build atm, it will only be an optional build that will be updated more often with some extra touches and it's not replacing your stable build :)

EDIT: the build is uploaded here, here is some general info about it:

- Built with the device tree and sources provided by [MENTION=6189704]parkjh0821[/MENTION], the OP

- Compiled with UBERTC 5.3 for the rom and Architoolchain 4.9 for the kernel

- -O3 optimization flag, I'm working on further optimizations like graphite or full archidroid optimizations

- 3.4.112 linux kernel, I added 2.65ghz CPU OC and 650mhz OC, for the kernel I'm trying to implement zram and fastcharge, also I'm looking to modify ondemand governor for better balanced between performance and battery

This is my experimental build with some changes I like, everyone feel free to test it and give me feedbacks, also any advice would be awesome as I only have a month of experience in android building :)
[G2 Android Development] parkjh0821:
Your link were added.

Thank you!
[G2 Android Development] Espinosa_Rommel:
Can't take a photo with your build