yashsingh1/xdaforums huggingface dataset:
[LG Optimus L90] shinobisoft:
[SIZE=+1]CM11 for LG L90 LG-D415[/SIZE]​

Ok guys and gals... I must first state that this is not my original work. The CM11 base I'm building off of is all due to the hard work and efforts of @Quarx. His ROM is located here for devices other than the LG-D415.

This thread was created to assist @Quarx by not littering his thread with posts for LG-D415 devices. He doesn't own a D415, but I do :silly::D

With that said...

Disclaimer

#include <std_disclaimer.h>
/*
* Your warranty is now void.
* 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 ROM 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.
*/

[SIZE=+1]To use this ROM you MUST have an unlocked bootloader[/SIZE]

All specs with this ROM are the same as the specs with @Quarx ROM minus the fact that this ROM is built specifically for D415 devices

What's working

Bluetooth

Calls

Front camera

GPS

Mobile Data

Rear Camera

Superb battery life :D

WIFI

Most everything else :D
​

What's NOT working or working correctly

CM Updater ( Until I figure out how to implement my own )

Video recording ( front/rear camera. Works for some, not for others :confused: )

Video playback ( Works for some, not for others :confused: )

IR

LG Knock Code ( Double tap to wake )
​

Credits located in post #2

Changelog located in post #3

Download links are located in post #4

Source links are located in post #5

Installation

Boot to recovery ( Custom recovery required )

Wipe cache ( only required on first installation )

Wipe Dalvik cache ( only required on first installation )

Format /system and optionally /data ( Only necessary if coming from stock or a different ROM )

Install ROM

Install GApps

XDA:DevDB Information

CyanogenMod 11 for LG Optimus L90 ( LG-D415 ), ROM for the LG Optimus L90

Contributors

shinobisoft

ROM OS Version: 4.4.x KitKat

ROM Kernel: Linux 3.4.x

Based On: CyanogenMod

Version Information

Status: Beta

Created 2014-10-15

Last Updated 2014-12-17
[LG Optimus L90] shinobisoft:
Credits and Thanks

Credits

@Quarx - For getting everything started for developing for the LG L90

@CyanogenMod - For CM11 obviously :p

@k2wl - For assisting with tips/hints/suggestions

@demonslayer12349 - For assisting with tips/hints/suggestions

@shoxxy - For Philz-Touch recovery for our devices. Also for helping "behind the scenes"

Very Special Thanks

@jran0880 - For his donation of $50.00
[LG Optimus L90] shinobisoft:
Changelogs

12/02/2014

No changes to note on my end. View CM's changelog for any changes/updates.
​

10/22/2014

Removed NFC again

Removed FM Radio again

There may be some OS changes thanks to the CM team. See their changelog for changes.

SELinux is still disabled in this build. Device doesn't seem to like it when it's enabled. LOL...

Something else to figure out

10/07/2014

Changed kernel configs and dtbs from W7_TMO_US to W7_OPEN_CIS. My first few builds were built using W7_OPEN_CIS. Seems to be fewer issues with those ROMs than my most recent. ;)

Re-enabled NFC. I'm starting to think it does exist on the device.

Re-enabled FM. Strangley I can at least hear static now. So the hardware may actually be there.

Any other changes would be OS related and would be noted by CM in their changelog.

Enabled the "Quick Key", the button above volume keys, to wake the display.

​

10/04/2014

Removed most NFC related stuff. D415 doesn't have NFC

Removed FM Radio.apk. D415 doesn't have FM receiver

FIX - Correct camera drivers now load on device start up

FIX - Video playback drivers

Too many other changes over the last month to begin to try and remember. LOL

My last sync with CM may have had some fixes incorporated. About a week ago

​

09/10/2014 - There have been no real "changes" in any of my builds besides editing some config files and adding files to fully specify the device as a w7 device and not a w7ds device. The D415 is not a dual sim device which I believe was part of the conflict between @Quarx builds and the D415 devices. So with the 09/10 build as far as I have been able to determine, everything about the build now identifies the device as a w7 device.​
[LG Optimus L90] shinobisoft:
Downloads

Newest build: 2014-12-02 Mirror: 2014-12-02

Previous builds:

2014-10-22 Mirror: 2014-10-22

2014-10-07 Mirror: 2014-10-07

2014-10-04

2014-09-10

2014-09-07

2014-09-04​

GApps: http://xdaforums.com/showthread.php?t=2397942

Use the link above for PA-GApps for the moment. I will put together a GApps package eventually. LOL :silly:

Recoveries: ( flash with fastboot, an app like Flashify, or my LG L90 Utilities )

CWM 6.0.5.1 ( Swipe up/down to scroll. Swipe left to go back, Swipe right to select ) Factory Reset: DISABLED

Philz-Touch 6.57.5 ( Thanks to @shoxxy )
​

The TWRP 2.7.1.0 package attached to this post is flashable via recovery.
[LG Optimus L90] shinobisoft:
Sources

GitHub Sources

Device: https://github.com/shinobisoft/android_device_lge_w7

Kernel: https://github.com/shinobisoft/android_kernel_lge_msm8226

AV Frameworks: https://github.com/shinobisoft/android_frameworks_av

LG Proprietary blobs: https://github.com/shinobisoft/vendor_lge_proprietary
​

I must stress again that these works are based off of the works of [MENTION=513620]Quarx[/MENTION] - [Rom][DEV][4.4.4] CyanogenMod 11 for LG L90
[LG Optimus L90] slamdunksaliby:
Awesome! Looking forward to continued development :)...just curious anything fixed from the 9/4 build to the 9/7 build?
[LG Optimus L90] shinobisoft:
Probably not. I've only been building with my fixes on top of [MENTION=513620]Quarx[/MENTION] sources on GitHub. I'm still trying to get everything of mine over to GitHub at the moment. I unfortunately have a full time job so I don't have a ton of free time. The weekends are usually the only free time I have. I overslept today and decided to play hookey for the rest of the day. LOL. Imma bad bad boy LMAO.

When I get settled in to GitHub and have a chance to really check out the source code, I'll then see what I can do. :D
[LG Optimus L90] slamdunksaliby:
Haha no worries thanks so much :)
[LG Optimus L90] LaDY Vengeance:
Nice thing to see coming here tonight!!!! You're the best![emoji2] [emoji4] [emoji2]
[LG Optimus L90] toxinburn:
Hey bro well i found your repo i was wondering are you going to set it up to where their will be your own device tree kernel etc? I also have d415 and would like to use this as a base and see what i can do to help get some things working/test and share.

I have built from the most recent source via Quarx repo however it still has all the issues with wifi, gps, and camera some of which you have gotten to work, may I ask what you altered to get those working?
[LG Optimus L90] shinobisoft:
Eventually. Don't fork anything yet. I've gotta change a few things at github.
[LG Optimus L90] toxinburn:
heheh of course i already did but no worries.
[LG Optimus L90] zxcv888:
thanks! This is so much faster than stock ROM. Stock ROM used to redraw UI every time i stay in an app for a bit.
[LG Optimus L90] shinobisoft:
Sure ,you can ask but I'll never tell. LOL. Just kidding.

It's actually kinda long winded tho and I'm not sure I can explain exactly what needs to be done. It will be easier for me to fix my GitHub and have you fork from it than to explain everything in enough detail to understand what needs to be done.

I'm just getting in from work. Hopefully I can have my GitHub repaired in the next couple hours :)
[LG Optimus L90] jasonmerc:
Just want to say thanks to you (for the D415 version) as well as Quarx for supporting this phone! I must say this L90, even with the stock ROM, was the best $50 I ever spent. I am still discovering features on this phone that I had no idea were even on here, such as NFC, infrared remote, and even the flashlight (yeah, I really thought this didn't have a camera flash until I launched the Torch app). But now to see this phone with CM11 just makes it that much better of a deal. Other than the front camera currently not working, which is fine for me since I never use it anyway, this ROM is absolutely fantastic and is twice as fast as the stock LG ROM.

Keep up the good development work! If you have any experimental ROMs, kernels, or any other mods, please let me know and I will be happy to test them. This is a great little phone for the price tag, and I'd love to see the development blossom for this thing.
[LG Optimus L90] shinobisoft:
1) Happy Birthday to me :eek::D:p:silly:

2) I'm doing a test build now to see if I managed to fix what I broke last night. LOL

3) If #2 is successful, then I'll upload my kernel sources to GitHub for those who are interested. Then I'll also post a link in the OP to my GitHub for CM11.

Cross y'alls fingers and toes! No eyes please!!! LMAO...
[LG Optimus L90] k2wl:
happy birthday !!!!have a great day!!!
[LG Optimus L90] shoxxy:
Sorry for OT ;)

HAPPY B-DAY !!!! stay healthy;)

;)
[LG Optimus L90] shinobisoft:
Ok. I got it to build. It flashes and boots just fine. But... I'm having one heck of a time pushing my kernel sources to GitHub. :confused::mad:

The kernel sources are where most of the changes/additions I've made are. Without them the rest of the project is useless. LOL. I'm not sure if the issue is my wifi adapter or the wifi router I'm connected to but I keep getting kicked off during an upload. Sometimes I can get it to resume but never long enough got it to complete the upload. Grrrr...
[LG Optimus L90] shinobisoft:
All sources are now on GitHub. Source links are in post #3

EDIT::

New build up. See post #2
[LG Optimus L90] rgill420:
Got it thank you ? just got the android L theme and voala ...now I have an android L device thanks to you ??
[LG Optimus L90] shinobisoft:
So basically, it needs the caf headers even though I'm not building a caf kernel? Weird...

Like I've said, Android has a seriously asinine build system.
[LG Optimus L90] alfonsojon:
Guide for installation on the D415

Someone emailed me asking for a D415-specific tutorial, so I figured I would share a post made by Ilxaot. This covers the hard work involving installing TowelRoot, and installing CWM. I suggest using this ClockworkMod Recovery image file instead of others provided elsewhere, I find it to be the most stable. Once that is installed, don't worry if installation takes a long time, this is normal. Installation goes much quicker if you format /system before flashing.
[LG Optimus L90] shoxxy:
Yes it does :silly: thats the only way for me to compile succesful, i could not say why, but can confirm that i ever have to use caf or caf-new .

OT: i am not sure if someone could use that useful: a few days ago , i flashed by an accident a D410 aboot on my D405 and on different roms Both cams are working ??? :confused::confused::p:highfive:
[LG Optimus L90] JavierArends:
No more updates?
[LG Optimus L90] shinobisoft:
Having problems switching kernel builds along with someone at CM breaking the ROM build. Currently attempting a build. ;)
[LG Optimus L90] shoxxy:
[MENTION=4501943]shinobisoft[/MENTION]

did you try stock kernel source ???
[LG Optimus L90] shinobisoft:
Yes. I keep running in to errors with display-caf-new. Somehow the header files aren't being copied to the $OUT folder.
[LG Optimus L90] JavierArends:
Ohhh! Thz man for you work, i like you rom but no have install i need gps to work.
[LG Optimus L90] slamdunksaliby:
My gosh this insane battery life is better than my Nexus tablet lol
[LG Optimus L90] googlephone:
On my L90 with stock rom, the screen on time is 9 hours with 44% battery left.
[LG Optimus L90] slamdunksaliby:
Dang how did you manage that? My battery would always drain rapidly on stock
[LG Optimus L90] googlephone:
I thought it is normal......

I rooted it and installed xposed, greenify.

When I am using the phone, I use currentwidget to monifor the current. The current is between 100ma to 200ma most of the time, rarely goes to the 300ma range. So 2460mah divide by say 150ma, it will give you 12 to 15 hours screen on time.

For me the screen on time usually around 13 to 15 hours when I begin to charge me phone at 10%.

Amazing battery life, much better than my note 3 with 3200mah battery.

What I notice interesting is that Android OS is taking about 30% in the battery statistics, almost the same as Screen or even higher percentage. Maybe the stock rom is counting the battery drain from other processes into "Android OS".

In you CM rom, the Android OS is taking only around 10%.

But I don't care, as soon as I already got amazing battery life.
[LG Optimus L90] xantanion:
Did you also debloat like i did? My modified stock is about the same
[LG Optimus L90] slamdunksaliby:
Wow that's awesome...post screenshots when you get the chance! :P the Xposed Module "Unbounce" is a fantastic battery saver as well along with Greenify of course.

I wonder if it's safe to flash the stock ROM via TWRP to test? Another issue I had with stock was that Nova Launcher would relaunch everytime I went to the homescreen because of low RAM available.

Maybe it's possible to release the stock rom completely debloated with Nova and Xposed Preinstalled to make it as close to cyanogenmod as possible plus with all the hardware features working.
[LG Optimus L90] shinobisoft:
You'd be surprised to know how much of the stock ROM is already CM based.
[LG Optimus L90] slamdunksaliby:
Crazy wish I knew how to build ROMs lol....maybe modifying the stock ROM would be the best solution
[LG Optimus L90] shinobisoft:
I've entertained the thought of building a stock version. Still gotta work bugs outta my build environment. Gotta finish the CM ROM too.
[LG Optimus L90] slamdunksaliby:
For sure thanks for all the hard work as always :)
[LG Optimus L90] googlephone:
Edit: upload screenshots failed....
[LG Optimus L90] slamdunksaliby:
shinobisoft have you gotten close to 9 hours of on screen time?
[LG Optimus L90] shinobisoft:
Dunno. Having a full time job I don't have time to play. I can say that I can listen to music for 8 hours and only use about 30% battery.
[LG Optimus L90] Ilxaot:
Writing it once in proper English is more than enough.(:

Try using Greenify(:

Also, in terms of battery, I'll give a synopsis on a Senior's battery. I leave my phone on Airplane Mode to save battery since a lot of my classes don't have a signal. Saves the phone from searching for a signal constantly.

Music playback doesn't drain much, but YouTube and such does (which is to be expected obviously).

Overall it's pretty killer. Much better than my L9 (:
[LG Optimus L90] shinobisoft:
Tapatalk has been having some issues the past few days. Apparently the XDA App too.

8 hours of music would practically kill my L9's battery. ;) Like I said tho, I don't have alot of free time to experiment. Lately all my "free time", been neglecting sleep, etc..., has been devoted to supporting this thread and ROM :D
[LG Optimus L90] Ilxaot:
We appreciate every last bit of it too :D

Speaking of Tapatalk, I actually just got an update for it. A nice colorful banner now.
[LG Optimus L90] LaDY Vengeance:
I'm telling you guys, I jinxed it.... lol. [emoji38]
[LG Optimus L90] jasonmerc:
Just to let everyone know, I tested NFC on the 9/10 build and it apparently does not work. Now, Ive never used NFC before so I may just be doing it wrong, but maybe others can test this.
[LG Optimus L90] Daisuke1988:
... Does this phone even have NFC?

---------- Post added at 12:07 AM ---------- Previous post was at 12:00 AM ----------

Oh wow it does.... I wasn't really paying much attention to the specs when I got this phone. I thought it was not that "high" end.
[LG Optimus L90] shinobisoft:
According to what information I've been able to dig up about the various L90 models, the LG-D415 does NOT have NFC nor does it have an FM Tuner.

Any device that has "n" in the model name, ie; LG-D405n, has NFC. To my knowledge LG currently is not not offering a LG-D415 model with NFC.

I was, and kind still am, hoping that they were features that had been disabled and just weren't documented.
[LG Optimus L90] Daisuke1988:
I opened up antutu and NFC is "supported" I also thought this was a dual core but its quad... Lol
[LG Optimus L90] shinobisoft:
If you're running this ROM and testing, you're getting a false positive. Antutu is reading from build.prop where it does state that NFC is enabled. On the other models NFC is initialized in the kernel command line or the boot control block. Browse to /process/cmdline and look for 'lge.nfc=nfc-nxp'. It's not there.

As stated, I haven't removed NFC from this ROM in the hopes that it wasn't enabled at the factory. But me research is telling me otherwise. ;)
[LG Optimus L90] jasonmerc:
You and me both. :) It took me a day to realize it had NFC and a camera flash. Even longer to notice the IR blaster. And to think I just bought this phone because it had a decent battery and an SD slot...

As I've probably stated before, this was $48 well spent.
[LG Optimus L90] Pippinkid:
Okay, so I've been having a problem for the past couple of weeks. I have't reported it because it is specific to my device I think and I always try to figure it out myself, but I can't this time. Anyway, the problem is the Wi-Fi. It registers as connected but when I actually try to use it it does not work. For example, when I try to log into my Google account. Also, I re-flashed stock KDZ to see if the problem persisted and it did not, for reasons however I cannot use the KDZ as my rom (Screen problems). Might not be the right place to post, not sure. :confused: Any help would be greatly appreciated! :)
[LG Optimus L90] shinobisoft:
You've got me on that one. WIFI works and has been working for me :confused: Why can't you use the factory KDZ as your ROM? What screen problems?
[LG Optimus L90] shinobisoft:
On another note... I broke down and resynced with Quarx repo yesterday hoping that would fix my building issues and well, it hasn't. This has about got on my last nerve. Why something so simple had to be made in to something so difficult is beyond me. This is just insane...

I did a fresh sync with CM sources and [MENTION=513620]Quarx[/MENTION] sources yesterday. There is absolutely no reason I should be having these issues. I'm about to my limit here. Completely asinine...
[LG Optimus L90] Pippinkid:
Screen is just really glitchy. Sometimes it wont even recognize a swipe as a swipe, just as a tap. :eek:

Edit: And I understand your frustration, but we all really appreciate your work so far!
[LG Optimus L90] ruzell:
I assume its a problem with your hosts file. Okay first you will have to re-install the new rom.

Go to recovery

Wipe /system, /data, /cache, /dalvik cache.

Reinstall the CM ROM again.

and it should work.
[LG Optimus L90] shinobisoft:
You probably need to open the LG Hidden Menu ( 3845#*415# ) with the factory dialer app. Select "Device Test" I believe. It's the 2nd or 3rd entry. Then "Touch Test" which will open another page and then scroll down to the very last entry and select it. It will take a second or two. It's testing/calibrating the touch screen. Wait for it to finish and press "Ok". Back out to Home screen and touch should be restored.

I'm going off of memory here so I may be off a little on some of the item names in the hidden menu. If you can't figure it out, let me know and I'll go back to stock long enough to walk you thru this. Just let me know.
[LG Optimus L90] Pippinkid:
I thought that too but that's not it unfortunately. I tried again with no success. :( Thank you very much for your help ruzell!

Will re-flash stock and report back. :fingers-crossed: Thank you!

---------- Post added at 10:37 AM ---------- Previous post was at 09:55 AM ----------

So I'm at the ATT Mini OS 3.0. No idea what I'm doing here. :silly:
[LG Optimus L90] shinobisoft:
You lost me :confused:
[LG Optimus L90] Pippinkid:
Heheh. Did I do something wrong?
[LG Optimus L90] shinobisoft:
Umm, yep :silly: Gimme a few minutes to flash back to stock and pull up exactly what you need. ;)
[LG Optimus L90] Pippinkid:
Aww, you don't have to do that!
[LG Optimus L90] shinobisoft:
I know I don't have to but that is part of the reason I'm here ;)

** Access LG Hidden Menu **

Open stock dialer app and dial:

3845#*415# ( Will be no need to hit 'Call' button )

** Touch screen Fix **

- Open LG Hidden Menu ( See Above )

- Press "HW Device Test"

- Press "Touch Test"

- Press "Check Touch Panel"

Wait a few seconds and press "OK"

- Back out of hidden menu
​

Try that :silly::p
[LG Optimus L90] shinobisoft:
Aaaand, I'm already back to CM :D
[LG Optimus L90] Pippinkid:
Problem: Stuck in AAT Mini OS 3.0.
[LG Optimus L90] shinobisoft:
If the power button isn't responding then pull your battery.
[LG Optimus L90] Pippinkid:
Well I think I may be in some trouble here. Pulled battery, still reboots to that screen. Factory reset, reboot to screen Flash KDZ.. reboots to the same screen. :crying:
[LG Optimus L90] shinobisoft:
Ok. Just did a Google search.

With phone in ATT Mini OS 3.0

Press and hold Power button. Apparently there's a menu of some kind that pops up or gets displayed. Select the "Normal Boot" option. Should fix that issue.
[LG Optimus L90] Riku Azhurlar:
Interesting. Try wiping everythong
[LG Optimus L90] Pippinkid:
OOH! Thanks! Okay, got a little worried there. :rolleyes: Now back to the touchscreen. Good ol' Google! I Googled it too but I couldn't find a clear solution.

---------- Post added at 12:08 PM ---------- Previous post was at 12:08 PM ----------

I did, even flashed KDZ before I knew how to fix.
[LG Optimus L90] Riku Azhurlar:
Good l google lol. At least you have it
[LG Optimus L90] Pippinkid:
When accessing the menu, among the options there is "Device Test" and below that there is "HW Device Test". Selecting device test brings up the ATT OS, but the HW Device Test is the one you were trying to refer to I assume. :) This brings up what you said, I did as you suggested and am not seeing any screen problems (I wasn't since I rebooted from the AAT menu either, but I do not believe this was a permanent fix)! I'll still try to see if I can fix my individual Wi-Fi problems so I can test your awesome rom! Thanks.
[LG Optimus L90] Pippinkid:
Update: I feel ashamed as to not check this earlier, but my router was blocking my Mac Address. I didn't realize that a new rom changes the Wi-Fi Mac Address? Learn something new everyday! :silly::p
[LG Optimus L90] jasonmerc:
Just out of curiosity, what is an ATT mini OS? And how did it get on a D415? I thought the D415 was only for T-Mobile...

EDIT: Just looked at the screenshot, it's AAT not ATT... But still, is this some sort of emergency boot?

EDIT AGAIN: I'm also trying to do the hidden menu 3845#*415# in the dialer and it isn't doing anything. Does it only work on stock ROMs? I have the 9/10 CM11 build.
[LG Optimus L90] shinobisoft:
LG Hidden Menu is only available on stock ROMs and is only accessible via stock dialer app.
[LG Optimus L90] jasonmerc:
So I guess that means AAT mini OS, whatever it may be, is also only on stock ROMs then?
[LG Optimus L90] shinobisoft:
Yep. It appears to be some kind of testing UI.