I want to install custom rom in my xperia ray. I have rooted my phone, Unlocked boot loader and also instaled clock work mod. I have downloaded the custom rom and gapps in my sd card. But i am not able to enter recovery mode. I am always sent to safe mode. I have tried first two pages on google but no success. Kindly help
Download android studio, install adb SDK, then open command prompt, change directory to
Then hit the following in command prompt
adb reboot recovery
Then your phone enters recovery mode. I did the same in my Xperia Ray and succeeded.
TWRP recovery with modified kernel I was unable to boot into recovery mode, when trying to root my Sony Xperia Z5 for the first time.
It worked after modifying my Android 7 Nougat kernel with this tool: https://forum.xda-developers.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605
After that I had to but also could enter recovery mode via "adb reboot recovery". Which then worked well for me.
Trying to install lineageos... .zip, the check for right device was wrong in my case.
Installing zip file '... .zip' Checking for MD5 file... Skipping MD5 check: no MD5 file found E3004: This package is for device: E6633,E6653,sumire,sumire_dsds; this device is . E:unknown command [log] Updater process ended with ERROR: 7 Error installing zip file '....zip' Updating partition details
It can be changed easily as desribed here: https://forum.xda-developers.com/showthread.php?t=2522762
Worked well for me.