yashsingh1/xdaforums huggingface dataset:
[G Pad 8.3 Android Development] slebit:
I haven't really understood exactly how it does work. But you can see this part on yuga, and this part doesn't v500 have:

<!-- Hardware 'face' keys present on the device, stored as a bit field.
This integer should equal the sum of the corresponding value for each
of the following keys present:
1 - Home
2 - Back
4 - Menu
8 - Assistant (search)
16 - App switch
32 - Camera
For example, a device with Home, Back and Menu keys would set this
config to 7.
<integer name="config_deviceHardwareKeys">0</integer> -->

This is what is present in our device tree:

<integer name="config_deviceHardwareKeys">0</integer>

I have looked around in other device trees, and it's looking a bit different on other devices. I am not sure how it should be applied on our device... But I used that part on my previous post, and it's working. Hopefully it will work for you too.
[G Pad 8.3 Android Development] deepongi:
i edited my previous post, have a look :)
[G Pad 8.3 Android Development] slebit:
Awesome! I'm glad that it worked.
[G Pad 8.3 Android Development] Deltadroid:
The next build now has an option in the development settings to update the recovery. Has anyone tested the latest "Cyanogen Recovery" and can we turn off signature verification now?

Also, is that overlay fix going to be checked into CM?

Best regards.
[G Pad 8.3 Android Development] Jansxel:
Why is the latest is only 20+mb?
[G Pad 8.3 Android Development] Feed Me:
The size of build 20150207 is only about 20 MB. could you fix it [MENTION=1077833]infected_[/MENTION] ? :o

edit: sorry Jansxel was faster ;)
[G Pad 8.3 Android Development] :
That's the highly optimized lean version... :D
[G Pad 8.3 Android Development] deepongi:
extra extra slim edition .. :D

i've re-uploaded it at 10:33AM ..

regards.
[G Pad 8.3 Android Development] Katmeat:
I am so thankful for the new 2/07 upload, as it is running like a champ for me. Conversely, I had major problems with screen freezes and slow wake ups on the 2/03 and 2/05 versions, but those problems disappeared with this latest nightly.

Thanks, Infected!
[G Pad 8.3 Android Development] Deltadroid:
[MENTION=1077833]infected_[/MENTION]

Is this the patch that fixes the hardware overlay? I'm not sure why we would change it from 0 to 64?

android_device_lge_v500/overlay/frameworks/base/core/res/res/values/config.xml

--- android_device_lge_v500/overlay/frameworks/base/core/res/res/values/config.xml.orig	2015-02-08 14:39:46.988486502 +0100
+++ android_device_lge_v500/overlay/frameworks/base/core/res/res/values/config.xml	2015-02-08 14:40:02.876486489 +0100
@@ -19,7 +19,7 @@

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">

- <integer name="config_deviceHardwareKeys">0</integer>
+ <integer name="config_deviceHardwareKeys">64</integer>

<!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
autodetected from the Configuration. -->
[G Pad 8.3 Android Development] dabizb:
Hello, after every sucefussly update I have a twrp backup, I can see the 3gb files in my microsd card, but when I reboot the Gpad the backup is missing. Someone with this bug? Thanks.

Enviado desde mi LG-V500 mediante Tapatalk
[G Pad 8.3 Android Development] deepongi:
no, this patch i pushed to my github does:

https://github.com/infected-lp/andr...mmit/fbe648b5e4bc3efc280bf31225532e371702a99f

need to be 64 because we only have vol up / vol down hardware keys + power button. needs to be a sum of values, theres examples on the xml files.
[G Pad 8.3 Android Development] Deltadroid:
The patch i just posted looks exactly the same as yours. ;) I'm trying to push this patch into official cm12 builds.. Would it be possible that you could submit this?
[G Pad 8.3 Android Development] LeighR:
I still have to use SuperSU. CM superuser isn't working for me
[G Pad 8.3 Android Development] deepongi:
i used this tutorial before:

http://review.cyanogenmod.org/Documentation/user-upload.html

you upload :) carefull about the description on the commit, they are pesky about it.

ps: important info also here -> http://wiki.cyanogenmod.org/w/Doc:_using_gerrit
[G Pad 8.3 Android Development] Feed Me:
Did you enable root access in developer settings? ?
[G Pad 8.3 Android Development] LeighR:
Yes mate. Apps and ADB. No joy. But SuperSU works fine, so no drama
[G Pad 8.3 Android Development] Katmeat:
I, too would love to know if there is a way to increase the system partition size. I have searched the web for an answer to this with no luck.
[G Pad 8.3 Android Development] Deltadroid:
I really appreciate the help. I *finally* figured out the process after hours of reading and experimentation. The trick to submitting patches is getting "repo" to function correctly by creating a proper "./repo/local_manifests/local_manifests.xml". All I wanted to do was change one project without having to download everything. I think this is correct:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<remote name="cmhub" fetch="git://github.com/CyanogenMod/" review="review.cyanogenmod.com" />

<project path="device/lge/v500" name="android_device_lge_v500" remote="cmhub" />

</manifest>

Procedure:

repo init -u git://github.com/CyanogenMod/android.git -b cm-12.0
repo sync device/lge/v500
repo start overlay_fix device/lge/v500
cd device/lge/v500
<edit file>
git commit -a
repo upload device/lge/v500

The patch has been submitted to CM now.. so lets hope it gets accepted.

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

My description of the submission is:

Fix for missing custom navigation bar menu. The integer value of config_deviceHardwareKeys must be 64 due to the presence of the volume rocker.

I added Ricardo Cerqueira to review it.. I hope he is the right guy. It was my first time ;)
[G Pad 8.3 Android Development] annoyingduck:
Sweet, so this should hopefully get us our "buttons" section? My G3 has it...
[G Pad 8.3 Android Development] Deltadroid:
yes. I wanted it fixed on the nightly builds. Infected_ already has it patched in his tree.
[G Pad 8.3 Android Development] deepongi:
you got my +1 on the review of it already .. :)
[G Pad 8.3 Android Development] Deltadroid:
[MENTION=1077833]infected_[/MENTION] we must be thinking the same thing because that commit message was bugging me too. Lol.
[G Pad 8.3 Android Development] deepongi:
Yeah, looks nice now. Let's hope it get merged. You know who's the maintainer of v500?

Sent from my Xperia Z2
[G Pad 8.3 Android Development] Deltadroid:
I think it's Ricardo Cerqueira. I've been asking all the devs that I know to review it. We just need to get their attention. :)
[G Pad 8.3 Android Development] Deltadroid:
We did it. It's now merged. :)
[G Pad 8.3 Android Development] deepongi:
nice :)
[G Pad 8.3 Android Development] DonDizzurp:
Aren't the things you mentioned all a part of the kernel and not the ROM itself?

If we flash the official ROM and then flash a kernel that has -O3, SaberMod toolchain, etc... would it produce the same results?
[G Pad 8.3 Android Development] deepongi:
not quite, i also optimize ROM code, not only kernel code.. but sure, you can grab the boot.img compiled with sabermod, and flash it on a official build.
[G Pad 8.3 Android Development] DonDizzurp:
I only ask because I'd love an optimized kernel yet a conservative ROM.

I relate the standard toolchain to Debian (stable and secure). Whereas the newer 4.7 toolchains like Saber seem more like Fedora (bleeding edge, fast, yet not always stable)
[G Pad 8.3 Android Development] st@@tz:
I installed Rom from 11. and had a problem which was already solved for me in version from 9.

I lose Wi-Fi when the tab goes to sleep. I had it on every version and every aosp Rom since lollipop. Only on version from 9.2. Wi-Fi stays alive.

Gesendet von meinem LG-V500 mit Tapatalk
[G Pad 8.3 Android Development] zaf_4:
Sorry for the newbie question.

I have just bought LG G PAD 8.0 and i cant find anything about roms etc.

I managed root with PurpleDrake. Is anybody in mood for this one tablet?

I dont think that's safe using CM12 for my tablet? Am i right?

Please be kind!

Thanks
[G Pad 8.3 Android Development] uzi2:
You are in the wrong thread. Your device is lumped together with the Gpad 10.1 on XDA.

You can find it here...
[G Pad 8.3 Android Development] kokotron:
Has anyone found a way/workaround/hack to make Bluetooth work? I still can't even discover my speaker, my phone or my laptop.
[G Pad 8.3 Android Development] LeighR:
Any chance you can return it? The 8.3 is vastly superior
[G Pad 8.3 Android Development] reef2009:
Hi guys,

I got a md5 error when downloading the latest nightly from (20150215).

Ciao Reef
[G Pad 8.3 Android Development] Deltadroid:
Official has the same problem. Wait for next release.
[G Pad 8.3 Android Development] DonDizzurp:
Can anyone with Chromecast tell me if the built-in 'cast screen' option shows your Chromecast?

It doesn't show up for me with the built-in screen casting but it does work with apps.
[G Pad 8.3 Android Development] Darkmasterhk:
same behavior, here.

apps work, screencast not.
[G Pad 8.3 Android Development] zebinadams:
AFAIK that isn't for Chromecast and only supports miricast. You should be able to cast the screen directly from the Chromecast app though. It doesn't make any sense why it isn't supported natively, but it isn't.
[G Pad 8.3 Android Development] DonDizzurp:
It works on my other Lollipop devices so it definitely has Chromecast support.

It just doesn't work with this tablet.
[G Pad 8.3 Android Development] EnergyUK:
I know it's cheeky to ask, but I think I'm getting myself confused.

Can people give me just the bullet points to get my v500 from the latest stock update, rooted (running f.lux) to running this Rom?

I think I've got the general gist but keep reading things about needing to be on certain roms otherwise there's screen problems, and lost on what recovery I need. Don't need to be too in-depth, jsut something to push me in the right direction!
[G Pad 8.3 Android Development] Deltadroid:
It probably works with stock nexus ROMs, but not aosp based ROMs.

---------- Post added at 12:39 AM ---------- Previous post was at 12:34 AM ----------

After rooting, use Flashify to install TWRP 2.8.5.0 for v500 (found in this forum). Next, follow instructions on op to install Rom and gapps. Done.
[G Pad 8.3 Android Development] iko11:
[MENTION=1077833]infected_[/MENTION] Hello my friend, I want to use your Kernel comes with the Rom but I need FauxSound app to work so you should implement patches, could you do this for me and the other people who wants use that app :)

If your favorite kernel DOES NOT support this option, Simply Ask your developers to include these patches:

APQ8064:

https://github.com/faux123/mako/commit/911a80eb10df7b1f0c120ae29137e1b682f8ab7e (Nexus 4 / Optimus G)

https://github.com/faux123/htc-m7/commit/2a583fd18361f4988a266cef99ef79a83406861b (HTC One)

MSM8960:

https://github.com/faux123/SGH-Krait/commit/42f9ed38af07ace0d78f120d6eac09dfffed034d (Samsung / HTC)

https://github.com/faux123/SGH-Krait/commit/3cf48506b0d3f73cc7e7b54d4af32745dc566110

Version 2.1 Update:

https://github.com/faux123/htc-m7/commit/acff15670bae39452662c641f46cd65ab670b927 (HTC One)

to their kernels!
[G Pad 8.3 Android Development] Deltadroid:
Does anyone have trouble streaming Netflix?

Here is a flashable zip file that will patch the video xml to disable h264 adaptive playback.

cm-12-h264-adaptive-playback-2-signed.zip

#!/tmp/busybox sh
/tmp/busybox sed -i '/OMX.google.h264.decoder/{n;n;n;n;n;n;n;/adaptive-playback/d;}' /system/etc/media_codecs_google_video.xml
[G Pad 8.3 Android Development] EnergyUK:
Struggled a bit, was on 4.4.2 and it was giving me problems from installing a custom recovery. Took a bit of work but got it back to 4.2.2 and was then able to manually install TWRP, then it was pretty much smooth sailing.

Have to say I love this Rom. Even some games that didn't work before seem to run smoothly (such as sonic 2).
[G Pad 8.3 Android Development] TheTeek:
Favorite Kernel

Hi Guys, I'm still installing Mani Kernel as my default kernel on all supported ROM's.

From CM11 to CM12 released by infected, I've used Mani kernel to fix the micro stutters which came with the default kernel.

ckret (MANI kernel developer) seems to develop on a regular time new fixes into the kernel, not always with success, but ckret fixes the issues very fast.

But besides the Stutters in sound and micro freezes I do not need a different Kernel, or do I?

Do you have recommendations or preferred featured introduced in other kernels better then the default CM12 kernel?

Or do you prefer a typical Kernel with CM12 and why?
[G Pad 8.3 Android Development] LeighR:
I've been using Red Kernel but I think I might switch
[G Pad 8.3 Android Development] DSC05:
I don't have micro stutters on stock kernel since cm12 anymore
[G Pad 8.3 Android Development] Deltadroid:
Same here.
[G Pad 8.3 Android Development] Cal:
Most of us experiment with the 2 kernels that most use. Red or Mani, & the different versions. Try & find the one that gives the best overall results. I've found Red Kernel 15 does the best overall 'job' for my needs. That is the 'game' we all are forced to play with betas. There is no *one works for all*. Beta is always like that...at least for me.
[G Pad 8.3 Android Development] samuraix21:
Wifi working for anyone?

I was going through setup and for some reason I couldn't connect to the wifi. I thought maybe it'll start working when I got out of setup but same deal. It saves the information to connect to my router and is able to search other wifi connections... but can't connect at all. There's a ! symbol stating something is wrong, just don't know what it is.
[G Pad 8.3 Android Development] deepongi:
Added a poll to the thread.

Please cast your vote/preference.

regards.
[G Pad 8.3 Android Development] Deltadroid:
In settings -> battery, can battery saver be enabled on this Rom? The option is missing on the official cm12 Rom, but it can be enabled by searching for "battery saver" in settings menu.

I think there is a overlay bug preventing the option to be directly visible on the main battery menu.
[G Pad 8.3 Android Development] Deltadroid:
When a OTG device is mounted, this patch should make the device visible under the storage options.

Please give me feedback on this and if it works then I will submit the patch to gerrit.

This patch will execute the following command and append a line to your build.prop when flashed in your custom recovery.

#!/tmp/busybox sh
/tmp/busybox echo 'persist.sys.isUsbOtgEnabled=true' >> /system/build.prop

cm-12-enable-usb-otg-options-signed.zip
[G Pad 8.3 Android Development] Deltadroid:
[MENTION=1077833]infected_[/MENTION] I just submitted a new patch to enable the USB OTG storage options. Could you verify? :)

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

Edit:

I'd like to ask you also if you could help verify this commit so that the battery saver options are available in the battery settings.

http://review.cyanogenmod.org/#/c/90144/
[G Pad 8.3 Android Development] deepongi:
done. todays build already have the two commits :)
[G Pad 8.3 Android Development] deepongi:
[MENTION=5227588]Deltadroid[/MENTION] can you confirm that QS tile "battery saver" isnt working? i can enable it manually on battery options, but not with the QS tile.
[G Pad 8.3 Android Development] Deltadroid:
Yes, confirmed. Same behaviour here.
[G Pad 8.3 Android Development] deepongi:
and OTG isnt working either.

just tested now with three different pens; ntfs, ext4 and fat32.

options stay greyed out on "storage", and not even with usb stickmount from chainfire, we can mount it.

ps: our kernel needs to support this, and i think it doesnt (?) for now..
[G Pad 8.3 Android Development] Deltadroid:
Someone just mentioned that it worked with actual usb dives but not with sdcards.
[G Pad 8.3 Android Development] deepongi:
i didnt tried a sdcard, i tried 3 usb pens, with 3 different FS.

but i never used OTG before, dunno if the cable i got works ok, despite its the same a friend uses on its N7.
[G Pad 8.3 Android Development] uzi2:
My USB drive has worked with this build before as well as an SD card in USB reader. It works fine, but doesn't show up in Settings->System->Storage. The only notification you get is the the one to say it has been removed unexpectedly.

I will try the latest build and report back.
[G Pad 8.3 Android Development] ThunderBolt_BR:
Back cam

Hi [MENTION=1077833]infected_[/MENTION],

I am wondering if you and [MENTION=5227588]Deltadroid[/MENTION] can help on the back cam fix that [MENTION=2981524]ckret[/MENTION] started to look into a while ago. According to him, if the right binaries are added to the kernel, all that should be left for the ov5963's back cam module to work are SELinux permissions.

I tested ckret's kernel from this topic but couldn't get a log: the kernel had the logging disabled. However, i could check that the module had been successfully loaded with ckret's kernel.

As I have a V500 with the ov5693 module I would be glad to test a CM build with the modules added and logging enabled, but I am too noob to do it by my self. If you could build a CM version with that I would flash and test it in no time.

Thanks in advance!
[G Pad 8.3 Android Development] uzi2:
USB OTG - Build 0304

All is working correctly with USB being shown in Settings->System->Storage complete with option to unmount (missing from SD card options)

Confirmed also working with SD card (reader connected via USB OTG)

I am using standard kernel and supersu

[MENTION=5227588]Deltadroid[/MENTION] - is there a similar fix to provide the correct options for SD card?
[G Pad 8.3 Android Development] deepongi:
Dunno why it doesn't recognise my USB sticks.. I'll have to test better.

[MENTION=5227588]Deltadroid[/MENTION] you actually tested OTG on your pad?

Sent from my Xperia Z2
[G Pad 8.3 Android Development] Deltadroid:
No, I don't have an otg cable to test. But, I posted that patch on the other thread and it was verified to work for specific usb devices by a few people.

Also, if the usb storage options are not hidden then it should help with testing custom kernels. I say we ship it and write up another ticket for mounting issues with specific devices. It would probably be solved faster that way.

---------- Post added at 07:07 PM ---------- Previous post was at 07:01 PM ----------

The patch I posted basically just unhides the usb storage options in the settings. It's not specific to which usb device. Some mounting problems with certain usb devices have been reported and it probably has to do with using the correct otg cable.
[G Pad 8.3 Android Development] deepongi:
i cant get OTG to work either with a sdcard reader.

and chainfire's usb otg checker says kernel doesnt has support for it, so i am confused... :eek:
[G Pad 8.3 Android Development] Deltadroid:
The otg support for this device was probably ported directly from the stock Rom and the stock Rom probably has limited device support. I'm curious which otg devices work and which ones don't.
[G Pad 8.3 Android Development] deepongi:
the users that reported the OTG working, which kernel are they using with CM12? stock kernel?
[G Pad 8.3 Android Development] Deltadroid:
I'm assuming they used stock kernel. [MENTION=5007274]Hibble[/MENTION]
[G Pad 8.3 Android Development] uzi2:
OK, so is it possible to patch the SD Card options so it will show Unmount. At present the only option is Erase.

---------- Post added at 07:20 PM ---------- Previous post was at 07:18 PM ----------

I haven't found a device that doesn't work... using stock kernel + supersu
[G Pad 8.3 Android Development] deepongi:
can you show the active USB OTG options in "storage" with a device conencted? wanna check something, i think its my cable thats busted.
[G Pad 8.3 Android Development] Deltadroid:
uzi2, I think the "sdcard unmount/mount button" feature would need to be added into the code, but, it would be a good feature request. It doesn't sound that difficult but some devices might not be hot swappable.

---------- Post added at 09:08 PM ---------- Previous post was at 09:06 PM ----------

Can we change that +1 -1 ... +1?
[G Pad 8.3 Android Development] deepongi:
i wont make a +1 review if i havent seen it working... still not sure if our kernel (CM) has OTG working out-of-the-box.

if [MENTION=1016432]uzi2[/MENTION] shows me the screens with a device connected and working, ill approve the review.
[G Pad 8.3 Android Development] uzi2:
Is this what you need?

[IMG="usb"]https://dl.dropboxusercontent.com/u/28096098/Screenshot_2015-03-04-22-08-01sm.png[/IMG]

The patch adds this notification. OTG USB was fully functional before. Now I can unmount the device to avoid the nagging message.

Note there is no such option to unmount the SD card.
[G Pad 8.3 Android Development] deepongi:
thanks. added +1 to the review already.
[G Pad 8.3 Android Development] scaramonga:
Always wondered why I could never get OTG to work. I have 4 USB drives and none of them work, apart from 1, which will randomly show up after rebooting several times, and getting lucky. I just gave up on it long ago, and use sd card for shifting files if I need to.
[G Pad 8.3 Android Development] uzi2:
It may be the controller chip used in the device. Anything Sandisk will usually work,but I have a couple of non-branded devices that also work well. Thje only thing I have that is non-standard to this Rom is supersu which may be allowing access where superuser doesn't (just a theory)...
[G Pad 8.3 Android Development] Hibble:
Yes, all stock.
[G Pad 8.3 Android Development] aidfarh:
To add the Unmount option for sdcard, I think this needs to be added to overlay/frameworks/base/core/res/res/values/config.xml

<bool name="config_batterySdCardAccessibility">true</bool>

[MENTION=1077833]infected_[/MENTION], maybe you can add this into the device tree.

Edit: [MENTION=5227588]Deltadroid[/MENTION] please also take note.
[G Pad 8.3 Android Development] Deltadroid:
[MENTION=1077833]infected_[/MENTION] [MENTION=2961094]aidfarh[/MENTION] I've submitted a patch to add the sdcard unmount storage option. Please take a look. Thanks!

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

Also, please see

http://review.cyanogenmod.org/#/c/90716/
[G Pad 8.3 Android Development] ledabe974:
DT2W NOK

Hi,

On the last build (2015/03/07), DT2W doesn't work.

The option is ON but still not work even after reboot.

BTW, your work is awesome.
[G Pad 8.3 Android Development] deepongi:
20150307 already has those commits, and reviewed also :)

Can some confirm the dt2w issue?

Sent from my Xperia Z2
[G Pad 8.3 Android Development] Cal:
Don't know that last term - but the commits in cmNightly-Infected-3-7-2015 surely made a lot of improvement for us Infect's nightly dirty flashers, or at least this one. Previous nightly would give me some error code, and I'd lose root.

So whatever was added worked great here. Thanks for everything, both of you! Now all working that I use...an I'm very minimal.

Cal
[G Pad 8.3 Android Development] uzi2:
dt2w not working here (20150307)
[G Pad 8.3 Android Development] Cal:
I'm too lazy to google, I guess! To wake one has to double-tap about 2 inches down & 1 inch off center *exactly* , or it won't work. If one turns both ttwake/t2close off...on my LG Tab, the t2wk will turn back on intermittently...sometime on/sometime off. But my t2off, or whatever that's called, will always stay off.

Edit:

Now that I've installed the new gapps by Deltandroid in the procedure he described, even turning the double tap to wake, and to sleep, are now staying off for me. Those 2 seem to be memory hogs on my tablet.
[G Pad 8.3 Android Development] Deltadroid:
This should fix the dt2w issue

http://review.cyanogenmod.org/#/c/90951/
[G Pad 8.3 Android Development] lallolu:
DELETED
[G Pad 8.3 Android Development] deepongi:
not sure.. dt2w is affecting several devices, per ex; yuga and sirius.

ill try building with it on 20150311.

edit: nevermind.. the commit was merged yesterday, and dt2w its fixed on 20150310, just flashed the build now.