Hello everyone
I present you a modified Phone.apk that features auto-rotation not just in the dialpad, but also in the Phone application itself while in call.
Ruksak - Maybe this one helps you feel better?
All the coding/modification work here was done by pawitp.
What is it:
Based on XWKE2/7 Phone.apk (original attached).
Adds autorotation to Phone.apk
Tested on rooted SGS II with KE2/7
All the work was done by pawitp, I only supplied the original files and tested.
Sources : Smali diff can be found here : http://sprunge.us/hPSK?diff and also attached as text file incase link goes down.
Enjoy.
Prerequisites :
XWKE2/7 Rom
Rooted
Busybox
ADB access to your phone via WIRE incase something goes wrong.
You need to understand that if anything goes wrong, You might need to restore the Original (attached) Phone.apk and Phone.odex files, if you fail doing that, you will have to reflash the PDA file of your firmware.
Myself or Pawitp will not take any responsibility of the results of what might happen to your phone while using this MOD.
Install Guide With ADB : (Or if you have Root explorer, you can do this)
Copy Phone - KEX - Modified.apk to your SDCARD, and rename it to Phone.apk (KEX should be replaced with your version, either KE2 or KE7)
Using ADB shell (or any other way) do the following :
Mount system as RW (busybox mount -o remount,rw /system)
Delete Phone.odex from /system/app (rm /system/app/Phone.odex)
copy over the modified Phone.apk to /system/app (cp /sdcard/Phone.apk /system/app/Phone.apk)
sync
reboot
enjoy.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
awesome thanks.
This is very cool; but I'm not comfortable doing the command line stuff
Any chance someone can create an installer for this?
Can OP make the Dialer MultiDPI similar to the below thread?
http://forum.xda-developers.com/showthread.php?p=10179367
Thanks
That actually looks awesome. Nice work!
Sent from my GT-I9100 using Tapatalk
Pawitp said he will be very busy, and won't have time for special features.
It is what it is, About installer, there is still no CWM for SGS II, So you will have to use the specified method. Sorry guys.
Maybe ask Pulsar to integrate this into his app
I guess doing it via Root Explorer will work just fine?
Can confirm works perfectly via Root Explorer, so simple, just copy the modded apk first, browse to system/app and mount as R/W then delete phone.odex and paste phone.apk overwriting the exiting one. Set the permissions to match the original and mount as R/O again and reboot.
Excellent mod thanks, this will be very handy when in the car
robbiekhan said:
Can confirm works perfectly via Root Explorer, so simple, just copy the modded apk first, browse to system/app and mount as R/W then delete phone.odex and paste phone.apk overwriting the exiting one. Set the permissions to match the original and mount as R/O again and reboot.
Excellent mod thanks, this will be very handy when in the car
Click to expand...
Click to collapse
Great
Added your post as reference to 1st post.
KE7 version was added (OP), Enjoy
As always, Credits are due to Pawitp.
I just used the KE2 version on KE7 allt his time, looks like the sizes are different so I wonder what the changes are between the versions!
Anyway, updated cheers
Thanks! Just what I was looking for for when I'm driving and my phone is docked
Tested it on "Lite'ning Rom v1.0" (KE7) with RTL fix for Hebrew and can confirm that it's working great!
Very nice work
thank very much
not rotating
when i call someone or someone me...phone.apk doesnt rotate
i mean before answering the phone or before someone answers me, even during a call
BoneMo said:
when i call someone or someone me...phone.apk doesnt rotate
i mean before answering the phone or before someone answers me, even during a call
Click to expand...
Click to collapse
Same here. Literally only the dialer screen rotates, not the screen where you answer/call somebody.
Maybe this can be fixed because it's quite a shame indeed!
Pfeffernuss said:
Same here. Literally only the dialer screen rotates, not the screen where you answer/call somebody.
Maybe this can be fixed because it's quite a shame indeed!
Click to expand...
Click to collapse
Try the KE2 one, but I think they both work.
It works for me...
great job,but this mod killing VideoCall
Anyone can confirm this??
THANKS, perfect apk
and for KF2 please ?
Works great! phone.apk was the last app that didn't run in landscape. Handy for in my car.. (I used the method with root explorer) Thanks a lot!
Related
Well I am now finally going to create my first theme and I am getting myself pretty familiar with everything but I had a question...
I know the stuff that cannot be messed with and all seeing as how I am working with the cm builds but would anyone know where I could find the terminal stuff. I wanted to change up that icon if I could to something a little more theme filling?
Thanks in advance and as soon as I get something going I will posts images.
brilliant - i for one look forward to seeing you work.
but sorry, can't help you with your Q.
APEX.7 said:
brilliant - i for one look forward to seeing you work.
but sorry, can't help you with your Q.
Click to expand...
Click to collapse
Terminal stuff?
/apps/term.apk has the terminal app 'stuff'
All you can change images wise is the terminal icon basically.
Are you just wanting to change the terminal icon (such as in the drawer?)
If thats the case, open the apps folder in your ROM and find the term.apk and open that. navigate to the drawable folder and the icon is in there.
Thats cool. Thanks for the confidence boost on creating...
Yeah pretty much just the icon...And thanks all for the help
Question...yet again...
I am using the auto signing program and am signing my little beta theme for testing and when I am loading it via the recovery mode I get E:Can't find update script. I am still new so if any help I would appreciate much.
Also should I include the fonts folder just as a precaution. I am not including that in my theme as I know there is the font chooser program out there as well so I figure let people have there own choice in font...again thanks
Yeah you need an update script, which will be found at /META-INF/com/google/android/update-script
and should look like this:
Code:
copy_dir PACKAGE:framework SYSTEM:framework
copy_dir PACKAGE:system SYSTEM:
or something along those lines.
This script is assuming your zip file contains the following structure:
/framework
/system
/system/app
There is a simpler one that only needs to contain the second line and has the structure like this:
/system
/system/app
/system/framework
daveid said:
Yeah you need an update script, which will be found at /META-INF/com/google/android/update-script
and should look like this:
Code:
copy_dir PACKAGE:framework SYSTEM:framework
copy_dir PACKAGE:system SYSTEM:
or something along those lines.
This script is assuming your zip file contains the following structure:
/framework
/system
/system/app
There is a simpler one that only needs to contain the second line and has the structure like this:
/system
/system/app
/system/framework
Click to expand...
Click to collapse
Ah ok...Any idea where I can get that file or folder by chance?
holmes901 said:
Ah ok...Any idea where I can get that file or folder by chance?
Click to expand...
Click to collapse
Here is a completely blank update.zip that has a proper update script in it, drop your files in re-sign, and go.
daveid said:
Here is a completely blank update.zip that has a proper update script in it, drop your files in re-sign, and go.
Click to expand...
Click to collapse
Thanks so much for the download and the help.I should be good to go now so no more worries.
So far what I have for my first
So the screen below shows what I have so far...I am still working on it and hoping I can get the blur transitions into the mix as well as maybe more or better icons...If anyone has a link where I could get the blur transitions from feel free to send my way.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
holmes901 said:
Question...yet again...
I am using the auto signing program and am signing my little beta theme for testing and when I am loading it via the recovery mode I get E:Can't find update script. I am still new so if any help I would appreciate much.
Also should I include the fonts folder just as a precaution. I am not including that in my theme as I know there is the font chooser program out there as well so I figure let people have there own choice in font...again thanks
Click to expand...
Click to collapse
Same problem. Even with the update script in there from the template update folders, I still get this error. I seem to have the resigning working. Any idea how to fix this error?
Here is dena theme for I9000XXJPM
Root your phone
install lagfix
install busybox
Managed to get it working using Android SDK tools. ROOT needed
Connected my phone via usb with the computer ... USB debuging needs to be enabled before connecting the phone.
copy the files included in Dena Theme 1.2 to your internal SD card.
1. adb shell
2. su (grant su rights on your phone when asked)
3. mount -o rw,remount /dev/block/mtdblock3 /system
3. rm system/framework/twframework-res.apk
4. rm system/framework/framework-res.apk
5. rm system/app/settings.apk (if no file is found try Settings.apk ... no ide if it matters tho)
6. busybox cp sdcard/twframework-res.apk system/framework
7. busybox cp sdcard/framework-res.apk system/framework
8. busybox cp sdcard/Settings.apk system/app
Then reboot your phone manually.
So i suggest you bacup the original *.apk`s
Have Fun!!!!
Link:
rapidshare.com/files/426871246/Dena_theme_1.2_for_JPM.zip
New Version for JPO
Link:
rapidshare.com/files/428036654/Dena_theme_v1_3_for_JPO.zip
a screenshot would be nice
Sorry i can not upload pics but it works perfect
Can anyone make an update.zip icluding all these files (framework,twframework,setting.apk) ?
it would be much easyer.
I installed the dena Theme for JP6 on JPM and my phone crashed, i had to flash the JPM aggain.
Is this Version sure for JPM? and what´s the differens btw this and that from dena for JP6??
Hi do not know if I can help but I installed the track chain on galaxy with JPM and luxury goes, I've installed it and tracing the rootexplorer r / o-res.apk framework files, Settings.apk, twframework-res . apk in their folders, the only thing that looks good is the lock screen that goes transparent, but I've replaced by Simply lock screen and is great and the theme is beautiful, the best thing on the Internet for our galaxy .
Well I hope I have helped a little to the creators of such great item, thanks
Not gonna download without a screenshot. :/
small bug
>>Jumba Not gonna download without a screenshot. :/
The screen shot is here
"forum.xda-developers.com/showthread.php?t=770507"
there is a small bug in the theme for JPM tho...the battery animation when charging only animates at a quarter of the circle...not doing the full circle as it should..perhaps the animation sequence is off a little bit...
Without a Screenshot -> no chance
DENA Theme for JPO
rapidshare.com/files/428036654/Dena_theme_v1_3_for_JPO.zip
screenshoot please!
Dont anyone read the threads?
Post 7 quite clearly has a link to the thread with a screenshot.. also theres screenshots throughout the Docs Rom thread.
TrOjAn
this is screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Just downloaded this and its 5mb smaller than JPA... checking to see whats difference
any multiupload mirror please?
Thanks...
TrOjAnUK said:
Just downloaded this and its 5mb smaller than JPA... checking to see whats difference
Click to expand...
Click to collapse
Did you find the difference?
There is no installer script in this, it is just 3 x .apk files.
I will look through them and compare with default .apks, as of this moment I am NOT installing as I dont know the author (7posts) and its not how a theme is normally released.
TrOjAn
I've used Dena's theme with Doc v7 JPA and Doc v6, awesome both times!
Tried installing JPO theme via CWM and it just didn't do anything, just got stuck on installing, didn't progress.
yep,but with XJPO stuck me on CWM
not instaling I dont now why
file is 7mb(view on root explorer)
wirkin nice V6
read first post
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
First screenshot before and other after flashing this moded Phone.apk from Ele's ROM (CM7 final). I've changed Empty-avatar picture and layout in layout/call_card_person_info.xml It must be compatible with any CM7-based ROMs, test it, but make nandroid backup!!
Flash zip from recovery:
Elelinux 7.0.0 v.2.0
Big photo layout
Stock apk
Elelinux-6.2.0-Hero-Speedmachine-v3
Big photo layout
Stock apk
Erasmux's Floyo 1.2.0
Big photo layout Not tested.
Stock apk Not tested.
Press
or/and post your suggestions Have a nice day.
which program u use for xml edit?
BuzzFuzz said:
which program u use for xml edit?
Click to expand...
Click to collapse
1. Use apktool to decompile apk
2. Use _any_ text-editor (I prefer notepad++) to modify xml files
3. Build apk. Don't sign if it is a system app.
4. adb push apk to /system/app/ (system app) and test it.
Matri}{ said:
1. Use apktool to decompile apk
2. Use _any_ text-editor (I prefer notepad++) to modify xml files
3. Build apk. Don't sign if it is a system app.
4. adb push apk to /system/app/ (system app) and test it.
Click to expand...
Click to collapse
Thanks Matri
Does it support QuickDial?
wult54 said:
Does it support QuickDial?
Click to expand...
Click to collapse
This is standart Phone.apk from CM7 ROM just slightly modified. So any other dialers and functions should work like before. Anyway I don't use QuickDial, so I cannot answer for sure.
Zip isnt compatible with new clockworkmod recovery...
So i copied over using root explorer... FC loop and a reboot later, it looks like an old dialer, nothing like the screenshot
Running evo cm7.021 here, but i figure cm7 is cm7, so whats the deal?
Couldnt edit attachments into last post, heres what it looks like, using system theme.... nothing like cm7 stock
Turn on In-touch UI in Settings-phone
FCs might be if you have rom with another aosp different from 2.3.3
Pm your phone.apk and I'll mod it
U can change phone apk from Floyo 120 Rom
Rom is very popular and one of the best roms...
http://forum.xda-developers.com/showthread.php?t=784689
cheers
BuzzFuzz said:
U can change phone apk from Floyo 120 Rom
Rom is very popular and one of the best roms...
http://forum.xda-developers.com/showthread.php?t=784689
cheers
Click to expand...
Click to collapse
Good idea! I'll make moded versions for all popular roms: Vanilla, Floyo and Speedmachine. If someone could help me with testing please pm me your current rom. I'll send you moded Phone.apk for testing purposes.)
P.S. I just don't get it why my update.zip doesn't work with clockwork ((
Tell me your clockworkmod recovery version?
BuzzFuzz said:
Tell me your clockworkmod recovery version?
Click to expand...
Click to collapse
I'm using AmonRA 1.7.0.1 recovery. Maybe u can give me a brief tutor of how to make proper update.zip? I was following this one: http_://www.londatiga.net/it/how-to-create-android-update-zip-package/
update: one thing I missed is that filesystem might be in RO mount. Than throws an error similar
minzip: Can't create target file "/system/app/Phone.apk": Read-only file system
Click to expand...
Click to collapse
check this
http://www.robmcghee.com/android/creating-an-android-update-zip-package/
http://blog.coralic.nl/2010/01/25/how-to-create-update-zip-using-your-build-aka-system-img/
brb, snooker on Eurosport
Matri}{ said:
I'm using AmonRA 1.7.0.1 recovery. Maybe u can give me a brief tutor of how to make proper update.zip? I was following this one: http_://www.londatiga.net/it/how-to-create-android-update-zip-package/
update: one thing I missed is that filesystem might be in RO mount. Than throws an error similar
Click to expand...
Click to collapse
Flash clockwork recovery instead of AmonRa then the update.zip should work fine
Sent from my Hero using XDA Premium App
swatsbiz said:
Flash clockwork recovery instead of AmonRa then the update.zip should work fine
Sent from my Hero using XDA Premium App
Click to expand...
Click to collapse
Vice versa) I have no problem with recovery and this two zips))
I have made changed apks for Floyo, Speedmachine and remade update.zip according to tutor (thanks goes to BuzzFuzz).
Floyo version not tested. Please, make a report for me. Thanks.
Hi all,
I thought I'd share my modded Mms.apk with you. This was pulled from Calk's latest ROM. It should, however, work with any EL29 ROM. The only modifications are colors of the message bubbles, pulled from this MMS app. I tried using the app, but I was getting file compression errors when sending images, so I just modded the original Mms.apk slightly.
AS ALWAYS - YOU DO THIS AT YOUR OWN RISK
Install via adb (Windows):
1. Connect your phone to PC
2. Make sure USB debugging is enabled
3. open command prompt in the same folder as Android SDK or make sure you have PATH specified to it; place Mms.apk in the same folder
4. Type adb start-server at command prompt
5. Type adb remount
6. Type adb push Mms.apk /system/app
7. Type adb reboot
Once your phone reboots, you will have the new MMS.apk fully functional. You may have to re-add the Messaging link to the bottom bar.
If you have ROOT EXPLORER, you can simply copy Mms.apk into your /system/app folder replacing the original file. Back it up first, though, if you want to revert back to it.
Enjoy.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Cant you just drop it on your SD card then navigate your phone using ES file explorer or root explorer and copy and paste it into the system/app folder replacing the one thats in there, then reboot to get it to work?
If I am incorrect please let me know before I make a fatal error.... lol
I can't speak for THIS apk, however I just took a mms.apk from another rom, did exactly as you described but also changed the permissions, and it works fine. Why don't you make a back up and give it a go.
Sent from my SPH-D710 using xda premium
You can certainly install it using ROOT explorer. Works either way.
If I want to change the colors for the conversation list would the images be in the hdpi folder and the lines and stuff in the xml?
Sent from my Epic™ 4G Touch
Anybody got a pic of the conversation list?
looks good , its just what i was looking for
Honestly, I have no idea. This was a simple PNG swap from another Mms.apk.
globalninja said:
If I want to change the colors for the conversation list would the images be in the hdpi folder and the lines and stuff in the xml?
Sent from my Epic™ 4G Touch
Click to expand...
Click to collapse
Conversation list looks completely stock.
SayWhat10 said:
Anybody got a pic of the conversation list?
Click to expand...
Click to collapse
Anyone figure out how to mod the mms.apk so that i allows higher/larger file sizes for pics?? Iv tried but keep getting FC's once i push my version to the phone....
I would also like to have this for Calks ICS ROM. Any chance one could modify that for us?
This is funny I made one just like this a long time ago. It came from sensation rom if I remember correctly. Looks good.
Sent from my SPH-D710 using XDA
the rhyno said:
I would also like to have this for Calks ICS ROM. Any chance one could modify that for us?
Click to expand...
Click to collapse
Bump...
or anyone know of one that could just replace the mms.apk and still work.
I'd like to be able to do this with MIUI's MMS application and their phone app. I tried on THE GOODNESS ICS but the app just force closes. Anybody know a way to do this?
still trying to figure out how to change the colors .. i want blue and green
anyone know how?
Ma$etas said:
still trying to figure out how to change the colors .. i want blue and green
anyone know how?
Click to expand...
Click to collapse
You can get your own colors. For that you have to edit the message_bubble_xxx_.9.png files located in the res/drawable-hdpi directory inside the Mms.apk. These .9.png files are system-resizable PNGs that have to be edited with a special tool, like Draw9patch. If you google "how to edit .9.png files" you will find all sorts of tutorials and explanations.
Good luck.
This is a handy little shell script I wrote today that I used to copy files to /system/app folder. This is the first thing I ever wrote for Android so I don't know if anyone has any use for this but there ya go.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
To use simply download the shellpaste.txt from below and rename it to shellpaste.sh. Put the file in the root of your SD card then go to android terminal and type the following:
Code:
sh /sdcard/shellpaste.sh
Changelog:
Code:
shellpaste v0.4
-now supports all folders not just /system.
-added chmod to actually make it useful. Thanks Tigger31337.
shellpaste v0.3
-cleaned up the code a bit.
shellpaste v0.2
-first release.
Thanks man this is very helpful for the things I do. Cheers.
-rezo609
Awesome! Hope it serves you well.
small scripts, medium tricks, big handy
Does this address permissioning after the file(s) are copied?
No offense, but yours seems like a rather convoluted method when you've got things like adb push or just drag and drop from the PC. If the apk is already on your phone, then you need only do a cut and paste to /system (with, say, Root Explorer) and then set permissions. Done.
Also, it's not very flexible. What if I want to copy to /data? Another script??
None taken. The script changes the permissions to r/w, copies the file, then changes it back to read-only. As I said, this was just a script I wrote to help me with what I needed to do at the time. Maybe I'll write a new version that supports any folder the user chooses.. I agree, it's not exactly an elegant solution but I'm a complete noob at this. You gotta start somewhere, right?
Edit: Also, I am completely open to feature suggestions. So if there's anything more advanced you guys would like to see in newer versions feel free to post. I'm using this as a tool to learn as much as possible.
Sent from my htc wildfire s a510e using XDA
I don't mean permissions at the f/s mount level, I mean permissions at the file level (i.e. chmod).
If you're copying an apk to /system/app, then eventually you'll need to chmod it to 644 before it will execute properly. Maybe I'm missing something, but copying an apk from SD card to /system isn't going to do this for you automatically.
I have a suggestion to your script
Example: I pushed a systemUI.apk in system/app folder through adb now when you look at your phone the statusbar dissappears, of course because of push, now can you make a script to rerun the apk or execute it, like mounting it dunno the exact word, so that you won't have to reboot your phone to see your statusbar again, instead just run it like windows run. This is usefull if your modding the APK.
Gotcha. Completely forgot about chmod.
I'll try to make it reinstall the systemui.apk without rebooting but could use some pointers on how to achieve this.
Edit:
Made a new version that supports mounting of all folders and added chmod into the mix. Should work properly now.
einstein.frat said:
I have a suggestion to your script
Example: I pushed a systemUI.apk in system/app folder through adb now when you look at your phone the statusbar dissappears, of course because of push, now can you make a script to rerun the apk or execute it, like mounting it dunno the exact word, so that you won't have to reboot your phone to see your statusbar again, instead just run it like windows run. This is usefull if your modding the APK.
Click to expand...
Click to collapse
I've never used android scripts before but I'm guessing you could just do
exec /system/app/whatever.apk
But idk on that one.
Sent from my HTC Wildfire S A510e using xda premium
einstein.frat said:
I have a suggestion to your script
Example: I pushed a systemUI.apk in system/app folder through adb now when you look at your phone the statusbar dissappears, of course because of push, now can you make a script to rerun the apk or execute it, like mounting it dunno the exact word, so that you won't have to reboot your phone to see your statusbar again, instead just run it like windows run. This is usefull if your modding the APK.
Click to expand...
Click to collapse
I do exactly this on the WildChild ROM, using pm disable/enable.
It's a method I came up with by myself (so, it's not very elegant but it gets the job done ). There might be other ways of doing it, but I haven't seen any yet.