Installing stuff using heimdall on linux - Samsung Galaxy Tab S6 Lite Questions & Answers

As I primarily use linux I tried installing twrp using heimdall instead of odin.
With every try I got an error and googled around a lot.
After a lot of searching I found a mention that you need to re-start download mode on the device after each command.
Maybe some linux folk know what to do better but for just a singe flash this worked well for me.

Related

half way to restore and I'm stuck, and help?

Long story short, I was running Axura2.04, and I discovered I wasn't getting voice mail notification so I went to restore the phone to a backup rom I had made of the stock version using Clockwork Premium, and after it finished installing it got stuck on the Vibrant/Samsung screen.
I was unable to boot to recovery, and I now have the phone connected to my computer via USB and I got it into what appears to be download mode (there's a yellow triangle with a droid shoveling dirt) and I'm stuck.
I am on a mac and do not have access to a PC. Any advice on how to proceed?
(ps i am relatively new to all of this, I've only been at it for a a few weeks)
Thanks
If I'm screwed someone just tell me and I'll make a trip to the t-mobile store and bite the bullet.
Sounds like you need a kernel flash for a 2.1 Rom... try using odin if you can.
dav1dM said:
If I'm screwed someone just tell me and I'll make a trip to the t-mobile store and bite the bullet.
Click to expand...
Click to collapse
You're not screwed, but only providing you can either gain access to Windows somehow (for an Odin3 reflash) or are comfortable with using a command line tool similar to Odin3 that is available for the Mac, Heimdall.. Heimdall has no GUI..
Heimdall is available here..
http://www.glassechidna.com.au/products/heimdall/
The XDA thread on it is available here..
http://forum.xda-developers.com/showthread.php?t=755265
General instructions for flashing firmware via Odin3 can be found in various links that link from the Vibrant Bible thread at the top of the dev section.
Best of luck
Isn't there a PC emulater that you can get on your Mac? If you can get that then get Odin and the right files and flash back to stock. Do a search around here for Odin.
Sent from my SGH-T959 using XDA App
Thanks for help guys, I'm meeting up with a friend tonight who has the software for a PC emulator so I'm going to try running Odin from there
I'll keep you posted
Get heimdall, it works on mac
Sent from my SGH-T959 using XDA App
I worked with Thegreat520 and we got the phone up and running again using the methods outlined in the stickie above. I tried using Heimdall, but that's too far beyond me, I can't code to save my life, took college courses for it and even that couldn't save me.
That said we did find out that using a virtual machine on a mac doesn't work, it has something to do with how the computer recognizes the device, and there is another thread here somewhere in which someone else ran into the same problem.
Thanks for not flaming me guys, the ultimate mistake happened because I was restoring a backup of a ROM and didn't clear the cache or the user data before hand. Lesson learned the hardway.

[Q] Install DJ05 via LINUX terminal (w/o Odin)

How might one apply the DJ05 update without using Odin v3?
Clearly the ROM and Kernel can be updated through CWM, but all searchable info seems to indicate that the modem file can only be altered via Odin on M$ Windoze. What is the methodology behind applying this kind of change using only tools available on a Linux platform?
Can I just overwrite a file on the Fascinate via adb?
cheers
I have only ever heard of modem.bin being flashed via Odin. I could be wrong, but I think it occupies its own partition, hence the need to actually flash rather than copy an individual file.
You can use redbend_ua to flash without Odin, but I recall (perhaps incorrectly) reading in IRC that redbend doesn't work for modem flashes in practice, at least not yet.
Hopefully someone can give more authoritative info, but I think you are stuck with Odin for good reasons. Just be nice to one of your friends with a PC. Don't have any? Shame! Windows users need love too ya know.
Swyped w/ XDA App. When in doubt, mumble.
Google search keyword: heimdall
Sent from my SCH-I500 using XDA App
Heimdall:
http://forum.xda-developers.com/showthread.php?t=755265
Awesome. That's a good question, why don't we just speak in terms of Heimdall in general... and use that instead? Strangely more soothing to say anyway, like "goos fraba"
You might find post 3 here useful as well.
That thread Soba49 posted is about 60 pages now, but reading through it all will give you a lot of good info on how it works. About page 56 or 57, you will see some specific questions I posed regarding flashing DJ05 modem.bin onto the Fascinate. It's almost too simple to use, so best to understand it as this is also the tool that will be saving your arse if you 'almost' brick your phone.
Heimdall actually emulates Odin in some areas & Kies in others and aims to eventually do more than either of those tools, w/o all the buggy Samsung coding. I believe the modem.bin is flashed using Kies methodology, FWIW.
So, I've been searching all over this forum and through the 60 pages of the Heimdall thread, but can't find an answer to this simple question - how do I just flash DJ05 onto my fascinate from OSX 10.6? When I try to connect in download mode and turn on Heimdall frontend, I just get "no compatible device connected" Do I need to flash bootloaders too or some other complicated stuff? Or am I just missing something easy?
SupraLance - What happened when you commanded: "heimdall flash --verbose --modem modem.bin"?
That command flashed the new modem for me. I am running DJ05 now and my phone has never been violated by a Windows device, lol.
I just re-read a bit of that thread regarding OSX, and it seems that Samsung released these phones with a crappy secondary boot loader. It will communicate with Linux and Windows, but not OSX. The only way around this is to flash a fixed boot loader through Linux or Windows, then you can use OSX from there out. Big problem is the only fixed boot loader verified to work with Heimdall & OSX is for the International Galaxy S. You need one specific for the Fascinate.
So this leaves American OSX users hoping that Samsung fixed this in the 2.2 Froyo code they have released. Heimdall & Odin cannot be made to work on OSX without it and boot loaders are not something you want to experiment with. Messing with the boot loader = quickest way to truly brick your phone.
If I was at your computer trying to do this, I would set up a dual-boot on your Mac with Ubuntu (completely free and similar to OSX interface) and do it through Ubuntu.
Heimdall Success!
fragmented post
Code
fragmented post
Notes on Code.
fragmented post
Next step.
fragmented post
fragmented post
Heimdall Success!
Installed Heimdall 1.1.0 for Debian.
http://www.glassechidna.com.au/products/heimdall/
Flashed modem using:
Code:
heimdall flash --verbose --modem modem.bin
Making sure that SF is in DL mode and the current directory contains "modem.bin" file.
Then flash ROM (and Kernel) via CWM.
Additional possibly helpful info here:
http://mobiletech.knguyentu.com/2010/12/fascinate-rom-dj05-and-beyond-all-you.html
Cheers

Heimdall or Odin

I see in the sticky that heimdall is recommend but all everyone talks about is odin does anyone really use heimdall and is there any difference.....noob here on flashing so I'm gathering all the info I can as to avoid bricking.
Sent from my SGH-T959 using XDA App
They both do the same thing, Odin was the first on the market been around and most ppl (like me) started out with Odin. Heimdall also has a Linux and Apple version, so for those people who have problems with Odin or use other platforms, it is a good Alternative. I am the one who posted the Heimdall thread, that said I still use Odin but my friends who are mac junkies needed help, so I started using this to help them. My recommendation is to get familiar with both for this reason
The more systems you work with, it will improve your understanding the tools, both in logic and approach.
Hope that helped...........
Thanks I appreciate it I'm going to go with odin since there are tutorials using it
Sent from my SGH-T959 using XDA App
Heimdall seems to work faster and more accurate for me...using the same computer.
Sent from my SGH-T959 using XDA App
___bump___
Spokenblurb said:
I see in the sticky that heimdall is recommend but all everyone talks about is odin does anyone really use heimdall and is there any difference.....noob here on flashing so I'm gathering all the info I can as to avoid bricking.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
I'm the developer of Heimdall but I'll try give some non-bias pros for both options.
Odin
Uses the official Samsung driver (no need to manually install a driver).
More tutorials.
Firmware tends to be distributed in a format (3 archives) more suited towards Odin.
Better device compatibility due to Samsung's knowledge about the PIT file. This means you can flash all files described in the PIT file.
Note: When I finally get some free time to finish off Heimdall 1.2 it will include substantially improved PIT file awareness and add support for all files/partitions in the PIT file.
Heimdall
Cross-platform (Windows, Linux and OS X)
Flashes substantially faster (no 15ms communication delay like Odin).
More reliable (less failed flashes).
Can easily flash just one or any combination of file.
UI or command line options depending on personal preference.
Command line allows one step scripts to be written more easily.
Open source.
Developer support.
On another note Odin is, as far as we can tell, leaked Samsung software. Samsung haven't (to my knowledge) brought any legal action upon anyone using it, however there is always the issue of copyright infringement.
Heimdall is licensed under the MIT open-source license, which essentially means you're free to use and redistribute the software however you please, as long as you don't attempt to claim that you created it.
Thanks for this thread, I'm also a noob trying to not brik things up.
So, when I read the posts that describe how to do something in Odin, can I use the same files to do the same thing in Heimdall? I use a Mac and I believe I could set up a VM with Windows to run Odin, but I really don't want to. Besides, I don't have Windows.
Thanks.
Odin
Use Thor. Or Odin is fine too.

Restoring S4 on Mac OS?

So let me start by saying I'm not new to this. However I generally stick to nexus devices, so I haven't had to deal with Odin before. I have a Mac, and I have come to realize that Odin is a windows only program. Is there a good alternative to Odin for macs? I've seen heimdall mentioned, but from what I can tell, its buggy, and I haven't been able to find a good tutorial. What I'm looking for is a way to restore the device from a situation like a bootloop (so mobile Odin won't work)
Sent from my Nexus 7 using Tapatalk 4 Beta
Fu5ion said:
So let me start by saying I'm not new to this. However I generally stick to nexus devices, so I haven't had to deal with Odin before. I have a Mac, and I have come to realize that Odin is a windows only program. Is there a good alternative to Odin for macs? I've seen heimdall mentioned, but from what I can tell, its buggy, and I haven't been able to find a good tutorial. What I'm looking for is a way to restore the device from a situation like a bootloop (so mobile Odin won't work)
Sent from my Nexus 7 using Tapatalk 4 Beta
Click to expand...
Click to collapse
you could:
- use bootcamp to install and boot into windows to use ODIN in a windows environment
- run a virtual windows machine in OSX (i've tried this, it was too much trouble to get the usb devices to mount in virtual machine)
- find someone with a windows pc that you can use
- use Heimdall while booting from a live ubuntu cd

[Q] Go Back to Touchwiz

Hey guys,
Right now I'm on a custom GPe rom (i9505G). I need to get back to Touchwiz.
You're probably wondering ... why...? Well, last night I bought a Fitbit Flex, and it's supported by GS4 (wireless syncing), http://www.fitbit.com/devices. Could it be because I'm on a custom rom?
Any feedback is appreciated.
Thanks,
gameriot
Yes, it doesn't work because you're on a custom Rom. Fitbit doesn't support it. You can flash the stock firmware in Odin.
Those fitbit's only work on stock or stock-based roms. There's some good ones in the Android Development section. Cheers
jd1639 said:
Yes, it doesn't work because you're on a custom Rom. Fitbit doesn't support it. You can flash the stock firmware in Odin.
Click to expand...
Click to collapse
I have a Mac, so I can't get Odin.
xBeerdroiDx said:
Those fitbit's only work on stock or stock-based roms. There's some good ones in the Android Development section. Cheers
Click to expand...
Click to collapse
I'll check it out. Could you link it?
gameriot said:
I have a Mac, so I can't get Odin.
I'll check it out. Could you link it?
Click to expand...
Click to collapse
Best Touchwiz-based ROM, in my opinion, right here:
http://forum.xda-developers.com/showthread.php?t=2313469
gameriot said:
I have a Mac, so I can't get Odin. I'll check it out. Could you link it?
Click to expand...
Click to collapse
#1. The TW rom that I find best for me is Shostock2.1 It's already very mature, stable and zero issues.
Here's the link if you want another option:
http://forum.xda-developers.com/showthread.php?t=2305752
#2. As to the Mac and no Odin thing. . . . I use a Mac (a couple of them, actually) and found that Heimdal can be made to work, but some folks feel it is not as user friendly/easy to use as Odin. (Btw, you should not need a custom driver to use Heimdal -its a mac and should see your phone w/o driver issues!)
I have used it, but maybe it's just my experience, there have been sometimes when you have everything set up correctly, Heimdal still seems to choke, or just not complete the task (or see the tar file that you want to use!).
Anyway, the newer versions seem better, please check out the current version of Heimdal and the Heimdal front end package?
Here is a Heimdal link in case you want to check: http://www.glassechidna.com.au/products/heimdall/.
The site should have instructions on how to get your file -the stock image or rom image that you want to load and make sure it's the right one and also that its in a form Heimdal can use. . .
Also, here is another very good, informative thread of someone's experience restoring his i337 using Heimdal! It might be helpful (and it is just a few posts down from yours
http://forum.xda-developers.com/show....php?t=2374441
#3. But even on a MAC you CAN use Odin! Odin generally works well and if Heimdal seems to complicated or you can't get it working, then you could open your options up significantly if you can either:
(1) use bootcamp and boot into a windows OS, or
(2) use Parallels/VM Ware Fusion and use windows in a virtual window.
Bootcamp is 100% windows running on your mac and is rock-solid, while the VM machine approach also is mature and pretty good, if occasionally temperamental...
If you can do this, then you can use Odin and work on phone with all the tools that most folks here have and use to good effect.
Good Luck!
markbc01 said:
#1. The TW rom that I find best for me is Shostock2.1 It's already very mature, stable and zero issues.
Here's the link if you want another option:
http://forum.xda-developers.com/showthread.php?t=2305752
#2. As to the Mac and no Odin thing. . . . I use a Mac (a couple of them, actually) and found that Heimdal can be made to work, but some folks feel it is not as user friendly/easy to use as Odin. (Btw, you should not need a custom driver to use Heimdal -its a mac and should see your phone w/o driver issues!)
I have used it, but maybe it's just my experience, there have been sometimes when you have everything set up correctly, Heimdal still seems to choke, or just not complete the task (or see the tar file that you want to use!).
Anyway, the newer versions seem better, please check out the current version of Heimdal and the Heimdal front end package?
Here is a Heimdal link in case you want to check: http://www.glassechidna.com.au/products/heimdall/.
The site should have instructions on how to get your file -the stock image or rom image that you want to load and make sure it's the right one and also that its in a form Heimdal can use. . .
Also, here is another very good, informative thread of someone's experience restoring his i337 using Heimdal! It might be helpful (and it is just a few posts down from yours
http://forum.xda-developers.com/show....php?t=2374441
#3. But even on a MAC you CAN use Odin! Odin generally works well and if Heimdal seems to complicated or you can't get it working, then you could open your options up significantly if you can either:
(1) use bootcamp and boot into a windows OS, or
(2) use Parallels/VM Ware Fusion and use windows in a virtual window.
Bootcamp is 100% windows running on your mac and is rock-solid, while the VM machine approach also is mature and pretty good, if occasionally temperamental...
If you can do this, then you can use Odin and work on phone with all the tools that most folks here have and use to good effect.
Good Luck!
Click to expand...
Click to collapse
I already tried hiemdall. It kept coming up with error whatever I did. Also my TWRP keeps failing when I'm trying to flash. I'm trying goomanager.
Sent from my GT-I9505G using Tapatalk 4
gameriot said:
I already tried hiemdall. It kept coming up with error whatever I did. Also my TWRP keeps failing when I'm trying to flash. I'm trying goomanager.
Sent from my GT-I9505G using Tapatalk 4
Click to expand...
Click to collapse
OK, I have been there! If Heimdall does not work, then:
a) find a windows machine for a while or
b) use your machine with bootcamp (if you're on a MBP) or
c) use your machine but install/open a virtual desktop (Parallels or VMware Fusion) to get a windows or linux environment.
Please BE CAREFUL when using goomanager (or Rom Manager, for that matter). These apps are useful, but they also are prone to suddenly creating havoc on the phone - usually when least expected . I have used both -but only very carefully and for limited functions. (I recently used GM to update my TWRP to the latest (I think 2.6?) -no issue --so try that at least!)
But for loading roms, initially loading recoveries or the like it is better to use the "manual" processes that we have available here.
Good Luck!
markbc01 said:
OK, I have been there! If Heimdall does not work, then:
a) find a windows machine for a while or
b) use your machine with bootcamp (if you're on a MBP) or
c) use your machine but install/open a virtual desktop (Parallels or VMware Fusion) to get a windows or linux environment.
Please BE CAREFUL when using goomanager (or Rom Manager, for that matter). These apps are useful, but they also are prone to suddenly creating havoc on the phone - usually when least expected . I have used both -but only very carefully and for limited functions. (I recently used GM to update my TWRP to the latest (I think 2.6?) -no issue --so try that at least!)
But for loading roms, initially loading recoveries or the like it is better to use the "manual" processes that we have available here.
Good Luck!
Click to expand...
Click to collapse
Thanks for the help. I got Touchwiz on my phone and got the sync to work but I just hate Touchwiz and went back by restoring my nandroid. Can't wait till they get Bluetooth 4.0 on custom roms, then it'll work.
Sent from my GT-I9505G using Tapatalk 4
Great..and if you still need a TW Rom, you still can switch launchers to Nova or something like that...
Then you hardly see the Samsung footprint...yet have the TW needed for the device..
Sent from my SAMSUNG-SGH-I337 using XDA Premium HD app

Categories

Resources