yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] MrObvious:
If you can help set me up on building I'll get it going.
[Miscellaneous Android Development] bradym512:
I'd be happy to. I don't think I have your hangouts. Please pm me it and I'll get you set up.
[Miscellaneous Android Development] peppersu812:
OK sorry to be the prick to bust your bubble but I've got it to boot and it hangs up when I click on the play store and other ROMs that I have backed up are installing. I've tried to skip that and it runs for a while and it does the same thing after they're done installing. I've tried to skip it all together and it runs for a bit and hangs up. I've let it set for a good 5 min after the install as well. I went to aroma gapps to see if that was the problem and still the same thing. Seems like it got worse.
[Miscellaneous Android Development] bradym512:
Aw man this guy again. Have fun.
[Miscellaneous Android Development] peppersu812:
This guy again? I'm trying to do this. If you don't want to help that's fine but people will read this. ?
[Miscellaneous Android Development] bradym512:
I understand you may be trying to do this, but you also filled 3 pages arguing with someone that was trying to help.
[Miscellaneous Android Development] peppersu812:
Why bring stuff back up. I asked to drop it.

Now I got it to boot but something isn't playing nice. When apps are being installed it hangs up and screen turns white. I can't even bring up the play store. I've tried different gapps. Aroma also.
[Miscellaneous Android Development] thereal_antiHackmasta:
No one cares.
[Miscellaneous Android Development] sirhc:
Return your Stylo. This kind of stuff isn't for you bud. Perhaps a gorgeous Samsung flip phone from Walmart?
[Miscellaneous Android Development] peppersu812:
How bout both of you suck on a fat one.

---------- Post added at 09:43 PM ---------- Previous post was at 09:41 PM ----------

I've been flashing ROMs and doing this for a long time. I've said it before. I've never owned a LG before until now. Samsung has been way easier than this crap. Especially their threads and the hospitality in it. No way in hell have you two been helpful. Grow the hell up and drop it damn kids.
[Miscellaneous Android Development] sirhc:
Well go back to Samsung devices. It's so simple ?
[Miscellaneous Android Development] nosebleed:
Sooo anyway, sad to see bradym12 leaving this rom. I really like it and it functions well for the most part and would like to see it thrive since there doesn't seem to be much available for this poor phone. Is there anyone still working on this ROM or is the project pretty much dead now?
[Miscellaneous Android Development] peppersu812:
How bout you grow the hell up and be a part of the community kid.
[Miscellaneous Android Development] ardaz87:
Question, was the cm13 you were working on for our device and will we ever see it? Just might make the switch to the G4 as well.
[Miscellaneous Android Development] DBugg:
i wanna know this too
[Miscellaneous Android Development] APNSB:
Popcorn...... Nom, nom nom delicious.
[Miscellaneous Android Development] sirhc:
Yes and no..
[Miscellaneous Android Development] MrObvious:
I'm trying to get the manifest to build this but unfortunately haven't been able to sync up.
[Miscellaneous Android Development] bradym512:
I've had my G4 for 3 days now and love it. CM13 isn't available for the TMobile variant it yet but I have a feeling it's coming REALLY soon. I went to stock 6.0 from cm12.1 using LGUP, which was one of the most painless experiences in my life. As far as I've discovered, the TMobile variant has almost no roms. No AOSP roms besides CM. Which is weird to me, considering roms are supposed to be ridiculously easy to port if a device has official CM support. Which means its probably time for me to go to work there and get Lollipop/Marshmallow Resurrection up and running. I'm not rooted or Xposed'd and won't be until next Wednesday bc I'm away from home.

To be completely honest, I don't think you're going to see CM13 here. At least not until you get an official TMO update. As far as I've learned, CM13 has been a real ass to get up. Every build a new error. But, TWRP 3.0 is being worked on. AFAIK its taken the place of cm13 in development on the device.
[Miscellaneous Android Development] sirhc:
Glad you're enjoying your new G4, got my Nexus 6P and just ordered an HTC One M9. I used my G4 for work but I'm thinking about switching to my 6P because of the lack of development, which is very strange for the G series devices. The only thing I could think could be holding it back is the bootloader.

Back on the G3 we had to use something called "Bump" to flash AOSP ROMs. Bump signed AOSP boot.imgs with the official bootloader security keys. Bump was seized and closed down but I heard someone else took over development for it. I'm assuming they would need to get the keys from the G4s bootloader to be able to sign custom boot.imgs with it. You can thank LG for this mess. They have a habit of ruining good things
[Miscellaneous Android Development] bradym512:
They make the best devices over anything in my opinion. On the G4, TWRP works and the bootloader can be officially unlocked. I'm on the T Mobile Jump thing (great for devs) so I couldn't buy any of the latest nexus devices. I'll look into it when I get home. There is some bootloader drama for sure but not too bad.
[Miscellaneous Android Development] sirhc:
Yea they make awesome devices, its just they do things that could ruin it's potential, like locking down the bootloader in recent LG devices. I've never bricked a device flashing a ROM until I had the LG tribute. Flashed a ROM with an unsigned boot.img and didn't know it and the phone got stuck at the LG logo with "Security Error" written on the screen. Tries everything and no way to recover other than sending it off to LG. Similar situation with my LG Stylo. It shouldn't be that way imo. But they do make awesome devices, which is why I still support them by buying them lol
[Miscellaneous Android Development] bradym512:
Haha I already bricked my G4 in that bootloop in the same way. Wrong boot.img. LGUP got it out of there just fine and back to 6.0 stock. OEM unlocking via fastboot seems to fix it.
[Miscellaneous Android Development] MrObvious:
This phone isn't a bad one, but yeah we don't have a lot of dev work.
[Miscellaneous Android Development] sirhc:
Lol yea it's a pain but it's still awesome
[Miscellaneous Android Development] Riku Azhurlar:
man its been a while since ive been on the forums whats new guys
[Miscellaneous Android Development] bradym512:
Hey, Riku! You've missed a bit. Take a read, and welcome back. ?
[Miscellaneous Android Development] mannyv243:
Any news about the video recording fix?
[Miscellaneous Android Development] Riku Azhurlar:
i saw you got some of the stuff for CM working and i think i know what the lst few bugs are. is the recording issue a problem for some or all? if its for some i know the error is one of two issues. and im almost certain i know what it is. as for the sleep of death theres an easy fix i need either the kdzs for 10j for the other carriers or some rooted devices on the 10js who know some adb. as for the gps i might have an idea for that one too.
[Miscellaneous Android Development] sirhc:
The recording issue has already been identified. The bug from lack of NV12 Color format support. I linked the commit like 15 pages ago lol

GPS was already fixed by adding the missing Qualcomm package
[Miscellaneous Android Development] bxcovi:
I can't wait for this to be done! I will donate whatever I can to help! I can also be a tester however I'm on Linux Mint Cinnamon so idk how to grab the logcats.
[Miscellaneous Android Development] sirhc:
You can just grab logcats from the terminal with your phone connected over ADB. There's plenty of guides to assist with that. I think there's also an app in the play store to grab logcats too
[Miscellaneous Android Development] bxcovi:
Sweet! I will flash right away n see what I can do on my end! I do understand video and LED aren't working.
[Miscellaneous Android Development] sirhc:
Yea, video recording and LED are broken. LED should be an easy fix though. If you're using the ADB method, try running a Logcat during booting to see if video recording starts and crashes before full boot. Or try running a Logcat when trying to load video recording. When it crashes, the Logcat should tell you where the crash came from
[Miscellaneous Android Development] bichofelix:
Fellow Hoosier?
[Miscellaneous Android Development] bxcovi:
How do you disable the LED? Somehow its turned on! Like its automatically turned on.
[Miscellaneous Android Development] sirhc:
I've attached 3 logs for kernel system event and a basic logcat on boot and after boot. Can't really make out everything in these. But I did see errors related to our chipset and some vidc errors. I'll continue looking over these
[Miscellaneous Android Development] sirhc:
Unfortunately you can't disable it. I'm running a different build so mine is disabled by default. The OP is updating his build to be disabled by default as well until he gets it fixed
[Miscellaneous Android Development] bxcovi:
I know draken had an aroma zip you can flash to install the LG camera n other apps! Has someone tried flashing the LG stylo camera that way? Maybe would put the files necessary to do video recording?
[Miscellaneous Android Development] sirhc:
I think someone is working on comparing to see if any files are missing. If the necessary files are there, then it's a kernel issue. Based on the dmesg log I attached, it looks like it's a kernel issue anyway
[Miscellaneous Android Development] T-Macgnolia:
I believe the camcorder issue may lay in one of these two things I found in the log. I am also goingto flash again and pull the last_ksmg,txt to look at it also.

I/CAM_Config( 4163): no local config found for g4stylusn_tmo_us
W/CyanogenAmbientUtil( 4163): Cyanogen Ambient is missing.
E/AmbientApiClientImpl( 4163): This application will not run unless you install Ambient services
V/CAM_PhotoModule( 4163): Open camera device.
V/CameraHolder( 4163): open camera 0
E/CameraService(21989): connectLegacy: camera HAL module version 100 doesn't support connecting to legacy HAL devices!
W/Camera ( 4163): An error occurred while connecting to camera: 0
V/CAM_a ( 4163): openLegacy failed. Using open instead

W/BroadcastQueue(22225): Permission Denial: broadcasting Intent { act=com.android.gallery3d.STORAGE_CHANGE flg=0x10 (has extras) } from com.cyngn.cameranext (pid=4163, uid=10107) requires com.android.gallery3d.permission.STORAGE_CHANGE due to receiver com.android.gallery3d/.app.StorageChangeReceiver
D/CameraStorage( 4163): External storage state=mounted
E/mm-camera-sensor(21991): sensor_proxy_thread_on:198 enter
D/mm-camera(21991): mct_controller_thread_run thread_id is 4227
E/mm-camera-intf(21989): mm_camera_open: opened, break out while loop
E/mm-camera-intf(21989): mm_camera_poll_thread_launch: poll_type = 0, read fd = 36, write fd = 37 timeout = -1
D/QCamera2HWI(21989): int qcamera::QCamera2HardwareInterface::openCamera(): enable_4k2k is 0
D/mm-jpeg-intf(21989): jpeg_open gMmCameraJpegLogLevel=1
E/CAM_LocalMediaData( 4163): Invalid video file
E/CAM_CameraDataAdapter( 4163): Error loading data:/storage/emulated/0/DCIM/Camera/VID_20151202_162020.mp4

---------- Post added at 10:29 PM ---------- Previous post was at 10:27 PM ----------

[/COLOR]

Yes I live in Indianapolis, need to change that on my profile here.
[Miscellaneous Android Development] sirhc:
So the HAL Module is outdated and doesn't support our build since we are a legacy device then on top of that External Storage is being mounted by default when in reality internal (Emulated) storage is supposed to be mounted upon launch. Unless things have change that I'm not aware of. This is definitely a kernel issue from what I can tell

---------- Post added at 05:16 AM ---------- Previous post was at 05:09 AM ----------

Nope I'm wrong, I remember having this issue awhile back. I strongly believe Video Recording is crashing because the UI sounds aren't being called on compile, causing it to force close. If I'm right, this isn't strictly a kernel issue. This is a framework issue with cm. As you may tell when taking a picture, the sound is called and you hear it once the picture snaps, but when queuing video recording, after pressing the button, no sound is present and the camera crashes. This issue has been around for a couple of years.
[Miscellaneous Android Development] T-Macgnolia:
I did notice in the dmesg this. qcom,mdss_dsi_lgd_incell_phase3_hd_video:1:none so I am not sure if it will still not have to be fixed in the kernel
[Miscellaneous Android Development] sirhc:
Well hopefully the OP See's this since he's building the kernel again from scratch
[Miscellaneous Android Development] Blu8:
For us lazy people......

https://drive.google.com/file/d/0B7uiUWWQnG2fMElDZEpmWHBhWTg/view?usp=docslist_api
[Miscellaneous Android Development] bradym512:
I'm at a standstill building the kernel until this can get fixed: http://xdaforums.com/showthread.php?t=3262350

Nooblike, I know, but still.
[Miscellaneous Android Development] sirhc:
Kernels aren't easy to work with so this is expected. I would suggest doing a lot of research to help you on your build. I've learned a lot of new things when facing trial and error
[Miscellaneous Android Development] bradym512:
I've updated OP with source links.

ALSO; PLEASE READ: I will NOT be developing for this device, but rather maintaining it. In other words I will NOT be making fixes, kernels, etc fot this. However, I will be MAINTAINING it. If you have a bug fix to submit, such as the camera and GPS fix sirhc had, please post here, and I can work on integrating it. I'm not a dev, I'm a builder and community member.

EDIT: Also, I lost my development env, but, assuming CM pushed the December security updates, be building a december version soon.
[Miscellaneous Android Development] sirhc:
So I take this as you won't be building Marshmallow. Sorry if I sound naggy when it comes to having Marshmallow for our device, it's just a huge crave for me with the new app opening animation and new APIs and without my PC I usually compile with being inoperable, I've been hoping someone could take on the task but I understand. I appreciate your work and your dedication to this community and give you the up most respect for taking time out of your day to keep this device alive.

On another note, Blu8 created an script that disables LED on boot.

The GPS fix discovered by me and another community member is able to be merged with your build since it's only a missing pacakge.

TeamRegular/Noobified aka Unjustified Dev explained the issue with video recording if I'm not mistaken. Last I remember it was something to do with color configuration. Possibly using an older branch could fix this as it's kernel related imo. I'll see if I can locate a fix for you to merge.

Not sure where we can go from here, but mostly everything has been Band-Aid until permanent fixes have been applied by anyone with source knowledge that's capable of applying them. Thanks again
[Miscellaneous Android Development] bradym512:
Ha. It's fine. I consider myself quite naggy and I've spent a bunch of time around myself. Almost 13 years, in fact. I am not unwilling to work here, just my skills on researching, following, and, honestly, complying aren't the best. And overboard commas need to be improved on too. I was able to merge the .so camera fix, but I can't figure where to put the .apk file for location, since it's prebuilt. Guidance on that would be much appreciated. As for Blu8's LED fix, can you link me to that? If not, that's fine; a PM should suffice. As well as, well, integration assistance ;), which, if you've read my posts, is something I'll be asking for a lot; being new here.

BandAids until we get the Quarx2K of the stylo should suffice. God Quarx2K was great with the L90. There were more than 15 roms for it and I've never seen another L90 in my life.

As for MM, again, a point in the right direction would provide a great head start, but not before the offical MM update comes from LGE. Also, if a new [actual] dev comes along, that'll be up to him.

For now, I think it's fine to apply patches for the remaining bugs and put them up here and I can integrate them. Or, you know, github them yourself, but I'd prefer them to be put here so I can keep an eye on where each patch goes, for, uh, builds.

Also, the flashable patches for location and camera were something I wouldn't have thought of, and I'll make those an official download on DevDB. Thanks again for that.

If I left anything out, feel free to let me know. Until then, patch on!
[Miscellaneous Android Development] Riku Azhurlar:
oh lol that would make sense sorry i usually skim ill mess with the kernel as much as i can from my end seing as i needed to uninstall my linux to make space for my ever growing windows
[Miscellaneous Android Development] sirhc:
Awesome, glad someone is picking up development ?
[Miscellaneous Android Development] bradym512:
I tried building with the commit (the xe build) a while back and got nothing.

I sent my stylo back and I keep forgetting to make a manifest and build guide for people wanting to continue the project. I'll try to do it tonight but I can't make any promises since I'm away from home.

I'm glad Riku has a bunch of these fixes worked out (and changed his G+ name). If he has the fixes then I can hand the thread over to him (however that works). Until someone builds this I'll mark it as [ABANDONED] or [NOLONGERUPDATED] (whichever is most appropriate).
[Miscellaneous Android Development] sirhc:
Sounds good ? [DEPRECATED] lol
[Miscellaneous Android Development] bradym512:
Haha cool
[Miscellaneous Android Development] MrObvious:
Let me know if you can get the manifest built or whatever.
[Miscellaneous Android Development] Riku Azhurlar:
i could probably pick up development once i get my linux set back up. thinking of using a VM this time so that my ultra fast boot on my pcs motherboard can still work. or maybe when a few more parts that i want with my tax return then i can put the old ones into a linux
[Miscellaneous Android Development] bradym512:
Just expect a 10+ hour build on a VM
[Miscellaneous Android Development] Riku Azhurlar:
normally but im using arch so ill be able to use 90% of the resources the vm is given especially if i get the upgrades for my pc with my tax return.
[Miscellaneous Android Development] MrGanjaGreen420:
Wassup guys. Just reflashed the latest cm12.1 because I was getting phantom touches. Now my brightness won't change. Help?
[Miscellaneous Android Development] androidrook:
How do you download the beta versions?
[Miscellaneous Android Development] mannyv243:
Is there any way to add the LED light back on the ROM?

---------- Post added at 04:11 PM ---------- Previous post was at 03:47 PM ----------

Camera (cmfix) for cyanogenmod allows for the camera to work on snapchat
[Miscellaneous Android Development] T-Macgnolia:
Finally Official Android 6.0

It is finally here. The Official Android 6.0 update for the LG G Stylo for T-Mobile and Metro PCS.

Android Police article here.

​
[Miscellaneous Android Development] adame09:
Hey guys what's the latest build? And how is it running?
[Miscellaneous Android Development] OldAzzNoob:
Will this zip work on both the tmobile AND metropcs versions?

Just curious before I go flashing it on my ms631...
[Miscellaneous Android Development] Blu8:
Yes
[Miscellaneous Android Development] Raider0001:
I wish this would work on a H635 variant of the G4 Stylus because stock 5.0.2 is slow and 6.0 is even worse (half of the gpu performance in games like Ingress)
[Miscellaneous Android Development] bradym512:
K
[Miscellaneous Android Development] Riku Azhurlar:
So update. Can't get my PC to use a VM or dual boot without breaking Windows. I found a method that might work but I need a second hard drive and all I have is a 20GB one so once I get a lil money I'll get a 1TB or 500GB one and try it. If all goes well then I'll try to start working on getting cyanogenmod 12.1 or 13 going
[Miscellaneous Android Development] MrObvious:
Riku ping me. I have a system ready to go but need source code to build it.
[Miscellaneous Android Development] Riku Azhurlar:
so i finally said goodbye to my stupid reasons for not doing things, for example the ultra fast boot up times i get from my pc from the ultra fast boot setting, this setting doesnt work with linux yet to my knowledge. so im rationing out a 100GB partition for my linux i can wait an extra 10-15 seconds for my computer to boot so with my work schedule i dont know how much ill be able to do but im off tomorrow so ill devote as much time as possibel to getting this thing working.
[Miscellaneous Android Development] JMarvelous:
Took the leap.

I have the LG Stylo (H631/MS631) Cyanogen 12.1 mod running on my phone as we speak. It runs OK. Had or having (they kind of disappeared) a few issues, mainly minor. WIFI Hotspot doesn't work and will reboot phone randomly. GPS wasn't working great but I found a "bandaid" fix and seems to be ok now. Wallpaper wouldn't change last night before I went to sleep; woke up and it was changed. Can change on command now, hmmm. Also no app drawer folder option which is kind of a bummer. I haven't quite tested everything in here as of yet but it's been installed for 2 days now. For the most part I really like it. Of course I can't ever stand the stock ui on any phone. This is the first time I have ever flashed a ROM onto any phone but I have been rooting for a long time now.

P.S. I'd be more than happy to test for anyone trying to fix this ROM. Also big thanks to the original ROM maker.
[Miscellaneous Android Development] MrObvious:
So Riku and I are working on it. He sent me some stuff to get repos hopefully straightened out so as soon as I get a chance I'll try compiling.

As far as GPS, what is your bandaid? https://www.androidfilehost.com/?fid=24421527759882680 This build from page 25 of the sister thread on Android Forums fixes GPS. However if you have the newer screen you'll need to flash the boot.img from a build late last year. Also it is for MS not H631 so there is a updater script in the zip you can remove 7zip on the computer should work.

The wallpaper and launcher probably could be replaced with one from the play store
[Miscellaneous Android Development] JMarvelous:
Okay well I'm driving to work right now so when I get off of work I'll contact you back maybe in a pm and I need to learn a few things I'm not a pro when it comes to this but I'm very computer savvy so I can learn quick thank you explain to you everything later what I downloaded and show you everything
[Miscellaneous Android Development] JMarvelous:
Ok guys, it's been a rough week at work but I'm ready to go if you need guys are. I have noticed quite a few things since installation of the ROM. I'll be free all weekend to do whatever needs to be done for testing if needed. PM me if and when you are ready to rock please. Thanks guys! :D
[Miscellaneous Android Development] MrObvious:
Having compile errors. So nothing yet.
[Miscellaneous Android Development] JMarvelous:
Ok no problem man and thanks again...will be waiting for more info.
[Miscellaneous Android Development] JMarvelous:
Its going! When the time comes ill test that bad boy for ya
[Miscellaneous Android Development] Coachmark2:
I just wanted to add that I have a Stylo as a backup phone and am interested in its ongoing development. I'd be happy to test builds :)
[Miscellaneous Android Development] MrObvious:
Did some Googling.

W/ACodec ( 307): do not know color format 0x7fa30c04 = 2141391876

http://alumnus.caltech.edu/~heirich/styled-6/index.html

COLOR_QCOM_FormatYUV420SemiPlanar32m

W/ACodec ( 307): do not know color format 0x7f000789 = 2130708361

https://lists.freedesktop.org/archives/gstreamer-devel/2013-October/043721.html

OMX_COLOR_FormatAndroidOpaque

Huh?! That's not NV12 is it?