Is there any way to install an apk file via the terminal emulator? If so, what parameters are used?
Sent from my ERIS using XDA App
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
I've seen many posts saying you can run zip files designed for CWM from terminal emulator. I've tried this but I must not be doing it right. Can someone give me a sample command line sequence of what you type to run it? Do you use the full file name with the .zip extension included?
Sent from my SCH-I500 using XDA App
so.. i was going through some folders i have saved on my HDD.
i browse through my android stuffs folder and i have a folder called "stock FW" which contains:
flash_image
recovery-dump-t.img
V10L_00.kdz
i have awful memory and don't remember what these came from/what they are
can anybody help?
Recovery dump is probably a dump of the stock recovery.
And this
ah i see so i have a copy of stock 2.2 rom? haha saves me the trouble of looking for it.
flash_image is the binary used for flashing custom recovery through the shell.
Sent from my LG-P500 using XDA App
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.