[DEV][MODDING] CRT, Airview, 4-way reboot, ink effect, phone, sms..etc [9/Dec/2013]

majdinj

Senior Member
Nov 25, 2006
980
3,437
0
AlAhsa
I see you guys overwhelming with torch home button,,, this mod has a lot to change in smali files:
1. smali/com/android/internal/policy/impl/KeyguardViewMediator$4.smali
2. smali/com/android/internal/policy/impl/KeyguardViewMediator.smali
3. smali/com/android/internal/policy/impl/PhoneWindowManager.smali

I have some troubles with my research project (oh dear!!!); I will try to post here as soon as possible but in the meanwhile we could all of us look at these changes by comparing these files with stock LSZ android.policy.jar; personally I use notepad++ with compare plugin, you have to pay attention to each cond code and so you could link them with each other using same cond!!!

GOOD LUCK
 
  • Like
Reactions: hara74

ezaechiel

Senior Member
Mar 19, 2013
1,017
1,032
0
Issou
team.5n0w.fr
I see you guys overwhelming with torch home button,,, this mod has a lot to change in smali files:
1. smali/com/android/internal/policy/impl/KeyguardViewMediator$4.smali
2. smali/com/android/internal/policy/impl/KeyguardViewMediator.smali
3. smali/com/android/internal/policy/impl/PhoneWindowManager.smali

I have some troubles with my research project (oh dear!!!); I will try to post here as soon as possible but in the meanwhile we could all of us look at these changes by comparing these files with stock LSZ android.policy.jar; personally I use notepad++ with compare plugin, you have to pay attention to each cond code and so you could link them with each other using same cond!!!

GOOD LUCK
That's what I do and it's very very very tricky lol.
 
  • Like
Reactions: majdinj and hara74

hara74

Senior Member
Feb 9, 2012
1,409
632
0
46
Herrstein
sorry guys that´s to high for me little themer (copy and past) :crying:

this is work for the pro´s around here ;)

have to wait for a clear and exact "how to" :fingers-crossed:
 

maskerwsk

Senior Member
Dec 13, 2011
1,479
1,588
0
Sheffield
first I wanna thank u for ur guide,

but unfortunately it´s the same,
I replaced the seven files from Rocket to Energy and the torch is working,
but the menu button now starts the search function not kill apk anymore :crying:

but it´s not so important, maybe Eybee or Robbie will post a how to in future,
or even you find the time to make it :fingers-crossed:

so thanks again
The menu to kill mod is in phonewindowmanager.smali so if you replaced yours with the one from rocket it will have gone

Edit - ive attached the 2 files with lockscreen torch and long press menu to kill app added from my rom.
just download file, extract it and copy both files into androidpolicy and recompile :)
 

Attachments

Last edited:
  • Like
Reactions: hara74

hara74

Senior Member
Feb 9, 2012
1,409
632
0
46
Herrstein
The menu to kill mod is in phonewindowmanager.smali so if you replaced yours with the one from rocket it will have gone

Edit - ive attached the 2 files with lockscreen torch and long press menu to kill app added from my rom.
just download file, extract it and copy both files into androidpolicy and recompile :)
Thanks m8,
Will try later ;)

sent from my G-Note
 

hara74

Senior Member
Feb 9, 2012
1,409
632
0
46
Herrstein
@ maskerwsk

I did what u said, copied over the two files into the android.policy.jar and recompiled it,
put it into Note and
Kill App is working again :good:
but now the Torch at Lockscreen is gone :crying:
maybe u use a different Torch.apk :confused:
or it´s something else with the Energy Bean jar

but thanks anyway
 

maskerwsk

Senior Member
Dec 13, 2011
1,479
1,588
0
Sheffield
@ maskerwsk

I did what u said, copied over the two files into the android.policy.jar and recompiled it,
put it into Note and
Kill App is working again :good:
but now the Torch at Lockscreen is gone :crying:
maybe u use a different Torch.apk :confused:
or it´s something else with the Energy Bean jar

but thanks anyway
Did you use the other files from rocket rom? U need to do what is outlined in the tutorial above (copy over the 7 files). But then copy in the 2 files i provided
 
  • Like
Reactions: hara74

hara74

Senior Member
Feb 9, 2012
1,409
632
0
46
Herrstein
Did you use the other files from rocket rom? U need to do what is outlined in the tutorial above (copy over the 7 files). But then copy in the 2 files i provided
no I didn´t, tried only ur two files :(

but now I copied all 7 files what´s recommended and also ur two files into my Energy Bean android.policy.jar, recompiled,
copied over to my note, set permissions and owner and rebooted
and
tada, all is working, on lockscreen the torch by pressing the Homebutton
and also Kill App by pressing the Menubutton

so all is fine now

a big thanks to all who helped me to sort it out :good: :D :laugh:
 

maskerwsk

Senior Member
Dec 13, 2011
1,479
1,588
0
Sheffield
no I didn´t, tried only ur two files :(

but now I copied all 7 files what´s recommended and also ur two files into my Energy Bean android.policy.jar, recompiled,
copied over to my note, set permissions and owner and rebooted
and
tada, all is working, on lockscreen the torch by pressing the Homebutton
and also Kill App by pressing the Menubutton

so all is fine now

a big thanks to all who helped me to sort it out :good: :D :laugh:
Glad u got it in end bud ;)
 
  • Like
Reactions: hara74

hara74

Senior Member
Feb 9, 2012
1,409
632
0
46
Herrstein
Glad u got it in end bud ;)
yup :laugh: (but not without your, ezaechiel, kmokhtar79 and majdinj help)

maybe majdinj could post the 7-9 files for other users who like to have both,
Torch on Lockscreen and Kill App (I love both :p)
till we get a exact "how to" :fingers-crossed:

but that´s only a suggestion ;)
 
Last edited:

majdinj

Senior Member
Nov 25, 2006
980
3,437
0
AlAhsa
yup :laugh: (but not without your, ezaechiel, kmokhtar79 and majdinj help)

maybe majdinj could post the 7-9 files for other users who like to have both,
Torch on Lockscreen and Kill App (I love both :p)
till we get a exact "how to" :fingers-crossed:

but that´s only a suggestion ;)
Yep it is a good suggestion for GT-N7000 users of JB 4.1.2, it will be tacking in mind if I couldn't succeed finding the way how :p

Cheers

Edit 1:
I am working on it (LockScreen Torch mod) right now and I will give you the results after I finish.. stay tune
 
Last edited:
  • Like
Reactions: hara74

ezaechiel

Senior Member
Mar 19, 2013
1,017
1,032
0
Issou
team.5n0w.fr
LockScreen Torch
Added to post # 74 here:
http://forum.xda-developers.com/showpost.php?p=35727915&postcount=74

There will be a separated thread as well in app/theme section for those who search xda for this mod.. :fingers-crossed:

Stay safe
Cheers
Wow, nice tuto and fast writing ^^. You're the best.

I have a question, is there a tutorial guide for kill apps button ? Is it planned or not at all?

I know I ask too much but since I followed your guide, my custom is more efficient thanks to you ;)
 

ezaechiel

Senior Member
Mar 19, 2013
1,017
1,032
0
Issou
team.5n0w.fr
The one with menu button ^_^, those we talked some posts before with PhoneWindowManager.smali and PhoneWindowManager$KillConcept.smali

The long press to kill apps :D

Forget about my request I'll make a diff between original and modified files :D