yashsingh1/xdaforums huggingface dataset:
[Galaxy A3, A5, A7, A8, A9 Android Development] handgun50:
Tutorial for a5f

Tutorial for a5f by combining different tutorial from this forum

STEP A : GETTING LIBSECRIL, FIRMWARE ETC

Flash latest lollipop firmware via odin (check auto reboot and f.reset)

After flashing, do a factory reset via stock recovery

Reboot the phone, and let it startup. Not neccessary step but recommended.

Download TWRP zip and superSU zip from here to external sd card

Then flash TWRP (uncheck auto reboot)

After pass show up in odin, unplug usb then hold POWER + HOME + VOL DOWN.

As soon as the screen goes blank change to VOL UP whilst still holding the other buttons.

You should now see TWRP recovery

Flash superSU zip, then reboot

Install root file explorer (for example ES file explorer), grant root access.

Go to /system/lib and copy libsecril.so and libsecril-dsds.so to external sd card

Then copy /firmware/image files and /firmware-modem/image files to external sd card. Make a new folder to paste all that files

STEP B : PREPARING THE ROM

Download latest RR rom, gapps, root file explorer apk

Download modified updater-script and 88sim (look attachment)

Open latest RR rom via winrar and while still in winrar, browse to /META-INF/com/google/android. You will see updater-script there. Drag the modified updater-script to the winrar browser then replace it

Copy modified RR rom, gapps, superSU, 88sim, and root browser apk to external sd card

STEP C : FLASING RR

Wipe Data, Cache, Dalvik Cache and format /system

Install the ROM

Flash the Google Apps and SuperSU then turn off the phone.

Then boot to recovery

Go to mount, and check the system box

Then go to Advance->TWRP File Manager, and copy both libsecril from external sd card to /system/lib

Reboot to system, then wait. First boot will take some minutes.

It won't recognize SIM card or Wifi so that's fine just skip them

Install root file explorer, grant it superuser then copy the /firmware/image files and /firmware-modem/image files from external sd card to /system/etc/firmware

Reboot

Now, check your wifi and SIM are working or not

If SIM is not working, copy 88sim to system/etc/init.d and set file permission to 755

Reboot and enjoy

[MENTION=7154238]ahmed00ali[/MENTION] [MENTION=7527917]cagaoloz[/MENTION]

Hope it helps
[Galaxy A3, A5, A7, A8, A9 Android Development] ahmed00ali:
I hope [MENTION=6446790]mygalaxya[/MENTION] could enable (auto update) feature which will make this process easier...

As we cant really do this long process every time there is a new build:rolleyes::eek:
[Galaxy A3, A5, A7, A8, A9 Android Development] handgun50:
[MENTION=6446790]mygalaxya[/MENTION]

About backlight button, can you check about this commit?

https://github.com/ResurrectionRemi...mmit/31c44600c9947fb740399e2d72d147bbc6d2f6e1
[Galaxy A3, A5, A7, A8, A9 Android Development] toshar36:
It is the installation process video if you don't know how to flash RR ROM or any problems for installed RR ROM you can watch this video. I will try to show some basic things

Video link :- https://www.youtube.com/watch?v=tS1Y6Ar8vWQ
[Galaxy A3, A5, A7, A8, A9 Android Development] midhun.akd:
which xposed framework can used for this rom ??
[Galaxy A3, A5, A7, A8, A9 Android Development] toshar36:
Xposed version-85 sdk23-arm.zip

http://dl-xda.xposed.info/framework/sdk23/arm/
[Galaxy A3, A5, A7, A8, A9 Android Development] DeadSquirrel01:
Hi, I've solved bootloop by following this guide http://xdaforums.com/google-nexus-5/general/guide-to-fix-persist-partition-t2821576
[Galaxy A3, A5, A7, A8, A9 Android Development] thinsoklearp:
on stock rom right bro?
[Galaxy A3, A5, A7, A8, A9 Android Development] DeadSquirrel01:
Nope, you can boot in twrp and follow that guide, I don't know if it will work for you but i followed that guide bcs i got bootloop on any cusom rom (stock firware worked well)
[Galaxy A3, A5, A7, A8, A9 Android Development] thinsoklearp:
ok i'll try soon
[Galaxy A3, A5, A7, A8, A9 Android Development] thinsoklearp:
well i follow the instruction but after i type adb shell is show

C:\Windows\system32>adb shell

'adb' is not recognized as an internal or external command,

operable program or batch file.

how can i fix it?
[Galaxy A3, A5, A7, A8, A9 Android Development] DeadSquirrel01:
i know, you have to download adb, google it
[Galaxy A3, A5, A7, A8, A9 Android Development] Dags26:
Pare..

Tiga Pinas din ako.... kamusta pa paggamit ROM? No sim card detected din ba sayo?
[Galaxy A3, A5, A7, A8, A9 Android Development] fahadasad:
Is Dual Sim Working On A500F ? Like does cellular data Works on sim 2 ? and can i make calls ?
[Galaxy A3, A5, A7, A8, A9 Android Development] afcardo:
This ROM works for SM-A500M? I'm running RR 5.6.
[Galaxy A3, A5, A7, A8, A9 Android Development] djosue1034:
Yeah, it works
[Galaxy A3, A5, A7, A8, A9 Android Development] zlrhc:
Ok na boss na fix ko na lahat maliban sa bluetoot d makapasa ng file.. Pro nakakareceive nmn ako... Minor lng nmn un .. Ikaw nakapagflash kana rin ba??
[Galaxy A3, A5, A7, A8, A9 Android Development] thinsoklearp:
i have install adb and here the result

C:\Windows\system32>adb shell

~ # [6ne2fsck /dev/block/platform/msm_sdcc.1/by-name/persist

e2fsck 1.42.9 (28-Dec-2013)

e2fsck: No such file or directory while trying to open /dev/block/platform/msm_s

dcc.1/by-name/persist

Possibly non-existent device?

~ # [6n2fsck /dev/block/platform/msm_sdcc.1/by-name/persist

my phone still not boot can you help me?
[Galaxy A3, A5, A7, A8, A9 Android Development] DeadSquirrel01:
Yes, you don't have to copy his code, the guide is for nexus, type " ls /dev/block/platform" you'll get a folder name, now you can type "e2fsck /dev/block/platform/folder-name-you-got-with-ls-command/by-name/persist"
[Galaxy A3, A5, A7, A8, A9 Android Development] thinsoklearp:
i don't really understand bro

can i just type

"e2fsck /dev/block/platform/folder-name-you-got-with-ls-command/by-name/persist"

right?

or i need something more ?
[Galaxy A3, A5, A7, A8, A9 Android Development] DeadSquirrel01:
First of all type adb shell (You must have debug actived) then type " ls /dev/block/platform" and you get an output like this: "soc.0" in my case.

Then type "ls /dev/block/platform/soc.0 (in my case)"

And for example I get "7824900.sdhci" (it may change for you)

Now type "e2fsck /dev/block/platform/soc.0 (in my case)/7824900.sdhci (in my case)/by name

Don't follow all guide, just stop after typed

make_ext4fs /dev/block/platform/soc.0/7824900.sdhci/by-name/persist
[Galaxy A3, A5, A7, A8, A9 Android Development] srkndenis:
No. 2d sim dont work. Only 1 sim working and sd card in 2d slot work for me.

Отправлено с моего SM-A500F через Tapatalk

---------- Post added at 09:26 PM ---------- Previous post was at 08:47 PM ----------

#mygalaxy thank you for amazing rom. All works fine for me on 500F.

Dude, follow the instruction from #310 post and all be works.
[Galaxy A3, A5, A7, A8, A9 Android Development] Jofrano:
My Model A500M

Hi.. i have Samsung Galaxy SG-A500M.. i can install this rom?
[Galaxy A3, A5, A7, A8, A9 Android Development] DeadSquirrel01:
You subscibed to xda for write this post lol
[Galaxy A3, A5, A7, A8, A9 Android Development] hudsonfas:
http://xdaforums.com/showthread.php?p=66989352
[Galaxy A3, A5, A7, A8, A9 Android Development] Dags26:
Boss

Oo boss pero ang problema ko lang eh no sim card eh di made dedetect.. pano ang ginawa mo ? Salamat ulit sa reply ?
[Galaxy A3, A5, A7, A8, A9 Android Development] zlrhc:
Hanapin mu ung 88sim file boss i copy paste mu sa system/etc/init.d tapos erecovery mu then iflash mu ung gapps
[Galaxy A3, A5, A7, A8, A9 Android Development] cybeee:
Watch This Video On How To Install And Share

https://www.youtube.com/watch?v=NGMDnvPhfR0
[Galaxy A3, A5, A7, A8, A9 Android Development] Dags26:
Salamat boss

Sge boss itry ko ulit maraming salamat ulit .. ?
[Galaxy A3, A5, A7, A8, A9 Android Development] -CALIBAN666-:
Englisch please,look at XDA rules,thanx.
[Galaxy A3, A5, A7, A8, A9 Android Development] afcardo:
I got a bootloop (black screen) I wiped cache and davik cache and flashed the ROM. Is it right? So I come back to v5.6 ?
[Galaxy A3, A5, A7, A8, A9 Android Development] iroshan:
Connectivity fix for a500g.

Can someone test this and report? This worked for me.

https://drive.google.com/file/d/0B_snxAOvbV9YVlJyVDRaV2prOUU/view

Flash this in recovery and boot. Wait for a minute and see.
[Galaxy A3, A5, A7, A8, A9 Android Development] zadbui-th:
Hello, I 'm running ROM a5H

Hi [MENTION=6446790]mygalaxya[/MENTION]

Do you can remove google launcher? i can't change theme and touch key light too light. i can't turn off. Your great ROM
[Galaxy A3, A5, A7, A8, A9 Android Development] rijuzz:
Use system app remover to uninstall google launcher & use gravity xposed module for disable touch key light..
[Galaxy A3, A5, A7, A8, A9 Android Development] ahmed00ali:
Finally everything working fine on a5h ....it was the f#%$* permissions thing :mad:

But I have ?? Guys how to change permissions for multiple files in es file explorer ?! as i changed permission for each file :crying:
[Galaxy A3, A5, A7, A8, A9 Android Development] rm.rifaz:
Hi bro.... Please Send link disable touch key light
[Galaxy A3, A5, A7, A8, A9 Android Development] handgun50:
Are you sure use gravitybox? It will conflict with CM and RR tweaks
[Galaxy A3, A5, A7, A8, A9 Android Development] Fild5x:
Congratulations!!!!
[Galaxy A3, A5, A7, A8, A9 Android Development] rijuzz:
Yup working fine.. With xposed v85

---------- Post added at 01:57 PM ---------- Previous post was at 01:55 PM ----------

http://dl-xda.xposed.info/framework/sdk23/arm/

Flash xposed framework 1st.. Thn install gravity box module..
[Galaxy A3, A5, A7, A8, A9 Android Development] Love dhami:
Hi I just installed ROM in A500G but I have problem with brightness.

I am unable to increase or decrease it.
[Galaxy A3, A5, A7, A8, A9 Android Development] cronociclope:
Tutorial for A500M (single SIM): here

Tutorial for A500M (dual SIM): here

Tutorial (spanish language): aquí

Cheers
[Galaxy A3, A5, A7, A8, A9 Android Development] depaul9999:
Thank you Mr. mygalaxya for your GREAT work.

I have dual sim A5 (A500H), and the second SIM is crucial for me. So is the 2nd sim working so far?

Thanks.

Edit: Also is there a way to flash a rom without losing apps?
[Galaxy A3, A5, A7, A8, A9 Android Development] arafman:
is everything working on a500h ???

if someone tried let me know plz
[Galaxy A3, A5, A7, A8, A9 Android Development] depaul9999:
I am too waiting for someone to reply. As I see the second SIM is not supported (I hope I am wrong).
[Galaxy A3, A5, A7, A8, A9 Android Development] djosue1034:
the second sim work perfectly.
[Galaxy A3, A5, A7, A8, A9 Android Development] iroshan:
At least for a500g, there is a issue with dual sim.

Audio doesnt work in whatever the sim connected to the 2g network. Everything works in the sim connected to 3g network.
[Galaxy A3, A5, A7, A8, A9 Android Development] 6ry6uk6:
Hello, please could you tell me if this rom is for my galaxy a5 A500M?
[Galaxy A3, A5, A7, A8, A9 Android Development] Genetik57:
ResurrectionRemix - 5.7.1 available bro ! :)
[Galaxy A3, A5, A7, A8, A9 Android Development] djosue1034:
that's the only problem I've seen, everything else is fine.
[Galaxy A3, A5, A7, A8, A9 Android Development] depaul9999:
Finally managed to install this firmware on A500H but unfortunately each time I encounter a new problem. First the infinite boot loop, then no sim card and no wifi, and finally no audio at all. I read all posts in this thread and tried all of the fixes but with no luck. So I flashed the 5.0.2 lollipop stock rom.
[Galaxy A3, A5, A7, A8, A9 Android Development] Fild5x:
You know what, installing this rom is very simple on a5h. I am not really an expert at this, but I managed to install. Easily. By following what the others have said. Maybe it is because my phone is a single sim Duos phone but I strongly feel that is not a factor. This is, as far as am concerned, the best custom rom so far our a5h. Better than stock rom. You must do everything to get it right. Have a look at my snapshots to show that you can also manage if we have the same phone.
[Galaxy A3, A5, A7, A8, A9 Android Development] depaul9999:
Thank you Fild5x. I actually saw some post of yours with a solution and followed it and got everything working except audio (no audio at all, even for calls).

Here is what I did:

-Extracted the custom firmware, updated a script inside and moved the 'boot.img' out

-Re-zipped the custom firmware

-On my stock rom, I copied the two files from system/lib, and also the two folders firmware and firmware-image

-Booted into Recovery, wiped everything except internal and external

-Installed the modified custom rom, then Gapps, the Super SU

-Booted The custom ROM but no SIM, no wifi, no audio

-using X-plore (rooted), copied back the two files inside system/lib and also the files from the two directories firmware and firmware-image into phone's firmware directory.

-using X-plore (rooted), I copied the 88sim file into etc/ini.d

At this point I got the sim and wifi working, but no audio.

So I gave up since I didn't sleep the whole night and I was tired.

Do you mind please show me what you followed? Thanks.
[Galaxy A3, A5, A7, A8, A9 Android Development] Fild5x:
Well, I am sure you have the same phone as mine. I have installed and re-installed this ROM on several occasions for my phone using two different stock ROM and everything works well in the final analysis. Probably I need to download RR MM v5.7 and start the installation completely afresh and maybe I will get the same situation as yours. I actually started with v5.6.8 then 5.6.9. and lastly 5.7.0.

I am sure that you are starting with stock rom LL 5.0.2. Now all I do is to make sure that everything in the stock rom is working (i.e. radio, music player, calls, bluetooth, wifi, name it). Then I follow the simple procedure below:

-root stock rom using CF auto root for a5h and ODIN

- install TWRP 3.0.2.1 using ODIN directly (without this or that) and check that this recovery is working ok even with stock rom by going into recovery and out while on stock rom.

- copy libsec-ril files as advised to sd card

-Now I modify the custom rom by replacing updater script and build prop (it is important to do it correctly) with the ones provided in the link for a5h by others like [MENTION=5297133]Fadzz[/MENTION] here. This I did even for RR MM v5.7.0.

-copy the modified rom to sd card

- get into recovery, wipe dalvik/cache, system, internal memory, data. Repair system and internal memory. Format data.

-flash modified rom, supersu and gapps (actually I installed a simpler form of gapps later)

- reboot directly without copying boot.img even. At this point phone goes off and I just turn it back on and booting process starts.

- for some reasons, I root the new installation using king root.

- install ES file manager from play store and give it root permission (see screen shot).

- using es file manager copy the libsec-ril files to system/lib as advised

- Reboot phone

- After reboot copy the firmware files as recommended using ES file manager and reboot.

This way you will have everything working easily. Please try and let me know. If possible let me know each step as you go.
[Galaxy A3, A5, A7, A8, A9 Android Development] Razvan:
Thread cleaned.

Please do not post warez anymore.

Thanks

Razvan

Forum Moderator
[Galaxy A3, A5, A7, A8, A9 Android Development] Fild5x:
Oops!!!!! Never again.
[Galaxy A3, A5, A7, A8, A9 Android Development] Lord_of_Death:
My friend, im getting an error while installing the rom, A5h lollipop rooted with twrp recovery, is the error because i didnt replace the updater script and build prop?ill do what u said and post results.

---------- Post added at 05:14 PM ---------- Previous post was at 05:02 PM ----------

Guys ive seen some of u saying something about replacing updater script, or at least modifying the zip rom, with what file do i replace them?
[Galaxy A3, A5, A7, A8, A9 Android Development] depaul9999:
IT WORKED, REALLY!

Thank you I've followed your guide carefully and this time it worked. Maybe I had to update my TWRP recovery since I had an old version.

The audio, the 2 SIMS, and wifi work now :)

To mygalaxyan: could you please integrate that guide for a500h since it saves a lot of time. Thanks.
[Galaxy A3, A5, A7, A8, A9 Android Development] Lord_of_Death:
From where did you get the link to the updater script......???
[Galaxy A3, A5, A7, A8, A9 Android Development] depaul9999:
It's from post 404 from page 41 by Saeed. Good luck it's a bit tedious it takes alot of time and trial-and-error.

You can make a backup of your current system first using TWRP so that you can restore anytime in case something goes wrong.
[Galaxy A3, A5, A7, A8, A9 Android Development] Lord_of_Death:
Thanks alot, will try everything tomorrow and hope it works.
[Galaxy A3, A5, A7, A8, A9 Android Development] depaul9999:
My impression on the firmware so far on A500H: Very good and stable although there is a small issue with the 2nd sim having no voice when making a call.

Hopefully it will be fixed in the next version.

Thanks.
[Galaxy A3, A5, A7, A8, A9 Android Development] iroshan:
No audio on calls made through the sim connected to 2g network. Check and see.
[Galaxy A3, A5, A7, A8, A9 Android Development] Fild5x:
Oh Yes. It is far much easier to install this ROM on a5h than one would imagine. For me, this is the ultimate for now.
[Galaxy A3, A5, A7, A8, A9 Android Development] Lord_of_Death:
I know how to install a rom, ive done it 10000000 times, but im still getting an error while installing it in twrp, can anyone help me.i modified the rom and everything but it still wont work.
[Galaxy A3, A5, A7, A8, A9 Android Development] Fild5x:
Maybe what error are you getting?
[Galaxy A3, A5, A7, A8, A9 Android Development] t1mb0b3r:
Any chance of a version for the 500W (Canadian)? I tried flashing this one, but it won't flash due to hardware mismatch.
[Galaxy A3, A5, A7, A8, A9 Android Development] Lord_of_Death:
The error is"error executing updater binary in zip"
[Galaxy A3, A5, A7, A8, A9 Android Development] Fild5x:
If you are using the right TWRP then it must be something to do with the way you are modifying the ROM. However, you have clearly stated that you are good at this. Maybe for curiosity sake can you explain how you are modifying the rom?
[Galaxy A3, A5, A7, A8, A9 Android Development] bochaponce:
Install @ A500M

Hi. Fist sorry for my english ;) !! I wold like to share what i've done to finally install this firmware. There is a blog that helped me with this particular variant (M). Following all the steps and trying different TWRP i finally coud install the rom.

First, for wipes and install I use recovery 3.0.0.1, but this only gave me recovery boot. So, in download mode, I changed it for 2.8.7 LL, and then the rom could boot for its first and only time. Then, after my first reboot I had black screen, so again went to download mode and put recovery 3.0.2.0 (a500-b2).

This was my personal experience, it took hours but I'm finally enjoying my RR 5.7.

Happy flashing
[Galaxy A3, A5, A7, A8, A9 Android Development] thinsoklearp:
hi guys

has anyone succeed fix bootlooping in A5H

i try everything and it still didn't boot up !
[Galaxy A3, A5, A7, A8, A9 Android Development] Lord_of_Death:
Well i am using twrp but im not sure if its the right one, give me the link to the one you used.....how i modified the rom: extract the zip files, replace the files, zip the rom. And why didnt anyone upload the modified rom :/ .

Ill modify the rom again just in case, maybe i did a mistake, and ill try again.
[Galaxy A3, A5, A7, A8, A9 Android Development] Fild5x:
Most a5h users are finding it difficult because they are not modifying the rom well and they are not using the right twrp. I can see you are more experience than me in these things. I have tried to explain here how to modify this (layman's way of doing things) and I have clearly stated that twrp 3.0.0.1 or twrp 3.0..2.1 must be used. I have used both of these but I prefer the later one. Please do a search right here on xda. You have got to do what the others are suggesting, unless you can manage by using other methods. As I keep saying, this rom is the best for my a5h and that is why I am encouraging you to have it installed. Really it must work on your phone.
[Galaxy A3, A5, A7, A8, A9 Android Development] tuancoi:
I also have done so despite nearly 20 times

---------- Post added at 01:11 PM ---------- Previous post was at 01:08 PM ----------

I 've installed TWRP 3.0..2.1 but it still does not boot to be made ​​though a lot of times . Can you help us with a video . thank
[Galaxy A3, A5, A7, A8, A9 Android Development] Fild5x:
Maybe you need to PM me so that we chat

---------- Post added at 12:31 PM ---------- Previous post was at 12:18 PM ----------

For all a5h users you must start with stock rom LL 5.0.2. Now all I do is to make sure that everything in the stock rom is working (i.e. radio, music player, calls, bluetooth, wifi, name it). Then I follow the simple procedure below:

-root stock rom using CF auto root for a5h and ODIN

- install TWRP 3.0.2.1 using ODIN directly (without this or that) and check that this recovery is working ok even with stock rom by going into recovery and out while on stock rom.

- copy libsec-ril files as advised by [MENTION=1758564]saeed2[/MENTION]000 in post # 404 to sd card

-Now I modify the custom rom by replacing updater script and build prop (it is important to do it correctly) with the ones provided in the link for a5h by others like [MENTION=5297133]Fadzz[/MENTION] and [MENTION=1758564]saeed2[/MENTION]000 here. This I did even for RR MM v5.7.0.

-copy the modified rom to sd card

- get into recovery, wipe dalvik/cache, system, internal memory, data. Repair system and internal memory. Format data.

-flash modified rom, supersu and gapps (actually I installed a simpler form of gapps later)

- reboot directly (without copying boot.img even). At this point phone goes off and I just turn it back on and booting process starts.

- for some reasons, I root the new installation using king root.

- install ES file manager and give it root permission.

- using es file manager copy the libsec-ril files to system/lib as advised

- Reboot phone

- After reboot copy the firmware files as recommended using ES file manager and reboot.

This way you will have everything working easily. Please try and let me know. If possible let me know each step as you go.

I explained this method in post # 924 or so and [MENTION=7580258]depaul9999[/MENTION] in post # 926 confirmed that he used the same method and it worked. If you are using these methods then you must revisit and correct the method that you are using to modify the rom for sure. I have explained it all.
[Galaxy A3, A5, A7, A8, A9 Android Development] sat2020:
i used this rom

but now i flash my stuck rom samsung galaxy a500 h

but when i flash with odin my device doesnt boot and stuck on logo samsung

please help me

thank in advance
[Galaxy A3, A5, A7, A8, A9 Android Development] Lord_of_Death:
Well i had an old twrp 2.8.7, i installed the latest, i was able to install the rom successfully, but it didnt read the sim, any known fix for this issue???