[FIX] heimdall-frontend: symbol lookup error: heimdall-frontend: undefined symbol: _Z

Search This thread

iMil

Member
Mar 1, 2012
21
9
Paris
imil.net
Debian packages for heimdall-frontend from official Heimdall website fail under Debian GNU/Linux Squeeze with the following message:

Code:
heimdall-frontend: symbol lookup error: heimdall-frontend: undefined symbol: _ZN9QListData11detach_growEPii

When trying to detect the device. This is due to a missing symbol in Debian's qt4.

Here's how to rebuild the frontend using Heimdall source code:

0. Install what's needed to build qt code

Code:
$ sudo apt-get build-essential
$ sudo apt-get install qt4-qmake
$ sudo apt-get install libqt4-dev

1. Fetch heimdall sources from GitHub (sorry no link, not allowed to post them yet)

2. Uncompress the obtained source

Code:
tar zxvf Benjamin-Dobell-Heimdall-v1.3.1-0-gfbbed42.tar.gz

3. Build libpit

Code:
$ cd Benjamin-Dobell-Heimdall-fbbed42/libpit/
$ ./configure
$ make

4. Build heimdall-frontend

cd to ../heimdall-frontend/. You'll need to modify a qt4.7 incompatible function, in Source/Packaging.cpp, modify:

Code:
toMSecsSinceEpoch
to
Code:
toTime_t

And then type

Code:
make

You should now have a functionnal heimdall-frontend located in ../Linux.

And if you're too lazy to build it yourself, here's a i386 / Debian Squeeze version as an attachement ;)

Enjoy.
 

Attachments

  • heimdall-frontend.bz2
    97.1 KB · Views: 309

davidmore

Senior Member
Dec 1, 2007
332
606
Venice
a great job. Thank you very much.
I recompiled heimdall-frontend after changed value in Packaging.cpp and all works fine.
You are a very big linux programmer :)
 
Last edited:

Hardly Captivated

New member
Apr 9, 2012
4
0
Atlanta
Thanks...

Thanks for the post on the fix; however, following the instructions, I have a snag.
Downloaded the Heimdall 1.3.1 source (GithubDOTcom/Benjamin-Dobell/Heimdall/zipball/v1.3.1)
Uncompressed it
cd heimdall/Benjamin-Dobell-Heimdall-fbbed42/libpit
./configure
make (got a libpit-1.3.a) as root
cd ../../Benjamin-Dobell-Heimdall-fbbed42/heimdall-frontend
vi Source/Packaging.cpp
:%s/toMSecsSinceEpoch/toTime_t/g
:wq

pwd
/home/user/heimdall/Benjamin-Dobell-Heimdall-fbbed42/heimdall-frontend

But I see no configure or make files for the frontend. What have I missed?

Thanks again.
 

bambam1978

Senior Member
Dec 7, 2010
419
38
Very first command "sudo apt-get build-essential" Gives me the following error
E: Invalid operation build-essential

Now what?

Please help thanks

k got past that did the first step now im lost!!
 
Last edited:

bambam1978

Senior Member
Dec 7, 2010
419
38
"sudo apt-get install build-essential" and not "sudo apt-get build-essential"

ok so now im stuck on #3. i instead used heimdall 1.1.1 and uncompressed that here i'll copy and paste what i have done so you can help me go from there. starting with the unpacking of heimdall 1.1.1
"$ tar zxvf Benjamin-Dobell-Heimdall-47faaf0.tar.gz
heimdall/
heimdall/source/
heimdall/m4/
heimdall/doc-pak/
heimdall/autom4te.cache/
heimdall-frontend/
heimdall-frontend/doc-pak/
heimdall-frontend/Source/
libusb-1.0/
libusb-1.0/msvc/
libusb-1.0/m4/
libusb-1.0/libusb/
libusb-1.0/examples/
libusb-1.0/doc/
libusb-1.0/autom4te.cache/
libusb-1.0/libusb/os/
Linux/
OSX/
OSX/heimdall.kext/
OSX/heimdall.kext/Contents/
Win32/
Win32/Drivers/
heimdall/postremove-pak
heimdall/postinstall-pak
heimdall/missing
heimdall/ltmain.sh
heimdall/install-sh
heimdall/heimdall.vcxproj.filters
heimdall/heimdall.vcxproj
heimdall/description-pak
heimdall/depcomp
heimdall/configure.ac
heimdall/configure
heimdall/config.sub
heimdall/config.h.in~
heimdall/config.h.in
heimdall/config.guess
heimdall/autogen.sh
heimdall/aclocal.m4
heimdall/Makefile.in
heimdall/Makefile.am
heimdall/LICENSE
heimdall/60-heimdall-galaxy-s.rules
heimdall/source/main.cpp
heimdall/source/SendFilePartResponse.h
heimdall/source/SendFilePartPacket.h
heimdall/source/ResponsePacket.h
heimdall/source/ReceiveFilePartPacket.h
heimdall/source/RebootDevicePacket.h
heimdall/source/PitFileResponse.h
heimdall/source/PitFilePacket.h
heimdall/source/Packet.h
heimdall/source/OutboundPacket.h
heimdall/source/InterfaceManager.h
heimdall/source/InterfaceManager.cpp
heimdall/source/InboundPacket.h
heimdall/source/Heimdall.h
heimdall/source/FlashPartPitFilePacket.h
heimdall/source/FlashPartFileTransferPacket.h
heimdall/source/FileTransferPacket.h
heimdall/source/EndPhoneFileTransferPacket.h
heimdall/source/EndModemFileTransferPacket.h
heimdall/source/EndFileTransferPacket.h
heimdall/source/DumpResponse.h
heimdall/source/DumpPartPitFilePacket.h
heimdall/source/DumpPartFileTransferPacket.h
heimdall/source/DeviceInfoResponse.h
heimdall/source/DeviceInfoPacket.h
heimdall/source/ControlPacket.h
heimdall/source/BridgeManager.h
heimdall/source/BridgeManager.cpp
heimdall/source/BeginDumpPacket.h
heimdall/m4/lt~obsolete.m4
heimdall/m4/ltversion.m4
heimdall/m4/ltsugar.m4
heimdall/m4/ltoptions.m4
heimdall/m4/libtool.m4
heimdall/doc-pak/README
heimdall/doc-pak/LICENSE
heimdall/autom4te.cache/traces.1
heimdall/autom4te.cache/traces.0
heimdall/autom4te.cache/requests
heimdall/autom4te.cache/output.1
heimdall/autom4te.cache/output.0
heimdall-frontend/mainwindow.ui
heimdall-frontend/mainwindow.qrc
heimdall-frontend/heimdall-frontend.vcxproj.filters
heimdall-frontend/heimdall-frontend.vcxproj
heimdall-frontend/heimdall-frontend.pro
heimdall-frontend/heimdall-frontend.pri
heimdall-frontend/description-pak
heimdall-frontend/aboutform.ui
heimdall-frontend/Qt4VSPropertySheet.props
heimdall-frontend/doc-pak/README
heimdall-frontend/doc-pak/LICENSE
heimdall-frontend/Source/mainwindow.h
heimdall-frontend/Source/mainwindow.cpp
heimdall-frontend/Source/main.cpp
heimdall-frontend/Source/aboutform.h
heimdall-frontend/Source/aboutform.cpp
libusb-1.0/missing
libusb-1.0/ltmain.sh.orig
libusb-1.0/ltmain.sh
libusb-1.0/libusb-1.0.pc.in
libusb-1.0/libtool-nls.diff
libusb-1.0/install-sh
libusb-1.0/depcomp
libusb-1.0/configure.ac
libusb-1.0/configure
libusb-1.0/config.sub
libusb-1.0/config.h.in
libusb-1.0/config.guess
libusb-1.0/compile
libusb-1.0/autogen.sh
libusb-1.0/aclocal.m4
libusb-1.0/_testing.test
libusb-1.0/_libusb_static_2010.vcxproj
libusb-1.0/_libusb_static_2008.vcxproj.filters
libusb-1.0/_libusb_static_2008.vcproj
libusb-1.0/_libusb_dll_2008.vcproj
libusb-1.0/_libusb_2008.sln
libusb-1.0/_bump.sh
libusb-1.0/_bm.sh
libusb-1.0/_bd.cmd
libusb-1.0/_README.txt
libusb-1.0/TODO
libusb-1.0/THANKS
libusb-1.0/README
libusb-1.0/PORTING
libusb-1.0/NEWS
libusb-1.0/Makefile.in
libusb-1.0/Makefile.am
libusb-1.0/INSTALL_WIN.txt
libusb-1.0/INSTALL
libusb-1.0/COPYING
libusb-1.0/AUTHORS
libusb-1.0/.gitattributes
libusb-1.0/msvc/xusb_sources
libusb-1.0/msvc/xusb.vcproj
libusb-1.0/msvc/xusb.dsp
libusb-1.0/msvc/stdint.h
libusb-1.0/msvc/lsusb_sources
libusb-1.0/msvc/lsusb.vcproj
libusb-1.0/msvc/lsusb.dsp
libusb-1.0/msvc/libusb_static.vcproj
libusb-1.0/msvc/libusb_static.dsp
libusb-1.0/msvc/libusb_sources
libusb-1.0/msvc/libusb_dll.vcproj
libusb-1.0/msvc/libusb_dll.dsp
libusb-1.0/msvc/libusb.sln
libusb-1.0/msvc/libusb.dsw
libusb-1.0/msvc/inttypes.h
libusb-1.0/msvc/ddk_build.cmd
libusb-1.0/msvc/config.h
libusb-1.0/m4/lt~obsolete.m4
libusb-1.0/m4/ltversion.m4
libusb-1.0/m4/ltsugar.m4
libusb-1.0/m4/ltoptions.m4
libusb-1.0/m4/libtool.m4
libusb-1.0/libusb/sync.c
libusb-1.0/libusb/libusbi.h
libusb-1.0/libusb/libusb_version.h.in
libusb-1.0/libusb/libusb_version.h
libusb-1.0/libusb/libusb.h
libusb-1.0/libusb/libusb-1.0.rc
libusb-1.0/libusb/libusb-1.0.def
libusb-1.0/libusb/io.c
libusb-1.0/libusb/descriptor.c
libusb-1.0/libusb/core.c
libusb-1.0/libusb/Makefile.in
libusb-1.0/libusb/Makefile.am
libusb-1.0/examples/xusb.c
libusb-1.0/examples/lsusb.c
libusb-1.0/examples/dpfp_threaded.c
libusb-1.0/examples/dpfp.c
libusb-1.0/examples/_xusb_2008.vcproj
libusb-1.0/examples/_lsusb_2008.vcproj
libusb-1.0/examples/Makefile.in
libusb-1.0/examples/Makefile.am
libusb-1.0/doc/doxygen.cfg.in
libusb-1.0/doc/Makefile.in
libusb-1.0/doc/Makefile.am
libusb-1.0/autom4te.cache/traces.1
libusb-1.0/autom4te.cache/traces.0
libusb-1.0/autom4te.cache/requests
libusb-1.0/autom4te.cache/output.1
libusb-1.0/autom4te.cache/output.0
libusb-1.0/libusb/os/windows_usb.h
libusb-1.0/libusb/os/windows_usb.c
libusb-1.0/libusb/os/threads_windows.h
libusb-1.0/libusb/os/threads_windows.c
libusb-1.0/libusb/os/threads_posix.h
libusb-1.0/libusb/os/poll_windows.h
libusb-1.0/libusb/os/poll_windows.c
libusb-1.0/libusb/os/poll_posix.h
libusb-1.0/libusb/os/linux_usbfs.h
libusb-1.0/libusb/os/linux_usbfs.c
libusb-1.0/libusb/os/darwin_usb.h
libusb-1.0/libusb/os/darwin_usb.c
Linux/README
OSX/install-kext.sh
OSX/README.txt
OSX/heimdall.kext/Contents/Info.plist
Win32/README.txt
Win32/Drivers/zadig.exe
msvc2010.sln
README
chris@chris-laptop:~$"

now what cd .. am i trying to get to to build libpit?
Here's the result of trying what I thought might work.
"chris@chris-laptop:~$ cd Benjamin-Dobell-Heimdall-47faaf0/libpit/
bash: cd: Benjamin-Dobell-Heimdall-47faaf0/libpit/: No such file or directory"


Thanks a lot for your help I really appreciate it.
 
Last edited:

bambam1978

Senior Member
Dec 7, 2010
419
38
Heimdall 1.1.1 doesn't have libpit, so you can safely skip that part. However, I see no valid reason why anyone would use Heimdall 1.1.1 over 1.3.1.

You say i can skip that part but i still get the error. I think i'll take your advice and try the 1.3.1 and see if i have better luck with that.

edit- So do I still need to build front end? If so how exactly?
 
Last edited:

dabl8

Senior Member
Jan 24, 2011
265
56
How have you managed with version 1.3? And have you tried the pre-compiled binary in the original post? If you are still having problems, I would suggest the terminal. If you tell us which files you want to flash , we can tell you what the terminal command is.
 
  • Like
Reactions: bambam1978

bambam1978

Senior Member
Dec 7, 2010
419
38
How have you managed with version 1.3? And have you tried the pre-compiled binary in the original post? If you are still having problems, I would suggest the terminal. If you tell us which files you want to flash , we can tell you what the terminal command is.

ok here is something that might make things easier, I just did a fresh install of xubuntu 10.04-2 and havent attempted to install heimdall on it yet I would ultimately like to install heimdall 1.1.1 (because im used to it) If I have to install 1.3 then so be it, but again would like 1.1.1. So if you can give me the commands for terminal to install heimdall suite 1.1.1 from scratch you will get a thanks for every post you put on here with commands. Thanks a lot for replying and I look forward to getting heimdall back on here.

THANKS!!!!
 
Last edited:

dabl8

Senior Member
Jan 24, 2011
265
56
I could be wrong, but all of the Heimdall binaries hosted on github (including 1.1.1) require a newer version of libusb-1.0-0 (2:1.0.8) than is installed on ubuntu 10.04. I have built v1.1.1 deb for ubuntu 10.04 i386, libusb-1.0-0 (2:1.0.6) http://ubuntuone.com/0Su9yv2tCVJI3gNgophBOJ. Or you can install with this ppa http://ppa.launchpad.net/modycz/heimdall/ubuntu , but this will also upgrade your libusb.

So it goes something like this:

Code:
wget http://ubuntuone.com/0Su9yv2tCVJI3gNgophBOJ
wget https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-frontend_1.1.1-1_i386.deb
mv 0Su9yv2tCVJI3gNgophBOJ.bin heimdall_1.1.1-1_i386.deb
sudo dpkg -i heimdall_1.1.1-1_i386.deb
sudo dpkg -i heimdall-frontend_1.1.1-1_i386.deb


Then run heimdall-frontend in the terminal. If that won't work download the binary from the original post and run that.
If that doesn't work you can always use heimdall just from the terminal:
Code:
heimdall flash --kernel zImage
, or whatever, with your device plugged in and in download mode. That was the way I installed a custom recovery on a galaxy s with Ubuntu 10.04. All the usual admonitions about flashing things to your phone apply here.


I edited the answer at http://askubuntu.com/questions/1379...ils-with-undefines-symbol-error/145458#145458 to make use of the launchpad ppa instead of my own build. You will need to install via the ppa if you are on 64-bit.
 
Last edited:
  • Like
Reactions: bambam1978

bambam1978

Senior Member
Dec 7, 2010
419
38
I could be wrong, but all of the Heimdall binaries hosted on github (including 1.1.1) require a newer version of libusb-1.0-0 (2:1.0.8) than is installed on ubuntu 10.04. I have built v1.1.1 deb for ubuntu 10.04 i386, libusb-1.0-0 (2:1.0.6) http://ubuntuone.com/0Su9yv2tCVJI3gNgophBOJ. Or you can install with this ppa http://ppa.launchpad.net/modycz/heimdall/ubuntu , but this will also upgrade your libusb.

So it goes something like this:

Code:
wget http://ubuntuone.com/0Su9yv2tCVJI3gNgophBOJ
wget https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-frontend_1.1.1-1_i386.deb
sudo dpkg -i heimdall_1.1.1-1_i386.deb
sudo dpkg -i heimdall-frontend_1.1.1-1_i386.deb


Then run heimdall-frontend in the terminal. If that won't work download the binary from the original post and run that.
If that doesn't work you can always use heimdall just from the terminal:
Code:
heimdall flash --kernel zImage
, or whatever, with your device plugged in and in download mode. That was the way I installed a custom recovery on a galaxy s with Ubuntu 10.04. All the usual admonitions about flashing things to your phone apply here.


I edited the answer at http://askubuntu.com/questions/1379...ils-with-undefines-symbol-error/145458#145458 to make use of the launchpad ppa instead of my own build. You will need to install via the ppa if you are on 64-bit.

Thanks for trying but this is what i got out of both methods trying to no avail
Code:
chris@chris-laptop:~$ wget http://ubuntuone.com/0Su9yv2tCVJI3gNgophBOJ
--2012-06-02 08:17:12--  http://ubuntuone.com/0Su9yv2tCVJI3gNgophBOJ
Resolving ubuntuone.com... 91.189.89.205, 91.189.89.204
Connecting to ubuntuone.com|91.189.89.205|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23856 (23K) [application/x-deb]
Saving to: `0Su9yv2tCVJI3gNgophBOJ'

100%[======================================>] 23,856      41.7K/s   in 0.6s    

2012-06-02 08:17:15 (41.7 KB/s) - `0Su9yv2tCVJI3gNgophBOJ' saved [23856/23856]

chris@chris-laptop:~$ wget https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-frontend_1.1.1-1_i386.deb
--2012-06-02 08:18:01--  https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-frontend_1.1.1-1_i386.deb
Resolving github.com... 207.97.227.239
Connecting to github.com|207.97.227.239|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://cloud.github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-frontend_1.1.1-1_i386.deb [following]
--2012-06-02 08:18:04--  http://cloud.github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-frontend_1.1.1-1_i386.deb
Resolving cloud.github.com... 216.137.41.109, 216.137.41.118, 216.137.41.136, ...
Connecting to cloud.github.com|216.137.41.109|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 34462 (34K) [application/x-deb]
Saving to: `heimdall-frontend_1.1.1-1_i386.deb'

100%[======================================>] 34,462      --.-K/s   in 0.1s    

2012-06-02 08:18:06 (256 KB/s) - `heimdall-frontend_1.1.1-1_i386.deb' saved [34462/34462]

chris@chris-laptop:~$ sudo dpkg -i heimdall_1.1.1-1_i386.deb
[sudo] password for chris: 
dpkg: error processing heimdall_1.1.1-1_i386.deb (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 heimdall_1.1.1-1_i386.deb
chris@chris-laptop:~$ sudo add-apt-repository ppa:modycz/heimdall
Error reading https://launchpad.net/api/1.0/~modycz/+archive/heimdall: Couldn't resolve host 'launchpad.net'
chris@chris-laptop:~$ sudo add-apt-repository ppa:modycz/heimdall
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 1EC1E8C08499ECF7A5FE1743913B07AD8EC86B93
gpg: requesting key 8EC86B93 from hkp server keyserver.ubuntu.com
gpg: key 8EC86B93: public key "Launchpad PPA for Patrik Modesto" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
chris@chris-laptop:~$ sudo apt-get update
Get:1 http://security.ubuntu.com lucid-security Release.gpg [198B]             
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_CA   
Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_CA
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_CA
Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_CA
Get:2 http://ppa.launchpad.net lucid Release.gpg [316B]                        
Ign http://ppa.launchpad.net/modycz/heimdall/ubuntu/ lucid/main Translation-en_CA
Get:3 http://security.ubuntu.com lucid-security Release [57.3kB]     
Get:4 http://ca.archive.ubuntu.com lucid Release.gpg [189B]                
Hit http://ca.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_CA      
Hit http://ca.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_CA
Hit http://ca.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_CA    
Ign http://ca.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_CA  
Get:5 http://ca.archive.ubuntu.com lucid-updates Release.gpg [198B]          
Ign http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_CA  
Ign http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_CA
Ign http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_CA
Ign http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_CA
Get:6 http://ca.archive.ubuntu.com lucid Release [57.2kB]                    
Get:7 http://ppa.launchpad.net lucid Release [13.9kB]                          
Get:8 http://security.ubuntu.com lucid-security/main Packages [414kB]          
Get:9 http://ca.archive.ubuntu.com lucid-updates Release [57.3kB]              
Get:10 http://ca.archive.ubuntu.com lucid/main Packages [1,386kB]              
Get:11 http://ppa.launchpad.net lucid/main Packages [932B]                     
Get:12 http://security.ubuntu.com lucid-security/restricted Packages [2,855B]  
Get:13 http://security.ubuntu.com lucid-security/main Sources [123kB]          
Get:14 http://ca.archive.ubuntu.com lucid/restricted Packages [6,208B]         
Get:15 http://ca.archive.ubuntu.com lucid/main Sources [659kB]                 
Get:16 http://security.ubuntu.com lucid-security/restricted Sources [1,259B]   
Get:17 http://security.ubuntu.com lucid-security/universe Packages [130kB]     
Get:18 http://security.ubuntu.com lucid-security/universe Sources [40.5kB]     
Get:19 http://security.ubuntu.com lucid-security/multiverse Packages [5,368B]  
Get:20 http://security.ubuntu.com lucid-security/multiverse Sources [2,323B]   
Get:21 http://ca.archive.ubuntu.com lucid/restricted Sources [3,775B]          
Get:22 http://ca.archive.ubuntu.com lucid/universe Packages [5,448kB]          
Get:23 http://ca.archive.ubuntu.com lucid/universe Sources [3,165kB]           
Get:24 http://ca.archive.ubuntu.com lucid/multiverse Packages [180kB]          
Get:25 http://ca.archive.ubuntu.com lucid/multiverse Sources [119kB]           
Get:26 http://ca.archive.ubuntu.com lucid-updates/main Packages [613kB]        
Get:27 http://ca.archive.ubuntu.com lucid-updates/restricted Packages [4,617B] 
Get:28 http://ca.archive.ubuntu.com lucid-updates/main Sources [221kB]         
Get:29 http://ca.archive.ubuntu.com lucid-updates/restricted Sources [2,194B]  
Get:30 http://ca.archive.ubuntu.com lucid-updates/universe Packages [270kB]    
Get:31 http://ca.archive.ubuntu.com lucid-updates/universe Sources [99.9kB]    
Get:32 http://ca.archive.ubuntu.com lucid-updates/multiverse Packages [11.3kB] 
Get:33 http://ca.archive.ubuntu.com lucid-updates/multiverse Sources [5,537B]  
Fetched 13.1MB in 1min 8s (193kB/s)                                            
Reading package lists... Done
chris@chris-laptop:~$ wget https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-frontend_1.1.1-1_i386.deb
--2012-06-02 08:24:21--  https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-frontend_1.1.1-1_i386.deb
Resolving github.com... 207.97.227.239
Connecting to github.com|207.97.227.239|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://cloud.github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-frontend_1.1.1-1_i386.deb [following]
--2012-06-02 08:24:31--  http://cloud.github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-frontend_1.1.1-1_i386.deb
Resolving cloud.github.com... failed: Name or service not known.
wget: unable to resolve host address `cloud.github.com'
chris@chris-laptop:~$ wget https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-frontend_1.1.1-1_i386.deb
--2012-06-02 08:25:08--  https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-frontend_1.1.1-1_i386.deb
Resolving github.com... 207.97.227.239
Connecting to github.com|207.97.227.239|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://cloud.github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-frontend_1.1.1-1_i386.deb [following]
--2012-06-02 08:25:09--  http://cloud.github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-frontend_1.1.1-1_i386.deb
Resolving cloud.github.com... 216.137.41.6, 216.137.41.19, 216.137.41.45, ...
Connecting to cloud.github.com|216.137.41.6|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 34462 (34K) [application/x-deb]
Saving to: `heimdall-frontend_1.1.1-1_i386.deb.1'

100%[======================================>] 34,462      --.-K/s   in 0s      

2012-06-02 08:25:09 (76.7 MB/s) - `heimdall-frontend_1.1.1-1_i386.deb.1' saved [34462/34462]

chris@chris-laptop:~$ sudo apt-get install heimdall
Reading package lists... Done
Building dependency tree        
Reading state information... Done
The following extra packages will be installed:
  libusb-1.0-0
The following NEW packages will be installed:
  heimdall
The following packages will be upgraded:
  libusb-1.0-0
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 56.4kB of archives.
After this operation, 123kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://ppa.launchpad.net/modycz/heimdall/ubuntu/ lucid/main libusb-1.0-0 2:1.0.8-2~lucid1 [31.7kB]
Get:2 http://ppa.launchpad.net/modycz/heimdall/ubuntu/ lucid/main heimdall 1.1.1-1~lucid2 [24.7kB]
Fetched 56.4kB in 1s (33.4kB/s)       
(Reading database ... 114984 files and directories currently installed.)
Preparing to replace libusb-1.0-0 2:1.0.6-1 (using .../libusb-1.0-0_2%3a1.0.8-2~lucid1_i386.deb) ...
Unpacking replacement libusb-1.0-0 ...
Selecting previously deselected package heimdall.
Unpacking heimdall (from .../heimdall_1.1.1-1~lucid2_i386.deb) ...
Setting up libusb-1.0-0 (2:1.0.8-2~lucid1) ...

Setting up heimdall (1.1.1-1~lucid2) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
chris@chris-laptop:~$ sudo dpkg -i heimdall-frontend_1.1.1-1_i386.deb
Selecting previously deselected package heimdall-frontend.
(Reading database ... 114990 files and directories currently installed.)
Unpacking heimdall-frontend (from heimdall-frontend_1.1.1-1_i386.deb) ...
Setting up heimdall-frontend (1.1.1-1) ...
chris@chris-laptop:~$ heimdall-frontend
heimdall-frontend: symbol lookup error: heimdall-frontend: undefined symbol: _ZN9QListData11detach_growEPii
chris@chris-laptop:~$ heimdall flash --modem.bin
"-modem.bin" is not a valid argument
chris@chris-laptop:~$

My laptop is old its 32bit if you want any info off of it just let me know what to put in terminal and ill post the results.

Thanks again by the way
 
Last edited:

dabl8

Senior Member
Jan 24, 2011
265
56
you can't write heimdall flash --modem.bin. heimdall help is what you need to run. you need to download the heimdall-frontend that the person posted in the first post if you want to use that
 
  • Like
Reactions: bambam1978

bambam1978

Senior Member
Dec 7, 2010
419
38
you can't write heimdall flash --modem.bin. heimdall help is what you need to run. you need to download the heimdall-frontend that the person posted in the first post if you want to use that

Thanks i'll try that now.

No luck with that either. lol i should be wearing a dunce cap!
 
Last edited:

dabl8

Senior Member
Jan 24, 2011
265
56
the modem.bin file can be anywhere. if you have it in Downloads you would run heimdall flash --modem /home/bambam1978/Downloads/modem.bin
 
  • Like
Reactions: bambam1978

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Debian packages for heimdall-frontend from official Heimdall website fail under Debian GNU/Linux Squeeze with the following message:

    Code:
    heimdall-frontend: symbol lookup error: heimdall-frontend: undefined symbol: _ZN9QListData11detach_growEPii

    When trying to detect the device. This is due to a missing symbol in Debian's qt4.

    Here's how to rebuild the frontend using Heimdall source code:

    0. Install what's needed to build qt code

    Code:
    $ sudo apt-get build-essential
    $ sudo apt-get install qt4-qmake
    $ sudo apt-get install libqt4-dev

    1. Fetch heimdall sources from GitHub (sorry no link, not allowed to post them yet)

    2. Uncompress the obtained source

    Code:
    tar zxvf Benjamin-Dobell-Heimdall-v1.3.1-0-gfbbed42.tar.gz

    3. Build libpit

    Code:
    $ cd Benjamin-Dobell-Heimdall-fbbed42/libpit/
    $ ./configure
    $ make

    4. Build heimdall-frontend

    cd to ../heimdall-frontend/. You'll need to modify a qt4.7 incompatible function, in Source/Packaging.cpp, modify:

    Code:
    toMSecsSinceEpoch
    to
    Code:
    toTime_t

    And then type

    Code:
    make

    You should now have a functionnal heimdall-frontend located in ../Linux.

    And if you're too lazy to build it yourself, here's a i386 / Debian Squeeze version as an attachement ;)

    Enjoy.
    1
    "sudo apt-get install build-essential" and not "sudo apt-get build-essential"
    1
    Heimdall 1.1.1 doesn't have libpit, so you can safely skip that part. However, I see no valid reason why anyone would use Heimdall 1.1.1 over 1.3.1.
    1
    How have you managed with version 1.3? And have you tried the pre-compiled binary in the original post? If you are still having problems, I would suggest the terminal. If you tell us which files you want to flash , we can tell you what the terminal command is.
    1
    I could be wrong, but all of the Heimdall binaries hosted on github (including 1.1.1) require a newer version of libusb-1.0-0 (2:1.0.8) than is installed on ubuntu 10.04. I have built v1.1.1 deb for ubuntu 10.04 i386, libusb-1.0-0 (2:1.0.6) http://ubuntuone.com/0Su9yv2tCVJI3gNgophBOJ. Or you can install with this ppa http://ppa.launchpad.net/modycz/heimdall/ubuntu , but this will also upgrade your libusb.

    So it goes something like this:

    Code:
    wget http://ubuntuone.com/0Su9yv2tCVJI3gNgophBOJ
    wget https://github.com/downloads/Benjamin-Dobell/Heimdall/heimdall-frontend_1.1.1-1_i386.deb
    mv 0Su9yv2tCVJI3gNgophBOJ.bin heimdall_1.1.1-1_i386.deb
    sudo dpkg -i heimdall_1.1.1-1_i386.deb
    sudo dpkg -i heimdall-frontend_1.1.1-1_i386.deb


    Then run heimdall-frontend in the terminal. If that won't work download the binary from the original post and run that.
    If that doesn't work you can always use heimdall just from the terminal:
    Code:
    heimdall flash --kernel zImage
    , or whatever, with your device plugged in and in download mode. That was the way I installed a custom recovery on a galaxy s with Ubuntu 10.04. All the usual admonitions about flashing things to your phone apply here.


    I edited the answer at http://askubuntu.com/questions/1379...ils-with-undefines-symbol-error/145458#145458 to make use of the launchpad ppa instead of my own build. You will need to install via the ppa if you are on 64-bit.