OFFICIAL Samsung Odin v4 1.2.1-dc05e3ea - For Linux

Search This thread

ZmisiS

Senior Member
Dec 23, 2011
3,447
810
60
Livno
VirtualBox adds additional layer to virtualization KVM doesn't have. It has significant detrimental impact on VM performance.
I am new to linux. Installing KVM is not a problem. The problem is to configure the same. I went through dozens of pages to use that app and after all I ran out of ethernet and some other stuff so I had to reinstall Linuxes. if only I had step-by-step instructions for configuration. How to exchange files, how to use USB, etc. As it is, this is an adventure for me. I don't want to reinstall Linux again.

KVM work onWindows 10, but not work on Windows 11 for me.
 

Virnik0

Senior Member
Sep 14, 2010
1,984
446
Prague
blog.nutcracker.cz
I am new to linux. Installing KVM is not a problem. The problem is to configure the same. I went through dozens of pages to use that app and after all I ran out of ethernet and some other stuff so I had to reinstall Linuxes. if only I had step-by-step instructions for configuration. How to exchange files, how to use USB, etc. As it is, this is an adventure for me. I don't want to reinstall Linux again.

KVM work onWindows 10, but not work on Windows 11 for me.
KVM doesn't care what OS it runs. Set the profile to Windows10, but manual install. Then, configure virtual CD to mount Win11 image. Configure memory, disk, etc...

Save the VM, and boot it. Should auto-boot from CD/ISO. Install Windows.

Or where exactly you see a problem? What is it that prevents you to continue? If it is templated installation wizzard, manual install would solve it. Or, it could be Windows11 notorious TPM requirement. This could be solved by using ISO with this feature patched. Any generic ISO on torrent would do (if you do have your own license key, then do not use pre-activated build), and it would install normally.
 

ZmisiS

Senior Member
Dec 23, 2011
3,447
810
60
Livno
KVM doesn't care what OS it runs. Set the profile to Windows10, but manual install. Then, configure virtual CD to mount Win11 image. Configure memory, disk, etc...

Save the VM, and boot it. Should auto-boot from CD/ISO. Install Windows.

Or where exactly you see a problem? What is it that prevents you to continue? If it is templated installation wizzard, manual install would solve it. Or, it could be Windows11 notorious TPM requirement. This could be solved by using ISO with this feature patched. Any generic ISO on torrent would do (if you do have your own license key, then do not use pre-activated build), and it would install normally.
I tried to install Windows 11 yesterday and I got a message that I can't install it. I installed Windows 10 without any problems.

The problem is that I cannot exchange files between KVM and Linux. The problem is that I can't use USB.
 

ZmisiS

Senior Member
Dec 23, 2011
3,447
810
60
Livno
KVM doesn't care what OS it runs. Set the profile to Windows10, but manual install. Then, configure virtual CD to mount Win11 image. Configure memory, disk, etc...

Save the VM, and boot it. Should auto-boot from CD/ISO. Install Windows.

Or where exactly you see a problem? What is it that prevents you to continue? If it is templated installation wizzard, manual install would solve it. Or, it could be Windows11 notorious TPM requirement. This could be solved by using ISO with this feature patched. Any generic ISO on torrent would do (if you do have your own license key, then do not use pre-activated build), and it would install normally.
I tried Windows 11 on KVM and I get this notification:
 

Attachments

  • Screenshot from 2023-06-06 20-19-06.png
    Screenshot from 2023-06-06 20-19-06.png
    36 KB · Views: 10

ZmisiS

Senior Member
Dec 23, 2011
3,447
810
60
Livno
KVM doesn't care what OS it runs. Set the profile to Windows10, but manual install. Then, configure virtual CD to mount Win11 image. Configure memory, disk, etc...

Save the VM, and boot it. Should auto-boot from CD/ISO. Install Windows.

Or where exactly you see a problem? What is it that prevents you to continue? If it is templated installation wizzard, manual install would solve it. Or, it could be Windows11 notorious TPM requirement. This could be solved by using ISO with this feature patched. Any generic ISO on torrent would do (if you do have your own license key, then do not use pre-activated build), and it would install normally.
I installed Windows 10 on KVM without problems. Now I need help for share files KVM with PC and PC with KVM.
 

ZmisiS

Senior Member
Dec 23, 2011
3,447
810
60
Livno
I share the files using two means: either you set a directory to be shared with the VM, or setup Samba (windows sharing) on Linux, and then in Windows you'll just open\\IP\ to see shared folders
It doesn't recognize my activation key here, while I don't have that problem on Virtual Box.
 

ZmisiS

Senior Member
Dec 23, 2011
3,447
810
60
Livno
I have installation package for Windows 11 x64 Pro. Can I it use instead of Windows 10?

I installed VM. When I right clicked on the extension and clicked open with, i selected VM and it crashes.
I can't install extensions on VM. I go right click on the extension and choose to open with VM and when I click to continue the VM opens and there is nothing from the extension. Is this the cause of why I can't use USB on the VM?
 

AnonVendetta

Senior Member
Apr 29, 2016
1,644
599
@Virnik0: It seems you were right about virt manager being better. Even without a tutorial, I have already managed to install Manjaro in it. But only in legacy boot mode. I cant seem to get Manjaro installed in UEFI mode, it just gets stuck on the bootloader when starting, and drops into a UEFI shell. Either way, it is definitely running smoother than both VirtualBox and VMware, the performance difference is noticeable.

When running this OS within VirtualBox, the VM sometimes locks up completely if I try to play HD+ videos on YouTube. Other stuff runs a bit sluggish too. virt manager is still not as fast a real, native install though.
 

Virnik0

Senior Member
Sep 14, 2010
1,984
446
Prague
blog.nutcracker.cz
@Virnik0: It seems you were right about virt manager being better. Even without a tutorial, I have already managed to install Manjaro in it. But only in legacy boot mode. I cant seem to get Manjaro installed in UEFI mode, it just gets stuck on the bootloader when starting, and drops into a UEFI shell. Either way, it is definitely running smoother than both VirtualBox and VMware, the performance difference is noticeable.

When running this OS within VirtualBox, the VM sometimes locks up completely if I try to play HD+ videos on YouTube. Other stuff runs a bit sluggish too. virt manager is still not as fast a real, native install though.
Depends on hw and screen protocol. Use Spice insted of vnc. aa for MBR/EFI (true. patches adding EFI support are not yet in mainline tree).
 

ZmisiS

Senior Member
Dec 23, 2011
3,447
810
60
Livno
@Virnik0: It seems you were right about virt manager being better. Even without a tutorial, I have already managed to install Manjaro in it. But only in legacy boot mode. I cant seem to get Manjaro installed in UEFI mode, it just gets stuck on the bootloader when starting, and drops into a UEFI shell. Either way, it is definitely running smoother than both VirtualBox and VMware, the performance difference is noticeable.

When running this OS within VirtualBox, the VM sometimes locks up completely if I try to play HD+ videos on YouTube. Other stuff runs a bit sluggish too. virt manager is still not as fast a real, native install though.
It is for those who know. For me who is new to Linux, this is higher math.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 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/
    1
    Alright, what unofficial build though? Your device isn't officially supported.
    Oh... I didn't know that..
  • 24

    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!
    11
    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.

    🙏