[Q] Root exploit script
Hi there!
I started trying to make a complete script that would automate this tutorial:
http://android.doshaska.net/x10miniroot
This is my batch-file:
Code:
@echo off
echo This script will root your X10 mini or X10 mini Pro!
echo Press any key to continue or CTRL+C to abort!
pause >NUL
adb push Superuser.apk /sdcard/Superuser.apk
adb push su /sdcard/su
adb push exploid /sqlite_stmt_journals/exploid
adb push busybox /sqlite_stmt_journals/busybox
echo cd sqlite_stmt_journals;chmod 755 exploid;chmod 755 busybox;chmod 755 script;./exploid;"rootshell<rootnow";./busybox cp /sdcard/Superuser.apk /system/app/;./busybox cp /sdcard/su /system/bin/;./busybox cp busybox /system/bin/;chmod 4755 /system/bin/su;rm /system/bin/rootshell;exit;exit|adb shell
echo su|adb shell
I'm stuck where I try to parse the password (rootnow) to the rootshell command. Anyone got a suggestion as to how it could be done? I'm trying to do this for all the noobs out there who aren't very familiar with the Windows CLI
I'm also getting a lot of help from my brother who's been running different Linux distributions for the last 10 years or so. Just spoke with him for more than an hour on the phone to try to figure out that single detail with the parsing of the password.
I decided to do this after trying the software "UniversalAndroot". It didn't work for my own X10 mini Pro and I thought I probably wasn't the only one with that problem.
If you need any more information from me, apart from my credit card details and other very personal information, do not hesitate to ask!
Regards,
ShamblerDK
|