Google Pay on custom rom - Xperia Z Q&A, Help & Troubleshooting

Are any way to get Google Pay working on custom fw?
C6603, Bootloader Unlocked, DRM keys are lost.
Stock 5.1.1 (228 CE5), clean unrooted - Google Pay works fine!
Tried a number of old and latest custom roms.
1. All (stock/custom) rooted/pre-rooted roms - in general, there is no way to register a credit card in GPay (there are a lot of information about that around)
2. a number of Lineage OS based FW's (official 15.1 signed, unofficials 14-16) - usually passed SafetyNet test (clean/unrooted or with Magisk Hide), GPay accepts a new credit card (the main difference to the rooted stock/custom roms) but the NFC functionality is unavailable!
Tried Google Play Certification described on Lineage OS web site
https://lineageos.org/Google-Play-Certification/
No result at all
I see a number of discussions about a similar issue (no NFC in GPay on Lineage OS) on a number of other threads (xda and some other places), and I understand the issue is fixed for some of those devices (OPO6 etc), that means, in general, that GPay currently works on both the bootloader unlocked stock and custom (LOS-based) firmware devices.
Are there anybody with the proof it can be configured on our device with some specific non-stock-based custom fw?
Why it does not work on LOS? Is it just a core bug (NFC-related?) or there is something fundamental that lets GPay to register the card but prevents to use NFC for payments? GPay now days works everywhere - in the shops, supermarkets, restaurants, even in public transport in some places, so it is shame the developers ignore/unable to support it in the latest custom development, that transforms the old flagman (fully functional on stock lollipop) into a cheap crap (battery killer, suitable for voice calls only) on the latest android builds...

Related

Nougat Android Pay

I am currently using LineageOS, however when I want ti use Android Pay, it only shows that it support purchase in apps, however purchase in stores is not supported. After checking I discovered that the HCE is not supported in the Rom, my NFC is working fine. Any fix for this problem?
There's no solution to this. Opensource nfc driver that we use on custom roms does not support hce.

so no stable custom rom for note 5 SM-N920T ?

so i bought note 5 SM-N920T which was already on android 7 latest firmware according to sammobile website.
and there are only handful of custom roms (not stocked based but those which occur in original android development).
and all of them have serious issues,
like lineageOs 14.1 has no audio in call, battery drain issues, flash light issue, doesn't take images in dark somehow flash work when you take image but the end image is dark. etc.
and others also have similiar issues.
My requrements for a rom are following.
1. no matter stock based or not, it should have root and MUST SUPPORT ENCRYPTION after root (no matter if i have to flash any kernel or do any gymnastics, i am willing to do it to get to this requirement.
2. it should be fully stable, atleast all basic features should be stable like phone calling, sms, bluetooth, wifi, and others which are necessary for a daily life smart phone.
well that is all because i have xposed in my requirement but xposed is not available for 7 yet so leave it out.
now let see.
stock based custom roms (those i checked) does not support encryption after you root them, and if you encrypt them before rooting, then because their encryption method is such that TWRP don't mount data, so root is impossible after encryption, even i tried that magisk trick of cache workaround, it does not work. after i flash magisk to an encrypted rom, when i get to the point of entering password for encryption, rom says there has been some integrity issues with encryption and you can no longer decrypt, you have to reset the device to factory.
and if i root a stocked based rom before encrypting then they don't encrypt at all.
then there are custom roms like lineageOS. they support encryption with root and their encryption method is also supported in TWRP.
BUT
they are not stable to use as a daily driver.
so can anyone please tell me how can i achieve my requirement on note 5 SM-N920T ? any rom? any kernel / rom combinations ? anything?
or should i sell my note 5 and buy a better device?
thank you for your answers in advance.
Actually PurifyOS has an unofficial Xposed port that works just fine for the 920T, I've been using it for a month. When I flashed Lineage the flashlight and in-call audio worked just fine. Battery drain wasn't very noticeable, but every time the screen turned off while I listening to music my viper and Dolby apps stopped processing.
There's a very stable rom that has very close to stock battery drain, it's the Khongloi S8+ rom in this forum.
buy a better,newer device
Metabolic12 said:
Actually PurifyOS has an unofficial Xposed port that works just fine for the 920T, I've been using it for a month.
Click to expand...
Click to collapse
i can't find PurifyOS somehow, tried search in forum and also google, PurifyOS website is down.
is it a ROM or just xposed to flash in any ROM ? i will really apreciate if you can tell me about it? and if you can also share a link of PurifyOS for note 5 SM-N920T ?
Metabolic12 said:
When I flashed Lineage the flashlight and in-call audio worked just fine. Battery drain wasn't very noticeable, but every time the screen turned off while I listening to music my viper and Dolby apps stopped processing.
Click to expand...
Click to collapse
i don't know how is that possible that i have many issues and you don't have them, i am on latest firmware / bootloader QG3 on my SM-N920T. and i flashed cleanly LineageOS 14.1 on it with or without root and without any kernel. still i have all the issues with flashlite, music app, camera dark images, mic not working in calls initiated by me and also on internet calls, and very high battery drain with only one app that is Conversations.
can you tell me which lineageOS version are you using? i am using 14.1 from following link.
https://forum.xda-developers.com/note5/orig-development/rom-lineageos-14-1-t3572047
Metabolic12 said:
There's a very stable rom that has very close to stock battery drain, it's the Khongloi S8+ rom in this forum.
Click to expand...
Click to collapse
have you tried it? does device encryption work with having a root?
https://forum.xda-developers.com/xposed/xposed-android-nougat-sdk-25-arm64-t3639221
There's the thread for xposed. If you have the latest firmware release from T-Mobile, I'm pretty sure Lineage won't flash over that bootloader. I had to roll back my bootloader to flash it, but Rayman fizzled the problems you were explaining in his second release for the 920T.
As for re-encrypting a device with root I have no never done it. I enjoy flashing roms and custom kernels so once I break encryption and DM-Verity on my devices I leave them that way. I'm pretty sure, don't quote me though, that with supersu you cannot restore encryption while you're rooted. I don't Magisk so you may want to look into that. Hope this helps bro.
Metabolic12 said:
https://forum.xda-developers.com/xposed/xposed-android-nougat-sdk-25-arm64-t3639221
There's the thread for xposed. If you have the latest firmware release from T-Mobile, I'm pretty sure Lineage won't flash over that bootloader. I had to roll back my bootloader to flash it, but Rayman fizzled the problems you were explaining in his second release for the 920T.
Click to expand...
Click to collapse
thank you for the link.
i am already on latest lineageOS 14.1 and it is flashable on latest bootloader. which second release are you talking about that has fixed those issues.?

thinking of buying p9, noob questions.

Hello I have been a lifelong xperia z compact fan, but due to the the awesome camera on the p9 and its similar screen size I am thinking of switching Have some questions that are not clear atm.
- I am used to rooting but it seems that on p9 rooting is only possible with android 6? if i buy a second hand phone with android 8 it is possible to downgrade and root? from what i have read about the p10 it is not possible.
- I noticed that the latest custom EMUI roms are android 7, Is there a big emui interface upgrade with android 8? I am primarly intersted in the camera, with the android 8 is there an improvement in camera quality/camera interface? Do people prefer older versions (6) for battery life or camera quality?
- Someone made the point that these days rooting is less usefull apart from tinkering, the only reason is a proper adblocker, do many users here decide that the latest 8.0 version is worth it over rooting?
- Do any lineage/aosp etc roms have huawei camera ported?
thank you
adzinator said:
Hello I have been a lifelong xperia z compact fan, but due to the the awesome camera on the p9 and its similar screen size I am thinking of switching Have some questions that are not clear atm.
- I am used to rooting but it seems that on p9 rooting is only possible with android 6? if i buy a second hand phone with android 8 it is possible to downgrade and root? from what i have read about the p10 it is not possible.
- I noticed that the latest custom EMUI roms are android 7, Is there a big emui interface upgrade with android 8? I am primarly intersted in the camera, with the android 8 is there an improvement in camera quality/camera interface? Do people prefer older versions (6) for battery life or camera quality?
- Someone made the point that these days rooting is less usefull apart from tinkering, the only reason is a proper adblocker, do many users here decide that the latest 8.0 version is worth it over rooting?
- Do any lineage/aosp etc roms have huawei camera ported?
thank you
Click to expand...
Click to collapse
- Rooting by SuperSU is possible also with Nougat - but SuperSU is no more updated and bacame obsolete nowadays.
Rooting by Magisk is possible with Nougat and Oreo.
Not sure about Marshmallow but Nougat and Oreo definitely cannot be rooted by King(o)Root or so
- If not stuck with the wrong cust, your P9 should be already updated to Nougat (EMUI 5) - even if stuck with, you can rebrand and then upgrade by OTA to the latest stock Nougat.
Only for Chinese cust, P9 will be updated to Oreo (EMUI 8) - but you can also rebrand to and enjoy AL10 c00 Oreo (latest b540 OTA Patch02), with easy modifications it becomes fully 'internetional' (with all languages, Playstore, ready for Google Assistant, international 3G/4G bands, etc) and you can additionally patch Face Unlock (not supported by stock Chinese Oreo, neither by OpenKirin custom ROMs - see further below):
https://forum.xda-developers.com/p9/development/rebrand-update-tool-hwota7-p9-eva-t3820849
- For rebranding and/or rooting you must unlock Bootloader. Code cannot be obtained (and for free) from Huawei anymore, but can be purchased for 4-5 Euros from Ministry of Solutions or DC Unlocker:
https://ministryofsolutions.com/paid-services/amp
https://www.dc-unlocker.com/DC-Phoenix-flash-repair-tutorial
- There are OpenKirin Treble ROMs based on LineageOS, ResurrectionRemix and Omni Oreo or even Pie - installation requires first to (rebrand and) update to stock Oreo:
https://forum.xda-developers.com/p9/development/roms-openkirin-aosp-collection-t3828806
- Besides the AdAway root app and e.g. Magisk module YouTube Vanced, Magisk might be needed or useful if you rebrand and update to Chinese Oreo.
Namely, you must keep the Bootloader unlocked which blocks SafetyNet (and consequently e.g. GPay - not sure if GPay and NFC are supported and by which OpenKirin ROM, it also changes with their updates).
Hence, Magisk hides the unlocked Bootloader, device shows as certified and passes SafetyNet, and you can use GPay on the rebranded and patched EMUI Oreo.
- With (rebranded) stock Oreo, battery is actually better than with stock Nougat.
Cannot tell you about Marshmallow (used ir only short and long ago).
AFAIK, stock Camera with all its features is not (fully) supported by OpenKirin ROMs (used and tested only one of them for a day or two, and few months ago)
PS: If buying a new P9, you can think of dual SIM L19/L29 - but be aware, unlike single SIM L09, dual SIM lacks NFC reader.
Or even about bigger display P9 Plus - all about rebranding, patched Chinese Oreo, OpenKirin ROMs, etc, also applies to:
https://forum.xda-developers.com/p9-plus/development/rebrand-update-tool-hwota7-p9-plus-vie-t3843930
I recommend getting a P10 instead. But if you can get it for really cheap, the P9 is a very high value phone. Buy phone. Buy DC Unlocker credits. Unlock. Rebrand. Update. Patch. Enjoy Treble and Android O/P.
Thank you so much for the replies guys, yes after doing some more research will buy a p10 second hand, it has a headphone jack, compact screen and great camera very hard to find! unf i read that after a recent firmware update it is now impossible to unlock bootloader from unlockbootloader site .
adzinator said:
Thank you so much for the replies guys, yes after doing some more research will buy a p10 second hand, it has a headphone jack, compact screen and great camera very hard to find! unf i read that after a recent firmware update it is now impossible to unlock bootloader from unlockbootloader site .
Click to expand...
Click to collapse
Be careful (if you plan to do rooting/modding), for some newer Huawei phones, already coming with Android 8 or 9, it is no more possible to unlock Bootloader for free or for 4-5 Euros but only for 30 Euros
And this is not about 'missing that phone from the bootloader codes site, but due to the fact that Huawei switched for them (during the last 6-9 months) to the new and different Bootloader
It might be also questionable what kind of modding is possible at the moment on some of the newest phones with newest firmwares
Not sure does this new Bootloader apply to P10, and does that new Bootloader come by OTA to old P10 phones (better check here on XDA but on the P10 forum)
However, P9 phones do not come and do not get OTA updated with that new Bootloader (even if you rebrand to Chinese Oreo and get its OTA updates), Bootloader code can be bought for 4-5 Euros and modding (incl. rebranding, rooting, etc is possible)

Roaming around is this the best setup for this phone (x526) also Camera question

For getting OTA updates and such seems the last ROM that offers this is Mokee (Android 10): https://download.mokeedev.com/s2.html with Open Gapps pico along with TWRP recovery.
This kernel seems to work as well as a set it and forget it kinda method: https://forum.xda-developers.com/t/nethunter-kernel-for-android-11.4451823/
Camera. The one linked in this forum seems to have issues with freezing. I found another one that worked flawlessly on Lineage 17 but I didn't backup the APK before wiping the phone and can't remember where I found it.
I don't prefer MoKee and instead would make an unofficial LineageOS build for android 10 (though no OTA) due to my preferences. Keys are public though so if you want to resolve the security alert, then sign with your own private keys. Android 11 is almost ready (including saving photos to gallery), just can't remove fingerprint directly from settings or else the fingerprint won't work.
The nethunter kernel seems fine but there may be less support when encountering bugs as most users use the stock Lineage kernel.
Cameras on custom ROMs may break due to software, bad libraries, etc. The camera that comes from LineageOS blackscreens or closes frequently (even with HAL3 disabled) and you were probably looking for a GCam port.
This phone is for someone else so ease of use like OTA updates is a must.
I'll poke around for Gcam mods till find the one that was used.
mokee or /e/OS then. Don't know about OTA because I haven't tried them, but builds are still being published.

questions about the right ROM for Note 8 (SM-N950F)

Hello,
my friend has a Samsung galaxy note 8 with the model SM-N950F and he was thinking about giving me his phone to install a custom ROM for him, the phone is running stock ROM.
my question is what is the most stable android 12/13 Rom ( AOSP ) that doesn't require rooting and has banking apps and the pen working fine, also what is the latest stable TWARP and Odin that works for that model ( because I had SM-G530h and some Odin versions didn't work with it ).
one more question is it available to go back to Stock ROM once again using Odin like with old Samsung phones and where can I find a trusted source as Sammobile doesn't seem to work for me for some reason?
thanks in advance for your help.
KingDark2010 said:
Hello,
my friend has a Samsung galaxy note 8 with the model SM-N950F and he was thinking about giving me his phone to install a custom ROM for him, the phone is running stock ROM.
my question is what is the most stable android 12/13 Rom ( AOSP ) that doesn't require rooting and has banking apps and the pen working fine, also what is the latest stable TWARP and Odin that works for that model ( because I had SM-G530h and some Odin versions didn't work with it ).
one more question is it available to go back to Stock ROM once again using Odin like with old Samsung phones and where can I find a trusted source as Sammobile doesn't seem to work for me for some reason?
thanks in advance for your help.
Click to expand...
Click to collapse
Your question is a contradiction. You're asking whether you can use a custom ROM without root but still pass Play Integrity and other checks? This is not possible. Simply having an unlocked bootloader makes your device fail. To pass Play Integrity and be able to use banking apps, the Universal SafetyNet Fix module is required for use with Magisk. Further, AOSP does not include any of the "frills" that Samsung preloads into their firmware, meaning that not all features may work, including the S Pen. If you want to try AOSP anyway, you can follow my guide here to install an AOSP GSI.
As for returning your device to stock using Odin, yes. Sammobile is a good source, but if it doesn't work for you, you can try Frija or Samfirm.js to download the firmware directly from Samsung's servers.
V0latyle said:
Your question is a contradiction. You're asking whether you can use a custom ROM without root but still pass Play Integrity and other checks? This is not possible. Simply having an unlocked bootloader makes your device fail. To pass Play Integrity and be able to use banking apps, the Universal SafetyNet Fix module is required for use with Magisk. Further, AOSP does not include any of the "frills" that Samsung preloads into their firmware, meaning that not all features may work, including the S Pen. If you want to try AOSP anyway, you can follow my guide here to install an AOSP GSI.
As for returning your device to stock using Odin, yes. Sammobile is a good source, but if it doesn't work for you, you can try Frija or Samfirm.js to download the firmware directly from Samsung's servers.
Click to expand...
Click to collapse
Frija is faster and I recommend it. SAMMobile forces users to register to their website and limit your DL-speed.
It's not strictly required to use Magisk. Some Custom ROMs by default spoof SafetyNet Attestation to BASIC and don't need Magisk.
But in the case of Custom ROMs like LineageOS (which doesn't spoof/hide the Unlocked Bootloader on purpose!), or Stock OneUI ROM, you do need to use Magisk + "MagiskHide Props Config" Magisk Module and set the fingerprint to Note8. If Note8 isnt available as a fingerprint, use SafetyNet-Fix Module.
Also, I don't use my Note 8 anymore, but we have Custom ROMs for Note8. I see we have LineageOS 20.0. Why use GSIs? They are much more unstable and buggy.
cyanGalaxy said:
Frija is faster and I recommend it. SAMMobile forces users to register to their website and limit your DL-speed.
It's not strictly required to use Magisk. Some Custom ROMs by default spoof SafetyNet Attestation to BASIC and don't need Magisk.
But in the case of Custom ROMs like LineageOS (which doesn't spoof/hide the Unlocked Bootloader on purpose!), or Stock OneUI ROM, you do need to use Magisk + "MagiskHide Props Config" Magisk Module and set the fingerprint to Note8. If Note8 isnt available as a fingerprint, use SafetyNet-Fix Module.
Also, I don't use my Note 8 anymore, but we have Custom ROMs for Note8. I see we have LineageOS 20.0. Why use GSIs? They are much more unstable and buggy.
Click to expand...
Click to collapse
LineageOS is largely developed as a GSI. Yes, in many cases, it is bundled with a device specific kernel as a complete ROM, but for Project Treble compliant devices, a Generic System Image is just that - a single generic system image that does not have any device specific functions and can be used with any kernel on any device. In that regard, the official AOSP GSIs are very stable, and any issues are usually involved with the kernel, not the system image.
KingDark2010 said:
Hello,
my friend has a Samsung galaxy note 8 with the model SM-N950F and he was thinking about giving me his phone to install a custom ROM for him, the phone is running stock ROM.
my question is what is the most stable android 12/13 Rom ( AOSP ) that doesn't require rooting and has banking apps and the pen working fine, also what is the latest stable TWARP and Odin that works for that model ( because I had SM-G530h and some Odin versions didn't work with it ).
one more question is it available to go back to Stock ROM once again using Odin like with old Samsung phones and where can I find a trusted source as Sammobile doesn't seem to work for me for some reason?
thanks in advance for your help.
Click to expand...
Click to collapse
To be able to use Banking Apps, the following practices are good.
Passing SafetyNet (you can check this with YASNAC from Play Store).
If you don't pass SafetyNet, use Magisk with one of the 2 modules mentioned above.
You may also need to enable Zygisk, Enforce DenyList, and add your Banking Apps to Magisk DenyList.
I use a Xiaomi Poco F3 with ArrowOS Custom ROM, it already contains patches to force SafetyNet to BASIC, and so I dont need any modules, but only Zygisk, Force DenyList, and add my Banking Apps to the DenyList and reboot ^^
V0latyle said:
LineageOS is largely developed as a GSI. Yes, in many cases, it is bundled with a device specific kernel as a complete ROM, but for Project Treble compliant devices, a Generic System Image means the system image can be used with the OEM kernel on any device, because everything specific to that device is contained within the kernel. In that regard, the official AOSP GSIs are very stable, and any issues are usually involved with the kernel, not the system image.
Click to expand...
Click to collapse
My Xiaomi Poco F3 (2021) supports Treble and GSI's are not at all usable/daily-drivable. Scratchy Sound, Missing Vibration etc..
cyanGalaxy said:
My Xiaomi Poco F3 (2021) supports Treble and GSI's are not at all usable/daily-drivable. Scratchy Sound, Missing Vibration etc..
Click to expand...
Click to collapse
What GSIs have you tried? I suspect that the device kernel is not fully Treble compliant.
V0latyle said:
What GSIs have you tried? I suspect that the device kernel is not fully Treble compliant.
Click to expand...
Click to collapse
V0latyle said:
What GSIs have you tried? I suspect that the device kernel is not fully Treble compliant.
Click to expand...
Click to collapse
Generic System Image releases | Platform | Android Developers
developer.android.com
The official Googley ones. Tho I don't mind, since I use an AOSP Custom ROM anyway (on my Xiaomi phone). My Note 8 is kept on OneUI 1.0... i miss the "Samsung Experience" dayz.. Yknow, the OS that came after TouchWiz. It had a rather professional-looking boxy design. Don't like the Huge padding and Rounded Corners of OneUI. The modern OneUI versions are also eh. Due to Samsung stuffing additional apps like TikTok and other rubbish as pre-installed apps.
cyanGalaxy said:
Generic System Image releases | Platform | Android Developers
developer.android.com
The official Googley ones. Tho I don't mind, since I use an AOSP Custom ROM anyway (on my Xiaomi phone). My Note 8 is kept on OneUI 1.0... i miss the "Samsung Experience" dayz.. Yknow, the OS that came after TouchWiz. It had a rather professional-looking boxy design. Don't like the Huge padding and Rounded Corners of OneUI. The modern OneUI versions are also eh. Due to Samsung stuffing additional apps like TikTok and other rubbish as pre-installed apps.
Click to expand...
Click to collapse
Huh. I've used both the "pure" GSIs from Android CI, as well as the Android Developer GSIs on my Tab A 8.0 with the CUK4 kernel. Everything works like it should. Make sure you're using the correct architecture and bitness for your device - most are arm64 - but in the off case that your Xiaomi isn't ARM, there will likely be a lot of issues.
Remember that while a Treble kernel should run any GSI, you still have to wipe data. You can't go from OEM firmware to GSI or vice versa without a data wipe; that cause a a lot of stability issues.
thanks for the replays and information guys regarding official releases of AOSP ROMs I haven't seen one that is higher than android 9 ( which is mainly the reason why we want to install a higher version due to compatibility issues with the company portal apps ) so any idea what is the most stable ROM for that model running android 10 or above

Categories

Resources