OFFICIAL Samsung Odin v4 1.2.1-dc05e3ea - For Linux

Search This thread

AnonVendetta

Senior Member
Apr 29, 2016
1,644
599
It is for those who know. For me who is new to Linux, this is higher math.
Virt manager/kvm isn't that hard to use. A bit harder than VirtualBox/VMware. I've already used it to set up 2 Linux guests, and Windows 10, they all run smoothly. And all that, with no prior experience, and not needing to look for a tutorial before trying. If you're running linux, skip other virtualization solutions and just try Virt Manager instead.

I also tested USB pass-through from host to guest, I was able to Odin flash a firmware on an older phone.

@Virnik0: Thanks to your recommendation, I have already deleted my native Windows install. I now have Windows 10 set up in Virt Manager, and am busily redoing my setup so that all my Windows stuff runs in the VM only. Performance is pretty good. The only issue I can see, is that Virt Manager may not be so good for playing native Windows games. I've been aware of GPU pass-through for quite some time, but I've never tried it. I'm sure there must be some way to share my Nvidia to the guest Windows. But until then, I'd need native Windows for gaming.
 

ZmisiS

Senior Member
Dec 23, 2011
3,446
810
60
Livno
Virt manager/kvm isn't that hard to use. A bit harder than VirtualBox/VMware. I've already used it to set up 2 Linux guests, and Windows 10, they all run smoothly. And all that, with no prior experience, and not needing to look for a tutorial before trying. If you're running linux, skip other virtualization solutions and just try Virt Manager instead.

I also tested USB pass-through from host to guest, I was able to Odin flash a firmware on an older phone.

@Virnik0: Thanks to your recommendation, I have already deleted my native Windows install. I now have Windows 10 set up in Virt Manager, and am busily redoing my setup so that all my Windows stuff runs in the VM only. Performance is pretty good. The only issue I can see, is that Virt Manager may not be so good for playing native Windows games. I've been aware of GPU pass-through for quite some time, but I've never tried it. I'm sure there must be some way to share my Nvidia to the guest Windows. But until then, I'd need native Windows for gaming.
I've installed it twice and can't use USB at all and can't share files between KVM and Linux. For me, that's higher math. Linux is something completely new for me.
 

ZmisiS

Senior Member
Dec 23, 2011
3,446
810
60
Livno
It is for all people who are shown that Linux is not 'yet another Windows' - understandable.
I never considered it Linux 'yet another Windows'. Exactly the opposite. Windows is already on top of my head and I want to leave it completely. Now I have it as a dual boot with Linux. I want to completely switch to Linux. If I manage to do most things on Linux, Goodbye Windows.

That's why I need help on Linux so that Windows become unnecessary for me, and not that when I need to do something I have to start Windows. I want to use virtual Windows just for ODIN and maybe one or two other applications. That's the only reason I want virtual Windows.
 
  • Like
Reactions: Virnik0

Virnik0

Senior Member
Sep 14, 2010
1,984
446
Prague
blog.nutcracker.cz
Virt manager/kvm isn't that hard to use. A bit harder than VirtualBox/VMware. I've already used it to set up 2 Linux guests, and Windows 10, they all run smoothly. And all that, with no prior experience, and not needing to look for a tutorial before trying. If you're running linux, skip other virtualization solutions and just try Virt Manager instead.

I also tested USB pass-through from host to guest, I was able to Odin flash a firmware on an older phone.

@Virnik0: Thanks to your recommendation, I have already deleted my native Windows install. I now have Windows 10 set up in Virt Manager, and am busily redoing my setup so that all my Windows stuff runs in the VM only. Performance is pretty good. The only issue I can see, is that Virt Manager may not be so good for playing native Windows games. I've been aware of GPU pass-through for quite some time, but I've never tried it. I'm sure there must be some way to share my Nvidia to the guest Windows. But until then, I'd need native Windows for gaming.
Then don't play on Windows at all ;-) All games I ever tried, I was able to make them run on Linux. For example, just recently, Diablo IV
I never considered it Linux 'yet another Windows'. Exactly the opposite. Windows is already on top of my head and I want to leave it completely. Now I have it as a dual boot with Linux. I want to completely switch to Linux. If I manage to do most things on Linux, Goodbye Windows.

That's why I need help on Linux so that Windows become unnecessary for me, and not that when I need to do something I have to start Windows. I want to use virtual Windows just for ODIN and maybe one or two other applications. That's the only reason I want virtual Windows.
what if I told you, that nearly everything, if not much than that, could be done on Linux? Just don't loose the nerve, keep trying and learning - you'll get there. My 70-ish parents in law are also using Linux since I married their daughter. I asked them wheter they want back to Windows twice, answer was always 'no' - that is to the difficulty of Linux towards users.
 

ZmisiS

Senior Member
Dec 23, 2011
3,446
810
60
Livno
Then don't play on Windows at all ;-) All games I ever tried, I was able to make them run on Linux. For example, just recently, Diablo IV

what if I told you, that nearly everything, if not much than that, could be done on Linux? Just don't loose the nerve, keep trying and learning - you'll get there. My 70-ish parents in law are also using Linux since I married their daughter. I asked them wheter they want back to Windows twice, answer was always 'no' - that is to the difficulty of Linux towards users.
I am 60 years old and I am not interested in games. I'm interested in Odin and maybe one or two other applications from Windows. I just need to enable USB on Virtaul Box and that's all.
 

ZmisiS

Senior Member
Dec 23, 2011
3,446
810
60
Livno
If I don't solve the USB problem, I'll go back to Windows. Is there no one here to help me?
 

ZmisiS

Senior Member
Dec 23, 2011
3,446
810
60
Livno
very few wants to keep helping someone who refuses ideas which collides with their own views, or to someone who refuses advices given based on prior queries, or to someone who constantly writes back in a sense that 'it doesn't work'
Here I am offered to do something, but I am not given instructions on how to do it. I know what I should do, but I don't know how I should do it. I need step by step to boot USB to KVM and share files between KVM and Linux.

I can't install Windows 11 on KVM but Windows 10. On Windows 10 it doesn't recognize the key, while on Windows 11 on Virtual Box it recognizes the key.
 

ZmisiS

Senior Member
Dec 23, 2011
3,446
810
60
Livno
I managed to solve something on Virtual Box related to USB, but I get a message that Windows does not recognize my device.
 

Attachments

  • Screenshot from 2023-06-07 20-31-30.png
    Screenshot from 2023-06-07 20-31-30.png
    16.7 KB · Views: 9

Virnik0

Senior Member
Sep 14, 2010
1,984
446
Prague
blog.nutcracker.cz
Here I am offered to do something, but I am not given instructions on how to do it. I know what I should do, but I don't know how I should do it. I need step by step to boot USB to KVM and share files between KVM and Linux.

I can't install Windows 11 on KVM but Windows 10. On Windows 10 it doesn't recognize the key, while on Windows 11 on Virtual Box it recognizes the key.
I already answered those questions. You won't be able to install Windows 11 on KVM using standard ISO, as KVM do not propagate TPM to the guest VM.

What about trying to search for once?

Either make the custom ISO yourself, or download already modified one from torrents.

To modify it yourself, follow this: https://www.isumsoft.com/windows-11/install-windows-11-without-tpm-and-secure-boot.html
 
  • Like
Reactions: ZmisiS

ZmisiS

Senior Member
Dec 23, 2011
3,446
810
60
Livno
I already answered those questions. You won't be able to install Windows 11 on KVM using standard ISO, as KVM do not propagate TPM to the guest VM.

What about trying to search for once?

Either make the custom ISO yourself, or download already modified one from torrents.

To modify it yourself, follow this: https://www.isumsoft.com/windows-11/install-windows-11-without-tpm-and-secure-boot.html
And what should I do when I can't use USB and share files?
 

ZmisiS

Senior Member
Dec 23, 2011
3,446
810
60
Livno
I already answered those questions. You won't be able to install Windows 11 on KVM using standard ISO, as KVM do not propagate TPM to the guest VM.

What about trying to search for once?

Either make the custom ISO yourself, or download already modified one from torrents.

To modify it yourself, follow this: https://www.isumsoft.com/windows-11/install-windows-11-without-tpm-and-secure-boot.html
Does this mean I would have to install Windows 11 on black?
 

AnonVendetta

Senior Member
Apr 29, 2016
1,644
599
Does this mean I would have to install Windows 11 on black?
Just download an official 11 iso from Microsoft. Use Rufus to modify it, it will remove the TPM requirement. Then install in the normal way.

For what you are doing, you don't need 11, 10 is enough. Download a Windows 10 Enterprise iso, install it, use a kms activator to activate it. I suggest using a 10 Enterprise LTSC iso, it doesn't ask for a key when installing. And it lacks almost all the bloatware that the other 10 editions (home, pro, etc) have. Once you've got it installed, you'll see how clean it is. I've used LTSC as my daily Windows driver for several yrs now.
 

ZmisiS

Senior Member
Dec 23, 2011
3,446
810
60
Livno
Just download an official 11 iso from Microsoft. Use Rufus to modify it, it will remove the TPM requirement. Then install in the normal way.

For what you are doing, you don't need 11, 10 is enough. Download a Windows 10 Enterprise iso, install it, use a kms activator to activate it. I suggest using a 10 Enterprise LTSC iso, it doesn't ask for a key when installing. And it lacks almost all the bloatware that the other 10 editions (home, pro, etc) have. Once you've got it installed, you'll see how clean it is. I've used LTSC as my daily Windows driver for several yrs now.
KMS is in the black. I have a legal key for Windows 11. I have nothing black on my computer and phone.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Can u make a video pls, I don't rly understand..
    Can you be more specific please, I can't help you if you don't say what you're trying to do.
    1
    Hello guys ... I am trying to flash A34 5G. ANDROID 13 .. BUT I GET ERROR MESSAGE

    Fail request received 0
    FAIL!(Erase)
    Fail receive PIT info


    Then on phone it says

    MDM MODE. CAN'T ERASE USERDATA
    Userdata is probably encrypted. Have you provided PIT? Try booting to stock recovery, and doing Factory Reset/Wipe. Format Data as well.

    Then try again. Make sure that you do provide vbmeta image as well to the Odin, or package it to existing tarball and flash along. Basically it tells you that you're not authorized to overwrite data image/part of the phone.
    1
    Very good stuff, just a remark from France, I've just refund my Samsung M20 (turk version) with android 10 with your soft : quiet good! before, i've made a mistake with a release of his old Android 9 with e/OS (to ungoogle it) wich is make for android 10 ... all broken... But, odin4 is strong, odin4 is full, you know, with odin4, this is freedom for release ;-)))))) If you want some screenshots of my upgrade , I could send them. thank you. Sylvain. (Linux Devuan4)
    Usually when you're not certain in which state the phone is, make sure to download latest genuine FW for given phone model, and either flash with Odin3 (Windows), or odin4 (Linux) with re-partition ticket/defined. You'll need PIT file as well (it is available in the firmware tarball, just extract it).

    That would wipe the phone, and reset it to factory settings, overwriting all content. Then follow the procedure to get it rooted and TWRP flashed, before moving forward with any firmware reflash.
    1
    Can you be more specific please, I can't help you if you don't say what you're trying to do.
    I don't understand nothing, I'm new l8nex user I know nothing about commands and boot and things like that. I just want to install a custom rom to my samsung a21s.
    1
    What custom ROM in particular? (link please).
    I wanted to Flash twrp so I can install lineage os https://lineageos.org/
  • 23

    Try out my new Linux flash tool called Thor - https://forum.xda-developers.com/t/dev-thor-flash-utility-the-new-samsung-flash-tool.4597355, which has all the features of this tool + extras, like the usual Windows Odin ones which are missing in this leaked tool: F. Reset Time, NAND Erase All (aka just erase userdata), EFS Clear and bootloader update.​


    Samsung's Odin on Linux is no longer a dream! This is an official version leaked from Samsung.

    WARNING! Don't DM me stupid questions, I'm not tech support and I'm not going to teach you linux.


    Here's the output you get from
    Code:
    odin -h
    Code:
    Usage : odin4 [args...]
    Odin4 downloader. odin4 version 1.2.1-dc05e3ea
     -v        SHOW VERSION
     -w        Show License
     -b        Add Bootloader file
     -a        Add AP image file
     -c        Add CP image file
     -s        Add CSC file
     -u        Add UMS file
     -e        Set Nand erase option
     -V        Home binary validation check with pit file
     --reboot  Reboot into normal mode
     --redownload   Reboot into download mode if it possible (not working in normal case)
     -d        Set a device path (detect automatically without this option)
     -l        Show downloadable devices path
    
    IMPORTANT : You must set up your system to detect your device on LINUX host.
     create this file: /etc/udev/rules.d/51-android.rules
     to add a line to the file:
     SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="plugdev"
       (http://developer.android.com/tools/device.html)
     And you maybe need to unload a module cdc_acm before downloading. (This is only needed for older kernels.)
       $sudo rmmod cdc_acm
     OR
       echo "blacklist cdc_acm" > /etc/modprobe.d/cdc_acm-blacklist.conf
    
    Example :
    $odin4 -b BL_XXXX.tar.md5 -a AP_XXXX.tar.md5 -c CP_XXXX.tar.md5 -s CSC_XXXX.tar.md5
    Example (Select One Device):
    $odin4 -l
    PATH_OF_DEVICE_A
    PATH_OF_DEVICE_B
    $odin4 -b BL_XXXX.tar.md5 -a AP_XXXX.tar.md5 -c CP_XXXX.tar.md5 -s CSC_XXXX.tar.md5 -d PATH_OF_DEVICE_A
    
    Odin Community : http://mobilerndhub.sec.samsung.net/hub/site/odin/

    You can even verify that's the real one by comparing it's code with the Windows Odin.
    For some reason some method names were left unmodified.
    Have a nice day!
    10
    It is in the archive attached. XDA doesn't allow for no-extension files to be uploaded.
    2
    OMFG! You are a godsend!!! I was skeptical at first when I saw this post, wondering how I never saw this before today... However, I just tried it out and it worked 100% and quickly!

    I have tried every other linux solution and every last one came up bust until now. Thanks again!
    Screenshot_2022-10-26_04-59-27.png
    2
    I successfully flashed lineage os recovery on Samsung a52q using that tool. I want to emphasize that rmmod cdc_acm was a mandatory step for me. Without it I got
    ioctl bulk read Fail : Connection timed out 110 error. That's quite strange, given the fact that module count usage was zero and /dev/ttyACM device was not created. But still the module interfered with the flashing process somehow.

    Also I decided not to mess with udev rules and just issued chown my_user /dev/bus/usb/xxx/yyy.
    Whats was enough.
    2
    Thanks a lot @TheAirBlow !

    I just tested, I was able to downgrade/update official firmware and flash my bootloader without problems. Really great, it was really annoying to have to use a VM for that.

    🙏