yashsingh1/xdaforums huggingface dataset:
[G Pad 8.3 Original Android Development] testman86:
Its about that the device is suddenly getting a black/blank screen and is not "responding" anymore. I noticed that locking and unlocking screen is working, so touchscreen seems still working while screen is just black (because I could hear the noises of unlocking and locking the screen) but screen keeps black and just a reboot is bringing the screen back.
[G Pad 8.3 Original Android Development] GXGOW:
Weird, I haven't encountered this issue recently.

Sent from my LG-V500 running CM12.1
[G Pad 8.3 Original Android Development] testman86:
[MENTION=5227588]Deltadroid[/MENTION] are there any important changes in the last 3 nightlies which have to do with blank screen issue? I would like to use my tablet again without reboots :D
[G Pad 8.3 Original Android Development] Deltadroid:
20150507 has kernel fixes to the video driver and ipv4 networking.
[G Pad 8.3 Original Android Development] testman86:
any further plans working on video driver, because seems that for some people the fix does not solve it.
[G Pad 8.3 Original Android Development] Deltadroid:
There seems to be several commits in the review process for v500.

http://review.cyanogenmod.org/#/q/project:CyanogenMod/android_kernel_lge_v500
[G Pad 8.3 Original Android Development] GXGOW:
Well, I guess I laughed a little too loud when I said I haven't had the black screen issue for months. It occurred again today while I was browsing this thread, ironically, on Tapatalk. After a reboot, the device had forgotten all of the saved Wi-Fi networks for some reason, so I had to re-enter their passwords.

Sent from my LG-V500 running CM12.1
[G Pad 8.3 Original Android Development] jesuita:
3 days after the install and everything is good.

Interface is really smooth, ram management seems better than last CM12 version.

Apart from the black screen right after the rom installation everything is working great. Recommended for daily use.

Small question, can we Cyandelta app to install the nightlies?
[G Pad 8.3 Original Android Development] :
The mako (Nexus 4) also has the SOD problem. So it seems to be no isolated v500 problem.
[G Pad 8.3 Original Android Development] Deltadroid:
That is good to know. They both use the same video driver I think. Maybe that is the relation.
[G Pad 8.3 Original Android Development] Cal:
I attempted the stock kernel with the latest 2115-05-11 with 4.4.2 base & had dim brightness, so switched base to 4.2.2 and color was excellent but then got a black screen freeze with the stock CM kernel.

Did a hard reset to recovery & restored kernel to Rick's #15 & boot back to 4.4.2 & now all seems solid again.

I still think the stock kernel has a flaw.

@Deltandroid, should I be formatting system changing the kernel & the boot back & forth like that? Thanksl
[G Pad 8.3 Original Android Development] :
A) Is the video driver part of the kernel?

B) Does cm 12.1 use the video driver from the stock rom? I'm on stock 5.1.0 on mako and i don't have this problem.

C) That's the reason I'm still on the latest cm12 nightly...
[G Pad 8.3 Original Android Development] Deltadroid:
yes, the video driver is in the kernel. Stock is not the same as aosp.
[G Pad 8.3 Original Android Development] slebit:
Does this "black screen" only affect cyanogenmod? I haven't had any problem with this on my paranoid android ROM or my unofficial aicp.
[G Pad 8.3 Original Android Development] :
It seems so. CM 12 is also not affected.
[G Pad 8.3 Original Android Development] GXGOW:
Video driver gave up again while I was playing some Monument Valley (great game btw) on latest nightly. If only I could get a logcat of it.

Sent from my LG-V500 running CM12.1
[G Pad 8.3 Original Android Development] kude87:
I'd post in the QA thread but it looks like this has more traffic. Been using this rom since late April, and haven't experienced any black screens. I've actually been trying to get them. I've been dirty flashing each nightly as well, no issues. The only thing I experienced as a "problem" is sometimes my wifi doesn't respond after a long deep sleep, but I toggle wifi and it works. My only settings I can think of that I manually changed regarding the gpu would be putting all animations and transitions to 0.5 as well as have force gpu rendering on.

Sent from my DROID Maxx
[G Pad 8.3 Original Android Development] Deltadroid:
You should try the kernel in permissive mode to see if it fixes the Wi-Fi problem. There is another thread about bumping the kernel in the recovery, those patches also have an option to set the kernel in permissive mode.
[G Pad 8.3 Original Android Development] Deltadroid:
20150513 crashes system ui on boot.
[G Pad 8.3 Original Android Development] GXGOW:
Thanks for the heads-up! [emoji4]

Sent from my GT-I8190 running OmniROM 5.1
[G Pad 8.3 Original Android Development] Cal:
They (cm) modified it once this morning. (Tell by the Md5). CM was making a kerel commit in #13...think that is where the fault is? Well it crashes on the UI no matter which kernel. If you don't have a backup you are screwed.
[G Pad 8.3 Original Android Development] Deltadroid:
Just dirty flash the previous build and it's back up.
[G Pad 8.3 Original Android Development] Cal:
If you have it. If your computer is down your in trouble.
[G Pad 8.3 Original Android Development] Deltadroid:
20150514 is fixed. System boots ok now.
[G Pad 8.3 Original Android Development] Deltadroid:
Everyone with the black screen of death should read this:

https://code.google.com/p/android/issues/detail?id=52926

https://code.google.com/p/android/issues/detail?id=79942

The Nexus 4 has the same chipset as the LG G Pad 8.3.
[G Pad 8.3 Original Android Development] DSC05:
Thanks for this info. After a week of testing I can definitely say that black screen issue was solved on ricks kernel version 15. So the question is what has changed from #15 to 16 (though I personally haven't tried 16, but I guess [MENTION=5628968]Cal[/MENTION] did?).
[G Pad 8.3 Original Android Development] :
I'm on stock rooted 5.1.0 on my Nexus 4 for three weeks now and never had this issue. Before that I was on cm12 for about two months and never had that problem also. I only have it with cm 12.1 which I tried for 2 days inbetween.
[G Pad 8.3 Original Android Development] takis:
Do i have to flash something or the problem with the black screen is solved?

---------- Post added at 09:57 AM ---------- Previous post was at 09:56 AM ----------

Nexus 4 has different snapdragon inside....???? Right????
[G Pad 8.3 Original Android Development] Deltadroid:
Both devices are identical. They both have Qualcomm APQ8064 Snapdragon chipset and Adreno 320 GPU. Therefore, I'm sure the black screen of death bug is the same with the v500 and Nexus 4.
[G Pad 8.3 Original Android Development] Deltadroid:
The consensus on the nexus 4 bug reports seem to be that the problem is related to Wi-Fi and/or gps.
[G Pad 8.3 Original Android Development] takis:
http://www.phonearena.com/phones/compare/LG-G-Pad-8.3,Google-Nexus-4/phones/8141,7531

Snapdragon 600 and snapdragon s4 pro are the same???? Wtf!
[G Pad 8.3 Original Android Development] GXGOW:
Well that explains why I lost all of my Wi-Fi passwords after a blank screen issue.

Sent from my LG-V500 running CM12.1
[G Pad 8.3 Original Android Development] Deltadroid:
You are correct, the chipsets are not exactly the same, but they are very similar. So, the common fault is that they both have the same Adreno 320 GPU. We use the same video driver blobs.

Nexus 4: Qualcomm APQ8064 Snapdragon

LG G Pad 8.3 v500: Qualcomm APQ8064 Pro Snapdragon 600

They both use the same kernel drivers, so they both have the same bugs.
[G Pad 8.3 Original Android Development] Deltadroid:
Are you using the kernel in permissive mode? Saving Wi-Fi passwords could have something to do with permissive mode. It could also have something to do with forcing the device to shutdown/reboot.
[G Pad 8.3 Original Android Development] GXGOW:
The kernel is in bumped permissive mode, but this only occurred once. I didn't lose my Wi-Fi passwords after any other time I had the blank screen issue.

Sent from my LG-V500 running CM12.1
[G Pad 8.3 Original Android Development] Deltadroid:
I'm also using bumped permissive mode and I haven't lost any Wi-Fi passwords after a lockup.

It was probably caused by this black screen bug messing with memory.
[G Pad 8.3 Original Android Development] scaramonga:
Yup.

Was getting black screens daily, none whatsoever now that I've gone back to #15. Not 1.
[G Pad 8.3 Original Android Development] jesuita:
I also can confirm that there are no issues at all with ricks kernel v15.

No black screens/lags or whatsoever.
[G Pad 8.3 Original Android Development] Deltadroid:
Factory reset also seems to fix black screen problem.
[G Pad 8.3 Original Android Development] DSC05:
Sure? Could you please try to watch any video of this page http://www.ndr.de/mediathek/. Let it just run for at least 5 minutes and do something else, then take a look if the screen is black.
[G Pad 8.3 Original Android Development] Deltadroid:
I Just watched a video on that page for about ten minutes and paused and played several times without any problems. I used Firefox.
[G Pad 8.3 Original Android Development] hekermeker:
cannot connect to home wifi, latest build ...
[G Pad 8.3 Original Android Development] zacharias.maladroit:
what is this ricks kernel ?

http://xdaforums.com/lg-g-pad-83/development/kernel-redkernel-t2856297

Probably this one by Rick Roll ?

Haven't used any custom kernel on this device so far :confused:

Thanks
[G Pad 8.3 Original Android Development] jesuita:
Yes, sorry, thats it ;)
[G Pad 8.3 Original Android Development] Deltadroid:
I think I found the problem with the black screens...

The fix:

Go in developer settings and disable hardware overlays.

Yeah it's a bandaid solution, but it seems to help. The bug seems to be a project butter problem.

Factory reset doesn't help.
[G Pad 8.3 Original Android Development] dwl99:
Sorry, I tried this and just had a black screen whilst using type mail.
[G Pad 8.3 Original Android Development] Deltadroid:
Thanks for testing. I think you are right about disabling hw overlays not solving the black screen problem. Although, since upgrading to the latest nightly build,I have not had a black screen so far (it was happening twice a day before that even after a factory reset).

Even though disabling hw overlays doesn't fix the black screen, it still tells us more about what is wrong. If disabling hw overlays doesn't help, then the problem with our screens going black is not the same problem as on the nexus 4.

I think the problem with black screens is caused by a bug with surfaceflinger or the framework. The last two nightly builds have a lot of fixes to the systemui and framework. Are you testing with the latest nightly build?
[G Pad 8.3 Original Android Development] dwl99:
I'm on 7 May build which has been rock solid so far. Will try a newer nightly.
[G Pad 8.3 Original Android Development] DSC05:
I'm on latest nightly build and I couldn't get black screen though heavy using. So maybe maybe maybe....
[G Pad 8.3 Original Android Development] ThunderBolt_BR:
Same here. Used it all day and no black screens.

[]'
[G Pad 8.3 Original Android Development] :
That would be great!
[G Pad 8.3 Original Android Development] Deltadroid:
With 20150521, the system seems very stable. I can't get it to crash yet after two days.

With 20150523, it goes to black screen within a few minutes on fresh reboot.

Edit:

With 20150523, I've forced a reboot three times and got black screens each time after a few minutes of usage with the news reader. I've gone back to 20150521 and it is stable again. I wonder what's changed in the latest build that is triggering this.

Edit 2:

I spoke too soon. I just got another black screen with 20150521 when using Google search app. I hope we can fix this.
[G Pad 8.3 Original Android Development] saurjk:
Can anybody say if the back camera works or not? The "ov5693" one.
[G Pad 8.3 Original Android Development] Deltadroid:
The other camera module isn't working yet for aosp.
[G Pad 8.3 Original Android Development] tewje:
For last week i tested new versions nightly with RedKernel # 15. I had no problems at this time with black screen issue. Yesterday i did a clean install version 20150521. Within two hours i had three times the black screen issue. I was using at that time Pocket. Today installed RedKernel again. So far, no error occurred. Sorry for my bad english... ;)
[G Pad 8.3 Original Android Development] Deltadroid:
The only problem is that my sdcard unmounts with latest red kernel.
[G Pad 8.3 Original Android Development] :
Just tried the latest nightly with a clean install for three hours. Had three SODs. As much as I hate to say but this ROM and all his derivates are pretty useless in their current condition.

Isn't there an official maintainer for our device? Isn't it possible to log anything which could help? I would like to help to get this working.

Sadly this problem exists on my mako too. But the issue occurs a lot less often.

Going back to the latest cm12 nightly for now. This works flawless and the differences between 5.0.2 and 5.1.1 are zero for my uses.
[G Pad 8.3 Original Android Development] Deltadroid:
Does pure aosp have this problem?
[G Pad 8.3 Original Android Development] scaramonga:
Yup, RedKernel # 15 is the only thing that stops the black screens for me, on any build of latest version. Beginning to think that this will never get fixed properly, as most of the time its a random occurrence.
[G Pad 8.3 Original Android Development] Deltadroid:
I wish there was someone to contact over at cm. Maybe Ricardo Cerqueira. Maybe on irc?
[G Pad 8.3 Original Android Development] Deltadroid:
I just updated to latest nightly build that was giving me trouble and installed red kernel #15. I've updated my bootloader to 20D. So, let's hope this fixes it.
[G Pad 8.3 Original Android Development] :
AOSP 5.1.1_r1 by adrianom doesn't have this problem. He uses a 4.4.2 base kernel by ckret.

CM 12.0 N20150417 doesn't have this problem.

Stock 5.0.2 (Korean international version) doesn't have this problem.

Only CM 12.1 and ROMs based on it.
[G Pad 8.3 Original Android Development] davebuk:
I've only had one instance of the black screen issue and that was with cm12. I'm currently running cm12.1 20150509 with stock kernel. Before I started flashing cm12 ROMs I was on either bootloader C or D. I can't remember but I do remember searching as a lot of posts were for A or B. Also have 4.4.2 base files as I get the dim screen post flashing ROMs but that's not an issue, just go to standby and back on and everything works as normal. [MENTION=5227588]Deltadroid[/MENTION] I'm not sure if I can check what bootloader I was running now I'm on cm12.1 but if you can tell me how I'll let you know ?
[G Pad 8.3 Original Android Development] Deltadroid:
Black Screen

Red Kernel #15 does indeed fix the "black screen" problem with the latest CM 12.1 nightly builds (thanks [MENTION=5628968]Cal[/MENTION]). I was having a BSOD every 10 minutes and then I installed Red Kernel #15 and its been fine since. I am also not having any trouble with my sdcard unmounting with Red Kernel #15. When I test the newer versions of Red Kernel, my sdcard becomes unmounted unexpectedly. I've noticed that Red Kernel #16 stopped working properly after the source code was rebased against CM12. Here are the steps I took to fix the problem:

1) Reboot to recovery

2) Flash V500-4.4.2-Base-KOT49I.V50020D_US-no-aboot-signed.zip

3) Flash twrp-2.8.6.0-v500.zip for 4.4.2 bootloader

4) Reboot to recovery (not system) to reload new bootloader.

5) Flash CM 12.1 Nightly ROM

6) Flash RedKernel-r015.zip

7) Flash Bump/Permissive kernel script v500-loki-kernel-to-bumped-permissive-kernel-signed.zip

8) Reboot to system
[G Pad 8.3 Original Android Development] tewje:
In the last week I had no problems with this configuration. I hope this finally solves the problem and you'll find a way to simplify this. Greetings! :)
[G Pad 8.3 Original Android Development] scaramonga:
Yup, that is exactly the steps I took to get to where I am today. You can't really fail by following the above, and as you noted, it does fix the problem rather nicely :)
[G Pad 8.3 Original Android Development] ThunderBolt_BR:
Weird. I had no black screens with 20150523 nightly. Been using it for 3 days and everything is fine.
[G Pad 8.3 Original Android Development] jllabres:
can I use this rom for VK810 if I am not going to use the sim card?
[G Pad 8.3 Original Android Development] Deltadroid:
No. This rom is not compatible with vk810.
[G Pad 8.3 Original Android Development] zacharias.maladroit:
Nope:

http://xdaforums.com/showpost.php?p=60980171&postcount=1103

So what exactly introduced this issue ?

The changes in the initramfs or the kernel ?

according to the commits in RickRoll's git repo RedKernel 15 + 16 should work since the commit which added support for the color temperature interface came afterwards:

https://github.com/victormlourenco/...mmit/52e21c99668e2d2c22f578ea9e2da538c3ea60c7

(March 13th; RedKernel 16 released/uploaded March 12th)

It, of course, also could be that he pushed that commit AFTER he built that kernel

Not really sure though which branch the kernels are based off - also there's no tags or commits indicating which kernel matches with which state in the repo ...
[G Pad 8.3 Original Android Development] Deltadroid:
It's something in the zImage that contains the fix. Red Kernel uses the initramfs from the original rom. The bug was introduced in #16 when red kernel rebased against cm12.
[G Pad 8.3 Original Android Development] Deltadroid:
Cyanogen needs to appoint an active maintainer for the v500. The official maintainer, Ricardo Cerqueira, seems inactive for several months now. Commits that are specific to the v500 device tree and kernel are not getting checked in. This includes any fixes for Bluetooth selinux rules and the black screen problem.
[G Pad 8.3 Original Android Development] Deltadroid:
Great news..

The following changes have now been officially committed to cm12.1:

http://review.cyanogenmod.org/96023

http://review.cyanogenmod.org/96022

http://review.cyanogenmod.org/96021

http://review.cyanogenmod.org/96020

[MENTION=1077833]infected_[/MENTION] ;)

We shall see if the bluetooth reconnect problem is fixed now.. there might still be more selinux denials that need fixing first. :) Its a start. :)

edit 2: The open bump commit is now being reviewed and will also probably be committed soon. :)
[G Pad 8.3 Original Android Development] Deltadroid:
Open bump is now official for v500

On the next build, make sure you use the correct permissive patch, if you use that. The kernel is not using loki anymore.

http://review.cyanogenmod.org/#/c/97617/

Thanks [MENTION=4517918]jsevi83[/MENTION]

Thanks [MENTION=2174433]Skin1980[/MENTION]

[MENTION=1077833]infected_[/MENTION] :)
[G Pad 8.3 Original Android Development] deepongi:
which permissive patch?

been using 97617 since it was pushed, i have has a repopick on my build script.

never needed to set anything on permissive 'cause of it.
[G Pad 8.3 Original Android Development] Deltadroid:
http://xdaforums.com/showthread.php?t=3081457

Permissive mode is to fix the Bluetooth reconnect issue after the Bluetooth service or system is restarted

There is also no more need to manually bump the kernel in the recovery... Obviously, but we may still need to use permissive mode to fix the Bluetooth reconnect problem until it is further looked at.

We just need to use the "already bumped kernel to permissive kernel" script now, perhaps.
[G Pad 8.3 Original Android Development] deepongi:
i can set the kernel of my builds to permissive.

we just need to add this "androidboot.selinux=permissive" to BoardConfig.mk

but i've rather use SELinux the way it should...

so we may have to have a better look to see if its possible to solve that BT issue, without using permissive on the kernel.
[G Pad 8.3 Original Android Development] Deltadroid:
I completely agree. I also want to keep selinux in enforcing mode. I think we can fix the Bluetooth problem. Also, I think It is better that you don't permanently set the kernel in permissive mode so the problem gets attention.
[G Pad 8.3 Original Android Development] takis:
Can you pls explain what pros do we get by the implementation of those commints and of the open bumps one?
[G Pad 8.3 Original Android Development] Deltadroid:
In the storage options, you will now have the option to unmount the sdcard to remove it while the system is running.

OTG storage options are now available.

Some fixes to selinux Bluetooth rules to try and fix the problem where Bluetooth devices dont reconnect after the Bluetooth service is restarted

Open bump fixes the secure boot error message on startup and also allows you to install cm12.1 without having to downgrade aboot to 4.2.2. Open bump is compatible with aboot from 4.4.2 and 4.2.2 firmware.
[G Pad 8.3 Original Android Development] jesuita:
Confused now.

Can I upgrade to the latest nightly like usual (through cyandelta) or do I need something else?
[G Pad 8.3 Original Android Development] Deltadroid:
Upgrade should be normal. No special action required.

Edit: except if you use a custom kernel. Custom kernel install scripts need to be adjusted to not remove the loki patch.
[G Pad 8.3 Original Android Development] Deltadroid:
I think I fixed the selinux bluetooth problem. Can you please do a build with the following:

http://review.cyanogenmod.org/#/c/99660/

I can use as many testers as possible. Thanks, everyone.

Edit: we could also set only bluetooth in permissive mode like this:

# Bluetooth executables and scripts
type bluetooth_loader, domain;
type bluetooth_loader_exec, exec_type, file_type;
permissive bluetooth_loader;

# Start bdAddrLoader from init
init_daemon_domain(bluetooth_loader)
[G Pad 8.3 Original Android Development] Kraig.kak:
Help! Tried to use LG Mobile Support Tool to upgrade to Lollipop (VK810 WiFi only). Long story short, had some problems (equivalent to unplugging USB cable during flash), now tablet is stuck in download mode. Tried some key combinations, no good. Tried following these instructions. Flash Tool in CDMA mode gets stuck at 4%, in 3GQCT mode, gets to 10%. Tried both normal and CSE flash. Mobile Support Tool in Upgrade Recovery, fails at 10-11%. At my wits end.

---------- Post added at 11:39 PM ---------- Previous post was at 11:36 PM ----------

Sorry wrong thread!
[G Pad 8.3 Original Android Development] deepongi:
finishing a sirius PA build and i'll start right away a CM v500 one with that commit.
[G Pad 8.3 Original Android Development] Deltadroid:
Here is a potential fix for the black screens with the latest stock cm12.1 kernel. CM has merged the latest 5.1 source code, but they never updated the binary blobs for the video drivers. Here is a zip that you can flash to update the video blobs. I have fixed the install script to set the proper permissions.

https://www.androidfilehost.com/?fid=23991606952612021
[G Pad 8.3 Original Android Development] DSC05:
I'll test.....
[G Pad 8.3 Original Android Development] takis:
real developers!

This great tablet has some great developers supporting it! Thanks guys
[G Pad 8.3 Original Android Development] jesuita:
Ok.

Update went well, no more that error when booting, cool I guess.

Had a black screen already though.

Will test the zip for video blobs.
[G Pad 8.3 Original Android Development] Deltadroid:
Latest adreno video blobs didn't fix the black screen. It seems r015 is only solution at the moment.
[G Pad 8.3 Original Android Development] zacharias.maladroit:
RedKernel 15 with the new drivers doesn't show that issue ?

I just remembered, that I'm running the "Twilight" app (screen dimming, color temperature - red touch), which supposedly uses overlays

there are others like "Screen Filter", ...

So if you guys are using one of these - see if disabling or stopping them prevents the screen from going blank after some time.

It's not a "Fix" per se, but at least you don't have to turn the device off or reboot (sometimes pretty immediate after start up)

and it would clearly indicate - that there's a problem with overlays