Related
I have been looking for this kind of Mod for a While...
Using Power button to wake up Phone is sometimes uncomfortable to reach when u have a grip around Phone..
Moreover too much use of Power button can cause Power button issues... or may give up after a long time or may become hard to press with time..or loose its chrome finish...
I know there are applications like Unlock etc that will skip unlock screen but who wold wanna skip that Cool Sense Lock screen?
This Mod will not UNLOCK your Screen.. Just wakes it up... u will still get the Sense Lock screen...
Here is the TIP:
1. Extract KeyguardViewMediator.smali from android.policy.jar and Open with Notepad.
2. Scroll down and find ".method private isWakeKeyWhenKeyguardShowing(I)Z".
3. Delete 0x18 and 0x19 lines. Save
4. Repack
Dont forget to give Credits..
Hit Thanks if it was Helpful
This probably is an inactive section with No feedbacks...
I guess modding ends here...
What changes did you make exactly to the jar file?
Also the cdroid file, which rom version is it from?
MarylandCookie said:
What changes did you make exactly to the jar file?
Also the cdroid file, which rom version is it from?
Click to expand...
Click to collapse
just enabled it to volume wakeup....
Would you guys try it and let me know if it works or not??
its not gonna brick ur phone..... If its not working upload jar file from stock 2.3.3 or 2.3.5... I will make it to work...
But yeah looking at feedback I guess its not gonna happen
Im interested in it but id like to know in terms of learning what smali file you edited to what exactly? I guess you added an extra line to include vol keys.
Just trying to learn..
Its a good mod imho, should be included in custom roms as standard. I think leedroid has it in his roms
MarylandCookie said:
Im interested in it but id like to know in terms of learning what smali file you edited to what exactly? I guess you added an extra line to include vol keys.
Just trying to learn..
Its a good mod imho, should be included in custom roms as standard. I think leedroid has it in his roms
Click to expand...
Click to collapse
That's a long procedure...lol..
But I edited KeyguardViewMediator.smali extracted from jar file and removed two lines from it using notepad that were preventing volume keys when display is turned off...
jjdoctor said:
That's a long procedure...lol..
But I edited KeyguardViewMediator.smali extracted from jar file and removed two lines from it using notepad that were preventing volume keys when display is turned off...
Click to expand...
Click to collapse
Thankyou, that was very kind of you. There are some outthere who just dont share (you know who you are )
ty for this too I`m looking for this for a looong time. So if I`m extracting files from .jar inside my rom and edit KeyguardViewMediator.smali will do the work without anything else?
edit: I made a comparison of you`r KeyguardViewMediator.smali and mine and they are different in too many strings I can`t just use yours (your file has 116 KB and mine has 114 KB)
now is better
This is awesome dude!!! Unfortunately didnt work perfect in RCMix3d Runny S v1.5.1 that im using. Disabled few RcMix Tweaks example honeycomb lockscreen, and when i pressed power button to open up boot options, it show "Messages" in where it supposed to show "Power Off"
codryn said:
Here is the file if you want to help me.
Click to expand...
Click to collapse
Confirmed working
MarylandCookie said:
Try this and let me know if it works
Click to expand...
Click to collapse
ty now I made a recovery backup and I`m testing it.
MarylandCookie said:
Thankyou, that was very kind of you. There are some outthere who just dont share (you know who you are )
Click to expand...
Click to collapse
I hope it wasn't negative... I m on mobile really pain to write whole procedure... I love sharing... Don't you see I shared this mod without "Donate to me" ??
codryn said:
ty for this too I`m looking for this for a looong time. So if I`m extracting files from .jar inside my rom and edit KeyguardViewMediator.smali will do the work without anything else?
edit: I made a comparison of you`r KeyguardViewMediator.smali and mine and they are different in too many strings I can`t just use yours (your file has 116 KB and mine has 114 KB)
Click to expand...
Click to collapse
codryn said:
Here is the file if you want to help me.
View attachment 746921
Click to expand...
Click to collapse
Sick1 said:
This is awesome dude!!! Unfortunately didnt work perfect in RCMix3d Runny S v1.5.1 that im using. Disabled few RcMix Tweaks example honeycomb lockscreen, and when i pressed power button to open up boot options, it show "Messages" in where it supposed to show "Power Off"
Click to expand...
Click to collapse
Ok guys you will have it shortly with a procedure...
MarylandCookie said:
Try this and let me know if it works
Click to expand...
Click to collapse
hehe is working thank you. I never thought at those 2 lines )
jjdoctor said:
I hope it wasn't negative... I m on mobile really pain to write whole procedure... I love sharing... Don't you see I shared this mod without "Donate to me" ??
Click to expand...
Click to collapse
No need for the procedure, your details where enough
I was referring to others. Thanks though i will forever be "modding" my android.policy for every rom now lol
well u all know how to unpack and repack .jar so just follow here..
1. Open KeyguardViewMediator.smali with Notepad.
2. Scroll down and find ".method private isWakeKeyWhenKeyguardShowing(I)Z".
3. Delete 0x18 and 0x19 lines. Save
4. repack
Dont forget to give Credits..
MarylandCookie said:
No need for the procedure, your details where enough
I was referring to others. Thanks though i will forever be "modding" my android.policy for every rom now lol
Click to expand...
Click to collapse
well i m sorry i underestimated u guys..... i thought i had to write the whole procedure from unpacking to repacking but u guys are good...
ty for the tip jjdoctor and MarylandCookie ty for being fast enough for helping me. Is easy to pack/unpack/modify and so on but is hard enough to know what to edit If you look here and here you see that I`m trying for long time to to this. Thank you again for info.
guess i have to leave this tip for Room Cookers then..
codryn said:
ty for the tip jjdoctor and MarylandCookie ty for being fast enough for helping me. Is easy to pack/unpack/modify and so on but is hard enough to know what to edit If you look here and here you see that I`m trying for long time to to this. Thank you again for info.
Click to expand...
Click to collapse
haha... it was the same thing i was going through... I really needed this Mod on Sensation since it was a pain for me Reaching my index finger to the top of the huge screen when u have a grip around the phone...
tried one by one.... but atlast it worked...
I`ve been surfin` through web using different words to search more about GT-I9001 and look what I`ve found at some chineese developers:
http://bbs.gfan.com/android-3401240-1-1.html
use google chrome with translation and you`ll be able to uderstand more than lines and points....
that status bar with 14 buttons on it looks awesome....to bad I can`t download it and try it tho
That's pretty simple.I will make one for ICS theme if u wnat
sakindia123 said:
That's pretty simple.I will make one for ICS theme if u wnat
Click to expand...
Click to collapse
well i know I won`t be only one who would love a status bar with more buttons on it for on/off network data for example and stuff like that ... and ofc with circle icon for battery lol or at least a battery in horizontal mode so the letter be a little bigger and easy to see, etc.
and saki 1`st take care of ur RC lol, btw you are doing fkin GREAT mate with that...keep up the good work!
sakindia123 said:
That's pretty simple.I will make one for ICS theme if u wnat
Click to expand...
Click to collapse
its simple without the flashlight function
because in order to get the flashlight button working you have to sign all apps in ur app folder (inclusive system apps) otherwise ur status bar will fc
Oh, cool! I want it too!
chasemyass said:
well i know I won`t be only one who would love a status bar with more buttons on it for on/off network data for example and stuff like that ... and ofc with circle icon for battery lol or at least a battery in horizontal mode so the letter be a little bigger and easy to see, etc.
Click to expand...
Click to collapse
All that can be done with the Switch GOWidget.
I am using it myself.
It only fits 8 buttons though
well but thats boring
in my opinion its more useful to have these shortcuts in the statusbar!
Blumdum said:
well but thats boring
in my opinion its more useful to have these shortcuts in the statusbar!
Click to expand...
Click to collapse
I'm not disagreeing with you. It would be more useful indeed.
I would try it myself if sakindia123 is kind enough to do it for us.
Was just presenting an option for people until that is done, and because tastes differ
xci said:
All that can be done with the Switch GOWidget.
I am using it myself.
It only fits 8 buttons though
Click to expand...
Click to collapse
Each widget started means more ram used.More ram used means less battery life
sent from my GT-I9001 powered by CraniumROM RC7-1.92 OC/UV using tapatalk
I was trying to search that all day long, and I didn't know which keywords to use, it was giving me some random results. So it would be lovely if somebody did it! All that I need is the data switch, cos I really have no idea why it's not there by default, that's my most used option, I think.
And yes, I know it's in the lock menu, but it's annoying going there all the time. and since I don't use widgets in Espier Launcher, I'm definitely waiting for this!
Its very easy to port 14 toggle notification bar
kkrraazzyy said:
Its very easy to port 14 toggle notification bar
Click to expand...
Click to collapse
Easy for u guys who know somethin' abt programming and stuff lol.Easy for me is to make volume calculation, land surveying, quantity excavations in open pits, etc. )
sent from my GT-I9001 powered by CraniumROM RC7-1.92 OC/UV using tapatalk
So..... if it's so easy... who's gonna do it?
here is the guide to port it to any rom!
http://forum.xda-developers.com/showthread.php?t=1289896
have fun ^-^
nikagl said:
So..... if it's so easy... who's gonna do it?
Click to expand...
Click to collapse
Ok!! here we go downloaded the butoons status bar from the site, after learning little chinese,
First unzip all files and copy in your sdcard.
Then copy lidroid-res.apk to /system/framework/
after copy QuickPanelSettings.apk to /system/app/
again copy SystemUI.apk to /system/app/
and Last copy framework-res.apk to /system/framework/
Thats it phone will restart and You have the status buttons.
mbba67 said:
Ok!! here we go downloaded the butoons status bar from the site, after learning little chinese,
First unzip all files and copy in your sdcard.
Then copy lidroid-res.apk to /system/framework/
after copy QuickPanelSettings.apk to /system/app/
again copy SystemUI.apk to /system/app/
and Last copy framework-res.apk to /system/framework/
Thats it phone will restart and You have the status buttons.
Click to expand...
Click to collapse
Thanks for this! For which ROM did you build this?
Bootloop in my case (Cranium RC8 ROM: XXKPS with ICS theme).
By the way, the following files didn't exist in my case:
remote object '/system/framework/lidroid-res.apk' does not exist
remote object '/system/app/QuickPanelSettings.apk' does not exist
Regards,
Nika.
nikagl said:
Thanks for this! For which ROM did you build this?
Bootloop in my case (Cranium RC8 ROM: XXKPS with ICS theme).
By the way, the following files didn't exist in my case:
remote object '/system/framework/lidroid-res.apk' does not exist
remote object '/system/app/QuickPanelSettings.apk' does not exist
Regards,
Nika.
Click to expand...
Click to collapse
I did it and it worked in my phone ...xkp6 ...deodexed....But also works in all other relase xkp3..xkp7..xkps ect..... like they say!!!!
For the 2 files there seem to be the new files that make status bar work....
P.s. i didnt build it i just downloaded it and did same as i wrote step by step, last copy should be firmework-res.apk... You may recive many Fc but dont worry just keep copying file by file same as this:
copy lidroid-res.apk to /system/framework/
after copy QuickPanelSettings.apk to /system/app/
again copy SystemUI.apk to /system/app/
and Last copy framework-res.apk to /system/framework/
there's a nice "little" guide for this in SII themes and apps section.
Try it urself once,its pretty easy(but frustrating and booring)
sakindia123 said:
there's a nice "little" guide for this in SII themes and apps section.
Try it urself once,its pretty easy(but frustrating and booring)
Click to expand...
Click to collapse
tryied alrdy it seems I can`t use the apktool lol...So I`m stuck @the beginning...
I have tool, I have what too work but can`t make tool work )
chasemyass said:
tryied alrdy it seems I can`t use the apktool lol...So I`m stuck @the beginning...
I have tool, I have what too work but can`t make tool work )
Click to expand...
Click to collapse
.....nvmd ^^
Hey guys, I have Ported swipe to remove notifications for the I9001,
It's similar to the ICS one, thanks to hansip87 for his Porting guide
I have created a CWM package, just flash it via FeaMod Recovery, (stock recovery might work, haven't tried it)
the phone will take quite some time to bootup after installation, don't worry
Remember you require XXKQB deodexed firmware, So deodex before trying this mod.
http://www.youtube.com/watch?v=emGp...DvjVQa1PpcFPn6dwKkWC1MMm4clPvDKa5ZylOiPvUveI=
EDIT: tweaked the animation's slightly in (2), will be easier to swipe with the thumb now.you'll notice that swiping left will be easier, than swiping right, cause our thumb doesn't move in a linear motion while swiping right (if you are right handed) this can be tweaked.
Please let me know which one works the best or if they need to be tweaked more.
EDIT:Added Package for Moon ROM v4.0
http://www.youtube.com/watch?v=QFQN...DvjVQa1PpcFPn6dwKkWC1MLdqyRxI0qOBOQqSwbLsC_M=
EDIT: Added package for BroodRom.
EDIT:Set the packages to half swipe, this means you have to swipe from one edge to the center or slightly ahead.
If you liked this Mod then please press the thank's button
nail16 said:
Hey guys, I have Ported swipe to remove notifications for the I9001,
It's similar to the ICS one, thanks to hansip87 for his Porting guide
I have created a CWM package, just flash it via FeaMod Recovery, (stock recovery might work, haven't tried it)
the phone will take quite some time to bootup after installation, don't worry
Remember you require XXKQB deodexed firmware, So deodex before trying this mod.
Click to expand...
Click to collapse
notif from statusbar? or they will appear different? dunn understand sowwy
It's a MOD to clear notifications from the status bar by swiping (like ICS).
nail16 said:
It's a MOD to clear notifications from the status bar by swiping (like ICS).
Click to expand...
Click to collapse
sorry I did not understand what this thanks
nail16 said:
It's a MOD to clear notifications from the status bar by swiping (like ICS).
Click to expand...
Click to collapse
sorry to say this but I nevah saw an ICS so that`s why I`m asking ... but anyhow ty for your work.
uberto.costanzo said:
sorry I did not understand what this thanks
Click to expand...
Click to collapse
http://www.youtube.com/watch?v=9kmZ6fEwzd0
nail16 said:
Hey guys, I have Ported swipe to remove notifications for the I9001,
It's similar to the ICS one, thanks to hansip87 for his Porting guide
I have created a CWM package, just flash it via FeaMod Recovery, (stock recovery might work, haven't tried it)
the phone will take quite some time to bootup after installation, don't worry
Remember you require XXKQB deodexed firmware, So deodex before trying this mod.
Click to expand...
Click to collapse
woohooo, so u succeeded ! i wrote to u in that thread, i was getting bootloops when i tried it a few weeks ago. great to see u did it ! Nice work man, big thanks
Really cool! It works with MoonROM but change theme...Hmm :S
Thanks man, I tried it once and stuck very early, wanted to try it again after my exams, but now you did it. Is it okay if I integrate it directly in my ICS-Theme? Would be just awesome!
Cheers
ICS theme with this mod will be great.
but gotta find the perfect swipe setting first
please test it and let me know.
Nice job dude!
Some other people also tried to make it work (including me) but failed. Really cool feature .
@ macdroid2:
It changes the theme because for this mod the systemUI.apk will be replaced. And there the moonrom theme isn't included. You could copy the moonrom .png files (from systemUI.apk) to the systemUI.apk of this mod..
awesome work
change63 said:
Nice job dude!
Some other people also tried to make it work (including me) but failed. Really cool feature .
@ macdroid2:
It changes the theme because for this mod the systemUI.apk will be replaced. And there the moonrom theme isn't included. You could copy the moonrom .png files (from systemUI.apk) to the systemUI.apk of this mod..
Click to expand...
Click to collapse
I'm noob on this type of things, it's easy to do? :$ sorry..
Attach the moon ROM framework.jar and systemui.apk file.
hey nail, nice done. But which framework.jar did you use? Because this is not the original KQB one.
I used the framework.jar from XXKQB Deodexed package made by you,
this one http://www8.zippyshare.com/v/49143861/file.html
Why what's wrong ?
macdroid2 said:
I'm noob on this type of things, it's easy to do? :$ sorry..
Click to expand...
Click to collapse
Don't know if there are other things to change in the framework.jar for the theme.
I think you can simply unzip the systemUI.apk (if it doesn't work, rename it to systemUI.zip) and copy the files from /res/drawable-hdpi to the modded unzipped systemUI.
After that repack it (with compression setting -> store, in german it is named "speichern", don't know the exact name in english, but should be store), rename in systemUI.apk and try it.
nail16 said:
I used the framework.jar from XXKQB Deodexed package made by you,
this one http://www8.zippyshare.com/v/49143861/file.html
Why what's wrong ?
Click to expand...
Click to collapse
There are a lot of different smali-files in the framework.jar if I compare it with the stock one. But as far as its working
got it installed on the moon rom, works fine. unfortunately, though, it kills off the other button settings in the status menu (i.e. there's also data connectivity, gps and so on, that you get to by swiping the buttons to the left)
so, ironically, your great work stops swiping
You had made the deodex package so you know better,
what rom's framework.jar is it actually ?
As long as it work's how it's supposed to, there's no problem
crybert said:
There are a lot of different smali-files in the framework.jar if I compare it with the stock one. But as far as its working
Click to expand...
Click to collapse
Hello!
I am not new to these forums.. I am a frequent reader, but I am not much of a poster.
I have a request that I think will benefit alot of galaxy tab 10.1 users running the stock roms.
Would anyone be able to /interested in modding the android.policy.jar file PhoneWindowManager.smali file to enable longpress back to kill foreground app? like the function we get in CM and AOKP roms? There is no need to have a setting for it in system settings. Just an android.policy.jar we could flash if we want the function enabled..
I have found this thread http://forum.xda-developers.com/showthread.php?t=1969499 discussing and explaining how to do this.
I have tried to do this myself, but either it just won't work or I end up in a bootloop. I am new to editing .smali files and understanding their buildup.. So I am asking here to see if anyone is willing to take a look and help me out.
My guess is that I am not the only one who wants this in the stock rom, and I hope that someone is willing to do this to the benefit of not only me but everyone else running the stock ICS and JB roms missing this function.
I am running the "something" JB stock rom by smaw51 with the extended power menu. I will add a link to my android.policy.jar if anyone wants to take a look at it.. If not edit it, maybe explain what strings to change in the .smali file in order to get it working. I know we will probably need a custom .smali with the kill function aswell if the one in this thread won't work...
Download android.policy.jar
Kind regards
Michael
up for this =)
lampz said:
up for this =)
Click to expand...
Click to collapse
I have been in contact through PM's with tdunham... the author of this thread: http://forum.xda-developers.com/showthread.php?t=1971712 and he has agreed to take a look at our android.policy.jar
I will get back with whatever he comes up with
MichaelGroth said:
I have been in contact through PM's with tdunham... the author of this thread: http://forum.xda-developers.com/showthread.php?t=1971712 and he has agreed to take a look at our android.policy.jar
I will get back with whatever he comes up with
Click to expand...
Click to collapse
I finally got this working after numerous edits and tests, and with lots of help from Mirko ddd, tdunham and lyapota.
Does anyone want me to post a tutorial on how to do this?
Will require some modification to the android.policy.jar file.
Might require decompiling and getting a string from framework-res.apk values/public.xml
(Optional) in order to get a toast message saying "Application Killed." we will need to edit some strings in framework-res.apk values/strings.xml and recompiling framework-res.apk using APKTool or Virtuous Ten Studio. If we don't change this we still do get a toast, but it will then say "force app to close", wich (in my opinion) didn't look very stock.
Also, I have only tested this on JB, but it might be very similar for ICS.
Would really appreciate this function!
MichaelGroth said:
I finally got this working after numerous edits and tests, and with lots of help from Mirko ddd, tdunham and lyapota.
Does anyone want me to post a tutorial on how to do this?
Will require some modification to the android.policy.jar file.
Might require decompiling and getting a string from framework-res.apk values/public.xml
(Optional) in order to get a toast message saying "Application Killed." we will need to edit some strings in framework-res.apk values/strings.xml and recompiling framework-res.apk using APKTool or Virtuous Ten Studio. If we don't change this we still do get a toast, but it will then say "force app to close", wich (in my opinion) didn't look very stock.
Also, I have only tested this on JB, but it might be very similar for ICS.
Click to expand...
Click to collapse
Can u post your modded android.policy.jar file
txtmikhail said:
Can u post your modded android.policy.jar file
Click to expand...
Click to collapse
It might not work for your device.. Mine is for 4.1.1 [JB] 8010..
Tutorial is live..
Go here: http://forum.xda-developers.com/showthread.php?p=36102714
Hey guys,
so I tried to modify the SystemUI.apk to get a stock Nougat feeling but it does not work for me.
I used APKTOOL (java -jar apktool.jar d SystemUI.apk for decompiling and b SystemUI/ for compiling).
But when I flashed it, there is no Statusbar anymore, the SystemUI.apk is broken. I only changed a few colors in res/values/colors.xml.
Don't know what I did wrong.
Maybe someone can give me a simple Guide to make it.
Thank you!
greetz
Did you sign it correctly?
kornelkahh said:
Did you sign it correctly?
Click to expand...
Click to collapse
I thought so. Can you tell me how you do it correctly?
Hatary said:
I thought so. Can you tell me how you do it correctly?
Click to expand...
Click to collapse
Well, I'm not an expert, and the last time I modified a SystemUI was on a Sony device, months ago, so it might be different for Samsung/new devices, I don't know, really.
But if I remember correctly you need the framework-res apk too, somewhere from the /system/framework.
Here is a thread that might help.
Also, you need to set the right permission for system apps.
Best regards.