yashsingh1/xdaforums huggingface dataset:
[Magisk] najabi:
Hello,

Just wanted to say that Gpay NFC contactess works on MIUI 9.5.17 update WITHOUT root or magisk. It works on my atm.

I just changed the option in settings from 'secure element' to HCE emulation. I already had my cards added on Gpay and contactless enabled but didn't work in magisk/root before (without HCE setting aswell)
[Magisk] Saison2018:
I am really curious to know where you went and how you did it because I do not see options like this in Google pay on my Huawei P20 Pro.

Thanks
[Magisk] Groteski:
Thanks a lot mate!

Quick question, is it safe to uninstall "SQLite for ARM aarch64 device" once this is done or do i need to keep it there?
[Magisk] vMAC:
Anyone else having charges declined? The card works fine, but via GPay transaction is declined.
[Magisk] pbanj:
I've been having that issue for a while. But only with my debit card, my credit card works just fine. Been too lazy to call the bank and find out the issue.
[Magisk] lssong99:
My understanding is you need to apply this from time to time. Anyway you could safely disable/uninstall the sqlite3 Magisk module without affect your Gpay status. However when your card doesn't work (when Google decides to strike) you need to enable/reinstall it again.

I just use the one come with TitaniumBackup. As long as you have TitaniumBackup, you could use their sqlite3 binary without additional installation.
[Magisk] vMAC:
Called my card, they stated it was an authorization hold on their side. Tried again today and worked without issue.
[Magisk] bnwg:
Just a quick update:

Apply the approach by OP; didn't magiskhide either play store or google pay

Successfully added card, made payment. It substained after updating google pay without the need to reapply the fix.

Thanks OP
[Magisk] ooonea:
I confirm. The only thing, maybe you should apply the fix to updating Google Play Services and not Google Pay. In fact the problem is in the dg.db file, which belongs to the Play Services.
[Magisk] bnwg:
For Google Pay, it's updated because there's update available.

For Google Play Services, I didn't receive any update yet.
[Magisk] Groteski:
Thank you i'll keep it like this. It seems that i'm going be needing it again!
[Magisk] xxxmoscoxxx:
In my mi9 the option to change the security element is under options-NFC-others (in italian is "varie"). Then i choose HCE wallet.
[Magisk] yarpiin:
Hi all,

So after sucessful usage of [MENTION=2449699]BostonDan[/MENTION] tut and then trying script from [MENTION=252933]lssong99[/MENTION] I have packed it into zip and give it interface with Synapse.

1. Flash zip from link below.

2. Open Synapse ang give root privilage.

3. Press the button.

4. Reboot device.

5. Enjoy

If your kernel supports init.d you can uninstall Synapse with any system app remover.

init.d script with mod will be executed on every reboot

If your kernel doesnt support init.d you will need apply mod via Synapse after every update.

Download:

https://www.androidfilehost.com/?w=files&flid=294740

enjoy
[Magisk] pbanj:
Or use
[Magisk] pbanj:
so i figured i would try seeing if i could get magisk to just run the script. tried it in service.d and post-fs-data.d and nothing. magisk says it is running it but it doesn't do anything. figured that would be the best way for it as that will work with every phone, but i couldn't get it to work. maybe im doing something wrong and someone else can try
[Magisk] yarpiin:
maybe because of sqlite (must be installed )
[Magisk] pbanj:
have it installed
[Magisk] jcmm11:
If you're going to install the script in post-fs-data.d all you need is 3 commands

chmod +w /data/data/com.google.android.gms/databases/dg.db
<full path name>sqlite3 /data/data/com.google.android.gms/databases/dg.db "update main set c='0' where a like '%attest%';"
chmod 440 /data/data/com.google.android.gms/databases/dg.db

The first chmod just makes the db writable again (+w = add the write attribute to owner, group, and other)

You need to specify the full path to where sqlite3 is because at this this stage of the boot process none of the Magisk modules are mounted yet and most process haven't started running yet (which is why you don't need the force stop). So if you've installed the SQLite Magisk Module you need to specify

/data/adb/modules/sqlite3/system/bin/sqlite3 /data/data/com.google.android.gms/databases/dg.db "update main set c='0' where a like '%attest%';"

The last statement explicitly sets the db to read only for owner and group. No access for others.
[Magisk] lssong99:
The path to sqlite3 binary might not be set properly. Suggest to use full path to the binary to avoid all problem.

Also, does the sqlite3 binary have executive permission?

Finally, some Android version seems restrict execute binary in the binary is in sdcard...
[Magisk] LLStarks:
Can the init.d stuff work with the init.d injector repo module if I'm using a stock kernel?
[Magisk] t0m2k:
Just seconds ago Play Services automatically updated themselves. 17.4.55.
[Magisk] pbanj:
still doesnt seem to be working. i attached what i put so maybe if i made an error someone will see it. should be noted i only made it a .txt so xda would let me attach it
[Magisk] jameseytickner:
Both of you guys have literally just saved my life. For months I couldn't get it to work, and now it's all diamond. Thank you kindly ?
[Magisk] jcmm11:
You did make the script executable, right?

After you boot what's the output, from a terminal emulator, of the following?

su
ls -l /data/data/com.google.android.gms/databases/dg.db | tee /sdcard/sql.txt
sqlite3 /data/data/com.google.android.gms/databases/dg.db 'select a, c from main where a like "%attest%";' | tee -a /sdcard/sql.txt

(Just attach /sdcard/sql.txt, it'll have a copy of the command output)
[Magisk] pbanj:
ya i set it as 755. magisk says it is running it but nothing happens. not sure about the most current script but all the others worked from termux if i ran them from there

here is the output

https://cdn.discordapp.com/attachments/399670410565910529/583372653323354132/sql.txt

should also say i was testing it by resetting the perms before. this time i havent reset the perms were -r--r--r-- instead of -r--r---- so it would change to them if it worked
[Magisk] jcmm11:
Not sure what's going on with the perms. The values are all set to 0 though. I'll have to run some experiments
[Magisk] pbanj:
ya i dont understand it either, and neither do the like 3 other people i asked lol. the values are 0 from the other scripts being run from termux before.
[Magisk] Tr4sHCr4fT:
i wonder if 0 is really the correct value for 'ok'

i've now been on stock for two weeks and all my attest lines are 10
[Magisk] joeynshelby:
Any issues using this fix or making payments with the updated play services version?
[Magisk] MC_Ohr:
I'm using 17.4.55 but updated manually. I have not used this fix, so I have 10 on all the database attest lines. I set the database to ro and have no issues.

Gesendet von meinem HTC U11 life mit Tapatalk
[Magisk] bigknowz:
Noticed GMS updated to 17.4.55 overnight, didn't run the script prior to transactions. Paid at grocery store and used at ATM without issue. [MENTION=2449699]BostonDan[/MENTION] rules!
[Magisk] pershoot:
works great, thank you (recents also work). fit needed to be cleared and re-init'd (wasn't working right); same with gmail (notifs weren't coming through).
[Magisk] fbxdadev:
Thank you, setting up a new contractless card worked, so expect it would work using it too!

A sql query would be useful if there was a command line sql editor (wich i am sure there is) ... Something along the lines of

Column C = 0 where column A matches "attest" in table main

Anyone with better sql skills could translate my pseudocode in an actual sql query :)
[Magisk] Actipode:
Thanks, these commands worked.

However, when i create a .sh script with the same commands and try to run that instead, it fails with "no such file or directory" error in regard to /data/data/com.google.android.gms/databases/dg.db.

The paths are absolute like quoted, the script is run as root, and again, these same commands do work when executed manually one by one. Do you guys have an idea why this might be happening?
[Magisk] lssong99:
Maybe you need to also add absolute path for sqlite3 binary. When running as script, path environment may not be passed to the script...
[Magisk] Actipode:
I should have mentioned, the quoted commands are not the exact ones. Here's my script:

/system/bin/am force-stop /data/data/com.google.android.apps.walletnfcrel
chmod 777 /data/data/com.google.android.gms/databases/dg.db
/data/data/com.termux/files/usr/bin/sqlite3 /data/data/com.google.android.gms/databases/dg.db "update main set c='0' where a like '%attest%';"
chmod 440 /data/data/com.google.android.gms/databases/dg.db
[Magisk] jcmm11:
You can't execute Termux's version of SQLite from outside of Termux. The package is a dynamic, not static, binary and trying to run it from outside Termux it won't be able to resolve dependencies.
[Magisk] Actipode:
Good insight, thanks! Does this apply even for executing the script in Termux?
[Magisk] Mr Beardsly:
Can you please let me know how to use this after flashing. The instructions are not confusing
[Magisk] lssong99:
Several possible issue:

1. The script (let's say foo.sh) needs to have x attribute (for test, just 'chmod 777 foo.sh' before try.)

2. When execute within Termux, please cd into the folder with foo.sh, then use './foo.sh' to execute. The './' is mandatory.

3. If use Termux's sqlite3 bin outside of Termux (like in Tasker), to resolve the dependcy issue, execute

'export LD_LIBRARY_PATH=/data/data/com.termux/files/usr/lib'

once in foo.sh before 1st use of sqlite3.

All above command should be issued without quote.

Hope this helps!
[Magisk] crows:
Like another user mentioned, all I did was change the permsion of the db file to 444 without modifying it and it works.
[Magisk] yarpiin:
Open Synapse , press button and nothing else
[Magisk] Tr4sHCr4fT:
:svetius:
[Magisk] denzel09:
Sorry, i have a bit confused. I have a MI 9 SE, i use Magisk.

From magisk i use init.d module, busybox module (squlite is in system/xbin) and also SQLITE module.

I have already one script for zram in post-fs-data.d and init.d works well.

Now, which script i need to use ONLY for gpay fix? Sorry but i read all these pages and now i am more confused.

Ps. never installed Termux or Synapse.

Thanks for help
[Magisk] Senliast:
After applying database hacks (setting read only), the notification after purchase doesn't arrive and g pay doesn't remember purchases in the app. What about you guys?
[Magisk] spaceman860:
Working fine for me
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sahil_Sonar:
Now you must be wondering ... Hey, there is an official build already :confused: Then why this?

Well, We love to share unofficial builds with some extra features which are demanded by the public ;)

So here's the changelog of the build!

Changelog

Build (13/05/19)

Kernel based on latest Drep(Best battery, Latest drivers) and ups

Android R37 Security Patch Merged

Vendor already included (Best for flashing Q Gsi's)

Pocketmode app added

GCam latest build included

OTA Updater included(Future updates via OTA)

Improvements in thermals

Kernel compiled with the latest clang 9.0.2!

Build (17/05/19)​

Ups kernel to v4.9.175

Gcam update same as for PE

Press FP to click photo's added in!

Some source related ups!

Build (07/07/19)(Coming soon ...)​

dotOS 3.1

PocketMode added & Updated

ThermalController added in!

Gcam based on latest stable port

Synced latest dotOS P sourcecode

Fix some missing features on PlayGround

Kernel ups to v4.9.184 (Illusion Kernel)

Updated click-to-capture fp gesture

Compiled kernel using clang 9.0.5

Updated sepolicy

Update smart charging

Added Pixel 3 Wallpapers & Livewallpapers

Some source related ups!
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sahil_Sonar:
Well, I would like to tell you that this is a public-friendly thread so go ahead and give us your feedback about this ROM! We will try to include changes suggested by you in the next build! Also, you can join our discussion via Telegram

Thank you! :angel:

Special thanks to LineageOS, SuperiorOS & PixelExperinece for sharing trees :D
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] nosiobadx:
Hell yeah
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Glassgg:
looks solid
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sahil_Sonar:
Check change log of today's build currently building! :D
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] deepss1:
Got next for to flash. ;)
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] demo84:
Can you dirty flash it over the official one?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] dlas.dl:
Awesome rom

---------- Post added at 12:58 PM ---------- Previous post was at 12:56 PM ----------

Better to use clean flash new updates going to roll out with best features in dot
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] nosiobadx:
Dude is it posible of adding fingerprint gesture to turn off screen?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] SimplyJeevS:
just oof
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sahil_Sonar:
Gesture of what? Please explain in detail
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sahil_Sonar:
Hey! How are you doing?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] nosiobadx:
If you can add the option/gesture of using fingerprint to lock screen, instead of power button

Like lock and unlock screen using fingerprint
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Allen_05:
[MENTION=9414855]Sahil_Sonar[/MENTION] hey dude can we have the flip to silent and lift to mute gestures,like one we have on nokia phones?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] banmancity:
Does it have the full screen gestures?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] ythamil:
Can i flash a different custom kernel? I had issue to boot up with official dotos when i flash it with a different custom kernel

---------- Post added at 12:22 PM ---------- Previous post was at 12:21 PM ----------

Nop, but you can use vivid gesture which works smoothly
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sahil_Sonar:
Hello guys! Sorry but next update might be delayed I am kind of busy with my new custom ROM project! Stay tuned with Telegram Group for more info
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sahil_Sonar:
Will surely check!
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] ythamil:
Will this be maintained? I saw you exiting the telegram group without any announcement?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sahil_Sonar:
Done ;) New build's up! Current users check OTA new comers can flash via download link in OP! Thank you for your patience
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sahil_Sonar:
Why not?:cowboy: We are little hasty & busy for the next update so didn't get into touch! Sorry for that
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] dlas.dl:
OTA
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Tyranitar13:
any bug in latest build ?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sahil_Sonar:
Don't worry, we test every single update we give to ensure stable, user-friendly & bug-free experience. Go ahead and flash it ;)

Stay tuned with us!:cool:
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] asifzbaig:
How can I disable FP touch haptic feedback or FP sensor itslef when device is unclocked?

Those small feedbacks really annoys me when phone is in hands during typing or scrolling or just changing hands any finger touches FP by mistake.. .
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sahil_Sonar:
Will look into it! For sure!
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] asifzbaig:
Thank you! and while you are at it pls do look into statusbar icon paddings as well whenever you have time, with battery perccentage I am not getting even a single icon on right side even with DPI as 436
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] DivyanshuJ:
Go to accessibility- Vibration- Turn off 'Touch Vibration'
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] asifzbaig:
But that is not the solution. .it will turn off all the haptic feedbacks even the ones that I want.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] DivyanshuJ:
Yeah i know. Temporary solution for now.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sahil_Sonar:
Sure! Even I noticed will try to fix it with Early June release! Though ... I am not fully sure coz our notch is hell big so it's messing things up! :(
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sahil_Sonar:
New build's up! Due to some reasons, OTA Update will not be received please flash manually!
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] qwertt:
Where is update
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Tyranitar13:
deleted.
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] VWijenberg1987:
Are you gonna make a new build of dotOS 3.1?
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sahil_Sonar:
Compiling 3.1 will be up soon! Sorry for been off since a long was busy with other projects!
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Sahil_Sonar:
Yep!
[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] Tyranitar13:
hope u get official maintainership soon.
[Xiaomi Mi 6 Questions & Answers] kullino:
Hello,

a few days ago my Mi6 (4GB/64GB) upgraded to Pie (9.5.9 Beta) by OTA.

After that, the phone isnt smooth as in the past.

Sometimes starting apps from links while browsing - like ebay or amazon- fails.

Phone take little brakes.

Soundstreaming to a Bluetooth Soundbox is horrible, many little stops.

Does anyone has the same experience or issues after upgrading?

Best regards Christian
[Xiaomi Mi 6 Questions & Answers] votius:
I always have this rule, if i upgrading. Example: from Android 8.0 to 9.0, then i doing full wipe, but older system leaves so many trash in system files.

I install 9.5.9 on my Mi6 128GB with MiFlash and dont have any problems, very stable rom, good battery performance.
[Xiaomi Mi 6 Questions & Answers] kullino:
Thanks mate. I will think about doing a full wipe. The battery performance is also not the best. Its not worse , but battery drain in oreo was much better.
[Xiaomi Mi 6 Questions & Answers] 629ferhat629:
Battery is really bad in mi6 like using an iPhone
[Xiaomi Mi 6 Questions & Answers] votius:
i have 4.5h SOT on 9.5.9
[Xiaomi Mi 6 Questions & Answers] 629ferhat629:
Before 5.9.5 i have 6 or 6.5 hrs but now on 5.9.5 i have just 4.5 or 5 hrs
[Xiaomi Mi 6 Questions & Answers] kullino:
Yes thats true. In the past i charged every two days. Now i have to charge ever day.
[Google Pixel 3a Questions & Answers] frandavid100:
It's been a while since I had a phone with an oled screen, and I remember that after a few months of use the screen would burn in in specific areas where the same image was displayed continuously, e.g. the notification and navigation bars.

Now I'm worried that enabling "always on", which makes the clock and notifications show up in the screen all the time, will cause this problem.

Should I disable it? Are oled screens better now? Don't they do that anymore?
[Google Pixel 3a Questions & Answers] Archangel:
I would imagine that Google has installed some type of burn in protection where it moves the images slightly to avoid this.
[Google Pixel 3a Questions & Answers] frandavid100:
That's what I thought at first, but they don't seem to move at all...
[Google Pixel 3a Questions & Answers] cjbr0wn:
What I've read is that the info on the screen moves one pixel every minute to avoid burn-in.
[Google Pixel 3a Questions & Answers] krabman:
Yeah, same as the flagships, it moves.
[Google Pixel 3a Questions & Answers] wpscully:
My Samsung S9 moves the time/date on the always-on screen by a wide, very noticeable amount (up, down, left right). Which is (I think) the right way to avoid burn-in.

As best I can tell the 3a does move the always-on time/date display. But it's not by much. This is really quite surprising because, yes, I think AOD will leave a blurry region right in the middle of the display which inevitably is going to be noticeable. To test this I placed a Post-It note on the screen, on the base-line, just under the day, month, temperature from the always-on display, then let the phone rest most of the day. It appears to me that the image is shifting, down, by a few pixels. After a few minutes the image shifts up, appearing to return to it's starting point. Without a reference-point (the Post_It Note) I'm not sure I'd be able to tell the image shifted at all.

If the display moves one pixel per minute, and the display has perhaps 400 pixels per inch, then it takes something like six and a half hours to move to the entire AOD to a new spot on the screen. Seems to me like that's laughably slow.
[Google Pixel 3a Questions & Answers] jmtjr278:
This aod has been implemented since the pixel 2, I believe. That device is coming up on being 2 years old. If this was an issue, I believe we would have heard someone complain about it by now. Maybe someone has, but I haven't heard it. I would say just enjoy your phone and don't worry so much. But I'm no engineer and have no expertise in the field.
[Google Pixel 3a Questions & Answers] tokuzumi:
I have a 2016 Pixel, and the "always on" isn't always on. Maybe that's a setting somewhere, but functions similar to the old Moto X phones. The screen comes on when you interact with it for a few seconds, and then shuts off. Does the screen always display the clock/notification icons? That's definitely something I'd only want to be on for a few seconds at a time.
[Google Pixel 3a Questions & Answers] Molitro:
You can set it up both ways.

You can have it turn on when you double tap or pick up the phone, or you can have it to be always on, in which case it only turns off when you block the ambient sensors (so when it goes into a pocket, you put it face down on a table, and so on), otherwise it stays on.

Personally I set it up to turn on when I pick it up or double tap, really don't have the need to have it always on anyway.
[Google Pixel 3 XL Questions & Answers] samteeee:
Hi;

Has DSDS functionality disappeared with Q Beta 3?

I don't even see the eSIM anymore! And I did a reset as well.

Any suggestion is much appreciated.
[Google Pixel 3 XL Questions & Answers] bobby janow:
I don't know what they are doing but it seems that if you had it working on Beta 2 then it continued working. Some have said the menu is in a different location but that is not confirmed. I think they are working on making it stable, at least I hope so. If not then we're out of luck until perhaps the P4.

edit: Here's a decent thread for it, hopefully it helps. https://www.reddit.com/r/android_beta/comments/bki3rr/if_you_have_trouble_enabling_dsds/
[Google Pixel 3 XL Questions & Answers] samteeee:
Thanks a lot.
[Miscellaneous Android Development] rakshakb:
twrp 3.2.1 port for karbonn a41_power

[* Your warranty is now void.

*

* I am not responsible for bricked devices, dead SD cards,

* thermonuclear war, or you getting fired because the alarm app failed. Please

* do some research if you have any concerns about features included in this ROM

* before flashing it! YOU are choosing to make these modifications, and if

* you point the finger at me for messing up your device, I will laugh at you.

*

*/]

View attachment 4758537 View attachment 4758538 View attachment 4758539

this is unofficial port of twrp 3.2.1 .

you need fastboot tool installed & karbonn a41.

how to flash : =unlock bootloader by typing command in fastboot= fastboot flashing unlock

flash recovery by typing

fastboot flash recovery twrp_3.2.1.img

download

View attachment 4758540

Credit & Thanks to Xda-Devoloper
[MENTION=7691065]Parthib[/MENTION]https://xdaforums.com/member.php?u=7691065

ported from this recovery https://xdaforums.com/android/development/twrp-teamwin-recovery-project-walton-t3713994