Am needing to flash CWM but cant figure out how to use ADB in linux
Running Fedora 15
You should be able to boot back into Windows to flash it once you have S-Off
Related
Is there a way to flash recovery image with terminal emulator i knew there was a way when i first rooted my G1 if so is it safe and how to i do it ?
If you want to flash a recovery image (I guess you mean a Nandroid backup) you need to do it from the recovery. You cannot do it from the phone itself, neither from terminal nor from ADB.
Logseman said:
If you want to flash a recovery image (I guess you mean a Nandroid backup) you need to do it from the recovery. You cannot do it from the phone itself, neither from terminal nor from ADB.
Click to expand...
Click to collapse
No i mean flash cwm recovery i.e (boot.boot.img) from terminal emulator instead of ADB as ADB is nothing more than a remote terminal?
You don't flash boot.img files with ADB, you do it with Fastboot. Fastboot is a completely different thing.
Logseman said:
You don't flash boot.img files with ADB, you do it with Fastboot. Fastboot is a completely different thing.
Click to expand...
Click to collapse
Ooops my bad lol i thought there was a way to to it with terminal emulator like flash_image etc
For most phones, you can flash the recovery through a terminal.. but with newer SE phones, recovery is built into the kernel and you can't flash a new kernel unless you're in fastboot mode
There's three ways to get CWM working on your phone.
1. Boot the CWM (boot.img) through fastboot. Then use it and then reboot phone. CWM is gone and you need to boot it again from fastboot when ever you have to use it.
2. Flash Doomlords kernel as it's embedded in the boot.img (kernel). You can boot into at every time you need to from your phone (native CWM).
3. Flash CM7 onto your phone. Same story as with Doomlords kernel.
For all three choises above you need an unlocked bootloader to do it as you have to have fastboot access to issue the commands.
Regards Dousan...
Guys how to install cwm and remove stock recovery via mac or Linux on unlocked device ?
Need help plz!
Tnx!
The procedure is the same as it has always been, in short:
1 - install the Android SDK
2 - unlock your bootloader
3 - download the recovery image file
4 - using the fastboot command in the Terminal, flash it like this (for example)
~/android-sdk-macosx/platform-tools/fastboot flash recovery ./clockworkmod.img
The paths and filenames will depend on where all the files are located.
I'm assuming you have experience with the command line to be able to understand this.
PS: you would have to use the same method to flash boot.img when flashing custom ROMs, as they cannot be installed from recovery yet. Just replace "fastboot flash recovery recovery.img" with "flashboot flash boot boot.img"
It's been a while since I have updated my recovery and rom so I downloaded latest CWM and CM. I formatted all the options inlusing sdcard and system. That turned out to be a big mistake because now I can not push any files to the phone to flash a rom. I can get to CWM inlcuding the option to adb sideload but my computer does not have the fastboot or adb drivers installed. Is there a way for me to push a rom to the device to get back up and running? I have tried to install the fastboot drivers but the mahine is not recognizing the device.
***Update**
I ended up using the universal toolkit in linux so I wouldn;t have to set up the drivers and was able to get back to a stock image and work from there.
Need someone with linux and heimdall experience...
Using Kali Linux
Fully updated and upgraded
Heimdall detects my SM-N910P (in download mode)
I have the proper CF-Auto-Root-trltespr-trltespr-smn910p.tar.md5 (which I believe is Odin based)
I have Odin working using Wine but it doesn't detect my phone (believe me I've tried everything)
or the
TWRP - openrecovery-twrp-2.8.1.1-trltespr.img.tar (which the .img [recovery.img] is inside)
I also have the proper SuperSU zip (UPDATE-SuperSU-v2.37.zip)
So cant I just:
"sudo heimdall flash --recovery recovery.img"
"sudo heimdall flash --cache cache.img"
then "adb reboot recovery" and flash the SuperSU .zip?
Thanks for the info and help.
PM @jlmancuso
He is familiar with heimdal. For odin not to detect your phone on windows has to be a driver issue. Uninstall samsung drivers. Reboot. Download the latest drivers and put your phone in download mode BEFORE plugging into your pc for the first time. Usually Win 7 will download and install the correct drivers if their not found on your system. Im thinking youve tried all this already but sometimes we overlook the most simple things.
bostonsean said:
Need someone with linux and heimdall experience...
Using Kali Linux
Fully updated and upgraded
Heimdall detects my SM-N910P (in download mode)
I have the proper CF-Auto-Root-trltespr-trltespr-smn910p.tar.md5 (which I believe is Odin based)
I have Odin working using Wine but it doesn't detect my phone (believe me I've tried everything)
or the
TWRP - openrecovery-twrp-2.8.1.1-trltespr.img.tar (which the .img [recovery.img] is inside)
I also have the proper SuperSU zip (UPDATE-SuperSU-v2.37.zip)
So cant I just:
"sudo heimdall flash --recovery recovery.img"
"sudo heimdall flash --cache cache.img"
then "adb reboot recovery" and flash the SuperSU .zip?
Thanks for the info and help.
Click to expand...
Click to collapse
most likely you will get an error about your partition be invalid if you use those commands. try "sudo heimdall flash --RECOVERY recovery.img". Samsung has their partition names in CAPS. If you need any more help just hit me up and I will share with you what I know.
Hi i need your help . i want to install a new oS to my htc 10 . because the battery drains in android 8 . And if some one can guide me to the best update/rom .. i would love that person help me get a new life im a bit noob . but i will hang in there if you help me
kindly regards HtcTomas
hi have problems to install twrp .. : : (C:\Users\Tomas\Desktop\htc 10\fastboot-win>fastboot flash recovery twrp.img
error: cannot load 'twrp.img': No such file or directory
C:\Users\Tomas\Desktop\htc 10\fastboot-win>
i manage to install twrp ,done a back up . rooted the phonen . but when i do adb sideload superSu it say succesfull but in the beginning it also say adb sideload unable to mount storage. and the app dosent appear.
any tips ?
Use linux adb is native there
gooogle the recovery flash command for adb
then use the command to flash the twrp.img into recovery to youre phone
then boot into the bootloader from there boot into the bootloader from there boot into recovery. there you should be in twrp. to install adb google adb install linux then its installed there globally its more complicated on windows its good to dualboot linux anyways also its easy. try getting linux mint or something! that should work! then when in twrp you can do adb sideload and in linux nthen you can type adb flash costomrom.zip and that should work!