TweeksRevenge
Android Enthusiast
If you're like me and love to use the latest A2SD beta (4a) but keep running into broken system apps then I've got the solution for you that doesn't require reflashing ANYTHING!!! Read this carefully before attempting!
You can use the Terminal Emulator or ADB for this. I recommend using ADB when an app goes haywire as its easier to just type rather than try to fight force closes while typing (like SystemUI.apk or Framework-Res.apk).
Step 1: From your file explorer or PC, select "explore" on zip file that contains the rom you are currently using and extract the apps that are messed up.
Step 2: (if using terminal just paste the app at the root of the sdcard) ADB users type the following command to put the new app on your sdcard
adb push C:\yourapphere.apk /sdcard/ (repeat same step for multiple apps)
Step 3: Now to remove those broken apps...from terminal or adb shell type:
su
mount -o rw,remount /system/ (you can change /system/ to /data/ for third party apps that wont uninstall the normal way)
rm -f /system/app/yourapphere.apk
(you only have to mount the system once unless your device randomly reboots) DO NOT REBOOT YET AND DO NOT CLOSE ADB OR TERMINAL!!!
Step 4: Replacing the apps you removed using terminal or adb type:
cd /sdcard/
install -f yourapp.apk /system/app/ (if installing to data use the /data/app/ path)
Step 5: Now that we've removed and replaced those pesky force closing apps it's time to reboot! In case you just dont know just type reboot into terminal or adb to reboot your phone without the hardware keys or pulling the battery (it comes in handy to know that in case you cant get past your lockscreen).
Good Luck and Remember to type the app names EXACTLY as they appear in the roms /system/app/ (or /data/app/) folder or the device won't properly register the commands leaving you stuck with an error and even more questions.
HINT: This works wonders when a new Cyanogenmod build is flashed and the Gapps flashed bad or for some reason your market stopped working.
Also Combining system apps you wish your rom had (like hidden menus,fm radio, or whatever) with Step 4 works wonders!!
You can use the Terminal Emulator or ADB for this. I recommend using ADB when an app goes haywire as its easier to just type rather than try to fight force closes while typing (like SystemUI.apk or Framework-Res.apk).
Step 1: From your file explorer or PC, select "explore" on zip file that contains the rom you are currently using and extract the apps that are messed up.
Step 2: (if using terminal just paste the app at the root of the sdcard) ADB users type the following command to put the new app on your sdcard
adb push C:\yourapphere.apk /sdcard/ (repeat same step for multiple apps)
Step 3: Now to remove those broken apps...from terminal or adb shell type:
su
mount -o rw,remount /system/ (you can change /system/ to /data/ for third party apps that wont uninstall the normal way)
rm -f /system/app/yourapphere.apk
(you only have to mount the system once unless your device randomly reboots) DO NOT REBOOT YET AND DO NOT CLOSE ADB OR TERMINAL!!!
Step 4: Replacing the apps you removed using terminal or adb type:
cd /sdcard/
install -f yourapp.apk /system/app/ (if installing to data use the /data/app/ path)
Step 5: Now that we've removed and replaced those pesky force closing apps it's time to reboot! In case you just dont know just type reboot into terminal or adb to reboot your phone without the hardware keys or pulling the battery (it comes in handy to know that in case you cant get past your lockscreen).
Good Luck and Remember to type the app names EXACTLY as they appear in the roms /system/app/ (or /data/app/) folder or the device won't properly register the commands leaving you stuck with an error and even more questions.
HINT: This works wonders when a new Cyanogenmod build is flashed and the Gapps flashed bad or for some reason your market stopped working.
Also Combining system apps you wish your rom had (like hidden menus,fm radio, or whatever) with Step 4 works wonders!!


