How To Guide Fix contactless payments, banking apps, Galaxy watch connection issues. - Samsung Galaxy A52s 5G

Hello, I've been using my rooted A52s daily without any problems, so I decided to post a guide on how to fix these issues in the title.
I am presuming your phone is already rooted.
Download these files on your phone:
1. Install termux and give it root access. Download here
2. Download MagiskHidePropsConf. Download here
3. (Optional) If you have a Galaxy Watch and want to pair it with your rooted phone, download Bluetooth Library Patcher. Download here
4. Install SafetyNet Attestation checker. Install from Google Play
Hide Magisk app
1. Open Magisk and go to Settings:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Tap on "Hide the Magisk app", allow installation from unknown sources if it asks you:
3. Type in a name for Magisk, and do what Magisk asks you:
Edit MagiskHide Props Config
1. Open Termux, and in terminal type:
su
After that, type this command to edit props:
props
2. You will see a list of options, select the first one by typing in "1" and Enter:
3. Select the option "f" and pick a Samsung A52 4G as the device's fingerprint:
4. Go back to the main menu, and select the second option by typing in "2" and Enter:
5. Select the option "d" and pick a value for Samsung A52 4G (SM-A525F):
6. Go back to the main menu, and select the fourth option by typing in "4" and Enter:
7. Activate 3 options by typing in "1, 2, 3" and Enter (unless they are already active):
8. Go back to the main menu, and you should see the options 1, 2 and 4 marked as (active).
9. Reboot the device.
Hide these apps to make Google Wallet work
1. Open Magisk, go to Settings, and enable these options:
2. Tap on "Configure DenyList", and select these apps as shown in the picture (make sure the suboptions below the apps are also all enabled):
(Also enable the Google Play services option with all the suboptions included).
3. Reboot the device.
Cleap app data
1. Open phone Settings > Apps.
2. Tap on the icon as shown with the arrow, and enable the "Show system apps" option:
3. Clear the cache and app data of Google Play store, Google play services and Google Wallet.
4. Reboot the device, then using the SafetyNet Attestation Checker app, test if you pass Safetynet:
Now Google Wallet should work. As for banking apps, just hide them in Magisk DenyList, clear app cache, data, reboot and try again.
(Optional) Fix Galaxy Watch pairing and connection issues
!WARNING! Only works with official Samsung firmware, don't try it on custom roms.
1. Flash the BluetoothLibraryPatcher (as downloaded earlier) module in magisk.
2. Open termux, and paste these commands:
su
mount -o remount,rw /vendor
for i in `grep -lr 'security.wsm' /vendor/etc/vintf`; do [ ! -z $i ] && sed -i "$((`awk '/security.wsm/ {print FNR}' $i`-1)),/<\/hal>/d" $i; done
mount -o remount,ro /vendor
3. Reboot the device.
That's it, hopefully I didn't miss anything, and everything works for you.

Related

[HOWTO] Manually remove 3-dot menu (NO FLASH, any version/stock or custom)

Hey guys. I had a frustrating time trying to get this going with stock rom. This method requires no flashing.
REQUIRES ROOT, ADB and SU
Important:
Please note. This will not remap the application switcher to HOME LONG PRESS. I don't know how to do it. If you know, you can reply here and we'll add this part.
Second note. This will remove the ICS menus (such as GMAIL on the top right). Again I'm not sure how to fix these, this is the default behaviour for phones that have a physical menu key. If someone knows of a hack to avoid that, please share.
All you need to do here is edit build.prop and add qemu.hw.mainkeys=1. THen edit your keyboard layout (qwerty.kl file) and change MENU 88 from APP_SWITCHER to MENU.
Step-by-Step
First of all make a back up of build.props and qwerty.kl
> adb pull /system/build.prop build.prop.backup
> adb pull /system/usr/keylayout/qwerty.kl qwerty.kl.backup
Make the system rewriteable
> adb shell
$ su
# mount -o remount,rw /system
Append the following line to the end of build.prop file
# echo qemu.hw.menukeys >> /system/build.prop
Exit out of root and shell
# exit
$ exit
Now we need to remap the menu key.
> adb pull /system/usr/keylayout/qwerty.kl
For this part, we need to edit qwerty.kl and remap the Application Switcher to the Menu key. IF you want to make a backup of your keyboard file you can make a copy of it now (we are just changing one line though)
> notepad qwerty.kl
Edit the last line:
key 88 APP_SWITCH WAKE_DROPPED
to:
key 88 MENU WAKE_DROPPED
If you try to push the file back, you might get a read-only error. So what we do here is make the file writeable and overwrite it.
> adb shell
$ su
# chmod 777 /system/usr/keylayout/qwerty.kl
# exit
$ exit
Now try pushing it!
> adb push qwerty.kl /system/keylayout/qwerty.kl
Reboot and you're done!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks for your contribution .
Those damn dots !!!!
Stock uk 1.28 on T-Mobile
Sent from my HTC One X using XDA
nice, but this probably removes also menu button in action owerflow? (native ICS menu in Play, Gmail etc...)
and there is no way to remap home long press to mnu...is there?
Yup I mentioned it does remove the action overflow button or what ever they all it in GMAIL, Play etc. I've mentioned that.
I don't think there is an easy way to fix that seems like it's a framework change, I tracked it to the PhoneWindowManager class but I'm not sure what names they've used.
Not sure how to do long menu press either. Trying to find out now.
yes, that wou;d need to include framework change - as noted in original mod thread
probably you will not be able to make it for long press...original mod makes that by changing SMALI code and not remapping keys...

[Guide] Auto removal for boaltware apps which you don’t use w/o using any script

I know the guide should go in general section however I have added in this section as I thought this way it will reach to a lots of users might help them. Just my thought.
Background-
Whenever we do installation of any rom and then while setting it up again there are numerous of apps which comes by default with each rom and we remove manually them using Titanium backup or any such apps or even if we are too expert then we go in system folder and remove the apks from app using root rights.
e.g. you have remove live wallpapers which comes default with every rom and whenever you do a clean/upgrade the rom they are installed back and you need to remove them again.
Don’t you think it would have been better if those apps auto removed and you don’t have to do anything apart from few settings and rebooting your phone? I know you will say this would be the AWESOME.
So let me provide you all the steps for this and few of them are only needed once and few are require after every rom installation.
You would required Titanium backup (might be pro) as I am sure if these works in basic version or not. It would be great if someone can confirm this.
Click to expand...
Click to collapse
So here are the steps which you need to do it once (I will mention Titanium Backup as TB):-
1. Open TB and goto Backup/resore and click on “Click to edit filters”
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. At the bottom of the screen click on “Create Label”
3. In the pop up box put any name (I have given Boaltware)
4. then click Save and then get out of that screen by pressing back button
5. Now to add apps in that group, just simply long press on any app.
6. In the pop up message click on Assign Lables and select the name which you give in step 3.
7. Then click Save label assignments
8. Repeat step 5 to 7 for all those app which you want to auto removed
9. Now go in TB preference and look for “Bloatware Melter”
10. Then click it and select the Melt label [the name you selected in step 3]
11. Reboot your phone and leave it for 10 mins and all your app which you selected will be auto removed.
Congratulation you are done with the steps which you only needs to do once.
Now coming to those steps which you need to do after installting any rom and to remove those apps which you have just selected.
1. Enable the USB debugging mode
2. Install TB
3. Open it and grant the root access
4. close TB
5. Reboot your phone and leave it for around 10 mins
6. Your all the apps will be removed
p.s. – Those labels configuration are stored in your sd-card so even you do a full wipe then also the TB auto recovers those from your sdcard
I will add more information soon. If you have any question please post as comment.
for me
one more
1. 7-zip
2. Delete
.... enjoy
O-T said:
1. 7-zip
2. Delete
.... enjoy
Click to expand...
Click to collapse
1. what if you have downloaded the rom on phone only
2. you have to delete those apk and remember them to delete

S8 FINAL ROM For Samsung Galaxy J2 (J200H)

Hey There ..................
Introducing My New Rom : S8 Final Rom
Built V1
Based On Letest Stock 5.1.1 Lollipop Rom
Warnings :
1. You are now Void your Warrenty …….
2. Backup all your personal apps and important data to avoid loosing them …
3. Do all steps perfectly And carefully ……
4. I am not responsible for any mistake and Brick your phone ….
Features :
1. Only For J2 2015 3G Variants
2. Android 5.1.1 Lollipop
3. Based on latest J200HXXU0AQK2/J200HODD0AQK2 firmware
4. S9 weather and clock Added
5. Avroid keyboard Added
6. S8 File Manager
7. Emergency TouchWiz Home Added
8. Added Busybox,SU.d and Init.d Support
9. Marshmallow notification bar
10. S8 Music Player
11. S8 Themed Apps
12. Xposed Enabled Zip Added
13. All Apps Are Updated
14. Google app beta Version update
15. 3G icon Convert 4G
16. S7 Wallpaper
17. Icon Themer App
18. S8 Sound And Bootanimation
19. Three hundred fonts added
20. S8 Internet
21. Google Camera added
22. Easy Mode Enabler For Settings
23. And More ...
See An Overview On YouTube :
How To Install :
1. Download Zip file Of the Rom From Link Given Below
2. You Mast Have TWRP Recovery on your device (See Here : https://forum.xda-developers.com/ga...p-3-0-2-1-samsung-galaxy-j2-sm-j200h-t3486994
3. Copy the S8 Final Rom.zip to Your SD card
4. Turn off Your Phone And press power+home button+Volume up button at a same time
5. After appearing TWRP recovery go to Wipe>Advanced Wipe Then Select Data, Dalvik / Art cache ,System , Cache And Then Wipe To wipe
6. Then Go To > Install and install S8 Final Rom by Foysal.zip file from sd card you downloaded before
7. Now reboot system and wait for approximately 15 minutes. ( NB : If It Takes Longer Than 15 Min To Boot Into Android, Then Remove The Battery And Power On The Device Again )
8. Now you are good to use this rom ......
[These are customized Rom Xposed Install : xposed-v78.0-sdk22 And do not need to install ]
Downloads :
https://mega.nz/#!kpNxxCCY!O8oKr1wNo47EpswPBafC2mW74UyfFbdVmIUpSWFXVtg
Credits :
@ashyx - for his Twrp
 @me - For building Rom
Contact Me :
My YouTube Channel Link
http://www.youtube.com/MohammedFoysalOfficial
On Facebook Only Send Massages
www.facebook.com/MohammedFoysalOfficial
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[Guide] Unlock bootloader, get root and flash TWRP - No "Enable OEM unlock" edition

After month of trying, I've succeeded unlocking bootloader for free (but in my case, I've literally lost 15€ with DC unlocker and downgraded firmware so many times).
I'll share my experience, saving time and money for equally unfortunate people, but first remember
I AM NOT RESPONSIBLE FOR ANY PROBLEM, THIS PROCEDURE WILL INVALIDATE YOUR WARRANTY (if still present)!
YOU SHOULD STAY ON LOLLIPOP!
After this premise, let's start with the actual guide:
Step 1​Activate "Developer Options" by going to Settings -> About tablet -> press 5 times on "Build number".
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Step 2​After enabled the Developer Options, go to Settings -> Developer Options.
Step 3​Once there, you should look for "Enable OEM Unlock". You shouldn't find it (like me). Theoretically it should be between "Enable Bluetooth HCI snoop log" and "Process stats". If you're lucky and find it, enable it, It will save your day. Then enable "USB debug".
Step 4​Install KingRoot 4.6.2 (download below) and do the root, you should get it without problems in Lollipop.
I don't want to take care of replacing KingRoot, the root, in this case, is just for unlocking the bootloader.
Optional​You can save your unlock code accessing device via adb and granting root permission to it.
Just do this in your terminal with the tablet connected and USB debugging enabled as follows
adb shell
and then
su -c "grep -m1 -aoE 'WVLOCK.{14}[0-9]{16}' /dev/block/mmcblk0p7 |grep -aoE '[0-9]{16}'"
You should get a bunch of numbers, they are the bootloader code.
​Step 5​Now, after checking with "Root Checker Basic" if root is presented, reboot (1 or 2 times) into bootloader via adb, you should get "PHONE UNLOCKED" (the bootloader is unlocked!) and "FRP Lock" (due the missing of "Enable OEM unlock" option in Developer Options). Now reboot into system.
Step 6​Install the Official TWRP App and flash manually the recovery image linked below.
​Step 7​Reboot into recovery and enjoy TWRP!
​Downloads​Link TWRP + KingRoot 4.6.2.
Support​If you want to support my work, donate via paypal.
Hi, thank for your great guide but the download link is error
An alternative download link for TWRP can be found in this post:
[Guide] Unlock Bootlader, TWRP and Root your Huawei MediaPad M2 8 - 10
As usual with this stuff. You do everything at your own risk. I am not responsible in any way for what you manage to achieve, either good or bad. EVERYTHING IS ON YOU! So. To unlock Bootlader, add Custom Recovery TWRP and root we need to do a...
forum.xda-developers.com
KingRoot 4.6.2 can be found on APKMirror

Pixel Experience 13 Newbie Flashing Guide (credits to S8Hype btw)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello! This is a recreation of S8Hype's Pixel Experience Guide Since it was a bit outdated.
Let me start with the bugs.
Bugs:
Bluetooth Audio won't work (this is fixable look later in the guide)
FOD (Fingerprint) Does work but atleast on my phone works at a very low chance.
Anymore bugs you find please either post them in the comments or list them on the GitHub hoping for ponces to respond. (this is a GSI, expect bugs)
Guide (from stock to pe13):
1. Enable Developer Options by going to the Android Version Page and clicking Build Number 7 times.
2. Once done go to Developer Options and enable OEM Unlocking and reboot your device.
3. Once done shutdown your phone.
4. Hold volume down and volume up while plugging in your phone to a PC.
5. Once done you will see 3 options, Download Mode, Unlock BL, Reboot. Hold down Volume up to unlock the BL and if you get to Download Mode just force reboot your phone and try again.
6. Once you see Unlock your bootloader press volume up and your done for unlocking your bootloader (this will wipe your data! make sure to backup if you have important things!)
7. Once done it will reboot your phone and you will see the setup. Setup up the phone and shutdown again.
8. Once do the same thing in 4. and press only volume up!
9. Once done install Samsung USB Drivers. (https://developer.samsung.com/android-usb-driver) and Odin. (https://odindownload.com/download/Odin3_v3.14.4.zip)
10. Once done download the TWRP Version below the thread.
11. Once done put the TWRP file in the AP section and flash! (once done hold volume up + power to reboot to recovery and do it 1 more time when its done replacing recovery)
12. Once done go to Wipe -> Advanced -> Wipe Internal Storage and Data (you can also wipe the 2 cache sections)
13. Once done download the Pixel Experience 13 Image. (https://github.com/ponces/treble_build_pe/releases)
14. Once done transfer the .img file (extract the xz file first!) to the phone.
15. Once done go to Install Pixel Experience by going to Install -> Show img and click on the img and flash it to System.
16. And your done! You can reboot once done.
GSI Enhancements:
BT Fix: Go to phh treble settings, Misc and then Disable AD2P offload and BT is fixed!
Left corner at the edge fix: Go to phh treble settings, Misc and find the Corner radius and Force/Fake Corner radius settings and change them to 50! Reboot and your done.
Enable all Cameras: Go to phh treble settings, Samsung, and find Enable all cameras (Q vendor doesn't matter unless you are on binary 1 and never updated lol.)
That's it! Your done!
I will also help you unbrick your phone if something does go wrong. Anyway.
Bye.
Also here are some other GSI Fixes!
[AOSP GUIDE] A few tips to repair stuff and quality of life improvements after installing [AOSP GSI]
About - Generic System Images A few tips to repair stuff and quality of life improvements: - PHH Treble Settings - (device-specific settings) Open Settings > Phh Treble Settings. Here you have multiple categories. Head over to 'Samsung...
forum.xda-developers.com

Categories

Resources