Installing e/OS on a Samsung J6+

Heimdall is also a dead end…
Tried a few commands on a tuto…
Nothing there…

Seems to be even more elusive than flatpak…

heimdall still works, especialy for old devices like the j6primelte, when it is simple to just flash recovery.img, it is simply complicated to use to install full Samsung firmware (you have to be precise and exhaustive)

https://forum.xda-developers.com/t/guide-flashing-with-heimdall.878686/

[HOWTO] (Needs expert review) Flash Galaxy s9+ to Stock Android 10 using heimdall-gui

cate@cate-1011PX:~/Downloads/Samsung/galaxy-flasher-v0.6.0alpha-linux/source/data$ ./build-flatpak.sh
You need to install glib-compile-resources to use this script.
cate@cate-1011PX:~/Downloads/Samsung/galaxy-flasher-v0.6.0alpha-linux/source/data$

looks like l need a glib compile resources somewhere…

Meanwhile l am trying to install this Heimdal and l get this…

Where can l get the command line package it says lm gonna need ?

1 Like

now l have tried this way and it seems to be succesful …
but l see no Heimdall program opening…

Wonderful it seems l can install plenty of programs but run none…

.DMG is for macOS

https://bitbucket.org/benjamin_dobell/heimdall/downloads/debian7-heimdall_1.4.0-0_amd64.deb
.
https://bitbucket.org/benjamin_dobell/heimdall/downloads/debian7-heimdall-frontend_1.4.0-0_amd64.deb
.
1.4.0-0 is outdated but should work for your old device

why not Odin4linux that will be easier to use ?..

1 Like

Yes go Odin4linux then

Anyhing that works

Ican throw that dmg in the bin then… one less

I find an Odin2cis but not the 4 linux do you have a good link ?

again the link is in the unified guide project :

Yeah right…

Back to the same tutorial that will lead me nowhere when l do command after command after command…

But its ok
Let me wait for another person with the patience to guide me…

https://drive.google.com/uc?export=download&id=1M46Vu1Wx1zcQoO4UIrm-5KqVDVPoZ1cw

.

Set Permissions and Check Usage

  • Open a terminal.
  • Navigate to the Odin extract folder using the command:
cd path/to/odin
  • Set executable permissions for Odin:
chmod +x odin4
  • Check Odin’s usage guide:
./odin4 -h

.

Flash Samsung Firmware Using Odin on Linux

Ensure you have the necessary firmware files (BL, AP, CP, and CSC) downloaded and ready.

Flash Samsung Firmware Using Odin on Linux

  • Open a terminal and navigate to the Odin folder:
cd path/to/odin
  • Verify Connected device in download mode:
./odin4 -l
  • Flash the firmware:
./odin4 -b BL_XXXX.tar.md5 -a AP_XXXX.tar.md5 -c CP_XXXX.tar.md5 -s CSC_XXXX.tar.md5
  • After flashing, reboot the device into normal mode:
./odin4 --reboot
  • Alternatively, reboot the device into download mode:
./odin4 --redownload

Follow these steps carefully to use Odin on Linux, flash TWRP on Samsung devices, and flash Samsung firmware efficiently.

.

Odin Command Reference

Here are some useful Odin commands for reference:

  • odin4 -v : Show the Odin version.
  • odin4 -w : Show license.
  • odin4 -b : Add the BL file (BL_XXXX.tar.md5)
  • odin4 -a : Add AP image file (AP_XXXX.tar.md5)
  • odin4 -c : Add CP image file (CCP_XXXX.tar.md5
  • odin4 -s : Add CSC or Home CSC file (CSC_XXXX.tar.md5)
  • odin4 -u : Add UMS file.
  • odin4 -e : Enable the Nand erase option in Odin.
  • odin4 -v : Home binary validation check with pit file.
  • odin4 -d : Set a device path.
  • odin4 -l : Show the downloadable device’s path.
  • odin4 --reboot : Reboot the device into normal mode.
  • odin4 --redownload : Reboot the device into download mode.

.

Flash TWRP on Samsung Using Odin on Linux

  • Download the vbmeta image file.
  • Convert the .img file to .tar using the following command:
tar -cvf vbmeta.tar vbmeta.img
  • Run Odin:
./odin4
  • Verify Connected device in download mode:
./odin4 -l
  • Flash TWRP and vbmeta files:
./odin4 -a twrp.tar -c vbmeta.tar

Hello

back trying again…

cate@cate-1011PX:~/Downloads/Samsung$ ./odin4 -b BL_XXXX.tar.md5 -a AP_XXXX.tar.md5 -c CP_XXXX.tar.md5 -s CSC_XXXX.tar.md5
Check file : BL_XXXX.tar.md5
md5 fail : d41d8cd98f00b204e9800998ecf8427e

Fail parse BL_XXXX.tar.md5
cate@cate-1011PX:~/Downloads/Samsung$

do l have to change the XXX to something else ?

of course, to the filename…

Is my phone on the right set ?

no, you need to be booted in download mode

you need to unzipp the downloaded (SAMFW.COM_J610FN_XEF_J610FNXXS8CVI3_fac.zip) Samsung firmware,
and put a copy of the odin4 file into the “SAMFW.COM_J610FN_XEF_J610FNXXS8CVI3_fac” new folder…

i have prepared your command :

./odin4 -b BL_J610FNXXS8CVI3_CL19470558_QB56169573_REV00_user_low_ship_MULTI_CERT.tar.md5 -a AP_J610FNXXS8CVI3_CL19470558_QB56169573_REV00_user_low_ship_MULTI_CERT_meta_OS10.tar.md5 -c CP_J610FNXXS8CVI1_REV00_CL1921728__QB_22877707.tar.md5 -s CSC_OMC_OXM_J610FNOXM8CVI1_CL19470558_QB56297300_REV00_user_low_ship_MULTI_CERT.tar.md5
1 Like

Ok Here l am…
I think l have domloaded and extracted this file… is it the right one ?

And now l have my phone in this dowload mode…

I tried few combinations of buttons and for my phone that does not have a bixby l had do press button up, down and power altogether to get the warning blue window, the up to get the download arrow

1 Like

although l see the vbmeta file in the folder l cannot do the command
Bad cable then ?

cate@cate-1011PX:~/Downloads/Samsung$ ./odin4 -a twrp.tar -c vbmeta.tar
Check file : twrp.tar
Check file : vbmeta.tar
cannot find device

  • i don’t think you need vbmeta.img for this old device
  • it is not the moment for flashing TWRP, you need a working Samsung system first.

also, you need to reboot to download mode between each flash attempt…

Now l have that

cate@cate-1011PX:~/Downloads/Samsung$ ./odin4 -b BL_J610FNXXS8CVI3_CL19470558_QB56169573_REV00_user_low_ship_MULTI_CERT.tar.md5 -a AP_J610FNXXS8CVI3_CL19470558_QB56169573_REV00_user_low_ship_MULTI_CERT_meta_OS10.tar.md5 -c CP_J610FNXXS8CVI1_REV00_CL1921728__QB_22877707.tar.md5 -s CSC_OMC_OXM_J610FNOXM8CVI1_CL19470558_QB56297300_REV00_user_low_ship_MULTI_CERT.tar.md5
Check file : BL_J610FNXXS8CVI3_CL19470558_QB56169573_REV00_user_low_ship_MULTI_CERT.tar.md5
md5 fail : d41d8cd98f00b204e9800998ecf8427e

Fail parse BL_J610FNXXS8CVI3_CL19470558_QB56169573_REV00_user_low_ship_MULTI_CERT.tar.md5
cate@cate-1011PX:~/Downloads/Samsung$

I am rebooting phone

you must open the terminal from the /SAMFW.COM_J610FN_XEF_J610FNXXS8CVI3_fac folder to run the command…

Allright
I go in there and l start the commands again…
Flashing…

./odin4 -b BL_J610FNXXS8CVI3_CL19470558_QB56169573_REV00_user_low_ship_MULTI_CERT.tar.md5 -a AP_J610FNXXS8CVI3_CL19470558_QB56169573_REV00_user_low_ship_MULTI_CERT_meta_OS10.tar.md5 -c CP_J610FNXXS8CVI1_REV00_CL1921728__QB_22877707.tar.md5 -s CSC_OMC_OXM_J610FNOXM8CVI1_CL19470558_QB56297300_REV00_user_low_ship_MULTI_CERT.tar.md5
Check file : BL_J610FNXXS8CVI3_CL19470558_QB56169573_REV00_user_low_ship_MULTI_CERT.tar.md5
Check file : AP_J610FNXXS8CVI3_CL19470558_QB56169573_REV00_user_low_ship_MULTI_CERT_meta_OS10.tar.md5
Check file : CP_J610FNXXS8CVI1_REV00_CL1921728__QB_22877707.tar.md5
Check file : CSC_OMC_OXM_J610FNOXM8CVI1_CL19470558_QB56297300_REV00_user_low_ship_MULTI_CERT.tar.md5
/dev/bus/usb/001/032
/dev/bus/usb/001/032
Can not use device : No such file or directory
USB Open Fail
usb device Fail
cate@cate-1011PX:~/Downloads/Samsung/SAMFW.COM_SM-J610FN_XEF_J610FNXXS8CVI3_fac$

trying again
cate@cate-1011PX:~/Downloads/Samsung/SAMFW.COM_SM-J610FN_XEF_J610FNXXS8CVI3_fac$ ./odin4 -b BL_J610FNXXS8CVI3_CL19470558_QB56169573_REV00_user_low_ship_MULTI_CERT.tar.md5 -a AP_J610FNXXS8CVI3_CL19470558_QB56169573_REV00_user_low_ship_MULTI_CERT_meta_OS10.tar.md5 -c CP_J610FNXXS8CVI1_REV00_CL1921728__QB_22877707.tar.md5 -s CSC_OMC_OXM_J610FNOXM8CVI1_CL19470558_QB56297300_REV00_user_low_ship_MULTI_CERT.tar.md5
Check file : BL_J610FNXXS8CVI3_CL19470558_QB56169573_REV00_user_low_ship_MULTI_CERT.tar.md5
Check file : AP_J610FNXXS8CVI3_CL19470558_QB56169573_REV00_user_low_ship_MULTI_CERT_meta_OS10.tar.md5
Check file : CP_J610FNXXS8CVI1_REV00_CL1921728__QB_22877707.tar.md5
Check file : CSC_OMC_OXM_J610FNOXM8CVI1_CL19470558_QB56297300_REV00_user_low_ship_MULTI_CERT.tar.md5
cannot find device

Do I have a USB cable problem ?

1 Like