Fastboot issue: unable to see device - AT&T Samsung Galaxy S II SGH-I777

I went to bed last night and the phone worked fine, CM 10.1 nightly. Overnight it must have crashed and I woke up to find it off. I started it up and it asked for a password for encrypted storage (I don't have encrypted storage). I rebooted it again and found it stuck on the GS2 screen and left it for 10 min or so. I tried rebooting again and same action.
I then put it in download mode and it is on the screen but I am not able to see the device on my computer. Ubuntu 13.04.
fastboot devices shows nothing.
Ideas?

Do you have SGH-I777? There is no fastboot on this phone. You would have to use download mode with Odin on a windows machine, or with Heimdall on Linux. You would have to have the correct USB driver installed, but I don't know Linux or what you need there.

creepyncrawly said:
Do you have SGH-I777? There is no fastboot on this phone. You would have to use download mode with Odin on a windows machine, or with Heimdall on Linux. You would have to have the correct USB driver installed, but I don't know Linux or what you need there.
Click to expand...
Click to collapse
After Ging around I found the Heimdall for my Mac and have been trying without luck to get a kernal to install. I am running this command:
sudo ./heimdall flash --kernel zImage --no-reboot --verbose
This error:
ERROR: libusb error -7 whilst receiving packet. Retrying...
Ideas?

dcunited08 said:
After Ging around I found the Heimdall for my Mac and have been trying without luck to get a kernal to install. I am running this command:
sudo ./heimdall flash --kernel zImage --no-reboot --verbose
This error:
ERROR: libusb error -7 whilst receiving packet. Retrying...
Ideas?
Click to expand...
Click to collapse
It's a little out of my experience, since I don't use Mac, and have used Heimdall only with windows. Some have reported having issues getting Heimdall to work with some versions of Mac OS, but I couldn't tell you the specifics. You might have to search out the answers.
Or, maybe it would be easier to borrow a windows machine and use Odin which definitely has less issues.

creepyncrawly said:
It's a little out of my experience, since I don't use Mac, and have used Heimdall only with windows. Some have reported having issues getting Heimdall to work with some versions of Mac OS, but I couldn't tell you the specifics. You might have to search out the answers.
Or, maybe it would be easier to borrow a windows machine and use Odin which definitely has less issues.
Click to expand...
Click to collapse
I am using your one-click stock+root on a Win7 machine, I will let you know how it goes. It appears to be taking awhile on factoryfs.img (10 min or so).

dcunited08 said:
I am using your one-click stock+root on a Win7 machine, I will let you know how it goes. It appears to be taking awhile on factoryfs.img (10 min or so).
Click to expand...
Click to collapse
Try to use one of the USB ports in the back of your machine. I had to restore using creepy's file a few months ago and had trouble at first, was taking way too long for Odin to recognize.
Just like your problem.
Once I moved to the rear port the Odin process worked perfectly, so maybe it will for you.
One other thing - make sure you have an i777 before using the files; Creepy asked you but I don't see where you've replied to that.
Sent from the i777

SteveMurphy said:
Try to use one of the USB ports in the back of your machine. I had to restore using creepy's file a few months ago and had trouble at first, was taking way too long for Odin to recognize.
Just like your problem.
Once I moved to the rear port the Odin process worked perfectly, so maybe it will for you.
One other thing - make sure you have an i777 before using the files; Creepy asked you but I don't see where you've replied to that.
Sent from the i777
Click to expand...
Click to collapse
It is an i777. Do you have Kies installed? Does it matter? I am using a laptop so I am not sure which one is the back

On my laptop i usually use the 1st usb port on the left.
Try a different micro usb/usb cable.
Sent from my SAMSUNG-SGH-I747 using xda premium

4-2ndtwin said:
On my laptop i usually use the 1st usb port on the left.
Try a different micro usb/usb cable.
Sent from my SAMSUNG-SGH-I747 using xda premium
Click to expand...
Click to collapse
Does kies matter?
Sent from my Transformer Prime TF201 using Tapatalk 4

If using Odin, just don't have kies open at all. There have been posts by others that kies causes conflicts with odin when both are open at the same time.
Sent from my SAMSUNG-SGH-I747 using xda premium

If you still have problems, find and try a different cable.

4-2ndtwin said:
If using Odin, just don't have kies open at all. There have been posts by others that kies causes conflicts with odin when both are open at the same time.
Sent from my SAMSUNG-SGH-I747 using xda premium
Click to expand...
Click to collapse
Agree, Kies is the devil. :thumbdown:
Sent from the i777

SteveMurphy said:
Agree, Kies is the devil. :thumbdown:
Sent from the i777
Click to expand...
Click to collapse
Ok, i uninstalled Kies and reinstalled the USB drivers from Samsung's website. It still seems to stop.

U have gotta try a different micro usb/usb cable, if ya haven't already.
Sent from my SAMSUNG-SGH-I777 using xda premium

4-2ndtwin said:
U have gotta try a different micro usb/usb cable, if ya haven't already.
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
I have tried two different ones in three different usb ports on two different computers.
I tried running as administrator, compatibility mode, leaving it for hours. It is definitely seeing the phone and attempting to push it but failing without giving an error message.
Sent from my Transformer Prime TF201 using Tapatalk 4

Then it sounds like you need to try another file, for whatever reason creepy's isn't working for you.
Try Entropy's UCKH7 PDA/tar files in the stickies in the development thread. If that doesn't work I don't know what will.
Sent from the i777

Related

[Q] Tried Gingerbread, now bricked - looking for ideas

So, I tried to load Gingerbread and now all I hear now is Linda's annoying voice before it goes to a Kernel Panic.
I have tried using ODIN and Heimdall with no success.
Heimdall just returns a "fail" after about 4 seconds.
Odin3 1.7 returns a "SetupConnection..." and never proceeds.
Some notes to add as I feel these will answer most initial questions.
I am in Download mode (android character digging)
I made sure I had the drivers that came with Heimdall installed when tryign heimdall, and when using ODIN I had the Samsung Galaxy S drivers installed.
I have tried this on multiple computers with the same results.
First w/ a Windows 7 64-bit and the second was a Windows XP 32-bit
Any ideas why it is hanging up?
Any ideas what to try next?
All input is greatly appreciated and I just want to thank anyone who responds in advance for their advice.
- warden
for odin:
Reinstall the SAMSUNG DRIVERS (it works sometimes)
Use a DIFFERENT version of the ODIN program, this works for most people.
And via Ubuntu you don't need specifics drivers i think. Let me know.
Sent from my HTC Desire using XDA App
Why would you hear Linda?
You never got to flash Gingerbread I'm guessing.
Go into download mode and try connecting to Odin. Pull the plug, then battery. Pop it back in and you should see a phone!pc icon. Plug in the USB and maybe Odin will recognize it.
This has worked for me before when Odin wouldn't recognize my device.
1. how do you flash gb or which rom did you flash? the cm7 or beta from whitehawk?
2. what kernel did you flash for cm7?
xriderx66 said:
for odin:
Reinstall the SAMSUNG DRIVERS (it works sometimes)
Use a DIFFERENT version of the ODIN program, this works for most people.
Click to expand...
Click to collapse
Tried your suggestion but no difference in results.
guival said:
And via Ubuntu you don't need specifics drivers i think. Let me know.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
I will setup a VM with Ubuntu and give it a shot. Do you have any download links for the software for Ubuntu?
Cito11 said:
Why would you hear Linda?
You never got to flash Gingerbread I'm guessing.
Go into download mode and try connecting to Odin. Pull the plug, then battery. Pop it back in and you should see a phone!pc icon. Plug in the USB and maybe Odin will recognize it.
This has worked for me before when Odin wouldn't recognize my device.
Click to expand...
Click to collapse
dligon said:
1. how do you flash gb or which rom did you flash? the cm7 or beta from whitehawk?
2. what kernel did you flash for cm7?
Click to expand...
Click to collapse
So, I did install Gingerbread, and I must have messed something up. I was upgrading from Eugene's Unofficial Froyo release. I downloaded the beta from whitehawk, put it on my sdcard, went into recover mode and attempted to install after backing up. After the rainbow screen I got a Kernel Panic screen, waited about 20 minutes just to see what would happen, naturally nothing. I restarted the phone. I get the Vibrant logo, then rainbows, annoying Linda's voice then the Kernel Panic Upload Mode. My assumption is the mistake I made was not having the right kernel, but now its a matter of trying to recover the phone.
Ok, I got it working, really I am not sure how. I was reading on another Galaxy S they use the home button get into download mode. Out of desperation I tried it, while the download mode didn't look any different it responded to ODIN and worked. It could have just been coincidence but whatever it worked. Thanks for all the support and I got Gingerbread in now.
- warden
New drivers and keep trying. It will work eventually
Sent from my SGH-T959 using XDA Premium App
warden xvx said:
Ok, I got it working, really I am not sure how. I was reading on another Galaxy S they use the home button get into download mode. Out of desperation I tried it, while the download mode didn't look any different it responded to ODIN and worked. It could have just been coincidence but whatever it worked. Thanks for all the support and I got Gingerbread in now.
- warden
Click to expand...
Click to collapse
Also you may want to try ginger clone R2.
Its fast as gingerbread but stable
Sent from my SGH-T959 using XDA Premium App

[SBL] i777 UCKH7 Secondary Boot Loader

Tested, working. restores jig function to newer 2.3.5 ROMS
Enjoy!
Flash in pda slot or bootloader?
Sent from my SGH-I777 using Tapatalk
What is the difference between this and what's current?
Sent from my SAMSUNG-SGH-I777 using XDA App
CB650 Wolf said:
Flash in pda slot or bootloader?
Sent from my SGH-I777 using Tapatalk
Click to expand...
Click to collapse
Sorry, PDA
Artimus009 said:
What is the difference between this and what's current?
Sent from my SAMSUNG-SGH-I777 using XDA App
Click to expand...
Click to collapse
If you flash the newer i777 leak that DG posted in the General section (I777UCKJ2) or went a little crazy and accidentally flashed one of the newer firmwares in the SGSII international section -- you'll find that they contain newer bootloaders -- the main difference being that they render the "jig trick" useless for resetting the custom firmware flasher.
This (if it works as advertised) will allow you to revert back to the older (stock) bootloader that will let the jig reset the counter.
Most likely as new ROMs are built for our phones, many devs will remove the bootloaders, since it's not really advisable to flash these unless absolutely necessary (which for instance it was on the Captivate when flash from a Eclair/Froyo ROM to a Gingerbread one).
Put this in another post too, but felt I should mention it:
Be forewarned -- DO NOT mess with or flash bootloaders unless you absolutely know what you are doing or are sure you need them. May things can be recovered from if things go wrong, but a bad bootloader flash can create a nasty "brick" that almost always needs some sort of professional help to undo.
i'm verifying that this really works. thanks bro.
Will this help with heimdall detecting the phone on Macs? I hear the bootloaders cause some Macs not to see the phone.
Sent from AT&T Galaxy S2
Artimus009 said:
What is the difference between this and what's current?
Sent from my SAMSUNG-SGH-I777 using XDA App
Click to expand...
Click to collapse
This reverts to current if you flashed the 2.3.5 leak package accidentally.
I would advise:
DO NOT flash this bootloader unless you have flashed a 2.3.5 leak or I9100 ROM that included bootloaders, AND you have confirmed by trying it that using the jig does not reset your flash counter.
If you don't have a jig, this does nothing for you except risk hardbricking.
If you have a jig and it works to reset the custom binary flash counter, this does nothing for you except risk hardbricking.
---------- Post added at 08:06 PM ---------- Previous post was at 08:05 PM ----------
joshyy_rey said:
Will this help with heimdall detecting the phone on Macs? I hear the bootloaders cause some Macs not to see the phone.
Sent from AT&T Galaxy S2
Click to expand...
Click to collapse
No. That was a problem with early I9000 bootloaders, and it didn't cause heimdall to fail to see macs - it would cause heimdall to potentially brick a phone.
That flaw DOES NOT APPLY to the GS2. As I stated above, if you have not flashed a bootloader before, this will do NOTHING except risk hardbricking.
agh1701 said:
Tested, working. restores jig function to newer 2.3.5 ROMS
Enjoy!
Click to expand...
Click to collapse
confirmed working. I had flashed the kj1 and then kj2 roms a while ago.
I hated seeing that triangle at boot.
Welp my computer must be broken because I get the same output from heimdall as on my vibrant
Sent from AT&T Galaxy S2
Everybody say thank you to this guy!
joshyy_rey said:
Welp my computer must be broken because I get the same output from heimdall as on my vibrant
Sent from AT&T Galaxy S2
Click to expand...
Click to collapse
What command are you running, and what is the output?
Sent from my SAMSUNG-SGH-I777 using XDA App
Heimdall works fine for me.
Heimdall has had issues with OSX Lion regardless of what device is connected though.
dayv said:
What command are you running, and what is the output?
Sent from my SAMSUNG-SGH-I777 using XDA App
Click to expand...
Click to collapse
th same heimdall flash entropy says in his threads and the output is ERROR: Claiming interface failed!
What kind of Mac are you using? IMac, MacBook, etc? From the reports I have seen from some of the Mac guys on this forum that error "failure to claim interface" is not being caused by your phone or heimdall, but is actually a hardware usb issue on your Mac. One person posted that it was particular to certain iMac models.
I have no way of verifying this, just what I've seen posted here, I would suggest trying a different computer, preferable a different model than yours.
Check out these two posts
http://forum.xda-developers.com/showpost.php?p=18399909&postcount=68
http://forum.xda-developers.com/showpost.php?p=18400033&postcount=70
Sent from my SAMSUNG-SGH-I777 using XDA App
dayv - that's some potentially useful info. As I said before though, it seems to be a Mac-specific problem not related to the phone.
Entropy512 said:
dayv - that's some potentially useful info. As I said before though, it seems to be a Mac-specific problem not related to the phone.
Click to expand...
Click to collapse
Hey entropy, in case you have not ran in to this yet (although you probably already have this figured out) if you get anyone on LINUX saying they are getting lsusb or lsusblib error when running heimdall they just need to add su or sudo before the command or of they are running heimdall frontend they need to open it with admin privileges - I've seen this somewhere on these boards posted a couple times also
Sent from my SAMSUNG-SGH-I777 using XDA App
I'm using a 2007 MacBook. Well. Thanks for the info. Ill just be borrowing pcs for Odin until I graduate lol
Sent from Moto Atrix
re: ODIN
joshyy_rey said:
I'm using a 2007 MacBook. Well. Thanks for the info. Ill just be borrowing pcs for Odin until I graduate lol
Sent from Moto Atrix
Click to expand...
Click to collapse
You don't need to borrow a pc.
Why not install "Bootcamp" into your Macbook?
Then you can install Windows XP into Bootcamp.
My friend did it and now it's not a problem using ODIN
or most any other other Windows applications.
Misterjunky said:
You don't need to borrow a pc.
Why not install "Bootcamp" into your Macbook?
Then you can install Windows XP into Bootcamp.
My friend did it and now it's not a problem using ODIN
or most any other other Windows applications.
Click to expand...
Click to collapse
I tried but I get the "some files can't be moved error". Which requires you to backup your hdd and reformat the drive. Which I don't have a big enough external to do so right now. I even tried VMs. My computer is deathly slow if I run anything above general use. I need more ram to run those VMs.
Sent from Moto Atrix

Using Heimdall with Linux, and a bricked i777

First off, I am not a noob. Flashed many roms on many different phones, and up until yesterday was happily flashing away on my s2. But now I'm stumped and no guide or search function has helped me so far. I've tried Entropy's return to stock, and several other threads, to no avail. I was flashing JB yesterday when something borked on the install. Long and short of it is that I cannot even get into recovery to fix it. I CAN however, get into download mode. I downloaded Heimdall with the frontend, downloaded the latest stock image, and booted my phone into download mode to install the image. The frontend says it detects the phone, but when I try to install the firmware it gives a .libs error and will not establish a connection to the phone. I am using Ubuntu 12.04 32bit, do I need ADB set up to use Heimdall? If so, then I need a guide to install on 12.04 since I have not had any luck getting ADB working on my machine. I am a noob to Linux, so be kind.
Regards, Scott
I would just use heimdall command line. I don't use linux much, but Entropy512 always said he didn't use the front end on linux. The command line directions are in his thread, and also in my guides.
I saw your thread, tried the command line, that's when I got the could not connect with phone error.
Sent from my HTC Sensation using xda app-developers app
Scott41373 said:
I saw your thread, tried the command line, that's when I got the could not connect with phone error.
Sent from my HTC Sensation using xda app-developers app
Click to expand...
Click to collapse
If you haven't tried it already, try running heimdall as root. If I remember correctly, that's what I had to do on my Fedora 16 system to flash an image with heimdall.
run heimdall with su or sudo command.
Sent from my SAMSUNG-SGH-I777 using XDA Premium HD app
Will try, also didn't realize firmware needed to be in same path as Heimdall. Thanks
Scott41373 said:
Will try, also didn't realize firmware needed to be in same path as Heimdall. Thanks
Click to expand...
Click to collapse
The firmware really doesn't need to be in the same path as heimdall. When I flashed the rooted GB firmware I didn't have it in the same directory as heimdall and it flashed with no problem.
None of this worked. My phone is still in download mode, but it gave me an error when trying to flash the firmware. Hoping I am not completely hosed
As long as you can put the phone into download mode, you almost certainly can recover. I don't know all the ins and outs of using Heimdall with various linux distributions. You would have to talk to the developer or find a support board for Heimdall. Maybe you need to make arrangements to get access to a windows computer so that you can use odin to flash back to stock.
Scott41373 said:
None of this worked. My phone is still in download mode, but it gave me an error when trying to flash the firmware. Hoping I am not completely hosed
Click to expand...
Click to collapse
This is my be the problem "ATTENTION: Heimdall 1.3.2 broke compatibility for several devices. In most case it is recommended that you use version 1.3.1 instead." via http://www.glassechidna.com.au/products/heimdall/ if you need help getting it set up search YouTube for "Using Heimdall command line"
To get ADB working you need to get the Android SDK android-sdk_r20.0.1-linux.tgz http://developer.android.com/sdk/index.html if you need help getting it set up search YouTube for "Setting up Android SDK Ubuntu 12.4"

[Q] Recommended ROMs?

I'm trying to buy a cheap smartphone for my girlfriend. Just bought a used Vibrant from eBay only to find it had an IMEI blacklisted by T-Mobile. Already had put CM 10.1 on it and she loved it so I'm pissed.
Any tips for buying a decent used smartphone for under $100? Vibrant seems like one of the best and I'm partial to Samsung. Any recommendations for the fastest Android 4.x ROM with the best battery life for the Vibrant?
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
I'm having a really hard time reflashing to stock. All the write-ups seem to be out of date. I tried the AIO Vibrant Toolbox 2.5 and can't get the phone to show up in Odin. Then I tried these instructions:
http://forum.xda-developers.com/showthread.php?p=18765728
What's the best version of Odin to use currently? Is there a simpler, reliable way to flash back to stock from CM?
VQ30DE said:
I'm having a really hard time reflashing to stock. All the write-ups seem to be out of date. I tried the AIO Vibrant Toolbox 2.5 and can't get the phone to show up in Odin. Then I tried these instructions:
http://forum.xda-developers.com/showthread.php?p=18765728
What's the best version of Odin to use currently? Is there a simpler, reliable way to flash back to stock from CM?
Click to expand...
Click to collapse
Are you putting the phone into download mode before connecting to Odin? You must be in download mode, I prefer Odin 1.7, every other version hangs on me for some reason. I always follow the guide below, never messed with AIO toolbox. Follow this guide to get back to stock JFD (2.1) http://forum.xda-developers.com/showthread.php?t=849028
Sent from my SGH-T959 using Tapatalk 2
iTz KeeFy said:
Are you putting the phone into download mode before connecting to Odin? You must be in download mode, I prefer Odin 1.7, every other version hangs on me for some reason. I always follow the guide below, never messed with AIO toolbox. Follow this guide to get back to stock JFD (2.1) http://forum.xda-developers.com/showthread.php?t=849028
Sent from my SGH-T959 using Tapatalk 2
Click to expand...
Click to collapse
Yeah, had the phone in download mode and was using Odin 1.7. I have the latest Samsung drivers for WIndows installed, and when I mount the SD card the phone shows up properly. That guide you linked to was one I tried. I couldn't get the phone to show up with "adb devices" either, but that was working before I installed CM 10.1. This stuff is so finicky it's frustrating. I've wasted countless hours on three different phones over the past few years, but overall it's worth it to get a better OS.
VQ30DE said:
Yeah, had the phone in download mode and was using Odin 1.7. I have the latest Samsung drivers for WIndows installed, and when I mount the SD card the phone shows up properly. That guide you linked to was one I tried. I couldn't get the phone to show up with "adb devices" either, but that was working before I installed CM 10.1. This stuff is so finicky it's frustrating. I've wasted countless hours on three different phones over the past few years, but overall it's worth it to get a better OS.
Click to expand...
Click to collapse
I assume your running Odin with administrator privileges, if not try that. Maybe try flashing a different rom, a stable rom could fix the issue. Make sure USB debugging is checked, shouldn't affect Odin but worth a try.
Sent from my SGH-T959 using Tapatalk 2
iTz KeeFy said:
I assume your running Odin with administrator privileges, if not try that. Maybe try flashing a different rom, a stable rom could fix the issue. Make sure USB debugging is checked, shouldn't affect Odin but worth a try.
Sent from my SGH-T959 using Tapatalk 2
Click to expand...
Click to collapse
Yeah, tried running as admin.
I just tried Heimdall One-Click, and got the error they mentioned:
Do not flash bootloaders if you see this message:
Code:
Local and device PIT files don't match and repartition wasn't specified!
This message means your partition tables do not match the firmware.
You will need to use Linux to repartition with this firmware package. Install Ubuntu. In Linux, you can copy-pasta this into the terminal to correct the repartitioning problem and then flash bootloaders. http://forum.xda-developers.com/showpost.php?p=17485056&postcount=23
Click to expand...
Click to collapse
Seriously? I don't want to install Linux to flash this phone back to stock! No way to do this from adb in Windows or from within a rooted phone? Maybe I'll just return with with CM installed; the phone is basically a wifi device only unless the seller decides to change the IMEI and resell.
VQ30DE said:
Yeah, had the phone in download mode and was using Odin 1.7. I have the latest Samsung drivers for WIndows installed, and when I mount the SD card the phone shows up properly. That guide you linked to was one I tried. I couldn't get the phone to show up with "adb devices" either, but that was working before I installed CM 10.1. This stuff is so finicky it's frustrating. I've wasted countless hours on three different phones over the past few years, but overall it's worth it to get a better OS.
Click to expand...
Click to collapse
Try re-installing the driver for the phone.
I'm not sure if they changed it in the newer versions of CM but after a certain version you actually need the drivers for the Nexus S rather than the Vibrant for ADB to work properly.
(Someone correct me if this is no longer true)
---------- Post added at 05:02 PM ---------- Previous post was at 05:00 PM ----------
firefly6240 said:
Try re-installing the driver for the phone.
I'm not sure if they changed it in the newer versions of CM but after a certain version you actually need the drivers for the Nexus S rather than the Vibrant for ADB to work properly.
(Someone correct me if this is no longer true)
Click to expand...
Click to collapse
Try here for the driver

[Q] Heimdall with CF AutoRoot

Has anyone successfully used Heimdall to apply CF AutoRoot?
I do not have a Windows machine, so Odin is not an option for me.
If not, I may be willing to be the first to try it - would that be a horrible idea?
I'd be curious if you could. I hate windows.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Person 757845 said:
Has anyone successfully used Heimdall to apply CF AutoRoot?
I do not have a Windows machine, so Odin is not an option for me.
If not, I may be willing to be the first to try it - would that be a horrible idea?
Click to expand...
Click to collapse
I tried, but couldn't get Heimdall to detect my S5.
BLuFeNiX said:
I tried, but couldn't get Heimdall to detect my S5.
Click to expand...
Click to collapse
I was able to get it to detect my phone (I had to put my phone into download mode first), but I ran into two other issues:
- It won't accept the tar.md5 that cf-autoroot provides. It will only accept tar.gz
- It is giving me an issue with libusb - That's probably specific to my laptop, so I'll try to debug this one on my own. (For now, though, I need sleep)

Categories

Resources