flashing cwm with heimdall? - Galaxy S II Q&A, Help & Troubleshooting

im trying to folow these steps to flashing cwm and get confused at these steps
Untar codeworkx's kernel into the Heimdall directory.
On the computer, open terminal and run the following command from the Heimdall directory: heimdall flash --kernel zImage
http://wiki.cyanogenmod.com/wiki/Samsung_Galaxy_S_II:_Full_Update_Guide

And? What's the problem? What OS are you running?
Sent from my GT-I9100 using XDA App

well i dont now what those steps mean?? im running windows 7

You open a command line (Terminal on Linux/OS X, CMD or PowerShell on Windows 7).
Then you change into the directory where Heimdall installed (cd command) and execute the command as they said.
For you it would be:
./heimdall.exe flash --kernel zImage
Remember to put the kernel file (zImage) into the same directory too.
Sent from my GT-I9100 using XDA App

I'm at the same step. Sorry I'm not familiar with this part of the process.
-Running XP
-Heimdall folder is sitting in my downloads folder
-I placed zimage into this Heimdall folder
Next step asks "On the computer, open terminal and run the following command from the Heimdall directory"
but I don't see a terminal program, or CMD or powershell. I don't know how to do this. Would someone be able to explain?

retrolab said:
I'm at the same step. Sorry I'm not familiar with this part of the process.
-Running XP
-Heimdall folder is sitting in my downloads folder
-I placed zimage into this Heimdall folder
Next step asks "On the computer, open terminal and run the following command from the Heimdall directory"
but I don't see a terminal program, or CMD or powershell. I don't know how to do this. Would someone be able to explain?
Click to expand...
Click to collapse
Lol, cmd is command prompt, open command prompt
Or open run type cmd press enter
Use command
cd..
(including the dots)
Until you reach c:\
Using command
cd "folder name"
(don't include "") go to the Heimdall directory then run the command for installing the kernel.
P. S :Move Heimdall to c:\ and give cd Heimdall and run the command.
Using GT - I9100
I thank those who give helpful comments
I expect the same from others.

king_below_my_lord said:
Lol, cmd is command prompt, open command prompt
Or open run type cmd press enter
Use command
cd..
(including the dots)
Until you reach c:\
Using command
cd "folder name"
(don't include "") go to the Heimdall directory then run the command for installing the kernel.
P. S :Move Heimdall to c:\ and give cd Heimdall and run the command.
Using GT - I9100
I thank those who give helpful comments
I expect the same from others.
Click to expand...
Click to collapse
Can somebody translate this to english please?
I'm stuck at step #5 here: http://wiki.cyanogenmod.org/w/Install_CM_for_d2mtr
What is the Heimdall directory? I've tried installing the .exe from the Heimdall zip, but it keeps telling me that msvcr100d.dll is missing. I've managed to find that via a 3rd party, moved it into the System32 folder - and still nothing. I'm at a loss here This is NOT a simple process for those of us familiar with a computer, but not code monkeys. Thanks!

Related

[HOW TO] Get custom recovery extremely noob proof.

THINGS TO NOTE:
1. YOU MUST UNLOCK BOOTLOADER FIRST, THEN FOLLOW THESE INSTRUCTIONS
2. AFTER YOU FOLLOW THESE INSTRUCTIONS YOU STILL NEED TO GET ROOT, YOU ARE NOT ROOTED, YOU JUST HAVE A CUSTOM RECOVERY
3.BEFORE YOU DO ANYTHING DO THIS ON YOUR PHONE
1. Go to Settings --> Applications --> Development --> Check Dubugging
2. Take out the battery from the back of your phone and insert it back in
3. hold down volume down and power button. wait until you see a screen with options
4. Use the volume buttons to go up and down...go down and select fastboot, and press power button to select it.
5. plug in your usb to your phone.
how to use command prompt:
-windows 7: start button > type in "cmd" without quotes
-windows vista and xp: start button > Run type in "cmd" without quotes
You need to be familiar with windows file system. There are directories and files
now you can go to any directory you want. Let say you want to go to your android directory that's in c:\user\seansk\android\
type: cd c:\user\seansk\android\
if you want to go back to c:\ directory
type: cd c:\
How to get custom recovery using command prompt:
download the attached .zip file provided by Binary I have also attached it here
PUT ALL THE FILES INSIDE THE ZIP FILE INTO C:\Android
to do this: click start click on "computer" or "my computer" depending on your windows version.
Then click on the main drive usually it is c:
right click in an empty area and create a new folder and call it android
now take all the files inside the zip file i have attatched and put them in the android folder
go to command prompt like showed you above: go to c:\android directory like I showed you above: if you forgot here's how AGAIN
type cd c:\android
now type this: fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img
your command prompt should now look like this:
c:\Android>fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img
PRESS ENTER, your phone will install the custom recovery
once it is done
type: fastboot reboot
Done.
seansk said:
how to use command prompt:
-windows 7: start button > type in "cmd" without quotes
-windows vista and xp: start button > Run type in "cmd" without quotes
You need to be familiar with windows file system. There are directories and files
now you can go to any directory you want. Let say you want to go to your android directory that's in c:\user\seansk\android\
type: cd c:\user\seansk\android\
if you want to go back to c:\ directory
type: cd c:\
How to get custom recovery using command prompt:
download the attached .zip file provided by Binary I have also attached it here
PUT ALL THOSE FILES INSIDE THE ZIP FILE INTO C:\Android
to do this: click start click on "computer" or "my computer" depending on your windows version.
Then click on the main drive usually it is c:
right click in an empty area and create a new folder and call it android
now take all the files inside the zip file i have attatched and put them in the android folder
go to command prompt like showed you above: go to c:\android directory like I showed you above: if you forgot here's how AGAIN
type cd c:\android
now type this: fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img
your command prompt should now look like this:
c:\Android>fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img
PRESS ENTER, your phone will install the custom recovery
once it is done
type: fastboot reboot
Done.
Click to expand...
Click to collapse
Nice but I can't find the seansk directory. What am I doing wrong?
Binary100100 said:
Nice but I can't find the seansk directory. What am I doing wrong?
Click to expand...
Click to collapse
You should try to find it by looking around your bedroom...maybe you'l find a folder named seansk on it!!! feel free to add it to your how to pages!!!
seansk said:
You should try to find it by looking around your bedroom...maybe you'l find a folder named seansk on it!!! feel free to add it to your how to pages!!!
Click to expand...
Click to collapse
Nevermind. I found it. It was the one with your mothers pictures in it.
Yeah I went there. LOL!
Binary100100 said:
Nevermind. I found it. It was the one with your mothers pictures in it.
Yeah I went there. LOL!
Click to expand...
Click to collapse
you have the wrong folder start over you need to unlock the drawer[bootloader] first
seansk said:
you have the wrong folder start over you need to unlock the drawer[bootloader] first
Click to expand...
Click to collapse
Oh no I don't. This works just fine.
Binary100100 said:
Oh no I don't. This works just fine.
Click to expand...
Click to collapse
crap I forgot to add they should start fastboot...time to edit again

[Q] Stuck at the flash recovery part of rooting directions

Facts:
Laptop connected to my phone uses Ubuntu linux
Unlocked my Amaze successfully
I have the RecoveryInstallerForNoobs2.0
I have chmod'ed all the pertient files to be executable
With phone in fastboot mode, doing 'sudo ./fastboot devices' returns the serial number
Problem:
'sudo ./Flash.sh' returns the following output:
./Flash.sh: 1: adb: not found
: not found 2:
Additional facts:
I am a n00b and I am aware my life's output at age 32 is dismal
I have read the "read first for linux..." thread, "how to root" thread and the "faq before posting" thread
I have searched the site but possibly not hard enough, ergo my own impudent thread
What to do??
Is debug on in your phones settings?
Sent by accident from my Amaze using Tapatalk
Double0EK said:
Is debug on in your phones settings?
Sent by accident from my Amaze using Tapatalk
Click to expand...
Click to collapse
what he said turn on debugging on your phone. also make sure the zip file is unzipped into a folder
Debugging is on in the settings and the recovery for noobs zip is unzipped.
I flashed mine manually using the fastboot command...
But I only know how to do it with a windows machine.
Put the recovery.img in your AndroidSDK/tools folder , open cmd , cd to the tools folder and type "fastboot flash recovery recovery.img" being if you renamed it to recovery.img..(if it wasn't renamed then you need to type the name of the recovery img.)
Sent by accident from my Amaze using Tapatalk
ryurage said:
Debugging is on in the settings and the recovery for noobs zip is unzipped.
Click to expand...
Click to collapse
don't go to fastboot, the script should automatically kill and restart the adb shell...just turn on your phone and run flash.sh... if that doesn't work Rename the shellscript from flash.sh to flash.command, then associate it with Terminal.app
let me know if those work, if not, I've got some other tricks but it's a little bit more complicated.
@seansk, I renamed the file and tried it with the same resulted output:
./flash.command: 1: adb: not found
: not foundmand: 2:
Btw, I run the flash script one of two ways, 1. sudo ./flash.command or 2. bash flash.command
I could be wrong but I think the issue possibly lies in the script:
adb kill-serveradb reboot bootloaderfastboot flash recovery recovery-cwm-ruby-5.0.2.7.imgfastboot rebootexit
Perhaps adb has to be in my PATH? I'm open to other suggestions too.
One more thought, assuming the adb daemon is shut down, maybe this command would do it: 'sudo ./fastboot flash recovery recovery-cwm-ruby-5.0.2.7.img'?
hmm that thing has been up for months...I've only had two people having trouble and havn't heard back from the other guy...so I hope there's nothing wrong with the scrip...I will look into it again...unfortuantely my vitual machine for mac is down right now, don't know when I'll get it back up and running...
try these
1)To start the shell-script 'file.sh':
sh file.sh
bash file.sh
2)Another option is set executable permission using chmod command:
chmod +x file.sh
Now run .sh file as follows:
./file.sh
ultimately if you have a windows computer it would be much easier...or if you can also here's the new recovery from xboarder I havn't updated this zip file yet... you can edit the recovery script to change the name to this file name: recovery-cwm-ruby-5.5.0.4.img
if all else fails follow the second method here from xboarder (you need an sd card): http://forum.xda-developers.com/showthread.php?t=1316855
Download file to your computer
2. make sure its named PH85IMG.zip
3. Copy to sdcard (external one) then restart your phone in fastboot, by holding down the volume down and power.
4. Wait for it to say do you want to update (press volume up)
5. Press power button to reboot
6. Reboot Phone into recovery as normal and enjoy clockworkmod recovery with fixed charging and sdcard

Step by Step for ADB Push

I soft bricked my One. I have a rom to flash but have no idea how to push it via adb. I am downloading the Android SDK now but can someone point me to a very clear step by step tutorial on how to push via adb? Everything I find on the internet seems to be geared to those who are already familiar with command prompts. I am not.
thank you.
I wrote a primer about a year ago
http://forum.xda-developers.com/showthread.php?t=1754018
most of the instructions are universal though.
gunnyman said:
I wrote a primer about a year ago
http://forum.xda-developers.com/showthread.php?t=1754018
most of the instructions are universal though.
Click to expand...
Click to collapse
Thanks for the response, but I need to back up a little bit.
I go to start, type in cmd and then what? I have to switch users?
garment69 said:
Thanks for the response, but I need to back up a little bit.
I go to start, type in cmd and then what? I have to switch users?
Click to expand...
Click to collapse
Can somebody please help me. I have to get this phone up and running today.
garment69 said:
Thanks for the response, but I need to back up a little bit.
I go to start, type in cmd and then what? I have to switch users?
Click to expand...
Click to collapse
I cant get adb installed on my computer I think. When I go to start, cmd and type adb i get "adb is not a recognized command".
Run adb from the directory you installed it. Also on a mac put a./ dot slash in front of the command
garment69 said:
I cant get adb installed on my computer I think. When I go to start, cmd and type adb i get "adb is not a recognized command".
Click to expand...
Click to collapse
When I try and install the ADB exe from the zip file provided in your tutorial it says unable to start because ADBWinApi.dll is missing from my computer.
gunnyman said:
Run adb from the directory you installed it. Also on a mac put a./ dot slash in front of the command
Click to expand...
Click to collapse
Run adb from the directory I installed it? How?
garment69 said:
Run adb from the directory I installed it? How?
Click to expand...
Click to collapse
Find adb.exe in your hard drive. When you downloaded the sdk you unzipped the files somewhere.. I'm assuming you didn't add the path of adb.exe to your environment variables (if you did you would be able to type in adb commands from any directory in cmd prompt).
So navigate to driveletter:\adbdirectory\
From this directory you should be able to type in adb and get feedback
Sent from my HTC One using xda premium
born_fisherman said:
Find adb.exe in your hard drive. When you downloaded the sdk you unzipped the files somewhere.. I'm assuming you didn't add the path of adb.exe to your environment variables (if you did you would be able to type in adb commands from any directory in cmd prompt).
So navigate to driveletter:\adbdirectory\
From this directory you should be able to type in adb and get feedback
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
I found the adb.exe and I ran it. A cmd window popped up for a second then vanished. I have no adb directory that I can find.
garment69 said:
I found the adb.exe and I ran it. A cmd window popped up for a second then vanished. I have no adb directory that I can find.
Click to expand...
Click to collapse
You don't run adb as an application, you run it in command prompt as an MS Dos command.
Adb is located in the tools directory of the sdk..not necessarily it's own directory. I was just saying to navigate to where that directory is from within cmd prompt.. I.e if adb.exe was located in c:\android, you would go to "cd c:\android" then run "adb commandhere"
Sent from my HTC One using xda premium
born_fisherman said:
You don't run adb as an application, you run it in command prompt as an MS Dos command.
Adb is located in the tools directory of the sdk..not necessarily it's own directory. I was just saying to navigate to where that directory is from within cmd prompt.. I.e if adb.exe was located in c:\android, you would go to "cd c:\android" then run "adb commandhere"
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
thank you. I found a tutorial which instructed me to put the destination folder into environmental variables. Then I was able to get it to work.
Minor miracle I was able to get it to work!

omg! cant root jetstream help!!!!!!!!!!!!!!!!!

my jetstream when i purchased it was
unlocked , s-off and cwm was installed but
when i try app-rootneeded they say my devices is not rooted is this possible at all?
and when try to root doomlord method:
1. adb&fastboot (11MB) extracted from sdk(downloaded work good & root in C:\Android)
2. JETSTREAM-DooMLoRD-insecure-kernel-autoroot-test2-boot.img(renamed insecure.img and copy to C:\Android )
3. DooMLoRD_v2_ROOT-busybox-su
4. htc driver (find in fastbootdevices cmd and htcsync)
5. usb debbug mode
and it says
" cannot load "insecure.img" : no error "
Usually, that's because the cmd window was not opened in the adb folder where the image is located. Did you use the change directory command (cd)? Or if using Windows 7, try holding shift & right mouse click in the folder to run cmd from that folder.
also, if you search "cannot load: boot.img no error" - you'll get a lot of hits in google.
guru_shastri said:
Usually, that's because the cmd window was not opened in the adb folder where the image is located. Did you use the change directory command (cd)? Or if using Windows 7, try holding shift & right mouse click in the folder to run cmd from that folder.
also, if you search "cannot load: boot.img no error" - you'll get a lot of hits in google.
Click to expand...
Click to collapse
Thanks for replying
i dont know how can i do change directory CD?
i realy want know how clockworkmod cwm installed on my device? (without root)
external microSD needed?(for rooting)
guru_shastri said:
Usually, that's because the cmd window was not opened in the adb folder where the image is located. Did you use the change directory command (cd)? Or if using Windows 7, try holding shift & right mouse click in the folder to run cmd from that folder.
also, if you search "cannot load: boot.img no error" - you'll get a lot of hits in google.
Click to expand...
Click to collapse
omg it load insecure and rooted
thanks a lot
strartin cmd from c: solve problem (Rclick and start cmd here !!!!!!!!!!!!!!!!!!)
i didnt knew that
thanks thanks thanks thanks thanks thanks thanks thanks thanks
congrats!

How to unpack recovery.img?

How can I unpack recovery.img? I am running linux on my PC.
Well I found a way, so thought that I should share it with all.
You need dsixda's Android Kitchen and recovery.img of any phone you want to unpack.
I am running a linux pc.
You can look for installation steps in following thread:
https://forum.xda-developers.com/showthread.php?t=633246
Open a terminal.
Type the following command to go into the directory of android kitchen
For example, I have to go in this path using terminal
/home/augustoandro/Android/android-kitchen , then I type
cd /home/augustoandro/Android/android-kitchen
Click to expand...
Click to collapse
After that
./menu
Click to expand...
Click to collapse
Now choose ADVANCED OPTIONS by entering the no. in front of the option.
Now, select "unpack/repack boot.img" option in the same way.
Now, enter "a".
A folder would be created in the android kitchen folder. In my case, /home/augustoandro/Android/android-kitchen/boot-img-64647470
Copy and paste the recovery.img file in the new folder.
Go back to the terminal and press enter.
The recovery.img file would be unpacked in the same folder.
You can look for it using the file explorer.
Hit thanks button if found useful

Categories

Resources