[HOW TO] Rooting on the Mac with Heimdall - Galaxy S III General

After getting my GS3/i9300 I realized that I didn't have a Windows computer anymore to root it. So I was stuck finding an alternative to Odin. I had trouble finding one aggregated source of Mac info that was relatively recent (last post I see is from Feb 2012) and all in one place.
I'm on MacOS X 10.7.5 (Lion) which isn't the most current version. I'm also a noob so maybe I got lucky as I've seen many comments within the various threads where my steps didn't work for other people.
When you download Chainfire's Auto-Root zip file, you'll need to do things a bit differently than with Odin. After unzipping, you'll need to untar the .tar file as well. You'll want the recovery.img and cache.img files in a folder on your PC. You'll need to know the path to that directory.
Instead of using the Heimdall GUI (which I found confusing), I ended up finding Chainfire's comments about using the Linux/Terminal commands in one of his old posts. He said it was "hearsay" but I can confirm that it worked on my GS3. Credit goes to jzuijlek for posting it (his post).
You'll want to install Heimdall from here
Currently they're saying to install version 1.3.1 instead of 1.3.2.
After Heimdall installs, I suggest rebooting your Mac.
Now to the good stuff...
Boot your phone into download mode:
1) Unplug your phone from the computer.
2) Turn your phone off
3) Hold both the volume down + home button. Then press and hold power until download mode comes up. Then press the volume up key to continue.
3) Plug in your phone
4) Open up Terminal and then cd to your recovery/cache.img files directory
5) Then type in this command:
sudo heimdall flash --recovery recovery.img --cache cache.img
If all goes well then you'll see stuff being installed and your phone will reboot and you'll be DONE!
However, if you're like me, you got an error. The response from Heimdall said, "Claiming interface failed". It turns out that there may be conflicts with Kies kexts if you have it installed. If you don't have it installed and you're seeing this error, I'm not sure if I can help. I suggest uninstalling Kies as you won't need it after you root. I searched Google with my error and finally found this gem from March 2012!
http://blog.scott.wallace.sh/2012/03/getting-heimdall-to-work-on-your-mac.html
As such, if you've installed Kies on your Mac and you're having this error, I suggest using the following commands. It seems some kernel extensions that Kies installs conflict with Heimdall.
sudo kextunload -b com.devguru.driver.SamsungComposite
sudo kextunload -b com.devguru.driver.SamsungACMData
sudo kextunload -b com.devguru.driver.SamsungACMControl
After this, I tried to flash again and it worked like a charm!
Now you're rooted.
However, Chainfire doesn't support CWM in his CF-Autoroot anymore so you'll need to get CWM or some other recovery image (Philz, TWRP, etc.). You can search these forums but these links should be mostly correct
CWM (find the Samsung Galaxy S3 i9300 in the list: http://www.clockworkmod.com/rommanager
Philz (built on CWM): http://forum.xda-developers.com/showthread.php?t=2002953
TWRP: http://forum.xda-developers.com/showthread.php?t=1943592
You'll flash the same way as above with just the .img file
Boot into download mode using sequence above.
(Example with CWM)
Open up Terminal and cd to the directory with your .img file.
Then type:
sudo heimdall flash --recovery recovery-clockwork-6.0.2.7-i9300.img
For reference...to boot into recovery:
1. Unplug the USB cable.
2. Shut down the phone.
3. Hold down the 'HOME' + 'VOLUME UP' buttons and press the 'POWER' button for about 5 seconds to enter Recovery Mode.
I hope this helps! Let me know if you think I got anything wrong!

Is this still theway to root on mac?
I have s3 uk 3 network. 4.1.2 xxella.
I blieve my phone was open to sds attack before the xxella update. can i keep this recovery?

I would strongly advise against using Heimdall. Nothing against the authors, but I tried it and would recommend avoiding it. Simpler approach is to setup Windows (In my case Windows 7) in a VM environment (I bought VMware Fusion) and just use the normal Odin. You'll get far more support from people here, and less headaches.

While i agree that Odin is easier and gives you more help from the community, i used Heimdall anyway due to not having any wish at installing windows on my mac.
This method does work (as of may 2013), however:
-Uncheck the "reboot after flashing" option in Heimdall. When Heimdall has done its job, manually boot into recovery. This way your custom recovery wont be overwritten by stock recovery.
Happy flashing!

Related

not sure what to call this problem

Ok, so rooted (razorclaw) ics 4.0.3 tf-101.
fully charged
when powering on, stalls at the eee pad screen. (sounds like a boot loop, but it doesn't go to recovery)
Cold boots fine, works great, no random reboots (yet)
Will not boot into recovery, has ww_epad-9.2.1.11-20120221 bootloader
stalls at "booting kernel image" I assume there is no recovery installed.. Tried to get cwm onto it but I cant get apx working, it wont recognize the device at all.
I didn't root it, someone else did and I have no idea what recovery is/was on it.
I bought the tablet used, and would like to fix it.
Once recovery is installed would this boot normally.
Ive been searching on here/transformer forums for a couple weeks and have thought I found the answer multiple times. I need a push in the right direction.
Tried to fix this for a while a couple months ago when ics first launched and gave up. (did the same thing when It had honeycomb on it)
edit::
the only solution I can come up with is using NVFLASH to try to restore it. Working on this right now, hopefully this is a sbk1//not working, cant seem to get the computer to recognize the device in apx mode. (win 7)
If your TF is rooted, you may want to give the RecoveryInstaller app a go.
http://forum.xda-developers.com/showthread.php?t=1346180&highlight=recovery
I forgot to add that I have tried that (tried it again just now.. twice, just incase it happened to work but it didnt.)
following these instructions:
"click the button and the Superuser app will ask for permissions. Then the tablet reboots and to enter it you have to keep the Volume - key pressed and when it the TF writes "Booting into recovery" on the screen press Volume + once"
also tried it without holding volume buttons when it reboots.
When I run it, and click the button to install recovery, it grants superuser permissions and then reboots, sticks at the eee pad screen again and it stalls at booting recovery kernal image. Anything Im missing?
Reflash a recovery image .sos and bootloader .ebt if the recovery image doesn't work.
Download any cwm flashable recovery and extract it twice to get the recovery blob out:
put the recoveryblob on your computer somewhere.
adb push C:\Location\Of\Blob\blob.blob /sdcard/
adb devices
adb shell
su
dd if=/sdcard/blob.blob of=/dev/block/mmcblk0p4 -
reboot
--
this should fix recovery.
Thanks for breaking that down! Im going to try this once I can get adb working.
Going to try another computer now. I'm beginning to wonder if the usb cord for my tf has gone bad.
You can do it on your tf too, via terminal emulator app since you can coldboot.
Download blob somewhere on tf, download term em. and run this part:
su
dd if=/Path/to/recoveryblob of=/dev/block/mmcblk0p4 -notice path/to is where you placed on Tf's INTERNAL storage.
reboot
Ok, went through it on the terminal emulator. Everything seemed to go ok, but on rebook, it still wont enter recovery (held the vol button of course) just hangs on "booting recovery kernal image"
Is BusyBox installed?
That it is, just reinstalled 1.20.. should i use a different version perhaps?
Ro.secure set to 0?
see the guide to flashing an insecure boot.img if it isn't, this may be the problem.
if you're on a rom this isn't the issue..
Try a different version of BB I suppose
simplywinter said:
Ok, went through it on the terminal emulator. Everything seemed to go ok, but on rebook, it still wont enter recovery (held the vol button of course) just hangs on "booting recovery kernal image"
Click to expand...
Click to collapse
Suggest you try method 3 in the following post.
http://forum.xda-developers.com/showthread.php?t=1622628
It does not require rooted TF. If you do everything right but still not working, you may have a faulty device.
^^ My peri runs that method, so that didn't work. :/
I think borked hardware, try NvFlash
just did this
ls - l /system/xbin/su
getprop ro.secure
returned: 0
So it is indeed set to 0.
NVflash.. well I would do that if I could get the usb connection to the computer working.. Still trying that.
Also, kokopopz
I went through method 3 on the tf itself, unfortunately it didnt work. Still trying to get adb working to try it that way.
simplywinter said:
I went through method 3 on the tf itself, unfortunately it didnt work. Still trying to get adb working to try it that way.
Click to expand...
Click to collapse
The following guide will be useful for setting up ADB.
http://forum.xda-developers.com/showthread.php?t=1071584
For the USB driver, you can try the naked driver.
http://forum.xda-developers.com/showthread.php?t=1514942&highlight=naked
Note: I am a linux user. I set up ADB on my linux box. I did not try the above myself. I just came across them. They maybe useful to a Windows user.
Windows drivers are finicky, make sure you totally uninstall and reinstall them too. Took forever to get right on my computer.
no go with windows. I still cant seem to make this work... I have ubuntu on my laptop though. Can I even do this on Ubuntu? its 11.04
You can do this with Ubuntu no drivers required, just pick up the Nvflash wheelie for linux and get yourself a reflashed ROM.
Also you can still do this on TF. I had a very similar issue that I was able to fix by using Rayman's Blobtools (you can pickup blobunpack for windows in my bootsplash screen change guide).
Download the latest stock ROM for your device, and extract the 'blob' file out of it.
Put the blob in the same folder as blobunpack.exe, then open a command prompt and cd to the directory, then run:
Code:
blobunpack blob
After that you will see that there are now many blobs, one of them is called blob.EBT, this is your bootloader blob. What you want to do is copy that to /sdcard/ on your tf via mass storage or 'adb push blob /sdcard/' (You Have to remove the .ebt extension, it's just there as an ID, so it should just be 'blob')
Once that's there flash it through the staging partition (In terminal emulator or adb shell):
Code:
su
dd if=/sdcard/blob of=/dev/block/mmcblk0p4
reboot
Then it shouldn't get stuck at the Eeepad screen anymore!
If it still does, you might have that weird problem where nothing flashed through staging partition sticks, so you'll need to run Roach2010's fix.
after trying that.. twice. It doesn't seem to stick. Roaches 2010 fix it is, searching for it right now.
If you can get adb shell access (I'm assuming yes) PERI has the fix bootloop option. Otherwise run roaches fix AFTER flashing a new recovery and EBT partition but BEFORE rebooting.
how do i run roaches fix. i Dont understand that part. I understand the rest though.

[HOW TO] Flash CWM using heimdall on Linux

Edit: heimdall does not yet support the S3... it is a waiting game for now
This is pretty much common knowledge from the GS1 & GS2 but I will post it here for all of the people new to the Galaxy series and that are on Linux.
Disclaimer: I am not responsible in any way for anything that happens to your phone. This guide is for educational purposes and anything that you choose to do is purely your choice and any consequences are also yours to deal with.
All of the thanks go to Team Epic for porting CWM to this device so soon.
Download CWM from the epiccm site here: http://www.epiccm.org/2012/06/cwm-recovery-on-all-sgs3-lte-variants.html?m=1
Download heimdall (and the gui if you want) from here: http://www.glassechidna.com.au/products/heimdall/
Now you are going to want to open a shell (terminal/xterm/konsole) and cd to the directory you put the heimdall binaries.
Extract the tar file for recovery and get recovery.img, put recovery.img in the heimdall folder.
Put your GS3 into download mode by pressing this button combo all at once and holding:
Home
Volume down
Power
Flash CWM recovery by running this command while in the heimdall directory:
./heimdall flash --recovery recovery.img
The device will reboot automatically.
To flash superuser (root), hold this combination to enter CWM:
Volume up
Home
Power
Then flash a superuser zip or rooted rom/kernel.
Again, thanks to the following:
Team Epic (for the CWM port)
Koush (for CWM)
Glass Echidna (for Heimdall)
You are posting a HOWTO for something that you did not even try yourself, as this tool does not work on SGS3?
Please create new things, and carefully test it before posting. I know you aren't as dumb as that guy who posted a "Kernel" earlier today that ended up bricking a few phones because he didn't test it. Please do not embarrass yourself in attempts to grab attention like this.
Please close this thread. There is nothing here.
MДЯCЦSДИT said:
Edit: heimdall does not yet support the S3... it is a waiting game for now
This is pretty much common knowledge from the GS1 & GS2 but I will post it here for all of the people new to the Galaxy series and that are on Linux.
Disclaimer: I am not responsible in any way for anything that happens to your phone. This guide is for educational purposes and anything that you choose to do is purely your choice and any consequences are also yours to deal with.
All of the thanks go to Team Epic for porting CWM to this device so soon.
Download CWM from the epiccm site here: http://www.epiccm.org/2012/06/cwm-recovery-on-all-sgs3-lte-variants.html?m=1
Download heimdall (and the gui if you want) from here: http://www.glassechidna.com.au/products/heimdall/
Now you are going to want to open a shell (terminal/xterm/konsole) and cd to the directory you put the heimdall binaries.
Extract the tar file for recovery and get recovery.img, put recovery.img in the heimdall folder.
Put your GS3 into download mode by pressing this button combo all at once and holding:
Home
Volume down
Power
Flash CWM recovery by running this command while in the heimdall directory:
./heimdall flash --recovery recovery.img
The device will reboot automatically.
To flash superuser (root), hold this combination to enter CWM:
Volume up
Home
Power
Then flash a superuser zip or rooted rom/kernel.
Again, thanks to the following:
Team Epic (for the CWM port)
Koush (for CWM)
Glass Echidna (for Heimdall)
Click to expand...
Click to collapse

[Q] How to Root, Flash Recovery and Roms in Linux Mint 17

My OS is Linux Mint 17. I'm running 4.4.2 NAE and haven't found not one tutorial explaining how to Root, Flash Custom Recovery and ROMS with this particular software number. I installed Samsung drivers and installed with Wine but get and error when device connected sometimes:
"Unable to mount Samsung Android"
"Unable to open MTP device '[usb:001,008]'"
Even though I get the error message my device's files are accessible from my Linux based pc. Please tell me I can Root my device and how
My device specs are:
Phone: Samsung Galaxy S4 SPH-L720
Android version: 4.4.2
Software number: L720VPUFNAE
Kernel version: 3.4.0-481102
Baseband version: L720VPUFNAE
Build number: KOT49H.L720VPUFNAE
TowelRoot app with Sprint code " 1337 0 1 7380 4 0 " worked for me my first attempt at root. Thanks Mr. W0lf and anyone else involved. Video tutorial link below:
http://youtu.be/ZGwMs8JPBhE
I still would like to see tutorials on how to Root, Flash Recovery and Roms for Linux Mint users
Sent from my SPH-L720 using XDA Developers App
Josey Wales said:
My OS is Linux Mint 17. I'm running 4.4.2 NAE and haven't found not one tutorial explaining how to Root, Flash Custom Recovery and ROMS with this particular software number. I installed Samsung drivers and installed with Wine but get and error when device connected sometimes:
"Unable to mount Samsung Android"
"Unable to open MTP device '[usb:001,008]'"
Even though I get the error message my device's files are accessible from my Linux based pc. Please tell me I can Root my device and how
My device specs are:
Phone: Samsung Galaxy S4 SPH-L720
Android version: 4.4.2
Software number: L720VPUFNAE
Kernel version: 3.4.0-481102
Baseband version: L720VPUFNAE
Build number: KOT49H.L720VPUFNAE
Click to expand...
Click to collapse
You don't use wine or samsumg drivers when rooting from linux. Install heimdall and flash using the heimdall command line.
untar the odin package, then flash the extracted image files separately with heimdall
heimdall on linux is all I use for flashing odin packages. Note The partition names are case sensitive, and differ between phones, but this example is for gs4.
mv odinpack.tar.md5 odinpack.tar
tar -xvf odinpack.tar
extracting blah blah blah...
boot.img
recovery.img
system.img.ext4
...
eg. > heimdall flash --RECOVERY recovery.img --BOOT boot.img --SYSTEM system.img.ext4 ...etc.
here's the gs4 partition names and typical gs4 image file names for heimdall command reference:
heimdall flash --APNHLOS NON-HLOS.bin
heimdall flash --ABOOT aboot.mbn
heimdall flash --BOOT boot.img
heimdall flash --HIDDEN hidden.img.ext4
heimdall flash --MDM modem.bin
heimdall flash --RECOVERY recovery.img
heimdall flash --RPM rpm.mbn
heimdall flash --SBL2 sbl2.mbn
heimdall flash --SBL3 sbl3.mbn
heimdall flash --SYSTEM system.img.ext4
heimdall flash --TZ tz.mbn
heimdall flash --CACHE cache.img.ext4
I use fedora, which uses yum for installation:
> sudo yum install heimdall
I think mint uses synaptic, which I'm not familiar with, so you're on your own there. You could go crazy and use synaptic to install yum, then use the above yum command. Probably a bit much.
Thanks for your input. I read through the Hemidall topic posted here but I guess I didn't read enough. I'm kind of new to Linux, still learning my way around performing commands from terminal. I'll go ahead and uninstall Samsung drivers from my home pc when I get in later and give Hemidall a shot
Sent from my SPH-L720 using XDA Developers App
Yes it was a bit much lol I did however manage to install Heimdall using the tutorial from the Cyanogen wiki:
http://wiki.cyanogenmod.org/w/Install_and_compile_Heimdall#Installing_prerequisites
Now where do I get the .tar files and a step-by-step install/flash recovery tutorial without getting the KNOX bootloader. My device has Root
Sorry but I'm just trying to be cautious and through
Josey Wales said:
Yes it was a bit much lol I did however manage to install Heimdall using the tutorial from the Cyanogen wiki:
http://wiki.cyanogenmod.org/w/Install_and_compile_Heimdall#Installing_prerequisites
Now where do I get the .tar files and a step-by-step install/flash recovery tutorial without getting the KNOX bootloader. My device has Root
Sorry but I'm just trying to be cautious and through
Click to expand...
Click to collapse
You should find the tar files inside the odin rom zip files
If you're trying to be cautious, you might want to test out the heimdall functionality first by flashing say, just the cache only from one of the stock roms. If it fails halfway through, it's no biggie. Just clear cache until you get it working. Use the above flash command that contains the --CACHE partition as a reference. Just be careful not to flash boot.bin from NAE or you're done. The procedure is the same as using odin, except you unzip and untar the rom manually with linux, and flash the untar'd images with the heimdall command as above.
r0ckstar said:
You might want to test out the heimdall functionality first.
Click to expand...
Click to collapse
Only if I'm able to flash a Recovery. I tried flashing Philz Recovery and CWM but failed. I followed the CyanogenMod tutorial posted here:
http://wiki.cyanogenmod.org/w/Install_CM_for_jfltespr#Installing_a_custom_recovery_on_Galaxy_S4_.28Sprint.29
several times but kept getting this error heimdall flash --recovery recovery.img --no-reboot
ERROR: Failed to open file "recovery.img"
after typing "heimdall flash --RECOVERY recovery.img --no-reboot" in terminal. I extracted both recovery folders to my Desktop even changing folder names from:
recovery to RECOVERY
philz_touch_6.15.4-jfltespr to PHILZ or philz
Heimdall is install and working correctly v1.4.1. Heimdall-frontend is installed as will. I don't need frontend to flash a Recovery. I don't know what else to do here
Josey Wales said:
Only if I'm able to flash a Recovery. I tried flashing Philz Recovery and CWM but failed. I followed the CyanogenMod tutorial posted here:
http://wiki.cyanogenmod.org/w/Install_CM_for_jfltespr#Installing_a_custom_recovery_on_Galaxy_S4_.28Sprint.29
several times but kept getting this error heimdall flash --recovery recovery.img --no-reboot
ERROR: Failed to open file "recovery.img"
after typing "heimdall flash --RECOVERY recovery.img --no-reboot" in terminal. I extracted both recovery folders to my Desktop even changing folder names from:
recovery to RECOVERY
philz_touch_6.15.4-jfltespr to PHILZ or philz
Heimdall is install and working correctly v1.4.1. Heimdall-frontend is installed as will. I don't need frontend to flash a Recovery. I don't know what else to do here
Click to expand...
Click to collapse
You still have to go into the folders to access the files. you flash the files, not the folders. cd into the philz directory, look for the recovery.img or whatever name it is there, then from that directory: heimdall flash --RECOVERY <case sensitive name that's in there>, hopefully recovery.img as to be unambiguous. If you're flashing from the correct directory, you should see the file when you do ls -la command. Otherwise, you would have to add the path to the file name when flashing from a different location. You're almost there.
I tried flashing Philz Recovery in Heimdall a few times and got this error:
Heimdall v1.4.1
Copyright (c) 2010-2014 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...
Initialising protocol...
ERROR: Protocol initialisation failed!
Releasing device interface...
Re-attaching kernel driver...
Click to expand...
Click to collapse
I tried different USB cables and the one included with my device
Josey Wales said:
I tried flashing Philz Recovery in Heimdall a few times and got this error:
I tried different USB cables and the one included with my device
Click to expand...
Click to collapse
There may be some issue with your linux permissions. Try running the command as root, also the phone has to be in download mode when you run the command. And... make sure the usb port is at least a usb2.0, and not an external hub.
r0ckstar said:
There may be some issue with your linux permissions. Try running the command as root, also the phone has to be in download mode when you run the command. And... make sure the usb port is at least a usb2.0, and not an external hub.
Click to expand...
Click to collapse
Issue with permissions? I used "sudo" command, file path is a directory, all 6 onboard usb2.0 ports are functional. I don't know what else to do. I flash the latest CWM recovery using Flashify. . .
I really would like to get this sorted out as I want to get into flashing with Heimdall.
Sent from my SPH-L720 using XDA Developers App
Josey Wales said:
Issue with permissions? I used "sudo" command, file path is a directory, all 6 onboard usb2.0 ports are functional. I don't know what else to do. I flash the latest CWM recovery using Flashify. . .
I really would like to get this sorted out as I want to get into flashing with Heimdall.
Sent from my SPH-L720 using XDA Developers App
Click to expand...
Click to collapse
Usually, this type of error means that either something else in linux is already using the usb port, or there's a heimdall installation issue.
check permissions (755) on heimdall.kext if your version has it.
I don't know where mint puts it.
The simplest thing to do is try every port one by one, BUT restart the computer before each attempt. I've had to do this myself in the past. If that fails, try downgrading your heimdall installation to 1.4.0. I think that's the earliest version that still supports L720. Every flavor of linux is a bit different in this regard, and there's many variables involved here. These kinds of things are typical for linux users. It's not for everyone, only people with awesomeness. Remember, we're pioneers of sorts using heimdall/linux when everyone else is using windows. Failure is not an option (or at least the admission of failure is not an option)...

[Guide] Flash TWRP (3.2.3+) on G800F

1) Get the latest TWRP .img file from - https://dl.twrp.me/kminilte/
2) Download latest Heimdall for your operating system - http://glassechidna.com.au/heimdall/
3) Take the case off, you will need to quickly remove the battery later
4) Get the phone to Download mode - hold VOL-, PWR and HOME buttons at the same time while booting.
5) Connect the phone via USB
6) run cmd.exe as admin/run heimdall with sudo rights and execute the following command (modify the file path/name depending where yours is located) -
#check if heimdall can see the phone
heimdall detect
#flash the recovery
heimdall flash --RECOVERY /home/c0rn3j/Downloads/twrp-20170324-UNOFFICIAL-kminilte.img
7) Immediately after you get the success message and your phone starts rebooting, take the battery off and unplug the USB
8) Put the battery back and hold the key combo to get into recovery - VOL+, PWR and HOME
9) Luckily you should now be in the TWRP recovery. If you booted into the stock recovery despite getting the success message, you may have not been quick enough with killing the phone and it reflashed its own stock recovery. In that case repeat again from step 4)
2017-11-7 - Updated TWRP link as TWRP has been upstreamed and unofficial builds are no longer needed. Bumped TWRP version in the title.
Excellent guide, thanks!
I just like to say that when you add --no-reboot (see below) you don't need the dexterity to remove the USB cable and the battery simultaneously.
(I don't have that dexterity, and I'm happy that I tried to flash the phone in a room with a thick carpet)
heimdall flash --no-reboot --RECOVERY ~/Downloads/twrp-X.X.X-kminilte.img
Since Heimdall is crap and doesnt work thanks to "failed to initialize protocol" or "cannot access device libusb error -12", is there another way to properly flash twrp on this device or am i lost in space?
Exynos 3470
Hi! do you know how to port lineage os 15.0/1 into a device which has same chipset and specifications?
could you briefly explain how to port this rom.
tab4: cm13
https://androidfilehost.com/?w=files&flid=69710&sort_by=date&sort_dir=DESC
s5 mini los15.1:
https://forum.xda-developers.com/ga...t/g800f-m-y-lineageos-15-0-g800f-m-y-t3678205
specifications:
https://www.gsmarena.com/compare.php3?idPhone1=6252&idPhone2=6241#

Fastboot Waiting for Device - TWRP Installation

Hello, folks.
I'm still new to all this and I'm completely stuck trying to get TWRP installed. Gone through all the steps, and everything I could find on Google as well, yet fastboot won't do anything for me.
What I've been trying is: adb devices shows device, reboot bootloader boots into download mode, fastboot devices returns nothing, fastboot flash recovery twrp.img(4.4, hopefully the right one?) returns waiting for any device.
Rooted and bootloader is unlocked, twrp file is in same folder as adb and fastboot which is where admin cmd prompt is open to.
I've downloaded the samsung and google drivers.
Confirmed device is recognized in device manager.
Tried different USB ports.
Tried installing via the TWRP manager app, get an error installing any version.
Feels like I must be missing something stupid. Just trying to get a new ROM to hopefully speed this thing up.
Thanks for any advice!
EDIT - skip to bottom
The use of fastboot to interact with bootloader firmware is NOT universal among Android handset makers.
In particular, Samsung. Fastboot hasn't worked with Samsung android devices for a long time (it possibly never did).
The nearest analagous equivalent is Samsung's "Odin" software (for Windows PCs).
There is also "heimdal" for *nix machines which attempts to replicate the behaviors of Odin.
The handset boot mode most closely corresponding to "fastboot" is Samsung's "Download" (or "Odin") mode. On the Note 3 you enter that mode from a cold start with a three-finger salute: Vol-Down+Home+Power. A splash screen will show up allowing you to "Cancel" (normal boot) or "Download" mode.
It is harmless to enter that mode if you want to look at what the screen looks like, but you might have to pull the battery to get out of it if you don't use Odin.
Search XDA for "Odin" ( or heimdal), you will find plenty of posts
Flashing TWRP:
The TWRP images are not filesystems, but just a large (bootable) binary blob file (containing a kernel, ramdisk, and device tree).
That means you can simply use the "dd" command (as the root user) to write the .img blob into the recovery partition, using a shell/ terminal. Could be using either adb or a terminal emulator app. You just need to have a root prompt.
Obviously you need to be cautious about this, making sure you are blasting bits into the correct partition (the recovery partition).
e.g. see
ls -ld /dev/block/platform/msm_sdcc.1/by-name/*
bftb0 said:
EDIT - skip to bottom
The use of fastboot to interact with bootloader firmware is NOT universal among Android handset makers.
In particular, Samsung. Fastboot hasn't worked with Samsung android devices for a long time (it possibly never did).
The nearest analagous equivalent is Samsung's "Odin" software (for Windows PCs).
There is also "heimdal" for *nix machines which attempts to replicate the behaviors of Odin.
The handset boot mode most closely corresponding to "fastboot" is Samsung's "Download" (or "Odin") mode. On the Note 3 you enter that mode from a cold start with a three-finger salute: Vol-Down+Home+Power. A splash screen will show up allowing you to "Cancel" (normal boot) or "Download" mode.
It is harmless to enter that mode if you want to look at what the screen looks like, but you might have to pull the battery to get out of it if you don't use Odin.
Search XDA for "Odin" ( or heimdal), you will find plenty of posts
Flashing TWRP:
The TWRP images are not filesystems, but just a large (bootable) binary blob file (containing a kernel, ramdisk, and device tree).
That means you can simply use the "dd" command (as the root user) to write the .img blob into the recovery partition, using a shell/ terminal. Could be using either adb or a terminal emulator app. You just need to have a root prompt.
Obviously you need to be cautious about this, making sure you are blasting bits into the correct partition (the recovery partition).
e.g. see
ls -ld /dev/block/platform/msm_sdcc.1/by-name/*
Click to expand...
Click to collapse
Took some further research, but I now have TWRP successfully installed!
Thank you kindly
Few notes for future searchers: from your adb folder run 'adb shell' then 'su' to get the root prompt, then enter the above command. Also the /sdcard/ folder is internal storage, actual sdcard path is /storage/extsdcard/

Categories

Resources