yashsingh1/xdaforums huggingface dataset:
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Nope, you need to ask teamwin and the answer will probably still be no.
[Galaxy A3, A5, A7, A8, A9 Android Development] ladislav.heller:
[MENTION=4899305]ashyx[/MENTION], what are those stuff mentioned in your signature?

I mean:

◘ Samsung encryption disable patch

and

◘ Samsung Adoptable storage enabler patch
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Self descriptive really.

Encryption patch disables Samsungs forced encryption.

Adoptable storage patch enables Adoptable storage on Samsung devices.
[Galaxy A3, A5, A7, A8, A9 Android Development] MoSH89:
After I root my phone and I uninstall preinstalled apps I lose root and if I restart the phone its blocks on the start (at Samsung...powered by android) and I need to reinstall rom. Why? What I do wrong??? I tried with SuperSU and Magisk and I have same problem.

First time I root with SuperSu and then I installed Magisk because I want to hide root from some apps that I can't hide with SuperSU and when I installed Magisk I lose root and now I installed SuperSU and its do same thing.

Please help me someone. Sorry my english.
[Galaxy A3, A5, A7, A8, A9 Android Development] copeppe:
I don't understand if is necessary to use Twrp 3.1.1-0 or is better Twrp 3.0.2.1 of this thread. I've read about OTG problems in Zonik's TWRP 3.1.1-0 thread

Can you explain please?
[Galaxy A3, A5, A7, A8, A9 Android Development] ladislav.heller:
Just for our information my case...

Did anybody experience the following:

Potentially (but not 100%) caused by root, the data transfer via USB stops working in normal boot mode and also in recovery mode.

Interesting fact, that it still works in download mode.

I tried basically everything possible, root/unroot, reflash, factory reset, flash factory ROM, but it did not help - USB data transfer still works only in download mode.

Finally I brought my device to repair service and they said: There was no hardware problem, they only just reflashed some special factory ROM and the problem is gone. They also said that it can caused by root.
[Galaxy A3, A5, A7, A8, A9 Android Development] tehrzky:
i experience this. but also download mode is not working also. it gave me a headache because my sister is angry with me for what happen to my phone. its not usable anymore is so fkng slow,no mobile data, it cant cannot be use. today i have luck after i insert my phone on my pc to charge and suddenly i heard a sound that it recognize and i know that the sign to try again the odin. and its working now. i dont know what happened it suddenly recognize but thn god i can now use my phone again.
[Galaxy A3, A5, A7, A8, A9 Android Development] Thisarar:
Have a Nougat tawrp a5 2016?
[Galaxy A3, A5, A7, A8, A9 Android Development] Mohd Masab:
Dear Kindly Upload TWRP Recovery For Samsung Galaxy C5 Pro (SM-C5010).

Device Name : Samsung Galaxy C5 Pro

Model Number : SM-C5010

Country : HONG KONG (TGY)

Android Version : 7.0

Baseband Version : C5010ZHU1AQK2

Build Number : MMB29M.C5010ZHU1AQK2

Please?
[Galaxy A3, A5, A7, A8, A9 Android Development] Devhost97:
Official TWRP 3.2.1 build for A5 2016 https://eu.dl.twrp.me/a5xelte/
[Galaxy A3, A5, A7, A8, A9 Android Development] Prakash Lakhara:
I am not able to enable adb in my sm-a510f.

my phone is frp locked now,

not found any helpful adb file or combination file,

every adb enable file, or comnation file giving error while flasing,

phone running on 7.0 nougat
[Galaxy A3, A5, A7, A8, A9 Android Development] Emperon:
Where can I find stock recovery files, can someone help ?
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Firmware.mobi
[Galaxy A3, A5, A7, A8, A9 Android Development] orclex:
I have an Samsung Galaxy A5 (2016) (SM-A510F). The TWRP above is for a5xelte. Is this compatible to SM-A510F? I don't find any new TWRP-SM-A510F builds anymore...
[Galaxy A3, A5, A7, A8, A9 Android Development] Devhost97:
Yes, it working with A510F.
[Galaxy A3, A5, A7, A8, A9 Android Development] Beirut3445:
Will this still work as of this date (24th march 2019)?

Because of the security patches and kernel updates I am skeptic if this still roots my phone.
[Galaxy A3, A5, A7, A8, A9 Android Development] spyrou007:
This is a good shout.

I am on Android 7.0 (Nougat). So I cannot use these.

Cheers for the effort though.
[Galaxy A3, A5, A7, A8, A9 Android Development] chris@xda:
I'm not sure if root is too important. Well nice to have. I just finished to flash TWRP and then LOS18.1(AOS11) coming from Stock Nougat.

AFAIK I could now flash Magisk with TWRP to obtain root and so on, if I wanted to or am I mistaken?
[Galaxy A3, A5, A7, A8, A9 Android Development] gamecuber6:
removed - i fixed the issue and the phone is back to a functional state
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
You're doing something wrong. Follow the instructions in the OP exactly.

You need to flash using AP then immediately boot to recovery after flashing or it won't work.
[Galaxy A3, A5, A7, A8, A9 Android Development] jpdurand31:
I tried again and now it works !!

Great job ashyx !
[Galaxy A3, A5, A7, A8, A9 Android Development] :
When will you provide the device tree??

Please do it soon?
[Galaxy A3, A5, A7, A8, A9 Android Development] Flyagaric:
It surely will trip the knox flag.
[Galaxy A3, A5, A7, A8, A9 Android Development] huztek:
I keep getting "binary size is too large: odin : recovery"

my phone is SM-5100 Asian variant

I've disabled FRP lock and I've installed CROM services

But every time I'm trying to install the recovery through Odin it keeps giving me that error
[Galaxy A3, A5, A7, A8, A9 Android Development] hyavas:
Failed to install recovery. I am not sure what went wrong. Here is the log on Odin3:

<ID:0/003> Added!!

<ID:0/003> Removed!!

<ID:0/003> Added!!

<ID:0/003> Odin engine v(ID:3.1100)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
No idea, which device do you have.?
[Galaxy A3, A5, A7, A8, A9 Android Development] hyavas:
SM-A510M
[Galaxy A3, A5, A7, A8, A9 Android Development] lourensbez:
After flashing with 3.0.2-1 my SM-A510FD is stuck in a boot loop. I tried to reflash but no luck sill stuck with the boot loop.
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Did you enable OEM unlock in developer settings?
[Galaxy A3, A5, A7, A8, A9 Android Development] lourensbez:
I did i can get to the recovery console but it reboots at the Samsung screen.
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
What do you mean the recovery console?
[Galaxy A3, A5, A7, A8, A9 Android Development] lourensbez:
The TWRP console.

I installed the official rom again and the phone is working tried to reflash with TWRP and it gets stuck in the boot loop again.

I have the SM-A510F phone
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Can you post the hardware info of CPU-X?
[Galaxy A3, A5, A7, A8, A9 Android Development] lourensbez:
Is this what you are looking for.

http://imgur.com/NbbLVhe
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Can you post what's under the cpu tab?
[Galaxy A3, A5, A7, A8, A9 Android Development] fscussel:
ashyx, I have the 2016 A5 exynos7580 A510M.

1) will this work?

2) if I flash TWRP on this and root, will I still be able to update over-the-air when 6.0 arrive to A5 2016?

3) What are the commands for download mode, flash mode, etc?

4) My phone if brand new, just unpacked, can I just follow the tutorial or do I have to do anything else?

thank you.
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Should work. You will be able to update via ota as long as you make a backup of the boot partition and restore it before downloading the ota.

Guide is in the OP.
[Galaxy A3, A5, A7, A8, A9 Android Development] fscussel:
Does this voids warranty??? Can they detect it?

also, how to make a rom backup including the boot partition as you've mentioned?
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
It will potentially void your warranty as it will trip the knox counter.

You can make a full backup with TWRP.
[Galaxy A3, A5, A7, A8, A9 Android Development] fscussel:
any method that doesn't trip the knox counter?

what is a knox-free rom??
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Not that I know of if Kingroot or kingOroot doesn't work.

Knox is a built in Security suite.

The software portion can be removed, but it is also embedded in the hardware and cannot.
[Galaxy A3, A5, A7, A8, A9 Android Development] fscussel:
do you have experience with kingroot or kinkoroot? I've read that data traffic gets way high after installing it, perhaps like a trojan ???
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Yes have used both with no issues.

However this is not the place to discuss it.
[Galaxy A3, A5, A7, A8, A9 Android Development] vuut:
Galaxy A5 - SM-A510F/FD/Y/M, Exynos7580

all model are A5-2016
[Galaxy A3, A5, A7, A8, A9 Android Development] fscussel:
Hello, could anyone please tell me how to update to the marshmallow update since I've root? What is necessary to do OTA?
[Galaxy A3, A5, A7, A8, A9 Android Development] bknez:
You can flash the MM firmware first and then TWRP.
[Galaxy A3, A5, A7, A8, A9 Android Development] fscussel:
I'm already TWRP.
[Galaxy A3, A5, A7, A8, A9 Android Development] IvoDi:
Any chance to root MM?

Edit...

Done.

Use TWRP & BETA-SuperSU-v2.52.zip

http://www.devfiles.co/download/0zkMFxlO/BETA-SuperSU-v2.52.zip
[Galaxy A3, A5, A7, A8, A9 Android Development] bknez:
I tried butcan't get root. Supersu is installed but no subinary
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
You need to use supersu beta v2.74 posted in the OP.
[Galaxy A3, A5, A7, A8, A9 Android Development] bknez:
Worked. Thanks. Where can I get xposed framework?
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Just search for wanam xposed
[Galaxy A3, A5, A7, A8, A9 Android Development] bknez:
I found it but after install I got reboots. Its the arm not arm64 right?
[Galaxy A3, A5, A7, A8, A9 Android Development] mondilv:
Thanks for work.

Just adbd need for happy.:)
[Galaxy A3, A5, A7, A8, A9 Android Development] fscussel:
If I remove root and remove twrp will OTA work?
[Galaxy A3, A5, A7, A8, A9 Android Development] Rorshan:
Well as far as I know OTA is only available in Russia for now.
[Galaxy A3, A5, A7, A8, A9 Android Development] fscussel:
I don't mean for MM in specific, I mean for general OTA updates.
[Galaxy A3, A5, A7, A8, A9 Android Development] radioxmen:
is that the root can work with the new Marshmallow version? is it causes the deep sleep problem?

Sorry for my bad english [emoji1]

Envoyé de mon SM-A510F en utilisant Tapatalk
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Chainfire fixed the deepsleep issue.
[Galaxy A3, A5, A7, A8, A9 Android Development] z750leovince:
i have same problems, i tested all version twrp

i have a510f

my cpux screen

http://i.imgur.com/ulmMGAp.png

http://i.imgur.com/V7pU7rT.png
[Galaxy A3, A5, A7, A8, A9 Android Development] MinasC:
Cannot flash SU through TWRP. When I boot to recovery mode I don't get the menu described in the guide of the first post. I get these options:

- reboot system now

- apply update from ADB

- apply update from external storage

- apply update from cache

- wipe data / factory reset

- wipe cache partition

- reboot to bootloader

- power down

- view recovery logs

I tried to apply update from external storage and I tried all versions of SU but every time I get "failed to verify whole-file signature" message. The procedure goes on nevetheless and finally it says "install complete" and the phone reboots to android but it's not rooted and SU is not installed.

My device is A5 (2016) SM-A510F running Android 5.1.1.

Please advice, I am desperate here...
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
That's because you've completely ignored the instructions in the OP and the linked guide. You still have stock recovery.
[Galaxy A3, A5, A7, A8, A9 Android Development] MinasC:
I tried to do as instructions said (I am new to this and instructions are made for experts. e.g. I had to check other posts to learn what "flash" means :silly: )

The one thing I know I did differently was to press home+power+vol up to get to recovery mode, because when I pressed home+power+vol down the phone opened in download mode.

Anyway, sorry for not having enough knowledge of this, but could you tell me what to do to solve this? What is OP? And I followed the guide but probably not good enough. How do I fix this "stock recovery" issue?
[Galaxy A3, A5, A7, A8, A9 Android Development] z750leovince:
sorry to ask for my problems.

have you idea for my problem...when reboot i have boot loop at "galaxy a56" screen and not entered at twrp or stock recovery
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
You need to pay particular attention to this part also mentioned in the guide:

Uncheck Auto-reboot

After flashing immediately reboot to recovery by holding POWER + HOME + VOL DOWN.

As soon as the screen goes blank change to VOL UP whilst still holding POWER + HOME.*

You should now see TWRP recovery.

If you don't do the above you will end up with stock recovery again.
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Maybe needs a kernel update in the recovery ramdisk.

If you have the stock firmware for your device send me the recovery.img and I'll see what I can do.
[Galaxy A3, A5, A7, A8, A9 Android Development] z750leovince:
how extract recovery.img in my phone?
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Extract it from the stock firmware with 7-zip.
[Galaxy A3, A5, A7, A8, A9 Android Development] z750leovince:
i download it. my rom is xef 5.1.1 pe2 version
[Galaxy A3, A5, A7, A8, A9 Android Development] MinasC:
You were right off course, I needed to pay attention to every word of the guide and I finally made it. Rooted with no problems through the SU installation. Thanks for your time and effort!
[Galaxy A3, A5, A7, A8, A9 Android Development] z750leovince:
https://drive.google.com/file/d/0BxGrmxSHmMzkcDJVVl9GTlRKVUU/view?usp=sharing

link for my stock recovery

thanks for your help
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Already confirmed.
[Galaxy A3, A5, A7, A8, A9 Android Development] Pogboom070:
TWRP isn't avaiable for a510F. Give a concrete link.
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
What are you talking about, you're already in the thread?
[Galaxy A3, A5, A7, A8, A9 Android Development] Harjito:
sorry if wrong forum .

My phone SM-A510FD already cusrom . but I have no backup . Then , I extract the official firmware , and got some .img file . If I flash all the .img files from twrp ( except recovery.img ) :

1. Will my phone back to official firmware

2. Will my twrp still exist ?

Thank you for the answer .

sorry for bad English
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
You don't extract it. Just put the md5 in the AP slot of odin.
[Galaxy A3, A5, A7, A8, A9 Android Development] krilok:
Cannot boot to TWRP after flashing tar. file...

Maybe someone can give me a hand... I may be doing something wrong here, but I can't for the life of me reboot to TWRP with the key combo. I've followed OP's procedure as stated, and the TAR file is correctly flashed by ODIN, but when I get to the final step of pressing POWER + HOME + VOL DOWN to reboot, and then just letting go of DOWN to switch to UP while HOME and POWER are still pressed, all I get is ''recovery is not seandroid enforcing'' in red, and my phone boots back to the system.

My phone is A5 2016 (A510F) on MM 6.0.1 (not branded); could it be maybe I've the wrong recovery file, that's why it just doesn't load TWRP when rebooting? I've flashed ''twrp_3.0.2-1_sm-a510.tar'', which from other users's comment should work on MM... Any help would be greatly appreciated...
[Galaxy A3, A5, A7, A8, A9 Android Development] SimboXXX:
Try, from powered off, directly booting with power/home/volume UP. For some reason that's the only thing that gets me into twrp now. (but using 5.1.1/twrp 3.0.0)
[Galaxy A3, A5, A7, A8, A9 Android Development] krilok:
Thanks for the help, but that combo works fine if my phone is off, although it takes me to the stock recovery... What I can't get is into TWRP immediately after flashing through Odin, so even though the flash is done correctly, it just won't stick since the stock recovery replaces it on boot... Still looking for ideas... Anyone on MM: how did you manage to get it sorted out? Maybe the OP can shed a little light, cos right now I'm just clueless...
[Galaxy A3, A5, A7, A8, A9 Android Development] krilok:
Tried reverting back to 5.1.1 and flashing again. As soon as I flash TWRP with Odin and try rebooting to recovery with the key combo, I get the same result; my phone will keep boot looping only till I let go of the power button.Then only will it boot, but take me back to system, not recovery...

I also noticed that if I power off my phone and manually try entering the stock recovery with the UP+HOME+POWER combo, it will do the same (boot loop) as if the stock recovery was also missing. After several attempts with exact same results, my conclusion is that whenever I try to flash TRWP, not only does it not install, but my stock recovery gets removed, too...

I really don't' know what's going on. Maybe it's got nothing to do with this, but I've attached an image of the process going on on my phone while I'm flashing. Although Odin says the flashing is done (Pass!), the progress bar on my phone is missing on little bit at the end (check image)... Is that normal, or is it only me being paranoid?

Any other suggestions or ideas?

http://dl-1.va.us.xda-developers.co....jpg?key=I5Ff4xLWRreKiRVLNwfEhg&ts=1469291721
[Galaxy A3, A5, A7, A8, A9 Android Development] SimboXXX:
I just updated to MM and flashed twrp. The screen after flashing is like yours so no problem there. The key combo should be done directly from that screen without turning the phone off. Worked ok for me.
[Galaxy A3, A5, A7, A8, A9 Android Development] krilok:
Which recovery file did you flash? Mind sending me the link?

And just to be sure, can you please tell me your exact steps? Enable OEM unlock, flash the file, and when Odin says passed, while the phone is still connected to computer, keep VOLUME DOWN+HOME+POWER pressed till the screen goes off, then just release VOLUME DOWN and switch to VOLUME UP while keeping HOME+POWER pressed? For how long approximately and which buttons to release, if any? Because as I mentioned earlier, if I keep pressing VOLUME UP+HOME+POWER it just boot loops until I let go of POWER...

Thanks in advance...
[Galaxy A3, A5, A7, A8, A9 Android Development] SimboXXX:
I used the exact twrp file in the OP. Those steps are correct. I unplugged the usb after flashing. After home/power/vol down I released all buttons before home/power/vol up but i don't suppose that makes a difference.
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Make sure the USB cable is out. When the screen goes blank and you change to VOL UP when you see the Samsung splash screen hold for a couple of secs then you can let go of all the buttons.

Which model is your device exactly can you post your build info?
[Galaxy A3, A5, A7, A8, A9 Android Development] krilok:
Thanks, SimboXXX and Ashyx for the help, but still, it's a no go. I've even tried on a second phone (my wife's) just in case mine was weird...

Here's a screenshot of phone info:

Edit: Model is SM-A510F, bought unlocked and unbranded in Spain...
[Galaxy A3, A5, A7, A8, A9 Android Development] SimboXXX:
Sorry, doesn't help, but my software is virtually identical. Only difference is build PF9 instead of PFA.
[Galaxy A3, A5, A7, A8, A9 Android Development] NelDaSi:
Ok so after 2 days of flashing stock,twrp and SU im finally giving up :(

i tried everything thats on the OP, i did my research on XDA, i lookt everywhere on google but i just can't seem to boot in to twrp recovery. in did every single trick i could come up with but nothing. if i flash stock recovery them the buttons combi work just fine, its only with twrp that i cant get it to work. i think i have the same problem as [MENTION=2913096]krilok[/MENTION] but no sollution :( Sad days, very sad days .
[Galaxy A3, A5, A7, A8, A9 Android Development] krilok:
I'm glad to know I'm not the only one... I was actually beginning to think age had finally caught up with me and I was now too slow to perform the button combo on time [emoji6]

Anyhow, don't give up just yet. As a temporary workaround, I've managed to root the phone using CF Autoroot, and installed Xposed using Flashfire instead... Just for the fun of it, I also tried installing the recovery through Flashfire, but ended up in the same situation; no stock, no Twrp... If you need more details on how to get it done, let me know...

Meanwhile, we'll need to be patient and hope maybe someone can come up with a definite solution...
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
I recompiled twrp with a different kernel and sent it to another member for testing but have had no response so it's here instead:

https://www.androidfilehost.com/?fid=24591000424949365
[Galaxy A3, A5, A7, A8, A9 Android Development] z750leovince:
i tested your link.

i install stock firmware,reboot, and install twrp as your link but when reboot i have black screen after "samsung galaxy a5 16" screen, and wait but stay black
[Galaxy A3, A5, A7, A8, A9 Android Development] krilok:
Tried it too... Screen stays black after Samsung logo...
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
That usually means twrp is working, but the GUI isn't showing.

After booting to twrp can you post the recovery log in cache/recovery/last_log
[Galaxy A3, A5, A7, A8, A9 Android Development] z750leovince:
i don't have any file in cache folder. it's possible but my phone is not root?
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Yep you need root first.
[Galaxy A3, A5, A7, A8, A9 Android Development] krilok:
I've got root... Give me a couple of minutes and i'll try and post it...

---------- Post added at 01:16 PM ---------- Previous post was at 01:00 PM ----------

Unfortunately, no files are visible in cache/recovery folder, even with root...
[Galaxy A3, A5, A7, A8, A9 Android Development] z750leovince:
me too, no file in cache folder
[Galaxy A3, A5, A7, A8, A9 Android Development] NelDaSi:
Yes please, the reason I'm trying to install twrp is to get xposed running.

Not at home right now, will try it asap, and ill have a look if i can find the logs.

Ps: should i install stock firmware before i try this?
[Galaxy A3, A5, A7, A8, A9 Android Development] krilok:
It's pretty easy, but I don't want to go too far OT, so I'll send you a PM with the details...

EDIT: PM sent.
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Does the recovery folder exist?

You can try the following while booting to twrp, even with blank screen.

You need adb for this:

adb devices

(wait for response, should see device serial no.)

adb pull /tmp/recovery.log
[Galaxy A3, A5, A7, A8, A9 Android Development] NelDaSi:
I just tried it but i also have a black screen, i went to cache/recovery (with root access) but there's no log file there.

im whilling to try it but not sure what i need to achive this.
[Galaxy A3, A5, A7, A8, A9 Android Development] krilok:
This is the ADB result while on black screen (supposedly in recovery mode):

error: device not found

On the other hand, this is the result while phone is on and running:

remote object '/tmp/recovery.log' does not exist
[Galaxy A3, A5, A7, A8, A9 Android Development] z750leovince:
recovery folder do not exist...i have just cache folder with nothing inside

sorry but i dont understand step with adb
[Galaxy A3, A5, A7, A8, A9 Android Development] ashyx:
Can one of you with the blank screen or bootloop issue post the recovery.img if you have the stock MM firmware.

By the way are you blank screen users waiting at least a minute for twrp to boot?
[Galaxy A3, A5, A7, A8, A9 Android Development] krilok:
Yes, between 3-5 minutes in my case...
[Galaxy A3, A5, A7, A8, A9 Android Development] z750leovince:
me too, i waiting a few minutes...