yashsingh1/xdaforums huggingface dataset:
[G Pad 8.3 Android Development] Deltadroid:
Red Kernel and Mani kernel installation scripts will fail because they are expecting boot.img files that have loki already applied. The custom kernel install scripts just need a few adjustments before they well work correctly with non loki kernels.
[G Pad 8.3 Android Development] Darkmasterhk:
well... it actually installs just fine, but the boot messages are back, that's all i noticed till now.

(made a backup and tried it in the meantime^^)
[G Pad 8.3 Android Development] odjinan:
clean flash (factory reset) + build 04/07 + latest banks's gapps = perfect.

I didnt update my twrp (still 2.8.6 and loki hack) cause some feedback gave me cold feet :eek:

I will probably wait a bit to update to the twrp bump version (dont really care about startup message, i only reboot my tablet to flash a new build ^^ )

edit: just flashed the twrp (bump/ no loki edition), it work fine.
[G Pad 8.3 Android Development] Deltadroid:
I would really like to fix the selinux denials in the official cm12 ROM, but I need help. If this ROM is using selinux enforcing mode, can someone try the following command and post logs?

adb shell su -c dmesg | grep denied

Best Regards.

Reference:

https://source.android.com/devices/tech/security/selinux/implement.html

Note: This is to fix the bluetooth headset not automatically reconnecting after restarting the bluetooth service. This also has an effect on network transfers over wifi.
[G Pad 8.3 Android Development] odjinan:
[MENTION=5227588]Deltadroid[/MENTION]: Tried but failed, tell me how to try the right way?
[G Pad 8.3 Android Development] Deltadroid:
Sure, the first example requires you to connect your tablet to a computer and use adb commands.

If using the terminal emulator on the tablet, try:

su

dmesg | grep denied

To save it as a file:

su

dmesg | grep denied > denied.txt

Thanks.
[G Pad 8.3 Android Development] odjinan:
Working (or not? can't save log)

I'll try later to connect with a computer if you need a proper log..
[G Pad 8.3 Android Development] ukjm2k:
Thanks for the excellent ROM, I use Euphoria OS on my Oneplus too.

I seem to have trouble with LiveDisplaly.

Its set to automatic, but the display does not change to day mode / night mode as expected. I have to force of once before it does.

Clean build, PA mini modular Gapps.

Thanks.
[G Pad 8.3 Android Development] Deltadroid:
Yes that is exactly what we need. Can you make that into a text file?

Try this:

su

dmesg | grep denied > /data/local/tmp/denied.txt

The log will be in /data/local/tmp

Thanks!
[G Pad 8.3 Android Development] odjinan:
Seems working

(2 files one with bluetooth off, second with on, dont know if its help)
[G Pad 8.3 Android Development] Deltadroid:
Ok, so looking at these logs, there are a lot of denials. This must be causing lots of issues.

Can you also please attach a file called "sepolicy" so that I can use it to convert these logs into missing policies? If you open root explorer, the file "sepolicy" is at the root level. You may have to zip it first to attach it here.

From the looks of things, there are several applications that have not been defined in the sepolicy (untrusted apps).

Thanks!

If you have a Bluetooth device, it would also be good to have some denial logs of the Bluetooth device connecting.
[G Pad 8.3 Android Development] odjinan:
Here is the zipped sepolicy file.

Active guard is active in my setup, maybe it cause interference?

I'll try later to find a bluetooth device. Same command under terminal?
[G Pad 8.3 Android Development] Deltadroid:
Thanks.

I have used audit2policy to convert these logs to active policies and this is the result:

cat denied_bton.txt | audit2allow -p sepolicy

#============= init ==============
allow init kernel:system syslog_read;

#============= shell ==============
allow shell dalvikcache_data_file:file write;

#============= untrusted_app ==============
allow untrusted_app adb_data_file:dir getattr;
allow untrusted_app persist_file:dir getattr;
allow untrusted_app sensors_persist_file:dir getattr;
allow untrusted_app unlabeled:dir getattr;

The first two denials for init and shell can easily be fixed by adding these missing rules to the already defined sepolicy rules.

The last four (untrusted app) are a little more to fix.. and that is the same problem I am seeing with CM12. These last four untrusted app rules are what is causing all the problems with wifi and bluetooth.

So, now i need to learn how to add new untrusted apps to the sepolicy rules. I suppose we need to first figure out what these untrusted apps are. This can be done by tracing the process id.

Has anyone done this before?

Note: since the sensor data is being blocked, this might also have something to do with the broken light sensor.

Note #2: I can offer a temporary fix for this by providing a flashable zip that will set the kernel into permissive mode until you flash a new kernel or rom. But, I still think this desperately needs a proper fix. This flashable zip is ONLY for kernel that have already been "bumped" and do not use loki tool. I have provided a similar flashable zip in the CM12 thread that does the same thing, but that one is for kernels that are installed using loki.

v500-universal-selinux-disabler-bumped-signed.zip
[G Pad 8.3 Android Development] odjinan:
Short reply: your fix is working fine. :angel:

Selinux is now in permissive mode, i upload zipped sepolicy again.

Denied3.txt BT off, data privacy on.

I activate BT, Turn off data privacy,reboot.. See second log.
[G Pad 8.3 Android Development] beroid:
New build is up guys.

LMY47O

https://www.androidfilehost.com/?fid=95916177934555018

Changelog
[G Pad 8.3 Android Development] fazbender:
LG's Q Pair gets a 904 error on install from the playstore. Is it possible to restore the functionality of this app with this rom?
[G Pad 8.3 Android Development] Dor-b:
I'm currently on 1.0 version. i've made nanodroid backup, and then dirty flashed 1.1.

Boot went well but then i kept on getting FC's on gmail and youtube.

I know that clean flash will work well, but i prefer not to factory reset (stupid reason)

Now i'm back to 1.0,Any way to fix the FC's?

Thanks
[G Pad 8.3 Android Development] :
AFAIK 1.0 is 5.02 and 1.1 is 5.1. You probably need new gapps.
[G Pad 8.3 Android Development] Dor-b:
i've flashed the 5.1 gapps, but still got Fc's

I guess i must do a full wipe..
[G Pad 8.3 Android Development] slebit:
Did you wipe system?
[G Pad 8.3 Android Development] Dor-b:
Hi,

If i wipe system, will it affect my apps, data in any way?

Thanks
[G Pad 8.3 Android Development] Dor-b:
Well,

I have wiped system as advised before , dirty flashed rom and gapps for 5.1.

Had a system ui FC , rebooted , will see how it goes.
[G Pad 8.3 Android Development] atlharp:
I am absolutely stunned at how smooth and fast this ROM is. This is the best my G Pad has ran in months. Tremendous!
[G Pad 8.3 Android Development] Jhon998:
Any chance of xposed might work? I tried the 5.1 version.
[G Pad 8.3 Android Development] Deltadroid:
I think xposed needs permissive mode to work.
[G Pad 8.3 Android Development] ASW1:
LCD density is by default very low (270) in this rom.

Settings->display->LCD density lets you change this, but only up to 297 dpi max., which is quite small.

I would like the dpi setting to go higher, up to 330 maybe.

I.m.o. ±300 should be default; adjustable to higher and lower values.
[G Pad 8.3 Android Development] Jhon998:
Edit build.prop placed in /system
[G Pad 8.3 Android Development] ASW1:
I know.

What I'm saying is that the default setting seems a bit off.

Today I've had more serious issues after a clean install of the latest build.

Wifi is unstable, with lots of connects-disconnects

Hardware acceleration in video players (tried mx, vlc, bs) is not working anymore.
[G Pad 8.3 Android Development] Feed Me:
Do I need the bumped TWRP Version?
[G Pad 8.3 Android Development] android404:
No such issue here.
[G Pad 8.3 Android Development] Hibble:
For me 270 DPI is just fine. Although I prefer something like 280.
[G Pad 8.3 Android Development] ASW1:
And hardware acceleration in video player?
[G Pad 8.3 Android Development] Dor-b:
It's just get the annoying boot error out of the way when booting to recovery.
[G Pad 8.3 Android Development] beroid:
New build is up guys.

LMY47V

https://www.androidfilehost.com/?fid=96042739161892116
[G Pad 8.3 Android Development] Lexxi:
Ty for your work, i really want to try this rom but now it gets confusing (at least for me)

bumped TWRP requires a 4.4 bootloader but CM 12 normally requires a 4.2 bootloader.

What should i do now?

1. Stay with a 4.2 bootloader and use bumped TWRP + this Rom

2. Flash a 4.4 bootloader and use bumped TWRP + this Rom

3. Use a 4.2 bootloader and use a loki TWRP + this Rom

as you can see, i´m really confused and i would really appreciate any help.

thx in advance
[G Pad 8.3 Android Development] Dor-b:
Hi ,

New build is 5.1.1 based?

Do i need to flash new gapps or 5.1 gapps are ok as well?

Tnx
[G Pad 8.3 Android Development] KnightStar:
I used Banks' GApps (which I assume is 5.1) and it booted just fine.
[G Pad 8.3 Android Development] Hibble:
I can't activate WIFI in latest build. Anyone else having this issue?

Ok, Red Kernel seems to be the problem here..
[G Pad 8.3 Android Development] viba-:
With the latest build (20150423), waking the gpad up and putting it to sleep by magnet doesn't seem to work. I tried different gapps and 4.2 and 4.4 bootloaders, always clean flashes (including system wipe). I'll just stick with the 20150414 build for now, incredibly fast and no issues there so far. Love this rom! :good:

Yes it's 5.1.1. I used 5.1 gapps from this thread and it's working just fine.
[G Pad 8.3 Android Development] Dor-b:
I also have the magnetic case issue, further more I have system ui FC from time to time.

I did a clean flash...
[G Pad 8.3 Android Development] beroid:
Guys, smart cover and other small bugs fix in next build, i upload it tomorrow ;)
[G Pad 8.3 Android Development] Dor-b:
Do cast screen don't work at all?

I have just noticed that.
[G Pad 8.3 Android Development] odjinan:
deltadroid's gapps (all flavors):

http://xdaforums.com/android/software/app-minimal-gapps-gapps-lp-20150107-1-t2997368

or bank's gapps (minimal package only):

http://fitsnugly.euroskank.com/?rom=banks&device=gapps

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

no problem with wifi, did you do dirty flash or clean flash?

edit: seems a custom kernel issue
[G Pad 8.3 Android Development] Dor-b:
WiFi is very unstable with latest build.. :( besides that great ROM
[G Pad 8.3 Android Development] beroid:
New build is up

https://www.androidfilehost.com/?fid=23991606952592280

Changelog
[G Pad 8.3 Android Development] Jansxel:
Is battery great in latest version??? Im having problem in Stock 5.0.2. :(
[G Pad 8.3 Android Development] Dor-b:
Quite good for me...

This SS are from 23.4 version.

I know it's just the start of the cycle ,but look at gsam stats..
[G Pad 8.3 Android Development] jose13683:
I am as much confused as Lexxi is. At the moment I have a stock rooted 4.4.2 20d. To use this rom I have to change bootloader or I can flash bumped TWRP (or bumped CWM) and then the rom, staying on 4.4 bootloader? :confused:

Thanks in advance! :good:
[G Pad 8.3 Android Development] viba-:
I was quite confused too.. My theory: The bumped twrp from this thread works with 4.2 and 4.4 bootloaders according to the developer, but for everything to work (brightness issues), the kernel has to be adapted to the 4.4 bootloader too. So for 4.4/5.x roms that haven't been adapted to bump yet, we'd have to use 4.2 bootloader and a bumped kernel (see this and this post). This rom is bumped, so I guess it should work fine with 4.4 bootloader + bumped twrp. This is really just an untested theory though, someone please correct me if I'm wrong :)

Just flashed the latest build with banks gapps. Hardware acceleration still seems off, but smart cover is working and no other issues yet :good:

Correction: wifi is unstable
[G Pad 8.3 Android Development] Dor-b:
Hi,

I'm getting system ui FC when switching from secondary to primary user, I've attached a ss of the log.

If needed I can upload the full log.
[G Pad 8.3 Android Development] Jansxel:
I Really can't flash this rom its stuck at flashing in twrp i already waited 20 min!! Help!!
[G Pad 8.3 Android Development] Dor-b:
What twrp version do you use?

Found the problem, i've used a custom theme and the other user used the rom Theme.

no more system ui FC..
[G Pad 8.3 Android Development] patt2k:
I had some weird Loki FYING error and i thought this thing didn't flash but it did!! android starting now optimizing !! :) please keep on updating this rom for us cheers!:good::fingers-crossed::laugh:
[G Pad 8.3 Android Development] Jansxel:
Its 2.8.6.0 With a bumped Kernel and recovery.
[G Pad 8.3 Android Development] beroid:
New build is up.

https://www.androidfilehost.com/?fid=23991606952597700
[G Pad 8.3 Android Development] laboratik:
new build === secure boot error....
[G Pad 8.3 Android Development] beroid:
try this build https://www.androidfilehost.com/?fid=23991606952597700
[G Pad 8.3 Android Development] laboratik:
Thanks, this one installed fine and is running ok. Will see how it behaves the next couple of days.
[G Pad 8.3 Android Development] odjinan:
flashed over previous build with the new dynamic bank's gapps, no problem to report :D

keep up the good work beroid!
[G Pad 8.3 Android Development] zacharias.maladroit:
I assume from the lack of mentioning swiftkey , swype or keyboard in this thread,

using e.g. swiftkey works on this ROM ?

Thanks !
[G Pad 8.3 Android Development] Dor-b:
Why shouldn't it?

I'm using both Fleksy and swiftkey
[G Pad 8.3 Android Development] zacharias.maladroit:
Thanks for your quick answer ! :good:

it doesn't work on another ROM also Android 5.1.1 - therefore the question

Excellent ! - will flash & try out this ROM asap :D
[G Pad 8.3 Android Development] don_ernesto:
Hello guys, first, thank you for this ROM :)

then, question: has anyone experienced sudden blank screens when using the device? it happens to me "randomly" and i have to reboot the tablet in order for it to work again. any lead would be appreciated
[G Pad 8.3 Android Development] Deltadroid:
https://code.google.com/p/android/issues/detail?id=52926

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

The Nexus 4 has basically the same chipset and video card as the LG G Pad 8.3. I think it's reasonable to assume the v500 would experience the same problems as the nexus 4 since they both use the same kernel video drivers.

Although, a factory reset does seem to also help for a while.
[G Pad 8.3 Android Development] don_ernesto:
well, i guess that it is the price to go Lollipop then...... hopefully it does not get that worse

Thanks Deltadroid
[G Pad 8.3 Android Development] Dor-b:
Hi, i had this issues with prior versions. Now I'm on 5/5 version and no black screen so far.. Are u on the latest version?
[G Pad 8.3 Android Development] don_ernesto:
yes, i am on the 5/5 version

did you perform the factory reset Deltadroid suggested? i will try it later today
[G Pad 8.3 Android Development] Dor-b:
No i didn't made a factory reset. Just wiped system, dalvik and cache then dirty flashed over old version.. Try this method
[G Pad 8.3 Android Development] Deltadroid:
A workaround for the black screen bug is to go into developer settings and disable hardware overlays. It's not the best solution, but it seems to work.

Factory reset doesn't help.

Edit: sorry, disabling hw overlays didn't fix the problem.
[G Pad 8.3 Android Development] odjinan:
it means its driver or kernel related?

we have the same blankscreen randomly appear on flexos roms too, flashing redkernel seems to fix that (I didnt test long enough to strongly confirm this option)
[G Pad 8.3 Android Development] Deltadroid:
Project Butter seems to have a bug in it that is locking up the video driver. The video driver is built into the kernel. Although, since this affects so many different chipsets,I would guess the problem is with the rom (lollipop) and not all the video drivers. Either Project Butter needs all the video drivers to be fixed or Project Butter needs to be fixed itself.

Edit:

I think the bug is in SurfaceFlinger in lollipop.
[G Pad 8.3 Android Development] :
And that has what consequences? Graphics performance?

Edit: Found the answer myself. For anyone who is interested:

http://android.stackexchange.com/questions/81529/can-anyone-explain-all-these-developer-options

Edit2: Disable HW overlays doesn't survive a reboot.
[G Pad 8.3 Android Development] Deltadroid:
I've made a zip that installs an init.d script to disable hw overlays on reboot. There is also a backup script to restore the init.d script on rom updates. I haven't had time to test it yet, but you can take a look.

https://www.androidfilehost.com/?fid=23991606952608469
[G Pad 8.3 Android Development] :
It doesn't work on Euphoria.
[G Pad 8.3 Android Development] Deltadroid:
Thanks for testing. I wonder what that problem is.

The following command in the terminal should disable hw overlays.

service call SurfaceFlinger 1008 i32 1
[G Pad 8.3 Android Development] Darkmasterhk:
a random thought:

UKM doesn't work too, expect i use e.g. kernel adiutors fake init.d, maybe init.d doesn't work right with euphoria?
[G Pad 8.3 Android Development] Dor-b:
Could this be possible that after flashing the ROM without flashing SuperSU, Haven't experienced any black screen.. Few days ago flashed SuperSU and today got black screen
[G Pad 8.3 Android Development] Deltadroid:
After some days of testing,I think disabling hw overlays in development settings doesn't fix the black screen problem. Although, the latest cm12.1 nightly build has not crashed yet *knock on wood*. There seems to be a lot of commits for the systemui and framework in the latest cm12.1 source code, so maybe this problem will just work itself out.
[G Pad 8.3 Android Development] Dor-b:
so we will need to wait for beroid to update :p
[G Pad 8.3 Android Development] don_ernesto:
After reading Deltadroid's discussion on his thread aboutCM12.1, i tried with Red Kernel version 15 on this ROM, and it seems to work. i have had 2 days without the blank screen, so maybe that is the way to go at the time being
[G Pad 8.3 Android Development] Deltadroid:
I think the fix requires changes to the stock cm kernel. After Red Kernel was rebased with CM12, it started to also have black screens. Red Kernel #15 is the last version before the CM12 code was merged in.
[G Pad 8.3 Android Development] beroid:
New build is up guys.:)

https://www.androidfilehost.com/?fid=23991606952611566

Changelog
[G Pad 8.3 Android Development] Dor-b:
Hi,

Changelog link is dead :(
[G Pad 8.3 Android Development] samorgs:
Tried to install this rom, using it on my LG G3, as soon as it boots all I'm gettjng is "google play services has stopped". Did it 3 different times, clean flashed each time (wiped data, cache internal and format data) each time with different gapps and got the same result each time.
[G Pad 8.3 Android Development] Deltadroid:
There is a patch for libcore that only affects ROMs built with stable 4.9 toolchain and sabermod 4.8/4.9 toolchain using latest Google Play Services 7.5.x.

http://xdaforums.com/showthread.php?p=60994216

---------- Post added at 02:01 PM ---------- Previous post was at 01:58 PM ----------

It seems that cm12.1 needs to update their adreno vendor libs to 5.1. This might fix the black screen problem with the stock kernel.

http://xdaforums.com/showthread.php?p=61055465

Edit: the updated adreno drivers did not solve the black screen problem
[G Pad 8.3 Android Development] ermacwins:
Red kernel guaranteed fix for black screen?
[G Pad 8.3 Android Development] beroid:
New build is up.

https://www.androidfilehost.com/?fid=23991606952614419
[G Pad 8.3 Android Development] mf01mf01:
Nothing feedback. All is well with the latest build? Have you tried someone?
[G Pad 8.3 Android Development] Moe5508:
All good here on the 4 June build...very solid and smooth...
[G Pad 8.3 Android Development] mf01mf01:
Thanks!

It is not clear to me: there are already solutions to the black screen problem?
[G Pad 8.3 Android Development] yojimboj:
Just FYI, I'm running 6/4 build, excellent rom, but I'm still getting black screens about 1-2 times a day, usually under a heavy app load.
[G Pad 8.3 Android Development] beroid:
New build is up.

https://www.androidfilehost.com/?fid=24052804347760150

Changelog
[G Pad 8.3 Android Development] ermacwins:
Is there a permanent fix for the black screen?
[G Pad 8.3 Android Development] Fenderstratocaster87:
Hi guys, i would like to prove Red kernel. Now I have Euphoria rom, which one should I download? lollipop or kitkat?And which is the best version? thnk U
[G Pad 8.3 Android Development] ermacwins:
Lollipop since its a lollipop ROM. Let us know if there are any problems
[G Pad 8.3 Android Development] beroid:
New build is up.

https://www.androidfilehost.com/?fid=24052804347766940

Changelog
[G Pad 8.3 Android Development] Smittiegee19:
Is there any builds for the v410 with this ROM?
[G Pad 8.3 Android Development] edsmat:
Hello beroid

good job in building

I would like know when next build for V500?

sorry my bad english
[G Pad 8.3 Android Development] beroid:
New build is up.

Link removed, i found bug, new build will be uploaded soon
[G Pad 8.3 Android Development] beroid:
https://plus.google.com/110092571110743276292/posts/BgZ567uzMf8
[G Pad 8.3 Android Development] edsmat:
some fix the screen rotation ?
[G Pad 8.3 Android Development] Deltadroid:
The screen rotation problem is related to selinux blocking access to sensors. Setting the kernel to permissive mode is a workaround until the sepolicy is fixed.

This problem is only visible when coming from latest stock factory image.

If stock cm 12.1 is installed and then this rom is installed, the problem might also go away.
[G Pad 8.3 Android Development] beroid:
New build is up

https://www.androidfilehost.com/?fid=24052804347772385
[G Pad 8.3 Android Development] vicky-am:
Hi! Thanks for your rom!

I'm having troubles with sd, it's unmounted after a deepsleep.

No black screen issues. Thanks again.

Enviado desde mi LG-V500 mediante Tapatalk
[G Pad 8.3 Android Development] beroid:
New build is up!

https://www.androidfilehost.com/?fid=24052804347786448
[G Pad 8.3 Android Development] LenAsh:
Thread closed at OPs request
[General Topics] Alphadios:
Hi. Do you have any idea how can i install/move my apps to the external SD? When i try to move them from the app menu or with app2sd it only moves the apps to the internal sd. I bought today a 16 GB Kingmax.
[General Topics] Hovatek:
start by changing default install location to SD card then move apps by going to settings > apps
[Nexus 5 Q&A, Help & Troubleshooting] Rabbi Man:
hi,

so i have stupidly overwritten the efs files when restoring a nandroid image from one phone to another. i had a backup but somehow ended up deleting it. i have the sticker on the back with the imei however beleive i have no hope here.

What options do i have even if it means having to pay to get it repaired

thanks
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Send it to LG and pay for repair.
[Nexus 5 Q&A, Help & Troubleshooting] RolF2:
N5 imei repair is possible with Z3X LG_2-3G_Tool if you can find phone repair shop with such equipment ...

http://forum.gsmhosting.com/vbb/f45...ck-repair-imei-repair-3g-instruction-1877488/
[Nexus 5 Q&A, Help & Troubleshooting] Rabbi Man:
yeh i am definately thinking this will need to happen. Hopefully it doesnt cost too much.
[Nexus 5 Q&A, Help & Troubleshooting] Rabbi Man:
quick update: LG want to replace the motherboard so essentially pay for the whole phone again. Spoke to a friend with a samsung who had the same issue and he got the imei re-written for $40 by the samsung service centre. Are there any similar possibilities for LG
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Different company, will do things differently.
[Nexus 5 Q&A, Help & Troubleshooting] MrObvious:
Are you sure you didn't take a TWRP backup? Sometimes you might get lucky.