Guest Ricky Lui Posted January 21, 2010 Report Posted January 21, 2010 (edited) Hi all, I am not a dev so can't cook any roms for you guys. But I'm still willing to contribute to the community so I used my very limited computer skills :) to create a simple CMD script file. It allows you to install all the apk files placed at the same folder and sub-folders. Not a powerful thing. Just a little tool that helps after you wipe the device and need to install all your apps back. P.S. Need to have ADB properly setup in advance. (For ADB setup, please visit pixel-painter@XDA http://forum.xda-developers.com/showthread.php?t=500196) I tried many times.Should works fine. In case any problems, feel free to let me know. [update] : added <ADB PUSH>> version. It will push the apks in current directory to /system/app. [update] : added ADB REMOUNT in the beginning of the file to make sure ADB is mounted.Find_apk_files_in_current_folder_and_install__by_ADB_INSTALL_.zipFind_apk_files_in_current_folder_and_push__by_ADB_PUSH_.zip Edited January 26, 2010 by Ricky Lui
Guest navygino Posted January 21, 2010 Report Posted January 21, 2010 Hi all, I am not a dev so can't cook any roms for you guys. But I'm still willing to contribute to the community so I used my very limited computer skills :) to create a simple CMD script file. It allows you to install all the apk files placed at the same folder and sub-folders. Not a powerful thing. Just a little tool that helps after you wipe the device and need to install all your apps back. P.S. Need to have ADB properly setup in advance. (For ADB setup, please visit pixel-painter@XDA http://forum.xda-developers.com/showthread.php?t=500196) I tried many times.Should works fine. In case any problems, feel free to let me know. Damn cool man, will try it out sometime!!!!!!! Will be very useful for me as I used to push all my "standard" apps to the system/app directly!!
Guest Ricky Lui Posted January 21, 2010 Report Posted January 21, 2010 Damn cool man, will try it out sometime!!!!!!! Will be very useful for me as I used to push all my "standard" apps to the system/app directly!! I dunno is ADB Push same as ADB Install. As my CMD is using "ADB Install XXX.apk" to install application. you may try putting several apk files at the same folder and try it out first.
Guest navygino Posted January 21, 2010 Report Posted January 21, 2010 (edited) I dunno is ADB Push same as ADB Install. As my CMD is using "ADB Install XXX.apk" to install application. you may try putting several apk files at the same folder and try it out first. Oh, my misunderstanding as I had already forgot to "install" as I just push everything in system/app ..........hahahaha....... Is it possible to modify the .cmd to do "push" system/app ?? for /f "usebackq tokens=*" %%G IN (AppsList.txt) Do adb push -r "%%G" system/app>> Log.txt Edited January 21, 2010 by navygino
Guest Ricky Lui Posted January 21, 2010 Report Posted January 21, 2010 (edited) Oh, my misunderstanding as I had already forgot to "install" as I just push everything in system/app ..........hahahaha....... Is it possible to modify the .cmd to do "push" system/app ?? for /f "usebackq tokens=*" %%G IN (AppsList.txt) Do adb push -r "%%G" system/app>> Log.txt I am not sure. Need some expert to tell the different between ADB Install xxx.apk and ADB Push xxx.apk /system/app. But I think using ADB Install is a more traditional way to get application works on Android. (it will also put the apk to /system/app) Anyway, if you like, you can modify the CMD by replacing the text as below. Find this string : adb install -r "%%G" Replace with adb push "%%G" /system/app ("-r" is only for ADB Install. No need for ADB Push) I haven't tested this so I don't the consequence. Try it at your own risk. (probably no risk at all.. :)) Edited January 21, 2010 by Ricky Lui
Guest navygino Posted January 22, 2010 Report Posted January 22, 2010 Tested that your .cmd can also apply to other command like "push". I helped my friend to update the 2.0 ROM and use your .cmd to push 20+ apps to the system/app. So that even if he reset his device, the apps will be still there as they are in system/app but not "install" in data/app. This will be better for him as he is not very good at "computer"....
Guest navygino Posted January 23, 2010 Report Posted January 23, 2010 seems that it needed to adb remount before using the patch, it is possible to add the remount command in the .cmd as well? as I don't know how to add that....
Guest Ricky Lui Posted January 25, 2010 Report Posted January 25, 2010 (edited) seems that it needed to adb remount before using the patch, it is possible to add the remount command in the .cmd as well? as I don't know how to add that.... It will automatically call adb remount if it is not mounted. Anyway, adding the remount should do no harm and easy. Will update it once i can get to a pc. Plz wait and thx for ur suggestion, navygino. Navygino, I updated the files. Please check the first post. Edited January 26, 2010 by Ricky Lui
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now