yashsingh1/xdaforums huggingface dataset:
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
[MENTION=7800689]D1stRU3T0R[/MENTION] , are you conducting some kind of research? :silly:

1. I started it as a hobby when I felt the stock rom of the L Fino too bloated, fortunately there was existing code for LG W5 which is very similar, so it took about a week to boot CyanogenMod 12.1 on it.

2. and 3. I am not into buying flagship phones and chasing high specs, fast processors and GB of ram. Android is too much complicated anyway to take advantage of the real capabilities of the devices available on the market. And I believe manufacturers build and sell devices mainly for sales and then for innovation or anything else. I personally feel like I do not want to participate in this. I am still building for the phone because I think (and it proves that) it can keep up with Android changes and also benefit from the security and other enhancements of newer versions of the OS (for example the Doze mode)

4. I knew even before creating the poll that the number of users is small. This is a budget phone and LG did not produce it for long. It has also proven to be faulty so many of them have already been recycled :D . I was just curious when creating the poll, on how high the number of votes could get.

5. I build Android for it on my free time and if it boots and works fine, I share the result with anyone interested. I guess I will be building until I get out of free time or the phone dies on me.

6. and 7. I think there is not really anything else to add in the feature list. The device has limited capabilities. So, only things left are bug fixes. If the next android version introduces anything special on the software side, then maybe it could be brought on the Fino.

8. Well I guess I have much free time! It is always fun to write code and/or break things!

9. Earning money from an open source project and from code that mostly isn't yours is not the way to go. I do believe in open source projects and contribute wherever I can. As for experience, I earned lots of it. And eventually hated android more :cool: .
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] leandrolsg:
LiveDisplay after a few days, stops working in automatic mode, you need to restart the device.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] lucascerqueira:
I noticed that when turn airplane mode on, device back to lock screen
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] ElTron:
I obtain this error when I try to install:

[IMG="Error: 7"]http://i.imgur.com/noociNz.jpg[/IMG]

Nothing happends and the phone goes allright.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
Hey,

Could you post the whole error message you get? Some important parts are missing from the photo. Also, please let us know your model and the version of the rom you are trying to install. Are you installing on top of stock rom or a previous lineageos version?
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] ElTron:
Unfortunately, I haven't another image better that this one. I will try to run the zip file again and I will take a complete image.

My mobile firmware has been flashed yesterday for a kdz original file from LG stock. The mobile has been rooted.

I downloaded the abbot.bin and recovery.img for a LG D290n (L70pn) from this thead:

https://xdaforums.com/d290n/development/recovery-twrp-recovery-lg-l-fino-t3308436

and I executed from a terminal emulator:

su

dd if=/storage/external_SD/recovery.img of=/dev/block/mmcblk0p17

dd if=/storage/external_SD/aboot.bin of=/dev/block/mmcblk0p6

the problem is that with these commands my mobile didn't pass from the LG logo. I needed to flash and to root again.

After, I executed the same commands adding bs=2048 at the end of the commands words for the recovery.img

Could be "bs=2048" the responsible of the fail???
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
Have you attempted a full wipe before trying to install the custom rom? If not, please wipe everything through TWRP before installing. Stock partitions are incompatible with LineageOS builds. Remember to format the cache partition to f2fs too, otherwise the rom won't boot.

The wrong bs size could cause trouble yeah, but I could not say for sure. I will have to see the full error output.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] ElTron:
I'm not sure how to make this. I'm a newby.

Once inside TWRP there is a icon called Wipe. I entered here and then it is possible to swipe to factory reset (I've done it) and there are two more options called Advanced Wipe and Format Data. And next, where can I format cache partition to f2fs??? What f2fs does mean??

Sorry for my innocence....

Edit:

a) I've entered in Advanced Wipe and I've selected all but External SD and I did it.

b) With respect to format f2fs:

How To Convert To F2FS

First, boot into TWRP recovery

Select Wipe

Tap Advanced Wipe

Choose Data

Now click Repair or Change File system

Tap Change File System

Select F2FS

Finally, Swipe to Change

I've obtained these errors:

[IMG="Errors at f2fs"]http://i.imgur.com/9EUbUu6.jpg[/IMG]

Edit2:

I have tried to install the zip file and this is the result:

[IMG="First try on Lineageos 14 Zip"]http://i.imgur.com/u1A72NZ.jpg[/IMG]

Edit3:

System Rebooted and this is the result:

http://i.imgur.com/qCHQWwy.jpg

with a moving circle from right to left but no more....

I think I need to flash original LG kdz again. OMG

Edit4:

1) New flash with Flashtools of D290n10g_00_0112.kdz

2) Rooted following this instructions:

http://www.techmoviles.com/root-lg-l-fino-d290n-guia-sencilla/

3) Supersu updated and Rot Checker passed

Now I can unblock bootloader in my D290 and instal TWRP from

https://xdaforums.com/d290n/development/recovery-twrp-recovery-lg-l-fino-t3308436

but I prefer to wait to know more info about the meaning of bs=2048 in recovery.img
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
[MENTION=5746002]ElTron[/MENTION] ,

If I read correctly, you formatted the /data partition to f2fs, right? You should format the /cache to f2fs and not /data.

Please see this post. It contains instructions on how to format the /cache partition to f2fs. It also includes a new build of TWRP recovery by me, which has full support for f2fs, so some errors will go away.

So, these are the full steps to get it working:

Download the patched aboot and the recovery image from this post. (or get the latest TWRP from the link above)

Do the commands mentioned in the previous post to replace the stock aboot and recovery

Reboot into recovery

Do a full Wipe: Go to Wipe -> Advance Wipe -> Select all except External Storage-> Swipe to Wipe

Flash the rom zip through recovery

Format cache partition to f2fs: Go to Wipe ->Advanced Wipe -> Select Cache ONLY -> Repair or change Filesystem -> Change Filesystem -> F2FS.

Reboot into System and it should boot.

Let me know if it still does not work, so I will check it out again

Thanks,
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] ElTron:
Almost it worked. No errors in all process but in the last step (formatting to F2FS) I obtained:

[IMG="Error en F2FS in cache"]http://i.imgur.com/uvdvTRK.jpg[/IMG]

but I worked. :D:D:D:good::good:

I will test but at first it looked awesome.

Provided it worked, is there any way to repair the problem with the cache and the F2FS or that's not important???
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
I am really glad to hear that it finally worked for you. Hope you like the LineageOS experience!! :D .

I guess you are using the recovery built by proudlytm. The error you get is harmless. The recovery spits the error because it can format the partition to f2fs but cannot read f2fs formatted partitions. If you really want to get rid of it, flash the recovery image built by me(see my previous post for the link).
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] ElTron:
Thanks a lot. I used the recovery by proudlytm but if you say that the error is harmless I prefer not to touch anything more at the moment, haha...

I'm a perfect newbie at these tasks. LineageOS 14.1 has been the first ROM I installed in my life.

I have seen that there are no Google apps (neither Play Store). I found this:

https://wiki.lineageos.org/gapps.html

I've have seen that it will work with adb. I need to install it in my Windows 8.1 - 64 bits. I will try....

One question: When I connect the mobile to my PC with a USB cable it is shown the icon of LG-D290n but there nothing inside. Why??? I think it is a question of formatting system but it would be useful to see the files inside microSD in the PC.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Hexacosichoron:
I assume you need to switch from Charge mode to MTP, as Charge mode seems to be the default one.

Anyway, thanks a ton for such an amazing ROM! I got it to work nice and smooth but I goofed and forgot to flash Gapps with it. So I went back to install them both again (iirc you should install Gapps right after a new ROM to avoid google instability?) and I somewhat lost it now. I wiped everything with TWRP and now I can't seem to even install the ROM. I get an Error 7, just like the one ElTron had. Except that I also get errors when trying to Wipe everything except External memory. "Failed to wipe dalvik". I'm somewhat new to custom ROMs, I have a very limited flashing experience so I probably screwed something up and I'll appreciate any tips in the right direction, thanks!

[Edit] When I try to flash your new version of TWRP via TWRP itself, I get Error opening: '/sdcard/recovery_l70pn.img/' (Not a directory).

[Edit2]

I got it to work! Sorry for the hassle. The problem was in the fact that my Cache was already F2FS because I did format it when I first flashed the ROM, and so I assume TWRP 3.0.0 couldn't install anything because it can't work well with that file system. So what I did was revert cache to EXT4 for the time during the flashing process of LineageOS, Gapps and the SU addon. After I was done installing, I just changed the cache back to F2FS and it works perfectly now!
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
[MENTION=8280104]Hexacosichoron[/MENTION] , Good to hear it finally works for you too! You are kind of unlucky guys because the change of cache to f2fs happened on the latest update. If you got here two weeks before, flashing would be fairly easier. Sorry for that.

[MENTION=5746002]ElTron[/MENTION], I almost always flash Gapps right after the rom zip. There is a chance that if you install them at a later stage they won't work as expected. Wiping the cache and dalvik cache in that case might make things better.

Also, to see the files on the device inside Windows, change the mode of the USB to MTP (File Transfer) . The device should popup a notification when you connect it to the pc, you can make the change from there.

Thanks both for trying the rom. If you meet any issues, please report them here so we would try to take care of them
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Hexacosichoron:
The ROM is working fantastic so far, I'm very happy with it. I didn't get to stress test it that much but from what I can see it works really well, a million times better than the preinstalled stock one I had.

The only issue I came across so far was that when you unmount the SD card and mount it again without doing anything else, it immediately gets recognized as "corrupted". The OS offers a fix but the solution comes with a wipe, and I just spent the night transferring a big chunk of data to it :P I don't mind wiping it now then pushing the files back (it's just music) and it's not like you need to frequently unmount and mount your card, but I felt like I should note this as I don't think you're normally required to format your card after mounting. I'm not sure how to check if the sd card itself really is corrupted or not as I don't have a second phone or a card reader, though. Oh and I should probably mention that I didn't try to mess with making it adoptable storage, it's just FAT.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] ElTron:
I've changed the mode of the USB to MTP but now I can see internal storage in the PC but not external SD. I can see it from my LG but not from the PC. Why??

You said "Wiping the cache and dalvik cache in that case might make things better" Is it made from TWRP, isn't it??? (Remember I'm a newbie)

I will try to install now open_gapps-arm-7.1-mini-20170516.zip but I don't know if it is going to work because I rebooted yet the mobile.

In https://wiki.lineageos.org/gapps.html is said:

IMPORTANT: If you reboot into LineageOS before installing Google apps, you must factory reset and then install them, otherwise expect crashes.

How do I made a factory reset or from where??

And more thing:

In site from Gapps is said:

"Copy the Google apps zipfile to /sdcard/"

Is that External SD or what??? I've tried to copy open_gapps-arm-7.1-mini-20170516.zip directly into External_SD via the PC but I obtain an error that says: It is not possible to copy due to an unexpected error...

Error 0x800757 . The parameter is not correct and 3 options Retry, Omit or Cancel

Thanks
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
Ooops, excuse me, I forgot to give instructions on how to wipe cache/dalvik. From the information you provided, I guess this is not enough, you will have to do a factory reset:

Get to the recovery, then click Wipe and then Swipe to factory reset. Then install the rom zip and the gapps zip and then reboot. If you see that it does not reboot for some reason, try formatting /cache partition to f2fs again(see my previous post for instructions) and rebooting.

[Note: There is a key combination to enter recovery if the device does not boot to rom, without needing to go through Flash Tool every time. See this. Do the second method. Although it says about factory reset on the screen, it is hacked to go directly to recovery. Do not mind what the screen says, just press yes on all questions.]

You can put the gapps zip anywhere you like, either internal or external storage. Just navigate to it through the TWRP file manager and click it to install.

About the external SD not shown under Windows: I am a long time Linux only user, so I cannot really debug issues with Windows. Maybe some other user might know more information on this subject. One thing you could try is formatting your SD card through recovery(you will loose all your data on it off course), rebooting and reconnecting the device on the PC in File Transfer mode.

If you want to format the SD card, do the following: Enter recovery, go to Wipe->Advanced Wipe->Select External Storage->Swipe to Wipe.

PS: Go for pico gapps package. There is not enough space on system partition for larger gapps zip
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
Hey, this I a known issue with the operating system. The sd card is not actually corrupted. All you need to do is reboot the device for it to be recognised properly. The same notification about corrupted sd card appears if you do a soft-reboot.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] Hexacosichoron:
Ah okay, thanks!

I just stumbled upon another issue which I'm not sure what to make out of it. This morning when I tried to connect my phone via USB to the PC, the PC froze completely and restarted itself. I tried it again to see if it'll happen again and it happens right as I switch from Charge mode to MTP. I managed to pinpoint the problem to Developer options, as when I disable them I have no problems with MTP anymore.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] hello_world.c:
I've had this issue, too. Do it again and make note of the crash message if you can see it - if it is the LG modem driver, it is the same thing. In this case you need to go to Device Manager, View - Show hidden devices. Then look for the LG modem and uninstall it, also remove driver files.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] ElTron:
What is the format system that Lineage 14.1 uses for MicroSDs?? ExFAT or FAT32?

And what's this format when formatted by TWRP??

I don't know what but something rare has passed to my MicroSD. When a MicroSD is used with Lineage OS there are two options:

1) Used only for files

2) Used for apps too

I'm not sure but when option 2 is used when the mobile is connected to PC we cannot see MicroSD but we can if option 1 is used. I'm not sure about this and I need to verify.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
Hey,

Both exfat and fat32 can be used for the MicroSD I believe. TWRP should be using exfat.

The options you get about the external sd have to do with adoptable storage. Option one is having the sd card the same way it was used in stock rom (fat formatted) and is called portable storage in latest android versions. Option two is making it adoptable storage, which means android will treat it as an "extension" of internal storage to put apps on it. In this option the card is formatted using ext4 or f2fs (android decides itself what to do) and it can be read only by the mobile phone. It won't be available through MTP over USB. There is also an option to partition part of the card as portable and the other part as adopted. This option requires some use of the terminal or adb shell.

I have written a small guide on how configure the card as adoptable or as part adoptable/part protable. It is on the post #3 of this forum thread.

If you need any more help, please write here as always.

Thank you
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] ElTron:
Now I've installed pico GAPPS and Play Store is functional. :good::good::good:

However, there are some problems:

1) The external MicroSD card when chossed as extra internal space for apps is formatted by the system and it rests at 20%. After some minutes, it appears an error that disappears quickly from the screen (something about Javascript...). I think this error would be resolved with the information given in post # 3.

2) This is another error is more important at least for me: I need to use Teamviewer Host. When I install this app, there is a Quick Support for LG, but when I try to install it, it's said that there is not enough free space. I think this is not possible because there are 2.53 Gb in use of 3.54 Gb total. What's happening?? I installed other bigger apps and there is not the same problem.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] D1stRU3T0R:
At the sd-card part, I have the same problem, and part 3 tutorial can't be done, cuz at the restart part it's saying that the sd card it's corrupted, and need to reformat again
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] ElTron:
When MicroSD is taken off and tested on windows it seems to be corrupted but not. I use Mini tool partition wizard to repair it formatting as FAT32. No problems.

If I am not wrong when the SD is wanted to use as extra internal space, it's is need to create 3 partitions in the SD, one primary as FAT3 (the bigger one), the second one as ext3 for apps, and a third for Swap. This can be do with Mini tool partition wizard in Windows.

I will try is that is enough to use the SD as extra internal space.

For me is more important the second error I told about Teamviewer Quick Support.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
1) This is a known issue. If you take the steps mentioned in post #3, you will bypass this problem and format the SD card successfully

2) I tried installing Teamviewer Host and also Quick Support on my device. It turns out that the message about insufficient space is correct. [Note that the partition sizes are changed on LineageOS in order to be able to hold the larger system apps. So even if the app could be installed on stock ROM, it might not be installable on LineageOS. Also, the amounts reported at the storage Settings, are for the full internal emmc chip, free space for apps is smaller than that. ]

There is a workaround for this, which will force the app to be installed on adoptable storage, but might make the app too slow. If you are interested to try it out here are the steps:

Follow the instructions at post #3 to enable adoptable storage

Try installing Quick Support again. If it still throws the error, go to the next step [next steps will force it to install on adoptable]

Go to Settings -> About Phone -> Tap continuously on the Build Number in the list, until you get a message that you became a developer

Click the back arrow

There will be a new menu item under Settings, called Developer Options. Enter it

Find the List item "Force allow apps on External" and enable it

Reboot the phone

Try reinstalling the QuickSupport

Let me know if you get it to work, or have any issues

Thanks
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] ElTron:
Thanks a lot. I'm going to try it right now.

How are root privileges obtained in Lineage 14.1??? When in stock ROM I used a script based in adb but I doesn't work now.

When I was using stock ROM I was able to pass apps to SD card with LinkSD plus. This app work like a charm because of the installed apps (not system apps) could be translated to the SD with its libraries and only the link was in internal memory. Perhaps, LinkSD plus now it isn't necessary if it's possible to force apps to instal in SD in a native form. Are the installed apps translated completely to the SD with its caché and Dalvik caché???
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
To get root privileges on this rom, you have to flash a signed zip by lineageos through TWRP recovery. You can get the zip here. Then, reboot the phone, go to Settings-> Developer Options -> Root Access and enable the access you would like.

About LinkSD, I have personally never used the app, but from information gathered from here and there I can say that the two features are similar, but Adoptable Storage still keeps some data in the internal storage and I believe caches are not moved. LinkSD seems to be faster than Adoptable storage but I am not sure if it is supported under Android Nougat.
[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] ElTron:
I've obtained root permissions flashing the signed zip addonsu-arm-signed.zip. Thanks a lot.:):)

I've done the steps in post # 3 just to arrive to "sm partition <DISK_LABEL> mixed <PERCENTAGE_OF_PORTABLE_STORAGE>" without any output at finish but when rebooted, the system asked again what to do with the SD (two options a) Format it only for files b) Format it for files and apps). I didn't expect that question was asked again because this step is not mentioned in post # 3 but I chose option 2).

The SD was formatted again and when it arrived to 20% it rested 3 min or more and an error of timeout appeared. I rebooted the phone and I chose again the second option (Format the SD for files and apps). Now the formatting process advanced just to 40% and it was said that my SD was very slow (that's not true because it is a class 10) but suddenly the process finished without errors.:good::good:

The problem is that when I looked at settings>storage there were 2 SD icons card and only one of them was good. :rolleyes::rolleyes: The other one was not recognized and I chosed to forget it. I've enabled "Force allow apps on External" on Developer Options.

I uninstalled and reinstalled again the Teamviewer Host app and when the Quicksupport was trying to be installed the message of not enough space appeared again:confused::confused:

I thought that the formatting process with the SD card didn't work and the apps would be installed in the internal storage but no. I've looked at setting>apps to see where was Teamviewer installed and it is installed at the external SD. :good::good:To verify again I've installed ES File Explorer and it is installed at external SD.... :good::good::good: but for some dark reason the Teamviewer Quicksupport doesn't want to install in external SD and the error message continues.

Any more ideas???

That's hard bro but entertaining too at least....

Edit: Es File explorer only see the internal memory (not the external SD) and that's is not normal, I think.