Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
mani1999
Old
#91  
mani1999's Avatar
Senior Member
Thanks Meter 37
Posts: 258
Join Date: Dec 2012

 
DONATE TO ME
Default AW: [MOD][HOW-TO] Back to kill for TW ROMs **updated 25 NOV 2012** LSJ #2post

Does anyone know that?

Sent from my GT-N7000 using xda premium
Device.....Samsung Galaxy SII GT-I9100
ROM........Biftor™ ROM v5.2
Kernel......Jeboo v2.0
 
mani1999
Old
#92  
mani1999's Avatar
Senior Member
Thanks Meter 37
Posts: 258
Join Date: Dec 2012

 
DONATE TO ME
Could PLEASE someone tell me where to find a tutorial of how to make a "hold menu button to kill" or what to change in this tutorial that I have a "hold menu button to kill".
Thanks....
Device.....Samsung Galaxy SII GT-I9100
ROM........Biftor™ ROM v5.2
Kernel......Jeboo v2.0
 
xfahim
Old
#93  
Member
Thanks Meter 1
Posts: 37
Join Date: Aug 2012
Location: Dhaka, Bangladesh
Using Xperia Go ICS .54fw,

Tried to do as you said but no success. Got bootloop twice. maybe because its Sony and your code is for Samsung.

I attached my phones android.policy if you can modify this? Please?
Attached Files
File Type: jar android.policy.jar - [Click for QR Code] (130.5 KB, 5 views)
Xperia Go ST27i
Stock JB 4.1.2 [Modded] (Overclocked to 1.15GHz)
Munjeni's Kernel
FW 6.2.A.0.400
Rooted: Yes
Bootloader Unlocked: Yes
 
mani1999
Old
#94  
mani1999's Avatar
Senior Member
Thanks Meter 37
Posts: 258
Join Date: Dec 2012

 
DONATE TO ME
How do I do this on XWLSD?
Device.....Samsung Galaxy SII GT-I9100
ROM........Biftor™ ROM v5.2
Kernel......Jeboo v2.0
 
Josehg
Old
(Last edited by Josehg; 20th February 2013 at 03:24 PM.) Reason: Messages not sent
#95  
Member
Thanks Meter 21
Posts: 43
Join Date: Jul 2012
Quote:
Originally Posted by mani1999 View Post
Could PLEASE someone tell me where to find a tutorial of how to make a "hold menu button to kill" or what to change in this tutorial that I have a "hold menu button to kill".
Thanks....
Check you pm

Messages are not sent, I tried five times, is your inbox full?
 
mani1999
Old
#96  
mani1999's Avatar
Senior Member
Thanks Meter 37
Posts: 258
Join Date: Dec 2012

 
DONATE TO ME
Quote:
Originally Posted by Josehg View Post
Check you pm

Messages are not sent, I tried five times, is your inbox full?
Thanks very much I got all your messages I'm trying right now....
Device.....Samsung Galaxy SII GT-I9100
ROM........Biftor™ ROM v5.2
Kernel......Jeboo v2.0
 
sirkula
Old
(Last edited by sirkula; 30th March 2013 at 10:50 PM.)
#97  
sirkula's Avatar
Senior Member
Thanks Meter 29
Posts: 541
Join Date: Dec 2008
Location: Sarajevo
I tried reading and understanding what and how to do it but still not sure ...I'm not asking for the easy way out but here is my "android.policy.jar" if you could do it for me, don't wanna f*** something up . I'm on stock odexed LSJ....

Thanks
Attached Files
File Type: jar android.policy.jar - [Click for QR Code] (313 Bytes, 4 views)
 
daveyannihilation
Old
(Last edited by daveyannihilation; Today at 02:18 AM.)
#98  
daveyannihilation's Avatar
Senior Member
Thanks Meter 200
Posts: 275
Join Date: Apr 2012
Location: Perth
Fantastic tutorial as always Mirko. Bravo!

How would I go about changing the toast text that pops up when you kill an app? At the moment it says 'force app to close' but I can't find that string anywhere. I would like something which was implemented in JKay's Deluxe Framework - when you killed an app with the back button, the toast text would pop up and say 'Killed: Messaging' or whatever the name of the app is that you killed.

Would this be implementable? Any advise on how I could do that please?

Thanks again mate.

All the best,

Dave

Edit: I kinda figured out how to do it, but it didn't work properly.

I added a new string into framework-res/res/values/strings which was 'Killed: %1$s' which I thought would display the name of the app after looking at some other strings. Then I recompiled framework-res and decopiled it again. Then I looked in /red/values/public and searched for the id of the new string I created.
Then in PhoneWindowManager$KillConcept.smali I just changed the old value to the new one and voila - it worked... kind of.

After pushing the new mods to my phone, I opened an app and held down the back button and the toast message displayed as 'Killed: %1$s' haha dammit. So I need to know what to replace the '%1$s' in the string with. If someone knows what to put there, I can get it to work.

Thanks in advance.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...