[MOD]Volume Rocker to Wake[MOD]

Vinchenzop

Inactive Recognized Developer
Sep 20, 2010
5,239
9,491
0
Hermitage, PA
Many people have been asking for this, so here it is. Thanks to "tbriden" for his info on this mod. As with many of my mods, This is currently for deodex'ed roms.

This also contains my Advanced power menu


Advanced Power Menu + Volume Buttons To Wake

Just Flash From Recovery


This mod will remove any of Runandhide's Mods, but I've already passed the necessary edits off to him, and he'll be updating his mod shortly


His mod can be downloaded RunandHides Mod

FROM RUNANDHIDES OP ABOUT THIS MOD
NEW!! for Viper 1.2.1 longpress home =menu, recent app = menu, volume up/down = wake device, half press camera button = search/voice search and includes Vinchenzop's APM
 
Last edited:

freeza

Recognized Developer
May 28, 2006
5,326
14,128
263
Pasadena, CA
www.freeza-inc.com
I've been trying to integrate these mods and even using them as standalone and my phone seems to be kind of retarded when it comes to them.

For instance, the advanced power menu mod doesn't work on my phone. Modding it myself or using your mod produces the same result: Holding down the power button to bring up the menu results in a soft-reset back to boot animation, every single time. Wiping either dalvik or cache has no effect. Even hard resetting has no effect. I'm hoping that it's because I've removed so many files in my attempts at a "Senseless" ROM that one of them may be reliant on this mod, and not my phone just being a strange lemon of sorts. Even the modding of framework-res took a LOT of work on my part because every single one of runandhide05's mods to it resulted in bootloops.

WTF?

Am I the ONLY one here? >:eek:
 

Vinchenzop

Inactive Recognized Developer
Sep 20, 2010
5,239
9,491
0
Hermitage, PA
I've been trying to integrate these mods and even using them as standalone and my phone seems to be kind of retarded when it comes to them.

For instance, the advanced power menu mod doesn't work on my phone. Modding it myself or using your mod produces the same result: Holding down the power button to bring up the menu results in a soft-reset back to boot animation, every single time. Wiping either dalvik or cache has no effect. Even hard resetting has no effect. I'm hoping that it's because I've removed so many files that one of them may be reliant on this mod, and not my phone just being a strange lemon of sorts. Even the modding of framework-res took a LOT of work on my part because every single one of runandhide05's mods to it resulted in bootloops.

WTF?

Am I the ONLY one here? >:eek:
Use my framework-res.apk. The reason you're getting a soft reset is because its lookin for icons/layouts that aren't there. And before you notice...yes the files are improperly labeled, but that was just my quick way to get it to show right in the menu
 

freeza

Recognized Developer
May 28, 2006
5,326
14,128
263
Pasadena, CA
www.freeza-inc.com
Use my framework-res.apk. The reason you're getting a soft reset is because its lookin for icons/layouts that aren't there. And before you notice...yes the files are improperly labeled, but that was just my quick way to get it to show right in the menu
Wait wait wait......so the APM relies on the framework-res.apk? How interesting! that would make sense as to why it does soft-reset on me, as I didn't even try using another one. Every framework-res I've used just boot loops on me. I had to go through some pretty terrible crap to get a framework-res mod. runandhide05's removed the signatures, which is probably the first reason why mine would bootloop, so I added that back in and it still bootlooped. So then I took a stock framework-res and copied the resources.arsc over and that worked, BUT the notification bar became double the size. Every single technique I knew to decompile and recompile resulted in boot loops. I finally got it working with mine&runandhide05's mods, but the file I produced is closer to the stock in file size: 18MB vs 13MB (runandhide05s).

I will give your framework-res a shot and if it works, you'll have to let me know what you're using to decompile/recompile. :)
 

Vinchenzop

Inactive Recognized Developer
Sep 20, 2010
5,239
9,491
0
Hermitage, PA
Wait wait wait......so the APM relies on the framework-res.apk? How interesting! that would make sense as to why it does soft-reset on me, as I didn't even try using another one. Every framework-res I've used just boot loops on me. I had to go through some pretty terrible crap to get a framework-res mod. runandhide05's removed the signatures, which is probably the first reason why mine would bootloop, so I added that back in and it still bootlooped. So then I took a stock framework-res and copied the resources.arsc over and that worked, BUT the notification bar became double the size. Every single technique I knew to decompile and recompile resulted in boot loops. I finally got it working with mine&runandhide05's mods, but the file I produced is closer to the stock in file size: 18MB vs 13MB (runandhide05s).

I will give your framework-res a shot and if it works, you'll have to let me know what you're using to decompile/recompile. :)
Its a f'in headache man, I do all my android modding on linux...but since ICS, I've got to decompile apks on my windows machine (which i am unfamiliar with) and then move them back to my linux machine for any smali edits.

I followed fernando sor's tutorial, to an extent to get a damn framework-res to compile.


Edit: You won't be able to decompile then recompile though...pm me your gmail
 
Last edited:

Vancer

Senior Member
Mar 19, 2008
285
50
0
Hey Vin,

Can you add menu remap and long press home to this mod please :D ... I tried Run's newest mod and it all works except the vol wake so I'm currently using his mod that has LPH, Menu Remap and your APM which works great but I really miss vol wake :( ... I don't much care about the half press camera but others might ... It not just me, I posted in Run's thread and vol wake being broken was confirmed

Fyi, in his mod the vol wake works but only if you hit a vol key quickly after turning the screen off with pwr button and is repeatable ... If u wait more than 30 secs or so then a vol key will no longer wake the phone and u have to use the pwr button which pretty much renders the vol wake useless ... don't know if that info will help but wanted to fully explain

Thanks !

Sent from my EVO 4G LTE using Tapatalk
 
  • Like
Reactions: Chaosmaker2k

Vancer

Senior Member
Mar 19, 2008
285
50
0
I'll see if me rebuilding it will yield any different results, but I don't believe it will change anything.
Are u going to rebuild/check Run's mod or just build into this mod? Either way thanks! ... And if u need me to test it or when ur done just let me know :)

Sent from my EVO 4G LTE using Tapatalk
 

Vancer

Senior Member
Mar 19, 2008
285
50
0
Wow ... Fast response! Barely had time to check one other thread (Your rom thread btw) and refresh lol


Edit: are going to leave out the half press camera part just in case that is what's breaking it?

Sent from my EVO 4G LTE using Tapatalk
 

Vinchenzop

Inactive Recognized Developer
Sep 20, 2010
5,239
9,491
0
Hermitage, PA
Wow ... Fast response! Barely had time to check one other thread (Your rom thread btw) and refresh lol


Edit: are going to leave out the half press camera part just in case that is what's breaking it?

Sent from my EVO 4G LTE using Tapatalk
The camera/wake is just a .kl (key layout) edit, and I don't think that's be the reason for the delay/issues. But yea, I'll leave it out for the time being.

But if you follow the ROM thread, you'll know that I won't be home/at my computer for 9 more hours or so...I say this so you're not wasting your time F5'ing this thread ;)
 

Vancer

Senior Member
Mar 19, 2008
285
50
0
The camera/wake is just a .kl (key layout) edit, and I don't think that's be the reason for the delay/issues. But yea, I'll leave it out for the time being.

But if you follow the ROM thread, you'll know that I won't be home/at my computer for 9 more hours or so...I say this so you're not wasting your time F5'ing this thread ;)
Yep saw ur working til bout 8 tonight :) ... No F5... I'm on my Viperized Vinchezinated ELTE :D

Sent from my EVO 4G LTE using Tapatalk
 
  • Like
Reactions: Vinchenzop

Vinchenzop

Inactive Recognized Developer
Sep 20, 2010
5,239
9,491
0
Hermitage, PA
Just a friendly reminder ... Cause I know you aren't still at work! :p

Sent from my EVO 4G LTE using Tapatalk
apologies, I said it in a PM to someone, but forgot to reiterate it here. I remade the mod, and it had the same results (delays and/or not working). I'll have to add each aspect one at a time and see what is causing it. This could take a bit (should be this weekend).
 

PaulHBK

Senior Member
Apr 28, 2011
231
57
0
Why do you guys prefer the volume rocker to wake? Just curious as to how this benifits. I think its a negative when listening to music and the screen comes on when adjusting volume, no?

Sent from my EVO using xda premium
 

Vancer

Senior Member
Mar 19, 2008
285
50
0
Easier one handed operation b/c you can reach it with ur thumb when you take it out of ur pocket without adjusting ur grip. This is just quicker, handier and reduces the chance of dropping the phone with less adjusting in ur hand. Also the same reason I put status bar expander on my homescreen since I can't reach the pull down with my thumb in one handed operation without adjusting my grip

Sent from my EVO 4G LTE using Tapatalk
 
  • Like
Reactions: PaulHBK

PaulHBK

Senior Member
Apr 28, 2011
231
57
0
Easier one handed operation b/c you can reach it with ur thumb when you take it out of ur pocket without adjusting ur grip. This is just quicker, handier and reduces the chance of dropping the phone with less adjusting in ur hand. Also the same reason I put status bar expander on my homescreen since I can't reach the pull down with my thumb in one handed operation without adjusting my grip

Sent from my EVO 4G LTE using Tapatalk
Ok, I see. I'll try it out but I feel it will bug me that my screen will come on whenever I adjust music volume. I'll see how it goes...

Sent from my PC36100 using xda premium
 
  • Like
Reactions: Vancer