yashsingh1/xdaforums huggingface dataset:
[Vibrant Q&A, Help & Troubleshooting] DSTARK71:
Ok so there is a new thread up in development for CM7 http://xdaforums.com/showthread.php?t=1061889

I Would like to know if you still need ODIN to flash? Also I'm running Team Whiskeys NextGen which is A 2.2 rom sites that mean I have a 2.2 bootloader? Please help! Thanks much!
[Vibrant Q&A, Help & Troubleshooting] geoffcorey:
http://xdaforums.com/showthread.php?t=1061894

Start here, (it's actually in the vibrant q & a section, and has the install guide) and if you have any questions, ask them only in the q &a thread, not the development thread.
[Vibrant Q&A, Help & Troubleshooting] DSTARK71:
I cant post there yet idk why but I cant. I saw the install guide already but still not sure if I need odin or not
[Vibrant Q&A, Help & Troubleshooting] geoffcorey:
ok, here is the actual link for the install instructions. make sure you read them carefully and understand them first, before actually doing the flashing.

http://forum.cyanogenmod.com/topic/...7-for-samsung-galaxy-s-phones-build-20110303/
[Vibrant Q&A, Help & Troubleshooting] DSTARK71:
I have already seen this but it doesn't answer my questions
[General Questions and Answers] gabling23:
can u write me a guide to flash the rom kyrillos 4.1 non OC directly from the xxjpf firmware?? what have i got to do to have more space in internal storage from my sd?? and the second of the 2 file to download in useless... in that file i found only odin and a short guide..

to install the firmware xxjpf i've got 4 different file.. the extention of this file is xxxxxxxxxx.tar.md5 is it right or the should have another extention??
[General Questions and Answers] gabling23:
someone knows it??
[General Questions and Answers] lexiamen:
Isn't in forum?
[Captivate Q&A, Help & Troubleshooting] nate360:
Why does all the gingerbread roms I flash on my captivate freeze after 12 hours since boot? Please help! These roms are the greatest!
[Captivate Q&A, Help & Troubleshooting] EnemyOfGlaDOS:
:eek: .. that's not cool. I have yet to expereince this. I'm assuming you've done all the cache clearing and stuff. I know it sucks, but have you tried a factory reset?
[Captivate Q&A, Help & Troubleshooting] nate360:
No ill try that now !
[Captivate Q&A, Help & Troubleshooting] quarlow:
I was having a very similar issue with any of the i9000 GB ROMs (GR, Perception, Mosaic, Continuum, symply, subpression) It would freeze and need a reboot, or randomly reboot on its own. I never had this issue with any if the 2.2 ROMs. Studacris suggested it could be my phone, I have a build 1006 from day one. This weekend I'm going to try to get a replacement.

Sent from my Captivate running GR-12
[Captivate Q&A, Help & Troubleshooting] bulletproof1013:
happens to me from time to time. i have a 1007 , not a big deal. i just figure you gotta reboot every once a while .
[Captivate Q&A, Help & Troubleshooting] pawadca:
Im betting that once you do some cleaning things will work fine. That's why the step is included in the instructions.
[Galaxy S II Q&A, Help & Troubleshooting] peadarog:
Just like it says in the thread title, I was wondering if anybody -- in particular, any linux users -- had tried using heimdall yet? I'm too new to both the Galaxy family of phones and odin/heimdall to try it myself yet.

thanks.
[Galaxy S II Q&A, Help & Troubleshooting] peadarog:
This is just a repeat of what I said in the official heimdall thread:

I just tried using it with the SGS2. Nothing radical, since I have zero experience with heimdall and Galaxy phones.

1) I put the phone into download mode, following instructions I got here.

2) I connected the phone to my fedora 11 install (yes, I'm way behind the times!)

3) I ran lsusb and got:

Bus 001 Device 002: ID 04e8:685d Samsung Electronics Co., Ltd

It doesn't mention the words "mobile phone" as I think it does for the S1, but I may be wrong about that.

4) I ran:

heimdall close-pc-screen --verbose

according to instructions earlier in this thread (page 26).

5) I got:

Failed to detect compatible device
[Galaxy S II Q&A, Help & Troubleshooting] aliander:
Anything new on that?

Would be great for us Linux-Only-Nerdys ;)

Thanks

Ali
[Galaxy S II Q&A, Help & Troubleshooting] Benjamin Dobell:
Sorry guys I don't have a Galaxy S II to develop with so I haven't been able to make the necessary changes to support the Galaxy S II. If anyone has one they want to donate that would be fantastic, but that's probably not all that likely ;)
[Galaxy S II Q&A, Help & Troubleshooting] bilboa1:
I just tested heimdall a bit with the SGSII.

At least, kernel flash works.

Modifications needed:

BridgeManager.h: device ID is 685D not 6601 (maybe add a switch for sgs2)

main.cpp: getUnknown is 131072, not 0 (again, maybe switch)

and it'll work.

I'd also suggest a switch for "--no-reboot" ;-)

Let me know if you would prefer a diff or w/e like that..

Disclaimer: I did NOT test this thoroughly, this is AT YOUR OWN RISK - flashing CAN destroy your device.

Kernel flashing does work tho :)

ps: I'd have prefered giving you a GT-I9100 but that's a little over my budget right now :D

bad stuff:

x64 linux binary http://www.multiupload.com/A1R7SDUFZM

more bad stuff:

ive put it in a diff cause i'm not so lazy today:

https://github.com/kangsterizer/Heimdall/commit/86e9b66d4ec5b415b3a8d2d310f9ce7633679a16
[Galaxy S II Q&A, Help & Troubleshooting] peadarog:
I have tried compiling this on two different machines -- one Fedora 11 and one Fedora 14. Both result in the same error, and sadly, I'm not experienced enough to figure it out :(

Here's the badness:

depbase=`echo source/BridgeManager.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\

g++ -DHAVE_CONFIG_H -I. -I/usr/include/libusb-1.0 -g -O2 -MT source/BridgeManager.o -MD -MP -MF $depbase.Tpo -c -o source/BridgeManager.o source/BridgeManager.cpp &&\

mv -f $depbase.Tpo $depbase.Po

source/BridgeManager.cpp:57:47: error: ‘kPidGalaxySDownloadMode’ is not a member of ‘Heimdall::BridgeManager’

make[1]: *** [source/BridgeManager.o] Error 1

I'd be grateful for any suggestions, although I fully understand that you all have lives elsewhere!
[Galaxy S II Q&A, Help & Troubleshooting] godutch:
I think you need to look more up to find the cause, you are surely missing some devel packages
[Galaxy S II Q&A, Help & Troubleshooting] peadarog:
I'm sure it's something stupid. On both laptops I have run:

yum groupinstall "Development Tools"

yum install rpmdevtools

I also installed the kernel source rpm.
[Galaxy S II Q&A, Help & Troubleshooting] godutch:
try installing the libusb-devel packages
[Galaxy S II Q&A, Help & Troubleshooting] godutch:
Got it there is an error in the patch. I can't make a diff for you but it's easy to change in heimdall/source/BridgeManager.h change the enum section around line 67 like this:

enum

{

kPidGalaxyS2DownloadMode	= 0x685D,

kPidGalaxySDownloadMode	= 0x6601,

kPidGalaxySInternational	= 0x681C,

kPidGalaxySNewInternational	= 0x681D,

kPidVibrantCanadaBell	= 0x6877

};
[Galaxy S II Q&A, Help & Troubleshooting] peadarog:
Thanks a lot, godutch! That worked and got me as far as the next error:

Failed to get D-Bus connection: Failed to connect to socket /org/freedesktop/systemd1/private: Connection refused

Luckily Dr. Hotdog seems to have a fix for that here. Thanks all :)
[Galaxy S II Q&A, Help & Troubleshooting] peadarog:
It seemed to install all right, but when I run:

heimdall close-pc-screen

I get:

Failed to detect compatible device

Is this to be expected? I.e. does that functionality work with the SGS2 or do I have more problems I need to investigate?
[Galaxy S II Q&A, Help & Troubleshooting] godutch:
What's the output of lsusb with the sgs connected?
[Galaxy S II Q&A, Help & Troubleshooting] peadarog:
Bus 005 Device 002: ID 0a5c:2110 Broadcom Corp. Bluetooth Controller

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 001 Device 005: ID 04e8:685d Samsung Electronics Co., Ltd

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[Galaxy S II Q&A, Help & Troubleshooting] elban:
anybody tried installing this kernel:

http://xdaforums.com/showthread.php?t=1060673

with this pre-compiled heimdall?

I just didn't want to break my shiny new toy :-)

And I do not have windows, of course!
[Galaxy S II Q&A, Help & Troubleshooting] bilboa1:
yeah i did, it works - but of course i can't give any warranty if something goes wrong
[Galaxy S II Q&A, Help & Troubleshooting] elban:
hello

when I try to flash a kernel, I get:

Failed to detect compatible device

lsusb gives:

Bus 001 Device 007: ID 04e8:685e Samsung Electronics Co., Ltd

maybe the problem is the different usb ID?
[Galaxy S II Q&A, Help & Troubleshooting] elban:
sorry guys, me stupid, I wasn't in download mode!

flashed supercurio kernel succesfully, now I'm rooted and with cifs, all without needing to run windows!

thanks very much!
[Galaxy S II Q&A, Help & Troubleshooting] elban:
just wanted to let you know that with this heimdall I've successfully flashed CFROOT in this thread:

http://xdaforums.com/showthread.php?t=1103399

very very nice!
[Galaxy S II Q&A, Help & Troubleshooting] aliander:
https://github.com/kangsterizer/Heimdall/

Please correct:

- heimdall/source/BridgeManager.cpp

56:

const DeviceIdentifier BridgeManager::supportedDevices[BridgeManager::kSupportedDeviceCount] = {
DeviceIdentifier(BridgeManager::kVidSamsung, BridgeManager::kPidGalaxySDownloadMode)

to:

56:

const DeviceIdentifier BridgeManager::supportedDevices[BridgeManager::kSupportedDeviceCount] = {
DeviceIdentifier(BridgeManager::kVidSamsung, BridgeManager::kPidGalaxyS2DownloadMode)

OR:

- heimdall/source/BridgeManager.h

69:

kPidGalaxyS2DownloadMode	= 0x685D

to:

69:

kPidGalaxySDownloadMode	= 0x685D
[Galaxy S II Q&A, Help & Troubleshooting] bilboa1:
ok ok i changed it

just forgot about it;)
[Galaxy S II Q&A, Help & Troubleshooting] elban:
could you please update the binary?

many thanks!
[Galaxy S II Q&A, Help & Troubleshooting] bilboa1:
the binary works fine
[Galaxy S II Q&A, Help & Troubleshooting] peadarog:
I thought I should add in my progress so far for anybody else suffering from a non-working linux heimdall install.

I recompiled the program following aliander's suggestion (on the page before this one), and this time, when I ran the command:

$ heimdall close-pc-screen

the phone was recognized and I got the following output:

Claiming interface... Failed. Attempting to detach driver...

Claiming interface again... Success

Setting up interface... Success

Beginning session...

Handshaking with Loke... Success

Attempting to close connect to pc screen...

Ending session...

Failed to receive session end confirmation!

Re-attaching kernel driver...

After that, I tried flashing a kernel (yes, I am that stupid :) ) and got:

Claiming interface... Success

Setting up interface... Failed!

So, I'm back to using Odin on vbox for the moment. Thanks everybody for all of your help.
[Galaxy S II Q&A, Help & Troubleshooting] perljedi:
Droid Charge

Hi Guys,

I'm trying to flash my droid charge (verizon) using heimfall in Fedora 14 x86_64. I have not been able to get past "Failed to detect compatible device", so I started today to muck iwth the heimdall source code to see what I could find. In the init method on BridgeManager.cpp I added a little bit of debuging:

printf("Found %d devices\n", deviceCount);
for (int deviceIndex = 0; deviceIndex < deviceCount; deviceIndex++)
{
libusb_device_descriptor descriptor;
libusb_get_device_descriptor(devices[deviceIndex], &descriptor);
printf("Examining device %d:%d\n", descriptor.idVendor, descriptor.idProduct);

for (int i = 0; i < BridgeManager::kSupportedDeviceCount; i++)
{
printf("Checking against %d:%d\n", supportedDevices[i].vendorId, supportedDevices[i].productId);

Which gave me:

Heimdall, Copyright (c) 2010, Benjamin Dobell, Glass Echidna
# URL REMOVED

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
#URL REMOVED

Found 8 devices
# 14 IRRELIVANT LINES REMOVED HERE
Examining device 1256:26819
Checking against 1256:26113
Failed to detect compatible device

Base on that, I believe that by updating BridgeManager.cpp and BridgeManager.h which the product id from the above debug output, I will be able to get past this. Before I do so, however, I'd love it if somebody could validate my educated guess, and/or warn me if there is something elese that would need to be done to make it work. Is there code elsewhere in heimdall that needs to be update with information like where on the device to place the files being flashed?

I know there is inherent risk in rooting my phone this way, and I'm ok with that... but I feel like modifying somebody else's code (particularly when I'm modifying to to essentially bypass a safety check) without some inklinking that I've understood the situation correctly might be a bit much.

Thanks for your help.
[Galaxy S II Q&A, Help & Troubleshooting] elban:
yes i know, i've already used it with success, but it doesn't include the latest source patch (I've checked it against the one I had and it looks identical).

I'd compile it myself but I'm at work :-)
[Galaxy S II Q&A, Help & Troubleshooting] Benjamin Dobell:
Official support is coming, details here.

Any donations you can offer would be very much appreciated.
[Galaxy S II Q&A, Help & Troubleshooting] Benjamin Dobell:
New Heimdall command line binaries are now available, let me know how you go.
[Galaxy S II Q&A, Help & Troubleshooting] perljedi:
Thanks

Thank you.

I did actually flash my phone yesterday (having compiled from source from your git hub repo). It (my phone) runs 100% smoother now.
[Galaxy S II Q&A, Help & Troubleshooting] bilboa1:
just cosmetics anyhow, also, theres the official plz-donate-and-i-wont-thx-ppl version as well :)

on a side note heimdall should prolly fill the kernel storage area with 0's to fill it up completely to avoid issues on the sgs2
[Galaxy S II Q&A, Help & Troubleshooting] endrec:
Heimdall 1.2 + SGS2 on Ubuntu 11.04

Hi Ben,

I tried your software without any success. :(

It does not recognise my SGS2 (I put it into download mode).

My config:

SGS2 with provider firmware (H3G UK, XWKE1)

Ubuntu 11.04

Heimdall compiled from source (35cfa39)

When the phone is in upload mode, lsusb does not list it, otherwise it is listed as:

04e8:685e Samsung Electronics Co., Ltd

Can you tell me what did Iwrong?

Thanks,

Endre
[Galaxy S II Q&A, Help & Troubleshooting] endrec:
Hmm... I had to find my original Samsung USB cable, and it did the magic. Now it works better. I've just flashed CWM recovery. :)

Thanks for the tool!
[Galaxy S II Q&A, Help & Troubleshooting] ngoonee:
EDIT: I tried rebooting the phone to download mode again and running flash immediately rather than print-pit or close-pc-screen, and it worked. Would this be a bug?

Below this line is the original post for context:-

________________________________________________

Just built heimdall from git today, and I get this

heimdall flash --kernel zImage --verbose

Heimdall v1.2.0, Copyright (c) 2010-2011, Benjamin Dobell, Glass Echidna

This software is provided free of charge. Copying and redistribution is

encouraged.

If you appreciate this software and you would like to support future

development please consider donating:

length: 18

device class: 2

S/N: 0

VID:PID: 04E8:685D

bcdDevice: 021B

iMan:iProd:iSer: 1:2:0

nb confs: 1

interface[0].altsetting[0]: num endpoints = 1

Class.SubClass.Protocol: 02.02.01

endpoint[0].address: 83

max packet size: 0010

polling interval: 09

interface[1].altsetting[0]: num endpoints = 2

Class.SubClass.Protocol: 0A.00.00

endpoint[0].address: 81

max packet size: 0200

polling interval: 00

endpoint[1].address: 02

max packet size: 0200

polling interval: 00

Claiming interface... Success

Setting up interface... Failed!

Any help, please? I'm in download mode, it says 'Custom Binary Download: NO though. Current Binary is SAMSUNG OFFICIAL.
[Galaxy S II Q&A, Help & Troubleshooting] MrZammler:
Hi,

just to let you know I installed a CF-Root on my SGS2 with the heimdall command line utility.

Thanks a lot!
[Galaxy S II Q&A, Help & Troubleshooting] jakobvoss:
Heimdall 1.3.0 on Ubuntu works so well, that I cut successfully brick my SGS2 by trying to flash the wrong firmware :p Download screen still works and I like Heimdall, but if anyone could provide a Heimdall firmware package file with original Stock firmware, it would be better. With easy to find firmware packages for SGS2, you could easily get back the original state after playing around with different firmware. Is there any registry of heimdall firmware package files for SGS2 and other devices? :confused:
[Galaxy S II Q&A, Help & Troubleshooting] interslicer:
I agree with this guy - i need some stock packages to use with Heimdal! it's been 2 or 3 yrs .. why no support?
[Galaxy S II Q&A, Help & Troubleshooting] centuriondan:
I think I've managed to soft brick my sgs2 using command line heimdall :-(

*** Update **** - I managed to partially unbrick my SGS2 using CWM (once I confirmed it was safe from the superbrick bug) by restoring the wanamlite firmware that was last installed. After that I even used cwm to restore back to the previous setup where my initial problem occured. Now back to fixing that.

**************

Upshot is that i can't seem to flash a kernel now.

Any advice on where to from here. (All the advice I see seems Odin oriented and talks about PDA and such like unexplained acronyms that don't seem to have much relevance in heimdall).

I'm running linux exclusively so Odin's pretty much out of the question.

Phone details:

SGS2 GT-i9100

Last running firmware installed was GT-I9100_WanamLite.XXLPQ.Deodexed.Stock.NO-WIPE.zip

I was trying to downgrade to the original Gingerbread rom when this happened.

CWM recovery v5.0.2.7 installed and still accessible, but not sure if it's likely to cause the superbrick bug as my emmc firmware version matches those that are at risk.

I have a usb jig and can get to download mode OK. Everything flashes ok except the kernel.

The details of the failure follow....

ezra:/home/centurion/Documents/Samsung SII/stock # heimdall flash --kernel zImage --verbose
Heimdall v1.3.1, Copyright (c) 2010-2011, Benjamin Dobell, Glass Echidna
//deleted url//
This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:

//deleted url//

Initialising connection...
Detecting device...
Product: "Gadget Serial"
Serial No: "?"

length: 18
device class: 2
S/N: 0
VID:PID: 04E8:685D
bcdDevice: 021B
iMan:iProd:iSer: 1:2:0
nb confs: 1

interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 83
max packet size: 0010
polling interval: 09

interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 81
max packet size: 0200
polling interval: 00
endpoint[1].address: 02
max packet size: 0200
polling interval: 00
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...

Checking if protocol is initialised...
Protocol is not initialised.
Initialising protocol...
Handshaking with Loke...

Beginning session...
Session begun with device of type: 131072

Downloading device's PIT file...
PIT file download sucessful

Uploading KERNEL
0%KERNEL upload successful
Ending session...
Rebooting device...
Re-attaching kernel driver...

Any guidance or direction to more relevant thread would be appreciated.
[Fascinate Q&A, Help & Troubleshooting] Youssefous:
Howdy,

So my fascinate is running great with commrom 1.3 and the stock OTB 1.4 kernal, it idles great, my only issue is when I'm actually using data, my battery gets murdered. And I know data use is hard on a phone, but its like 5% every 10 or so minutes and that can't be right. The phone is totally fine if I'm watching videos or listening to music, but browsing these forums or reddit and I'm toast. I'm on the ED01 radio and not roaming. Ideas?
[Fascinate Q&A, Help & Troubleshooting] garywojdan81:
Adjust your uv settings or even try a different kernel. The comavolt kernel is stable & so is the -50 or -100 pbjtime from imnuts. Both have pretty good records for battery life.

Sent from my OTB Comm.Rominate
[Fascinate Q&A, Help & Troubleshooting] pootoss:
Don't forget to wipe the battery stats after a good overnight charge...that may help you too
[Galaxy S II Q&A, Help & Troubleshooting] AmesCell:
What APN settings are US AT&T users using? On my Atrix I can see the usual wap one but also several others.
[Galaxy S II Q&A, Help & Troubleshooting] dh2311:
Wrong section mate, should be in Q&A
[Galaxy S II Q&A, Help & Troubleshooting] pulser_g2:
No way is this development. Moved and closed.
[HD2 General] dpgc213:
Hi, what are the symptoms of software bricked HD2?

I have HTC HD2 but not sure whats wrong with it, no power what so ever, no leds etc however the battery does charge. (Strange I know)

I got the phone like this so not sure how it happened

Thanks
[HD2 General] arkatis:
Maybe the display have a problem not lighting up or something!

To tell you the truth; HTC HD2 is a bit difficult to software brick it imo! Take it back from where you bought it and change it!
[HD2 General] dpgc213:
The screen is fine, it doesnt connect to the pc or anything.

It might have been bricked by flashing TMOUS radio, just wanna know what the symptons are if that happens. If there the same symptoms as mine Ill send it off to get JTAG'd

I bought it faulty.
[HD2 General] Theonew:
That sounds like a bricked HD2(:() like in this thread: http://xdaforums.com/showthread.php?t=1068989.
[HD2 General] dpgc213:
Thanks for the link, could be a software or hardware fault. I'll try and get a phone shop to look it.
[HD2 General] conantroutman:
When you say "the screen is fine".... how do you know if its not displaying anything. Could be an LCD fault, how do you know the battery is charging...??

Im a bit confused by this one.

Apologies if I've missed something obvious, somewhat drunk.

As your on O2 im gonna assume your in the UK and its an EU HD2 (T8585).

If so, it cannot be bricked by flashing a tmous radio.......
[HD2 General] dpgc213:
I know its charging because the battery warms up and I checked in my other HD2 lol.

Its not an LCD fault as it doesnt even connect to the PC etc. Its just dead apart from that it charges the battery.
[HD2 General] T-Macgnolia:
You wanted the symtoms of a hardware or hard bricked HD2. Well they are as follows.

1. The HD2 will vibrate and the hardware buttons will light up but it will not display anything but a black screen, not the first splash screen.

2. You can not boot into bootloader by holding the volume down button down while powering on the HD2.

3. On some hard bricked HD2s they will still apear to charge but it is not really charging the battery properly because the charging software is not working properly, thos is why your battery gets hot.

4. The HD2 is not recognized by the computer at all or only as Qualcomm something.

These are the symtoms I know for a hard bricked HD2.

Yours sounds like a case of a hard bricked HD2. In case the shop that you carry your HD2 to does not offer a JTAH service for the HD2 I can put you in contact with someone that can JTAG your HD2.
[HD2 General] dpgc213:
Thanks for that, How much does the person you know charge? I can get it Jtag'd for around £40
[HD2 General] T-Macgnolia:
Sorry it tooke a little while to get back to you but the person I know charges $50 USD plus you pay whatever shipping and handling it is to ship the HD2 to him. But he lives in the US so you might be better of if you can get it done localy. But the guy I know is very good.
[HD2 General] dpgc213:
Ok thanks for that, Ill let you know if I cant get it done locally.
[T-Mobile LG G2x] jeffreynew23:
Hey guys,

Is there a way to install my games (gameloft) into the external sd card instead of the internal?