I just read through tons of useless info on rooting so I could root my phone and install DroidWall. The process turned out so simple that I wrote a batch script to automate the process. Here it is for anyone who wants to use it.
Hadn't tested it throughly yet since I've already rooted mine but comments and testers are appreciated. This is intened for VM Optimus V, other systems may need editing...
Process:
Here's the the zip files I used:
[url]
http://www.multiupload.com/Q09LE53AE8
[/url]
Maybe this could be turned into a shell script and run on the device directly. hmmmm...
Hadn't tested it throughly yet since I've already rooted mine but comments and testers are appreciated. This is intened for VM Optimus V, other systems may need editing...
Process:
- 1) Gain temp root access using psneuter.
2) Copy su, busybox, and install Superuser.apk.
3) CHMOD on su and busybox.
4) Sync & Reboot.
Code: Select all
@echo off
REM idiot proof...
echo.
echo.
echo 1) SDCard is unmounted?
echo.
echo 2) Debug is turned on?
echo.
echo.
@pause
adb devices
adb push psneuter /data/local/tmp
echo.
echo.
echo --------------------------------------------
echo IF DEVICE NOT FOUND, CHECK DRIVERS OR CABLE!
echo.
@pause
echo --------------------------
echo Manually type this in or Copy n Paste:
echo.
echo $ cd /data/local/tmp
echo $ chmod 777 psneuter
echo $ ./psneuter
echo --------------------------
@pause
adb shell
REM --Shell input here--
adb kill-server
adb devices
echo --------------------------
echo Manually type this in or Copy n Paste:
echo.
echo # mount -o remount,rw -t yaffs2 /system /system
echo # exit
echo --------------------------
@pause
adb shell
REM --Shell input here--
adb push busybox /system/xbin
adb push su /system/xbin
REM Remove nextline if freezes
adb install Superuser.apk
echo --------------------------
echo Manually type this in or Copy n Paste:
echo.
echo # chmod 4755 /system/xbin/busybox
echo # chmod 4755 /system/xbin/su
echo # mount -o remount,ro -t yaffs2 /system /system
echo # sync
echo # exit
echo --------------------------
@pause
adb shell
REM --Shell input here--
adb reboot
echo.
echo.
echo DONE!
@pause
Here's the the zip files I used:
[url]
http://www.multiupload.com/Q09LE53AE8
[/url]
Maybe this could be turned into a shell script and run on the device directly. hmmmm...