[Q] Heimdall help - AT&T Samsung Galaxy S II SGH-I777

I am getting extremly frustrated right now.
i have been trying to install cwm on my phone for hours now and i just need some help please
i dont have windows installed. ive tried using VM but my computer is refusing to allow me to use usb in VM right now.
odin through wine doesnt work.
so my last option is heimdall... can somebody please give me some usable steps on flashing cwm with heimdall ... its very late here, im very frustrated and getting ready to pull my hair out, so please in noob terms.. thank you to whomever feels nice and gives me some help

Have you looked at this thread?

You don't say, but I assume you want to install a kernel containing ClockworkMod Recovery.
If you havn't sorted out your installation yet, follow step 2b in How to Flash Custom Binaries Without Ever Incrementing the Flash counter!!, except extract the zImage from the kernel you want to install, and then use the following on the command line:
Code:
heimdall flash --kernel zImage
If you need root first, follow the whole guide.

Adelaide. said:
Have you looked at this thread?
Click to expand...
Click to collapse
i had looked at that thread, thank you for the post, but it wasnt exactly wprking for me the way it seemed to in the thread, which is why i posted this thread. but thanks again.
creepyncrawly said:
You don't say, but I assume you want to install a kernel containing ClockworkMod Recovery.
If you havn't sorted out your installation yet, follow step 2b in How to Flash Custom Binaries Without Ever Incrementing the Flash counter!!, except extract the zImage from the kernel you want to install, and then use the following on the command line:
Code:
heimdall flash --kernel zImage
If you need root first, follow the whole guide.
Click to expand...
Click to collapse
thank you
i will try again later, for the time being i just gave up and repartitioned my hdd so i could dual boot windows and get it done that way. but i will practice getting this down so i dont have to rely on windows

creepyncrawly said:
You don't say, but I assume you want to install a kernel containing ClockworkMod Recovery.
If you havn't sorted out your installation yet, follow step 2b in How to Flash Custom Binaries Without Ever Incrementing the Flash counter!!, except extract the zImage from the kernel you want to install, and then use the following on the command line:
Code:
heimdall flash --kernel zImage
If you need root first, follow the whole guide.
Click to expand...
Click to collapse
Once you've flashed a CWM-enabled zImage, you only need to flash the Su package from ChainsDD's site in CWM to get root.

Related

I need help with Rom and kernels

I would like to flash the new Rom that is rooted and teamed in the development section. My question is how? Im a noob and have no clue. I used odin to root, but had to do a system restore because my phone was acting very slow. (laggy and only 1800 on benchmarks. Now its at 2700.) it also says i need to use a new kernel. I would like to use the overclocked one but don't know how to do anything. Please give me detailed step by steps. Think you
Sent from my SAMSUNG-SGH-I717 using Tapatalk
There is step by step directions in each one of the posts. But the simple version is download Odin 1.85 and put your phone into download mode then connect odin and the phone should show up as a COM port. After that put the kernel in the pda section and hit start. That flashes the kernel and you are done.
Orange_furball said:
I would like to flash the new Rom that is rooted and teamed in the development section. My question is how? Im a noob and have no clue. I used odin to root, but had to do a system restore because my phone was acting very slow. (laggy and only 1800 on benchmarks. Now its at 2700.) it also says i need to use a new kernel. I would like to use the overclocked one but don't know how to do anything. Please give me detailed step by steps. Think you
Sent from my SAMSUNG-SGH-I717 using Tapatalk
Click to expand...
Click to collapse
not to sound like a jerk or rude , my best advice to you is instead of asking for someone to tell you step by step, is to read the threads for the modifications you want to do in your phone, and re read the steps, when I first started in the flashing game back in the winmo days I would print out pages from here with the guides and steps the devs would post so I could sit in front of the pc and have the info right in
front of me without having the need to open and close the browser while trying to use the pc for flashing. I also made friends so I could just pm someone if I had any issues/questions, keeping me from having the need for posting and making too many questions on the threads , thus helping me avoid the famous "use the search button" comment.
Good luck and have fun!!
roloracer said:
not to sound like a jerk or rude , my best advice to you is instead of asking for someone to tell you step by step, is to read the threads for the modifications you want to do in your phone, and re read the steps, when I first started in the flashing game back in the winmo days I would print out pages from here with the guides and steps the devs would post so I could sit in front of the pc and have the info right in
front of me without having the need to open and close the browser while trying to use the pc for flashing. I also made friends so I could just pm someone if I had any issues/questions, keeping me from having the need for posting and making too many questions on the threads , thus helping me avoid the famous "use the search button" comment.
Good luck and have fun!!
Click to expand...
Click to collapse
I read them about ten times each. I just want to know what i should do if there is anything special to do.
So do i flash the overclocked kernel first or the Rom?
Oh, and you don't sound like a jerk. Im just very nervous and don't want to brick this and have to go back to my 3gs...
Sent from my SAMSUNG-SGH-I717 using Tapatalk
Orange_furball said:
I read them about ten times each. I just want to know what i should do if there is anything special to do.
So do i flash the overclocked kernel first or the Rom?
Oh, and you don't sound like a jerk. Im just very nervous and don't want to brick this and have to go back to my 3gs...
Sent from my SAMSUNG-SGH-I717 using Tapatalk
Click to expand...
Click to collapse
if you're going all the way I would suggest flashing clockworkmod recovery thru odin, doing a nandroid backup, then flash the rom, then flash the kernel, most roms already have a kernel included, but not in the case of twopumpchump's rom, as he states his don't have the kernel, so you flash the kernel afterwards, I'm sure in the future when they start to have more roms and kernel choices the devs will probably add their kernel of choice for their rom/build, therefore if you decide to use a different kernel in that situation you flash the desired kernel after the rom so if the rom has one it won't replace the one you want, you understand? meaning you always flash the kernel after the rom.
roloracer said:
if you're going all the way I would suggest flashing clockworkmod recovery thru odin, doing a nandroid backup, then flash the rom, then flash the kernel, most roms already have a kernel included, but not in the case of twopumpchump's rom, as he states his don't have the kernel, so you flash the kernel afterwards, I'm sure in the future when they start to have more roms and kernel choices the devs will probably add their kernel of choice for their rom/build, therefore if you decide to use a different kernel in that situation you flash the desired kernel after the rom so if the rom has one it won't replace the one you want, you understand? meaning you always flash the kernel after the rom.
Click to expand...
Click to collapse
Ok thanks.
I'm trying to do a clockworkMod recovery, but the galaxy note isn't listed.... What do i do?
Now im not sure if you can answer this, but what do i do with this? Its from Da_G's kernel guide
"You will need modified libraries to take full advantage of this kernel as they override speeds at times, you can find these here.
You'll have to push them over adb for now after flashing the kernel, when CWM is up I will make a CWM zip for it.
From the directory with adb and the three .so files:
Code:
adb remount
adb push libhardware_legacy.so /system/lib/
adb push librpc.so /system/lib/
adb push libandroid_runtime.so /system/lib/
adb shell chmod 0644 /system/lib/libhardware_legacy.so
adb shell chmod 0644 /system/lib/librpc.so
adb shell chmod 0644 /system/lib/libandroid_runtime.so
adb reboot
Souce code available at: https://github.com/dagnarf/sgh-i717-dagkernel"
thanks!
Orange_furball said:
Ok thanks.
I'm trying to do a clockworkMod recovery, but the galaxy note isn't listed.... What do i do?
Now im not sure if you can answer this, but what do i do with this? Its from Da_G's kernel guide
"You will need modified libraries to take full advantage of this kernel as they override speeds at times, you can find these here.
You'll have to push them over adb for now after flashing the kernel, when CWM is up I will make a CWM zip for it.
From the directory with adb and the three .so files:
Code:
adb remount
adb push libhardware_legacy.so /system/lib/
adb push librpc.so /system/lib/
adb push libandroid_runtime.so /system/lib/
adb shell chmod 0644 /system/lib/libhardware_legacy.so
adb shell chmod 0644 /system/lib/librpc.so
adb shell chmod 0644 /system/lib/libandroid_runtime.so
adb reboot
Souce code available at: https://github.com/dagnarf/sgh-i717-dagkernel"
thanks!
Click to expand...
Click to collapse
this is for the use of adb(android debug bridge) and you need android sdk/jdk installed on pc to have commands for android thru command prompt.
if you want to install cwm from androiduser00110001 all you need is odin in your pc and the rest is this.
Follow these instructions:
You will need Odin to flash recovery. Check the threads on how to use and where to download it from.
Download recovery HERE
Start Odin
Click on PDA
Browse to file odin_n1717_cwm_recovery_a1.tar
Make sure your phone is in download mode so Odin can flash
Flash file
Let phone reboot
Boot into recovery - Either use adb reboot recovery or power down phone, press volume up, volume down and power at same time to boot into recovery
Once in recovery, select power down phone
Let phone power down and then power it back up
Phone should reboot into OS fine, if not go into recovery and try again.
That is one bug so far. Mostly everything else works. If you get stuck in a CWR boot loop than just flash stock recovery that can be found HERE.
roloracer said:
this is for the use of adb(android debug bridge) and you need android sdk/jdk installed on pc to have commands for android thru command prompt.
if you want to install cwm from androiduser00110001 all you need is odin in your pc and the rest is this.
Follow these instructions:
You will need Odin to flash recovery. Check the threads on how to use and where to download it from.
Download recovery HERE
Start Odin
Click on PDA
Browse to file odin_n1717_cwm_recovery_a1.tar
Make sure your phone is in download mode so Odin can flash
Flash file
Let phone reboot
Boot into recovery - Either use adb reboot recovery or power down phone, press volume up, volume down and power at same time to boot into recovery
Once in recovery, select power down phone
Let phone power down and then power it back up
Phone should reboot into OS fine, if not go into recovery and try again.
That is one bug so far. Mostly everything else works. If you get stuck in a CWR boot loop than just flash stock recovery that can be found HERE.
Click to expand...
Click to collapse
Well, i couldnt get clockworkmod to work, but i went along with everything else (except the nandroid backup) My flash counter is at 11 now.... but i have a new rom! thanks again!
Orange_furball said:
Well, i couldnt get clockworkmod to work, but i went along with everything else (except the nandroid backup) My flash counter is at 11 now.... but i have a new rom! thanks again!
Click to expand...
Click to collapse
you're welcome, glad you got it done.
Eric-1987 said:
There is step by step directions in each one of the posts. But the simple version is download Odin 1.85 and put your phone into download mode then connect odin and the phone should show up as a COM port. After that put the kernel in the pda section and hit start. That flashes the kernel and you are done.
Click to expand...
Click to collapse
go to the saurom thread all ur answers r there DAGs oc kernel
JB calhoun said:
go to the saurom thread all ur answers r there DAGs oc kernel
Click to expand...
Click to collapse
Been solved a long while ago! Thanks tho!
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2

odin help with linux

I hope this makes sense to some one . I have just rooted my gf sg2 and the cwm isnt permant i want to flash [ROM][GT-I9100][JB][4.1.2] CyanogenMod 10 official nightly i read the instructions and it says about Make sure you're running a proper working cwm well it has only stock i think i read some where odin is only for windows users.
Can some please point me in the right direction to put this cwm onto the phone http://forum.xda-developers.com/showthread.php?t=1118693.
Can i do it the same way like i do with my htc one x. i put it into fastboot mode then place the cwm.img into platform folder and push it with fastboot commands
Thanks in advanced for the advice if it was my phone i would of already messed with it by now. i dont want to mess her phone up and get ear ache and lose my one x
elsworth1983 said:
I hope this makes sense to some one . I have just rooted my gf sg2 and the cwm isnt permant i want to flash [ROM][GT-I9100][JB][4.1.2] CyanogenMod 10 official nightly i read the instructions and it says about Make sure you're running a proper working cwm well it has only stock i think i read some where odin is only for windows users.
Can some please point me in the right direction to put this cwm onto the phone http://forum.xda-developers.com/showthread.php?t=1118693.
Can i do it the same way like i do with my htc one x. i put it into fastboot mode then place the cwm.img into platform folder and push it with fastboot commands
Thanks in advanced for the advice if it was my phone i would of already messed with it by now. i dont want to mess her phone up and get ear ache and lose my one x
Click to expand...
Click to collapse
Have a look here for another rooting method => http://forum.xda-developers.com/showthread.php?p=28178105.
Method 1 only need stock recovery to flash a temporarily CWM recovery.
And in CWM recovery you can flash the CM10 zip file.
No need for an extra PC application (for linux it would be Heimdall and not Odin) ... with this method you can flash everything on the phone itself.
Good luck !
It_ler said:
Have a look here for another rooting method => http://forum.xda-developers.com/showthread.php?p=28178105.
Method 1 only need stock recovery to flash a temporarily CWM recovery.
And in CWM recovery you can flash the CM10 zip file.
No need for an extra PC application (for linux it would be Heimdall and not Odin) ... with this method you can flash everything on the phone itself.
Good luck !
Click to expand...
Click to collapse
Thanks for ur help

[Q] Understanding the rooting process

I followed a tutorial to successfully root my phone in the past, but I need to do it again and want to understand it a bit better this time. (I'm doing it using command-line heimdall from Ubuntu.) Doing "sudo heimdall flash --recovery recovery.img --no-reboot", the tutorial provided a recovery.img which went on to install CWM. Then from within the rooted phone I installed another custom recovery. But do I need to do this as a 2-step process like this, or can I simply for the first time on an UNrooted phone do "sudo heimdall flash --recovery SOME-OTHER-RECOVERY.img --no-reboot"?
The tutorial also provided a CWM-SuperSU-v0.87.zip. What's actually the purpose of this, and do I even need it?
It also came with an s3pit.pit, but I didn't actually do anything with this. Did the 'heimdall' command that I ran do something with this, or is it safe to do the rooting process without it?
I'm asking because I'd like to root my phone not blindly following one tutorial which provided its own files (http://galaxys3root.com/galaxy-s3-root/how-to-root-galaxy-s3-on-linuxubuntu/). Surprisingly there are no other decent tutorials out there on rooting this phone from Ubuntu, any ideas?
You can flash any compatible recovery in step 1. I see no reason to flash something you don't need. I recommend philz recovery (link in signature) but twrp is good. I would stay away from cwm as its not great if you want to go to 4.2 android roms
Having a recovery is one thing but actually you're still not rooted. You need recovery to flash a zip which will give you root. Unless you just want to flash a custom rom, in which case you only need the recovery and can skip flashing root stuff
Sent from my GT-I9300 using Tapatalk 2
I wasn't aware of these distinctions, thanks. What alternative zips that give me root could you recommend? I would rather use one that is on xda-developers rather than on a blog post on some random website. Does it need to be compatible with the recovery, or would any 'root zip' meant for the i9300 work?
So is it possible to root the stock default ROM by just flashing a root zip using the stock recovery? Or is a custom recovery needed for this?
Roots are in Development section as said CWM is rather out of date now .
Both TWRP and Philz work well .
jje
I think I have misunderstood. In the first response it said "You need recovery to flash a zip which will give you root", which I assumed was the "CWM-SuperSU-v0.87.zip" I mentioned in the original post. I'm wondering about alternatives for this zip, not for the recovery (for the recovery I'll use Philz or TWRP as has been suggested).
iamthemandroid said:
I think I have misunderstood. In the first response it said "You need recovery to flash a zip which will give you root", which I assumed was the "CWM-SuperSU-v0.87.zip" I mentioned in the original post. I'm wondering about alternatives for this zip, not for the recovery (for the recovery I'll use Philz or TWRP as has been suggested).
Click to expand...
Click to collapse
You don't need an alternative. It contains 2 things. The su binary (what gives you root) and the super user app (a graphical "gatekeeper" to root). If you're applying root to a handset, you'll be using these things
Sent from my GT-I9300 using Tapatalk 2

{ROM] 4.3 Linaro/-o3 CM10.2. Need to flash boot.img via heimdall. Help

Hi, I flashed the above ROM (but not the newer UNOFFICIAL one) and have lost CWM. A BOOT.IMG file has been posted in the forums and the instructions to flash with Heimdall. I am not familiar with the procedure to do this but I have installed the correct drivers. Can anyone give me any pointers to flash this boot.img file? Thanks!!
imgettingold said:
Hi, I flashed the above ROM (but not the newer UNOFFICIAL one) and have lost CWM. A BOOT.IMG file has been posted in the forums and the instructions to flash with Heimdall. I am not familiar with the procedure to do this but I have installed the correct drivers. Can anyone give me any pointers to flash this boot.img file? Thanks!!
Click to expand...
Click to collapse
Ok, Put phone in download mode and connect USB, Loaded frontend, selected "Flash", loaded my PIT file, Clicked ADD, selected "RECOVERY" from the drop
down menu, Clicked "START" 100% successful flash but still no CWM Recovery mode. Just a black screen if recovery attempted.
Have I missed something? Really miss CWM
you have to flash it as kernel
iurnait said:
you have to flash it as kernel
Click to expand...
Click to collapse
Thank you my good man. I shall try this and get back to you. <Tips hat>
Everything's copacetic. 100% A-Okay.

How do i root 5.1.1 on a mac?

The title says it all, how do i do it?
Connor1744 said:
The title says it all, how do i do it?
Click to expand...
Click to collapse
Anyone with any help at all on this!
Connor1744 said:
Anyone with any help at all on this!
Click to expand...
Click to collapse
Get a PC. Hate to be unhelpful but I dont think you can. I'm in the same boat. You can use Parallels or VM to run windows
ImClutch said:
Get a PC. Hate to be unhelpful but I dont think you can. I'm in the same boat. You can use Parallels or VM to run windows
Click to expand...
Click to collapse
I tried that but the vm doesn't recognise the phone because you need to set up something extra for that to work which I can't find...
Heimdall works on Mac. Let us know if that works for the S6.
Connor1744 said:
I tried that but the vm doesn't recognise the phone because you need to set up something extra for that to work which I can't find...
Click to expand...
Click to collapse
How about bootcamp. The problem with a virtual machine is going to be drivers because everything running on the Windows virtual machine ultimately has to pass through OS X. With bootcamp you bypass the OS X operating system altogether. Let me know if it works.
Use heimdall, just flashed TWRP from Linux.
Quick mini-"tutorial":
--Please use your terminal. It's much easier to use and explain.--
Download a custom kernel. Required because the stock kernel will end up in a boot loop after you install TWRP. I recommend unikernel, but you can use any kernel that can be installed with TWRP.
Upload the .zip to some directory on your phone. If you don't, you won't be able to boot normally anymore. You CAN push a zip using adb later if you mess up, but this is easier.
Boot your phone into download mode (home+vol down+power).
Install heimdall. There should be a tutorial for mac somewhere.
Download TWRP.
Extract the recovery.img from the TWRP tar.
Plug in your phone with the Samsung USB and run
Code:
heimdall detect
to make sure it's there.
Run
Code:
heimdall flash --RECOVERY recovery.img
and once it's done uploading and reboots IMMEDIATELY press the recovery combination (home+vol up+power). If you don't, the stock ROM will overwrite your recovery and you'll need to flash it again.
Install the kernel you uploaded earlier using TWRP.
If you used unikernel your phone should be rooted now. I believe some kernels don't root, for those you might need additional steps.
tlater said:
Use heimdall, just flashed TWRP from Linux.
Quick mini-"tutorial":
--snip--
Click to expand...
Click to collapse
Thanks bro, that saved me from hunting down a copy of Windows!
tlater said:
Use heimdall, just flashed TWRP from Linux.
Quick mini-"tutorial":
--Please use your terminal. It's much easier to use and explain.--
Download a custom kernel. Required because the stock kernel will end up in a boot loop after you install TWRP. I recommend unikernel, but you can use any kernel that can be installed with TWRP.
Upload the .zip to some directory on your phone. If you don't, you won't be able to boot normally anymore. You CAN push a zip using adb later if you mess up, but this is easier.
Boot your phone into download mode (home+vol down+power).
Install heimdall. There should be a tutorial for mac somewhere.
Download TWRP.
Extract the recovery.img from the TWRP tar.
Plug in your phone with the Samsung USB and run
Code:
heimdall detect
to make sure it's there.
Run
Code:
heimdall flash --RECOVERY recovery.img
and once it's done uploading and reboots IMMEDIATELY press the recovery combination (home+vol up+power). If you don't, the stock ROM will overwrite your recovery and you'll need to flash it again.
Install the kernel you uploaded earlier using TWRP.
If you used unikernel your phone should be rooted now. I believe some kernels don't root, for those you might need additional steps.
Click to expand...
Click to collapse
Where do you put the recovery.img for heimdall to be able to find it
Connor1744 said:
Where do you put the recovery.img for heimdall to be able to find it
Click to expand...
Click to collapse
In your working directory, you can also just specify the full path (e.g. /home/username/Downloads/recovery.img).
If you don't know what those are, look up a terminal usage tutorial online. A Linux one will do, it's basically equivalent.
Great tutorial! Does it work on edge plus?
Sent from my SM-G928F using Tapatalk
kanlailey said:
Great tutorial! Does it work on edge plus?
Click to expand...
Click to collapse
I can't see why it wouldn't, but I can't test it.
If you want to try, just check the pit file ('heimdall help' will give you all commands you need for that), as long as there's a partition called "RECOVERY" and you use the right kernel/TWRP there should be no differences.
tlater said:
I can't see why it wouldn't, but I can't test it.
If you want to try, just check the pit file ('heimdall help' will give you all commands you need for that), as long as there's a partition called "RECOVERY" and you use the right kernel/TWRP there should be no differences.
Click to expand...
Click to collapse
Okay thanks, when i'm feeling brave I'll give it a try.. Need to do a bit more reading .
Sent from my SM-G928F using Tapatalk

Categories

Resources