The following Windows batch file will backup and remove the Sprint installed bloatware, various spyware/logging/etc apps that waste battery, Google apps such as Books and Magazines that can be installed form the Play Store, non-EFIGS language packs, the boot sound, and the Virgin Mobile and Boost Mobile startup animations.
The batch file checks each file for a backup before removing it so it should be safe, but the normal disclaimers about me taking no responsibility if you screw up your phone apply.
Copy and paste the script below into notepad on a Windows computer, save it as debloat.bat in the same directory as adb.exe, and double click on it to run. Then just follow the instructions on the screen.
Code:
@ECHO OFF
ECHO Finding device . . .
ECHO.
adb kill-server
adb devices
ECHO.
SET /P ANSWER=Is your device shown above (Y/N)?
IF /i "%ANSWER%"=="y" GOTO :yes1
IF /i "%ANSWER%"=="yes" GOTO :yes1
GOTO :no
:yes1
ECHO.
ECHO Backing up user apps . . .
adb pull /data/app/com.ebay.mobile-1.apk
adb pull /data/app/com.lookout-1.apk
adb pull /data/app/com.mobitv.client.sprinttvng-1.apk
adb pull /data/app/com.nascar.nascarmobile-1.apk
adb pull /data/app/com.nbadigital.gametimelite-1.apk
adb pull /data/app/com.nextradioapp.nextradio-1.apk
adb pull /data/app/com.pinsight.eureka.offers-1.apk
adb pull /data/app/com.sprint.android.musicplus2033-1.apk
adb pull /data/app/com.sprint.w.v8-1.apk
adb pull /data/app/com.telenav.app.android.scout_us-1.apk
adb pull /data/app/com.wipit.sprintmoneyexpress-1.apk
adb pull /data/app/msgplus.jibe.sca-1.apk
ECHO.
ECHO If you don't see any errors above, APKs have been backed up to
ECHO %CD%
ECHO.
SET /P ANSWER=Uninstall user apps (Y/N)?
IF /i "%ANSWER%"=="y" GOTO :yes2
IF /i "%ANSWER%"=="yes" GOTO :yes2
GOTO :no
:yes2
ECHO.
ECHO Uninstalling user apps . . .
ECHO.
if exist com.ebay.mobile-1.apk ( adb uninstall com.ebay.mobile ) else ( ECHO com.ebay.mobile-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.lookout-1.apk ( adb uninstall com.lookout ) else ( ECHO com.lookout-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.mobitv.client.sprinttvng-1.apk ( adb uninstall com.mobitv.client.sprinttvng ) else ( ECHO com.mobitv.client.sprinttvng-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.nascar.nascarmobile-1.apk ( adb uninstall com.nascar.nascarmobile ) else ( ECHO com.nascar.nascarmobile-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.nbadigital.gametimelite-1.apk ( adb uninstall com.nbadigital.gametimelite ) else ( ECHO com.nbadigital.gametimelite-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.nextradioapp.nextradio-1.apk ( adb uninstall com.nextradioapp.nextradio ) else ( ECHO com.nextradioapp.nextradio-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.pinsight.eureka.offers-1.apk ( adb uninstall com.pinsight.eureka.offers ) else ( ECHO com.pinsight.eureka.offers-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.sprint.android.musicplus2033-1.apk ( adb uninstall com.sprint.android.musicplus2033 ) else ( ECHO com.sprint.android.musicplus2033-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.sprint.w.v8-1.apk ( adb uninstall com.sprint.w.v8 ) else ( ECHO com.sprint.w.v8-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.telenav.app.android.scout_us-1.apk ( adb uninstall com.telenav.app.android.scout_us ) else ( ECHO com.telenav.app.android.scout_us-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.wipit.sprintmoneyexpress-1.apk ( adb uninstall com.wipit.sprintmoneyexpress ) else ( ECHO com.wipit.sprintmoneyexpress-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist msgplus.jibe.sca-1.apk ( adb uninstall msgplus.jibe.sca ) else ( ECHO msgplus.jibe.sca-1.apk BACKUP NOT FOUND, SKIPPING . . . )
ECHO.
ECHO Uninstall of user apps complete.
SET /P ANSWER=Press ENTER to reboot into recovery . . .
ECHO.
ECHO Rebooting into recovery . . .
ECHO.
adb reboot recovery
SET /P v="Press ENTER when the phone has rebooted into recovery . . ."
ECHO.
adb root
adb remount
ECHO.
ECHO If you do not see "remount succeeded" above, use your recovery's GUI to mount
ECHO the System partition. If you see "remount succeeded" or have mounted /system/
SET /P v="manually, press ENTER . . ."
ECHO.
ECHO Backing up files . . .
adb pull /system/app/18892_SPC_HTC_Mobile_Guide_M8WHL.apk
adb pull /system/app/Books.apk
adb pull /system/app/HtcResetNotify.apk
adb pull /system/app/KidMode-google.apk
adb pull /system/app/Magazines.apk
adb pull /system/app/QXDM2SD.apk
adb pull /system/app/Smith.apk
adb pull /system/app/TetheringGuard.apk
adb pull /system/app/UDove.apk
adb pull /system/priv-app/CheckinProvider.apk
adb pull /system/priv-app/DemoFLOPackageInstaller.apk
adb pull /system/priv-app/GoogleFeedback.apk
adb pull /system/priv-app/ID.apk
adb pull /system/priv-app/LMIRescue.apk
adb pull /system/priv-app/LMIRescueSecurity.apk
adb pull /system/priv-app/MyBreeze.apk
adb pull /system/priv-app/SprintInstaller.apk
adb pull /system/priv-app/Stock.apk
adb pull /system/priv-app/T6-Lumen-1.1.1.42998.apk
adb pull /system/priv-app/Transfer.apk
adb pull /system/app/CIMEXT9.apk
adb pull /system/app/IMEMurasuIndic.apk
adb pull /system/app/IMEMurasuViet.apk
adb pull /system/app/IMEXT9Arabic.apk
adb pull /system/app/IMEXT9Armenian.apk
adb pull /system/app/IMEXT9BahasaIndonesia.apk
adb pull /system/app/IMEXT9BahasaMalaysia.apk
adb pull /system/app/IMEXT9Bulgaria.apk
adb pull /system/app/IMEXT9Catalan.apk
adb pull /system/app/IMEXT9Croatian.apk
adb pull /system/app/IMEXT9Czech.apk
adb pull /system/app/IMEXT9Danish.apk
adb pull /system/app/IMEXT9Dutch.apk
adb pull /system/app/IMEXT9Estonian.apk
adb pull /system/app/IMEXT9Farsi.apk
adb pull /system/app/IMEXT9Finnish.apk
adb pull /system/app/IMEXT9Greek.apk
adb pull /system/app/IMEXT9Hebrew.apk
adb pull /system/app/IMEXT9Hungarian.apk
adb pull /system/app/IMEXT9Kazakh.apk
adb pull /system/app/IMEXT9Latvian.apk
adb pull /system/app/IMEXT9Lithuanian.apk
adb pull /system/app/IMEXT9Norwegian.apk
adb pull /system/app/IMEXT9Polish.apk
adb pull /system/app/IMEXT9Portuguese.apk
adb pull /system/app/IMEXT9Romanian.apk
adb pull /system/app/IMEXT9Russian.apk
adb pull /system/app/IMEXT9Serbian.apk
adb pull /system/app/IMEXT9Slovak.apk
adb pull /system/app/IMEXT9Slovenian.apk
adb pull /system/app/IMEXT9Swedish.apk
adb pull /system/app/IMEXT9Thai.apk
adb pull /system/app/IMEXT9Turkish.apk
adb pull /system/app/IMEXT9Ukrainian.apk
adb pull /system/customize/resource/HTC_Sense5_Boot.mp3
adb pull /system/customize/resource/BM_startup_animation.zip
adb pull /system/customize/resource/VM_startup_animation.zip
ECHO.
ECHO If you don't see any errors above, APKs have been backed up to
ECHO %CD%
ECHO.
SET /P ANSWER=Delete files from /system/ (Y/N)?
IF /i "%ANSWER%"=="y" GOTO :yes3
IF /i "%ANSWER%"=="yes" GOTO :yes3
GOTO :no
:yes3
ECHO.
if exist 18892_SPC_HTC_Mobile_Guide_M8WHL.apk ( adb shell "rm /system/app/18892_SPC_HTC_Mobile_Guide_M8WHL.apk" ) else ( ECHO 18892_SPC_HTC_Mobile_Guide_M8WHL.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist Books.apk ( adb shell "rm /system/app/Books.apk" ) else ( ECHO Books.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist HtcResetNotify.apk ( adb shell "rm /system/app/HtcResetNotify.apk" ) else ( ECHO HtcResetNotify.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist KidMode-google.apk ( adb shell "rm /system/app/KidMode-google.apk" ) else ( ECHO KidMode-google.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist Magazines.apk ( adb shell "rm /system/app/Magazines.apk" ) else ( ECHO Magazines.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist QXDM2SD.apk ( adb shell "rm /system/app/QXDM2SD.apk" ) else ( ECHO QXDM2SD.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist Smith.apk ( adb shell "rm /system/app/Smith.apk" ) else ( ECHO Smith.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist TetheringGuard.apk ( adb shell "rm /system/app/TetheringGuard.apk" ) else ( ECHO TetheringGuard.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist UDove.apk ( adb shell "rm /system/app/UDove.apk" ) else ( ECHO UDove.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist CheckinProvider.apk ( adb shell "rm /system/priv-app/CheckinProvider.apk" ) else ( ECHO CheckinProvider.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist DemoFLOPackageInstaller.apk ( adb shell "rm /system/priv-app/DemoFLOPackageInstaller.apk" ) else ( ECHO DemoFLOPackageInstaller.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist GoogleFeedback.apk ( adb shell "rm /system/priv-app/GoogleFeedback.apk" ) else ( ECHO GoogleFeedback.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist ID.apk ( adb shell "rm /system/priv-app/ID.apk" ) else ( ECHO ID.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist LMIRescue.apk ( adb shell "rm /system/priv-app/LMIRescue.apk" ) else ( ECHO LMIRescue.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist LMIRescueSecurity.apk ( adb shell "rm /system/priv-app/LMIRescueSecurity.apk" ) else ( ECHO LMIRescueSecurity.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist MyBreeze.apk ( adb shell "rm /system/priv-app/MyBreeze.apk" ) else ( ECHO MyBreeze.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist SprintInstaller.apk ( adb shell "rm /system/priv-app/SprintInstaller.apk" ) else ( ECHO SprintInstaller.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist Stock.apk ( adb shell "rm /system/priv-app/Stock.apk" ) else ( ECHO Stock.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist T6-Lumen-1.1.1.42998.apk ( adb shell "rm /system/priv-app/T6-Lumen-1.1.1.42998.apk" ) else ( ECHO T6-Lumen-1.1.1.42998.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist Transfer.apk ( adb shell "rm /system/priv-app/Transfer.apk" ) else ( ECHO Transfer.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist CIMEXT9.apk ( adb shell "rm /system/app/CIMEXT9.apk" ) else ( ECHO CIMEXT9.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEMurasuIndic.apk ( adb shell "rm /system/app/IMEMurasuIndic.apk" ) else ( ECHO IMEMurasuIndic.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEMurasuViet.apk ( adb shell "rm /system/app/IMEMurasuViet.apk" ) else ( ECHO IMEMurasuViet.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Arabic.apk ( adb shell "rm /system/app/IMEXT9Arabic.apk" ) else ( ECHO IMEXT9Arabic.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Armenian.apk ( adb shell "rm /system/app/IMEXT9Armenian.apk" ) else ( ECHO IMEXT9Armenian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9BahasaIndonesia.apk ( adb shell "rm /system/app/IMEXT9BahasaIndonesia.apk" ) else ( ECHO IMEXT9BahasaIndonesia.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9BahasaMalaysia.apk ( adb shell "rm /system/app/IMEXT9BahasaMalaysia.apk" ) else ( ECHO IMEXT9BahasaMalaysia.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Bulgaria.apk ( adb shell "rm /system/app/IMEXT9Bulgaria.apk" ) else ( ECHO IMEXT9Bulgaria.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Catalan.apk ( adb shell "rm /system/app/IMEXT9Catalan.apk" ) else ( ECHO IMEXT9Catalan.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Croatian.apk ( adb shell "rm /system/app/IMEXT9Croatian.apk" ) else ( ECHO IMEXT9Croatian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Czech.apk ( adb shell "rm /system/app/IMEXT9Czech.apk" ) else ( ECHO IMEXT9Czech.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Danish.apk ( adb shell "rm /system/app/IMEXT9Danish.apk" ) else ( ECHO IMEXT9Danish.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Dutch.apk ( adb shell "rm /system/app/IMEXT9Dutch.apk" ) else ( ECHO IMEXT9Dutch.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Estonian.apk ( adb shell "rm /system/app/IMEXT9Estonian.apk" ) else ( ECHO IMEXT9Estonian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Farsi.apk ( adb shell "rm /system/app/IMEXT9Farsi.apk" ) else ( ECHO IMEXT9Farsi.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Finnish.apk ( adb shell "rm /system/app/IMEXT9Finnish.apk" ) else ( ECHO IMEXT9Finnish.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Greek.apk ( adb shell "rm /system/app/IMEXT9Greek.apk" ) else ( ECHO IMEXT9Greek.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Hebrew.apk ( adb shell "rm /system/app/IMEXT9Hebrew.apk" ) else ( ECHO IMEXT9Hebrew.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Hungarian.apk ( adb shell "rm /system/app/IMEXT9Hungarian.apk" ) else ( ECHO IMEXT9Hungarian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Kazakh.apk ( adb shell "rm /system/app/IMEXT9Kazakh.apk" ) else ( ECHO IMEXT9Kazakh.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Latvian.apk ( adb shell "rm /system/app/IMEXT9Latvian.apk" ) else ( ECHO IMEXT9Latvian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Lithuanian.apk ( adb shell "rm /system/app/IMEXT9Lithuanian.apk" ) else ( ECHO IMEXT9Lithuanian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Norwegian.apk ( adb shell "rm /system/app/IMEXT9Norwegian.apk" ) else ( ECHO IMEXT9Norwegian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Polish.apk ( adb shell "rm /system/app/IMEXT9Polish.apk" ) else ( ECHO IMEXT9Polish.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Portuguese.apk ( adb shell "rm /system/app/IMEXT9Portuguese.apk" ) else ( ECHO IMEXT9Portuguese.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Romanian.apk ( adb shell "rm /system/app/IMEXT9Romanian.apk" ) else ( ECHO IMEXT9Romanian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Russian.apk ( adb shell "rm /system/app/IMEXT9Russian.apk" ) else ( ECHO IMEXT9Russian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Serbian.apk ( adb shell "rm /system/app/IMEXT9Serbian.apk" ) else ( ECHO IMEXT9Serbian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Slovak.apk ( adb shell "rm /system/app/IMEXT9Slovak.apk" ) else ( ECHO IMEXT9Slovak.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Slovenian.apk ( adb shell "rm /system/app/IMEXT9Slovenian.apk" ) else ( ECHO IMEXT9Slovenian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Swedish.apk ( adb shell "rm /system/app/IMEXT9Swedish.apk" ) else ( ECHO IMEXT9Swedish.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Thai.apk ( adb shell "rm /system/app/IMEXT9Thai.apk" ) else ( ECHO IMEXT9Thai.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Turkish.apk ( adb shell "rm /system/app/IMEXT9Turkish.apk" ) else ( ECHO IMEXT9Turkish.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Ukrainian.apk ( adb shell "rm /system/app/IMEXT9Ukrainian.apk" ) else ( ECHO IMEXT9Ukrainian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist HTC_Sense5_Boot.mp3 ( adb shell "rm /system/customize/resource/HTC_Sense5_Boot.mp3" ) else ( ECHO HTC_Sense5_Boot.mp3 BACKUP NOT FOUND, SKIPPING . . . )
if exist BM_startup_animation.zip ( adb shell "rm /system/customize/resource/BM_startup_animation.zip" ) else ( ECHO BM_startup_animation.zip BACKUP NOT FOUND, SKIPPING . . . )
if exist VM_startup_animation.zip ( adb shell "rm /system/customize/resource/VM_startup_animation.zip" ) else ( ECHO VM_startup_animation.zip BACKUP NOT FOUND, SKIPPING . . . )
ECHO.
ECHO Deletion of system apps completed.
SET /P ANSWER=Press ENTER to reboot . . .
ECHO.
ECHO Rebooting . . .
adb reboot
ECHO.
ECHO Bloat apps have been removed and backed up to
ECHO %CD%
ECHO.
GOTO :end
:no
ECHO.
ECHO Cancelling . . .
ECHO.
:end
PAUSE
EXIT
If you wish to reinstall any of the removed programs, there is a rebloatM8.bat file in the attached zip file below that will reinstall any backed up files removed by this script to your phone. Just move any files you don't want restored to another directory and run the script.
ahecht said:
The following Windows batch file will backup and remove the Sprint installed bloatware, various spyware/logging/etc apps that waste battery, non-EFIGS language packs, the boot sound, and the Virgin Mobile and Boost Mobile startup animations.
The batch file checks each file for a backup before removing it so it should be safe, but the normal disclaimers about me taking no responsibility if you screw up your phone apply.
Copy and paste the script below into notepad on a Windows computer, save it as debloat.bat in the same directory as adb.exe, and double click on it to run. Then just follow the instructions on the screen.
Code:
@ECHO OFF
ECHO Finding device . . .
ECHO.
adb kill-server
adb devices
ECHO.
SET /P ANSWER=Is your device shown above (Y/N)?
IF /i "%ANSWER%"=="y" GOTO :yes1
IF /i "%ANSWER%"=="yes" GOTO :yes1
GOTO :no
:yes1
ECHO.
ECHO Backing up user apps . . .
adb pull /data/app/com.ebay.mobile-1.apk
adb pull /data/app/com.lookout-1.apk
adb pull /data/app/com.mobitv.client.sprinttvng-1.apk
adb pull /data/app/com.nascar.nascarmobile-1.apk
adb pull /data/app/com.nbadigital.gametimelite-1.apk
adb pull /data/app/com.nextradioapp.nextradio-1.apk
adb pull /data/app/com.pinsight.eureka.offers-1.apk
adb pull /data/app/com.sprint.android.musicplus2033-1.apk
adb pull /data/app/com.sprint.w.v8-1.apk
adb pull /data/app/com.telenav.app.android.scout_us-1.apk
adb pull /data/app/com.wipit.sprintmoneyexpress-1.apk
adb pull /data/app/msgplus.jibe.sca-1.apk
ECHO.
ECHO If you don't see any errors above, APKs have been backed up to
ECHO %CD%
ECHO.
SET /P ANSWER=Uninstall user apps (Y/N)?
IF /i "%ANSWER%"=="y" GOTO :yes2
IF /i "%ANSWER%"=="yes" GOTO :yes2
GOTO :no
:yes2
ECHO.
ECHO Uninstalling user apps . . .
ECHO.
if exist com.ebay.mobile-1.apk ( adb uninstall com.ebay.mobile ) else ( ECHO com.ebay.mobile-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.lookout-1.apk ( adb uninstall com.lookout ) else ( ECHO com.lookout-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.mobitv.client.sprinttvng-1.apk ( adb uninstall com.mobitv.client.sprinttvng ) else ( ECHO com.mobitv.client.sprinttvng-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.nascar.nascarmobile-1.apk ( adb uninstall com.nascar.nascarmobile ) else ( ECHO com.nascar.nascarmobile-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.nbadigital.gametimelite-1.apk ( adb uninstall com.nbadigital.gametimelite ) else ( ECHO com.nbadigital.gametimelite-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.nextradioapp.nextradio-1.apk ( adb uninstall com.nextradioapp.nextradio ) else ( ECHO com.nextradioapp.nextradio-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.pinsight.eureka.offers-1.apk ( adb uninstall com.pinsight.eureka.offers ) else ( ECHO com.pinsight.eureka.offers-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.sprint.android.musicplus2033-1.apk ( adb uninstall com.sprint.android.musicplus2033 ) else ( ECHO com.sprint.android.musicplus2033-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.sprint.w.v8-1.apk ( adb uninstall com.sprint.w.v8 ) else ( ECHO com.sprint.w.v8-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.telenav.app.android.scout_us-1.apk ( adb uninstall com.telenav.app.android.scout_us ) else ( ECHO com.telenav.app.android.scout_us-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist com.wipit.sprintmoneyexpress-1.apk ( adb uninstall com.wipit.sprintmoneyexpress ) else ( ECHO com.wipit.sprintmoneyexpress-1.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist msgplus.jibe.sca-1.apk ( adb uninstall msgplus.jibe.sca ) else ( ECHO msgplus.jibe.sca-1.apk BACKUP NOT FOUND, SKIPPING . . . )
ECHO.
ECHO Uninstall of user apps complete.
SET /P ANSWER=Press ENTER to reboot into recovery . . .
ECHO.
ECHO Rebooting into recovery . . .
ECHO.
adb reboot recovery
SET /P v="Press ENTER when the phone has rebooted into recovery . . ."
ECHO.
adb root
adb remount
ECHO.
ECHO If you do not see "remount succeeded" above, use your recovery's GUI to mount
ECHO the System partition. If you see "remount succeeded" or have mounted /system/
SET /P v="manually, press ENTER . . ."
ECHO.
ECHO Backing up files . . .
adb pull /system/app/18892_SPC_HTC_Mobile_Guide_M8WHL.apk
adb pull /system/app/Books.apk
adb pull /system/app/HtcResetNotify.apk
adb pull /system/app/KidMode-google.apk
adb pull /system/app/Magazines.apk
adb pull /system/app/QXDM2SD.apk
adb pull /system/app/Smith.apk
adb pull /system/app/TetheringGuard.apk
adb pull /system/app/UDove.apk
adb pull /system/priv-app/CheckinProvider.apk
adb pull /system/priv-app/DemoFLOPackageInstaller.apk
adb pull /system/priv-app/GoogleFeedback.apk
adb pull /system/priv-app/HtcSpeakNGF.apk
adb pull /system/priv-app/HtcSpeakUI.apk
adb pull /system/priv-app/HtcSpeak_HFM.apk
adb pull /system/priv-app/ID.apk
adb pull /system/priv-app/LMIRescue.apk
adb pull /system/priv-app/LMIRescueSecurity.apk
adb pull /system/priv-app/MyBreeze.apk
adb pull /system/priv-app/SprintInstaller.apk
adb pull /system/priv-app/Stock.apk
adb pull /system/priv-app/T6-Lumen-1.1.1.42998.apk
adb pull /system/priv-app/Transfer.apk
adb pull /system/app/CIMEXT9.apk
adb pull /system/app/IMEMurasuIndic.apk
adb pull /system/app/IMEMurasuViet.apk
adb pull /system/app/IMEXT9Arabic.apk
adb pull /system/app/IMEXT9Armenian.apk
adb pull /system/app/IMEXT9BahasaIndonesia.apk
adb pull /system/app/IMEXT9BahasaMalaysia.apk
adb pull /system/app/IMEXT9Bulgaria.apk
adb pull /system/app/IMEXT9Catalan.apk
adb pull /system/app/IMEXT9Croatian.apk
adb pull /system/app/IMEXT9Czech.apk
adb pull /system/app/IMEXT9Danish.apk
adb pull /system/app/IMEXT9Dutch.apk
adb pull /system/app/IMEXT9Estonian.apk
adb pull /system/app/IMEXT9Farsi.apk
adb pull /system/app/IMEXT9Finnish.apk
adb pull /system/app/IMEXT9Greek.apk
adb pull /system/app/IMEXT9Hebrew.apk
adb pull /system/app/IMEXT9Hungarian.apk
adb pull /system/app/IMEXT9Kazakh.apk
adb pull /system/app/IMEXT9Latvian.apk
adb pull /system/app/IMEXT9Lithuanian.apk
adb pull /system/app/IMEXT9Norwegian.apk
adb pull /system/app/IMEXT9Polish.apk
adb pull /system/app/IMEXT9Portuguese.apk
adb pull /system/app/IMEXT9Romanian.apk
adb pull /system/app/IMEXT9Russian.apk
adb pull /system/app/IMEXT9Serbian.apk
adb pull /system/app/IMEXT9Slovak.apk
adb pull /system/app/IMEXT9Slovenian.apk
adb pull /system/app/IMEXT9Swedish.apk
adb pull /system/app/IMEXT9Thai.apk
adb pull /system/app/IMEXT9Turkish.apk
adb pull /system/app/IMEXT9Ukrainian.apk
adb pull /system/customize/resource/HTC_Sense5_Boot.mp3
adb pull /system/customize/resource/BM_startup_animation.zip
adb pull /system/customize/resource/VM_startup_animation.zip
ECHO.
ECHO If you don't see any errors above, APKs have been backed up to
ECHO %CD%
ECHO.
SET /P ANSWER=Delete files from /system/ (Y/N)?
IF /i "%ANSWER%"=="y" GOTO :yes3
IF /i "%ANSWER%"=="yes" GOTO :yes3
GOTO :no
:yes3
ECHO.
if exist 18892_SPC_HTC_Mobile_Guide_M8WHL.apk ( adb shell "rm /system/app/18892_SPC_HTC_Mobile_Guide_M8WHL.apk" ) else ( ECHO 18892_SPC_HTC_Mobile_Guide_M8WHL.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist Books.apk ( adb shell "rm /system/app/Books.apk" ) else ( ECHO Books.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist HtcResetNotify.apk ( adb shell "rm /system/app/HtcResetNotify.apk" ) else ( ECHO HtcResetNotify.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist KidMode-google.apk ( adb shell "rm /system/app/KidMode-google.apk" ) else ( ECHO KidMode-google.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist Magazines.apk ( adb shell "rm /system/app/Magazines.apk" ) else ( ECHO Magazines.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist QXDM2SD.apk ( adb shell "rm /system/app/QXDM2SD.apk" ) else ( ECHO QXDM2SD.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist Smith.apk ( adb shell "rm /system/app/Smith.apk" ) else ( ECHO Smith.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist TetheringGuard.apk ( adb shell "rm /system/app/TetheringGuard.apk" ) else ( ECHO TetheringGuard.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist UDove.apk ( adb shell "rm /system/app/UDove.apk" ) else ( ECHO UDove.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist CheckinProvider.apk ( adb shell "rm /system/priv-app/CheckinProvider.apk" ) else ( ECHO CheckinProvider.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist DemoFLOPackageInstaller.apk ( adb shell "rm /system/priv-app/DemoFLOPackageInstaller.apk" ) else ( ECHO DemoFLOPackageInstaller.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist GoogleFeedback.apk ( adb shell "rm /system/priv-app/GoogleFeedback.apk" ) else ( ECHO GoogleFeedback.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist HtcSpeakNGF.apk ( adb shell "rm /system/priv-app/HtcSpeakNGF.apk" ) else ( ECHO HtcSpeakNGF.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist HtcSpeakUI.apk ( adb shell "rm /system/priv-app/HtcSpeakUI.apk" ) else ( ECHO HtcSpeakUI.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist HtcSpeak_HFM.apk ( adb shell "rm /system/priv-app/HtcSpeak_HFM.apk" ) else ( ECHO HtcSpeak_HFM.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist ID.apk ( adb shell "rm /system/priv-app/ID.apk" ) else ( ECHO ID.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist LMIRescue.apk ( adb shell "rm /system/priv-app/LMIRescue.apk" ) else ( ECHO LMIRescue.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist LMIRescueSecurity.apk ( adb shell "rm /system/priv-app/LMIRescueSecurity.apk" ) else ( ECHO LMIRescueSecurity.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist MyBreeze.apk ( adb shell "rm /system/priv-app/MyBreeze.apk" ) else ( ECHO MyBreeze.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist SprintInstaller.apk ( adb shell "rm /system/priv-app/SprintInstaller.apk" ) else ( ECHO SprintInstaller.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist Stock.apk ( adb shell "rm /system/priv-app/Stock.apk" ) else ( ECHO Stock.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist T6-Lumen-1.1.1.42998.apk ( adb shell "rm /system/priv-app/T6-Lumen-1.1.1.42998.apk" ) else ( ECHO T6-Lumen-1.1.1.42998.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist Transfer.apk ( adb shell "rm /system/priv-app/Transfer.apk" ) else ( ECHO Transfer.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist CIMEXT9.apk ( adb shell "rm /system/app/CIMEXT9.apk" ) else ( ECHO CIMEXT9.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEMurasuIndic.apk ( adb shell "rm /system/app/IMEMurasuIndic.apk" ) else ( ECHO IMEMurasuIndic.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEMurasuViet.apk ( adb shell "rm /system/app/IMEMurasuViet.apk" ) else ( ECHO IMEMurasuViet.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Arabic.apk ( adb shell "rm /system/app/IMEXT9Arabic.apk" ) else ( ECHO IMEXT9Arabic.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Armenian.apk ( adb shell "rm /system/app/IMEXT9Armenian.apk" ) else ( ECHO IMEXT9Armenian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9BahasaIndonesia.apk ( adb shell "rm /system/app/IMEXT9BahasaIndonesia.apk" ) else ( ECHO IMEXT9BahasaIndonesia.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9BahasaMalaysia.apk ( adb shell "rm /system/app/IMEXT9BahasaMalaysia.apk" ) else ( ECHO IMEXT9BahasaMalaysia.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Bulgaria.apk ( adb shell "rm /system/app/IMEXT9Bulgaria.apk" ) else ( ECHO IMEXT9Bulgaria.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Catalan.apk ( adb shell "rm /system/app/IMEXT9Catalan.apk" ) else ( ECHO IMEXT9Catalan.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Croatian.apk ( adb shell "rm /system/app/IMEXT9Croatian.apk" ) else ( ECHO IMEXT9Croatian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Czech.apk ( adb shell "rm /system/app/IMEXT9Czech.apk" ) else ( ECHO IMEXT9Czech.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Danish.apk ( adb shell "rm /system/app/IMEXT9Danish.apk" ) else ( ECHO IMEXT9Danish.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Dutch.apk ( adb shell "rm /system/app/IMEXT9Dutch.apk" ) else ( ECHO IMEXT9Dutch.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Estonian.apk ( adb shell "rm /system/app/IMEXT9Estonian.apk" ) else ( ECHO IMEXT9Estonian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Farsi.apk ( adb shell "rm /system/app/IMEXT9Farsi.apk" ) else ( ECHO IMEXT9Farsi.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Finnish.apk ( adb shell "rm /system/app/IMEXT9Finnish.apk" ) else ( ECHO IMEXT9Finnish.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Greek.apk ( adb shell "rm /system/app/IMEXT9Greek.apk" ) else ( ECHO IMEXT9Greek.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Hebrew.apk ( adb shell "rm /system/app/IMEXT9Hebrew.apk" ) else ( ECHO IMEXT9Hebrew.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Hungarian.apk ( adb shell "rm /system/app/IMEXT9Hungarian.apk" ) else ( ECHO IMEXT9Hungarian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Kazakh.apk ( adb shell "rm /system/app/IMEXT9Kazakh.apk" ) else ( ECHO IMEXT9Kazakh.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Latvian.apk ( adb shell "rm /system/app/IMEXT9Latvian.apk" ) else ( ECHO IMEXT9Latvian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Lithuanian.apk ( adb shell "rm /system/app/IMEXT9Lithuanian.apk" ) else ( ECHO IMEXT9Lithuanian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Norwegian.apk ( adb shell "rm /system/app/IMEXT9Norwegian.apk" ) else ( ECHO IMEXT9Norwegian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Polish.apk ( adb shell "rm /system/app/IMEXT9Polish.apk" ) else ( ECHO IMEXT9Polish.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Portuguese.apk ( adb shell "rm /system/app/IMEXT9Portuguese.apk" ) else ( ECHO IMEXT9Portuguese.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Romanian.apk ( adb shell "rm /system/app/IMEXT9Romanian.apk" ) else ( ECHO IMEXT9Romanian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Russian.apk ( adb shell "rm /system/app/IMEXT9Russian.apk" ) else ( ECHO IMEXT9Russian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Serbian.apk ( adb shell "rm /system/app/IMEXT9Serbian.apk" ) else ( ECHO IMEXT9Serbian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Slovak.apk ( adb shell "rm /system/app/IMEXT9Slovak.apk" ) else ( ECHO IMEXT9Slovak.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Slovenian.apk ( adb shell "rm /system/app/IMEXT9Slovenian.apk" ) else ( ECHO IMEXT9Slovenian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Swedish.apk ( adb shell "rm /system/app/IMEXT9Swedish.apk" ) else ( ECHO IMEXT9Swedish.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Thai.apk ( adb shell "rm /system/app/IMEXT9Thai.apk" ) else ( ECHO IMEXT9Thai.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Turkish.apk ( adb shell "rm /system/app/IMEXT9Turkish.apk" ) else ( ECHO IMEXT9Turkish.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist IMEXT9Ukrainian.apk ( adb shell "rm /system/app/IMEXT9Ukrainian.apk" ) else ( ECHO IMEXT9Ukrainian.apk BACKUP NOT FOUND, SKIPPING . . . )
if exist HTC_Sense5_Boot.mp3 ( adb shell "rm /system/customize/resource/HTC_Sense5_Boot.mp3" ) else ( ECHO HTC_Sense5_Boot.mp3 BACKUP NOT FOUND, SKIPPING . . . )
if exist BM_startup_animation.zip ( adb shell "rm /system/customize/resource/BM_startup_animation.zip" ) else ( ECHO BM_startup_animation.zip BACKUP NOT FOUND, SKIPPING . . . )
if exist VM_startup_animation.zip ( adb shell "rm /system/customize/resource/VM_startup_animation.zip" ) else ( ECHO VM_startup_animation.zip BACKUP NOT FOUND, SKIPPING . . . )
ECHO.
ECHO Deletion of system apps completed.
SET /P ANSWER=Press ENTER to reboot . . .
ECHO.
ECHO Rebooting . . .
adb reboot
ECHO.
ECHO Bloat apps have been removed and backed up to
ECHO %CD%
ECHO.
GOTO :end
:no
ECHO.
ECHO Cancelling . . .
ECHO.
:end
PAUSE
EXIT
Click to expand...
Click to collapse
Very cool! I'm not sure yet but I may have to put a couple back in order to get HTC's voice command to work with my dot view case as that functionality seems to be gone now. But 95% of those apps are useless for me. Thanks a ton!
henderjr said:
Very cool! I'm not sure yet but I may have to put a couple back in order to get HTC's voice command to work with my dot view case as that functionality seems to be gone now. But 95% of those apps are useless for me. Thanks a ton!
Click to expand...
Click to collapse
Yeah, you'll have to put back the 3 HTCSpeak files. I'd removed them since they seemed redundant to Google Voice Search for the car app, but I didn't realize think about the dot view case. I'll take those out of the script.
EDIT: I also added a rebloat script to make putting them back a bit easier.
NO big deal I put them back along with kids mode (want to try it with my daughter). Nice tool nonetheless. I had been meaning to remove some of that crap with titanium but this is much easier and gets those I would've missed. Thanks again!
My only question is, can this be run without rooting/unlocking the phone? I have rooted every Android I've owned, but not this phone yet. I'm in no hurry to do so, but would DEFINITELY like to remove those apps!
I ran the bat and the apps are still installed.
Sent from my 831C using xda app-developers app
tyler.durden said:
My only question is, can this be run without rooting/unlocking the phone? I have rooted every Android I've owned, but not this phone yet. I'm in no hurry to do so, but would DEFINITELY like to remove those apps!
Click to expand...
Click to collapse
The apps that Sprint installs after you activate the phone can be uninstalled without root, but you need root to remove the system app s.
how to remove app that Sprint install
ahecht said:
The apps that Sprint installs after you activate the phone can be uninstalled without root, but you need root to remove the system app s.
Click to expand...
Click to collapse
Can you introduce me to remove app? Thanks
Related
I'm making this ADB based permissions fix patch which does more then only set permissions to system/app. for example to run just before you release a rom where the permissions have to be perfect. I was wondering, is there a list of all default permissions of the system files? (since looking it up file for file would take ages) I've already made a start.
Code:
@echo off
title Permissions patch (CHMOD)
cd /d %~dp0
adb root
echo.
echo Please connect your phone to continue...
adb wait-for-device
echo.
adb remount
cls
echo.
echo Mounting...
adb -d shell mount -o remount rw /system
adb -d shell mount -o remount rw /data
echo.
echo Fixing permissions...
echo.
echo Fixing system app permissions...
adb -d shell find /system/app/ -type f -name '*.apk' -exec chmod 644 {} \;
echo.
echo Fixing framework permissions...
adb -d shell find /system/framework/ -type f -name '*.apk' -exec chmod 644 {} \;
adb -d shell find /system/framework/ -type f -name '*.jar' -exec chmod 644 {} \;
echo.
echo Fixing bootanimation permissions...
adb -d shell chmod 644 "/system/media/sanim.zip"
echo.
echo Fixing init.d scripts permissions...
adb -d shell find /system/etc/init.d/ -type f -name '*.*' -exec chmod 777 {} \;
echo.
echo Fixing library permissions...
adb -d shell find /system/lib/ -type f -name '*.so*' -exec chmod 644 {} \;
echo.
echo Fixing GPS config file permissions...
adb -d shell chmod 644 "/system/etc/gps.conf"
adb -d shell chmod 644 "/data/gps/secgps.conf"
echo.
echo Fixing APN config file permissions...
adb -d shell chmod 644 "/system/etc/apns-conf.xml"
echo.
echo Fixing boot sound permissions...
adb -d shell chmod 644 "/system/etc/PowerOn.wav"
echo.
echo Fixing hosts file permissions...
adb -d shell chmod 644 "/system/etc/hosts"
echo.
echo Done!.
pause
Anyone? I don't like bumping my topic at all but since there is no reply at all it will disappear from users sight in no time.
My main question is if there is a standard chmod for system/lib/* because most of them have different permissions. I might have to leave that part out since it's impossible to make it if all files have different permissions in there.
I can make a permission fix for 90% of the system files tho
please help !!!
broodplank1337 said:
I'm making this ADB based permissions fix patch which does more then only set permissions to system/app. for example to run just before you release a rom where the permissions have to be perfect. I was wondering, is there a list of all default permissions of the system files? (since looking it up file for file would take ages) I've already made a start.
Code:
@echo off
title Permissions patch (CHMOD)
cd /d %~dp0
adb root
echo.
echo Please connect your phone to continue...
adb wait-for-device
echo.
adb remount
cls
echo.
echo Mounting...
adb -d shell mount -o remount rw /system
adb -d shell mount -o remount rw /data
echo.
echo Fixing permissions...
echo.
echo Fixing system app permissions...
adb -d shell find /system/app/ -type f -name '*.apk' -exec chmod 644 {} \;
echo.
echo Fixing framework permissions...
adb -d shell find /system/framework/ -type f -name '*.apk' -exec chmod 644 {} \;
adb -d shell find /system/framework/ -type f -name '*.jar' -exec chmod 644 {} \;
echo.
echo Fixing bootanimation permissions...
adb -d shell chmod 644 "/system/media/sanim.zip"
echo.
echo Fixing init.d scripts permissions...
adb -d shell find /system/etc/init.d/ -type f -name '*.*' -exec chmod 777 {} \;
echo.
echo Fixing library permissions...
adb -d shell find /system/lib/ -type f -name '*.so*' -exec chmod 644 {} \;
echo.
echo Fixing GPS config file permissions...
adb -d shell chmod 644 "/system/etc/gps.conf"
adb -d shell chmod 644 "/data/gps/secgps.conf"
echo.
echo Fixing APN config file permissions...
adb -d shell chmod 644 "/system/etc/apns-conf.xml"
echo.
echo Fixing boot sound permissions...
adb -d shell chmod 644 "/system/etc/PowerOn.wav"
echo.
echo Fixing hosts file permissions...
adb -d shell chmod 644 "/system/etc/hosts"
echo.
echo Done!.
pause
Click to expand...
Click to collapse
i'm new in android mobiles and i can't use my internal and external sd coz i uninstall One Click Lag Fix from my Galaxy S2 after that when i restart my phone i go to my memorey but i can't enter it and said there is no sd card
so can i use this permissions list on my Galaxy S2 ???
and can you learn me how please
many thanks
broodplank1337 said:
Anyone? I don't like bumping my topic at all but since there is no reply at all it will disappear from users sight in no time.
My main question is if there is a standard chmod for system/lib/* because most of them have different permissions. I might have to leave that part out since it's impossible to make it if all files have different permissions in there.
I can make a permission fix for 90% of the system files tho
Click to expand...
Click to collapse
Very useful, thank you.!!!!!!!!
Broodplank1337 SOS GROSO SABELO.!!!
The default permission for /system/app is:
(0, 0, 0644)
Mine says connect device and it is connected?
this app may help to verify permissions and it category
https://play.google.com/store/apps/details?id=com.osp.pmanagerinfo
Hello everybody,
I am a linux user, and there dœs not seem to be any tutorial on the exact procedure to follow in order to flash a razr i. Dœs anybody know of that ?*Could anyone help ?*As for now, I first unlocked my phone in following Matt tools there :*http://174.132.194.66/~batakang/ftp/?dir=RAZRi/RootUtility in order to get my unlocking number and get the key from motorola, as described there :*http://forum.xda-developers.com/showthread.php?t=1928551 I also rooted the device thanks to the scripts included by Matt in his package.
Now, I would like to know exactly what orders in a command line I should use, once the phone connected via usb and on in fastboot mode or fully started, in order to flash not only a different boot but also an entire new rom. It seems to be easy for Windows user thanks to motorola tools, but I cannot find an equivalent for linux.
Could someone explain me that, step by step, if possible ?*I would also really like to know, even if it a second subject, what are the best roms available for this phone ?*Even ubuntu or firefox roms, I don't care
Ok, so basically, the .bat included in the windows fastboots files that you can find here and there describe the whole processes. I copy-past one, and i hope linux user will understand what to do most of the time just by reading the file :
Code:
@echo off
color 0e
echo.
echo. Because it's the utility Gotham deserves, but not the one it needs right now.
echo. So, we'll hunt it, because it can take it. Because it's not our hero.
echo. It's a silent guardian. A watchful protector. A Dark Knight.
echo BATMAN BATMAN BATMAN
echo N BATM N BATM N ATMAN ATMAN BAT AN BAT
echo ATMAN AN BATMAN ATMAN BAT TMAN
echo AN B MAN BATMAN ATMAN BATM BATM
echo TMA MAN BATMA TMAN BATM MAN
echo BAT AN BATM MAN BAT AN B
echo N BA *********************************************** BA
echo N B * Unlocked RAZR i Firmware Flasher * BAT
echo AN B * Created by mattlgroff * BAT
echo N B * Visit us at Batakang.com! * BA
echo N BA *********************************************** N BA
echo BAT AN BAT ATMAN TMAN MAN BATM MAN
echo ATMA AN BATMA BATMAN B BATMAN B TMAN BAT TMA
echo MAN B N BATMAN BATMAN BA N BATMAN BATMAN BA N BAT
echo BATMA BATMAN BATMAN BAT AN BATMAN BATMAN ATMAN
echo AN BATMAN BATMAN BAT AN BATMAN BATMAN BA
echo N BATMAN BATMAN BATMAN B
adb kill-server > nul
adb start-server > nul
ping 1.1.1.1 -n 1 -w 500 > nul
cls
echo. "Have drivers installed, phone connected, and USB Debugging enabled in Developer Options."
echo. "Also make sure to have a lot of battery power or a factory-style adapter before attempt."
pause
adb wait-for-device reboot bootloader
ping 1.1.1.1 -n 1 -w 1000 > nul
fastboot flash system system.img.ext4
ping 1.1.1.1 -n 1 -w 1000 > nul
fastboot flash boot razr_i_boot_insecured.img
fastboot reboot
echo. "Rebooting and working..."
adb wait-for-device remount
adb push su /system/bin/
adb push busybox /system/xbin/
adb push Superuser.apk /system/app/
adb shell "chmod 755 /system/xbin/busybox"
adb shell "chmod 6755 /system/bin/su"
adb reboot bootloader
echo. "Rebooting and working..."
ping 1.1.1.1 -n 1 -w 1000 > nul
fastboot flash boot boot.img
fastboot reboot
echo. "Done. If you bootloop go to Recovery and wipe data. "
pause
You can flash SBF with sbf_flash.
http://blog.opticaldelusion.org/2011/04/universal-binaries-running-same.html
For fastboot you can use the terminal with the Android SDK.
I found a script that adds boot audio. In it there is a line calling stagefright, stagefright either doesn't exist on my ROM and I have no clue as to add it. Here is the script in question which I don't know the original author however lithid from http://forum.cyanogenmod.org did some work on it and was close to creating a updater-script. Please Help Me as I know some scripting but not a lot
PS I was advised to ask this question to the devs by a cyanogenmod.org mod named bassmadrigal
Code:
#!/system/bin/sh
#I just made this into a script this was from a post on XDA by spiicytuna
#http://forum.xda-developers.com/showpost.php?p=8274824&postcount=2
#Please give the credit to him not me.
echo "preparing system..."
#Setting up the system for read/write access
mount -o remount,rw /system
#linking busybox mkdir (broken in rc2)
rm /system/bin/mkdir
ln -s /system/xbin/mkdir /system/bin/mkdir
mkdir -p /data/local/boot
echo "checking for previous bootsound installation..."
if [ -e /system/bin/bootsound ];
then
echo "bootsound already enabled, exiting.."
mount -o remount,ro /system
exit
fi
if [ "`ls /sbin|grep -q recovery;echo $?`" = "0" ];
then
mount -a > /dev/null
recoverymode=y
else
mount -o rw,remount /system
recoverymode=n
fi
echo "preparing startup scripts..."
#This is to create the needed scripts in init.local.rc
echo '' >> /system/etc/init.local.rc
echo '' >> /system/etc/init.local.rc
echo '###Bootsound - Safe to Delete: Start ###' >> /system/etc/init.local.rc
echo "" >> /system/etc/init.local.rc
echo 'service bootsound /system/bin/bootsound' >> /system/etc/init.local.rc
echo ' user media' >> /system/etc/init.local.rc
echo ' group audio' >> /system/etc/init.local.rc
echo ' disabled' >> /system/etc/init.local.rc
echo ' oneshot' >> /system/etc/init.local.rc
echo '' >> /system/etc/init.local.rc
echo 'on property:init.svc.bootanim=running # to correct timin' >> /system/etc/init.local.rc
echo ' start bootsound' >> /system/etc/init.local.rc
echo '' >> /system/etc/init.local.rc
echo 'on property:dev.bootcomplete=1' >> /system/etc/init.local.rc
echo ' stop bootsound' >> /system/etc/init.local.rc
echo '### Bootsound - Safe to Delete: End ###' >> /system/etc/init.local.rc
echo "creating script for bootsound in /system/bin..."
echo '#Now creating the bootsound script'
touch /system/bin/bootsound
echo '#!/system/bin/sh' >> /system/bin/bootsound
echo '' >> /system/bin/bootsound
echo 'bprop=/system/build.prop' >> /system/bin/bootsound
echo '' >> /system/bin/bootsound
echo 'play=$(cat $bprop | egrep -c -i -o ro.config.play.bootsound=1)' >> /system/bin/bootsound
echo 'if [ "$play" = "1" ]; then' >> /system/bin/bootsound
echo ' stagefright -a -o /system/media/android_audio.mp3' >> /system/bin/bootsound #this is the line that breaks the code
echo 'fi' >> /system/bin/bootsound
echo 'exit 0' >> /system/bin/bootsound
#Changing some permissions
chmod 777 /system/bin/bootsound
chown root:shell /system/bin/bootsound
echo '' >> /system/build.pro
echo 'ro.config.play.bootsound=1' >> /system/build.prop
echo 'media.stagefright.enable-player=true' >> /system/build.prop
echo 'media.stagefright.enable-meta=true' >> /system/build.prop
echo 'media.stagefright.enable-scan=true' >> /system/build.prop
echo 'media.stagefright.enable-http=true' >> /system/build.prop
#removed self-destruct, script checks for previous install
sleep 1
mount -o ro,remount /system
echo "done."
exit
ethan_hines said:
I found a script that adds boot audio. In it there is a line calling stagefright, stagefright either doesn't exist on my ROM and I have no clue as to add it. Here is the script in question which I don't know the original author however lithid from http://forum.cyanogenmod.org did some work on it and was close to creating a updater-script. Please Help Me as I know some scripting but not a lot
PS I was advised to ask this question to the devs by a cyanogenmod.org mod named bassmadrigal
Click to expand...
Click to collapse
Not sure if this works , but I will eventually try it , but not now , on my free time.
stagefright indeed is not included , my phone too doesn't have stagefright , if you go to youtube and search for android developement tutorials by "thenewboston" . you'll find 200 videos series , just watch the first 20 ones and you'll learn to use Media which replaces stagefright...I didn't try it yet.
It includes
Our_Player and Media Player and the directory of the song....check it out and give us heads ups!
thethiny said:
Not sure if this works , but I will eventually try it , but not now , on my free time.
stagefright indeed is not included , my phone too doesn't have stagefright , if you go to youtube and search for android developement tutorials by "thenewboston" . you'll find 200 videos series , just watch the first 20 ones and you'll learn to use Media which replaces stagefright...I didn't try it yet.
It includes
Our_Player and Media Player and the directory of the song....check it out and give us heads ups!
Click to expand...
Click to collapse
I appreciate the info, I took a look at his tutorials esp the ones involving animation, he really knows his stuff. I am not a Java programmer by any means and to be honest I find it quite tedious, it's like trying to teach a baby (this case the Dalvik VM) to do basic stuff like draw a green ball took like 20 lines of code!
What I need to know essentially is, do I have to use JAVA to get this to work now? In the past ie ICS and lower, there wasn't a problem with Custom Boot Audio, now with JB it seems it has disappeared from the radar.
I know the binary /system/bin/bootanimation (is this written in JAVA?, is there a source code for this bin?) is called at boot time by init.rc in the following manner:
Code:
service bootanim /system/bin/bootanimation
class main
user graphics
group graphics
disabled
oneshot
/system/bin/bootanimation (at least from what I gather) looks in /system/media for bootanimation.zip (zipped in store mode) decompresses it , looks at desc.txt for the code and displays the animation png by png.
In some desc.txt there is an s line, example:
Code:
# mobility
p 1 0 SOUND
s transdroid.mp3
which is SUPPOSED TO call a custom boot audio from /system/media (.mp3?) at the same time. This appears not to work. So logicaly I think the binary needs some tweaking. Can you offer any suggestions?
As you can see I have spent ALLOT of time mulling over why this,one would think, simple task: display a series of images and play audio at boot time I mean how hard can that be?
I am not trying to be a pest I just need to know WHY this doesn't work in JB (CM10.1)
My htc One is going to need to go in for repair, and i have many images that i dont want to lose, but i know that it is very likely that a factory reset is very likely. Can someone tell what is the easiest and most effective way of saving/storing my wallpapers/photos from the phone back to the phone when it comes back from repair?
Any advice would be very much appreciated, as i am a complete novice when it comes to this sort of thing.
dibdin said:
My htc One is going to need to go in for repair, and i have many images that i dont want to lose, but i know that it is very likely that a factory reset is very likely. Can someone tell what is the easiest and most effective way of saving/storing my wallpapers/photos from the phone back to the phone when it comes back from repair?
Any advice would be very much appreciated, as i am a complete novice when it comes to this sort of thing.
Click to expand...
Click to collapse
What's broken that needs repair?
dibdin said:
My htc One is going to need to go in for repair, and i have many images that i dont want to lose, but i know that it is very likely that a factory reset is very likely. Can someone tell what is the easiest and most effective way of saving/storing my wallpapers/photos from the phone back to the phone when it comes back from repair?
Any advice would be very much appreciated, as i am a complete novice when it comes to this sort of thing.
Click to expand...
Click to collapse
Drag and drop to a folder on your computer, then when the phone comes back drag and drop back into the same place.
dibdin said:
My htc One is going to need to go in for repair, and i have many images that i dont want to lose, but i know that it is very likely that a factory reset is very likely. Can someone tell what is the easiest and most effective way of saving/storing my wallpapers/photos from the phone back to the phone when it comes back from repair?
Any advice would be very much appreciated, as i am a complete novice when it comes to this sort of thing.
Click to expand...
Click to collapse
Here is my little tool to save the whole SDCard, it should be able to do the work... simply follow the instructions:
http://ul.to/0skv8966
Source code, if you think it's a virus:
Code:
::===========================================
::This is Version 1.0 of Android SDCard to PC
::===========================================
@echo off
title Android SDCard To PC
:startProcedure
echo ===============================================================================
echo Willkommen bei Android SDCard To PC
echo Instruktionen: -Shut down your phone into recovery
echo -This tool is only tested on CWM and TWRP, but it should work
echo for all recoveries
echo -It's impossible that this tool damages your phone! But I'm not
echo responsible for any kind if **** that happens
echo -NOW, mount the /data partition from your recovery!
echo ===============================================================================
echo\
cd resources
dir
echo\
echo ===============================================================================
echo Now if you want to continue, press: J
echo If you want to leave, press: N
echo ===============================================================================
set /p pfadUserChoice=
if %pfadUserChoice% == J goto fileCopying
if %pfadUserChoice% == N goto beenden
goto beenden
:beenden
echo Closing programme:
pause
goto ende
:fileCopying
echo ===============================================================================
echo Write here your directory where you want to store the backups
echo (z.B. D:\Users\Name\BackUps )
echo ===============================================================================
set /p computerDirectory=
set backUpDirectoryFinal=/data/media/0
echo Data will be copied if you accept the next request:
echo Von: %backUpDirectoryFinal%
echo Zu: %computerDirectory%
pause
adb remount
adb pull %backUpDirectoryFinal% %computerDirectory%
echo If there were no errors, the process should have worked fine
echo Killing!
pause
:ende
LibertyMarine said:
Here is my little tool to save the whole SDCard, it should be able to do the work... simply follow the instructions:
http://ul.to/0skv8966
Source code, if you think it's a virus:
Code:
::===========================================
::This is Version 1.0 of Android SDCard to PC
::===========================================
@echo off
title Android SDCard To PC
:startProcedure
echo ===============================================================================
echo Willkommen bei Android SDCard To PC
echo Instruktionen: -Shut down your phone into recovery
echo -This tool is only tested on CWM and TWRP, but it should work
echo for all recoveries
echo -It's impossible that this tool damages your phone! But I'm not
echo responsible for any kind if **** that happens
echo -NOW, mount the /data partition from your recovery!
echo ===============================================================================
echo\
cd resources
dir
echo\
echo ===============================================================================
echo Now if you want to continue, press: J
echo If you want to leave, press: N
echo ===============================================================================
set /p pfadUserChoice=
if %pfadUserChoice% == J goto fileCopying
if %pfadUserChoice% == N goto beenden
goto beenden
:beenden
echo Closing programme:
pause
goto ende
:fileCopying
echo ===============================================================================
echo Write here your directory where you want to store the backups
echo (z.B. D:\Users\Name\BackUps )
echo ===============================================================================
set /p computerDirectory=
set backUpDirectoryFinal=/data/media/0
echo Data will be copied if you accept the next request:
echo Von: %backUpDirectoryFinal%
echo Zu: %computerDirectory%
pause
adb remount
adb pull %backUpDirectoryFinal% %computerDirectory%
echo If there were no errors, the process should have worked fine
echo Killing!
pause
:ende
Click to expand...
Click to collapse
Nice idea :good:
Just make sure he's on 4.2.2+ ROM, otherwise if it's still 4.1.2 then it will be in /data/media
LibertyMarine said:
Here is my little tool to save the whole SDCard, it should be able to do the work... simply follow the instructions:
http://ul.to/0skv8966
Source code, if you think it's a virus:
Code:
::===========================================
::This is Version 1.0 of Android SDCard to PC
::===========================================
@echo off
title Android SDCard To PC
:startProcedure
echo ===============================================================================
echo Willkommen bei Android SDCard To PC
echo Instruktionen: -Shut down your phone into recovery
echo -This tool is only tested on CWM and TWRP, but it should work
echo for all recoveries
echo -It's impossible that this tool damages your phone! But I'm not
echo responsible for any kind if **** that happens
echo -NOW, mount the /data partition from your recovery!
echo ===============================================================================
echo\
cd resources
dir
echo\
echo ===============================================================================
echo Now if you want to continue, press: J
echo If you want to leave, press: N
echo ===============================================================================
set /p pfadUserChoice=
if %pfadUserChoice% == J goto fileCopying
if %pfadUserChoice% == N goto beenden
goto beenden
:beenden
echo Closing programme:
pause
goto ende
:fileCopying
echo ===============================================================================
echo Write here your directory where you want to store the backups
echo (z.B. D:\Users\Name\BackUps )
echo ===============================================================================
set /p computerDirectory=
set backUpDirectoryFinal=/data/media/0
echo Data will be copied if you accept the next request:
echo Von: %backUpDirectoryFinal%
echo Zu: %computerDirectory%
pause
adb remount
adb pull %backUpDirectoryFinal% %computerDirectory%
echo If there were no errors, the process should have worked fine
echo Killing!
pause
:ende
Click to expand...
Click to collapse
Liberty - I've never heard of this, but it seems to use adb pull which was going to be one of my suggestions.
is it a ui for these commands?
--
ALSO, dibdin, make sure you have Debugging enabled in Dev Options in settings, and definitely mtp enabled and Fastcharge disabled (if your kernel allows it.)
---------- Post added at 11:16 AM ---------- Previous post was at 10:57 AM ----------
dibdin said:
My htc One is going to need to go in for repair, and i have many images that i dont want to lose, but i know that it is very likely that a factory reset is very likely. Can someone tell what is the easiest and most effective way of saving/storing my wallpapers/photos from the phone back to the phone when it comes back from repair?
Any advice would be very much appreciated, as i am a complete novice when it comes to this sort of thing.
Click to expand...
Click to collapse
if its a cracked digitizer/glass but touch still responds and you can see what youre doing, then you can upload any of them to online storage like Google Drive, Box, Drop Box, etc. the list goes on.
in fact g+ has an auto update feature, if you have used it, it may have already backed up your images..
as for backing up apps: if youre rooted then Titanium Backup (should be "duh!" but in case you didn't know) available on the playstore
or if youre not rooted, theres a relatively new app from Clockwork Mod entitled Helium (also on the playstore) that requires a pc, but not root, and worked great for me since I was afraid to root my One (afraid to brick it like I had with my sgs3 and had to send to jtag (a near 100$ learning experience )
both have premium versions, but if youre into dev or flashing different roms, you'll want to look into either one.
nkk71 said:
Nice idea :good:
Just make sure he's on 4.2.2+ ROM, otherwise if it's still 4.1.2 then it will be in /data/media
Click to expand...
Click to collapse
Oh, okay didn't know that.. thanks, i am gonna update the program so that this guy won't have any troubles if he has Android 4.1.. Do you know if it's possible to determine the Android Version by using ADB and making a CMD check, so the input variable is set automatically? I mean that it changes the directory to /data/media
---------- Post added at 10:26 PM ---------- Previous post was at 10:22 PM ----------
DaringDomino3s said:
Liberty - I've never heard of this, but it seems to use adb pull which was going to be one of my suggestions.
is it a ui for these commands?
Click to expand...
Click to collapse
Yeah.. but it might be easier for him to use a tool instead of working with adb commands.. no there isn't a UI, it's simply a guide.. it does all the work for you... But it simply is a stupid tool.. it's so easy.. but it helps and if you make backups more often, you can let this tool do the work
LibertyMarine said:
Oh, okay didn't know that.. thanks, i am gonna update the program so that this guy won't have any troubles if he has Android 4.1.. Do you know if it's possible to determine the Android Version by using ADB and making a CMD check, so the input variable is set automatically? I mean that it changes the directory to /data/media
---------- Post added at 10:26 PM ---------- Previous post was at 10:22 PM ----------
Yeah.. but it might be easier for him to use a tool instead of working with adb commands.. no there isn't a UI, it's simply a guide.. it does all the work for you... But it simply is a stupid tool.. it's so easy.. but it helps and if you make backups more often, you can let this tool do the work
Click to expand...
Click to collapse
How about using /sdcard, shouldnt that symlink to the correct one?
I'm not thinking straight right now so I better get back 2 u tomorrow...
Sent from my HTC One using Tapatalk
Edit: it's not a stupid tool !
nkk71 said:
How about using /sdcard, shouldnt that symlink to the correct one?
I'm not thinking straight right now so I better get back 2 u tomorrow...
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
I once had mounting issues on my recovery.. but yeah, I'll try this option once my HTC One is repaired.. *hoping they'll do it on warranty*
Ok, that's very nice
CUSTOM APP/WGT BACKUP : DEV WORK
REMEMBER THIS IS A WIP
This thread is for the development , help, contributions and testing of a script to back up the custom apps and wgt's of our tizen powered
gear , gear 2, gear 2 neo
heres what ive got so far to pull
Code:
@ECHO OFF
ECHO THIS GEAR PULL .BAT WAS CREATED BY GAV83COLLINS
ECHO.
ECHO ITS DESIGNED FOR TIZEN POWERED SAMSUNG GEARS
ECHO AND WILL NOT EFFECT YOUR GEAR IN ANYWAY
ECHO.
ECHO TO START, FIRST WE NEED TO CREATE THE DIRECTORIES NEEDED TO PULL TO
ECHO.
PAUSE
md "C:\sdb\optshareapplications"
md "C:\sdb\optusrapps"
md "C:\sdb\optsharepackages"
md "C:\sdb\usrsharepackages"
md "C:\sdb\usr/apps"
ECHO OK THATS DONE!!!!
ECHO.
ECHO NOW TO CONTINUE RIPPING FOLDERS
ECHO.
ECHO /opt/share/applications
ECHO /usr/apps
ECHO /opt/usr/apps
ECHO /opt/share/packages
ECHO /usr/share/applications
ECHO /usr/share/packages
ECHO.
ECHO TO CONTINUE
ECHO.
PAUSE
cd "C:\sdb"
sdb.exe
sdb root on
sdb shell mount -o remount rw /
sdb pull /opt/share/applications "C:\sdb\optshareapplications"
sdb pull /usr/apps "C:\sdb\usrapps"
sdb pull /opt/usr/apps "C:\sdb\optusrapps"
sdb pull /opt/share/packages "C:\sdb\optsharepackages"
sdb pull /usr/share/applications "C:\sdb\usrsharepackages"
ECHO.
ECHO OK THATS DONE!!!!
ECHO.
ECHO TO REBOOT WATCH
ECHO.
PAUSE
sdb shell reboot watch
HERES THE SCRIPT
SEE POST TWO FOR PUSHING BACK
XDA:DevDB Information
CUSTOM APP/WGT BACKUP : DEV WORK, Tool/Utility for the Samsung Gear 2
Contributors
gav83collins
Version Information
Status: Testing
Created 2014-10-10
Last Updated 2014-10-09
XDA:DevDB Information
Custom app/wgt backup, Tool/Utility for the Samsung Galaxy Gear
Contributors
gav83collins
Version Information
Status: Testing
Created 2014-10-10
Last Updated 2014-10-10
DO NOT USE
YET
UNLESS YOUR PREPARED TO RE FLASH TIZENMOD
all or some system apps need removing (i think) before pushing back
im still working this out, thats why i need your help and why this isnt deemed as stable and a wip
heres what i have so far
Code:
@ECHO OFF
ECHO THIS GEAR PUSH .BAT WAS CREATED BY GAV83COLLINS
ECHO.
ECHO ITS DESIGNED FOR TIZEN POWERED SAMSUNG GEARS
ECHO.
ECHO SO YOUVE PULLED THE FOLDERS, AND NOW YOU WANT TO PUSH THEM BACK
ECHO.
ECHO !!!! CAUTION !!!! ? !!!! CAUTION !!!! ? !!!! CAUTION !!!!
ECHO THIS CAN CAUSE BOOT FAILURE IF STEPS NOT FOLLOWED CORRECTLY
ECHO BUT DONT WORRY IF IT DOES A REFLASH OF TIZENMOD WILL FIX THIS
ECHO IM STILL WORKING OUT THE KINKS
ECHO.
ECHO TO CONTINUE PUSHING BACK TO DEVICE
ECHO.
ECHO /opt/share/applications
ECHO /usr/apps
ECHO /opt/usr/apps
ECHO /opt/share/packages
ECHO /usr/share/applications
ECHO /usr/share/packages
ECHO.
ECHO TO CONTINUE
PAUSE
cd "C:\sdb"
sdb.exe
sdb root on
sdb shell mount -o remount rw /
sdb push C:\sdb\optshareapplications "/opt/share/applications"
sdb push C:\sdb\optusrapps "/opt/usr/apps"
sdb push C:\sdb\optsharepackages "/opt/share/packages"
sdb push C:\sdb\usrsharepackages "/usr/share/packages"
sdb push C:\sdb\usr/apps "/usr/apps"
ECHO.
ECHO OK THATS DONE!!!!
ECHO.
sdb shell reboot watch
HERES THE SCRIPT