Jump to content

Welcome to CyanogenMod

Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Get your own profile and make new friends
  • Download files attached to the forum.
  • Customize your experience here
  • Share your CyanogenMod experience!
Guest Message by DevFuse
 

Heimdall Suite 1.4Rc2 Command-Line Doesn't Work On Win Xp 32-Bit


  • Please log in to reply
13 replies to this topic

#1 deer421

deer421
  • Members
  • 5 posts
  • Country:
    us - United States
  • Device Model:
    Samsung Galaxy Blaze 4G
  • CM Version:
    ?
  • Recovery Image:
    ClockworkMod

Posted 30 May 2013 - 12:54 PM

I have tried heimdall on two different computers with Windows XP (32-bit) and the Microsoft Visual C++ 2012 Redistributable Package installed. I kept getting this error message:

heimdall.exe is not a valid Win32 application.

Any thoughts?

Thanks!

#2 bassmadrigal

bassmadrigal
  • Administrators
  • 12912 posts
  • Country:
    us - United States
  • Location:
    Newport News, VA
  • Device Model:
    Nexus 4
  • CM Version:
    10.2 Nightlies
  • Recovery Image:
    TWRP

Posted 30 May 2013 - 01:14 PM

Can you copy the whole output including the command you typed it from? You can do this by right-clicking on your command prompt and selecting "Mark". Then select all the text in there and hit enter to copy it to your clipboard. Paste it back in here (preferably within code tags).

#3 deer421

deer421
  • Members
  • 5 posts
  • Country:
    us - United States
  • Device Model:
    Samsung Galaxy Blaze 4G
  • CM Version:
    ?
  • Recovery Image:
    ClockworkMod

Posted 30 May 2013 - 04:09 PM

On the command line I typed the following (per CM Install instructions):

heimdall flash --recovery recovery.img --no-reboot

Then a Windows alert popped up saying:
C:\Documents and Settings\me\Desktop\Heimdall-1.4RC2-Win32-Cmdline\Release\heimdall.exe is not a valid Win32 application.

When I clicked "OK" on the alert, the command line says:
Access is denied.

#4 bassmadrigal

bassmadrigal
  • Administrators
  • 12912 posts
  • Country:
    us - United States
  • Location:
    Newport News, VA
  • Device Model:
    Nexus 4
  • CM Version:
    10.2 Nightlies
  • Recovery Image:
    TWRP

Posted 30 May 2013 - 05:13 PM

Have you tried opening the command prompt as an administrator? Have you tried redownloading heimdall to make sure it isn't a corrupted download?

#5 deer421

deer421
  • Members
  • 5 posts
  • Country:
    us - United States
  • Device Model:
    Samsung Galaxy Blaze 4G
  • CM Version:
    ?
  • Recovery Image:
    ClockworkMod

Posted 30 May 2013 - 05:36 PM

I am the administrator of my machines. I have downloaded heimdall multiple times.

#6 bassmadrigal

bassmadrigal
  • Administrators
  • 12912 posts
  • Country:
    us - United States
  • Location:
    Newport News, VA
  • Device Model:
    Nexus 4
  • CM Version:
    10.2 Nightlies
  • Recovery Image:
    TWRP

Posted 30 May 2013 - 06:08 PM

Have you tried the RC1 link? I am wondering if the exe inside the rc2 zip is corrupted.

#7 deer421

deer421
  • Members
  • 5 posts
  • Country:
    us - United States
  • Device Model:
    Samsung Galaxy Blaze 4G
  • CM Version:
    ?
  • Recovery Image:
    ClockworkMod

Posted 07 June 2013 - 03:42 PM

I just tried RC1. It gave me the error below. I am sure my PC has connection to my phone. Both Kies and Odin can connect to the phone.

C:\Documents and Settings\me\Desktop\heimdall_v1.4rc1_win>heimdall.exe flash
--recovery recovery-clockwork-6.0.1.4-t769.img --no-reboot
Heimdall v1.4 RC2

Copyright © 2010-2012, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

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:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
ERROR: Failed to access device. libusb error: -12

Fyi, I had no problem with the RC2 exe using Windows 7.

#8 bassmadrigal

bassmadrigal
  • Administrators
  • 12912 posts
  • Country:
    us - United States
  • Location:
    Newport News, VA
  • Device Model:
    Nexus 4
  • CM Version:
    10.2 Nightlies
  • Recovery Image:
    TWRP

Posted 07 June 2013 - 03:52 PM

I wonder if RC2 requires Vista and above.

#9 deer421

deer421
  • Members
  • 5 posts
  • Country:
    us - United States
  • Device Model:
    Samsung Galaxy Blaze 4G
  • CM Version:
    ?
  • Recovery Image:
    ClockworkMod

Posted 07 June 2013 - 04:03 PM

Any instructions for Windows XP users then? Since both Heimdall Suite 1.4RC1 and RC2 don't work on XP. Should I try Heimdall 1.3.2. Would the recovery img work with it?

#10 bassmadrigal

bassmadrigal
  • Administrators
  • 12912 posts
  • Country:
    us - United States
  • Location:
    Newport News, VA
  • Device Model:
    Nexus 4
  • CM Version:
    10.2 Nightlies
  • Recovery Image:
    TWRP

Posted 07 June 2013 - 05:12 PM

I'm not sure. I don't use Samsung devices. I would bring up the issue with the wiki gurus who can then contact the person who manages that page and see if there are any alternatives. You can use the Report a Wiki Problem link on the wiki.

#11 esqdde

esqdde
  • Members
  • 1 posts
  • Country:
    us - United States
  • Device Model:
    Galaxy Tab
  • CM Version:
    SCH-i800
  • Recovery Image:
    ClockworkMod

Posted 18 July 2013 - 12:25 AM

Has anyone found an answer to the problem of getting Heimdall to work on a Windows XP machine?

#12 Breakfaster

Breakfaster
  • Members
  • 1 posts
  • Country:
    de - Germany
  • Device Model:
    Samsung Note N7000
  • CM Version:
    unable to install - heimdall FAIL
  • Recovery Image:
    Cyanogen

Posted 23 July 2013 - 04:31 PM

hey, i have exact the same problem on my machine..

The Message "heimdall.exe is not a valid Win32 application" usually states that the .exe is not made for Win-32 , but since other people on the net can use it under XP, i assume it has something to do with MSVC++ redist stuff that screws itself on my machine.

I tried to start heimdall on a WIN7 64bit machine with MSVC++ redist 64bit installed - here i get the message that MSVCR110.dll is missing on my computer. _After_ rebooting of course.

I fear this is just screwed. I gonna try heimdall on a linux machine these days - this probably will work well.

cheers

#13 tapiov

tapiov
  • Donators
  • 210 posts
  • Twitter:tapiov
  • Country:
    fi - Finland
  • Location:
    Espoo, Finland
  • Device Model:
    GT-I9505
  • CM Version:
    none
  • Recovery Image:
    Stock

Posted 24 July 2013 - 01:01 PM

Hi,

I had exactly similar problems with Heimdall on XP, every version sucked **s. I switched to Ubuntu 12.04 amd64, pulled the 1.4.0 sources from git and compiled Heimdall 1.4.0 for myself. It works reliably. The key here is to compile it from source on Linux. All other ways were waste of time.

#14 arroway

arroway
  • Members
  • 1 posts
  • Country:
    fr - France
  • Device Model:
    --
  • CM Version:
    --
  • Recovery Image:
    Other

Posted 13 September 2013 - 10:19 AM

Hi,

to be able to run heimdall on Windows XP, you need to recompile it from Windows 7 targeting the XP plateform. Heimdall is a Visual Studio 2012 project, so to perform it :
- follow the README instructions of the Heimdall repository for Win32. Visual Studio 2012 runs on Windows 7 (unless some hack allows it to run on XP, but I didn't go through it)
and
- after installing VS Express, apply the Visual Studio Update 1 (or superior, the current one is Update 3): the first release of VS 2012 couldn't compile executables runnable on XP
- In the Configuration Properties > General tab for each project, select the right Plateform toolset: Visual Studio 2012 - Windows XP (v110_xp)

I got an error to compile heimdall-frontend, but if you don't mind, it'll have built a heimdall.exe running on XP after that.

Edited by arroway, 13 September 2013 - 10:23 AM.