Code Monkey home page Code Monkey logo

csroot's Introduction

csroot

Root your CrystalSky and install SuperSU

Thanks to the_lord for finding the exploit and doing the script work!

Upload the needed files

bash-3.2$ ./copy.sh
checking if adb device is present
List of devices attached
1234567890	device

copying files to device
tmp/: 11 files pushed. 6.8 MB/s (8348440 bytes in 1.173s)
bash-3.2$

Navigate to the /tmp folder on your CrystalSky

bash-3.2$adb shell
shell@zs600b:/ $ cd data/local/tmp

Execute the Exploit to gain temp root

shell@zs600b:/data/local/tmp $ ./lordroot
sh: ./patch_script.sh: not found
max_:3 min:10 i_ret:0x20

F_SETPIPE_SZ 407
    [+] Done target:dc0df1a0 overflowcheck:200000 map:12670 readv_error:0 
    [+] Done target:dc0df1a0 overflowcheck:deadbeef map:12735 readv_error:0 
get_selinux_state -
 - 0
shellcode_root_self i_pid:1408 ppid:1402 i_thread_info:de9ba000 i_task:db2c5e80 i_cred:dcbfb180 i_init_sid:0 
fwrite is count 1 ./kok
shell@zs600b:/data/local/tmp $ 

Run the script to install su binary and supersu.apk

1|shell@zs600b:/data/local/tmp $ ./mkdevsh
2+0 records in
2+0 records out
2 bytes transferred in 0.001 secs (2000 bytes/sec)
4+0 records in
4+0 records out
4 bytes transferred in 0.001 secs (4000 bytes/sec)
12+0 records in
12+0 records out
12 bytes transferred in 0.001 secs (12000 bytes/sec)
root@zs600b:/data/local/tmp #

Reboot and run SuperSU from the App Menu

This has been tested on a CrystalSky 7.85 Version 02.04.02.00

csroot's People

Contributors

opcodeffm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.