Now that Luxferre showed where the security problems of the phone are I created two 'script-only' roots.
-- no zip needed
-- no server needed
---> just scripts to start on the phone.
Both scripts work nearly the same way - difference is the 'backdoor':
-- 'tnroot' ---> this script enables a 'telnet-backdoor' with root permissions
-- 'adbroot' ---> this script replaces the adb-server on the phone with an insecure/root version
Both scripts enable root only until reboot - for permanent root you have to replace recovery or modify the system-partition.
(but with this temporary root it's possible to do exactly this...)
Cool thing: if you use this temporary root only to read or to modify the /data-partition you won't lose fota-update!
How does it work:
--- tnroot ---> telnet-backdoor
adb push tnroot /data/local/tmp
adb shell
cd /data/local/tmp
chmod +x tnroot
./tnroot
- now open following url in phone's browser -->
http://localhost:8080- click the button
- now
in your adb-shell will give you a root-shell. This is enabled until reboot.
-----------------------------------------------------------------------------------------------------------------------------------------
--- adbroot ---> adb-root shell
adb push adbroot /data/local/tmp
adb shell
cd /data/local/tmp
chmod +x adbroot
./adbroot
- click the button (this will end your adb-shell!)
- now
will give you a root-shell. This is enabled until reboot.
The scripts will guide you after start ;)
If the script ends before you click the button in browser - please restart the script.
(this can happen if the browser requests something like the icon - because it's in your browser history...)
BTW: No - you don't need both scripts - one should be enough.
I only wrote both because the different approaches...
-- the telnet-version is smaller but in some situations a bit limiting (file transfers are more complicated)
-- the adb-version is simpler to use -- but the script is quite big because I embedded the whole patched adbd-binary into the script...
(I myself use mostly telnet-backdoor but I thought the idea of doing the adb-version is funny)
Have Fun!