Disable Long Press Menu Kill app - T-Mobile, Samsung Galaxy SIII

This is specifically for Wicked ROM v10, v9.1 Galaxy S3:
(Remember, always do a nandroid backup)
To disable Long Press Menu Kill app
1. Copy "android.policy.jar" to your phone
2. Use Root Explorer copy "android.policy.jar" and navigate to:
"/system/framework" paste and overwrite the file.
(If it gets frozen, you might have to do hard reset - pull battery)
or hold down "volume up + home button + power button until power off,
then release volume up + home button while still holding power button.
Best option if above doesn't work...(might work on other ROMs)
Best option is to download ROM and open with winzip or winrar,
Navigate to "/system/framework" replace "android.policy.jar" and install rom. (long press menu kill will be gone)
If you want really nice toggles (see attached picture)
navigate to /system/framework and replace/overwrite "lidroid-res.apk"
If you want to replace shutdown animation for stock animation:
navigate to /system/media/video/shutdown and replace/overwrite "shutdown.qmg"
Bootup animation is located at "/system/media"
file named bootanimation.zip - change to your liking...
Mod edit: Attachment removed

@all, I would not download anything this guy has posted!
Sent from my SGH-T999 using xda premium

There are several problems with your instructions. Please learn how to make something flashable before releasing it. Imo, there is no reason to do this the way you wrote it. There are several, much better, much easier, and much safer ways to do this.
Also, is this your own work? Or did you pull it from another rom?
Lastly, be careful not to post paid apps here. This isn't pirate bay or some warez site.
Sent from my SGH-T999 using xda premium

Please read forum rules about using work of others
Seek permission
Post credits

Related

[Theme] to 2.3.4 [XXKPH] by aloha_neko

Non-Deodexed for it.
I can ride on the theme of 2.3.4 [XXKPH] view. (The fact mixed with port of DarkSimplify Theme UOTkitchen).
I want to try it in the comments of my post. That's me.
I did not have much computer knowledge. Try to do so.
credits to: ingbrzy & mancunianec boards of xda-developers.com.
Way down.
1. Download it and save the file. Zip into the memory card. (No extract).
2. Restart your computer into recovery mode (press power on it. The screen lights up, immediately press the HOME + Vol. hold up so well into recovery mode).
3. Download files from the sd card.
4. แpe wait until I have it done then. reboot the machine.
5.enjoy! (5555 ending in a cracking game.)
Files theme:.
Download
If u like my Share..pls hit thanks..
Good to try..
thanks..
Request
Please i really want to know how do you changed the notification bar as in your 2nd image..
Deodex version please...
___________________________
Galaxy Ace GT-S5830
CodeRom v1 with Darktremor
shanychowdri said:
Please i really want to know how do you changed the notification bar as in your 2nd image..
Click to expand...
Click to collapse
Just download the file and install in recovery mode as describe in first para..
Just remember that -
a) It is for KPH 2.3.4
b) It is for Odex firmware..if you have deodex..then this them will not work..
Thats all..
Works great thanks...
Sent from my GT-S5830 using XDA Premium App

***Stock ET4G Theme*** (deoxeded) Updated 09-29-2011

In the interest of Community and Theming in general I wanted everyone to have the Stock Framework so you could revert back if you so choose... Also themers please feel free to use the zips here to build your themes (they update System UI correctly). ANYONE can use this or any of my work... It's all about sharing in my opinion. Thats what ANDROID is all about... LET THE THEMING BEGIN!!
Instructions
1. You MUST have a deoxeded Rom.
2. After downloading the zip Put the zip in your phone files (not IN a file on the root or you phones file system (hint it shows as a disk when you hook up to your pc via usb).
3.. Go into recovery CWM (I use quickboot which is great and FREE on the market so i can go directly into recovery without shutting the phone off).
a.Start by turning the phone OFF.
b. Hold the volume up (or louder) button down. Then press the power at the same time and hold them both down. It boots into recovery CWM (its ORANGE in color)...
4. Using the up/down (volume buttons) navigate to "install zip from sdcard" (hopefully you've already put the zip in your phone files, see #2), once its highlighted hit the power button.
5. Using the up/down (volume buttons) navigate to "choose zip from sdcard" and once its highlighted hit the power button.
6. Using the up/down (volume buttons) navigate to the zip you put on your phone and once its highlighted hit the power button.
7. Using the up/down (volume buttons) navigate to " Yes - Install "whatever your zip is.zip" and once its highlighted hit the power button.
8. LET IT DO IT'S THANG. Once it's done at the bottom it will say "Install from sdcard complete."
9. Using the up/down (volume buttons) navigate to "+++++Go Back+++++" and once its highlighted hit the power button.
10. Using the up/down (volume buttons) navigate to "reboot system now" and once its highlighted hit the power button.
11. HOLY CRAP BATMAN YOU ARE DONE!!
Thats all there to applying themes (zips) or Roms (that are zips).
Stock Theme ET4G (no %) : http://www.mediafire.com/?b2pgm7gpkbb8bcs
Stock Theme ET4G (HAS %, keep in mind if your Rom DOES NOT have the 1 percent increments your battery will no look right...): http://www.mediafire.com/?v2x3gw7a5ja2kr5
***** These Themes ONLY change the SystemUI.apk (which its needs to change to revert to stock). NO OTHER APPS are CHANGED*****
Updated 09-29-2011!
FULL Theme W/Apps (these will RESTORE ALL original apps so whatever you don't want just use 7zip and open the system/apps and delete)
Stock Theme ET4G (no %) : http://www.mediafire.com/?nk2uae6etyfqcau
Stock Theme ET4G (HAS %, keep in mind if your Rom DOES NOT have the 1 percent increments your battery will no look right...): http://www.mediafire.com/?415ej14z42iteep
Thank you! I may actually root now. :-D
_Burst_ said:
Thank you! I may actually root now. :-D
Click to expand...
Click to collapse
Actually its safe now... been rooted a couple of days now Burst... GREAT battery life... If you don't root WE will be missing out on your talents!!
Welcome to the forums! I can't wait to try your theme.
Samsung Galaxy S II
stangdriverdoug said:
Welcome to the forums! I can't wait to try your theme.
Samsung Galaxy S II
Click to expand...
Click to collapse
Well thank you... Its great to be here!!
Added Stock themes with apps....
Thanks, this is great!
Sent from my Samsung Epic Touch 4G
This replaces my framework-res and twframework-res, but not my Systemui.apk. I believe it may have something to do with the updater script.
Thanks though .
EDIT: Nevermind, somehow I've accidentally placed my systemui.apk inside my framework folder, so it now overrides my current one in system/app. How on earth does one reverse this? LOL!
Overstew said:
This replaces my framework-res and twframework-res, but not my Systemui.apk. I believe it may have something to do with the updater script.
Thanks though .
EDIT: Nevermind, somehow I've accidentally placed my systemui.apk inside my framework folder, so it now overrides my current one in system/app. How on earth does one reverse this? LOL!
Click to expand...
Click to collapse
LOL to funny...
brkear1967 said:
LOL to funny...
Click to expand...
Click to collapse
I was comparing our zips (my ObsidianRed) and I have my framework and app folders under system while yours is just in the root of the folder. Is your updater script edited to work that way? It's interesting because it's different.
Overstew said:
I was comparing our zips (my ObsidianRed) and I have my framework and app folders under system while yours is just in the root of the folder. Is your updater script edited to work that way? It's interesting because it's different.
Click to expand...
Click to collapse
You know... I'm not sure because I used my old uot evo update script (which always works) on these... go figure... Maybe you could use my update zip???

[MOD] Volume Wake

I got so used to using the volume rocker to wake my DHD and show the lockscreen instead of the power button that i decided to try and add the same functionality to the OneX. The only caveat with this is that sometimes the volume slider shows up when it wakes, but i can live with that
Hopefully, in time, the ROM devs will add this in by default or as an option. Until then it'll require these manual mods...
Don't try the following if you're unsure what you're doing as you could potentially break the ROM if not done correctly. I recommend backing up first in Clockwork Recovery in case things go wrong.
I accept no responsibility for any issues encountered making these changes!
Requirements
Rooted phone
Android-SDK
baksmali/smali from here
Step 1 - Update android.policy.jar
1. Do the following to get the android.policy.jar from your phone and disassemble it
Code:
adb pull /system/framework/android.policy.jar .
baksmali -x android.policy.jar -o classout
2. Open the following file in a text editor
Code:
classout/com/android/internal/policy/impl/KeyguardViewMediator.smali
3. Find the method "isWakeKeyWhenKeyguardShowing(IZ)Z"
4. At the bottom of the method, there's a switch statement. Remove the following 2 lines from it:
Code:
0x18 -> :sswitch_5
0x19 -> :sswitch_5
5. Save the file and close it.
6. Run the following commmand to re-assemble classes.dex
Code:
smali classout -o classes.dex
7. Drag the classes.dex into the android.policy.jar file to update the file in there.
8. Push the updated android.policy.jar back to the phone
Code:
adb push android.policy.jar /sdcard/
adb shell
su
sysrw
cp /sdcard/android.policy.jar /system/framework/
chmod 644 /system/framework/android.policy.jar
Step 2 - Update Generic.kl
1. Pull the file from your phone
Code:
adb pull /system/usr/keylayout/Generic.kl
2. Open it in a text editor and change the lines
Code:
key 114 VOLUME_DOWN
key 115 VOLUME_UP
to
Code:
key 114 VOLUME_DOWN WAKE_DROPPED
key 115 VOLUME_UP WAKE_DROPPED
3. Push the file back to your phone
Code:
adb push Generic.kl /sdcard/
adb shell
su
sysrw
cp /sdcard/Generic.kl /system/usr/keylayout/
chmod 644 /system/usr/keylayout/Generic.kl
(of course, you could also make those changes to the file directly using a root file explorer app and text editor.)
Step 3
Reboot the phone.
Note: The first time it boots after changing android.policy.jar, there'll be an 'Android is upgrading' dialog. This is normal and it won't happen on subsequent reboots.
How if I play music in off screen mode adjusting the volume?
w1nter456 said:
How if I play music in off screen mode adjusting the volume?
Click to expand...
Click to collapse
It'll still work, but the screen will wake too.
thanks much. I need this feature much.
One question, is this change use up volume or down volume or both will work?
Am I correct that this mod will work only on deodexed android.policy.jar ?
mmx6688 said:
thanks much. I need this feature much.
One question, is this change use up volume or down volume or both will work?
Click to expand...
Click to collapse
Yep, it'll work for both.
ckpv5 said:
Am I correct that this mod will work only on deodexed android.policy.jar ?
Click to expand...
Click to collapse
Yep, the above steps are for de-odexed ROMs, but you may still be able to disassemble if you pull the jar and odex and run baksmali on android.policy.odex. If you get errors trying that then pull everything from the /system/framework folder and try it again
Annoyingly, i've just noticed that once the phone goes into a 'deep sleep', the volume buttons don't always wake it. Sometimes they'll work after a double press sometimes it needs to be the power button :-\
Thanks it worked on my device. And I have added your mod to my mod pack for easy enabling and disabling
any kind person can help to make it into a flashable zip?
ck_looi said:
any kind person can help to make it into a flashable zip?
Click to expand...
Click to collapse
+1 10 chars
Would it in theory be possible to use the home button to wake the phone or is that impossible because the buttons don't work when the screen is off?
I have wake on TP on my Desire now.
mgmCube said:
Would it in theory be possible to use the home button to wake the phone or is that impossible because the buttons don't work when the screen is off?
I have wake on TP on my Desire now.
Click to expand...
Click to collapse
Not possible as the buttons don't work when the screen is off.
And when the phone goes to deep sleep mode, volume button to wake it not really works (tried both on odex and deodex ROMs).
Totally eager to try this out.
I'm using the LC ModPack 2.1.0 and this doesn't work
ckpv5 said:
Not possible as the buttons don't work when the screen is off.
And when the phone goes to deep sleep mode, volume button to wake it not really works (tried both on odex and deodex ROMs).
Click to expand...
Click to collapse
Ok so this volume unlock doesn't really work when in deep sleep?
This isn't mentioned in the first post.
So what if I use this volume unlock and disable the power button, then I have a problem after deep sleep?
mgmCube said:
Ok so this volume unlock doesn't really work when in deep sleep?
This isn't mentioned in the first post.
So what if I use this volume unlock and disable the power button, then I have a problem after deep sleep?
Click to expand...
Click to collapse
Yeah... most of the time it doesn't work when in deep spleep. OP mentioned this on post #6 too.
With volume to wake (not unlock, you still need the swipe up to unlock), and disable the power button, you will have problem to wake and unlock when it goes deep sleep. When you have this problem, the only way to wake it is to plug-in a usb cable or charger as it will wake the phone, then you can unlock.
Well then.. I think its better to disable it as it does messes up my volume levels even if it doesnt wake up the device..
Any chance of a full feature here? Coz the phone is expected to go into deep sleep most of the time..
Sent from my HTC One X using XDA
Jumping in here real quick, i dont (unfortunately) have an amazing all powerful OneX but i do have an HD2
Anyhow, im posting in regards to the isWakeKeyWhenKeyguardShowing(I)Z method in the KeyguardViewMediator.smali file found in android.policy.jar. I already have the volume wake keys set via cyanogen mod, my question is this:
How can i ADD keys to this file to prevent the device from waking?
I tried converting the hex values from that file but they dont correspond with any key values (ex, volume down is 115) but 0x18 is 24, decimal value, so im not sure exactly what numbers must be added to correspond to the correct key.
Thanks all for your efforts and time spent reading!
Thank you for the guide. I don't have Generic.kl on my Motorola XT530, so I think I might need to fiddle round with the .kl files to see if I can get this mod working.
I had to modify my process slightly, so I'll explain what I did in case it may be of help to anyone else.
1. To copy android.policy.jar to my PC, I used Android Commander. It's nice and simple. Make sure you make a back up of android.policy.jar before you modify it in case you need/want to restore it.
2. Use Command Prompt and navigate to the folder in which android.policy.jar is located. For example:
Code:
cd C:\Android\temp
3. Disassemble classes.dex using the following command:
Code:
java -jar baksmali-1.3.2.jar -x android.policy.jar -o classout
4. Edit and save KeyguardViewMediator.smali as per the original post.
5. Reassemble classes.dex using the following command:
Code:
java -jar smali-1.3.2.jar classout -o classes.dex
6. Open android.policy.jar with 7-Zip (any archive manager should work) and replace classes.dex with the modified one.
7. Use Android Commander to replace android.policy.jar on phone.
8. Edit Generic.kl as per original post. I don't have Generic.kl on my phone, so I just left-out this step. I figured I could poke around the .kl files later if need be. I haven't done so yet.
9. Reboot.
Note: The filenames for baksmali-1.3.2.jar and smali-1.3.2.jar may be different if you have a different version. Simply adjust the commands above accordingly.
HTC Ones S --Works
Was looking for this on the HOS forums but found this close enough instead. Prob everyone knows this, but I did this same setup on my one s (t-mo-us) version, and it stuck. So thanks for this nice little tweak. Good to know dev's have our backs in everything.
this was much appreciated for my inc2!
we got a new kernel and messed up it working in the tweaks app, so this really saved me, I didn't realize the Generic.kl needed to be updated.
thanks again!
in defy, it's umts_jordan-keypad.kl instead of Generic.kl (doesn't exist).

Samsung Galaxy SIII Softkeys for GNEX - Alpha

I made the Samsung Galaxy S3 hardkeys to Galaxy Nexus Softkeys.
Flashable with Metamorph or do it manually.
Did not try it, hope someone else can do it because my GNEX is in reperature.
Please post some screens if you flash it, so I can see and make it better, some updates etc.
DOWNLOAD LINK: http://www.file-upload.net/download-4445951/GalaxyS3SoftgeysForGNEX.zip.html
Tutorial:
MetaMorph
Download and install MetaMorph from the Market, open it at least once so that the folder AndroidThemes will be created on /sdcard/
Download a Softkey Style using the MetaMorph link and move this .zip file to /sdcard/AndroidThemes using your favorite file explorer
Open MetaMorph, choose "Unzip/Extract new theme" and select the .zip file you downloaded. A popup screen will appear, meaning it has been extracted. Press the "Close" button.
Hit the "Apply all!" button and wait +/- 5 seconds (nothing will happen)
Reboot your phone immediately after this and you're done! Oh, and set a new wallpaper because it may be restored to default..
(Phone can hang in "SystemUI has been ended". Just pull out battery and restart phone.
2. Advanced (Hard) Method - Edit the SystemUI.apk from your phone - thanks to bangdrum! Not working for everybody!
Download and install Root Explorer from the Market and make a Nandroid backup
Download the softkeymod you like
Open Root Explorer and navigate to /system/app/, find SystemUI.apk, long press, and select extract. Go to the folder sdcard/speedsoftware/extracted and make sure you have a folder that's called SystemUI
If the folder is there navigate to where you downloaded the chosen softkeymod (usually sdcard/download) and long press it. Select extract all. Go to sdcard/speedsoftware/extracted and there should be a folder with the name of the softkeymod.
Click on this folder, and also on the next. Hit the menu key and press 'Multi Select'. Highlight all the images included in the folder and select 'Move' at the bottom. Navigate back to the SystemUI folder, go to SystemUI/res/drawable-xhdpi and 'Paste' here. A command prompt should pop up asking to replace the current images. Select 'Yes For All'
Go back to the sdcard/speedsoftware/extracted folder, long press the SystemUI folder and select 'Create ZIP'
Rename the created SystemUI.zip to SystemUi.apk and move the SystemUI.apk to your /system/app folder. Change permissions of SystemUI.apk to rw-r--r--
Reboot your Galaxy Nexus (pull battery out and reboot, this is an essential step) and your softkeys will be modded!
Credits to: atticus182 (http://forum.xda-developers.com/showthread.php?t=1413582) for tutorial and search button !
I have the download fail a couple times before it takes but then it says bad .zip file...mind just posting the .PNG images her so us folks on AOKP can just plug them in through ROM control.
This^^
here is the link for the png-pictures for CDMA users:
http://imageshack.us/g/513/icsysbarback.png/

[Q] A zip that deletes the manual and quick start from NST?

Hello there,
I have a simple question, I'm sure most of you developers know how to help us all.
I have a NST not rooted (I don't really need for mods and stuff) but I would like to get rid of the manual and the quick start guide that really annoys me.
Is it possibile to create a zip (maybe an img would be even better) that starts ClockworkmodRecovery and then that includes a flashable zip that deletes the 2 epubs?
So that everyone can delete them once and for all. :laugh:
Let me know if I can help you.
Perhaps it would be better to download and install a root explorer (such as ES File Explorer) and use it to browse and delete these epub files.
Sent from my Nexus 7 using Tapatalk 4 Beta
mikey242 said:
Perhaps it would be better to download and install a root explorer (such as ES File Explorer) and use it to browse and delete these epub files.
Sent from my Nexus 7 using Tapatalk 4 Beta
Click to expand...
Click to collapse
well, that includes rooting, installing a launcher, installing a program...
i thought that a zip that does it without rooting and without anything permanent on the device would be better.
borzowsky said:
well, that includes rooting, installing a launcher, installing a program...
i thought that a zip that does it without rooting and without anything permanent on the device would be better.
Click to expand...
Click to collapse
I make what you asked for, find it enclosed. It is a zip update for CWM. I guess you know how to proceed but I've left instructions below for those who face this issue for first time:
1. Make a backup of your NST with noogie following this instructions.
2. Download the file enclosed within this post.
3. Burn 2gb_clockwork-rc2.img file to be written on a SD-Card using Win32DiskImager or dd on linux.
4. Open the SD-Card (where you burn 2gb_clockwork-rc2.img) and copy the DeletingEpubGuides.zip on the SD-Card.
5. Power down and insert the SD-Card on the NST.
6. Press the power button for 3 seconds, so that the device boots (you don't have to hold the power button after the 3 seconds)
7. As soon as the display changes to the "CWM logo" screen, push and hold the lower left and the lower right button until the screen changes again. Wait until you see the recovery. Hence, you'll be already booted into Clockworkmod recovery (Button layout: Both Buttons on the left: BACK / Upper button on the right: UP / Lower button on the right: DOWN / n button: SELECT / Power button: TOGGLE DISPLAY).
8. Install through CWM recovery the DeletingEpubGuides.zip update placed on the SD-Card. When you'll read "Done" press power button during 10 second and eject the SD-card.
9. Press power button to turn on the nook to let the devices open commonly.
I've just tested it over my NST v1.1.2 and works without problem.
Best.
kuskro said:
I make what you asked for, find it enclosed. It is a zip update for CWM. I guess you know how to proceed but I've left instructions below for those who face this issue for first time:
1. Make a backup of your NST with noogie following this instructions.
2. Download the file enclosed within this post.
3. Burn 2gb_clockwork-rc2.img file to be written on a SD-Card using Win32DiskImager or dd on linux.
4. Open the SD-Card (where you burn 2gb_clockwork-rc2.img) and copy the DeletingEpubGuides.zip on the SD-Card.
5. Power down and insert the SD-Card on the NST.
6. Press the power button for 3 seconds, so that the device boots (you don't have to hold the power button after the 3 seconds)
7. As soon as the display changes to the "CWM logo" screen, push and hold the lower left and the lower right button until the screen changes again. Wait until you see the recovery. Hence, you'll be already booted into Clockworkmod recovery (Button layout: Both Buttons on the left: BACK / Upper button on the right: UP / Lower button on the right: DOWN / n button: SELECT / Power button: TOGGLE DISPLAY).
8. Install through CWM recovery the DeletingEpubGuides.zip update placed on the SD-Card. When you'll read "Done" press power button during 10 second and eject the SD-card.
9. Press power button to turn on the nook to let the devices open commonly.
I've just tested it over my NST v1.1.2 and works without problem.
Best.
Click to expand...
Click to collapse
thank you very much, is it working on 1.2.1?
what is the path of the files that are deleted?
borzowsky said:
thank you very much, is it working on 1.2.1?
what is the path of the files that are deleted?
Click to expand...
Click to collapse
/system/media/books/
Success! (1.2.1)
borzowsky said:
thank you very much, is it working on 1.2.1?
what is the path of the files that are deleted?
Click to expand...
Click to collapse
I'm running 1.2.1, and I found them at /system/assets/userguides/standard/ . (There's also a /glowlight/ folder in the /userguides/ directory, FWIW.)
EDIT: However, deleting them there doesn't seem to remove them from the library. And I can't find the /system/media/books folder. Hmmm...
EDIT AGAIN: Also found them in /data/cloud_assets/books/userguides . Deleting, rebooting, and will report back here if that did it.
LAST EDIT I SWEAR: SUCCESS! Deleting them from all the locations listed above made them vanish from the library.

Categories

Resources