yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] devderp:
The screen comes back on when tapping the screen or the back of the phone. The power button isn't the issue. The screen just goes black but nothing else happens. It doesn't turn off or go to sleep mode.
[Nexus 5 Q&A, Help & Troubleshooting] audit13:
Strange issue. I've never experienced it and any problems I had were related to the power button.

Could it be a loose connection inside the phone? Maybe an issue related to the proximity sensor?
[Nexus 5 Q&A, Help & Troubleshooting] devderp:
Thats actually what I've thought. I have checked the phone's insides twice and didn't see loose connections, and the problem feels like it's related to proximity sensor since the screen going black happens exactly same way that when calling someone or doing something else where proximity sensor shuts the screen. It's really weird though...
[Nexus 5 Q&A, Help & Troubleshooting] devderp:
Huh, I took backplate off and unscrewed the motherboard cover and took everything apart and rebuilt it and now the problem is gone. Seems like there was just some bad connection somewhere.
[Nexus 5 Q&A, Help & Troubleshooting] audit13:
Glad you got it to work without having to pay someone to fix it :)
[Miscellaneous Android Development] bradym512:
CyanogenMod: "Making Android devices actually run Android"

CyanogenMod (pronounced /saɪ.'æn.oʊ.dʒɛn.mɒd/) is an enhanced open source firmware distribution for smartphones and tablet computers based on the Android mobile operating system. It offers features and options not found in the official firmware distributed by vendors of these devices.

CM12.1 For LG G Stylo T-Mobile and Metro.

WORK IN PROGRESS - VERIFIED CAT-EATER!!!

Download Link: https://www.androidfilehost.com/?fid=24269982087005393 OR IN "DOWNLOADS"

Last Successful Build: 20160125XE

Screenshots attached

XDA:DevDB Information

[ROM][DEPRECATED][CM12.1]CyanogenMod 12.1 for LG G Stylo [H631 and MS631], ROM for all devices (see above for details)

Contributors

bradym512, Riku Azhurlar, Unjustified Dev, T-Macgnolia

ROM OS Version: 5.1.x Lollipop

ROM Kernel: Linux 3.10.x

Based On: CyanogenMod

Version Information

Status: No Longer Updated

Current Stable Version: 20151229S

Stable Release Date: 2015-12-29

Current Beta Version: 201625XE

Beta Release Date: 2015-12-25

Created 2015-11-28

Last Updated 2016-02-15
[Miscellaneous Android Development] bradym512:
Reserved
[Miscellaneous Android Development] sirhc:
Nice
[Miscellaneous Android Development] AP2FTW:
sweet :good:
[Miscellaneous Android Development] T-Macgnolia:
Looking for info

Are you using the device repos posted on TeamRegular's github account or do you have your own device repos you are using? If you have your own device tree repos are they on github? I ask this because I am working on building XenonHD for the h631. I currently have it booting to the point it shows the starting apps toast after optimizing all the apps. But then it falls back to a boot loop. I have pulled a logcat and for the life of me I can not pin point what is causing the crash. I already had to modify the device tree some just to get to this point asjust using the TeamRegular device tree repos as they are would not build. I added TARGET_KERNEL_SOURCE to the device/lge/h631/BoardConfig.mk so the kernel would build inline. That got it building but it would only boot to splash screen not far enough to pull a log cat. So I add PRODUCT_BOOTCLASSPATH, PRODUCT_SYSTEM_SERVER_CLASSPATH, and TARGET_LDPRELOAD to the device/lge/g4stylus-commom/BoardConfigCommon.mk and the required blob files that are in the BOOTCLASSPATH. This got the init.environ.rc to have the correct values and has me booting to where I am now. But as I said I cannot find what is causing the system crash in my logs. I have not pushed these changes yet as I wanted to wait until it is booting to home screen so I know they are actually needed. Just trying to see if you can offer any info that will help me out here without playing the trial and error game. Hope to here back from you.

Also just so you know and seeing as I use to be a mod here I feel I need to inform you that you need to post a link to your kernel source so you will not be in GPL violation.
[Miscellaneous Android Development] bradym512:
Yes. I am extremely new to development, and have been assisted greatly by Riku (mentioned in contribs). So new, in fact, I'm struggling to build the stock kernel with no modifications. So unfortunately, I can't help you.

Also, thank you for bringing gpl laws to my attention. Its getting late here but I'll try to get those up tomorrow. It's tr's device tree and a custom kernel by Riku. I'll get all the sources up tomorrow. It's good to hear we have a new rom in development for this device, too! Thank you for your contribution to this device!
[Miscellaneous Android Development] thereal_antiHackmasta:
This community is coming together devs helping devs. Thats beautiful.
[Miscellaneous Android Development] T-Macgnolia:
Can you link me to Riku's repositories that you are working with?
[Miscellaneous Android Development] allenjthomsen:
[MENTION=7057857]bradym512[/MENTION] if you need any assistance in building cm please feel free to pm me and i will assist in any way i can
[Miscellaneous Android Development] sirhc:
Glad to see you got GPS Working. It was such a simple fix, that was overlooked by many including me lol. But camera was already working. Video Recording is what didn't work. I'm running the first build that unjustified dev compiled with camera working and video recording not working. I agree I think there's some missing blob files for video recording. Video recording and the LED are the only 2 bugs left.
[Miscellaneous Android Development] Blu8:
Thank you for that man, I made a zip to flash in recovery that just places the location apk and the camera lib where they belong.... I will upload it if anyone is interested and if you and bradym512 are okay with that.
[Miscellaneous Android Development] bradym512:
On the POST10J stylos, the camera app is flat-out absent. I'll continue to ask around and work with my *limited* skills to fix the remaining bugs.
[Miscellaneous Android Development] T-Macgnolia:
Well I saw that camera was listed as not working in the OP. Plus there is no camera app included in the ROM.

---------- Post added at 06:07 PM ---------- Previous post was at 05:56 PM ----------

I have no issue with it as this is not my build, I am just offering help with it. Also you do not need to flash the files as a zip as you can add them manually as I did.

I would still like to see your kernel source as I have tried building this ROM and got the same error you did . I found the board_lge.h and added it to my kernel source but still get the same error. So I would really like to see how you it is fixed in your kernel. Plus like I said before kernel source is required by GPL.
[Miscellaneous Android Development] sirhc:
Yea, the OP just mentioned the camera was gone on post 10J builds but on Pre 10J builds, it was there with the camera working, just not video recording. Since you're using his Post 10J build that explains why the camera was missing for you.
[Miscellaneous Android Development] Blu8:
Yeah I know putting them where they belong manually works too but I'm kinda lazy.....
[Miscellaneous Android Development] sirhc:
Hey I know you from Android Forums. I'm Gbob2k15 on there lol nice you see you on XDA
[Miscellaneous Android Development] bradym512:
It's really nice to see I have so much support here as I begin my dev adventure. I'm working on remaking the kernel altogether. If you have any experience building kernels, http://xdaforums.com/showthread.php?t=3262350

Help greatly appreciated
[Miscellaneous Android Development] Blu8:
Ohhhh so that's who that was, I had a vague idea when you mentioned building kernels and such lol
[Miscellaneous Android Development] sirhc:
Lol yep that's me indeed, I'm the only one that has different names between AF and XDA lol

---------- Post added at 02:04 AM ---------- Previous post was at 02:03 AM ----------

No problem man, it's a delight to have someone dedicating their time to our device. I have no knowledge on kernels really, but there's plenty of devs on XDA that might help with such, like Unjustified Dev or Franco
[Miscellaneous Android Development] MrObvious:
That should work. All you need is the boot.IMG so if you can try and unzip it. TWRP has a feature it can flash .img files now. Root Browser should be able to unzip it.
[Miscellaneous Android Development] thereal_antiHackmasta:
Remember to only flash the boot img and do it from a clean wipe. Also which stylo do you have the old one or new?
[Miscellaneous Android Development] MrObvious:
So with all the data now do you guys know why the stock CM kernel isn't working on older screens and would it be possible to get the fixes? Like my camcorder doesn't work.
[Miscellaneous Android Development] bradym512:
EDIT: SORRY. THIS WASNT HANGOUTS.
[Miscellaneous Android Development] sirhc:
Lol I messaged you on there like 2 days ago. Busy much? ?
[Miscellaneous Android Development] A Christian Guy:
Old STYLO okay guys thanks I got at working
[Miscellaneous Android Development] bradym512:
I meant to tell you, I never got it.
[Miscellaneous Android Development] mrbox23:
Please link me to the other builds

All I can find is the one from the OP. I did read/search post, for instance I had the black lock screen and fixed it flashing kernel from the first cm12 build from unjustified. I don't see the downloads section from OP or the DevDB thing I saw in another post. Thanks ?
[Miscellaneous Android Development] Blu8:
http://xdaforums.com/devdb/project/dl/?id=15923
[Miscellaneous Android Development] mrbox23:
Where do I find TR's CM? I used the boot backup from Unjustified's the original CM for this device, which works but another kernel would be handy to have as well..

---------- Post added at 06:25 PM ---------- Previous post was at 06:24 PM ----------

Thank you!
[Miscellaneous Android Development] Blu8:
TR and Unjustified and Noobified are all the same person
[Miscellaneous Android Development] thereal_antiHackmasta:
It's on android forums, and the one you are using is the one that I used. Unjustified/team regular same guy. Same build.
[Miscellaneous Android Development] mrbox23:
Well I must say, thanks everyone for building and testing this revival of CM for Stylo. Feels good to be off stock ?
[Miscellaneous Android Development] bradym512:
Well of course. It's stock?. Since I guess it's a thing now I'll get the TR boot.img uploaded as an official download within the next few days. After all I've committed to and now followed through on (sorry!), I think you'd be happy to know I've been working diligently on CM13 with T-Macgnolia. We got it past the LG screen... To a kernel panic. Also, the kernel that the first cm13 port comes with will most likely be the MM LS770 kernel, since that's what I've been working with.
[Miscellaneous Android Development] mrbox23:
Right on :) please integrate whatever works from TR's kernel that fixes the lock screen on older Stylos.

Can I flash the bandaid zip to 12-29 build?
[Miscellaneous Android Development] Blu8:
You can flash it but it won't benefit you at all, everything in that zip is integrated in the 12/29 build
[Miscellaneous Android Development] bradym512:
Yeah. As of 12/29 the bandaid is obsolete. The bandaid was only for camera, gps, and led.
[Miscellaneous Android Development] bradym512:
Hey thanks. I have no idea what's causing it but I'll look through your logcats more extensively.
[Miscellaneous Android Development] pmacevad:
So, I've been waiting to flash this for working gps. I'm on t-mobile. Can anyone confirm if gps is a go? Any bugs not listed in op I should watch out for? Tia
[Miscellaneous Android Development] sirhc:
Yes GPS works, I don't think there's any bugs other than video recording

Sent from my XT1526 running Cypher HotCoco 2.0
[Miscellaneous Android Development] pmacevad:
So no video recording? Is there a workaround?
[Miscellaneous Android Development] sirhc:
No, the fix has to be merged in source. It's broken because of an unsupported color format. I've already linked the commit to fix it. It's up to Brady for when that will be fixed, most likely in his next build

Sent from my XT1526 running Cypher HotCoco 2.0
[Miscellaneous Android Development] Blu8:
You can use Camera4K or Horizon from the play store to record videos, they work for some reason
[Miscellaneous Android Development] bradym512:
Probably same reason Skype video messages work. The app probably uses its own protocol for video recording (which supports nv12), instead of the system one (which is broken). Working on cm13, I pretty much forgot about the cm12.1 builds. Yeah I'll get that fixed and building probably today after school.
[Miscellaneous Android Development] bxcovi:
Viva Editor Pro works as well if u want to record
[Miscellaneous Android Development] Blu8:
At this point all the major bugs are worked out, only other things I've noticed are the battery indicator glitches a bit but I use just the percent number and that works without trouble and my phone reboots when I change the hotspot password, but only when the hotspot is already on. This isn't a bug report just a little heads up
[Miscellaneous Android Development] bradym512:
Yeah I've noticed that too. Also that when charging the screen colors can be messed up. Almost ready for officials if you ask me.
[Miscellaneous Android Development] pmacevad:
I'll go ahead and wait for your updated build then. Cant wait to flash some cm. Thanks for the hard work.
[Miscellaneous Android Development] mike9976:
Does this work on sprint model
[Miscellaneous Android Development] Blu8:
No you have a locked bootloader and no recovery
[Miscellaneous Android Development] mrbox23:
What can I do to help with the kernel compatibility for older stylos with the different screens?
[Miscellaneous Android Development] mrbox23:
Can you play store link camera4k?
[Miscellaneous Android Development] Blu8:
Sorry mate that was dumb of me, its actually CINEMA 4K,
[Miscellaneous Android Development] mrbox23:
So I've been playing with Trickster MOD after reading about kernel states and this ROM. I'm using Unjustified's kernel.

Is there something I can play with to get it to use those lower frequencies?
[Miscellaneous Android Development] thereal_antiHackmasta:
Frequencies seem to be locked in place. I believe them to be read only. Don't know how to change.
[Miscellaneous Android Development] mrbox23:
Well I think I opened up more frequencies for sure here, and battery life has improved since.
[Miscellaneous Android Development] thereal_antiHackmasta:
No those are all the frequencies the kernel allows. 800 is the lowest and over time it drains battery a lot fast thank stock or katana.
[Miscellaneous Android Development] bradym512:
Hey guys! I have just uploaded a file entitled "test-20160126XE". This is an Experimental/Edge build. It's the same as the rest of them and includes the January security patch. The reason I entitled it this is because I used TeamRegular's frameworks/av and.... video recording wasn't fixed on both a dirty and clean flash. I'll take a logcat and look at it closer and see what's preventing it. If anyone would flash and take video for a spin and has any suggestions of a solution that'd be really helpful. Other than that, 20160126XE is a perfectly regular build.
[Miscellaneous Android Development] MrObvious:
I'm assuming it has the stuff to keep the display from blanking out? Downloading now and I'll let you know.
[Miscellaneous Android Development] Blu8:
Flash TR's kernel
[Miscellaneous Android Development] MrObvious:
Was that directed at me?
[Miscellaneous Android Development] Blu8:
Yes it was, he would have made a note of it if he worked the kernel to play nice with the older Stylo's
[Miscellaneous Android Development] MrObvious:
Made a logcat of the camera not doing video recording.
[Miscellaneous Android Development] bradym512:
Just letting y'all know I updated OP with most recent rom info
[Miscellaneous Android Development] sirhc:
Yes video recording is broken due to missing NV12 color support. Fixes are being worked on
[Miscellaneous Android Development] mrbox23:
How do I download the source code for the kernel?
[Miscellaneous Android Development] bradym512:
You can clone the repo. https://www.github.com/rikuazhurlar/android_kernel_lge_msm8916-g4stylus. Clone it into kernel/lge/msm8916
[Miscellaneous Android Development] androidrook:
I flashed rom and it boots fine. But, when I turn the screen off it won't turn back on without a reboot. Can anybody help?
[Miscellaneous Android Development] Blu8:
Read back a couple of pages for your fix
[Miscellaneous Android Development] androidrook:
Thanks
[Miscellaneous Android Development] androidrook:
It's in the DevDB downloads section.

What is the DevDB downloads?

---------- Post added at 10:16 PM ---------- Previous post was at 10:15 PM ----------

It's in the DevDB downloads section.

Where is the DevDB downloads?
[Miscellaneous Android Development] mrbox23:
I needed someone to do this for me too

http://xdaforums.com/devdb/project/?id=12742#downloads
[Miscellaneous Android Development] Soapy!:
Is it me, or the alarm clock won't work? (No sound.)
[Miscellaneous Android Development] MrObvious:
Works for me. I have com.android.deskclock version 3.0.3. Not sure if that's the one from the Play Store or not.
[Miscellaneous Android Development] Blu8:
I have both and they both work fine, make sure it's not an issue with priority mode
[Miscellaneous Android Development] DBugg:
who's working on cm13?
[Miscellaneous Android Development] Soapy!:
Never mind, I'll just use my other old phone as an alarm.
[Miscellaneous Android Development] OriginalHit:
I saw in another forum that the update came out. But it takes away root.
[Miscellaneous Android Development] Blu8:
Marshmallow? Yeah it's out for boost not for us
[Miscellaneous Android Development] OriginalHit:
Is the bootloader locked if we update?
[Miscellaneous Android Development] Blu8:
There are better places to ask this, everything points to that tho
[Miscellaneous Android Development] peppersu812:
Anything special I need to do after I flash the rom. What about gapps
[Miscellaneous Android Development] Blu8:
Flash the 12/29 build and gapps, done.
[Miscellaneous Android Development] peppersu812:
I found the thread. Thanks bro.

---------- Post added at 04:48 PM ---------- Previous post was at 04:16 PM ----------

Which gapps should I flash. I see a few. I don't want to flash the wrong ones. I'm on the latest Android version. 5.1
[Miscellaneous Android Development] Blu8:
Any gapps for 5.1.1 are good, I use Open Gapps
[Miscellaneous Android Development] peppersu812:
Hate to keep bothering you about something so simple but I clicked on the gapps and got an error. You got the file to open gapps? Lol
[Miscellaneous Android Development] C0MPIZ:
The update of the rom work whit the old screen of stylo
[Miscellaneous Android Development] Blu8:
Oops didn't see this

http://opengapps.org/

I think any package works
[Miscellaneous Android Development] peppersu812:
Got it. Made a backup and flashed the rom after backup of stock rom and wiped data factory reset and flashed and got a bootloop. Had to restore the backup. ???
[Miscellaneous Android Development] mrbox23:
I am having MAJOR problems here. I just bought a new Stylo today. I already have the older Stylo that came with 5.0.1 which works fine with this ROM so long as I'm using unjustified kernel. When I flash this ROM to my new Stylo, I get some serious screen glitches! I can't even get through the initial setup without locking and opening the screen as it freezes. Once I get passed there, the notification drawer opens on its own, and eventually locks up. Please help, the stock ROM works just fine and I'm about to try Katana as soon as it downloads.
[Miscellaneous Android Development] peppersu812:
I couldn't get it past the bootloop. I tried to just flash it after I wiped the rom then bootlooped and tried to flash and wipe cache delvik and same thing. Dunno what the deal is. I've got twrp and I'm running 5.1.1
[Miscellaneous Android Development] OriginalHit:
1.) Flash Noobs CM

2.) Backup Boot only

3.) Flash bradym512 CM

4.) Restore Boot

5.) That's it.

This is if you get sleep death.

---------- Post added at 12:49 PM ---------- Previous post was at 12:48 PM ----------

Or boot problems...
[Miscellaneous Android Development] peppersu812:
What in the world....
[Miscellaneous Android Development] Blu8:
Looks like you have some research to do
[Miscellaneous Android Development] peppersu812:
This phone don't even have it's own section and question thread. It took me a few weeks just to find this through search which isn't always friendly. I'm not asking for people or any individual to post the links of what I need to flash but I am asking for help if anybody has the time to do so. It would be appreciated big time.
[Miscellaneous Android Development] Blu8:
He told you exactly what to flash. And I told you exactly what to Google to get to the Stylo discussion page on XDA, there's also a whole section for this phone on Android Forums and help other places. All I'm saying is you need to be able to help yourself. Something that starts by reading threads, your question has been answered many times in this thread and other places and you were given a solution in the previous post.
[Miscellaneous Android Development] peppersu812:
Well it's it even stated in the op that you may need to flash "noob cm" and backup boot and flash cm rom and restore just in case others have this problem. I asked for help locating the links to noob cm not to hold my hand. I'm definitely not a noob to this as you can see I been here on xda a while. I only asked for help locating this to hurry up and flash and stop pestering about this. This can and would be avoided if there was someone "willing" to help.

---------- Post added at 02:27 PM ---------- Previous post was at 02:24 PM ----------

I've never heard of a noob cm nor had to do any of that before. It's been a while since I was rooted and flashed any ROMs. I'm simply double checking and making sure I do not mess up my phone.
[Miscellaneous Android Development] Blu8:
Reading the thread goes a long way like I said

---------- Post added at 01:33 PM ---------- Previous post was at 01:32 PM ----------

http://androidforums.com/threads/h631-ms631-beta-cyanogenmod-12-1-for-lg-g-stylo.926968/
[Miscellaneous Android Development] peppersu812:
I've searched for this. I did see something about newbie cm cause of the newer stylo may have to flash it in order to boot but no link again to this so I'm back where I started asking for help to download this and try it again. ?
[Miscellaneous Android Development] Blu8:
Now you're just being dense man, you see that Android Forums link in my last reply? That's a link to the thread with the CM build from the developer NOOBified, on Android Forums, your sleuthing skills are poor
[Miscellaneous Android Development] sirhc:
The last 2 pages made me cringe.... Never knew what it was like to be so clueless
[Miscellaneous Android Development] Blu8:
I gave the links and explained things, if he can't put two and two together its not on me. Saying you don't want your hand held and then continuing to ask for more help are contradictory at best. I'll say it for the third time, READ THE THREAD. Everything you need is there. Peace out bro.
[Miscellaneous Android Development] DBugg:
yep, reading is fundamental
[Miscellaneous Android Development] AgainstTheFlow:
All I can say is..... WOW! They live among us :(
[Miscellaneous Android Development] thereal_antiHackmasta:
That guy must be trolling...