yashsingh1/xdaforums huggingface dataset:
[LG Optimus Black] knzo:
They are all yours.

By the way, dropbox seems to be having issues and we can't see the screenshot. Perhaps attach it to the post? (edit > advanced).
[LG Optimus Black] interdan:
I will follow your suggestion ! :D

Installed without problems.
[LG Optimus Black] ivanlau:
i have just installed.

trying the new features now:p
[LG Optimus Black] interdan:
All the buttons do not work...I can't unlock or turn back

flashed v 10 kernel but I still have the same problem, return at nightly#14 and i hope to solve
[LG Optimus Black] ivanlau:
the g button is having some problems.:o

It can use as the power button only on the homescreen.

I mean, for example, if i am surfing the net and wanna lock the screen temporarily.

It can lock, but unable to turn on the screen again.(the original power button works)
[LG Optimus Black] interdan:
Installed v11 kernel in 7.2-RC0 and nightly #14, the buttons don't work ( power off, home and turn back)

in compensation e-recovery works great (g button too).
[LG Optimus Black] knzo:
While Aprold doesn't see what the problem is (I can't without the device), here's a temporary solution:

http://www.multiupload.com/JFPV1NA9WJ

If you don't have buttons working, flash that.

But be advised, G key feature will not work after this.
[LG Optimus Black] dharmabm:
menu, home, back and search buttons are not working for me after flashing v11, i am trying the patch now and will report shortly
[LG Optimus Black] gabwerkz:
RC0 (clean install) + Nova v11 (aprold's, no patch).

Once Nova v11 was flashed, Mod version became CyanogenMod-7-11162011-NIGHTLY-Optimusblack. It was overlayed by the build.prop included in the Nova v11 zip. It has a build.prop.

buttons all working

haven't tested features
[LG Optimus Black] dharmabm:
hmmm, after flashing the patch all buttons are working, but as gabwerkz said above, my mod is now 11162011-nightly, which is NOT my current rom. bizarro world?
[LG Optimus Black] gabwerkz:
Check the Nova v11 zip. It has a build.prop. i don't know if it was a mistake that it was included, but it overlayed it.

EDIT: This was included. No biggie I guess just a wrong Mod Version input, and 11162001 was the base prop.

# Nova kernel > properties
dalvik.vm.heapsize=48m
windowsmgr.max_events_per_sec=150
wifi.supplicant_scan_interval=180
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
debug.performance.tuning=1
video.accelerate.hw=1
ro.kernel.android.checkjni=0
dalvik.vm.verify-bytecode = false
dalvik.vm.dexopt-flags=v=n,o=v
[LG Optimus Black] axpira:
For me it's working very well v11, the G button is working!
[LG Optimus Black] interdan:
I have a doubt : " exactly what you mean

clean install

" ... Perhaps I do something wrong :confused:

with or without patch?

thx
[LG Optimus Black] gabwerkz:
A clean install (wipe data, cache, dalvik cache) considering you have backups of your apps (Titanium backup) then without leaving CWM after wiping flash the ROM and reboot. It was crucial for me with Nova v11 many additions. I'd like to begin from scratch. Sometimes flashing over new nightlies or this RC0 can cause problems with too many overlaying of ROMs. It happened to me once (media scanning) picture won't load albums, Mp3's won't load as well and a clean install solved it.
[LG Optimus Black] interdan:
Well the problem is the dalvik cache than I did not :)

with only wipe data,cache I have problems with buttons, anyway i'll wait developments to retry.
[LG Optimus Black] agent205:
I think i know how to solve the button problem (still, i think)

When the first time flashing this kernel, assign the G button to ASAP (i assigned it to power),then reboot

I'm posting this from my phone right now and no problem till now (at least for me)

Still testing it

Oh yeah,i flashed it over RC0 from aprold's link
[LG Optimus Black] dharmabm:
Dalvic cache is automatically wiped with this flash, so that is not your problem
[LG Optimus Black] gabwerkz:
I wiped everything before flashing RC0. And not before flashing Nova v11. I just flashed the kernel without wiping anything, just the normal install zip from SD. Any nightly and the RC0 builds doesn't wipe dalvic or caches. Unless you include it in your update script. What I meant to say is before flashing ROM's, and not a kernel.
[LG Optimus Black] dharmabm:
unless you did something to override it, knzo/aprold kernels wipe dalvic by default, and i think even if you de-select it in rommanager, it is wiped anyway during the install. so i suspect you wiped dalvic whether you meant to or not.
[LG Optimus Black] gabwerkz:
I hope you read my previous post. "Install zip from SD" doesn't show in ROM Manager. I flashed in CWM. The kernel may wipe the dalvik, but my point is if you flashed RC0 on top of any Nightly and you did the same with previous Nightlies, chances are it overlays too much. Upon flashing nova kernels, it may wipie dalvik, but it only injects what you have. So the previous non wipe will only be injected + the tweaks + building of the new dalvik.
[LG Optimus Black] gabwerkz:
Reproducing the problem, this string of code didn't take effect.

<string name="gkey">POWER WAKE</string>

Upon reboot, Key 95 has no assignment (unless selected in Nova settings).
[LG Optimus Black] aprold:
Thanks for pointing it out and sorry about the trouble. This was literally the last minute addition and I did not notice that there is a property like ro.modversion. Including build.prop allowed to apply few settings directly which would've otherwise required extra boot after first flashing. I will have to test if including these inside /data/local.prop will do. Then there is no need to include whole build.prop

Meanwhile, please do not pay attention to the version string.
[LG Optimus Black] aprold:
Thanks for letting me know! I would not have known this otherwise. Included wrong link at first. Fixed it now.
[LG Optimus Black] aprold:
The logic behind it is this:

1) Nova Settings stores preferences inside /data/data/com.aprold.nova/shared_prefs/com.aprold.nova_preferences.xml

2) 07Nova init.d script parses this file to determine which settings need applying

In case of G key assignment init.d script replaces the key 95 value with the value stored in xml file. I still don't know what might be the reason behind buttons not working but applying the key fix patch that Knzo posted will replace the modified qwerty.kl with the original. As there is no key 95 definition inside the original file then there is nothing to replace for init.d script and chosen G key assignments are not applied.

Perhaps this is not the ideal solution but I must confess that I encountered plenty of anomalies when trying to get G key working and this was the most reliable solution.

So if any of you has trouble with buttons then at first check that /data/data/com.aprold.nova/shared_prefs/com.aprold.nova_preferences.xml has the chosen value stored and then verify that init.d script has updated /system/usr/keylayout/qwerty.kl with this new value for key 95.
[LG Optimus Black] gabwerkz:
I think the problem lies when upon reboot or second reboot, G-key is unassigned. I don't know why key 95 being unassigned causes lock ups of buttons and soft keys since CM7 does't have Key 95.

During lock up, what you can do since you can scroll is open Nova Settings, on the third menu (Boot Tweaks) where the G-key configs, (you'll see none selected), select POWER, remove battery to reboot (cause no keys are functioning). At boot, you'll have your keys back.

In contrast, selecting the first option in G-key menu (unassigned) and reboot will result in locking up of keys again.
[LG Optimus Black] zogoibi:
Here I've done a clean install, flashed RC0, boot, reboot, flashed Nova V11, assign G key (to power), and found no problems. All buttons working, PBR also.

Except, of course, that G key won't unlock the screen, as of lately. Would you be able to include this in next releases, Aprold? I miss it so much since Nova ROM! :)

---------- Post added at 07:36 AM ---------- Previous post was at 07:29 AM ----------

Unfortunately, that's how it is for the moment being, Ivanlau. The "wake up screen" feature for G button is not implemented. So, ask for it as I've done. The more we are, the higher priority (I reckon) it will get for future releases! :)
[LG Optimus Black] TheGripper:
What are u talking about...u can open the screen with G button. Works perfectly for me
[LG Optimus Black] lvlouro:
Well you can count me as one more that can't use g key to wake up the phone...
[LG Optimus Black] aprold:
Gabwerkz, thank you for doing the hard work of testing for me! :)

It turned out that kl file parser did not like empty key 95 assignment there. Probably ended up parsing this file erroneously because of that. Anyway, I rewrote the init.d G key assignment part and v11a is available in the first page for download.

Concerning the problem that G key is not waking up the phone when it's used as POWER WAKE I have to regretfully say that I wasn't able to replicate it. The phone wakes up as if power key itself was pressed all the time. These have to be CM version differences that matter here. If anyone is encountering this problem please kindly try to capture any relevant information to logcat. Remember to enable logger module first.
[LG Optimus Black] lvlouro:
I installed the kang you linked in a previous post an then nova 11

No data wipe though but I believe others with this problem did wipe data
[LG Optimus Black] Aioross:
Hi.

I've flashed a clean install of RC0 and nova 11a. I lost GSM signal. The phone doesn't register on Mobile Net.

Someone knows why?
[LG Optimus Black] antonio1475:
Just after flashing v11, I can't deactivate airplane mode. Already rebooted 5 times :confused:

I'm freaking out :eek:
[LG Optimus Black] aprold:
Thanks for reporting! You'll learn something new every day. Today I learned that commenting out ro.modversion from build.prop renders phone unusable. Sorry for not noticing right away. Updated download link again.
[LG Optimus Black] Aioross:
thanks aprold

---------- Post added at 12:19 PM ---------- Previous post was at 12:07 PM ----------

OK!!

Nova 11b + RC0

GSM working now.

Thanks.
[LG Optimus Black] zogoibi:
"It works perfectly for me ==> You don't know what you're talking about"

That's what I call a flawless logic.

So, does this mean that we already have the feature but I'm not enjoying it??? Dammit! I'll try to produce some information asap, though hung me if I know how to get a log of a button-press event that is being ignored by the system... :confused:

---------- Post added at 02:53 PM ---------- Previous post was at 02:35 PM ----------

Well, this is the best I've been able to do, which I'm afraid amounts to nothing. I've enabled the logger module, installed alogcat, and got three different logs for three different scenarios regarding switching on/off the screen.

Log nr 1: switching screen off and on with power button:

http://pastebin.com/zEkRnQRA

Log nr 2: switching screen off with G button, and on with power button:

http://pastebin.com/F3TumQhs

Log nr 3: switching screen off with G button, trying (unsuccessfully) to switch it on with G button, finally switching it on with power button:

http://pastebin.com/HxP9Uxf1

As you see, no substantial differences, which was -on the other hand- normal to expect, because ignored events produce, I reckon, no logs.

But I'm happy to try any other way of getting a more useful log, if I'm told how to.
[LG Optimus Black] aprold:
After testing a little more I discovered that G key wakes up the phone only if the phone has USB cable connected. It will not wake up if it's unplugged. In this case it looks like the phone enters some deeper sleep state which can not be changed with G key press any more. Feels like the key codes are not only configured through keylayout file and power button gets some kind of different attention from the underlying code. Will investigate it tonight.
[LG Optimus Black] zogoibi:
Oh, I already knew that! Sorry for not mentioning it. Sure: when you have the phone plugged (or even when, unplugged, some program keeps the CPU active) then G works both ways.

Thanks a lot for taking a look to it. Weeks ago, someone (don't remember if it was Knzo, or Arcee in Rootzwiki) mentioned something about "making G button genereate system calls, or system requests" for it to work both ways always (if this is of any help to you).
[LG Optimus Black] fatcobrah:
guys anybody noticed that the phone keeps mute while headset is connected (during calls ) after applying nova 11 and 11b ?
[LG Optimus Black] Aioross:
My G key can wake up the device even when unplugged.
[LG Optimus Black] antonio1475:
Thanks. Just flashed v11b and can disable airplane mode.

:)
[LG Optimus Black] zogoibi:
Regarding sound bug

Hmm... I'm afraid I've noticed a lot instances where the phone keeps mute with this ROM, almost to the point that I can't very much rely on the phone. I'm missing around 60% of the incoming calls because randomly (or I'd rather say "regularly") the phone doesn't ring. Or it rings but then I can't hear the other's voice. Or they can't hear mine. And it also happens, sometimes, when I make a call...

Does anyone know of a good, reliable (however annoying) workaround for the sound issue, meanwhilie it gets fixed?
[LG Optimus Black] redy2006:
Can you reproduce with logs, and share it to CM thread?

Thanks.

--post added--

I'm still learning to debugging the audio problem. can you reproduce with logs, and share it to CM thread?

Thanks.
[LG Optimus Black] zogoibi:
Really? Perhaps you can try this: go to your downloaded applications, force close them all, then switch off your display, wait for fifteen seconds, try to wake it up with G key. Does it still work?

-------------------------------

Oh!, this is the part of this forum's posts that I love the better. It provides so much information! :p

---------- Post added at 05:44 PM ---------- Previous post was at 05:38 PM ----------

That's great news! I'd love to reproduce, but, honestly, the behaviour is soooo random (and also I don't have another phone to call myself from) that I'd need to upload massive, non-filtered, useless logcats. But certainly I'll do it if I find some "pattern" in the bug.
[LG Optimus Black] Aioross:
Ok zogoibi You have the reason. If i wait G doesn' work.
[LG Optimus Black] redy2006:
Have you seen my logs at CM thread? because we had the same problems. What's happening is when we make/answer call, the ringtone will be muted (but it's randomly). But if you trying to reboot, then call the phone, the ringtone will be played.. and the process goes repeat, after make/answer a call, the ringtone's gone..

Lets move on to discuss at CM thread, this thread is personally for Nova-kernel development.. :)
[LG Optimus Black] Felsar:
so... with all this v11 v11a v11b... which one to download O_o? honestly didn't understand, I read this thread daily [so don't need to "look back a few pages" thing] but I got confused with all that "G key" thing and dif versions of kernel...
[LG Optimus Black] aprold:
There are no download links for v11 and v11a any more. So you have only one option - download the latest. As there was no new functionality added but only bugs fixed then I decided to leave the version number the same. Otherwise I'll wake up some day and notice that two digits for version number is not enough any more ;)
[LG Optimus Black] Felsar:
Ok thnx Aprold [and knzo too] haven't seen 1st page, my bad :p

will test it right away, keep the good efforts
[LG Optimus Black] timvdhoorn:
1. i am on my phone little surfing on internet over wifi

2. i put the phone to sleep(click power button once)

3. 2 hours later i put it out sleep and wifi has disconnected and when i try to open wifi settings it won't open and must do an reboot before wifi can work again.. someone know how to fix?

(I already posted this in: http://xdaforums.com/showthread.php?t=1241460)
[LG Optimus Black] agent205:
is v11b really fix the "signal lost when surfing" problem ?

coz it's start to getting on my nerve

oh btw,i'm using the first v11, and wanna say thanks and nice hard work for you two (aprold and knzo) for the battery stuff

it seems much.. much.. much.. (echoing) better than before :D

playing music for an hour only waste about 6-8% (usually, it's 18%)

and when idle, i think it's not wasting anything (7 hours sleeping, and i think it's 31%, wake, 30% :D ) if i'm not mistaken

CMIIW and best Regards
[LG Optimus Black] lesp4ul:
Nope my signal is still died randomly when using 3G.
[LG Optimus Black] ogremount:
Cant seem to make the gkey remaping work. It always goes back to Power. Any clues?
[LG Optimus Black] aprold:
Please check the following:

1) Are the preferences stored by Nova Settings application? If you close the settings app and then open it again without rebooting are the chosen values there or already lost? You can also check if the file /data/data/com.aprold.nova/shared_prefs/com.aprold.nova_preferences.xml exists and has the correct values in it. Proceed with #2 if everything is in order.

2) Is the 07Nova init.d script getting run? Check the log file at /data/nova/nova.log and see if the timestamp corresponds to the moment of reboot. There has to be a line containing 'Setting G key to <your chosen value>' in it as well. Proceed with #3 if everything is in order.

3) Check the contents of /usr/keylayout/qwerty.kl and see if there is a line containing 'key 95 <your chosen value>' in it.

If all these check out then I don't see a reason for it not working properly. If not then please tell what's different in your case.

EDIT: Got a PM from Proche72

Thanks! It looks like the preferences are stored in different location then and init.d script reads the original which never changes. Please browse around a little and see if you can find the new xml file somewhere else. Or you can simply do find /data -name *.xml | grep aprold from terminal or ADB shell.

TIA!
[LG Optimus Black] agent205:
owh,damn

btw,anyone having some problem with wifi-scanning even when the wifi is off?

it happened again on me :(
[LG Optimus Black] Proche72:
terminal found this: /data/data/com.aprold.nova/shared_prefs/com.aprold.nova_preferences.xml
[LG Optimus Black] aprold:
OK, let me get this straight. This file is the preferences file that init.d script reads as well. This is the default path for shared preferences. You said that this preferences file is unchanged. And it looks like you didn't find any other xml files either which I presumed might have been stored somewhere else. This can only mean that somehow this file is off limits for settings app. What permissions do you see there for this file?
[LG Optimus Black] Proche72:
Read - user, group, others

Write - user
[LG Optimus Black] lvlouro:
After installing nova kernel I applied the tweak of moving dalvik to cache rebooted and realized I had "lost" a bunch of apps.

I solved this by going to recovery and wiping dalvik and cache, after reboot all my apps were back. Just thought I should share this if it should happen to anyone else.

I'm however back on stock kernel... Yesterday I got stuck at 1GHz, the phone started to heat up and every thing was tooooooooooo slow rebooted but after a while the slowness came back...

Note: I'm not on a clean install.
[LG Optimus Black] gabwerkz:
Open the xml, you'll find something like this. Gkey should be assigned whatever you chose. In this case I'm giving you an example it was assigned to camera.

<?xml version='1.0' encoding='utf-8' standalone='yes' ?>

<map>

<boolean name="dvfs" value="false" />

<boolean name="writeback" value="true" />

<string name="gkey">CAMERA</string>

<boolean name="3gboost" value="true" />

<boolean name="tun" value="true" />

<boolean name="sync" value="true" />

<boolean name="cifs" value="true" />

<boolean name="nfs" value="true" />

<boolean name="logger" value="false" />

<boolean name="zipalign" value="true" />

<boolean name="dalvik" value="false" />

<boolean name="defrag" value="false" />

<boolean name="quadrant" value="false" />

</map>

Try this:

1.Open Nova settings

2.Remap the key by assigning camera (example)

3.Reboot

4.Now long press the G-key, what does it do?

In addition:

If you are on the camera app, press menu (soft key) > Advanced options > Asign Volume Up/Down (check) so they can snap a photo upon pressing (useful when taker is behind the screen).
[LG Optimus Black] ogremount:
Changed properties and now the rest of tweaks seem to work.

G button saved position to Camera but works as Power. Verry strange.
[LG Optimus Black] gabwerkz:
Did you reboot after changing the key? Please remember that under Nova Settings, "Boot tweaks" needs reboot as stated on its info.
[LG Optimus Black] ogremount:
Few times. No efect :(
[LG Optimus Black] gabwerkz:
I see. Mine is assigned to camera. Works well. Assign it on Nova settings, don’t edit the xml. If you did, you should save it and reboot. Camera is via via long press of gkey.
[LG Optimus Black] Proche72:
Still not work. After reboot the setting is back to power.
[LG Optimus Black] Felsar:
It's the same for me, but it only turns off screen and don't wake it up :confused:
[LG Optimus Black] Thes1ev:
Same for me - I can turn off screen but 'wake' doesn't work.

There is no line line containing 'key 95 <xyz>' for me in /usr/keylayout/qwerty.kl.

68 and next is 100.

My /data/ folder is empty.

ps. I'm on last redy2006 version - cm720-RC0-P970-KANG-20111210.zip
[LG Optimus Black] purefunk:
May I know WHY once the kernel is applied the baseband version disappeared and I don't have any network connection?

Thanks!
[LG Optimus Black] aprold:
Nova kernel updated to version v11c

I modified G key assignment to work with redy2006 CM builds and updated Nova Settings app. Download link updated in the first page. Hope this solves the troubles with G key for at least some of you. Still haven't found a solution for G key wake up issue. To be honest I haven't even had much time to look for it. I'm afraid that Power key is a little bit different in a sense that it's hardware wired to wake up the phone from deeper sleep states and other keys are not. I hope I'm wrong and this can still be solved.
[LG Optimus Black] aprold:
Which kernel version? This unfortunate network bug was introduced in v11a and was fixed in v11b.
[LG Optimus Black] redy2006:
My build doesn't include any customized kernel, still stock CM. I just include file (taken from stock Froyo ROM) TWL4030_Keypad.kcm.bin to /system/usr/keychars and TWL4030_Keypad.kl in /usr/share/keylayout with change key 95 POWER WAKE_DROPPED. It works for sleep, but wake up sometimes (occasionally).

Perhaps it is inside the kernel? I haven't touch the kernel source yet.. :D

-CMIIW-
[LG Optimus Black] dxdiag32:
that's the same file i think
[LG Optimus Black] ogremount:
Sorted now!!! G button saves and works, shame it only invokes camera and dosnt take picture but it is still good for me :)
[LG Optimus Black] purefunk:
Thanks, now it works finally! Now I have the CPU always at 1Ghz :-( it doesn't matter wich frepuency I set in setcpu :-\

Any suggestion? My battery is draining very fast!

Thanks
[LG Optimus Black] aprold:
This is a side effect of enabling LG DVFS. Please check that it's disabled in Nova Settings.
[LG Optimus Black] purefunk:
You're so very kind! Is it normal that CPU switches between min and max without any intermediate steps?

Thank-you very much for your support!

C
[LG Optimus Black] zogoibi:
Aprold: maybe I'm saying something stupid, but... why don't you ask Knzo? In his Nova ROM, once you assigned POWER_WAKE to G button, it worked perfectly both ways (sleep and wake). If he managed to do it for Nova ROM, he might know how to do it for CM7 as well...
[LG Optimus Black] kokocf:
For me it's working G-key as a power button in both way, I'm on cm7rc from fendi. I queasy... with 11b from Aprold and over this after i clear the davlik men i flash huexxx kernel.
[LG Optimus Black] Huexxx:
What I need is time too... too much work, too much thing to do... I can't assure anything...
[LG Optimus Black] redy2006:
Salute

We are having our own life.. and what we do here, is the same as knzo does, as a hobby to hacking this phone, not considered as the main jobs :)

All of you (including me) are not want to be pushed by anyone who want this MOD...

Thanks for everything...