This post has been thanked 4 times. |
|
||||
Re: Batch removing apps
Tag, I'm it
I'll post a link on my sticky to this to spiffy info I was working on a script to remove apps, failed to figure out how to gain permissions that's why I came up with the method i did, editing your backup
__________________
|
This post has been thanked 1 times. |
|
||||
Re: Batch removing apps
2.1 I only removed the apps I don't use, One can add apps to the script if they like. more work is required for 2.1 "more typing required sorry" BTE free isn't available for 2.1 so use ConnectBot or another terminal.
First create a directory on your sdcard call it sprint_2.1 you can do this via plunging phone to pc and mounting it. Code:
#!/system/bin/sh # This Backs up your apps. cat /system/app/AmazonMp3.apk > /sdcard/sprint_2.1/AmazonMp3.apk cat /system/app/BejeweledDemo.apk > /sdcard/sprint_2.1/BejeweledDemo.apk cat /system/app/FileViewer.apk > /sdcard/sprint_2.1/FileViewer.apk cat /system/app/FileViewer.odex > /sdcard/sprint_2.1/FileViewer.odex cat /system/app/im.apk > /sdcard/sprint_2.1/im.apk cat /system/app/MoxierMail.apk > /sdcard/sprint_2.1/MoxierMail.apk cat /system/app/nascar09-prod-release.apk > /sdcard/sprint_2.1/nascar09-prod-release.apk cat /system/app/nfl-prod-release.apk > /sdcard/sprint_2.1/nfl-prod-release.apk cat /system/app/SprintTV_MR2_Samsung_Moment_GM_Final_1.0.4.29-112596.apk > /sdcard/sprint_2.1/SprintTV_MR2_Samsung_Moment_GM_Final_1.0.4.29-112596.apk cat /system/app/SprintTVWidget.apk > /sdcard/sprint_2.1/SprintTVWidget.apk cat /system/app/Term.apk > /sdcard/sprint_2.1/Term.apk cat /system/app/Term.odex > /sdcard/sprint_2.1/Term.odex cat /system/app/Weather2-16.apk > /sdcard/sprint_2.1/Weather2-16.apk #This removes your apps. rm /system/app/AmazonMp3.apk rm /system/app/BejeweledDemo.apk rm /system/app/FileViewer.apk rm /system/app/FileViewer.odex rm /system/app/im.apk rm /system/app/MoxierMail.apk rm /system/app/nascar09-prod-release.apk rm /system/app/nfl-prod-release.apk rm /system/app/SprintTV_MR2_Samsung_Moment_GM_Final_1.0.4.29-112596.apk rm /system/app/SprintTVWidget.apk rm /system/app/Term.apk rm /system/app/Term.odex rm /system/app/Weather2-16.apk mount -t rfs -o remount,rw /dev/stl5 /system cat /sdcard/sprint_2.1/sab > /system/bin/sab chmod 4755 /system/bin/sab /system/bin/sab mount -t rfs -o remount,ro /dev/stl5 /system exit exit Same know issues as 1.5, also don't run the app twice, unless you # the already backup up or removed apps. If one runs the script twice without # out the line of code that backed up the app the app will be deleted from back up and lost. What does that mean, lets say one backs up AmazonMp3.apk, if this same line of code is allowed to run again cat /system/app/AmazonMp3.apk > /sdcard/sprint_2.1/AmazonMp3.apk this will delete AmazonMp3.apk and replace it with a fake file, unless of course AmazonMp3.apk wasn't remove from system in that case AmazonMp3.apk will just replace AmazonMp3.apk. Last edited by vampirefo; 04-12-2010 at 11:26 PM. |
This post has been thanked 1 times. |
|
||||
Re: Batch removing apps
If you enable remount http://forum.ppcgeeks.com/showthread.php?t=117999
you can then type this su remount rw cat /sdcard/sprint_2.1/sab > /system/bin/sab chmod 4755 /system/bin/sab /system/bin/sab remount ro exit exit instead of this. su mount -t rfs -o remount,rw /dev/stl5 /system cat /sdcard/sprint_2.1/sab > /system/bin/sab chmod 4755 /system/bin/sab /system/bin/sab mount -t rfs -o remount,ro /dev/stl5 /system exit exit just saves a little typing. |
|
|
|