towelzxbin - binary for towelroot (root shell)

Search This thread

zxz0O0

Senior Member
Apr 18, 2011
1,533
5,169
Hallo,

I created a binary to launch geohot's towelroot exploit. Requested by [NUT], hope it will be useful for other devs. If you want to use, give credits to me and geohot.
.
  • Only exploit will be launched, no files (su) copied
  • modstring "1337 0 1 0 4 0" hardcoded
  • Returns root shell without any argument
  • Launches root shell with argument [1] (e.g. for scripts)

Usage
Copy libexploit.so in same directory or /data/local/tmp. You can find it inside tr.apk (lib/armeabi)
chmod towelzxbin to 777
Launch towelzxbin, root shell will be returned

For scripts use shebang
Code:
#!/data/local/tmp/towelzxbin

Thanks.
 

Attachments

  • towelzxbin.zip
    6.3 KB · Views: 308
  • towelzxbin_v2.zip
    6.3 KB · Views: 414
Last edited:

thewisenerd

Senior Member
Sep 27, 2012
1,385
2,996
Hello,

I'm trying to use this on a very old Spreadtrum device (SP8810), running a very old kernel (3.0.8) which does not have android (ships with Firefox OS). I've tried running this, but fail with this error:

Code:
shell@android:/data/local/tmp $ ./towelzxbin                                   

towelzxbin (by zxz0O0)
thanks to geohot for libexploit

doing the magic
creating vm (loljavasucks)
[1] + Stopped (signal)     ./towelzxbin 
[2] - Segmentation fault   ./towelzxbin

Any ideas on how to fix this? Can a standalone version be made that'll run on all arm devices?

tagging: @zxz0O0 @geohot
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Hallo,

    I created a binary to launch geohot's towelroot exploit. Requested by [NUT], hope it will be useful for other devs. If you want to use, give credits to me and geohot.
    .
    • Only exploit will be launched, no files (su) copied
    • modstring "1337 0 1 0 4 0" hardcoded
    • Returns root shell without any argument
    • Launches root shell with argument [1] (e.g. for scripts)

    Usage
    Copy libexploit.so in same directory or /data/local/tmp. You can find it inside tr.apk (lib/armeabi)
    chmod towelzxbin to 777
    Launch towelzxbin, root shell will be returned

    For scripts use shebang
    Code:
    #!/data/local/tmp/towelzxbin

    Thanks.