Project

General

Profile

Installing Replicant 4.2 on Galaxy S2 from a Windows PC

Added by Mathias Uhr almost 9 years ago

hi guys,
i'm new here, so please don't flame me for using windows!
i'm trying to install replicant 4.2.0003 on a galaxy s2 (i9100), following the instructions on http://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100Installation. since i'm using windows xp (yes, that's true...), i can't run the linux-tools from your page (http://redmine.replicant.us/projects/replicant/wiki/ReplicantImages). i have adb 1.0.31, fastboot 16.01 and heimdall suite 1.3.2 for windows. i also installed SAMSUNG_USB_Driver_for_Mobile_Phones.exe 1.5.53.0 and this "zadig"-thing as described at http://github.com/Benjamin-Dobell/Heimdall/tree/master/Win32.
the connection to the phone and copying the replicant-zip work fine.
but the problem is:
when i load the firmware package in heimdall frontend (tab "load package", button "browse") an error saying "Tar header contained an invalid file size" occurs.
what's wrong? how can i solve/work around this problem?
thanks for your help!
mathias


Replies (1)

RE: Installing Replicant 4.2 on Galaxy S2 from a Windows PC - Added by Paul Kocialkowski almost 9 years ago

i'm new here, so please don't flame me for using windows!

Heh, I guess using proprietary software is enough of a problem as it is for you, I don't see why we should add to your burden!

But well, we don't provide instructions for Windows XP, obviously, and have no intent to do so. Of course, I encourage you to switch to a free system such as https://www.trisquel.info/, that respects your freedom. It will make all things simpler here.

when i load the firmware package in heimdall frontend (tab "load package", button "browse") an error saying "Tar header contained an invalid file size" occurs.
what's wrong? how can i solve/work around this problem?

I suspect this is because the heimdall front-end expects images to be bundled in the tar format. You might want to look for a way to load separate images (instead of an all-in-one package), or just use the command line (yes, that should be possible with Windows too) to provide only the needed images to flash.

    (1-1/1)