You can't install a custom recovery using terminal emulator. However you can use flashify app if you have a custom recovery available for your device.
Yes you can install recovery.img via Terminal emulator with dd command by renaming the recovery file name to "recovery.img" then placing the recovery.img in the root of sdcard then typing the correct dd command and the correct mmcblk0(partition).
For example, on my S3 I installed recovery via Terminal Emulator by typing this command:
su (then press enter)
Then typing:
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p18
All devices can use this method but the /dev/block/mmcblk0 changes depending on the device being flashed. If the wrong mmcblk0 is used it bricks the device.
You can also use adb to dd a recovery.img except you type:
adb shell (press enter)
Then type:
su (press enter)
Then type the correct dd command for the device in question and press enter and it will flash.
Look it up and you'll find what I'm talking about, And just to let you know, when you use Flashify or a similar flashing app, what it is actually doing is automatically detecting which mmcblk0 to use then automatically executing the dd command without you having to type it.
Sent from my SCH-I535 using Tapatalk
---------- Post added at 05:37 PM ---------- Previous post was at 05:33 PM ----------
Can someone help me with my xperia z2 d6503. Bootloader status :- not allowed. I want to install aosp 7.1 custom rom on it. Racovery and xposed installed with root.??
It means either your bootloader is locked and you need to unlock it or it means your bootloader is locked and can't be unlocked.
Sent from my SCH-I535 using Tapatalk
---------- Post added at 05:39 PM ---------- Previous post was at 05:37 PM ----------
My memory card shows up on pc when i use a memory card reader but i have tried many usb with it on my phone,but doesnt show up. I only see phone memory. Is there something i must have done to have caused this? This started after i installed folder mount
Sent from my SM-N930F using
XDA-Developers mobile app
Is the sdcard formatted with the correct file system for android to see it? Such as FAT32 or EXFAT for some devices.
Sent from my SCH-I535 using Tapatalk
---------- Post added at 05:46 PM ---------- Previous post was at 05:39 PM ----------
Hello!
I accidentally created a "General Discussion" Thread for my device in the "Miscellaneous Development" Forum:
http://xdaforums.com/android/development/-t3514888
Could someone move it into the appropriate Forum? (I assume it should go
here, because my device just has a ET)
Just make a report for the thread by viewing it in browser then clicking the report button(triangle with an ! in it), inform the moderators where you want it moved and they'll move it for you.
Sent from my SCH-I535 using Tapatalk
---------- Post added at 05:47 PM ---------- Previous post was at 05:46 PM ----------
Hello xda community. I recently rooted my Honor 4x (unlocked bootloader, TWRP, flashed SuperSU over stock android 6 rom), I deleted some preinstalled google apps like books, music etc. Now i want to go back to stock, untouched, not rooted system. My problem is... i formated my sd card and lost my backup of untouched system that i made with TWRP. Is it possible to flash system.img (that i extracted from huawei android 6 update file UPDATE.APP) with bootloader ? Will it work ? By "work" I mean will it give me a nice, clean, untouched stock rom? (i know that i can flash stock recovery.img this way)
Flashing system.img "should" work. Or you can open SuperSU settings and choose the remove root option then flash your stock recovery then just update the device as you would normally using the update.
Sent from my SCH-I535 using Tapatalk
---------- Post added at 05:49 PM ---------- Previous post was at 05:47 PM ----------
Device: HTC Desire 310 DS Ram:512MB Build Number:1.00.1402.6
Can someone tell me how to install a custom recovery using terminal emulator (My pc is damaged) for ny HTC DESIRE 310 DS
If you also have a link for custom recovery please include it in your reply
Do a google search for:
"How to dd recovery via Terminal Emulator on (your model number)"
Rename your recovery file to "recovery.img" then place it in the root of your internal sdcard, then when you type your specific dd command you have to make sure you use "recovery.img"(to match the fact that you changed its name) in the command instead of its original name, also make sure you are sending it to the correct mmcblk0(recovery partition) for your specific model. The command must be EXACTLY correct because if you get any part of the command wrong it will brick your device.
Sent from my SCH-I535 using Tapatalk