After rooted my mobile I wants to flash recovery in my mobile. Then I found the new android app Rashr – Flash Tool which is using to flash recovery image in mobile and also this app will find Philips recovery image, CWM (Clock Work Mode) recovery image and TWRP (Team Win Recovery Project) recovery image of my mobile. Then after flashing Philips recovery which was found by Rashr – Flash Tool I cannot go to in recovery mode. When I go to recovery mode white screen cames up for 1 or 2 seconds, dismiss and then restart my phone. It makes our whole mobile storage (i.e internal and external storage) as read-only. At this stage, I cannot open any android app and storage.
Now I connected my mobile to laptop tried running ADB (Android Debug Bridge) commands. I tried to push recovery image by
adb push command but I failed because my whole mobile storage in mount as read-only. Then after asking my problem in GD Vigas told a couple of links which can solve my problem. Here in that links first of all, I run
adb shell command because by running this I can go to an Android shell and in this shell I used the power of
su. In ADB shell first command I run was
su and now I run
mount -o remount,rw /, this command remounts my whole mobile storage as in read and write mode. Then after running this command, my problem was not solved. I cannot read and write data from my mobile storage. Then in ADB shell I set some permissions by running
chmod 0777 /mnt/sdcard and
chmod 0777 /mnt/sdcard1. After changing permissions of /mnt/sdcard and /mnt/sdcard2, permissions of /storage/sdcard0 and /storage/sdcard1 automatically changed because /storage/sdcard0 is a symbolic link of /mnt/sdcard and /storage/sdcard1 is a symbolic link of /mnt/sdcard2 now I can read and write data in my mobile storage.
Because my recovery was damage by Rashr – Flash Tool during flashing Philips recovery. Now I downloaded CTR (Carliv Touch recovery) image file and push it into my mobile by
adb push recovery.img /storage/sdcard1 and flashed it by Rashr – Flash Tool.
This day was a great day for me in Android world because continuously unknown problems came and I solved all problems one by one.