FORUMS
Remove All Ads from XDA

 View Poll Results: Do you use LineageOS on your L Fino? How do you use your L Fino

Yes, I use it as my primary everyday phone
 
19 Vote(s)
95.00%
Yes, I use it as a music player/backup phone/other
 
1 Vote(s)
5.00%
No I do not use LineageOS
 
0 Vote(s)
0%

[ROM][7.1][UNOFFICIAL][MSM8610][CUSTOM] LineageOS 14.1 for LG L FINO

272 posts
Thanks Meter: 521
 
By christpp, Senior Member on 6th December 2016, 08:40 PM
Post Reply Email Thread

LineageOS 14.1 FOR LG L FINO

NOTICE: THE DEVELOPERS OF THIS ROM DO NOT SHARE ANY RESPONSIBILITY FOR DAMAGED DEVICES, AFTER INSTALLING, OR IN THE PROCESS OF INSTALLING THIS SOFTWARE. MODIFYING YOUR DEVICE IN ANY WAY VOIDS YOUR WARRANTY. PLEASE CONTINUE AT YOUR OWN RISK.


SUPPORTED DEVICES
  • LG L70pn (D290n)
  • LG L70pds (D295)

FEATURES
  • All the device hardware is fully supported and working
  • Official LineageOS's Snap camera application and Jelly web browser
  • Adoptable Storage support
  • Doze mode

CUSTOM FEATURES
  • Custom kernel which includes intelliplug and intellithermal cpu hotplug/thermal drivers by @faux123
  • Custom PowerHAL, based on Nick D2's PowerHAL for msm8226 devices. For more info, please read this

CODE REPOSITORIES
BUG REPORTING

If you find a bug, please report it by entering the "Bug Reports" section on the top of the post. Please avoid duplicate reports.

INSTALLATION INSTRUCTIONS
  • Backup sensitive data
  • Get and install TWRP for your device variant, see this thread and Downloads section below
  • Obtain the latest zip from the Downloads section below
  • If you are coming from another rom project (eg CyanogenMod-13.0), you have to attempt a full wipe before installing. On TWRP, go to Wipe -> Advanced Wipe and select ART Cache, Data, Cache, System. If you were using Adoptable Storage on a previous rom, chances are it won't get recognised by the new rom, in this case select External Storage too. This will erase all the data stored on your SD card.
  • Flash the zip using TWRP
  • Reboot and enjoy

DOWNLOADS

Latest build is: lineage-14.1-20170518-UNOFFICIAL
Latest builds can be downloaded from the links below:
TWRP 3.1.0 recovery images, with full F2FS support and based on the project's custom kernel:SPECIAL THANKS
  • @g-pl for contributing to the kernel/device code
  • @mountaser halak for conducting stress tests for the PowerHAL and for building flashable zips for this project
  • @proudlytm for testing and bug reporting and building the TWRP recovery for L Fino
  • @Quarx2k for the msm8226 kernel
  • @vm03 for his work on getting CyanogenMod on msm8610 devices
  • The CyanogenMod/LineageOS team

DEVELOPERS WANTED

If you are a developer and want to contribute on this project, please send me a private message

XDA:DevDB Information
UNOFFICIAL LineageOS 14.1 PORT FOR LG L FINO, ROM for the LG L Fino

Contributors
christpp, mountaser halak, g-pl, proudlytm
Source Code: http://github.com/LineageOS

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod

Version Information
Status: Alpha

Created 2016-12-06
Last Updated 2017-05-18
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	4798
Size:	44.0 KB
ID:	3960818   Click image for larger version

Name:	2.png
Views:	4700
Size:	88.6 KB
ID:	3960819   Click image for larger version

Name:	4.png
Views:	4696
Size:	45.9 KB
ID:	3960820   Click image for larger version

Name:	5.png
Views:	4446
Size:	54.1 KB
ID:	3960821  
The Following 23 Users Say Thank You to christpp For This Useful Post: [ View ] Gift christpp Ad-Free
 
 
6th December 2016, 08:40 PM |#2  
christpp's Avatar
OP Senior Member
Flag Athens
Thanks Meter: 521
 
More
CHANGELOG:
Also checkout the official distribution Changelog
  • lineage-14.1-20170518-UNOFFICIAL
    • Kernel: Only expose su when daemon is running
    • Kernel: f2fs: Sync with upstream f2fs-stable 3.10.y [taken from g-pl's kernel repository]
    • System: Change cache and data partitions to f2fs
    • System: Kill Gello Browser and introduce Jelly as an alternative lightweight browser
    • System: Introduce Update Notify Service
      NOTICE: A full wipe and manual format of cache and data partitions to f2fs is needed to boot this package. See this post
  • lineage-14.1-20170503-UNOFFICIAL
    • CMActions: Add option to pulse only if device is on a flat surface
    • System: Reduce camcorder mic volume to limit sound distortion
    • System: FS: Change Cache partition to F2FS.
  • lineage-14.1-20170419-UNOFFICIAL
    • Sync with LineageOS repositories
  • lineage-14.1-20170405-UNOFFICIAL
    • System: Disable Sony's Timekeep
    • CMActions: Move to Display Settings and cleanup the code (based on official motorola_msm8226 commits)
  • lineage-14.1-20170314-UNOFFICIAL
    • Kernel: Set cpu input boost frequency to 787 MHz
    • Kernel: Switch back to simplified version of intelli-plug
  • lineage-14.1-20170308-UNOFFICIAL
    • System: Enable Sony's Timekeep
    • Sensors: Use Sony's DASH sensor HAL
    • Kernel: Introduce simple hotplug daemon
  • lineage-14.1-20170221-UNOFFICIAL
    • Kernel: Enable SDcardFS support
    • Kernel: Enable F2FS and sync with upstream stable 3.4.y
    • Kernel: ZRAM and ZSMALLOC: rebase from 3.15
    • Kernel: Enable Linaro's Power Efficient Workqueues
    • Kernel: Improvements on GPU and lowmemorykiller
    • Kernel: Enable CONFIGFS filesystem
    • System: Fix Fm recording
    • System: Enable FFmpeg Codecs [FLAC support]
    • System: ZRAM: Switch to lz4 compression, use multiple cores if needed
  • lineage-14.1-20170213-UNOFFICIAL
    • Kernel:intelli_hotplug: Run all work on a single, freezable workqueue with one worker.
    • System: Re-enable FMRadio app
  • lineage-14.1-20170209-UNOFFICIAL
    • Rebrand to LineageOS since CyanogenMod is now abandoned.
    • Kernel: ext4: Multiple bug-fixes/backports
    • Kernel: Resolve possible deadlocks in scheduler and cpu-boost driver.
    • Overlay: Change doze pulse timings and increase ambient display fade-out time to avoid possible kernel hangs.
  • cm14.1-20161206-UNOFFICIAL
    • Initial build
The Following 8 Users Say Thank You to christpp For This Useful Post: [ View ] Gift christpp Ad-Free
6th December 2016, 08:40 PM |#3  
christpp's Avatar
OP Senior Member
Flag Athens
Thanks Meter: 521
 
More
SD CARD FORMATTING/SPEED TWEAKING GUIDE




NOTICE: I WILL NOT SHARE ANY RESPONSIBILITY FOR BROKEN DEVICES OR SD CARDS, OR LOST DATA AS A RESULT OF FOLLOWING THIS GUIDE. PLEASE CONTINUE AT YOUR OWN RISK.


Before reading this, please keep in mind that the L Fino seems to be not powerful enough to handle adoptable storage easily. This is a hardware limitation rather than a software one. So, getting a huge SD card and trying to extend the internal storage by adopting it won't get the job done. Google's adoptable storage mechanism is actually really heavy for devices, even devices more capable than the L Fino can't cope with it. There are though some tweaks that might get adoptable storage performance more acceptable.

PART 1 : FORMATTING THE SD CARD AS ADOPTABLE

I will describe a procedure that involves giving commands to the device through a shell, everything can be done either through adb or through a terminal app on the device. Root privilledges will be needed. Be warned that after this procedure you will loose all the data on the SD card, so backup any important data.

Open an adb shell or the terminal app on your device.

The android partition tool needs to find an empty partition table on the SD card, otherwise it will break and the re-partitioning will never be completed. Issue the following command to become superuser:

Code:
su
Now, give the following command to enter the fdisk utility, with the SD card selected:

Code:
fdisk /dev/block/mmcblk1
Fdisk will provide its own command prompt. There, to create an empty partition table, issue:

Code:
o
Then, to write changes to the disk issue:

Code:
w
Reboot the device so the kernel will read the new partition table

Re-enter an adb shell or the terminal app

Issue the following command:

Code:
sm list-disks adoptable
Checkout the output. It should only output one line, which contains the disk label for the SD card. Let's assume this label is 'disk:179_128'

On this stage there are two things you can do:
  1. Convert the whole SD card to adoptable
  2. Convert a part of the SD card to adoptable, leaving the rest as portable

I would advice going with the second option, because it has some advantages: It leaves space for putting rom zips and other flashable files on the portable storage, which is the only one that TWRP recovery can currently read and also makes it possible to have music and other documents on the portable storage. Portable storage is always read faster than adoptable.

So, if you want to convert the whole SD card to adoptable, issue this command:

Code:
sm partition <DISK_LABEL> private
where <DISK_LABEL> is the output of the previous command, in our example 'disk:179_128' , so the command becomes sm partition disk:179_128 private


Otherwise, if you want a dual partitioning, issue this:

Code:
sm partition <DISK_LABEL> mixed <PERCENTAGE_OF_PORTABLE_STORAGE>
<DISK_LABEL> should be replaced as above and <PERCENTAGE_OF_PORTABLE_STORAGE> is the whole SD card space percentage that will be given to portable storage. For example, if I need 80% of my SD card to become portable, the command will become : sm partition disk:179_128 mixed 80

Check the output of the above commands. If they do not output anything, it means that the procedure was successfull. Otherwise, you will have to retry everything from the beginning.

Reboot the device and it should recognise the partitions.


PART 2. TWEAKING KERNEL SETTINGS TO GET ACCEPTABLE PERFORMANCE

There are many factors that can affect the performance of adoptable storage, including the number of apps installed on it, the type of apps, the SD card speed rating and the SD card size. On the kernel side, there are some variables that can be tweaked which could lead to better performance. The ideal values for these variables also depend on the above factors, so they actually are specific on each "device setup". If you are interested in finding the best values for your usage purposes, you will have to experiment by changing these values yourself.

Kernel I/O scheduler:
This rom comes with BFQ I/O scheduler enabled at boot. This is the scheduler used by official LineageOS roms and it can handle normal loads adequatelly. It was enabled at some point on cm-13.0 on our device, and actually improved device responsiveness a lot. That though does not mean that it is the best scheduler for each use case. Other available schedulers on the current kernel are: noop, deadline, row, cfq, fiops . If you want to try a kernel I/O scheduler that is not available in the current kernel, please open a feature request and I will add it.

To change the scheduler, you can use one of the available apps on the play store, or from the terminal (as superuser):
Code:
echo 'scheduler' > /sys/block/mmcblk1/queue/scheduler
where 'scheduler' is the scheduler name.

Code:
cat /sys/block/mmcblk1/queue/scheduler
gives the currently selected scheduler (the one included in "[ ]").

Each kernel I/O scheduler has its own variables that can be changed at runtime.
A guide that describes kernel I/O schedulers and what each scheduler-specific variable does can be found here . This guide also describes read ahead buffer, discussed below.

Read Ahead Buffer:
This is a cache of files opened recently and it is used to speed up opening them again if needed. The ideal value for this variable depends mainly on the SD card size. This rom has the value set by default to 2048 KB. Note that larger Read Ahead Buffer does not mean better performance. Performance is limited at very high values and might even drop significantly. If the value is set too high it might cause read/write errors and reduce the SD card lifetime.

To change the read ahead buffer, you can use an app from the play store , or from the terminal (as superuser):

Code:
echo 'size' > /sys/block/mmcblk1/queue/read_ahead_kb
where 'size' is the size in kilobytes

That is all that I am currently aware of about the adoptable storage subject. I will update the post if I have something new to share.
If somebody has some more information to share for tweaking adoptable storage, please share it with us and I will update the post.

Thank you
The Following 2 Users Say Thank You to christpp For This Useful Post: [ View ] Gift christpp Ad-Free
7th December 2016, 12:37 AM |#4  
Ky$h's Avatar
Senior Member
Flag Visakhapatnam
Thanks Meter: 82
 
More
Wow that was quick!
Screenshots!!
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20161207-083702.png
Views:	1412
Size:	44.0 KB
ID:	3960510   Click image for larger version

Name:	Screenshot_20161207-084149.png
Views:	1466
Size:	195.7 KB
ID:	3960511   Click image for larger version

Name:	Screenshot_20161207-084227.png
Views:	1436
Size:	88.6 KB
ID:	3960512   Click image for larger version

Name:	Screenshot_20161207-084339.png
Views:	1406
Size:	131.1 KB
ID:	3960513   Click image for larger version

Name:	Screenshot_20161207-084447.png
Views:	1320
Size:	31.9 KB
ID:	3960514   Click image for larger version

Name:	Screenshot_20161207-084459.png
Views:	1318
Size:	45.9 KB
ID:	3960515   Click image for larger version

Name:	Screenshot_20161207-084951.png
Views:	1298
Size:	54.1 KB
ID:	3960516   Click image for larger version

Name:	Screenshot_20161207-090240[1].png
Views:	1304
Size:	44.4 KB
ID:	3960519  
The Following 2 Users Say Thank You to Ky$h For This Useful Post: [ View ] Gift Ky$h Ad-Free
7th December 2016, 05:51 AM |#5  
Ky$h's Avatar
Senior Member
Flag Visakhapatnam
Thanks Meter: 82
 
More
A few things I've noticed:
#1: Not able to install apks through CM file manager. But it works in ES File Explorer
#2: might not be related to the ROM, but in Allo, while in the chat window, any notification received comes out like a distorted radio noise.
The Following User Says Thank You to Ky$h For This Useful Post: [ View ] Gift Ky$h Ad-Free
7th December 2016, 09:20 AM |#6  
christpp's Avatar
OP Senior Member
Flag Athens
Thanks Meter: 521
 
More
Quote:
Originally Posted by Ky$h

A few things I've noticed:
#1: Not able to install apks through CM file manager. But it works in ES File Explorer
#2: might not be related to the ROM, but in Allo, while in the chat window, any notification received comes out like a distorted radio noise.

Hey, thanks for testing this and reporting issues! I have these issues too and I believe that they are CyanogenMod bugs. I will take a look at the Github repos to find some more information about these. If they are device-specific, I will try to resolve them.

Also, your screenshots have been included the first post, thank you
The Following User Says Thank You to christpp For This Useful Post: [ View ] Gift christpp Ad-Free
7th December 2016, 01:54 PM |#7  
D1stRU3T0R's Avatar
Senior Member
Flag Beclean
Thanks Meter: 70
 
More
My friend have this phone, how I can open his bootloader whitous sd card, and how I can install this ROM? (maybe I'm not the only one who want to know)
7th December 2016, 03:26 PM |#8  
Member
Flag Aleppo
Thanks Meter: 347
 
More
Quote:
Originally Posted by D1stRU3T0R

My friend have this phone, how I can open his bootloader whitous sd card, and how I can install this ROM? (maybe I'm not the only one who want to know)

http://forum.xda-developers.com/d290...-mods-t3310862
7th December 2016, 04:28 PM |#9  
Member
Flag Aleppo
Thanks Meter: 347
 
More
RESURRECTION REMIX V5.8.0 FOR LG L FINO for l fino is out its based on cm14.1
link to the thread
http://forum.xda-developers.com/d290...-fino-t3514725
7th December 2016, 04:52 PM |#10  
D1stRU3T0R's Avatar
Senior Member
Flag Beclean
Thanks Meter: 70
 
More
Quote:
Originally Posted by mountaser halak

RESURRECTION REMIX V5.8.0 FOR LG L FINO for l fino is out its based on cm14.1
link to the thread
http://forum.xda-developers.com/d290...-fino-t3514725

Page not found, fix it
7th December 2016, 07:12 PM |#11  
Member
Flag Aleppo
Thanks Meter: 347
 
More
Quote:
Originally Posted by D1stRU3T0R

Page not found, fix it

sorry for that
try it now
http://forum.xda-developers.com/d290...-fino-t3514725
The Following User Says Thank You to mountaser halak For This Useful Post: [ View ] Gift mountaser halak Ad-Free
Post Reply Subscribe to Thread

Tags
cyanogenmod, lg l fino, msm8610, nougat, rom

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes