yashsingh1/xdaforums huggingface dataset:
[Galaxy A3, A5, A7, A8, A9 Android Development] krilok:
Doesn't matter where you put it, as long as you flash it with TWRP... What I'm not sure of is if you can flash it anytime, or if you have to do it immediately after installing and booting to TWRP to make the recovery stick...

In any case, if you haven't yet flashed su and you can still boot to TWRP, it means you can flash it anytime, so just go ahead...
[Galaxy A3, A5, A7, A8, A9 Android Development] Anaklandak:
Custome binary blockey by frp block,please help me...
[Galaxy A3, A5, A7, A8, A9 Android Development] Anaklandak:
Samsung a5 2016 sm-a510fd cant open,coz custome binary blocked by frp...pls somrone help me.my mom almost killed me
[Galaxy A3, A5, A7, A8, A9 Android Development] krilok:
Hmm... Did you enable OEM unlock in developer settings? If you didn't, that's going to be a problem...
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Tut tut , not reading instructions. [emoji19]

DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU
[Galaxy A3, A5, A7, A8, A9 Android Development] dddShiver:
I installed TWRP like you said, how can I update firmware with it, i downloaded firmware from samsung-firmware in zip file ( .tar.md5 ). I know how to install it via odin. Do I just go and install it or?

Thanks
[Galaxy A3, A5, A7, A8, A9 Android Development] krilok:
Yes, otherwise your phone will be stuck forever like that. You now need to boot to download mode with the key combo, and fully flash the stock firmware through Odin. Once finished, let the system boot, go to developer options, make sure "allow OEM unlock" is ticked, and follow the full procedure to flash TWRP and SU again...

EDIT:

Sorry, mixed up the replies.

[MENTION=7642357]Anaklandak[/MENTION]: The above reply was for you. As [MENTION=4899305]ashyx[/MENTION] says in his comment, make sure you read all the instructions beforehand, and most importantly, understand them well...!

[MENTION=7560710]dddShiver[/MENTION]: You can go ahead and flash the stock MM firmware through Odin. In any case, I believe you'll probably need to do the whole TWRP and SU routine once finished since flashing the stock firmware will probably delete any custom recovery you've installed and restore your phone to the stock one (someone correct me if I'm mistaken)...
[Galaxy A3, A5, A7, A8, A9 Android Development] dddShiver:
I asked if I can instal firmware zip using TWRP, but thanks bro :D
[Galaxy A3, A5, A7, A8, A9 Android Development] krilok:
Sorry, misread... Edited previous message... ;)
[Galaxy A3, A5, A7, A8, A9 Android Development] Jen1234:
Hello again and thank you for the new file! It's working!

However, am I the only one that realised that the cellphone is being slower with the TWPR rooted version?

Thank you once again.
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
It's impossible for recovery to affect the running of your device.

It plays absolutely no part when the device is booted to the OS.

Are you actually referring to root?
[Galaxy A3, A5, A7, A8, A9 Android Development] Jen1234:
Have no idea what could be the cause. The only thing I did was put the TWRP and flash super su. Any ideas?
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
You're actually referring to root even so I doubt it's causing the issue.

Unroot by restoring your stock boot.img and see if it improves.

Use the uninstall option in SuperSU.
[Galaxy A3, A5, A7, A8, A9 Android Development] frumy:
Hi, i succesfull flash TWRP and super-su on my A510F, all works great, now i have a question, i want to do a full backup on my system but in TWRP i have more partitions that usual like in my latest A500FU or another phone, should i backup modem and radio and chace image i mean all partitions? Thank you.

And thanks for great job with root and TWRP.
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
You dont need to back up the system images as well as the normal partition backup unless you want a raw image of each partition.

For a normal backup check everything except the system image backups.
[Galaxy A3, A5, A7, A8, A9 Android Development] ankitnaik16:
Can u provide device tree i want to develop for this phone
[Galaxy A3, A5, A7, A8, A9 Android Development] frumy:
Ok thank you!
[Galaxy A3, A5, A7, A8, A9 Android Development] rezaeitabar:
hi, thanks for your help.

best regard.
[Galaxy A3, A5, A7, A8, A9 Android Development] r0nr:
Sorry for asking this but I really appreciate it if the below could be clarified.

I have seen a basic tutorial on youtube on how to flash with odin and read the steps in:

https://dottech.org/193481/how-to-install-twrp-recovery-on-samsung-galaxy-a5-sm-a510-2016-guide/

I have a CUBE T7 tablet which rooted and succesfully installed TWRP.

Now I have ordered a A5 (2016) model and I wanted the steps clear to me so I can immediately put TWRP on the device once it arrives

This is the TWRP for the Samsung Galaxy A5 2016 (I assume this because this is for the Exynos7580 chipset and from the dottech tutorial)

Can I install this TWRP version on an UNrooted (not-rooted) galaxy A5 2016

I need to un-check "Auto-reboot" but there are 2 tabs in Odin "Options" and "Pit", does "Auto-reboot" need to be unchecked in both tabs?

I only need to flash through the button "AP", others are not needed: BL, CP, CSC and UMS

Are there any other options within the tab "Options" and/or "Pit" (or anywhere else) that need to be checked/set?

How do I ROOT the device using the zipfile in this tutorial?

The tutorial in this thread states "Flash the file below with TWRP:"

I saw in this tutorial (is it spanish?)

https://www.youtube.com/watch?v=Js0eP4A7aK0

that the zipfile is placed within:

[PHONE]\Galaxy A5 (2016)\Phone\UPDATE-SuperSU-v2.76-20160630161323.zip

Then after TWRP is installed the youtube user navigates to the main menu and selects "install" and then points the above path to the zipfile.

Thank you!
[Galaxy A3, A5, A7, A8, A9 Android Development] Gogentle97:
When will the Galaxy A5 2016(A5100/A5108 HK/China) get MM Android 6.0 update?
[Galaxy A3, A5, A7, A8, A9 Android Development] karimrim:
Hi, I'm on lolippop 5.1.1 already rooted with SuperSU installed.

Trying to install your twrp_3.0.2-1_sm-a510 with odin on my A510F,

flashes OK, but i can't enter TWRP at all, Samsung logo appears, disappears, reappears, then phone starts as usual.

Tried like 5-10 times :S

I'm using build LMY47X.A510FXXU2APC4 ...

Help needed !

Edit : tried flashify, same happening

Edit2 : stock recovery seems gone
[Galaxy A3, A5, A7, A8, A9 Android Development] Gogentle97:
I meet this similar issue before.

But I finally successed.

I used the lastest Odin version,and reset to factory settings in stock recovery before flash in TWRP.tar.md5..(do not start your phone after reset to factory settings)

Good luck.

通过我的 SM-A5108 上的 Tapatalk发言
[Galaxy A3, A5, A7, A8, A9 Android Development] krilok:
Had the same issue until dev figured it out and put up the latest version.. Upgrade to MM, and then install TWRP for MM version; should work fine then...
[Galaxy A3, A5, A7, A8, A9 Android Development] karimrim:
latest odin version in this thread ?

---------- Post added at 11:45 AM ---------- Previous post was at 11:42 AM ----------

Ok i'll give that a try, thanks !

What build should i use ?
[Galaxy A3, A5, A7, A8, A9 Android Development] ccheng16:
It's confusing, there's two thread for twrp i dont know which one to follow
[Galaxy A3, A5, A7, A8, A9 Android Development] krilok:
If your phone has already detected there's an MM firmware upgrade, let it do it's thing, and once it's finished, flash ''twrp_3.0.2-1_sm-a510_mm_1816'' from the OP.

If on the other hand you want to manually upgrade from LP to MM using ODIN, you can download the firmware files for your model from this link: http://updato.com/firmware-archive-select-model.
[Galaxy A3, A5, A7, A8, A9 Android Development] karimrim:
OK thanks, can you gimme your build number just in case ? :)

Edit : By the way, the OTA won't launch saying i modified the device !
[Galaxy A3, A5, A7, A8, A9 Android Development] krilok:
That's right, it won't upgrade if you've 'modified the device', ie: lost stock recovery. In any case, it's always good to have a manual backup of the firmware handy...

This is my build number: A510FXXU2BPFA, and here's the direct link to the stock firmware I'm using (Spain): http://updato.com/firmware-archive-select-model?record=057EC1314D3511E68C14FA163EE8F90B (although there's a newer one available...)
[Galaxy A3, A5, A7, A8, A9 Android Development] karimrim:
Thanks a lot :)

Edit : worked flawlessly with your rom, i could go all the way to Xposed !
[Galaxy A3, A5, A7, A8, A9 Android Development] Gogentle97:
I used Odin 3.11.1before and succeed.

Now the lastest version should be v3.2

My system version is A5108ZUM1APF2

It have been proven that using old Odin(3.0.1) version can flash in TWRP.

tar.ma5 on this sys version.

BUT, once you go to recovery mode,it will go back to origin recovery.

Use the lastest Odin to flash in TWRP.tar.md5 on the lastest sys version BUT will not appear this issue by thoery.

If there is still bootloop issue,as far as I'm concerned, wipe the data can solve this problem.
[Galaxy A3, A5, A7, A8, A9 Android Development] mazdags:
PDA

A510FXXU2BPG7

CSC

A510FOXX2BPG7

Phone

A510FXXU2BPFA

iam trying to root with TWRP 3.0.2-1 and UPDATE-SuperSU-v2.76-20160630161323 but ihave this message recovery is not seandroid enforcing please any help
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Twrp works OK before Installing supersu?
[Galaxy A3, A5, A7, A8, A9 Android Development] mazdags:
yes i folow all steps but when reboot i have the message
[Galaxy A3, A5, A7, A8, A9 Android Development] refes:
Hi !

It worked with A510M/DS (Duos)

And for those who dont work, its crutial the step press buttons quickly for the reboot ;)

(sorry my english)
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
If twrp works fine then the issue is supersu. Try v2.77 or v 2.74
[Galaxy A3, A5, A7, A8, A9 Android Development] mazdags:
o.k i will try the other supersu versions thanks for now

i tryed both of supersu and finaly i have rooted phone

thanks alot for your help
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
You need to post which one worked for others.
[Galaxy A3, A5, A7, A8, A9 Android Development] karimrim:
Can Magisk method be installed afterward ?

Edit : yes it can, magisk systemless root works flawlessly
[Galaxy A3, A5, A7, A8, A9 Android Development] mazdags:
im sorry the working supersu is SuperSU-v2.78-201609011115

thanks a lot

https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.78-201609011115.zip
[Galaxy A3, A5, A7, A8, A9 Android Development] WoW2ndJob:
Hello guys, i've recently bought this phone and my backlight of keys are turning on every 1 minute for 5 seconds is that normal?

PS.Is there any custom rom or rom without bloatware? THANKS IN ADVANCE!
[Galaxy A3, A5, A7, A8, A9 Android Development] _BlastFM_:
Hello, im new to this kind of stuff ,is there an ez way to get root on A510F running marshmallow? Cause i got root on that phone when it was Lollipop, using cf auto root thing, but then when i upgraded to 6.1.1. by flashing it with Odin (got bricked cuz FRP lock turned on - had to flash stock firmware, which i only found vers 6.0.1 at that moment.) So now i seem to not be able to get Root with that cf auto root file, everything works fine, except when i check for root, it says i dont have it . RIP
[Galaxy A3, A5, A7, A8, A9 Android Development] karimrim:
Same happened to me, had to use a specific rom build for root to work...

Read a few posts back, i got some useful help
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
You don't need to use a specific rom, you just need to flash the latest supersu with twrp.
[Galaxy A3, A5, A7, A8, A9 Android Development] alien0101:
I have samsung galaxy A5 (2016) model. Its display is broken and I cannt see anything. Now I want to take backup of my data but unfortunately I did not enable USB debugging and I did not enable OEM Unlocking. Its on 6.0 version. I am trying to put in download mode and install custom recovery but ODIN always stuck at <ID:0/006> SetupConnection.. I dont know what to do..Do u guys have any suggestion.
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
You have to press VOL UP once in download mode.

You will know it's in download mode when you see the added message in odin.
[Galaxy A3, A5, A7, A8, A9 Android Development] alien0101:
which recovery to flash for A5(2016) model. can I flash without enabling OEM unlockin?
[Galaxy A3, A5, A7, A8, A9 Android Development] Haegemonia:
THX Dude, awesome, nice work!
[Galaxy A3, A5, A7, A8, A9 Android Development] _BlastFM_:
Aaaaaand how does twrp work? Kinda don't understand the guide in the beggining of the thread. Yeah I'm that dumb:laugh:
[Galaxy A3, A5, A7, A8, A9 Android Development] ivansk94:
I can't seem to get it to work

I do everything in order and when I load the recovery with the AP button and click start it says :

<ID:0/005> Added!!

<ID:0/005> Odin engine v(ID:3.1005)..

<ID:0/005> File analysis..

<OSM> All threads completed. (succeed 0 / failed 1)

any idea why ?
[Galaxy A3, A5, A7, A8, A9 Android Development] brljak83:
Hii

And first of all thanks to the OP for his big efforts becouse he does not own this

device and all what he say works.

Just installed TWRP and Rooted successfully becouse of his knowlegment of this device

He knows how to do things..

By the way I flashed TWRP on MM And used the SuperSU the OP provided..

Right now I would have only one question for the OP..

Since there is not a big support or better to say none of all support for this phone

What would come in handy is xposed

So my question would be wich one to install or any suggestions, warnings or what so ever from the OP

Thanks OP
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
You need to put the device in download mode first.
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Use Xposed framework by Wanam.
[Galaxy A3, A5, A7, A8, A9 Android Development] ivansk94:
I am puting it in download mode, that's why I asked here don't know what's wrong

Maybe it has to do with the status of the device being custom , as it was previously network carrier locked ?
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Please post a screenshot of odin.
[Galaxy A3, A5, A7, A8, A9 Android Development] ivansk94:
[IMG="1"]http://image.prntscr.com/image/1eda730aefed41b28bbf68632201c53b.png[/IMG]

[IMG="2"]http://image.prntscr.com/image/08c97443f0dd4fcbbc0dffb826757eba.png[/IMG]
[Galaxy A3, A5, A7, A8, A9 Android Development] brljak83:
Hii

I used the xposed by Wanam but it just gave me inside of twrp some kind of error

But when I used the xposed by rovo89 it flashed ok..but when the system

was trying to reboot it gave me the first screen wich but than instead of

going to samsung logo screen it was just black for minutes

I could not turn the phone of or get again in the twrp

I needed then to reinstall with odin all the things...first system then twrp then root

So I think I will wait for some good xposed that is really supported by our phone

Otherwise I wont try it anymore

Lost 3 hours trying to get it to work

Anyway thanks

Edit:

Found this mornin the xposed wich I can install without a bootloop or anything

Hope this helps someone

It is in the attachment all you need

1 flash in TWRP the xposed framework

2 reboot and flash the apk file

And thats it

The uninstaller is if it not works for you or got bootloop

Or evan want just to deinstall it you use than the uninstaller
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
I already told you to install Xposed by Wanam, so not sure what you installed beforehand.
[Galaxy A3, A5, A7, A8, A9 Android Development] harsh73:
Can i use this method to root A5 2016 model no SM-A510FD Indian version and updated to marshmallow 6.01 .
[Galaxy A3, A5, A7, A8, A9 Android Development] Bryan48765:
A510FXXS2BPH1. SuperSU 2.76 working after 3 flashes. Can I safely restore the boot and efs without bricking?
[Galaxy A3, A5, A7, A8, A9 Android Development] ladislav.heller:
Flashed the recovery successfully with Odin but I am simple unable to get into recovery.

Did 100 times the below but with no success:

Any idea?

---------- Post added at 09:19 AM ---------- Previous post was at 08:55 AM ----------

Update:

Now I succeeded. But this 4 buttons pressing at the same time is wrong guide and doesn't work. Power button should be released, once the device gets off from download mode.

BTW, thanks for recovery + now my A510F is rooted! :)
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
It states EXACTLY what you need to do in the OP instructions. [emoji19]
[Galaxy A3, A5, A7, A8, A9 Android Development] ladislav.heller:
I beleieve you, my friend, but that method did not worked for me.

Trust me, I tried it 100 times :D

Nevermind, finally I have TWRP and SU ;)
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
You're not paying attention. [emoji52]

The OP does NOT state to hold all 4 buttons. The guide you quoted does. The guide in the OP works everytime if followed correctly.
[Galaxy A3, A5, A7, A8, A9 Android Development] ladislav.heller:
You're right, that's true.

A question:

Once we have TWRP on our device, is it possible to install newer versions (of recovery) directly from recovery ?
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Yes, just the image install feature.
[Galaxy A3, A5, A7, A8, A9 Android Development] ladislav.heller:
I don't really know what u mean by this but I mean to create a ZIP package which can be installed from recovery and which will do the following:

busybox dd if=/PackagePath/recovery.img of=/dev/block/platform/13540000.dwmmc0/by-name/RECOVERY
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
You don't need to create a zip package. TWRP can flash the recovery.img and boot.img natively.

My build also supports SYSTEM, CACHE, RADIO and HIDDEN image flashing.
[Galaxy A3, A5, A7, A8, A9 Android Development] ladislav.heller:
WOW! Perfect!

It knows from the image filename, where it will be flased exactly?

For example recovery.img will be definitely flashed to recovery partition, right?
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
It will ask which partition to flash to.

Instructions are in the first post.
[Galaxy A3, A5, A7, A8, A9 Android Development] ccheng16:
Does supersu 2.78 works?
[Galaxy A3, A5, A7, A8, A9 Android Development] ladislav.heller:
[MENTION=4899305]ashyx[/MENTION], just FYI:

The OP says that current version is 3.0.2-1 (twrp_3.0.2-1_sm-a510_mm_1816)

but when I flash this (either from Odin or from TWRP as image) and go to TWRP, the version number is 3.0.2-0.
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
It's just a mistake with the version number.

I will correct it next time there is an update.
[Galaxy A3, A5, A7, A8, A9 Android Development] ranismo:
working on my A510F , this thread has been the only one that has worked for me .

I tried following another forums and youtube videos and always the same issue , Twrp odin installed without errors but not possible to access to recovery, only Samsung logo loop pressing buttons.

thx!!
[Galaxy A3, A5, A7, A8, A9 Android Development] Sophia.xda:
it cause 1 - 2min to load the TWRP recovery help me out in A510FD ?
[Galaxy A3, A5, A7, A8, A9 Android Development] picaadi:
I cannot downgrade to lollipop...gives me an error.. anybody tried?
[Galaxy A3, A5, A7, A8, A9 Android Development] xxx74:
Can i root my sm-a510f in Marshmallow with your tutorial ? Somebody try it with the same version ?

Android version 6.0.1 : MMB29K.A510FXXS3BPJ9
[Galaxy A3, A5, A7, A8, A9 Android Development] xxx74:
I try, but this is the supersu answer after first boot :

No SU Binary found and SuperSu can't install it, root manually again...

Edit : Worked with BETA-SuperSU-v2.52, thanks IvoDi !
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Use supersu v2.78 sr1
[Galaxy A3, A5, A7, A8, A9 Android Development] chemimoco:
When selecting to install an image I'm given the following partitions as destination options: Boot, Recovery, Cache Image, Radio Image and Hidden Image. No "System" partition, even if mounting or unmounting it from the "Mount" option in the main menu.

Am I missing something or is not enabled in the version of TWRP I'm using (twrp_3.0.2-1_sm-a510_mm_1816)? My device is the SM-A510M.
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Can you post the recovery log?
[Galaxy A3, A5, A7, A8, A9 Android Development] chemimoco:
Attached is the recovery log. Hope it helps.
[Galaxy A3, A5, A7, A8, A9 Android Development] llaine:
Can we root the phone by being on something else than windows too ?

I can't find the Odin tool for mac or linux ...
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
You need to flash the recovery.img with Heimdall.
[Galaxy A3, A5, A7, A8, A9 Android Development] llaine:
meaning that I should use Heimdall to install the TWRP ?
[Galaxy A3, A5, A7, A8, A9 Android Development] stanlin salu:
I have a doubt, i am new to samsung device, and know very less about knox, by rooting will it trip knox counter and void warranty? and is there a way to untrip it and claim the warranty or (unroot the device without any issue by flashing the stock fw via odin) .... (like with sony devices)? can someone explain it to me? Thanks :)
[Galaxy A3, A5, A7, A8, A9 Android Development] alexk0815:
Is there a TWRP available for SM-A510F Build MMB29K.A510FXXS3BPI8 ?

I tried latest but not working...stuck in bootscreen.

Sorry, not able to post recovery.img its not allowed for me at the moment.
[Galaxy A3, A5, A7, A8, A9 Android Development] yadu123:
Everything worked for me

I installed twrp

Rooted with super su

Now we need a cm.13 (request).

---------- Post added at 05:29 PM ---------- Previous post was at 05:27 PM ----------

Thankyou so much you saved my day. Now we are waiting for your rom (cm) thanks
[Galaxy A3, A5, A7, A8, A9 Android Development] ElCros:
Currently it's a little hard to compile the kernel from this device, in other forums (not xda) there are some great rom makers for this device, and they have tried to compile the kernel, but they haven't got it successfully, it seems it's hard, but the developers say that they'll do the effort to bring CM14 to this device.

Enviado desde mi SM-A510M mediante Tapatalk
[Galaxy A3, A5, A7, A8, A9 Android Development] voshchronos:
Thanks for this! Kinda unrelated, but are there any custom roms for this device? I only find custom roms for the A5, never for the A5 2016...
[Galaxy A3, A5, A7, A8, A9 Android Development] alexk0815:
Sorry for my post, its working... just tried it once again and TWRP is running.

But one little problem is left, otg with my harddisk is not working anymore. I used to backup over otg directly to my little harddisk. With this twrp version, the harddisk is powered and running but there is 0Mb diskspace detected.

Any help for this? Thanks Alex.
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Disable MTP.
[Galaxy A3, A5, A7, A8, A9 Android Development] :
No Knox counter once tripped cannot be undone:p

I think there was a workaround for that, but too dangerous(not sure) :(

So u cant get back ur warranty.. Its gone forever.:svetius:

Just flasing the stock boot.img should probably unroot it if u have done a systemless install of super su:angel::svetius:
[Galaxy A3, A5, A7, A8, A9 Android Development] :
heyy guys! I just bought this SM-a510M phone. already rooted+busybox installed. but my problem is: I cant live without Viper4Android. and it need SELINUX on PERMISSIVE mode to work. I googled around and didn't fix a way to change to permissive and i think its knox stuff related. Can somebody please help me on this? Thank you very much!

TL;DR= ROOTED,BUSYBOX OK,VIPER4ANDROID APP OK+VIPER4ANDROID DRIVER OJK (but fails to activate because SELINUX enforcing), SELINUX APP CANT CHANGE TO PERMISSIVE (KNOX RELATED)?
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Install magisk and the viper module