@REM this file is uesd to push different apks into a phone
@echo off
@REM title APK Pusher
SET line=****************
SET apkFmRadio=\\192.168.10.53\work\fadi\fadi6753_l_mp3\out\target\product\fadi6753_star_lite\system\priv-app\FmRadio\FmRadio.apk
@REM SET apkFmRadio=T:\out\target\product\fadi35_sp31_lte\system\priv-app\FmRadio\FmRadio.apk
SET apkFm2=U:\out\target\product\fadi6580_sp46\system\priv-app\FMRadio\FMRadio.apk
@REM SET apkFm2=W:\out\target\product\fadi6580_sp32\system\priv-app\FMRadio\FMRadio.apk
@REM SET apkFm2=\\192.168.10.53\work\fadi\clone\fadi6580_mp6_v2\out\target\product\fadi6580_sp31\system\priv-app\FMRadio\FMRadio.apk
@REM SET apkCalendar=\\192.168.10.53\work\fadi\SP48\fadi6753_l_mp3\out\target\product\fadi35m_sp48\system\app\Calendar\Calendar.apk
@REM SET apkCalendar=\\192.168.10.53\work\fadi\fadi6753_l_mp3\out\target\product\fadi6753_star_lite\system\app\Calendar\Calendar.apk
@REM SET apkCalendar=V:\out\target\product\fadi6580_sp31\system\app\Calendar\Calendar.apk
@REM SET apkCalendar=T:\out\target\product\fadi6753_star_lite\system\app\Calendar\Calendar.apk
SET apkCalendar=U:\out\target\product\fadi6580_sp46\system\app\Calendar\Calendar.apk
SET apkSystemUI=V:\out\target\product\fadi6750_sp603_th\system\priv-app\SystemUI\SystemUI.apk
@REM SET apkSystemUI=T:\out\target\product\fadi6753_star_lite\system\priv-app\SystemUI\SystemUI.apk
@REM SET apkSystemUI=\\192.168.10.53\work\fadi\clone\fadi6753_l_mp3\out\target\product\fadi6753_star_lite\system\priv-app\SystemUI\SystemUI.apk
@REM SET apkSystemUI=Y:\out\target\product\fadi6735p_sp31_lte\system\priv-app\SystemUI\SystemUI.apk
@REM SET apkSystemUI=U:\out\target\product\fadi37m_sp603_in\system\priv-app\SystemUI\SystemUI.apk
@REM SET apkSettings=W:\out\target\product\fadi35p_sp601\system\priv-app\Settings\Settings.apk
SET apkSettings=V:\out\target\product\fadi6750_sp603_th\system\priv-app\Settings\Settings.apk
@REM SET apkSettings=T:\out\target\product\fadi35_sp31_lte\system\priv-app\Settings\Settings.apk
@REM SET apkSettings=Y:\out\target\product\fadi82w_grand_i\system\priv-app\Settings\Settings.apk
@REM SET apkLED=W:\out\target\product\fadi6580_sp32\system\app\fadiLED\fadiLED.apk
SET apkLED=T:\out\target\product\fadi35_sp31_lte\system\app\fadiLED\fadiLED.apk
@REM SET apkNotes=\\192.168.10.53\work\fadi\fadi6753_l_mp3\out\target\product\fadi6753_star_lite\system\app\NoteBook\NoteBook.apk
@REM SET apkNotes=V:\out\target\product\fadi6580_sp31\system\app\NoteBook\NoteBook.apk
SET apkNotes=W:\out\target\product\fadi35p_sp601\system\app\NoteBook\NoteBook.apk
@REM SET apkNotes=T:\out\target\product\fadi35_sp31_lte\system\app\NoteBook\NoteBook.apk
SET jarFramework=V:\out\target\product\fadi6750_sp603_th\system\framework\framework.jar
@REM SET jarFramework=W:\out\target\product\fadi35p_sp601\system\framework\framework.jar
@REM SET jarFramework=U:\out\target\product\fadi37m_sp603_in\system\framework\framework.jar
@REM SET apkContacts=T:\out\target\product\fadi35_sp31_lte\system\priv-app\Contacts\Contacts.apk
@REM SET apkContacts=V:\out\target\product\fadi6750_sp603_th\system\priv-app\Contacts\Contacts.apk
SET apkContacts=U:\out\target\product\fadi6737m_sp504_int\system\priv-app\Contacts\Contacts.apk
SET apkBlackGestureCustom=X:\out\target\product\fadi82w_star\system\app\BlackGestureCustom\BlackGestureCustom.apk
SET apkBrowser=T:\out\target\product\fadi35_sp31_lte\system\app\Browser\Browser.apk
SET apkEmail=T:\out\target\product\fadi35_sp31_lte\system\app\Email\Email.apk
@REM SET jarServices=Z:\os_4.0\fadi6737t_m0_mp1v2\out\target\product\fadi37m_sp603_in\system\framework\services.jar
@REM SET jarServices=U:\out\target\product\fadi6737m_sp504_int\system\framework\services.jar
@REM SET jarServices=V:\out\target\product\fadi6750_sp603_th\system\framework\services.jar
SET jarServices=Y:\out\target\product\fadi6737m_sp504_th\system\framework\services.jar
@REM SET apkDeskClock=V:\out\target\product\fadi6753_star_lite\system\app\DeskClock\DeskClock.apk
@REM SET apkDeskClock=\\192.168.10.53\work\fadi\clone\fadi6753_l_mp3\out\target\product\fadi6753_star_lite\system\app\DeskClock\DeskClock.apk
SET apkDeskClock=T:\out\target\product\fadi6753_star_lite\system\app\DeskClock\DeskClock.apk
SET apkBluetooth=U:\out\target\product\fadi6737m_sp504_int\system\app\Bluetooth\Bluetooth.apk
@REM SET apkMusic=\\192.168.10.53\work\fadi\sp31_lte_th_35p\fadi6753_l_mp3\out\target\product\fadi35p_sp31_lte_thai\system\app\Music\Music.apk
@REM SET apkMusic=T:\out\target\product\fadi6753_star_lite\system\app\Music\Music.apk
@REM SET apkMusic=Y:\out\target\product\fadi6735p_sp31_lte\system\app\Music\Music.apk
SET apkMusic=V:\out\target\product\fadi6750_sp603_th\system\app\Music\Music.apk
SET apkVideos=\\192.168.10.53\work\fadi\fadi6753_l_mp3\out\target\product\fadi6753_star_lite\system\priv-app\Videos\Videos.apk
@REM SET apkVideos=V:\out\target\product\fadi6580_sp31\system\priv-app\Videos\Videos.apk
@REM SET apkDialer=Z:\sp504_in\fadi6737t_m0_mp1v2\out\target\product\fadi37m_sp603_in\system\priv-app\Dialer\Dialer.apk
SET apkDialer=U:\out\target\product\fadi6737m_sp504_int\system\priv-app\Dialer\Dialer.apk
@REM SET apkDialer=W:\out\target\product\fadi35_sp501\system\priv-app\Dialer\Dialer.apk
@REM SET apkDialer=Y:\out\target\product\fadi6735p_sp31_lte\system\priv-app\Dialer\Dialer.apk
SET apkLauncher3=Z:\sp501_m_eng\fadi6735_m_mp1v2\out\target\product\fadi35_sp501\system\priv-app\Launcher3\Launcher3.apk
@REM SET apkLauncher3=W:\out\target\product\fadi35p_sp601\system\priv-app\Launcher3\Launcher3.apk
@REM SET apkLauncher3=Z:\fadi6572_l_mp6\out\target\product\fadi72_sp49\system\priv-app\Launcher3\Launcher3.apk
@REM SET apkLauncher3=T:\out\target\product\fadi6753_star_lite\system\priv-app\Launcher3\Launcher3.apk
@REM SET apkLauncher3=\\192.168.10.53\work\fadi\clone\fadi6753_l_mp3\out\target\product\fadi6753_star_lite\system\priv-app\Launcher3\Launcher3.apk
SET apkGallery2=U:\out\target\product\fadi6737m_sp504_int\system\app\Gallery2\Gallery2.apk
@REM SET apkframeworkres=\\192.168.10.53\work\fadi\SP48\fadi6753_l_mp3\out\target\product\fadi35m_sp48\system\framework\framework-res.apk
@REM SET apkframeworkres=T:\out\target\product\fadi6753_star_lite\system\framework\framework-res.apk
SET apkframeworkres=V:\out\target\product\fadi6750_sp603_th\system\framework\framework-res.apk
SET jartelephonycommon=V:\out\target\product\fadi35p_sp43\system\framework\telephony-common.jar
SET apkContactsProvider=U:\out\target\product\fadi37m_sp603_in\system\priv-app\ContactsProvider\ContactsProvider.apk
SET apkSettingsProvider=V:\out\target\product\fadi35p_sp43\system\priv-app\SettingsProvider\SettingsProvider.apk
SET apkSoundRecorder=U:\out\target\product\fadi6580_sp46\system\app\SoundRecorder\SoundRecorder.apk
SET apkMms=V:\out\target\product\fadi6750_sp603_th\system\priv-app\MtkMms\MtkMms.apk
SET apkFileManager=V:\out\target\product\fadi6750_sp603_th\system\app\FileManager\FileManager.apk
:CreateMenu
SET choice=0
echo.
echo choose an apk file to push:
echo.
echo %line%
echo 1. FmRadio
echo 2. Calendar
echo 3. SystemUI
echo 4. Settings
echo 5. LED
echo 6. Notes
echo 7. framework
echo 8. Contacts
echo 9. BlackGestureCustom
echo 10. Browser
echo 11. Email
echo 12. services
echo 13. FMRadio_2.0
echo 14. DeskClock
echo 15. Bluetooth
echo 16. Music
echo 17. Videos
echo 18. Dialer
echo 19. Launcher3
echo 20. Gallery2
echo 21. framework-res
echo 22. telephony-common
echo 23. ContactsProvider
echo 24. SettingsProvider
echo 25. SouncRecorder
echo 26. Mms
echo 27. FileManager
echo r. reboot
echo e. exit
echo %line%
echo.
SET /P choice=your choice is:
IF %choice%==1 goto FmRadio
IF %choice%==2 goto Calendar
IF %choice%==3 goto SystemUI
IF %choice%==4 goto Settings
IF %choice%==5 goto LED
IF %choice%==6 goto Notes
IF %choice%==7 goto framework
IF %choice%==8 goto Contacts
IF %choice%==9 goto BlackGestureCustom
IF %choice%==10 goto Browser
IF %choice%==11 goto Email
IF %choice%==12 goto Services
IF %choice%==13 goto FMRadio_2.0
IF %choice%==14 goto DeskClock
IF %choice%==15 goto Bluetooth
IF %choice%==16 goto Music
IF %choice%==17 goto Videos
IF %choice%==18 goto Dialer
IF %choice%==19 goto Launcher3
IF %choice%==20 goto Gallery2
IF %choice%==21 goto frameworkres
IF %choice%==22 goto telephonycommon
IF %choice%==23 goto ContactsProvider
IF %choice%==24 goto SettingsProvider
IF %choice%==25 goto SoundRecorder
IF %choice%==26 goto Mms
IF %choice%==27 goto FileManager
IF %choice%==r goto reboot
IF %choice%==e goto exit
echo Invalid choice: %choice%
pause
@REM cls
goto CreateMenu
:FmRadio
echo on
adb remount
adb shell rm /system/priv-app/FmRadio/*.apk
adb push %apkFmRadio% /system/priv-app/FmRadio/
pause
@echo off
@REM cls
goto CreateMenu
:Calendar
echo on
adb remount
adb shell rm /system/app/Calendar/*.apk
adb push %apkCalendar% /system/app/Calendar/
pause
@echo off
goto CreateMenu
:SystemUI
echo on
adb remount
adb shell rm /system/priv-app/SystemUI/*.apk
adb push %apkSystemUI% /system/priv-app/SystemUI/
@REM adb install -r %apkSystemUI%
pause
@echo off
goto CreateMenu
:Settings
echo on
adb remount
adb shell rm /system/priv-app/Settings/*.apk
adb push %apkSettings% /system/priv-app/Settings/
pause
@echo off
goto CreateMenu
:LED
echo on
adb remount
adb shell rm /system/priv-app/fadiLED/*.apk
adb push %apkLED% /system/priv-app/fadiLED/
pause
@echo off
goto CreateMenu
:Notes
echo on
adb remount
adb shell rm /system/app/NoteBook/*.apk
adb push %apkNotes% /system/app/NoteBook/
@REM adb install -r %apkNotes%
pause
@echo off
goto CreateMenu
:framework
echo on
adb remount
adb shell rm /system/framework/framework.jar
adb push %jarFramework% /system/framework/
pause
@echo off
goto CreateMenu
:Contacts
echo on
adb remount
adb shell rm /system/priv-app/Contacts/*.apk
adb push %apkContacts% /system/priv-app/Contacts/
@REM adb install -r %apkContacts%
pause
@echo off
goto CreateMenu
:BlackGestureCustom
echo on
adb remount
adb shell rm /system/app/BlackGestureCustom/*.apk
adb push %apkBlackGestureCustom% /system/app/BlackGestureCustom/
pause
@echo off
goto CreateMenu
:Browser
echo on
adb remount
adb shell rm /system/app/Browser/*.apk
adb push %apkBrowser% /system/app/Browser/
pause
@echo off
goto CreateMenu
:Email
echo on
adb remount
adb shell rm /system/app/Email/*.apk
adb push %apkEmail% /system/app/Email/
pause
@echo off
goto CreateMenu
:services
echo on
adb remount
adb shell rm /system/framework/services.jar
adb push %jarServices% /system/framework/
pause
@echo off
goto CreateMenu
:FMRadio_2.0
echo on
adb remount
adb shell rm /system/priv-app/FMRadio/*.apk
@REM adb shell rm -r /data/data/com.android.fmradio/
adb push %apkFm2% /system/priv-app/FMRadio/
pause
@echo off
goto CreateMenu
:DeskClock
echo on
adb remount
adb shell rm /system/app/DeskClock/*.apk
adb push %apkDeskClock% /system/app/DeskClock/
pause
@echo off
goto CreateMenu
:Bluetooth
echo on
adb remount
adb shell rm /system/app/Bluetooth/*.apk
adb push %apkBluetooth% /system/app/Bluetooth/
pause
@echo off
goto CreateMenu
:Music
echo on
adb remount
adb shell rm /system/app/Music/*.apk
adb push %apkMusic% /system/app/Music/
@REM adb install -r %apkMusic%
pause
@echo off
goto CreateMenu
:Videos
echo on
adb remount
adb shell rm /system/priv-app/Videos/*.apk
adb push %apkVideos% /system/priv-app/Videos/
pause
@echo off
goto CreateMenu
:Dialer
echo on
adb remount
adb shell rm /system/priv-app/Dialer/*.apk
adb push %apkDialer% /system/priv-app/Dialer/
pause
@echo off
goto CreateMenu
:Launcher3
echo on
adb remount
adb shell rm /system/priv-app/Launcher3/*.apk
adb push %apkLauncher3% /system/priv-app/Launcher3/
@REM adb install -r %apkLauncher3%
pause
@echo off
goto CreateMenu
:Gallery2
echo on
adb remount
@REM adb shell rm /system/priv-app/Gallery2/*.apk
@REM adb push %apkGallery2% /system/priv-app/Gallery2/
adb install -r %apkGallery2%
pause
@echo off
goto CreateMenu
:frameworkres
echo on
adb remount
adb shell rm /system/framework/framework-res.apk
adb push %apkframeworkres% /system/framework/
pause
@echo off
goto CreateMenu
:telephonycommon
echo on
adb remount
adb shell rm /system/framework/telephony-common.jar
adb push %jartelephonycommon% /system/framework/
pause
@echo off
goto CreateMenu
:ContactsProvider
echo on
adb remount
adb shell rm /system/priv-app/ContactsProvider/ContactsProvider.apk
adb push %apkContactsProvider% /system/priv-app/ContactsProvider/
pause
@echo off
goto CreateMenu
:SettingsProvider
echo on
adb remount
adb shell rm /system/priv-app/SettingsProvider/SettingsProvider.apk
adb push %apkSettingsProvider% /system/priv-app/SettingsProvider/
pause
@echo off
goto CreateMenu
:SoundRecorder
echo on
adb remount
adb shell rm /system/app/SoundRecorder/SoundRecorder.apk
adb push %apkSoundRecorder% /system/app/SoundRecorder/
pause
@echo off
goto CreateMenu
:Mms
echo on
adb remount
adb shell rm /system/priv-app/MtkMms/MtkMms.apk
adb push %apkMms% /system/priv-app/MtkMms/
pause
@echo off
goto CreateMenu
:FileManager
echo on
adb remount
adb shell rm /system/app/FileManager/FileManager.apk
adb push %apkFileManager% /system/app/FileManager/
pause
@echo off
goto CreateMenu
:reboot
echo on
adb reboot
pause
@echo off
@REM cls
goto CreateMenu
:exit
常用工具箱:pusher_bat
最新推荐文章于 2024-04-12 09:36:18 发布