Evita Manual X Factor - bibanon/android-development-codex GitHub Wiki
Download Djrbliss's X-Factor exploit:
- Windows
- Linux/Mac - Made with assistance from Jesse Osiecki (@jesseosiecki) for providing me with a working version (that Djrbliss ended up re-writing).
-
Enable USB Debugging on your phone, connect it to the computer, and use this to check if it's working:
adb devices
-
These commands overwrite a telephone app that gets in the way with a backup file. Then we mess around with it.
adb restore backup1.ab adb shell "rm /data/data/com.android.providers.telephony/databases/a/b 2>/dev/null" adb shell "ln -s /dev/diag /data/data/com.android.providers.telephony/databases/a/b 2>/dev/null"
-
The below restores the second backup, and runs the X-Factor exploit. If the
pwn
command does not say[+] SetCID
, you need to factory reset your phone and start over.adb restore backup2.ab adb push pwn /data/local/tmp adb shell "chmod 755 /data/local/tmp/pwn" adb shell "/data/local/tmp/pwn"
-
Reboot to
fastboot
bootloader, and closeadb
.adb reboot bootloader adb kill-server
-
Check if your phone is recognized with
fastboot
.fastboot devices
-
Here, we see if the CID has been changed by SuperCID. If it is not
11111111
, factory reset your phone and start over.fastboot oem readcid
-
If and only if the CID was changed, use this command to get the identifier token for HTCDev.
fastboot oem get_identifier_token
-
Visit HTCDev, navigate to the Bootloader unlock section, choose All other supported models from the drop-down menu, and provide the unlock token when asked.
-
After unlocking the bootloader, flash a custom recovery. If you just want to root, and don't need custom ROMs, download this zip and install it with the custom Recovery to get root.