[Galaxy A3, A5, A7, A8, A9 Android Development] Fild5x:
To all those (also for [MENTION=6357808]ByKrKy[/MENTION]) that might have a5h phone behaving like mine I will try to explain based on what [MENTION=5297133]Fadzz[/MENTION] and [MENTION=6697202]saeeds2000[/MENTION] tried to suggest. I have copied and pasted what [MENTION=5297133]Fadzz[/MENTION] had posted (please forgive if that is wrong) and will just put in brackets what I did where need arises. Please read carefully. Read through everything at first. I will try to be as basic as possible and I believe that you are all able to get out of any unforeseen circumstances.

-At first back up a root explorer app apk (e.g. ES file explorer..) into your SD card or internal memory (I used ES)

-Download the ROM, gapps, and the SU (Download the latest ROM v5.6.9-20160602)

-Download the zip from this link https://drive.google.com/file/d/0B3s...w?usp=drivesdk (I am not good at giving links but go to [MENTION=5297133]Fadzz[/MENTION] post od the other)

-Unzip the rom and copy the "build.prop" file in the zip file u downloaded to system folder in the rom and the "updater-script" file to /META-INF/com/google/android. (Please use winRAR. This is how I did it: I created a folder on desktop and called it RR. I copied ROM to this folder. Extracted the rom here and had the 4 folders showing among them the 2 folders mentioned here. Copied the files accordingly. I then highlighted all the 4 files and sent to zip again. I renamed the new ROM with the same words as the original rom with a slight difference like ResurrectionRemix----------(1).zip which I later copied to my SD card).

-Copy the boot.img file from the ROM and place it outside the zip. Re-zip the modified ROM. (This was not necessary on my phone)

-Place the ROM, gapps, SU and boot.img in your SD card or internal memory.

-It's probably best to come from stock ROM, flashing this ROM on some deodexed ROMs might work and it might not, so flash stock ROM just to be safe. (yes. I had to reinstall stock rom after cleaning the phone like starting afresh using ODIN as provided by [MENTION=6446790]mygalaxya[/MENTION])

-Root your phone (using Kingroot is the easiest way) and open ES file explorer (or any root explorer with root priviliges)(I actually used CF auto root using ODIN).

-Go to /system/lib/ and copy libsec-ril.so and libsec-ril-dsds.so to your SD card (I used ES file Manger from play store)

-Copy /firmware/image/ and /firmware-modem/image/ folders to your SD card (Here simply press and hold on say /firmware folder and a blue check will show and check /firmware-moderm folder click on copy and paste in the SD card).

-Flash TWRP (from here http://xdaforums.com/sams...500fu-t3150843) using flashify. After flashing, don't reboot from the app, exit the app and power off your phone. (I used ODIN to install TWRP 3.0.2.1. On my phone as I have already said if I use flashfy, the rom won't reboot. That is why I used ODIN. on my pjone there is no need to uncheck auto reboot in ODIN but just install. However, on rebooting it is important to note that on my a5h, the phone stops. I have to press the power button to start the rebooting process).

-Go into recovery, wipe all partitions except Internal Storage and SDCard. (Ok here I could wipe all apart from SDcard and the USB one)

-Flash the ROM, google apps, and the SU. Press the flashing "image" option on the lower right, flash the boot.img (for my a5h, there was no need to flash the image. I reboot after intalling the 3 phone goes off and I turn it back on)

-Go to mount, and check the system box. (Please here you need to go back to recovery)

-Go to advanced -> twrp file explorer

-Copy libsec-ril.so and libsec-ril-dsds.so to /system/lib/ (you can only copy them one by one)

-Reboot the device, it won't recognize SIM card or Wifi so that's fine just skip them.

-Install the backed up root explorer apk and give it root permissions (Re-install ES file manager, go to tools and click on root explorer. Then Mount all folders indicated as RW. Please go to settings and scroll down to superSU click and make sure that all apps are actually given permission. Ensure a green # is showing against ES by clicking on prompt first and then grant).

-Copy the files inside the backed up /firmware/image/ and /firmware-modem/image/ folders into /system/etc/firmware (using ES click on /firmware, /image and then on any of the files there and press and hold untill it is checked with a blue tick. Goto menu and select all then copy and paste accordingly. Do the same for the others)

-Reboot the device, there should be nothing wrong besides some minor stuff (FM radio has stopped..)

Quite long there and may be confusing but please try by all means to make sense out of this. It is important to know your phone and its abilities. I am sure you will manage.