Rooting Samsung Galaxy Young 2 (SM-G130HN) I am having issues in rooting the Samsung Galaxy Young 2 (SM-G130HN).

I did search online and found a root file named G130HNXXU0ANH2_ROOT.tar. The method described in various android forums did not work : everything seems fine, but when I restart my phone and check with SuperSU, I am not root.



and I suspect the reason is that my phone has a different baseband number. Mine is G130HNXXU0APA2. Considering the name of the root file name, it might only work on baseband number G130HNXXU0ANH2.

I've checked on this list How do I root my Android device? and I'm afraid my phone is too old (for this sh**)...

Am I right in thinking that the reason of the fail could be the band base number? Is it possible to change this number so the file I have would fit?

Another solution could be having the right root file corresponding to my baseband number but I can't find it.
The standard way of rooting is to use a custom recovery to install a SuperSU zip, which not only contains the SuperSU app itself, but also proper binaries and tools. Luckily, this unloved device still has a custom recovery available in this XDA-Developers thread.

Install the CWM package via Odin, then install SuperSU from it. Don't bother with the build.prop and custom ROM mess, those are for another purpose.



I was helped by @Andy's answer and I wanted to add more details about the rooting of the Samsung Galaxy Young 2 (SM-G130HN).  Bebs

Root

After the first steps described in the question, I had to try another rooting method. I found one in this post How do I root my Android device?, and the ont that worked is


  Kingoapp


I had to download it from my hpone because my PC navigator detected a troyan. It indeed worked with one clic.

CWM

At this moment, I still could not use SuperSU --the one dowloaded from Google Play--, my phone was seen as rooted, but there were a problem with SuperSU.

I learned from this page I could manually install another SuperSU package but first I had to allow my phone to be CWM.


Download CWM.
Start Odin.
Start the phone in Download mode by holding Volume Down, Home and Power. Plug the phone via USB to the PC.
In Odin, check AP and browse to CWM.tar file. Click Start.
Rebbot the phone (in my case it rebooted itself).


Now your phone can be CWM.

SuperSU.zip


SuperSU.zip file can be downloaded here.
Store the file into a mini SD card, and plug the card in the phone.
Start your phone in CWM by holding Volume Up, Home and Power.
The the menu is clear and you can install the zip file.
Then browse in the menu to reboot the phone.


Now SuperSU works.

I also finally could remove crapy bloatware with Titanium Backup.