odin on linux - Sprint Samsung Galaxy S8+ Questions & Answers

Is there a way to use odin on linux mint 18?

Heimdall
raivyn said:
Is there a way to use odin on linux mint 18?
Click to expand...
Click to collapse
But still i perffer VM to use odin

Related

Can you flash a kernel without fastboot?

I can't cange my Xperia U kernel from Windows 8.1 via fastboot.
Is there a way to do that without fastboot? If so, how?
2Radon said:
I can't cange my Xperia U kernel from Windows 8.1 via fastboot.
Is there a way to do that without fastboot? If so, how?
Click to expand...
Click to collapse
If you ave adb access you can root and install CWM and flash with it.
I have currently CWM on my phone as the recovery. What should I do?
Copy the boot.img to SD card, go CWM Advanced -> Img tools and use it?
Oh and if I flash kernel from CWM, will my CWM disappear or get changed? Or can I recover through it any time?
Those functions are not implemented in my CWM yet... So how?
If I just flash CM10 ROM over some sort of Sony kernel will it brick?
2Radon said:
I have currently CWM on my phone as the recovery. What should I do?
Copy the boot.img to SD card, go CWM Advanced -> Img tools and use it?
Click to expand...
Click to collapse
You need to have a flashable zip file, or get one from another kernel and replace the .img file.
2Radon said:
Oh and if I flash kernel from CWM, will my CWM disappear or get changed? Or can I recover through it any time?
Click to expand...
Click to collapse
If the CWM was with the kernel you lose it, it you installed CWM for locked bootloader than not.
2Radon said:
Those functions are not implemented in my CWM yet... So how?
If I just flash CM10 ROM over some sort of Sony kernel will it brick?
Click to expand...
Click to collapse
Do you have locked or unlocked bootloader?
Read the instruction for rom installation or you will likely be back for help to unbrick your phone.
I think I have unlocked bootloader, unless that changed when I reset the phone and re-rooted it from CM to some Sony kernel... (But if I have it rooted then I must have unlocked?) How do I check that?
And how do I check if my CWM came with the kernel? I don't clearly remember whether I specifically installed CWM myself or it was with the kernel/ROM.
Flashable zip? You mean the CM10 ROM zip? It's on SD card at the moment, along with Gapps and boot.img out of CM10 zip.
2Radon said:
I think I have unlocked bootloader, unless that changed when I reset the phone and re-rooted it from CM to some Sony kernel... (But if I have it rooted then I must have unlocked?) How do I check that?
And how do I check if my CWM came with the kernel? I don't clearly remember whether I specifically installed CWM myself or it was with the kernel/ROM.
Flashable zip? You mean the CM10 ROM zip? It's on SD card at the moment, along with Gapps and boot.img out of CM10 zip.
Click to expand...
Click to collapse
If you have unlocked BL it remains unlocked unless you relock it, flashing kernels or roms does not relock it.
It's hard to tell where you're CM comes from, if you on CM rom it probably is in the kernel, most if not all custom kernels come with CWM.
Which kernel exactly do you want to flash (link to thread). Many custom kernel have a flashable zip, you just need to replace the kernel file (and possibly rename it).
ChikeD said:
If you have unlocked BL it remains unlocked unless you relock it, flashing kernels or roms does not relock it.
It's hard to tell where you're CM comes from, if you on CM rom it probably is in the kernel, most if not all custom kernels come with CWM.
Which kernel exactly do you want to flash (link to thread). Many custom kernel have a flashable zip, you just need to replace the kernel file (and possibly rename it).
Click to expand...
Click to collapse
I use this ROM at the moment: http://forum.xda-developers.com/showthread.php?t=2289674
I had to flash a kernel for it, I came from CM when I did that. Now I want to go back to CM.
I want to flash Cyanogen Mod 10 or 9: http://freexperiaproject.com/
Can't fastboot as Windows 8.1 will at this point never recognize it, and I couldn't connect my phone using Oracle VM with virtual Windows 7. Last resort is the phone itself, which I came to me last.
2Radon said:
I use this ROM at the moment: http://forum.xda-developers.com/showthread.php?t=2289674
I had to flash a kernel for it, I came from CM when I did that. Now I want to go back to CM.
I want to flash Cyanogen Mod 10 or 9: http://freexperiaproject.com/
Can't fastboot as Windows 8.1 will at this point never recognize it, and I couldn't connect my phone using Oracle VM with virtual Windows 7. Last resort is the phone itself, which I came to me last.
Click to expand...
Click to collapse
My advise to you is, if you can't flash with flash mode or fastboot don't flash anything because you won't be able to recover in case of need which is most likely to happen.
2Radon said:
Can't fastboot as Windows 8.1 will at this point never recognize it, and I couldn't connect my phone using Oracle VM with virtual Windows 7. Last resort is the phone itself, which I came to me last.
Click to expand...
Click to collapse
Windows 8.1, huh?
Two simple solutions...
Try to install drivers and flash from flashtool or try to flash the kernel with adb, there are two different ways that I know.
By the way, did you tried to flash from a Linux based OS like Ubuntu? It may work on that.
manudo said:
Windows 8.1, huh?
Two simple solutions...
Try to install drivers and flash from flashtool or try to flash the kernel with adb, there are two different ways that I know.
By the way, did you tried to flash from a Linux based OS like Ubuntu? It may work on that.
Click to expand...
Click to collapse
I haven't tried doing it with Ubuntu, but can I connect my device to an Oracle VM virtual Ubuntu? I couldn't to a Windows 7, but I'm not sure it's the virtual OS's fault.
2Radon said:
I haven't tried doing it with Ubuntu, but can I connect my device to an Oracle VM virtual Ubuntu? I couldn't to a Windows 7, but I'm not sure it's the virtual OS's fault.
Click to expand...
Click to collapse
If Ubuntu can recognize it then good, try to flash from Ubuntu's terminal, I didn't tried in a guest virtual OS but if any problem happen post here.

How do i root 5.1.1 on a mac?

The title says it all, how do i do it?
Connor1744 said:
The title says it all, how do i do it?
Click to expand...
Click to collapse
Anyone with any help at all on this!
Connor1744 said:
Anyone with any help at all on this!
Click to expand...
Click to collapse
Get a PC. Hate to be unhelpful but I dont think you can. I'm in the same boat. You can use Parallels or VM to run windows
ImClutch said:
Get a PC. Hate to be unhelpful but I dont think you can. I'm in the same boat. You can use Parallels or VM to run windows
Click to expand...
Click to collapse
I tried that but the vm doesn't recognise the phone because you need to set up something extra for that to work which I can't find...
Heimdall works on Mac. Let us know if that works for the S6.
Connor1744 said:
I tried that but the vm doesn't recognise the phone because you need to set up something extra for that to work which I can't find...
Click to expand...
Click to collapse
How about bootcamp. The problem with a virtual machine is going to be drivers because everything running on the Windows virtual machine ultimately has to pass through OS X. With bootcamp you bypass the OS X operating system altogether. Let me know if it works.
Use heimdall, just flashed TWRP from Linux.
Quick mini-"tutorial":
--Please use your terminal. It's much easier to use and explain.--
Download a custom kernel. Required because the stock kernel will end up in a boot loop after you install TWRP. I recommend unikernel, but you can use any kernel that can be installed with TWRP.
Upload the .zip to some directory on your phone. If you don't, you won't be able to boot normally anymore. You CAN push a zip using adb later if you mess up, but this is easier.
Boot your phone into download mode (home+vol down+power).
Install heimdall. There should be a tutorial for mac somewhere.
Download TWRP.
Extract the recovery.img from the TWRP tar.
Plug in your phone with the Samsung USB and run
Code:
heimdall detect
to make sure it's there.
Run
Code:
heimdall flash --RECOVERY recovery.img
and once it's done uploading and reboots IMMEDIATELY press the recovery combination (home+vol up+power). If you don't, the stock ROM will overwrite your recovery and you'll need to flash it again.
Install the kernel you uploaded earlier using TWRP.
If you used unikernel your phone should be rooted now. I believe some kernels don't root, for those you might need additional steps.
tlater said:
Use heimdall, just flashed TWRP from Linux.
Quick mini-"tutorial":
--snip--
Click to expand...
Click to collapse
Thanks bro, that saved me from hunting down a copy of Windows!
tlater said:
Use heimdall, just flashed TWRP from Linux.
Quick mini-"tutorial":
--Please use your terminal. It's much easier to use and explain.--
Download a custom kernel. Required because the stock kernel will end up in a boot loop after you install TWRP. I recommend unikernel, but you can use any kernel that can be installed with TWRP.
Upload the .zip to some directory on your phone. If you don't, you won't be able to boot normally anymore. You CAN push a zip using adb later if you mess up, but this is easier.
Boot your phone into download mode (home+vol down+power).
Install heimdall. There should be a tutorial for mac somewhere.
Download TWRP.
Extract the recovery.img from the TWRP tar.
Plug in your phone with the Samsung USB and run
Code:
heimdall detect
to make sure it's there.
Run
Code:
heimdall flash --RECOVERY recovery.img
and once it's done uploading and reboots IMMEDIATELY press the recovery combination (home+vol up+power). If you don't, the stock ROM will overwrite your recovery and you'll need to flash it again.
Install the kernel you uploaded earlier using TWRP.
If you used unikernel your phone should be rooted now. I believe some kernels don't root, for those you might need additional steps.
Click to expand...
Click to collapse
Where do you put the recovery.img for heimdall to be able to find it
Connor1744 said:
Where do you put the recovery.img for heimdall to be able to find it
Click to expand...
Click to collapse
In your working directory, you can also just specify the full path (e.g. /home/username/Downloads/recovery.img).
If you don't know what those are, look up a terminal usage tutorial online. A Linux one will do, it's basically equivalent.
Great tutorial! Does it work on edge plus?
Sent from my SM-G928F using Tapatalk
kanlailey said:
Great tutorial! Does it work on edge plus?
Click to expand...
Click to collapse
I can't see why it wouldn't, but I can't test it.
If you want to try, just check the pit file ('heimdall help' will give you all commands you need for that), as long as there's a partition called "RECOVERY" and you use the right kernel/TWRP there should be no differences.
tlater said:
I can't see why it wouldn't, but I can't test it.
If you want to try, just check the pit file ('heimdall help' will give you all commands you need for that), as long as there's a partition called "RECOVERY" and you use the right kernel/TWRP there should be no differences.
Click to expand...
Click to collapse
Okay thanks, when i'm feeling brave I'll give it a try.. Need to do a bit more reading .
Sent from my SM-G928F using Tapatalk

Heimdall on OSX problem

I'm using the latest version of OSX, and heimdall 1.4.1 or even tried 1.4.0. After having successfully installing it I cannot find a Heimdall Frontend application to open it? What am I doing wrong here?

TWRP deletes recovery

So I flashed the recovery with the app but now it won't boot into recovery at all. (btw I'm new to all of this)
jogeiscool said:
So I flashed the recovery with the app but now it won't boot into recovery at all. (btw I'm new to all of this)
Click to expand...
Click to collapse
What device, model number....
Sent from my Moto E (4) using Tapatalk
Because you can't boot device neither into TWRP nor into Stock Recovery simply re-flash device's Stock ROM to bring back the device to its initial state.
sorry, this is late... S-G530P or gprimeltespr
jogeiscool said:
sorry, this is late... S-G530P or gprimeltespr
Click to expand...
Click to collapse
Use Odin what is the official Samsung firmware flash software for Windows PC.
As of now, the latest Samsung Odin version is Odin3 v3.14.1.
If you are a Mac or Linux user, you use Heimdall instead.

Question GSI without TWRP

is it possible to install a GSI rom without TWRP?
It is possible but involves a heck ton of work you basically need to extract an entire GSI and compress each file using lz4 then repack them the way Samsung does and flash using Odin
The work involved in repacking the GSI in Samsung's format when there is no guarantee what issues the GSi will coz with the device makes it not a very suitable option
But yeah you can try for the heck of it, here's a thread that might help you
[GUIDE] [CUSTOM] How to Install Custom ROM using ODIN without TWRP [PHH] [LineageOS]
Hello, This would be a short & sweet guide on how to install a custom ROM on your Samsung using ODIN. I'm going to tailored this guide for the S10e G9700 HK version (is the phone I own) I'm a linux user but Odin only runs on Windows so this...
forum.xda-developers.com
Insomniac05 said:
It is possible but involves a heck ton of work you basically need to extract an entire GSI and compress each file using lz4 then repack them the way Samsung does and flash using Odin
The work involved in repacking the GSI in Samsung's format when there is no guarantee what issues the GSi will coz with the device makes it not a very suitable option
But yeah you can try for the heck of it, here's a thread that might help you
[GUIDE] [CUSTOM] How to Install Custom ROM using ODIN without TWRP [PHH] [LineageOS]
Hello, This would be a short & sweet guide on how to install a custom ROM on your Samsung using ODIN. I'm going to tailored this guide for the S10e G9700 HK version (is the phone I own) I'm a linux user but Odin only runs on Windows so this...
forum.xda-developers.com
Click to expand...
Click to collapse
ok i'll try it thank you!
Insomniac05 said:
It is possible but involves a heck ton of work you basically need to extract an entire GSI and compress each file using lz4 then repack them the way Samsung does and flash using Odin
The work involved in repacking the GSI in Samsung's format when there is no guarantee what issues the GSi will coz with the device makes it not a very suitable option
But yeah you can try for the heck of it, here's a thread that might help you
[GUIDE] [CUSTOM] How to Install Custom ROM using ODIN without TWRP [PHH] [LineageOS]
Hello, This would be a short & sweet guide on how to install a custom ROM on your Samsung using ODIN. I'm going to tailored this guide for the S10e G9700 HK version (is the phone I own) I'm a linux user but Odin only runs on Windows so this...
forum.xda-developers.com
Click to expand...
Click to collapse
I have tried the tutorial but in the tutorial it says I need
boot.img.lz4
dqmdbg.img.ext4.lz4
dtbo.img.lz4
persist.img.ext4.lz4
recovery.img.lz4
system.img.ext4.lz4
userdata.img.ext4.lz4
vbmeta.img.lz4
vendor.img.ext4.lz4
these files but I only have
boot.img.lz4
dtbo.img.lz4
recovery.img.lz4
system.img.ext4.lz4
userdata.img.ext4.lz4
vbmeta.img.lz4
And when I flash it like it says in the tutorial I cannot flash system.img.ext4 and fails
Is there anymore ways to do this? tried it with Lineage OS 19.0
GyuminLeo said:
I have tried the tutorial but in the tutorial it says I need
boot.img.lz4
dqmdbg.img.ext4.lz4
dtbo.img.lz4
persist.img.ext4.lz4
recovery.img.lz4
system.img.ext4.lz4
userdata.img.ext4.lz4
vbmeta.img.lz4
vendor.img.ext4.lz4
these files but I only have
boot.img.lz4
dtbo.img.lz4
recovery.img.lz4
system.img.ext4.lz4
userdata.img.ext4.lz4
vbmeta.img.lz4
And when I flash it like it says in the tutorial I cannot flash system.img.ext4 and fails
Is there anymore ways to do this? tried it with Lineage OS 19.0
Click to expand...
Click to collapse
not really since samsung has no fastboot mode
try renaming system.img.ext4.lz4 as super.img.lz4 as that's the name of the file in stock
Insomniac05 said:
not really since samsung has no fastboot mode
try renaming system.img.ext4.lz4 as super.img.lz4 as that's the name of the file in stock
Click to expand...
Click to collapse
will try it now
Insomniac05 said:
not really since samsung has no fastboot mode
try renaming system.img.ext4.lz4 as super.img.lz4 as that's the name of the file in stock
Click to expand...
Click to collapse
So the flash itself went well without any errors. But the tablet is in a boot loop. When it boots Samsung Galaxy logo appears and reboots. This tablet is running Android 11 so do I need to install Android 11 Lineage OS?
GyuminLeo said:
So the flash itself went well without any errors. But the tablet is in a boot loop. When it boots Samsung Galaxy logo appears and reboots. This tablet is running Android 11 so do I need to install Android 11 Lineage OS?
Click to expand...
Click to collapse
Nope don't think the android version would have anything to do with it is probably the os not working properly
Maybe try some other GSI like pixel experience to see if they work
GyuminLeo said:
So the flash itself went well without any errors. But the tablet is in a boot loop. When it boots Samsung Galaxy logo appears and reboots. This tablet is running Android 11 so do I need to install Android 11 Lineage OS?
Click to expand...
Click to collapse
I think you should try Android 11 Lineage OS
Insomniac05 said:
Nope don't think the android version would have anything to do with it is probably the os not working properly
Maybe try some other GSI like pixel experience to see if they work
Click to expand...
Click to collapse
Same thing happens with AOSP GSI image
thatha said:
I think you should try Android 11 Lineage OS
Click to expand...
Click to collapse
I downloaded the zip file but there is no system.img file. Is there a way to extract the img file?
If I have twrp or any custom recovery can I just install it with the zip file?
GyuminLeo said:
I downloaded the zip file but there is no system.img file. Is there a way to extract the img file?
If I have twrp or any custom recovery can I just install it with the zip file?
Click to expand...
Click to collapse
Yes with a recovery u can straight up flash the zip file
Insomniac05 said:
Yes with a recovery u can straight up flash the zip file
Click to expand...
Click to collapse
But does the A7 Lite have a custom recovery? I have searched alot but no juice
GyuminLeo said:
But does the A7 Lite have a custom recovery? I have searched alot but no juice
Click to expand...
Click to collapse
Nope it does not
Insomniac05 said:
Nope it does not
Click to expand...
Click to collapse
Is there a way to flash this zip file?
GyuminLeo said:
Is there a way to flash this zip file?
Click to expand...
Click to collapse
Well you can extract the contents using something like winrar or 7zip and then try building an Odin flashable md5 like you did for the last one
Insomniac05 said:
Nope it does not
Click to expand...
Click to collapse
Is there a way to port a twrp image for the A7 Lite?
GyuminLeo said:
Is there a way to port a twrp image for the A7 Lite?
Click to expand...
Click to collapse
Samsung's stock recovery is kinda strange so not sure if it could be used with some other device' twrp then mixed and mashed together to port the twrp
Probably needs to be built from the ground up
Insomniac05 said:
Samsung's stock recovery is kinda strange so not sure if it could be used with some other device' twrp then mixed and mashed together to port the twrp
Probably needs to be built from the ground up
Click to expand...
Click to collapse
Oh ok thanks. And I was able to root this device but can I install a custom rom from that state? Tab was rooted with Samsung's default firmware with magisk installed
GyuminLeo said:
Oh ok thanks. And I was able to root this device but can I install a custom rom from that state? Tab was rooted with Samsung's default firmware with magisk installed
Click to expand...
Click to collapse
Nope rooting has no role in flashing custom roms that all is recovery dependent

Categories

Resources