• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root auto installer for cwm and stock recovery

the auto installer for pc is simple, all i did was take the commands you would normally use and put them in a .bat file for a windows pc

adb reboot bootloader
fastboot flash recovery recovery.img

and have the thing you wanna flash named recovery.img, as well as the fastboot and adb programs in the same folder as the .bat you made. done and done. and if you want to make it fancy

adb reboot bootloader
fastboot flash recovery %1

that will make it drag and drop capable, meaning if you drag any image from anywhere no matter what its called itll install it for you. just gotta still have it and both the fastboot and adb programs in the same directory as your batch file

this can even be done with the dd/adb method

adb push %1 /cache/recovery.img
adb shell "su -c 'dd if=/cache/recovery.img of=/dev/block/mmcblk0p13; rm /cache/recovery.img'

i might come out with an updated installer, but i make no promises, and whatever you do dont drag and drop the wrong files onto those lol you wont like what you get
 
  • Like
Reactions: Frank The Tank
Upvote 0
the auto installer for pc is simple, all i did was take the commands you would normally use and put them in a .bat file for a windows pc

adb reboot bootloader
fastboot flash recovery recovery.img

and have the thing you wanna flash named recovery.img, as well as the fastboot and adb programs in the same folder as the .bat you made. done and done. and if you want to make it fancy

adb reboot bootloader
fastboot flash recovery %1

that will make it drag and drop capable, meaning if you drag any image from anywhere no matter what its called itll install it for you. just gotta still have it and both the fastboot and adb programs in the same directory as your batch file

this can even be done with the dd/adb method

adb push %1 /cache/recovery.img
adb shell "su -c 'dd if=/cache/recovery.img of=/dev/block/mmcblk0p13; rm /cache/recovery.img'

i might come out with an updated installer, but i make no promises, and whatever you do dont drag and drop the wrong files onto those lol you wont like what you get


Wow. Im going to look up on how to make a .bat file. Im learning alot in these forums. Thanks

Off subject here but, windows 8 is not a good thing. I was using a vpn server and was still able to find my location on the maps app. There is no real privacy online.
 
Upvote 0
or course windows 8 is a bad thing, look at it... lol. but i dunno what youre talking about bk, if you are saying making a batch file didnt work then thats an issue with not being able to rename shit right because you have hide known extensions turned on under folder options, if youre saying that the bat files that i made didnt work that is either a problem with the fastboot methods compatability with your computer or something else got screwed up, because if the root method worked then these scripts should work
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones