Flashing TWRP via Linux [From Ubuntu 18 to SM-G360P] - Samsung Galaxy Core Prime Questions & Answers

Most of the tutorials and support I keep finding are only available for Windows, is there a way I can flash the TWRP image with ADB in the terminal instead?

there is a way to Flash TWRP via Linux
sorry for the delay, it's been a long time since I logged in, and then just stumbled upon it.
if you are still interested there is a way :
look this for jOdin : https://forum.xda-developers.com/android/general/utility-odin-linux-jodin3-casual-t3777030
or use this : Heimdall it's forlk of odin.
and finaly, if you do not want to break your head too much to install these tools you can use the following distribution everything is ready to be used, just boot in livecd and voila .
FWUL v2019-01-22_10-47_x86_64_forgetful
https://www.xda-developers.com/fwul-android-debugging-distro-3-0/

Related

[HOW TO] Rooting on the Mac with Heimdall

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!

fastboot oem unlock: 'fastboot' is not recognized as an internal or external command

, operable program or batch file.
(update: I'm trying to find a tegra note root guide but I think I'm going to die of old age before I find one that explains the actual steps for 1. finding the tegra note windows drivers 2. how to install them every step explained 3. every step explained how to root this tablet oh god why did I not buy a windows tablet this time ok)
http://forum.xda-developers.com/showthread.php?t=2586432
I tried towelroot but it doesn't do anything after 15 seconds.
You either need to install Fastboot and ADB look in dev are for links or your not in the directory where the adb and fastboot executables are.
This is why your getting this error. Also i have tried towelroot and it froze my tegranote right out i have to reflash the device again to get it working or more over just the /System partition.
If you have gone though the OTA updates and have hit past 4.3 then you can simply use the SuperTool to restore your tablet which has everything in there for you including the fastboot and adb.
Just make sure you wasn't on 4.2.2 before using this methord.
Also you haven't said which brand of tablet you have either.
By looks of the link you posted your after installing root via either CWM or TWRP (I suggest using TWRP!)
if thats the case.
Install fastboot and adb files some where and also the recovery image of choice then do the fastboot flash recovery (name of recovery .img file ) then download the SuperSU zip and flash that in your chosen recovery you will then be rooted!.
kingroot v3.5 or older
If you want to root without PC on TN7 use kingroot and if you having trouble installing fastboot send me an email

SM-A300FU not detected by Zadig/Odin ?

I'm trying to flash a SM-A300FU, donwloaded heimdall for windows, put the device in download mode, plug it to the computer, fire up zadig, but here's nothing with the samsung or gadget word in the device list when I enable showing all devices.
Are there clear instruction on how to get the device detected by zadig to install the driver ?
Guides linked on the 2017/2018 system i want to flash link to 2010 guides where the heimdall GUI is so old it is not the same.
I just want to flash TWRP to have something familiar to work with.
With Odin, putting the tar file with the recovery image in AP and clicking start doesn't yield any results. (Completed with succeed 0, failled 0)
Magissia said:
I'm trying to flash a SM-A300FU, donwloaded heimdall for windows, put the device in download mode, plug it to the computer, fire up zadig, but here's nothing with the samsung or gadget word in the device list when I enable showing all devices.
Are there clear instruction on how to get the device detected by zadig to install the driver ?
Guides linked on the 2017/2018 system i want to flash link to 2010 guides where the heimdall GUI is so old it is not the same.
I just want to flash TWRP to have something familiar to work with.
With Odin, putting the tar file with the recovery image in AP and clicking start doesn't yield any results. (Completed with succeed 0, failled 0)
Click to expand...
Click to collapse
Did you turn on USB debugging in developer options? If you did and it is still not detecting, it might be a hardware problem.

HELP: Error with fastboot on 32-bit Linux

Hey guys.. Amidst this glorious pandemic I decided to break out my Mom's old 2010 Mac Mini from the closet and install Ubuntu 12.04 on it. Anyways, I'm trying to root my (obviously unlocked) Pixel 4. However, my problem is that I keep getting
Code:
FAILED (remote: Failed to write to partition Not Found)
finished. total time: 1.676s
After doing a bunch of research and troubleshooting from forums across the net, other people with this error code found solutions by updating their adb and fastboot. HOWEVER, the machine I am running on is a 32-bit, and Ubuntu discontinued support for 32-bits after android-sdk_r23.0.1-linux..
To conclude, I can't flash boot because my adb and fastboot files are "out of date" but I can't update because those are the last supported files for my machine.
I am coming to you guys for help to see if anybody knows:
a) a workaround
b) of a later version of Linux adb/fastboot supported on 32-bit.
c) anything else of value to help me here
Thanks!
Why are you using ubuntu?
It's such a simple procedure to root your bootloader unlocked pixel 4 on windows.
Use a windows computer then boot into fastboot and flash a clean build of the recent update. Then install magisk, patch a boot image, flash the patched image to both partitions and you're done.
Spookymyo said:
Why are you using ubuntu?
It's such a simple procedure to root your bootloader unlocked pixel 4 on windows.
Use a windows computer then boot into fastboot and flash a clean build of the recent update. Then install magisk, patch a boot image, flash the patched image to both partitions and you're done.
Click to expand...
Click to collapse
Oh, yes, I forgot to mention that haha. My Windows 10 has an awful virus that won't let me open command prompt or task manager. I could wipe and reinstall but I haven't gotten around to it. Part of my enjoys linux more anyways.
Hiya
I ran into the same thing. I had to boot into recovery and use adb sideload to send the factory image from the google website. I've done it on both my linux box and my macbook
Hope that helps
rocketswr4 said:
Hey guys.. Amidst this glorious pandemic I decided to break out my Mom's old 2010 Mac Mini from the closet and .......nux adb/fastboot supported on 32-bit.
c) anything else of value to help me here
Thanks!
Click to expand...
Click to collapse

TWRP not installing on Linux via Heimdall (SM-T350) [SOLVED]

I have the relevant TWRP firmware, JOdin, and Heimdall on my Linux system. It took me a while to find the relevant firmware, but I got it. I have to use Heimdall and JOdin because fastboot, for some reason, will not work with my tablet. I have obtained the PIT file and used JOdin with the TWRP tar as a PDA file. This process succeeded. When I reboot and run adb reboot recovery, I get a text-based recovery screen with seemingly no connection with TWRP. Before this screen shows up, it says "Downloading updates" and then "Command failed" or something like that.
I was directed here from the Arch Linux forums. The question I posted there asks for some way to get fastboot to work, but I think that's a lost cause now.
Does anyone know why TWRP is not being written to the tablet? Is there any way to boot into the image, excluding fastboot? And, if possible, it would be great if fastboot worked.
Followed this guide from steps 10-13 and it worked! Will mark this as solved.

Categories

Resources