Heimdall? - Samsung Galaxy Tab A series Questions & Answers

Hello, all. So, I want to flash the newest firmware to my T510. Unfortunately, I've recently made the move from Windows to Linux, and have apparently lost the ability to use ODIN. I do have Heimdall, though. My T510 is already rooted with Magisk and has a custom ROM and TWRP.
I'm planning on making a transition to the newest Nexus Stock ROM and Infinity kernel. I don't know how to go about obtaining a Heimdall package for this. I believe I already have all of the necessary files, I'm just not sure how to go about it. I'm not a developer or programmer (chemist, actually), but I've done a considerable amount of rooting, recovering, and ROM flashing, so I think I'm up to the task.
I guess my question is: How can I achieve my goals in a manner that has a good chance of success? Is there a better option than Heimdall? If not, where can I find resources to help me through the process? I do have other devices and OTG capabilities, if it would be easier using those. Any advice is appreciated. Thank you.

For Linux, heimdall is all you need to install twrp. From there, use twrp to install your rom.
example.
heimdall flash --RECOVERY twrp-3.3.1-0-chagallwifi.img
Since you already have TWRP installed, you just need to copy the new rom onto your microSD or internal storage in TWRP, wipe whatever partitions and install the new rom.
I never had a problem using heimdall in 3 years (Lubuntu user since April 2014).

Aguamandan said:
Hello, all. So, I want to flash the newest firmware to my T510. Unfortunately, I've recently made the move from Windows to Linux, and have apparently lost the ability to use ODIN. I do have Heimdall, though. My T510 is already rooted with Magisk and has a custom ROM and TWRP.
I'm planning on making a transition to the newest Nexus Stock ROM and Infinity kernel. I don't know how to go about obtaining a Heimdall package for this. I believe I already have all of the necessary files, I'm just not sure how to go about it. I'm not a developer or programmer (chemist, actually), but I've done a considerable amount of rooting, recovering, and ROM flashing, so I think I'm up to the task.
I guess my question is: How can I achieve my goals in a manner that has a good chance of success? Is there a better option than Heimdall? If not, where can I find resources to help me through the process? I do have other devices and OTG capabilities, if it would be easier using those. Any advice is appreciated. Thank you.
Click to expand...
Click to collapse
If you are uncomfortable using Heimdall, you could install Windows in a Virtualbox session and still use Odin. Most people who a new to Linux find having Windows available in a Vbox session reassuring.

lewmur said:
If you are uncomfortable using Heimdall, you could install Windows in a Virtualbox session and still use Odin. Most people who a new to Linux find having Windows available in a Vbox session reassuring.
Click to expand...
Click to collapse
I did that after Heimdall failed. SMH. Odin on VB isn't giving me the green light, or whatever. Checks MD5 successfully, but won't flash. Says all threads completed, o succeed o failed. I'm at a loss.

retiredtab said:
For Linux, heimdall is all you need to install twrp. From there, use twrp to install your rom.
example.
heimdall flash --RECOVERY twrp-3.3.1-0-chagallwifi.img
Since you already have TWRP installed, you just need to copy the new rom onto your microSD or internal storage in TWRP, wipe whatever partitions and install the new rom.
I never had a problem using heimdall in 3 years (Lubuntu user since April 2014).
Click to expand...
Click to collapse
I like that idea, but I need to update my firmware for the ROM I want, which is what I'm trying to do. Do you have advice for flashing firmware from TWRP?

retiredtab said:
For Linux, heimdall is all you need to install twrp. From there, use twrp to install your rom.
example.
heimdall flash --RECOVERY twrp-3.3.1-0-chagallwifi.img
Since you already have TWRP installed, you just need to copy the new rom onto your microSD or internal storage in TWRP, wipe whatever partitions and install the new rom.
I never had a problem using heimdall in 3 years (Lubuntu user since April 2014).
Click to expand...
Click to collapse
I need to update my firmware for the ROM I want, but every time I try with heimdall, it fails. Can you give me a little advice?

Aguamandan said:
I did that after Heimdall failed. SMH. Odin on VB isn't giving me the green light, or whatever. Checks MD5 successfully, but won't flash. Says all threads completed, o succeed o failed. I'm at a loss.
Click to expand...
Click to collapse
Are you sure you have the tablet's USB assigned to the Vbox session? That requires the extension pack and adding your user name to the end of the
Aguamandan said:
I did that after Heimdall failed. SMH. Odin on VB isn't giving me the green light, or whatever. Checks MD5 successfully, but won't flash. Says all threads completed, o succeed o failed. I'm at a loss.
Click to expand...
Click to collapse

Related

Rooting GS3 GT-I9300 with Heimdall and Linux

Orrite guys,
This is my first thread post on xda so i hope that - 1: i get it in the right place... and 2: i hope it helps
OK, so i wanted to root/flash away on my GS3 GT-I9300 but i'm a linux user (peppermint - variation of ubuntu 12.04) and i had a hard time finding the information i needed to be confident enough to attempt using a terminal with heimdall to flash a recovery image onto my fone so i could install .zips like the awesome supersu
I'll keep it short and simple, because it is... its just not a common way as most people are windows or mac and personally i loathe both
Attached is a .zip with everything you need and a copy of these instructions.
Here we go:
I have done this on my own GS3 GT-I9300 a couple of times, as well as one other GS3 GT-I9300
Put fone into download mode - Volume Down, Home and Power buttons together till it responds and connect to your pc
FAQ
Q: Does this root method erase my settings and apps?
A: No, it doesn’t touch a thing, very safe to do.
Q: I ended up in Kernel panic mode, what do I do?
A: Relax, that’s same as ODIN download mode, simply run Heimdall again and flash the files again, it will work.
Q: I don’t get ClockworkMod Recovery like you do, just get Android with belly open.
A: If you’ve updated to newer software update, the stock OS will over-write ClockworkMod Recovery on reboot. To fix this, make sure “auto-reboot” is checked off in ODIN, then take the battery out when it’s done flashing in ODIN. Then enter ClockworkMod Recovery right away
Note: below is the 'no reboot' command line for linux (make sure you specify the correct file path to the recovery image) - once flashing is finished, unplug the phone and remove the battery. Replace the battery and now boot straight to recovery and flash supersu.zip
Command line for flashing recovery image
sudo heimdall flash –recovery recovery.img –no-reboot
It really is that simple.
Humanspida
Credits to everyone on xda (too many to list but you know who you are) with threads providing help on this, as well as:
galaxys3root.com/galaxy-s3-root/how-to-root-galaxy-s3-on-linuxubuntu
which was the other place i eventually used
hope this helps.
.
thx for that man
also, if you're on a i64 based computer, do not use the last version of heimdall, but the 1.3.1 instead
github/Benjamin-Dobell/Heimdall/issues/43 (I'm not allowed to post links here...)
jobano said:
also, if you're on a i64 based computer, do not use the last version of heimdall, but the 1.3.1 instead
github/Benjamin-Dobell/Heimdall/issues/43 (I'm not allowed to post links here...)
Click to expand...
Click to collapse
This should be sorted now. As of November 2013 I've been successfully using the heimdall from ubuntu repositories (v1.4.0) on x86_64.

[Q] Having tons of problems please help

Ok so before I start I did try to put this on the developers page but I haven't made enough posts yet so it didn't let me .... I am having lots of problems with my Canadian Samsung galaxy s4 sgh 1337m .... I don't even know where to start .. first off im rooted so I have that covered I know that for a fact I also have team win recovery project ... now I want to rom buy my phone will NOT allow me to do it ... I will go online I will download the rom and the Gapps directly to my internal storage ... il go into it il do the whole wipe cache and Delvik and then factory reset .. then ill flash the rom and the Gapps and it says failed to flash the rom but the Gapps are successful .. I then flash my backup and proceed with my day .... YES I am downloading them for the correct device .... why is this happening ?? in my last post someone replied my Twrp may be out dated so I went onto my new computer and tried to install Odin again so I could flash the new Twrp to my device and my computer wont let me open Odin its a new windows 8 and it WILL NOT open it it gives me some Chinese letters and closes ... Why is this happening to me ?? why cant I open Odin or download Roms to my phone ... I've watched numerous instruction videos and it works perfectly for everyone accept for me .. someone please help me .... if my issue is resolved I will be donating to XDA .... this issue has been ongoing for weeks .
have you verified the md5 sum of your downloads?
also what backup method did you use?
muskratt said:
have you verified the md5 sum of your downloads?
also what backup method did you use?[/QUOTE
What is the whole verify thing your telling me about ive never had to do it before on other devices its just been simple .... also I use team win recovery project to create my backups
Click to expand...
Click to collapse
Lets start with what rom are you trying to flash? I noticed you are trying to flash gapps.....so I take it you are trying to flash a aosp rom.
Timtim1234321 said:
muskratt said:
have you verified the md5 sum of your downloads?
also what backup method did you use?[/QUOTE
What is the whole verify thing your telling me about ive never had to do it before on other devices its just been simple .... also I use team win recovery project to create my backups
Click to expand...
Click to collapse
Most roms provide an md5 number to verify a good download. It is a checksum that tells you the download is good. Get a file explorer like FX Explorer. Long press on rom you downloaded and then open details. It will have selection to do a checksum. The number should match the one from the rom site where you downloaded it from. Very common to get a bad download from time to time. You can also use terminal on pc, if you familiar with that and have adb on your pc. I prefer that method. I do it as soon as download to rom to pc.
Also, what version twrp are you on. Most prefer 2.5.0.2. This is a flashable zip for it.
https://www.dropbox.com/sh/yhrq0tia8512rj9/FCjN8C9RMT/TWRP_Flashable-2.5.0.2.zip
Flash thru your current twrp recovery. Unless you already have 2.5.0.2 or the very latest twrp seems ok. On 2.5.0.2 don't ever do a format where you have to type "yes" to comfirm format.
I always wipe thru the Advanced menu manually. I wipe System/Data/Caches 3x. Always do that flashing new roms on new versions to a rom, unless dev says otherwise. Or, on CM Nightlies. Even then it doesn't hurt to do a full wipe on occasion. Crap can build up over time dirty flashing and cause issues.
As Ax said, unless you are flashing a CM roms, no need for gapps. Also, depending on rom you are flashing you may need to flash your carriers kernel after rom.
So, more info may be needed to help you--:good:
Click to expand...
Click to collapse

Root, recovery and custom rom setup for Galaxy S5 (SM-G900I)

Hi all,
How are you?
I've been looking at these forums for most of the day, though am still quite confused. If someone could assist to clarify it would be much appreciated (as I would like to avoid to brick my phone).
I'm currently running Stock Android, Marshmallow version 6.0.1 with the 1 November 2016 Security Patch.
The model of my phone SM-G900I (Australian edition).
So I've come across the following links with the instructions on how to root and install recovery, though quite confusing.
http://forum.xda-developers.com/show....php?t=2699648
Recovery Query?
I understand that you need to download the Samsung Drivers and Odin.
I've downloaded the TWRP files for my phone - twrp-3.0.2-2-klte.img.tar and twrp-3.0.2-2-klte.img.tar.asc
Do I need to use the twrp-3.0.2-2-klte.img.tar.asc file at all?
Root Query
Is the towelroot method of rooting the S5 still relevant. The reason I ask, is that when I had posted an initial question on the XDA assist, I was advised that this may not work.
If the towelroot method is no longer relevant, would the CF-Autoroot method below work?
http://forum.xda-developers.com/show....php?t=2696537
If neither of the above methods work I have seen mentions of "flashing root" via TWRP.
Are there any known instructions on how to do that on XDA or any other website?
Or is it just a matter of obtaining the superSU zip file from https://download.chainfire.eu/696/supersu/ and flashing it?
The other information seems straight forward re using the Samsung Tool to backing up the device and the EFS .
Any help would be much appreciated.
Thank you.
just flash the .img file in download mode, and dont use the asc file at all. also dont use twrp 3.0.2-2, just use 3.0.2 (not 3.0.2-1 or 3.0.2-2 as they can be pretty buggy). Towelroot has long since become irrelevant back in the 5.0 days unfortunately so all you need to do is find the appropriate supersu.zip file and put it on your phones sd card (either internal or external), boot into recovery an install that zip via TWRP then reboot. Should be good to go. The classic "root via recovery" method
Paul_Lunardi said:
Hi all,
How are you?
I've been looking at these forums for most of the day, though am still quite confused. If someone could assist to clarify it would be much appreciated (as I would like to avoid to brick my phone).
Recovery Query?
I understand that you need to download the Samsung Drivers and Odin.
I've downloaded the TWRP files for my phone - twrp-3.0.2-2-klte.img.tar and twrp-3.0.2-2-klte.img.tar.asc
Do I need to use the twrp-3.0.2-2-klte.img.tar.asc file at all?
Root Query
Is the towelroot method of rooting the S5 still relevant. The reason I ask, is that when I had posted an initial question on the XDA assist, I was advised that this may not work.
If the towelroot method is no longer relevant, would the CF-Autoroot method below work?
http://forum.xda-developers.com/show....php?t=2696537
.
.
Click to expand...
Click to collapse
1. Plug in your phone and let the drivers load.
If phone unrecognized then head to Playstore you can find loads of apps for drivers
2.unplug your phone and turn it off
3.Load odin.
Some versions of Odin are outdated. So watch for that.
4.Holding your turned off phone. Hold the volume down power and home buttons. Done correctly it should bring you to a page saying custom Roms can damage your blah blah. Volume up to continue down to reboot. Plug your phone in then Push volume up if you feel ready to Join us Oh Padawan.
Now I am sorry for the lengthy information, most likely you have already gotten to this point, but I just want to make the same page for you and future readers. No point in asking a bunch of potentially irrelevant questions when one explanation is sufficient.
5. Odin should find your phone which will be represented by a lit up colored square on the left side indicating a Com:value# which number is of little consequence just tells you which port it found it at. Do not dwell on this.
6. Using an extraction program such as .7z take your CF auto root .Tar file, not the .Asc, and extract. You should be able to find an file with ap in the extension.
7.Take the path from the URL bar of this window including the name of the ap file and copy it over to Odin. In Odin you will see the place to put it is represented by AP.
8. CLICK START AND WAIT WITH JEOPARDY MUSIC.
9. IT MAY REBOOT A FEW TIMES BUT UNTIL IT SAYS success OR FAIL IN ODIN DO NOT TOUCH.
10. Repeat steps 7-9 for twrp.img
10. Now taking this was a success turn your phone off. Unplug and holding volume UP power and home Gets you into twrp recovery. If all is well you can reboot into system. Ignore the kernel warning.
^^^^^ theres the long explanation LoL ^^^^^^^^ i disagree with step 9, but meh
Hi all,
Thanks for the detailed instructions.
So it appears that you can perform the task in 2 ways, ie
* By initially flashing TWRP first using Odin (whilst phone is in download mode), then running the TWRP and then copying over the supersu file to the sd card, then flashing this.
Or alternatively, following the above steps which first
* roots the phone by using Odin within download mode and the "cf auto root" file. Then once again using odin and flashing the TWRP file via odin.
This is my understanding.
Please let me know if I've misunderstood, otherwise thanks all. I'll be giving it a try soon.
My eventual goal is to install the Resurrection Remix Rom, so fingers crossed.
Paul_Lunardi said:
Hi all,
Thanks for the detailed instructions.
So it appears that you can perform the task in 2 ways, ie
* By initially flashing TWRP first using Odin (whilst phone is in download mode), then running the TWRP and then copying over the supersu file to the sd card, then flashing this.
Or alternatively, following the above steps which first
* roots the phone by using Odin within download mode and the "cf auto root" file. Then once again using odin and flashing the TWRP file via odin.
This is my understanding.
Please let me know if I've misunderstood, otherwise thanks all. I'll be giving it a try soon.
My eventual goal is to install the Resurrection Remix Rom, so fingers crossed.
Click to expand...
Click to collapse
the cf auto root file usually isnt necessary, nor is flashing supersu really as the newer twrps have the root function built right in. Itll ask you if you want to enable superuser rights the first time you boot into it. Just swipe right and its rooted. Alternatively, flashing supersu from within twrp or the cf auto root also work. CF is the acronym for the dev ChainFire, he is the man (or she, and conversely "the woman" or whatever LOL)!! But the crux of what you need is twrp installed, from there youre usually set. Get rooted, make a nand of your stock setup and flash away. Also, id make sure to download the stock tar.md5 file of your phones firmware in case all goes awry (or to hell in a handbasket or enter clever euphemism for stuff going bad here) so you can flash the stock tarball in Odin if you get stuck in an endless bootloop and your stock restore file doesnt work. Also, when resoring from AOSP to TouchWiz or vice versa, does require a few boxes to be checked for it to work, but it happens all the time. Happy flashing and feel free to ask away if you run into anything man!
Thanks all for clarifying.
I did have some difficulties along the way though I did successfully install twrp.
So I downloaded one of the latest versions of odin on mums computer. Laiche the twrp tar file in the ap section. Loaded it then restarted the device. Ran recovery though it was still the default android recovery ie it appeared as though nothing had changed. I looked at another forum which suggested to turn ooff the auto reboot option in odin and perform a battery pull and then launch directly into twrp. This actually worked after much agony.
I then loaded a superuser zip and flashed it onto the phone.
Rebooted confirmed that the phone was rooted.
I then relaunched the twrp recovery and ran a nand? backup of my device. Then I attempted to install a custom rom ie resurrection remix. Unfortunately it did load though the screen appeared to freeze after boot and was therefore unusable. Thank goodness the restoring of the backup worked.
I'll reattempt the installation of a custom rom very soon. Fingers crossed.
Thanks.

Rooting Galaxy Tab A T590 help?

Well, I started following this guide https://forum.xda-developers.com/galaxy-tab-a/how-to/root-samsung-galaxy-tab-10-5-2018-root-t3887848, and I got as far as patching the boot.img with Magisk. But in the Magisk setting, there is no option to save the boot img as tar so when I try to load it into Odin it won't detect the file.
I'm really after rooting my device and would appreciate any help that would bring that
The last version of Magisk manager (7.1.2) lets you patch the entire AP section of the original ROM. The section is in .tar format so you shouldn't have problems.
Supercoach1970 said:
The last version of Magisk manager (7.1.2) lets you patch the entire AP section of the original ROM. The section is in .tar format so you shouldn't have problems.
Click to expand...
Click to collapse
So the AP file that's about 3gb that I downloaded to extract the boot.img do I just use Odin to patch the whole thing or do I do it via magisk manager? Sorry last thing I rooted was my galaxy s6 and it was much different.
Apexpredator12 said:
So the AP file that's about 3gb that I downloaded to extract the boot.img do I just use Odin to patch the whole thing or do I do it via magisk manager? Sorry last thing I rooted was my galaxy s6 and it was much different.
Click to expand...
Click to collapse
Yes, S6 was quite different. Now, once you've extracted AP from your downloaded ROM (it MUST be the exactly ROM, with same name of the one you have on your device!!), copy it on your device and from Magisk manager PATCH it. Done this, with Odin you can flash again the AP section. And, of course, pay attention on flashing operation: it's always dangerous! (I'm not responsible for problems you can have flashing the device.)
Supercoach1970 said:
Yes, S6 was quite different. Now, once you've extracted AP from your downloaded ROM (it MUST be the exactly ROM, with same name of the one you have on your device!!), copy it on your device and from Magisk manager PATCH it. Done this, with Odin you can flash again the AP section. And, of course, pay attention on flashing operation: it's always dangerous! (I'm not responsible for problems you can have flashing the device.)
Click to expand...
Click to collapse
Ok thank you
Supercoach1970 said:
Yes, S6 was quite different. Now, once you've extracted AP from your downloaded ROM (it MUST be the exactly ROM, with same name of the one you have on your device!!), copy it on your device and from Magisk manager PATCH it. Done this, with Odin you can flash again the AP section. And, of course, pay attention on flashing operation: it's always dangerous! (I'm not responsible for problems you can have flashing the device.)
Click to expand...
Click to collapse
But if I do brick it or get suck in a boot loop during the process, how would I restore the original firmware?
Apexpredator12 said:
But if I do brick it or get suck in a boot loop during the process, how would I restore the original firmware?
Click to expand...
Click to collapse
Exactly! That's the problem: pay attention!! Don't do dangerous operations! There's a good guide somewhere in this forum about installing Magisk.
I finally did it today. I rooted my T590
https://forum.xda-developers.com/galaxy-tab-a/help/root-t590xxu2ark2-magisk-gta2xlwifixx-t3937275

TWRP, Rooting and Custom Rom HELP SM-T510 Tablet Tab A 10.1

Hey guys, this is my first post. I just bought a Samsung SM-T510 and would like to unlock all the features. I'm currently trying to follow multiple guides on how to do so. To my understanding, my best bet is lineageOs 16. I've been following https://forum.xda-developers.com/gal...-16-0-t3987317 alongside with https://forum.xda-developers.com/gal...howto-t3989361 and I'm pretty confused on the method order i need to follow. What I mean is do I install rom first, TWRP, Magisk etc.?
More guides ive been following:
https://forum.xda-developers.com/gal...-10-1-t3934805
https://forum.xda-developers.com/app...mless-t3473445
https://topjohnwu.github.io/Magisk/i...system-as-root
I see posts saying I need and don't need Multidisabler so I'm confused on what I actually need: https://forum.xda-developers.com/gal...ption-t3963020
Another one: https://forum.xda-developers.com/gal...ption-t3919714
https://forum.xda-developers.com/gal...eries-t3918699
I have so many tabs open currently; I know I'm missing a few important ones.
So given all that info, i think i have all the software to do this between kernels, rom, twrp, odin, magisk, multi disabler? and i think thats all.
My sm-t510 build number is T510XXU2ASK5, looking through the lineage rom guide, I click the link https://samfrew.com/model/SM-T510/ and i see different versions. I'm honestly completely confused about this file and how I'm going to use it. I understand it to be the stock rom? as in factory software? With TWRP too, the numbers don't match my current build number leaving me very confused.
Do I need to downgrade my build number (i don't know if it's even a thing just asking)?
I think i can do everything relatively easy once I have an understanding of what to do first (order of things) and the specific files for the specific steps. When I'm reading these guides, I honestly have no idea which download goes for what. For ex. going back to https://forum.xda-developers.com/gal...-16-0-t3987317 like what do I need to download, the build number listed in notes regarding kernel or go to the download section right below and use that? Or both and if both, how do I use them separately for there a specific purpose? I cannot find anything that makes me feel comfortable rooting/custom rom on my device. Not comfortable in terms of I don't know what I'm doing exactly. I have put days of reading into this and still, I cannot figure out how to do this. I would really appreciate it if someone could help me. This is stressing me out and I would like to get this done before Monday due to me having some serious surgery. The reason being; I won't be as fresh on everything I've read recently.
I'm sorry if this post is choppy and all over the place. I'm just exhausted and clueless at this point. If I left any info out in order for someone to help me please let me know so I can provide it.
EDIT: The TWRP file ends in build number SK1, the file lineage-16.0-20191019-UNOFFICIAL-T510XXU2ASI4.tar.md5 doesn't match the TWRP file as well as my current build number; which ends in SK5. So nothing is matching the 3 last characters in my build number across all guides besides the samfrew link.
Also, I keep seeing i need a .tar TWRP file for recovery (?) but when I unzip both files are .img (named boot/recovery)
You don’t unzip the .tar files. Keep them as is.
secretwolf98 said:
You don’t unzip the .tar files. Keep them as is.
Click to expand...
Click to collapse
I don't get a .tar file until I unzip the folder; I get a filed with .tar.md5
My recommendation would be to first upgrade to T510XXS2ASK1 of the OEM firmware, since that's the latest version for which Samsung has published kernel source. Use the latest release of Odin and install BL, AP and HOME_CSC. After this, unlock the bootloader and prevent VaultKeeper from relocking it by always enabling Debugger Options while connected to the Internet after a factory wipe.
From there, you could just install TWRP, install the latest MultiDisabler, and live with the Samsung firmware. You could even install Magisk to root. However, I prefer a clean Google OS without all the OEM bloatware, so I'd recommend installing the latest Nexus Stock (which includes TWRP and the custom kernel that disables Knox boot security features). Again, use Odin and install it to AP and do a factory wipe in TWRP because file-based encryption is still unsupported on these custom ROMs.
You could install LineageOS instead, but I haven't yet updated that for T510XXS2ASK1. I've just been busy and Andy hasn't been releasing any new LineageOS 16 GSIs. We're also pretty close to releasing a LineageOS 17 build.
fountainb234 said:
I don't get a .tar file until I unzip the folder; I get a filed with .tar.md5
Click to expand...
Click to collapse
Just rename the file cutting off the .md5.
is it possible to downgrade from sk5 to sk1? you cannot upgrade to a later version, and I know downgrading can have reverse effects on the tablet. I have same tablet I would like to know. if I flash sk1 is there a way to fix it if it bricks?
Magendanz said:
My recommendation would be to first upgrade to T510XXS2ASK1 of the OEM firmware, since that's the latest version for which Samsung has published kernel source. Use the latest release of Odin and install BL, AP and HOME_CSC. After this, unlock the bootloader and prevent VaultKeeper from relocking it by always enabling Debugger Options while connected to the Internet after a factory wipe.
From there, you could just install TWRP, install the latest MultiDisabler, and live with the Samsung firmware. You could even install Magisk to root. However, I prefer a clean Google OS without all the OEM bloatware, so I'd recommend installing the latest Nexus Stock (which includes TWRP and the custom kernel that disables Knox boot security features). Again, use Odin and install it to AP and do a factory wipe in TWRP because file-based encryption is still unsupported on these custom ROMs.
You could install LineageOS instead, but I haven't yet updated that for T510XXS2ASK1. I've just been busy and Andy hasn't been releasing any new LineageOS 16 GSIs. We're also pretty close to releasing a LineageOS 17 build.
Click to expand...
Click to collapse
fountainb234 said:
Hey guys, this is my first post. I just bought a Samsung SM-T510 and would like to unlock all the features. I'm currently trying to follow multiple guides on how to do so. To my understanding, my best bet is lineageOs 16. I've been following https://forum.xda-developers.com/gal...-16-0-t3987317 alongside with https://forum.xda-developers.com/gal...howto-t3989361 and I'm pretty confused on the method order i need to follow. What I mean is do I install rom first, TWRP, Magisk etc.?
More guides ive been following:
https://forum.xda-developers.com/gal...-10-1-t3934805
https://forum.xda-developers.com/app...mless-t3473445
https://topjohnwu.github.io/Magisk/i...system-as-root
I see posts saying I need and don't need Multidisabler so I'm confused on what I actually need: https://forum.xda-developers.com/gal...ption-t3963020
Another one: https://forum.xda-developers.com/gal...ption-t3919714
https://forum.xda-developers.com/gal...eries-t3918699
I have so many tabs open currently; I know I'm missing a few important ones.
So given all that info, i think i have all the software to do this between kernels, rom, twrp, odin, magisk, multi disabler? and i think thats all.
My sm-t510 build number is T510XXU2ASK5, looking through the lineage rom guide, I click the link https://samfrew.com/model/SM-T510/ and i see different versions. I'm honestly completely confused about this file and how I'm going to use it. I understand it to be the stock rom? as in factory software? With TWRP too, the numbers don't match my current build number leaving me very confused.
Do I need to downgrade my build number (i don't know if it's even a thing just asking)?
I think i can do everything relatively easy once I have an understanding of what to do first (order of things) and the specific files for the specific steps. When I'm reading these guides, I honestly have no idea which download goes for what. For ex. going back to https://forum.xda-developers.com/gal...-16-0-t3987317 like what do I need to download, the build number listed in notes regarding kernel or go to the download section right below and use that? Or both and if both, how do I use them separately for there a specific purpose? I cannot find anything that makes me feel comfortable rooting/custom rom on my device. Not comfortable in terms of I don't know what I'm doing exactly. I have put days of reading into this and still, I cannot figure out how to do this. I would really appreciate it if someone could help me. This is stressing me out and I would like to get this done before Monday due to me having some serious surgery. The reason being; I won't be as fresh on everything I've read recently.
I'm sorry if this post is choppy and all over the place. I'm just exhausted and clueless at this point. If I left any info out in order for someone to help me please let me know so I can provide it.
EDIT: The TWRP file ends in build number SK1, the file lineage-16.0-20191019-UNOFFICIAL-T510XXU2ASI4.tar.md5 doesn't match the TWRP file as well as my current build number; which ends in SK5. So nothing is matching the 3 last characters in my build number across all guides besides the samfrew link.
Also, I keep seeing i need a .tar TWRP file for recovery (?) but when I unzip both files are .img (named boot/recovery)
Click to expand...
Click to collapse
without reading answers i can say that im with YOU! Im almost 3 days to root my T510! We must RAMDISK YES in Magisk but to do that we need to extract recovery.img (https://www.droidwin.com/install-magisk-in-recovery-root-android/) from stock original ROM T510OXM5CUJ1 and Im stucked at the part NORAMDISK trying to patch recovery.img with Magisk Manager (with recovery mode checked) but i only get the "waiting for device in ADB" and I conect disconect USB C and nothing...Still NO RAMDISK...
I used 3 different ROMS but no lucky and tried with firmware CUJ1 but no lucky again. Without "NORAMDISK: YES" no root...stucked. But i saw a T510 with OrangeFOX!
framC0 said:
without reading answers i can say that im with YOU! Im almost 3 days to root my T510! We must RAMDISK YES in Magisk but to do that we need to extract recovery.img (https://www.droidwin.com/install-magisk-in-recovery-root-android/) from stock original ROM T510OXM5CUJ1 and Im stucked at the part NORAMDISK trying to patch recovery.img with Magisk Manager (with recovery mode checked) but i only get the "waiting for device in ADB" and I conect disconect USB C and nothing...Still NO RAMDISK...
I used 3 different ROMS but no lucky and tried with firmware CUJ1 but no lucky again. Without "NORAMDISK: YES" no root...stucked. But i saw a T510 with OrangeFOX!
Click to expand...
Click to collapse
I just finished flashing the latest Nexus ROM and rooted it with Magisk merely by flashing the Magisk zip file. You can flash the Nexus ROM without first flashing anything else but the latest CUL1 (not CUJ1) stock ROM. Nexus includes both TWRP and gapps. The only time you have to patch things to get Magisk installed is when you are trying to root a stock ROM instead of a custom ROM. Custom ROMs always to the patching for you.
lewmur said:
I just finished flashing the latest Nexus ROM and rooted it with Magisk merely by flashing the Magisk zip file. You can flash the Nexus ROM without first flashing anything else but the latest CUL1 (not CUJ1) stock ROM. Nexus includes both TWRP and gapps. The only time you have to patch things to get Magisk installed is when you are trying to root a stock ROM instead of a custom ROM. Custom ROMs always to the patching for you.
Click to expand...
Click to collapse
Wow i will try this today and will post feedback. Are you on Android 11? Thank You!
UPDATE: So...flashed with T510XXU5CUL1...
From OEM stock firmware:
Unlock bootloader -> done
Hold Vol Up & Vol Down buttons during restart to enter Download mode
Install TWRP to AP with Odin --> twrp-3.6.0_11-2-T510XXU5CUL1-20220218.tar ---> this put the tablet into emergency mode... had to do again "Hold Vol Up & Vol Down buttons during restart to enter Download mode" and reflash it again. stucked at this point. cant flash TWRP with that! Maybe this TWRP file its for Android 11.2 and im on 11?
framC0 said:
Wow i will try this today and will post feedback. Are you on Android 11? Thank You!
UPDATE: So...flashed with T510XXU5CUL1...
From OEM stock firmware:
Unlock bootloader -> done
Hold Vol Up & Vol Down buttons during restart to enter Download mode
Install TWRP to AP with Odin --> twrp-3.6.0_11-2-T510XXU5CUL1-20220218.tar ---> this put the tablet into emergency mode... had to do again "Hold Vol Up & Vol Down buttons during restart to enter Download mode" and reflash it again. stucked at this point. cant flash TWRP with that! Maybe this TWRP file its for Android 11.2 and im on 11?
Click to expand...
Click to collapse
You don't need to flash TWRP if you flash https://forum.xda-developers.com/t/...k-for-2019-galaxy-tab-a-10-1-sm-t510.4234889/ TWRP is built into this ROM. After installing stock CUL1, did you boot it, connect to wifi, skip the rest of setup and then enable Dev mode before rebooting to download and flashing from Odin?
edit: Don't attempt to download from the regular download link. Use the link under Build archives that says Android File Host and scroll down till you find the CUL1 md5 file.
lewmur said:
You don't need to flash TWRP if you flash https://forum.xda-developers.com/t/...k-for-2019-galaxy-tab-a-10-1-sm-t510.4234889/ TWRP is built into this ROM. After installing stock CUL1, did you boot it, connect to wifi, skip the rest of setup and then enable Dev mode before rebooting to download and flashing from Odin?
edit: Don't attempt to download from the regular download link. Use the link under Build archives that says Android File Host and scroll down till you find the CUL1 md5 file.
Click to expand...
Click to collapse
AH! So donwloaded Nexus_Stock_CR_T510XXU5CUL1-20220219.tar and put into AP in Odin... and FAIL. Error: "Only official released binaries are allowed". Before i flashed with T510XXU5CUL1 didnt conect wifi and enabled usb debug.
EDIT: i dont have OEM unlock option in DEV but its unlocked, i checked when in downloaded mode it says "lock device and..." so its unlocked.
framC0 said:
AH! So donwloaded Nexus_Stock_CR_T510XXU5CUL1-20220219.tar and put into AP in Odin... and FAIL. Error: "Only official released binaries are allowed". Before i flashed with T510XXU5CUL1 didnt conect wifi and enabled usb debug.
Click to expand...
Click to collapse
You must connect wifi and enable Dev mode before flashing. If, after flashing CUL1, you went through the regular setup routine and put in a Google Account, you must also enable OEM in Dev options.
lewmur said:
You must connect wifi and enable Dev mode before flashing. If, after flashing CUL1, you went through the regular setup routine and put in a Google Account, you must also enable OEM in Dev options.
Click to expand...
Click to collapse
YES!!!!!! YOU ARE THE BEST!!!! Done! It booted directly to TWRP!!! THANK YOU!!!! So now will flash Magisk with twrp right? Alawys rooted my devices but this 510 wow...never saw a thing like this
Edit: The fight continues - So i did wipe and format data in TWRP and reboot system and im IN. Installed Magisk 23.0.apk and noticed that im still with "RAMDISK: no"... Searching how to do next to root! Im very near of the goal!!!! Finally! Big thanks to lewmur!
lewmur said:
I just finished flashing the latest Nexus ROM and rooted it with Magisk merely by flashing the Magisk zip file. You can flash the Nexus ROM without first flashing anything else but the latest CUL1 (not CUJ1) stock ROM. Nexus includes both TWRP and gapps. The only time you have to patch things to get Magisk installed is when you are trying to root a stock ROM instead of a custom ROM. Custom ROMs always to the patching for you.
Click to expand...
Click to collapse
I just finished flashing the latest Nexus ROM and rooted it with Magisk merely by flashing the Magisk zip file.
Click to expand...
Click to collapse
Sorry just one more question im very near. I will flash this Magisk (magisk_patched-24300_tkk90.img) in TWRP or Odin? And is this file from https://forum.xda-developers.com/t/...019-galaxy-tab-a-10-1-sm-t510.4234889/page-18 ?
My brain will explode few days in a row to get it rooted
EDIT: Since an older version dont know witch, Magisk Manager and Magisk are joined in apk so i just flashed Magisk 23.0.apk in TWRP...rooted!!! DONE!!!! FINALLY
framC0 said:
Sorry just one more question im very near. I will flash this Magisk (magisk_patched-24300_tkk90.img) in TWRP or Odin? And is this file from https://forum.xda-developers.com/t/...019-galaxy-tab-a-10-1-sm-t510.4234889/page-18 ?
My brain will explode few days in a row to get it rooted
Click to expand...
Click to collapse
Download latest Magisk from https://magiskapp.com/zip/ and flash with TWRP.
lewmur said:
Download latest Magisk from https://magiskapp.com/zip/ and flash with TWRP.
Click to expand...
Click to collapse
Thank you!! Im facing a problem when connect USB to PC...sometime tablet restarts and sometimes dont appear on PC even in device manager. Did you got this also? Not very important because i will access via FTP. Just to learn...thanks!
framC0 said:
Thank you!! Im facing a problem when connect USB to PC...sometime tablet restarts and sometimes dont appear on PC even in device manager. Did you got this also? Not very important because i will access via FTP. Just to learn...thanks!
Click to expand...
Click to collapse
USB cables are notorious for being flaky. Sometimes it helps to just turn the cable over and plug it back in. I always keep several on hand so that if I have connection problems I can try another cable.

Categories

Resources