[Q] Wake using volume rocker - AT&T LG Optimus G

I had this when using the Base, but after going stock again in preparation for CM or AOSP I lost the ability to wake using the volume rocker. I know I need to edit a file in system/usr/keylayout but I can't remember which one, and if that was the only thing i needed to do.
I've tried searching this forum for it, but have not been able to find it. I remember when I read it, it was a offshoot of another thread within it.
Thanks for any help and have an awesome one.
2d

Rootbox has it as an option, and I think the new CM10 has it as well.
If you're intending to use AOSP anyway, there really isn't anything for you to do.

OMGMatrix said:
Rootbox has it as an option, and I think the new CM10 has it as well.
If you're intending to use AOSP anyway, there really isn't anything for you to do.
Click to expand...
Click to collapse
Yeah I was able to try those and while I prefer their aesthetic I miss not having more control of the hardware. (eco-mode, wise screen, etc.) If any of the ROMs for the G had the eco-mode feature I'd stick with it, but as it is the Nova launcher and stock are more than ok.
So for anyone who might know could you let me know?
Thanks!
2d

Go to system/usr/keylayout. Edit file "keypad_8064.kl", key 114 and key115 as shown. Save a backup of original file, just in case.

Get Trickster MOD from the play store. You can set ECO mode with it if you are using the Houcha kernel.
Sent from my Optimus G using xda app-developers app

Thank you for the feedback guys.
I knew about the editing the keylayout file, but even after editing it does not change the rocker behavior. I remember needing to do something else to a file, but I can't find the reference anywhere.
Being on the houchu kernell would require me to convert the phone to the nexus 4 wouldn't it?
2d

Related

Adding reboot option

Does anyone know what is needed to add the reboot option to the power menu.. I want to add it to the current theme I'm using. Thanks in advance
Sent from my MB860 using XDA App
mscott998 said:
Does anyone know what is needed to add the reboot option to the power menu.. I want to add it to the current theme I'm using. Thanks in advance
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
What theme are you using... most of them incorporate the reboot option... unless your using a custom theme... Might try flashing something like gingerblur, or one of the other popular themes in this forum. Then you can edit the framework-res.apk to your liking, replace what ever icons you want back, and you'll have the reboot option as well. Sorry, I'm ot sure how to just add the reboot option though... sure it will require the editing of services.jar or the framework-res.apk.
the theme im using doesnt have it. i want to modify the theme and add it but im no sure what i need to do to add that feature.. does anyone know how?
Can anyone help ...
Sent from my MB860 using XDA App
You could use my MotoBlur theme as a base for your theme. Its just the stock theme with 1% battery and reboot added.
http://forum.xda-developers.com/showthread.php?t=1076655
The reboot option is added by editing android.policy.jar.
Nottach said:
You could use my MotoBlur theme as a base for your theme. Its just the stock theme with 1% battery and reboot added.
http://forum.xda-developers.com/showthread.php?t=1076655
The reboot option is added by editing android.policy.jar.
Click to expand...
Click to collapse
Thanks sir, ill look into it
I got into the files and im trying to find the one that contains the modified code for the reboot option. there are quite a few .smali files just truing to figure the right one out and im good
mscott998 said:
Does anyone know what is needed to add the reboot option to the power menu.. I want to add it to the current theme I'm using. Thanks in advance
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
[HowTo] Add a Reboot option to the power menu (Froyo)
hey. did you ever figure this out?? i am using gladiatrix 3 but it does not have the reboot option. i dont want to use a theme because i like it the way it is but would love the reboot option?
buffalo06 said:
hey. did you ever figure this out?? i am using gladiatrix 3 but it does not have the reboot option. i dont want to use a theme because i like it the way it is but would love the reboot option?
Click to expand...
Click to collapse
Tried it the other day for 2.3.4... incredibly difficult... well, maybe not so much difficult, as it is trying to find a complete set of directions... Apparently, the devs used a combination of two different threads that were written for different phones... so the code lines don't match up and it was a damn cluster **** to try an figure out, so I gave up... Kenneth said this will be implemented on his next update for 2.3.4.
I wish I still had the pages saved, but I deleted them after trying to do this for a couple of hours, so I wouldn't be tempted to try it again. Ask in the IRC chat, there are a few people there that can direct you to the right place if you want to attempt, and good luck.
Bump, anyone find a good source for how to do this on gb? I'm not having luck finding the info.
msd24200 said:
Bump, anyone find a good source for how to do this on gb? I'm not having luck finding the info.
Click to expand...
Click to collapse
No one's been able to do it yet as far as I know. The gingerbread file structure associated with the reboot option has changed so much that it is incredibly difficult. I had heard a report that Designgears may have figured it out, but I think it was probably a false report, as no Atrix Dev has yet to incorporate it into a ROM or theme.
Swiftks said:
No one's been able to do it yet as far as I know. The gingerbread file structure associated with the reboot option has changed so much that it is incredibly difficult. I had heard a report that Designgears may have figured it out, but I think it was probably a false report, as no Atrix Dev has yet to incorporate it into a ROM or theme.
Click to expand...
Click to collapse
Thanks swift, I found a file on modaco, I think it was framework for an lg that had it, but couldn't find any actual info as to how it is needed to be modified.
Sent from my MB860 using XDA Premium App
Swiftks said:
No one's been able to do it yet as far as I know. The gingerbread file structure associated with the reboot option has changed so much that it is incredibly difficult. I had heard a report that Designgears may have figured it out, but I think it was probably a false report, as no Atrix Dev has yet to incorporate it into a ROM or theme.
Click to expand...
Click to collapse
Just another update... DG said to me a while back that he was able to add the options, but they screwed up the current options so none of them worked. He did not get it working for the Cognition beta.
I tried my hand as well, but couldn't figure it out.
I used gscript and just made a shortcut on my desktop. Works great.
Is it adding the button to the menu that breaks it?
Sent from my MB860 using XDA App
I tried as well, and all I got was me turning my power button into a reset button, options wouldn't show up.. so there was no way to turn it off, it would just reset my phone when ever I tried to pull up the Phone options..
I was working on this a little bit once I got GB update. I am like 80% the way through it. I can link to what I am going off of-
From the Vibrant Forums
I had all the files edited and ready to rock, the problem I was at was the RECOMPILING. I think I was missing some dependencies.
I got all the way up to that point and had to go home for the day at work- never picked it back up. If I get some time at work today I'll give it another crack.
If I get anywhere I'll post my framework-res.apk.
I followed the steps from that thread too and while I could build/compile everything fine and get the options to show in the menu none of the reboot options would work. Seems we're all having similar issues with this.
malfuncion said:
I was working on this a little bit once I got GB update. I am like 80% the way through it. I can link to what I am going off of-
From the Vibrant Forums
I had all the files edited and ready to rock, the problem I was at was the RECOMPILING. I think I was missing some dependencies.
I got all the way up to that point and had to go home for the day at work- never picked it back up. If I get some time at work today I'll give it another crack.
If I get anywhere I'll post my framework-res.apk.
Click to expand...
Click to collapse
Nottach said:
I followed the steps from that thread too and while I could build/compile everything fine and get the options to show in the menu none of the reboot options would work. Seems we're all having similar issues with this.
Click to expand...
Click to collapse
I was following that thread as well, and my issue was stated above, then I saw this from the DX2 forum, which has GB and on his change log, he stated he added reboot options.
http://forum.xda-developers.com/showthread.php?t=1198857
I grabbed his theme, compared the framework.jar, framework-res.apk, and android.policy.jar files.. they pretty much match up with ours. So, using Notepad++, I did a compare between the files, added what he added, basically looks like the same things from the vibrant how-to. This time around, when I press for the power options, it comes up normal, but the link to the 'reboot' does not show up... I might try this without the battery %, as that takes up alot of the hex id....
I'm thinking we might need to add that line from DG that he did a while back for the first reboot options on froyo...
I also have no problems with recompile... I'll mess around with it some more when I have free time.. I don't spend much time inside during the summers..
has anyone decompiled the framework-res from the g2x's gb build or maybe even CM? Not USE the framework of course, but maybe see what flags that policy uses for a reboot?
edit* seems like previous posted may have tried what I asked. back to the digi drawing board...

[Q] Regarding MIUI/CM7, pulling an app over?

Hey Guys!
I've been trying to find a way to keep the softkey light on S2 on MIUI turned off (COMPLETELY, not auto brightness values for button to 0) but there really isn't a way...
I've noticed in CM7 there is a Galaxy SII settings app that can be found independently in Titanium Backup. That app has the option to turn off the softkey backlight completely.
Do you think it's possible to drag that app from CM7 and Install it on MIUI to turn off the keylight? Considering from what I've read MIUI is based partly on CM right?
Go to display setting. Turn on auto brightness and beneath it will be advanced settings or something. Then there should be automatic backlight tab or Light Levels. Click on Edit Other levels.. Underneath button, make the value(should be 225 or 250) go to 0. You're good to go. You can turn off auto brightness then.
Pretty sure the OP said "COMPLETELY, not auto brightness values for button to 0"...Wait...He did
OP - there are various scripts around the place which claim to achieve this. I also use Miui & setting the auto brightness to zero used to work. This stopped working early in the the new year so something has obviously changed in Miui's builds.
I can't vouch for the usefulness of these scripts as I've learned to live with this issue, and I don't have a link for same. Try a Google search & append XDA to your search terms. This should yield something for you.
Edit to add - With regard to pulling over an app from CM7, obviously Miui is CM based so it might work. I guess you can only try it & find out. Can't see how it could do any harm given it's only an app.
@Mistah Thanks loads dude, I've tried some of the scripts from some of the searches I did and nothing seems to work you're right.
I'll give it a shot and see how it goes, but I don't think if i get the APK out i can just install it normally right? I'd have to put it in system>app then do a reboot for it to go in nicely?
I'll test it and report it back here tmrw thanks!
No worries
Yeah I'm not surprised the scripts don't work. Yeah give it a try, put it in /system/app & also might wanna mount /system rw before you install it (if you need to, use an app like Remount to do this). Yeah do a reboot after you've installed it & cross your fingers.
Will be awaiting your report with baited breath
Doodalicious said:
@Mistah Thanks loads dude, I've tried some of the scripts from some of the searches I did and nothing seems to work you're right.
I'll give it a shot and see how it goes, but I don't think if i get the APK out i can just install it normally right? I'd have to put it in system>app then do a reboot for it to go in nicely?
I'll test it and report it back here tmrw thanks!
Click to expand...
Click to collapse
Hey @Mistah I'm on checkrom v4 currently though coz im trying out some stuff. I've got the said apk out from cm7 do you think I can pm it to you in about 7 hours from now to try it out?
Sent from my GT-I9100 using XDA
Yeah why not
Doodalicious said:
Hey @Mistah I'm on checkrom v4 currently though coz im trying out some stuff. I've got the said apk out from cm7 do you think I can pm it to you in about 7 hours from now to try it out?
Sent from my GT-I9100 using XDA
Click to expand...
Click to collapse
Pm-ed! Thanks!
Replied. Doesn't work & I doubt it will.
I wrote a script which works for me on all kernels with init.d support, here's a link:
http://dl.dropbox.com/u/27703769/Permanently Disable Softkey Backlight.zip
If the flashable zip doesnt work just copy the script and set correct permissions (755). Please report back, because I haven't used the script for a while now...
BLN doesn't work on the script, though. I have located the file which contains the value for the backlight and changed its permissions, this disables the phone to change this value and thus keeping it off. This file is on a different location on almost every phone, so most scripts work on only one particular device.
gangsterjoop said:
I wrote a script which works for me on all kernels with init.d support, here's a link:
http://dl.dropbox.com/u/27703769/Permanently Disable Softkey Backlight.zip
If the flashable zip doesnt work just copy the script and set correct permissions (755). Please report back, because I haven't used the script for a while now...
BLN doesn't work on the script, though. I have located the file which contains the value for the backlight and changed its permissions, this disables the phone to change this value and thus keeping it off. This file is on a different location on almost every phone, so most scripts work on only one particular device.
Click to expand...
Click to collapse
Hey Joop!
Tested the zip and it flashed but it just seems to force the softkey light on. Doesn't go off at all after that. Thanks for the help though!

Q&A..ICS Seraphim--First Flight--Troposhere!!!!!! The Collective

Since its new and will need the Dev thread for bugs and other stuff. thought i would post this.
anyone got it downloaded?
maybe post some Screens?
Sorry still kinda newbish with this question, so apologies if it doesn't make sense:
Does flashing this through CWM update the bootloader/modem that will make this not reversible to one of the GB ROMs? I've got nandroid backups of Stock(+overclock kernel), Saurom, and DAGr8's multi-dpi ICS alpha 2 leak, and I can freely restore them and go back and forth.
If I flash this new one, will that change something on the bootloader level or change my AT&T modem that will somehow mess stuff up and prevent me from switching between those other ROMs? Or will it work fine with all of that?
Thanks
You can still flash to a GB rom
Downloading as we speak
Sent from my SGH-I717R using Tapatalk 2
Im downloading as well......it keeps getting interupted though
may take me all day to this downloaded
WOW
this is AWESOME! Thank you Collective!!!
what is different about this rom than the base, or the alpha 2 from dagr8? I see that there's the collective tools, but what options are in there? The feature list they have on the main post is hardly descriptive of anything.
kaishi00 said:
what is different about this rom than the base, or the alpha 2 from dagr8? I see that there's the collective tools, but what options are in there? The feature list they have on the main post is hardly descriptive of anything.
Click to expand...
Click to collapse
Alpha 2 is pretty solid as well. i have not finished downloading it yet so i an can state it for myself. but im sure there are differences.
Does instagram fully work on this build... It doesn't on the leaks
Sent from my SAMSUNG-SGH-I717 using xda premium
Quick question...
Getting into recovery mode... hold vol up AND down, while powering on? Cause I seem to remember trying it once, to see if it would work.. Got some green lettering (didn't read it at the time)... then I believe I just touched the home button, to bypass it... or try to bypass it. Now, I cannot get it to work.
The only thing I've done to my phone is root it, using one of the first roots available... (sorry, I forget the user... same guy who has the overclock root)
Now, I'd like to upgrade to this new ROM, and wonder if I can just upgrade it over the rooted kernal I have now....
I have tried looking around for the answer, and cannot find the exact answer.. So, I figure I'd ask, instead of just guessing...
Thanks
Joe_Breezy
is there any mod for onscreen buttons like the Galaxy Nexus?
Setting everything up now. looks good guys. seems smooth.
time to play with it and see what i find.
thanks Collective.
Coming from Saurom R7.1 GB
So far I've noticed
+Samsung splash screen is nice. Very professional touch
+overall seems smooth and fast.
+Seems very clean and ready for tweaking.
-can't change lockscreen wallpaper.
txwallpaperchooser crashes if it's used to change home or lockscreen wallpaper. And it's the only option when changing the lockscreen.
No 'gallery' Did quickpic replace this?
No splanner -guessing it's not ICS compatible
How do you change device name?
Any FAQ on the Collective Tools? Looks like some neat and dangerous stuff.
Got it flashed looks good. Just low system memory but that seems to be with all the ics Rom
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
thinguy said:
Coming from Saurom R7.1 GB
So far I've noticed
+Samsung splash screen is nice. Very professional touch
+overall seems smooth and fast.
+Seems very clean and ready for tweaking.
-can't change lockscreen wallpaper.
txwallpaperchooser crashes if it's used to change home or lockscreen wallpaper. And it's the only option when changing the lockscreen.
No 'gallery' Did quickpic replace this?
No splanner -guessing it's not ICS compatible
How do you change device name?
Any FAQ on the Collective Tools? Looks like some neat and dangerous stuff.
Click to expand...
Click to collapse
there is a flashable zip for the lockscreen wallpaper fix
the2rrell said:
there is a flashable zip for the lockscreen wallpaper fix
Click to expand...
Click to collapse
Thanks, over looked that.
How do you patch is this from cwm?
Flash the zip... Its the gallery3D.apk so you could just extract it, paste it in /system/app and then reboot.
But the zip itself is flashable.
Also, op thanks for starting the thread. I slept in a bit this morning
breezyjr said:
Quick question...
Getting into recovery mode... hold vol up AND down, while powering on? Cause I seem to remember trying it once, to see if it would work.. Got some green lettering (didn't read it at the time)... then I believe I just touched the home button, to bypass it... or try to bypass it. Now, I cannot get it to work.
The only thing I've done to my phone is root it, using one of the first roots available... (sorry, I forget the user... same guy who has the overclock root)
Now, I'd like to upgrade to this new ROM, and wonder if I can just upgrade it over the rooted kernal I have now....
I have tried looking around for the answer, and cannot find the exact answer.. So, I figure I'd ask, instead of just guessing...
Thanks
Joe_Breezy
Click to expand...
Click to collapse
From a powered off state, hold all 3 buttons (both volume and power) the when you feel a vibrate let off the power button keeping bug volumes held.
Now, if you have cwm installed, yes you can just wipe and flash the ROM... If you still have stock recovery you'll need to Intel cwm first.
Id beware I flashed it my speeds are now 515kbs And I had a nandroid and it won't restore the md5 sum
I want gb back .
No access to odin..all I had was my nandroid to rely on now Im stuck
Sent from my SAMSUNG-SGH-I717 using XDA
lojak29 said:
Id beware I flashed it my speeds are now 515kbs And I had a nandroid and it won't restore the md5 sum
I want gb back .
No access to odin..all I had was my nandroid to rely on now Im stuck
Sent from my SAMSUNG-SGH-I717 using XDA
Click to expand...
Click to collapse
this 3G speeds? or LTE speeds?
they said you can flip back n forth between GB and ICS
im nandroiding now,but sure dont want to run into a problem where i can restore

[Q] change notification toggles

Hi,
I may be being really dense, but I can't find an option to remove/change the toggles in the notification area... I use some (like wifi, bluetooth, brightness), but have no need for ones like power saving, sync etc.
Can anyone point me in the right direction please?
Thanks!
Tripledrop said:
Hi,
I may be being really dense, but I can't find an option to remove/change the toggles in the notification area... I use some (like wifi, bluetooth, brightness), but have no need for ones like power saving, sync etc.
Can anyone point me in the right direction please?
Thanks!
Click to expand...
Click to collapse
I'm assuming you are on stock rom, if so you cant. Custom roms like Omega have 15 toggle mod you can add or remove whatever you like.
Sent from my GT-I9300 using xda premium
Thanks for the answer
Yes I am currently on stock ROM - I used CM9 nightlies for ages on my S2 but didn't like them as much as the S3 stock. Maybe I'll try Omega (have recently installed the kitchen part of it anyway)
Would you say Megga is better than CM in your opinion?
It's impossible to say if a rom is better or not. I've been using AOKP roms on my galaxy S II but I can now say I like original Samsung roms more on the S III, I even use touchwiz which would've been unthinkable on the S II. I'm on Omega Rom. It's basically stock but with upgrades. Been using other roms for a few hours too because Im a flashaholic but keep Nandroid-ing back to Omega. First time Samsung did a great job on interface IMO
Well that sounds good, I'll give it a go later, thanks
Out of interest, does Omega have the ability to cancel an app by long-press of the back key? That's something I miss from CM9...
Fyi, here's how to change/remove the toggles...
forum.xda-developers.com/showthread.php?t=1725411
Tripledrop said:
Well that sounds good, I'll give it a go later, thanks
Out of interest, does Omega have the ability to cancel an app by long-press of the back key? That's something I miss from CM9...
Click to expand...
Click to collapse
No, it doesn't but as you probably know, long press home and press Task Manager let's you kill tasks.
I liked the idea of long press back key, but was never happy with the execution - I was constantly killing apps that I didn't want to by tapping back too quickly. Clearly CM wasn't checking that you were holding back, but rather that it was pressed at the start and end of a certain time period.
Sent from my GT-I9300 using xda premium
Thanks for the reply... I actually used it a lot with CM9 and found it very useful, but not the end of the world to not have it!

[REQ] changing touch sound?

Is there a way to change the stock sound of the water touch sound?
Sent from my SCH-I605 using Tapatalk 2
If you use Root Explorer you can navigate to system/media/audio/ui and change sounds there. If there's an easier way maybe somebody can help you but that's how I do it
edit: you'll have to copy the new sounds and rename or delete the orignal sounds to change them
You should be able to copy the ui sounds from another rom...like one of the Jelly Beans builds by Beanstown106,
he uses AOSP sounds which I prefer. Or you could just use the mentioned rom and have sounds built in.
Of course the beanstown link isn't working. I hate the touchwiz sounds
i am in the same boat, i can not stand the water sound for touch, so i just keep this on my sdcard so i can add it to the list of zips i flash after a new rom, or test builds or what have you
feel free to use if you like
its the aosp touch sound, its just a quite click, it changes the defult touch sound as well as the softkey/captive button touch sound.
https://www.dropbox.com/s/f1opeuavlrhplt4/aosp_touch_media.zip
runandhide05 said:
i am in the same boat, i can not stand the water sound for touch, so i just keep this on my sdcard so i can add it to the list of zips i flash after a new rom, or test builds or what have you
feel free to use if you like
its the aosp touch sound, its just a quite click, it changes the defult touch sound as well as the softkey/captive button touch sound.
https://www.dropbox.com/s/f1opeuavlrhplt4/aosp_touch_media.zip
Click to expand...
Click to collapse
Thanks, ill save that. I found a few simple sounds in the ui folder and renamed them to the appropriate thing. Only thing I can't seem to change or am overlooking is the dialer sound key press. But other than that its perfect. No more stupid water sounds on touch or keys or unlock. Depending on the sounds you're using, it tricks your mind and makes it seem quicker without the long water sound.
anonymously said:
Thanks, ill save that. I found a few simple sounds in the ui folder and renamed them to the appropriate thing. Only thing I can't seem to change or am overlooking is the dialer sound key press. But other than that its perfect. No more stupid water sounds on touch or keys or unlock. Depending on the sounds you're using, it tricks your mind and makes it seem quicker without the long water sound.
Click to expand...
Click to collapse
the dialer is
Dialer_new.ogg ( if memory server me)
and i know there is a gallery one too... just cant remember where/ what its name is hell it may be in the gallery apk itself.
Also, if anyone is having problems getting sounds to work once replaced, make sure that you set the permissions on the new file appropriately. The permissions should be: rw- r-- r--. Hope this helps someone.
runandhide05 said:
the dialer is
Dialer_new.ogg ( if memory server me)
and i know there is a gallery one too... just cant remember where/ what its name is hell it may be in the gallery apk itself.
Click to expand...
Click to collapse
Yeah Ive tried changing that the same way I had the others but always reverts back to the stupid water touch for whatever
anonymously said:
Yeah Ive tried changing that the same way I had the others but always reverts back to the stupid water touch for whatever
Click to expand...
Click to collapse
Same here! Need to change this awful noise! Lol! Hoping someone knows where this sound is mapped to!
Anyone have gs4 touch sound looked for awhile but cant find it. Nevermind

Categories

Resources