Post Reply

[P/Go][ROOT] DooMLoRD Easy Rooting Toolkit (v17) {perf_event exploit}[20130717]

23rd June 2013, 11:00 PM   |  #1  
DooMLoRD's Avatar
OP Recognized Developer
Flag Noida
Thanks Meter: 38,483
 
13,071 posts
Join Date:Joined: Jul 2010
[ Info ]

(New! Windows/Linux/MAC Support!)



so guys good news! we have a new exploit working! this has been tested by the_laser on his phones!

i have successfully ported it for the devices i have/use... it was ported to android by hiikezoe but it was a HUGE pain trying to get every address involved... HUGE thanks to fi01 for helping out understand the whole process and giving a great walkthrough as to how to port new devices to it!


If you are facing issue of device rebooting when remounting /system partition then checkout the fix posted by @[NUT]


[ NOTE ]

this WILL WORK on both LOCKED & UNLOCKED BOOTLOADER DEVICES!


beginning from v13 now you only need to be on the corresponding firmware! any customization SHOULD work



[ how to root ]

  1. just download the file, extract it completely using winzip/winrar
  2. go to the folder where its extracted and execute "RUNME.bat"
  3. read and follow the instructions on the screen!
  4. REBOOT THE DEVICE AFTER THE SCRIPT HAS FINISHED EXECUTION!
Code:
 ---------------------------------------------------------------
	              Easy rooting toolkit (v17.0)
                    created by DooMLoRD
                    "pref_event exploit"
    Credits go to all those involved in making this possible!
---------------------------------------------------------------
   Special thanks to: the_laser, Bin4ry, fi01, hiikezoe, [NUT]
  and to all those who are contributing to our git tree!
       Sources: https://github.com/android-rooting-tools
---------------------------------------------------------------
[*] This script will:
      (1) root ur device 
      (2) install Busybox
      (3) install SU files
  
[*] Before u begin:   
      (1) make sure u have installed adb drivers for ur device
      (2) enable "USB DEBUGGING" 
            from (Menu\Settings\Applications\Development)
      (3) enable "UNKNOWN SOURCES"
            from (Menu\Settings\Applications)
      (4) [OPTIONAL] increase screen timeout to 10 minutes
      (5) connect USB cable to PHONE and then connect to PC



[ Tested on ]


[ Credits ]

Credits go to all those involved in making this possible!

Special thanks to:

fi01
hiikezoe
@Bin4ry
@the_laser
@djrbliss
@[NUT]




[ sources ]

https://github.com/android-rooting-t...run_root_shell




[ donations ]

if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc

PAYPAL DONATION LINK

OR

you can buy one of my awesome apps from Play Store!



[ Download Links ]

PLEASE DO NOT MIRROR MY FILES!

NEW:

DooMLoRD_Easy-Rooting-Toolkit_v17_perf-event-exploit.zip



OLD:

DooMLoRD_Easy-Rooting-Toolkit_v16_perf-event-exploit.zip

DooMLoRD_Easy-Rooting-Toolkit_v15_perf-event-exploit.zip

DooMLoRD_Easy-Rooting-Toolkit_v14_perf-event-exploit.zip






[ UnRooting ]

will post something later




regards,

DooMLoRD
Last edited by DooMLoRD; 17th July 2013 at 12:00 AM.
The Following 219 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
23rd June 2013, 11:15 PM   |  #2  
Pandemic's Avatar
Senior Member
Flag MePpEl
Thanks Meter: 11,820
 
15,558 posts
Join Date:Joined: Aug 2010
Donate to Me
More
Finally a root method for locked bootloaders that using JellyBean
Good job @DooMLoRD
Keep it up bro

:::[ Pandemic ..:: JB MoonBreakers 4 Ever :.
Sent From My Xperia P !! Which Old Dinky Toy Device Else !!
The Following 6 Users Say Thank You to Pandemic For This Useful Post: [ View ]
23rd June 2013, 11:27 PM   |  #3  
sijav's Avatar
Senior Member
Flag Mashhad
Thanks Meter: 922
 
869 posts
Join Date:Joined: Sep 2012
Donate to Me
More
You're so awesome
REALLY GREAT NEWS
pressing thanks is not just enough
EDIT: @DooMLoRD I can make linux bash script but have 2 question in this step =>
Code:
echo ---------------------------------------------------------------
echo   Please may I have your attention!
echo ---------------------------------------------------------------
echo   You will now get a shell. Enter the following commands:
echo     cd /data/local/tmp
echo     chmod 777 doomed
echo     ./doomed
echo ---------------------------------------------------------------
can't the script do that itself?
why you didn't do this?
Code:
files\adb shell cd /data/local/tmp
files\adb shell chmod 777 doomed
files\adb shell ./doomed
---------------------------------------------
or just rename doomed to doomed.sh and then
---------------------------------------------
files\adb shell chmod 777 /data/local/tmp/doomed.sh
files\adb shell /data/local/tmp/doomed.sh
Last edited by sijav; 24th June 2013 at 12:32 AM.
The Following 3 Users Say Thank You to sijav For This Useful Post: [ View ]
23rd June 2013, 11:43 PM   |  #4  
DooMLoRD's Avatar
OP Recognized Developer
Flag Noida
Thanks Meter: 38,483
 
13,071 posts
Join Date:Joined: Jul 2010
Quote:
Originally Posted by sijav

You're so awesome :d
REALLY GREAT NEWS
pressing thanks is not just enough

one can always donate



enjoy the release!
The Following 5 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
23rd June 2013, 11:54 PM   |  #5  
DooMLoRD's Avatar
OP Recognized Developer
Flag Noida
Thanks Meter: 38,483
 
13,071 posts
Join Date:Joined: Jul 2010
Quote:
Originally Posted by sijav

why you didn't do this?

Code:
adb shell cd /data/local/tmp
adb shell chmod 777 doomed
adb shell ./doomed

initially i was trying this but it never allowed me to chmod or execute the shell script... atleast on the new Xperia phones (Z, T, etc)


Quote:
Originally Posted by sijav

why you didn't do this?

Code:
---------------------------------------------
or just rename doomed to doomed.sh and then
---------------------------------------------
adb shell 
adb shell chmod 777 /data/local/tmp/doomed.sh
adb shell cd /data/local/tmp/doomed.sh

this worked!

hmmm what do u know... i tried everything to get it to work directly via shell but forgot testing that part of renaming to .sh


thanks for the tip, i have include it in my files and will be added in next release!
Last edited by DooMLoRD; 24th June 2013 at 12:00 AM.
The Following 5 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
23rd June 2013, 11:58 PM   |  #6  
sijav's Avatar
Senior Member
Flag Mashhad
Thanks Meter: 922
 
869 posts
Join Date:Joined: Sep 2012
Donate to Me
More
Quote:
Originally Posted by DooMLoRD

one can always donate



enjoy the release!

Sry, In Iran we can't have any international credit card to donate or anything
but also about unroot I believe this will do the job =>
Code:
files\adb push files\busybox /data/local/tmp/busybox
files\adb shell "chmod 755 /data/local/tmp/busybox"
files\adb shell "su -c '/data/local/tmp/busybox mount -o remount,rw /system'"
files\adb shell "su -c 'rm /system/bin/su'"
files\adb shell "su -c 'rm /system/app/Superuser.apk'
files\adb shell rm /data/local/tmp/*
files\adb reboot
"
24th June 2013, 12:02 AM   |  #7  
DooMLoRD's Avatar
OP Recognized Developer
Flag Noida
Thanks Meter: 38,483
 
13,071 posts
Join Date:Joined: Jul 2010
Quote:
Originally Posted by sijav

Sry, In Iran we can't have any international credit card to donate or anything
but also about unroot I believe this will do the job =>

Code:
files\adb push files\busybox /data/local/tmp/busybox
files\adb shell "chmod 755 /data/local/tmp/busybox"
files\adb shell "su -c '/data/local/tmp/busybox mount -o remount,rw /system'"
files\adb shell "su -c 'rm /system/bin/su'"
files\adb shell "su -c 'rm /system/app/Superuser.apk'
files\adb shell rm /data/local/tmp/*
files\adb reboot
"

there is more to unrooting that to just remove those files (hint: check /system/xbin/ for busybox symlinks)

i will post proper solution on unrooting later...
The Following 3 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
24th June 2013, 12:24 AM   |  #8  
sijav's Avatar
Senior Member
Flag Mashhad
Thanks Meter: 922
 
869 posts
Join Date:Joined: Sep 2012
Donate to Me
More
Quote:
Originally Posted by DooMLoRD

there is more to unrooting that to just remove those files (hint: check /system/xbin/ for busybox symlinks)

i will post proper solution on unrooting later...

Linux Script
Code:
#!/bin/bash
echo "---------------------------------------------------------------"
echo "	             Easy Rooting toolkit (v14.0)"
echo "                    created by DooMLoRD"
echo '                    "pref_event exploit"'
echo "    Credits go to all those involved in making this possible!"
echo " ---------------------------------------------------------------"
echo "   Special thanks to: the_laser, Bin4ry, fi01, hiikezoe, [NUT]"
echo "   and to all those who are contributing to our git tree!"
echo "        Sources: https://github.com/android-rooting-tools"
echo " ---------------------------------------------------------------"
echo "[*] This script will:"
echo "      (1) root ur device using the pref_event exploit"
echo "      (2) install Busybox"
echo "      (3) install SU files"
echo "[*] Before u begin:   "
echo "      (1) make sure u have installed adb drivers for ur device"
echo '      (2) enable "USB DEBUGGING" '
echo "            from (Menu\Settings\Developer Options)"
echo '      (3) enable "UNKNOWN SOURCES"'
echo "            from (Menu\Settings\Security)"
echo "      (4) connect USB cable to PHONE and then connect to PC"
echo '      (5) skip "PC Companion Software" prompt on device'
echo " ---------------------------------------------------------------"
echo "  CONFIRM ALL THE ABOVE THEN "
read -p "Press Enter to continue ..."
echo " --- STARTING ----"
echo " --- WAITING FOR DEVICE"
files/adb wait-for-device
echo " --- creating temporary directory"
files/adb shell "cd /data/local && mkdir tmp"
echo " --- cleaning"
files/adb shell "cd /data/local/tmp/ && rm *"
echo " --- pushing files"
files/adb push files/doomed /data/local/tmp/doomed.sh
files/adb push files/doomed2 /data/local/tmp/.
files/adb push files/run_root_shell /data/local/tmp/.
files/adb push files/busybox /data/local/tmp/.
files/adb push files/su /data/local/tmp/.
files/adb push files/Superuser.apk /data/local/tmp/.
files/adb shell "chmod 777 /data/local/tmp/doomed.sh"
files/adb shell "/data/local/tmp/doomed.sh"
echo " --- cleaning"
files/adb shell rm /data/local/tmp/*
echo " --- Please wait device is now rebooting"
files/adb reboot
echo " ALL DONE!!!"
read -p "Press Enter to exit ..."
The Following User Says Thank You to sijav For This Useful Post: [ View ]
24th June 2013, 12:25 AM   |  #9  
DooMLoRD's Avatar
OP Recognized Developer
Flag Noida
Thanks Meter: 38,483
 
13,071 posts
Join Date:Joined: Jul 2010
Quote:
Originally Posted by sijav

Linux Script

Code:
linux script :)
#!/bin/bash
echo "---------------------------------------------------------------"
echo "	             Easy Rooting toolkit (v14.0)"
echo "                    created by DooMLoRD"
echo '                    "pref_event exploit"'
echo "    Credits go to all those involved in making this possible!"
echo " ---------------------------------------------------------------"
echo "   Special thanks to: the_laser, Bin4ry, fi01, hiikezoe, [NUT]"
echo "   and to all those who are contributing to our git tree!"
echo "        Sources: https://github.com/android-rooting-tools"
echo " ---------------------------------------------------------------"
echo "[*] This script will:"
echo "      (1) root ur device using the pref_event exploit"
echo "      (2) install Busybox"
echo "      (3) install SU files"
echo "[*] Before u begin:   "
echo "      (1) make sure u have installed adb drivers for ur device"
echo '      (2) enable "USB DEBUGGING" '
echo "            from (Menu\Settings\Developer Options)"
echo '      (3) enable "UNKNOWN SOURCES"'
echo "            from (Menu\Settings\Security)"
echo "      (4) connect USB cable to PHONE and then connect to PC"
echo '      (5) skip "PC Companion Software" prompt on device'
echo " ---------------------------------------------------------------"
echo "  CONFIRM ALL THE ABOVE THEN "
read -p "Press Enter to continue ..."
echo " --- STARTING ----"
echo " --- WAITING FOR DEVICE"
files/adb wait-for-device
echo " --- creating temporary directory"
files/adb shell "cd /data/local && mkdir tmp"
echo " --- cleaning"
files/adb shell "cd /data/local/tmp/ && rm *"
echo " --- pushing files"
files/adb push files/doomed /data/local/tmp/doomed.sh
files/adb push files/doomed2 /data/local/tmp/.
files/adb push files/run_root_shell /data/local/tmp/.
files/adb push files/busybox /data/local/tmp/.
files/adb push files/su /data/local/tmp/.
files/adb push files/Superuser.apk /data/local/tmp/.
files/adb shell "chmod 777 /data/local/tmp/doomed.sh"
files/adb shell "/data/local/tmp/doomed.sh"
echo " --- cleaning"
files/adb shell rm /data/local/tmp/*
echo " --- Please wait device is now rebooting"
files/adb reboot
echo " ALL DONE!!!"
read -p "Press Enter to exit ..."


yes i will include mac & linux variants later
The Following 6 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
24th June 2013, 12:28 AM   |  #10  
dastane's Avatar
Senior Member
Flag Algiers
Thanks Meter: 85
 
215 posts
Join Date:Joined: Mar 2013
More
it's realy a great great job!!!

thanks so mach

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Xperia P Android Development by ThreadRank