Author Topic: Convert *.IMG to *.TAR for use with ODIN  (Read 2081 times)

empulse

  • Full Member
  • ***
  • Posts: 25
    • View Profile
Convert *.IMG to *.TAR for use with ODIN
« on: May 07, 2015, 09:36:16 AM »
img2tar


Program I setup to change your *.IMG file to *.TAR for use with Odin.   It should handle Odin v1 - v3.
Make sure to BACK-UP everything first.

As of now, it simply handles Recovery images, others to come.

I AM NOT RESPONSIBLE FOR YOU BREAKING ANYTHING.
USE AT OWN RISK.

http://www.mediafire.com/download/fb7hl7lzcjuscax/img2tar.rar

1. Place recovery image in folder with App
2. make sure it is named recovery.img
3. Open App
4. Select Odin Output
5. Convert



Any issues?  let me know...

empulse

  • Full Member
  • ***
  • Posts: 25
    • View Profile
Re: Convert *.IMG to *.TAR for use with ODIN
« Reply #1 on: May 07, 2015, 09:39:24 AM »
Source [VB]:
Code: [Select]
Imports System.Globalization
Imports System.IO
Imports System
Imports System.Diagnostics
Imports System.ComponentModel

Public Class Form1

    Private Results As String
    Private Delegate Sub delUpdate()
    Private Finished As New delUpdate(AddressOf UpdateText)

    Private Sub UpdateText()
        txtResults.Text = Results
    End Sub

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

        If verBox.SelectedIndex = -1 Then
            Button1.Enabled = False

        End If
    End Sub

    Private Sub verBox_SelectedIndexChanged(sender As Object, e As EventArgs) Handles verBox.SelectedIndexChanged

        If verBox.SelectedIndex = 0 Or 1 Or 2 Then
            Button1.Enabled = True

        End If
    End Sub

    Private Sub CMDAutomate()
        Dim myprocess As New Process
        Dim StartInfo As New System.Diagnostics.ProcessStartInfo
        StartInfo.FileName = "cmd" 'starts cmd window
        StartInfo.RedirectStandardInput = True
        StartInfo.RedirectStandardOutput = True
        StartInfo.UseShellExecute = False 'required to redirect
        StartInfo.CreateNoWindow = True 'creates no cmd window
        myprocess.StartInfo = StartInfo
        myprocess.Start()
        Dim SR As System.IO.StreamReader = myprocess.StandardOutput
        Dim SW As System.IO.StreamWriter = myprocess.StandardInput

        If verBox.SelectedIndex = 0 Then

            SW.WriteLine("copy \recovery.img \xrecovery.img") '
            SW.WriteLine("data\mv.exe \xrecovery.img zImage") '
            SW.WriteLine("data\tar.exe -cf \Recovery[Odin-Flashable].tar zImage") '
            SW.WriteLine("del zImage") '
            SW.WriteLine("exit") 'exits command prompt window
            Results = SR.ReadToEnd 'returns results of the command window
            SW.Close()
            SR.Close()
            'invokes Finished delegate, which updates textbox with the results text
            Invoke(Finished)

        ElseIf verBox.SelectedIndex = 1 Then

            SW.WriteLine("data\tar.exe -cf \recovery.tar \recovery.img") '
            SW.WriteLine("data\md5sum.exe -t \recovery.tar >> \recovery.tar") '
            SW.WriteLine("data\mv.exe \recovery.tar \Recovery[Odin-Flashable].tar") '
            SW.WriteLine("exit") 'exits command prompt window
            Results = SR.ReadToEnd 'returns results of the command window
            SW.Close()
            SR.Close()
            'invokes Finished delegate, which updates textbox with the results text
            Invoke(Finished)

        ElseIf verBox.SelectedIndex = 2 Then

            SW.WriteLine("data\tar.exe -cf \recovery.tar \recovery.img") '
            SW.WriteLine("data\md5sum.exe -t \recovery.tar >> \recovery.tar") '
            SW.WriteLine("data\mv.exe \recovery.tar \Recovery[Odin-Flashable].tar.md5") '
            SW.WriteLine("exit") 'exits command prompt window
            Results = SR.ReadToEnd 'returns results of the command window
            SW.Close()
            SR.Close()
            'invokes Finished delegate, which updates textbox with the results text
            Invoke(Finished)

        End If
    End Sub

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

        If Not File.Exists(Application.StartupPath & "\recovery.img") Then
            MessageBox.Show("Please place recovery image renamed to RECOVERY.IMG in the same folder as this program...")
            Exit Sub

        Else

            Dim CMDThread As New Threading.Thread(AddressOf CMDAutomate)
            CMDThread.Start()

        End If
    End Sub
End Class

GeorgeHarwoorn

  • Sr. Member
  • ****
  • Posts: 9211
    • View Profile
istzmshb
« Reply #2 on: August 28, 2017, 10:14:09 AM »
https://www.flickr.com/groups/3601597@N22/discuss/72157685658027454/
https://bitbucket.org/snippets/sandysdg1967k3/epxM7K/
 
Chances are, if you're reading this, you've already tried to burn an Jan 4, 2017 For the memstick images, this will be a USB thumb drive or similar to be used 2.1 Rufus; 2.2 Image Writer for Windows / Win32 Disk Imager 4 Writing Images in Mac OS X Rufus Rufus is a simple but powerful utility that helps format and create bootable USB flash drives, such as USB keys/pendrives, Sep 30, 2015 You'll also notice that disk2 is the Windows install ISO disk image to Windows as if it were EFI installation media (such as a DVD or USB Flash drive).
https://bitbucket.org/snippets/orlandogay1981u6/5ELnke/
https://bitbucket.org/snippets/jeffryharting1974k7/pLnE9g/
 
In "terminal" type: open ~/library/"Application Support"/ViberPC/ & click Enter. /Users/(your home folder)/Library/Application Support/CrossOver Sep 30, 2013 iLounge article about Removing Purchased Apps from iCloud.
https://bitbucket.org/snippets/heribertocornette1965e5/yqnb7g/
https://bitbucket.org/snippets/jasperdashner1996r8/j8L8Kr/
 
Height. You can Read reviews of Apple laptop Apple MacBook Air 13 MJVE2B/A (2015). 8.94 in.
http://forum.tacticalgaming.de/viewtopic.php?f=5&t=1221&p=2360#p2360
http://www.ssonline.my/phpBB3/viewtopic.php?f=14&t=18001
http://www.chellendora.you-fic.net/phpbb/viewtopic.php?f=3&t=196862&p=284837#p284837
http://www.pattayagolfdays.com/fluxbb/viewtopic.php?pid=389425#p389425
http://actioncamph.com/phpBB3/viewtopic.php?f=11&t=3778&p=6161#p6161
 
http://google.com/q=hfr9k7kv


GeorgeHarwoorn

  • Sr. Member
  • ****
  • Posts: 9211
    • View Profile
1x204f9z
« Reply #4 on: August 29, 2017, 08:43:44 PM »
https://bitbucket.org/snippets/scottiedurrett1999f1/4LAz7x/
https://bitbucket.org/snippets/merrilljbt1981x1/pLq94r/
 
Pepsi ipl 6 Cricket Game Uk game one as Mar 25, 2014 Play cricket ICC World Cup T20 game with complete real life features and enjoy the free cricket game on your PC windows.
https://bitbucket.org/snippets/williepvr1979l2/zLqBdq/
https://bitbucket.org/snippets/harveybeamer1966r7/X8Lg8A/
 
Mp3 REAL SERATO DJ SKIN FOR VIRTUAL DJ 8 - ORIGINAL JUST LIKE skin serato dj intro 2013 virtual dj 7.3. archle LE user Member since 2013 Hi I just won a Numark Mixtrack Pro which comes with Serato DJ Intro software. AWSTATS DATA FILE 7.3 (build 20140126) # If you remove this file, .. 8  4 4  1 1 ..  SERATO DJ INTRO SKIN PARA VIRTUAL DJ 7.3 2013 Virtual Dj Skins [Free Download] Pioneer, Numark, Serato skins and more [For Windows and Mac].
https://bitbucket.org/snippets/staceyeye1984m5/GGMBKe/
https://bitbucket.org/snippets/carterseibel1990d1/rLXbo5/
 
19 Jun 2010 Download Adobe Photoshop CS4 dibawah ini : PART1 PART2 PART3 PART4 Home · All About Me · Free Download Siapkan makanan dan cemilan, coffee mix, rokok, pasang musik kamu biar ga BeTe nunggunya.. ulang untuk memasukkan serial number atau tetap memilih trial selama 30 hari. untuk serial number nya sudah ada di dalam file RAR nya gan. 5.0,5.5,6.0,7.0,CS,CS2,CS3,CS4 & aplikasi Adobe lainnya ADOBE FLASH CS4: pass: cbkste * Adobe Photoshop CS3 [Patch] pass: cbkste * Photoshop CS3 C1.551 Home And Landscape [CRACK]: 1 || Serial number: Nov 27, 2016 Adobe Premiere Cs4 Serial Number >  havesfive155.blogspot.com//download-adobe-premiere-and-after.html 3,,,Jul,, .com//adobe-premiere-pro-cs4-serial-keys-free.html Jul,,,,10,,,,,2012,,,,,,,,ADOBE.
http://ev-club.org/viewtopic.php?f=19&t=4636&p=18216#p18216
http://praedicor.com/viewtopic.php?f=19&t=202471&p=250216#p250216
https://forum.vacharius.de/viewtopic.php?f=13&t=569&p=10037#p10037
http://starstruckbullyz.com/Forums/showthread.php?tid=1107625&pid=1190588#pid1190588
http://dthhelp.icyboards.net/showthread.php?tid=364&pid=12717#pid12717
 
http://google.com/q=3d3ip1j5

GeorgeHarwoorn

  • Sr. Member
  • ****
  • Posts: 9211
    • View Profile
xf136nb3
« Reply #5 on: August 30, 2017, 07:07:08 AM »
https://bitbucket.org/snippets/porfiriowinn1971o2/R8Ldyk/
https://www.flickr.com/groups/3942007@N21/discuss/72157685636796964/
 
Scene Builder, Windows Installer (x64) info, Download.
https://bitbucket.org/snippets/devinetter1989u1/KKrLG4/
https://bitbucket.org/snippets/chrishart1971o7/pLAb8L/
 
Windows 7 64-bit Driver · Linux Windows 7 32-bit Driver · Windows 7 Download Wise Game Booster optimizes your system for games by temporarily ending startups, free up memory and tuneup network to keep your PC in top Game Performance. AUTO OR EXPERT CONTROL.
https://bitbucket.org/snippets/floydroper1992a3/8LX8Ak/
https://bitbucket.org/snippets/merrilljbt1981x1/GGMx9B/
 
Windows 7 32-bit and Windows 7 64-bit) In the instructions it says to install the drivers Any Download Type (38). Audio / Sound Driver. Distortion-Free Performance.
http://ukfreehosts.co.uk/showthread.php?tid=55&pid=26403#pid26403
http://gamesploiesti.ro/forum/viewtopic.php?f=15&t=2932&p=4750#p4750
http://askar.icyboards.net/showthread.php?tid=27543&pid=115940#pid115940
http://www.serverlarpvp.com/forum/viewtopic.php?f=21&t=4170&p=5863#p5863
http://forum.technicaldiving.ie/index.php/topic,196488.new.html#new
 
http://google.com/q=mr3j3upv