Important away from a computer for a few days and was wondering if there's a way to flash CWM recovery without a pc or any previous versions of CWM installed. I had the CWM at some point and now when i boot into recovery i have the stock Samsung recovery and can't flash anything......
Sent from my SAMSUNG-SGH-I717 using XDA
I believe you can flash the img from terminal
Yes.
Assuming you're rooted, you should be able to move it to the right partition with a terminal emulator on your phone.
studacris said:
Yes.
Assuming you're rooted, you should be able to move it to the right partition with a terminal emulator on your phone.
Click to expand...
Click to collapse
Sorry but im not familiar with using terminal.....could you post the steps i need to take? Thx in advance
Sent from my SAMSUNG-SGH-I717 using XDA
typically it would go like this
assuming you have the recovery image in the root directory of the sdcard
open the terminal app
$
type 'su'
you should get the # prompt
then
# cd sdcard
# flash_image recovery recovery_image_name
give that a try
jyazzie110 said:
Sorry but im not familiar with using terminal.....could you post the steps i need to take? Thx in advance
Sent from my SAMSUNG-SGH-I717 using XDA
Click to expand...
Click to collapse
animatechnica said:
typically it would go like this
assuming you have the recovery image in the root directory of the sdcard
open the terminal app
$
type 'su'
you should get the # prompt
then
# cd sdcard
# flash_image recovery recovery_image_name
give that a try
Click to expand...
Click to collapse
Thank you!!! I will try that and post results
Sent from my SAMSUNG-SGH-I727 using XDA
animatechnica said:
typically it would go like this
assuming you have the recovery image in the root directory of the sdcard
open the terminal app
$
type 'su'
you should get the # prompt
then
# cd sdcard
# flash_image recovery recovery_image_name
give that a try
Click to expand...
Click to collapse
Still a no go...
Sent from my SAMSUNG-SGH-I727 using XDA
animatechnica said:
typically it would go like this
assuming you have the recovery image in the root directory of the sdcard
open the terminal app
$
type 'su'
you should get the # prompt
then
# cd sdcard
# flash_image recovery recovery_image_name
give that a try
Click to expand...
Click to collapse
I keep getting "error scanning partitions: No such file or ditectory" i have the recovery.img file on the root of my sd card as well
Sent from my SAMSUNG-SGH-I727 using XDA
If you are rooted you can use the goo manager app in the play store to flash TWRP to your phone
Related
My bro has not long got a Dell streak.. but has no computer to hook it up to.
Is there any way round flashing with fastboot?
The phone is already rooted.. so I just need to flash the recovery.
Can handle some command line stuff if anyone knows how to do it.
Thanks.
Sent from my Desire HD using XDA App
Bump!
The phone IS ROOTED already... So if I can mount /system I can delete the install-recovery.sh script so the stock recovery won't reflash.
But Rom manager flashes recovery to the wrong place apparently.
Can anyone tell me if 'flash_image' will work
My bro wants a custom Rom bad... But no pc to get him started
Sent from my Desire HD using XDA App
Maybe with terminal emulator, and clockwork on your sd card... Not sure tho, search the forums.
Just a brain storm.... But could I modify the install-recovery.sh script to flash cwm?
Sent from my Desire HD using XDA App
If someone could upload the script from their phone... Id really appreciate it.
Thanks
Sent from my Desire HD using XDA App
Yes it can be done with terminal on streak just make sure you su.
I will post the script for you if i get time
Cool... I knew it was possible.
He's definatley got Su privileges.. so just need to know the appropriate commands for him to type.
Thanks
Sent from my HTC Vision using XDA App
At a quick guess
Name the recovery something like recovery
copy the Recovery to the SD card
Make sure you have a terminal app on the phone
On the phone, Run the terminal application and type su press enter
Note that the terminal's text prompt will change from # to $
If it doesn't, then you haven't "rooted" the phone. Go back and try again!
In the Terminal, type
flash_image recovery /sdcard/recovery.img
when its done reboot the phone
Thats off top of my head but i think its right
Well, that. I get an error everytime i try to cd to anyplace in my sdcard. Look at the screenie:
Sent from my MB860 using XDA
djluis48 said:
Well, that. I get an error everytime i try to cd to anyplace in my sdcard. Look at the screenie:
Sent from my MB860 using XDA
Click to expand...
Click to collapse
try cd /sdcard
Works fine for me using Terminal Emulator through Rom Toolbox on Nottachtrix4G v1.2.9b.
I am rooted but i have been reading on installing a recovery. I don't have a sd card at the moment so not sure if i can use ADB to install a recovery. Why cant i just install recovery through Rom Manager?
eastwood1 said:
I am rooted but i have been reading on installing a recovery. I don't have a sd card at the moment so not sure if i can use ADB to install a recovery. Why cant i just install recovery through Rom Manager?
Click to expand...
Click to collapse
Someone with more knowledge will need to chime in, but I I'd bet the build we are using isn't official, and probably can't be installed through Rom Manager. Give it some time, eventually things will work as normal
And you can use the internal storage to copy over the recovery. I used terminal emulator and the internal memory when I did mine.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
And you can use the internal storage to copy over the recovery. I used terminal emulator and the internal memory when I did mine.
Click to expand...
Click to collapse
Can you explain to me how you went about installing the recovery with only internal storage? I would like to give that a try but not sure the best way to go about it. What commands to use and such, thanks.
eastwood1 said:
Can you explain to me how you went about installing the recovery with only internal storage? I would like to give that a try but not sure the best way to go about it. What commands to use and such, thanks.
Click to expand...
Click to collapse
To all,
I couldn't be bothered with learning ADB, but wanted a custom recovery on my SIII ... maybe you can relate?
Here's the easiest way to do it -- and you don't even need a computer!!! You do, however, already need to be rooted before you can use this method ...
Download your recovery of choice (.. as of this writing, I think there are two: CWM and TWRP ..) and make sure you place a copy in the root drive of your sdcard. Rename it recovery.img, if you want to follow the terminal directions listed below ...
Then, download a terminal emulator onto your device (I use Better Terminal Emulator Pro, which is a paid app) and fire it up.
Once in the terminal emulator, type the following commands one line at a time, waiting after each line for the appropriate prompt:
$ su
# dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p18
# reboot recovery
Your device should then boot into the custom recovery, which serves as immediate confirmation that you did things correctly.
I just used this method to install birdman's twrp8.img to my SIII and it worked like a charm.
http://forum.xda-developers.com/showthread.php?t=1764398
I dont think that will work. Notice the command says sdcard.
The internal memory on the sgsiii is labeled sdcard for whatever reason. The external sdcard slot is under mnt/extsdcard in root explorer if that helps.
Sent from my SGH-T999 using xda premium
Ok i open Better terminal emulator Pro and it has
/ $ .. when i add in the SU it says
bash: -c: command not found
what am i doing wrong?
I have downloaded and renamed the TWRP.IMG to recovery.img
eastwood1 said:
Ok i open Better terminal emulator Pro and it has
/ $ .. when i add in the SU it says
bash: -c: command not found
what am i doing wrong?
I have downloaded and renamed the TWRP.IMG to recovery.img
Click to expand...
Click to collapse
You need to be rooted and have a "su" command. Typical "rooted" roms include supersu , or equivalent, and busybox (which provides the basic Linux commands). I would install super super and busybox from Google play and try again.
You need the SU command to switch to root user in the shell to have the rights to use dd to overwrite the recovery partition.
I can confirm that the dd command works as that is how I loaded cwm on my s3.
Sent from my SGH-I747M using xda app-developers app
eastwood1 said:
Ok i open Better terminal emulator Pro and it has
/ $ .. when i add in the SU it says
bash: -c: command not found
what am i doing wrong?
I have downloaded and renamed the TWRP.IMG to recovery.img
Click to expand...
Click to collapse
See if this helps.
http://forum.xda-developers.com/showthread.php?t=1739426
For what its worth the reason ROM manager doesn't work is because there is not an official CWM Recovery out for the Verizon S3. We are using the Sprint Recovery
Pompsy said:
For what its worth the reason ROM manager doesn't work is because there is not an official CWM Recovery out for the Verizon S3. We are using the Sprint Recovery
Click to expand...
Click to collapse
There's no official CWM Recovery for any US versions of the GS3, Sprint included. The only official GS3 recovery available is for the international version. The one we're all using right now (I believe) was built by Team Epic. They're historically Sprint devs and so they built it for the Sprint version; however, as you know it works on more than just the Sprint version. Eventually, I'm sure there will be official recoveries direct from Koush.
Personally, I prefer TWRP (bettery touch control layout and options such as compression to save space), but that too is a work in progress.
SOME OF YOU HAVE PROBLEM WITH ROM MANAGER(LIKE ME) AND SOME WITH COMPUTER THATS WHY ITS THE PERFECT(99.9 % WORKING METHOD) TO FLASH CUSTOM RECOVERY VIA TE
TUTORIAL
YOU SHOULD BE ROOTED
I DONT HELD RESPONSIBLE IF SOMETHING HAPPENS TO UR BELOVED O1
1 NOW DOWNLOAD FLASH_IMAGE( http://www.mediafire.com/?7pkcte8gcyn9pet)
2 now download any recovery from this thread( forum.xda-developers.com/showthread.php?t=1523050 ) and extract the "RECOVERY.IMG" ONLY and place it in /sdcard/
3 extract the flash_image
4 USING ROOT MANAGER OR ANY OTHER FILE MANAGER(THAT GIVES YOU ROOT ACCESS) PUT FLASH_IMAGE IN /SYSTEM/BIN ya change ots permission to rwxr-xr-x(thanka for rembering coodingdroid)
5 IN TERMINAL EMULATOR
TYPE
su
it will prompt for root access allow it
then type this
flash_image recovery /sdcard/recovery.img
(and press enter)
you will now get this
#
now type reboot recovery
and you have got a new recovery for your phone
press thanks if i helped you
This should go into the general section.
Bytecode said:
This should go into the general section.
Click to expand...
Click to collapse
Yes and he forgot to mention that we need to set permissions, without setting permissions = no go
Code:
chmod 0777 /system/bin/flash_image
What do you mean by "3. Extract flash_image"?
It is a file, a script, isn't it?
Sent from my LG-P500 running Protos 0.0.1
CodingDroid said:
Yes and he forgot to mention that we need to set permissions, without setting permissions = no go
Code:
chmod 0777 /system/bin/flash_image
What do you mean by "3. Extract flash_image"?
It is a file, a script, isn't it?
Sent from my LG-P500 running Protos 0.0.1
Click to expand...
Click to collapse
ya u r saying right but wo chanhing the permissions it will still work but u still are correct
and the extracting thing is its in zip format the real file is 9.41kb which is inside the zip folder
androidisfuture said:
ya u r saying right but wo chanhing the permissions it will still work but u still are correct
and the extracting thing is its in zip format the real file is 9.41kb which is inside the zip folder
Click to expand...
Click to collapse
Okay now I understand.
But without settings permissions in /system/bin/, /xbin/, /init.d the system won't run the script, as it hasn't any permissions to run it.
Sent from my LG-P500 running Protos 0.0.1
so i need to put that flash file in system/bin and in /xbin ? i copy that but i dont see the file ... superuser allow me to copy that in /bin and /xbin but i dont see the file there .
buhanita said:
so i need to put that flash file in system/bin and in /xbin ? i copy that but i dont see the file ... superuser allow me to copy that in /bin and /xbin but i dont see the file there .
Click to expand...
Click to collapse
ok don't use superuser use any filenanager like solid; es and do it there will be no problem
and u have to put it in system/bin
I did all the things what you said above
But when i type
flash_image recovery /sdcard/recovery.img
I got error with out of memory
But I have a 110mb in internal memory
Now what I do
Sent from my LG-P500 using xda premium
acerkumar said:
i did all the things what you said above
but when i type
flash_image recovery /sdcard/recovery.img
i got error with out of memory
but i have a 110mb in internal memory
now what i do
Sent from my lg-p500 using xda premium
Click to expand...
Click to collapse
get a taskmanager kill all the apps running and then try
it will surely work
I did kill all apps and tried
It didn't show any error msgs
Sent from my LG-P500 using xda premium
---------- Post added at 07:03 PM ---------- Previous post was at 06:57 PM ----------
Is it safe type reboot recovery in terminal emulator
Or
Can I try to boot into recovery mode by turning off the phone and press
Vol +home+power button
Which is safe
Sent from my LG-P500 using xda premium
if it worked
press thanks
Yes, I have flashed amonra 3.0.6 successfully
Thank you :thumbup:
It's work like charm with in few seconds I had flashed amonra easily :thumbup:
Sent from my LG-P500 using xda premium
Hey guysss........there's no such command as "flash_image":crying::crying:
tharu_roxx said:
Hey guysss........there's no such command as "flash_image":crying::crying:
Click to expand...
Click to collapse
please follow the instructions
put the flash image in system/bin
please read before posting
Yeahhhh!!! It worked!! Thanxxx!
Current Device : MT11i Xperia Neo V
ROM : Xperia Ultimate HD ™
Build Number : 2.0.3
Kernel : Suave Kernel
Root Status : Rooted
Bootloader : Unlocked
Previous Devices : Samsung Galaxy Y
GT-5360(Sold)
Sent from my MT11i using XDA Premium HD app
Fastboot after
After recovery reboot I got into fastboot ... Oops .. :/
Can I use it on stock rooted Rom???
Sent from my HTC Desire X using xda app-developers app
sachin kamboj said:
Can I use it on stock rooted Rom???
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
You need to flash_image for that
Sent from my GT-I9082 using xda premium
How to know the mount points using terminal emulator ???
I guess i dont have mtd partition. How to check that too ?
I really wanna know my mount points
I have karbonn a21 running ics 4.0.4
Sent from my A21 using xda app-developers app
Nishchay1 said:
How to know the mount points using terminal emulator ???
I guess i dont have mtd partition. How to check that too ?
I really wanna know my mount points
I have karbonn a21 running ics 4.0.4
Sent from my A21 using xda app-developers app
Click to expand...
Click to collapse
There are a couple commands you can run:
cat /proc/mtd
That will give you the mount points if you have a mtd device. If it says not found then you know your device isn't using mtd.
Another command to find the mount points is:
mount
You can also do:
dev/block/platform
Then:
ls
Then cd into the folder for the processor kind. For example on the US version of the Galaxy S3 it's msm_sdcc.1. Then cd into the "by-name" directory and then type ls -l to list the partitions and there mount points. Let me know if you still have questions .
Sent from my SCH-I535 using xda premium
shimp208 said:
There are a couple commands you can run:
cat /proc/mtd
That will give you the mount points if you have a mtd device. If it says not found then you know your device isn't using mtd.
Another command to find the mount points is:
mount
You can also do:
dev/block/platform
Then:
ls
Then cd into the folder for the processor kind. For example on the US version of the Galaxy S3 it's msm_sdcc.1. Then cd into the "by-name" directory and then type ls -l to list the partitions and there mount points. Let me know if you still have questions .
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
Thank you!
I've been trying to find the mountings for my Padfone 2 for many hours untill I finally found this, and at last! something finally worked!
brother @shimp208 can u say me the mount points of boot and others from the below screenshot ............. and thanks in advance...
princemouli said:
brother shimp208 can u say me the mount points of boot and others from the below screenshot ............. and thanks in advance...
Click to expand...
Click to collapse
Please cd into the by-name directory rather then by-num then run ls -la from that directory.
Sent from my SCH-I535 using XDA Premium 4 mobile app
Looks like he only has a by-num
Try
cat /proc/mounts
Or maybe
busybox df -hm
Sent from my Nexus 4 using XDA Premium 4 mobile app
In addition to what demkantor said you can also boot your device into recovery mode, wipe your devices cache, then reboot the phone which should create a last_log file that should contain the partition names, this file can be read by running the following command:
Code:
cat /cache/recovery/last_log
brother @shimp208 i did every thing as u said but i didnt found the mount points of boot and recovery i even saw in recovery.fstab but i didnt found mnts of boot and recovery....... is there any other ideas to find them......
princemouli said:
brother @shimp208 i did every thing as u said but i didnt found the mount points of boot and recovery i even saw in recovery.fstab but i didnt found mnts of boot and recovery....... is there any other ideas to find them......
Click to expand...
Click to collapse
Can you post the full output of the cat /cache/recovery/last_log command (You can also use adb shell and copy and paste it's output)? Also did you try the commands demkantor suggested?
brother @shimp208 here is my recovery log and others............ i need mount point of boot and recovery......
princemouli said:
brother @shimp208 here is my recovery log and others............ i need mount point of boot and recovery......
Click to expand...
Click to collapse
The path to your boot partition is:
Code:
/dev/bootimg
The path to your recovery partition is:
Code:
/dev/recovery
If you wanted to dump these partitions you could run the commands from terminal emulator or adb shell as root:
Code:
cat /dev/bootimg > /mnt/sdcard/boot.img
cat /dev/recovery > /mnt/sdcard/recovery.img
Let me know if this is the information your looking for or not.