yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] thxcertified:
Hey everyone!

First off, thank you for this excellent app, it saved me quite a couple of hours to do it all manually with a different app, great job!

I'd like to confirm that this app is also working on Moto G5 Plus on Lineage 14.1 (7.1.2).

I have a suggestion that could be implemented in further versions:

I'd love to see a "history" button (at least for the last sync) as some of my contacts change their profile pictures from their face pictures to a landscape picture and I don't want that landscape picture to be my contact picture ?.

Although I do like to keep their face pictures updated to the latest picture they use. So maybe there could be an option implemented, that syncs all my contacts and then shows me, which pictures have been updated and then asks me if I want to take the new one or keep the old one.

Maybe in the style of the "always sync/never sync" list. Old picture left, new picture right and then "keep old picture/sync new picture".

Nevertheless great work again!
[Android Apps and Games] krilok:
Constant 'waiting for network to become idle' warning: not syncing...

Great app, but since the past few days all I get is the 'Waiting for network to become idle' popup constantly, and contacts won't sync anymore. I've tried different wifi networks, on mobile data, clearing caches, wiping data, fully reinstalling, but still nothing... Would like to ask the Dev for any suggestions, and also, is the 'wait for network to be idle' function really necessary? Thanks in advance...
[Android Apps and Games] AndroidDeveloperLB:
Well, it waits for the network to be idle, because something is using the Internet.

It waits so that it will have a good chance that all thumbnails were downloaded, in order to go to the next phase.
[Android Apps and Games] AndroidDeveloperLB:
Contacts photos are always saved in a square resolution.

In order to stop syncing specific contacts, while showing their current photo on the address book, you can already do it yourself. Just press "choose which contacts to sync".

To see the old vs new, you need to untick the "sync right after fetching". It will give you a final chance of not syncing those you don't wish.
[Android Apps and Games] AndroidDeveloperLB:
It waits in order to have a good chance that all thumbnails were downloaded.

Since many complain about this, I've now published a version that will wait up to 12 seconds for the network to be idle.

In the future, I will allow to customize it, and maybe add a skip button.
[Android Apps and Games] AndroidDeveloperLB:
BTW, anyone know how to get email notifications here about replies to this thread?

For some reason I don't get them.

I also don't get how to unsubscribe from followed projects here:

https://xdaforums.com/devdb/

I wish to remove a lot from there, because I don't have Nexus 5x anymore.
[Android Apps and Games] Sukkhi:
Perfect, Excatly what is needed when most of the people in the world are updating whatsapp more frequently than others...

But dev i hav an issue,

The app scrolls down, finds new pictures, get the high res images

But when i go back to contacts, i dont see all of them assigned to the contacts, most of them are not updated
[Android Apps and Games] AndroidDeveloperLB:
I don't know why it doesn't work 100% well for you. Can you please try the things I wrote on the first post of this thread, under "Recommended" ?
[Android Apps and Games] ban.codrut:
Suggestion

Nice app, just finished syncing 150+ contacts photos and it worked flawlessly.

What I would suggest is to use the root permission to dial down the animation speed (maybe not disable it) before starting the fetch process, on large contact base that will improve the time required quite noticeably, especially on lower tier phones. Then you can set it back to what it was.

I think Android offers some "settings get" and "settings set" for that so it should be easily to implement in your script.
[Android Apps and Games] AndroidDeveloperLB:
I actually thought about it, and used it on my device.

I decided not to publish it, because in case my app crashes for some reason, or the battery got drained, or anything else that could stop it - the animation speed won't be restored.

BTW, here are the commands:

To disable animations-

adb shell settings put global window_animation_scale 0.0

adb shell settings put global transition_animation_scale 0.0

adb shell settings put global animator_duration_scale 0.0

To enable them again-

adb shell settings put global window_animation_scale 1.0

adb shell settings put global transition_animation_scale 1.0

adb shell settings put global animator_duration_scale 1.0

To query:

adb shell settings get global window_animation_scale

...
[Android Apps and Games] ban.codrut:
Thanks for sharing the commands, might come usefully one day.

I can't talk about the app crashing, but for the battery issue I'd suggest a check for battery charge levels before starting, especially on first sync. Also, why not keep track of "last time updated" for every contact so when you sync again it doesn't go through all of them but updates the "old" ones, maybe with a user configurable threshold.

I don't know how much control do you have on fetching from WhatsApp application. Can you point it directly to a contact? Or does it goes through all of them and you compare orders?

I'm only suggesting here ^^ feel free to design you app your own way!
[Android Apps and Games] AndroidDeveloperLB:
Well, it doesn't try to update the same contact if there aren't new images that it has already updated to.

Doesn't matter what stopped it.

If it has updated a photo of a contact, it won't do it again unless there is a new photo.

This is why the phase of the list is important - to see if there are new photos.
[Android Apps and Games] kishan314:
This app is really cool.. Thanks for that..

One help....Once i enabled full screen caller pic in some rom ( it was oreo 8.1,.. Either atomic or DU.. dnt remember which one).. Now i am not able to find that settings..

Is it ROM related setting or GAPPS related??
[Android Apps and Games] AndroidDeveloperLB:
It's not related to GAPPS. It's something of the ROM.

Can you please show me which rom it is? Sounds interesting. Maybe I will try it.

There are some apps out there for full screen caller photo, but I'm not sure which is the best.
[Android Apps and Games] kishan314:
Its AEX mod.. For gemini ( mi5)
[Android Apps and Games] AndroidDeveloperLB:
Cool. Thank you. Nice to see it.

I've requested in the past such a feature, but was refused:

https://issuetracker.google.com/issues/37139638

https://issuetracker.google.com/issues/37130102

https://issuetracker.google.com/issues/36705104
[Android Apps and Games] DorianX:
Hi there, I'm having a problem and don't know what to do, I installed the app like a week ago and works excellent but I tried today and didn't work, don't know if it's a magisk issue because I saw on a telegram group that 16.4 have some issues but all my apps that needs root access works just fine.

I get: "No WhatsApp contacts were found", have all permissions granted, any help?

Enviado desde mi ONEPLUS A5000 mediante Tapatalk
[Android Apps and Games] DorianX:
So I reverted to magisk 16.3 and have the same problem, it's a great app hope I can solve my issue

Enviado desde mi ONEPLUS A5000 mediante Tapatalk
[Android Apps and Games] DorianX:
Some how is working now... [emoji57] Thanks anyway, great app! [emoji1360]

Enviado desde mi ONEPLUS A5000 mediante Tapatalk
[Android Apps and Games] AndroidDeveloperLB:
I think I know the reason for this.

You probably have reset WhatsApp, so that it doesn't have any permission, and so it can't really have contacts.

You need to grant it the contacts permission, and let it sync with the address book.
[Android Apps and Games] Pegasus__:
Very nice app. Thanks
[Android Apps and Games] LoneAsp:
App works great! Thank you for it, it's really helpful in not having empty contact pictures lol.

I did find one issue. I have a OnePlus 6 and enabled navigation gestures instead of having a fixed navigation bar. So when trying to fetch contacts photos, WhatsApp opens but it seems that when it tries to scroll down the contact list it triggers the gesture to go to the home screen.

Not that big of a deal, I can always switch to a fixed navigation bar temporarily to sync the photos but would be cool if I didn't need to lol. If it helps, the gesture to go to the home screen is to "Swipe up from the bottom center edge of the screen"
[Android Apps and Games] AndroidDeveloperLB:
Thank you for reporting about it.

Please check latest version of the app that I've published today (v 1.67 ) . Hope it helps.
[Android Apps and Games] LoneAsp:
Minor bug definitely fixed with the latest update! Cheers mate!
[Android Apps and Games] AndroidDeveloperLB:
I write this when I forgot what I've fixed before, and when I'm not sure what to write.
[Android Apps and Games] prasant737:
Please provide an option to sync with GB WhatsApp
[Android Apps and Games] AndroidDeveloperLB:
There's no need. It should work fine.

Please read the FAQ. I wrote about it
[Android Apps and Games] iscio:
I use with GB wa without any problem
[Android Apps and Games] AndroidDeveloperLB:
Yes.

As long as it has the same package name, it should work the same.
[Android Apps and Games] alagga:
Use the 2nd Version from the GB Homepage (called Whatsapp+). This Version got same package Name as original Whatsapp and so works with Contacts sync ?
[Android Apps and Games] hodanli:
if a contact deleted his whatsapp account, app connot pass him and stucks on his whatsapp page.
[Android Apps and Games] AndroidDeveloperLB:
Not sure I understand. Can you please contact me privately and send me a video of what you mean?
[Android Apps and Games] gamerRR1:
Sync doesn't work for me somehow, is it because I'm using magisk 17.1?
[Android Apps and Games] AndroidDeveloperLB:
I have it too.

I've now removed and re-installed my app, and it seems to work fine.

Have you done anything special to your address book recently? Installed other contacts-related apps, that might interfere?

Changed how contacts are saved?

Contact me via PM or email, so that I could check it up further, privately.
[Android Apps and Games] xflowy:
im having the same issue as the dude above.

pixel 2 xl, rooted stock pie.
[Android Apps and Games] AndroidDeveloperLB:
Guys I can't help you if you don't provide some more information than "it doesn't work".

Contact me so that I could check it out with you
[Android Apps and Games] MoresM:
Hello! Thank you for your hard work on the app. It works for me on my OP6 device, but only with contacts that were imported from a Google account.

Is there any way to make it work with contacts that are stored on the phone?

Edit: to explain, I prefer not to sync my contacts to my Google account. Looking at previous posts I thought I'd add some further information:

I'm on OP6 stock oreo, rooted with latest stable magisk. Recently imported contacts into phone storage from a .vcf file. So far I tried:

Removing all Google contacts and rebooting.

Reinstalling your app and rebooting.

Switching between different 'contacts to display' settings in the contacts app.

EditEdit: read through the thread again and realised that syncing pictures to contacts on phone storage (without a Google account) may not be fully supported.
[Android Apps and Games] AndroidDeveloperLB:
Exactly. Sometimes it works, though. Not sure on which cases. Just don't save on the SIM card, as it seems it doesn't support photos at all.

If you wish, you can sync with Google, sync the photos using my app, and un-sync them from Google. Maybe it will work.
[Android Apps and Games] MoresM:
Thanks for your response and suggestion. Maybe I'll consider doing that.

I really wonder what is making the sync to phone storage contacts fail though. Even with all apps except WhatsApp and your app firewalled (including Google contacts sync), the contacts that were listed under both 'phone storage' and 'imported from Google' are still correctly synced with your app.

Is something different about the way the Oxygen OS contacts app stores images for local and Google contacts? Some kind of folder structure issue?
[Android Apps and Games] AndroidDeveloperLB:
Sadly I don't know. I have always used stock Android from Google. I also tried some custom roms, but not for a long time, and they seem to work fine.
[Android Apps and Games] MoresM:
No worries! Great job on the app nonetheless.

I can also confirm that removing the Google imported contact --from the Contacts App, not the Google account-- removes the picture from the Contacts App altogether. It seems that on this device the imported pictures are strictly bound to the Google contacts.

Also Oxygen OS is the stock OnePlus ROM :)

If I can ever be of any help with working out how to sync with the Contacts App directly let me know.

Again great work on the app. :good:

Edit: maybe it would be possible to implement an 'import to internal storage' option as a fallback when the last step fails?
[Android Apps and Games] AndroidDeveloperLB:
The app already tries to sync with whatever it can, whether it is on Google account, on-device, or others.

Sadly it seems that only on Google-account it works in the best way.
[Android Apps and Games] marvasten:
[MENTION=5798043]AndroidDeveloperLB[/MENTION] any chance to make a non-root version?
[Android Apps and Games] AndroidDeveloperLB:
Still in the making.

I have so little spare time, that I usually prefer to do little things on this app and others.

Sorry.

If you wish, I can send you an APK of a POC (proof of concept) app for non-rooted devices.

What it does, is to (try to) fetch a single contact photo into a file. It doesn't really sync, because I didn't want to mess with the contacts in case it fails.
[Android Apps and Games] siripakbob3:
Samsung Galaxy J4
[Android Apps and Games] AndroidDeveloperLB:
What?
[Android Apps and Games] dan60:
Stuck in initialization process even after changing it to system's app with Titanium backup.
[Android Apps and Games] AndroidDeveloperLB:
I can't see the screenshots.

You aren't supposed to make this app a system app.

It should be fine just with a rooted permission granted to it.

Can you please contact me via email or PM , and show me exactly what the issue is, via video?
[Android Apps and Games] dan60:
Hi!

Ok. I've tried both ways (non system AND system app) but in none of them it worked. Just a loop trying to find root and this is the exact issue. The result was a "root denied" message.

Running rooted Android Oreo in Moto Z Play.
[Android Apps and Games] AndroidDeveloperLB:
How odd. OK I have some questions:

1.Which way did you use for rooting the device ?

If it's Magisk , please go to Magisk Manager, and make sure my app is enabled there. See attached screenshot to know what I mean.

2. Does it occur even if you uninstall and then re-install the app?

3. Do you have issues on other apps that require root?

4. Can you please try to get root on another app that I have? Both of my other 2 apps offer (optionally this time) root operations. "LWP+" appallows to turn off the screen by double tap, and "App Manager" have various operations that are possible only via rooted device (offered in the beginning, similar to Contacts-Sync app).

EDIT: I think I know what the issue is. You've denied the app from using root, and my app currently has a bug about this case, where it will keep asking you to get root while it tries to open Magisk Manager (and for some reason Magisk Manager closes immediately ), and then my app tries again to get root.

I will see what I can do to fix it.

For now, what you need to do is to simply grant the app root permission.

EDIT: published a new version with a fix for this.
[Android Apps and Games] dan60:
Hi.

App Manager ran fine with NO root request (just data permit and not listed in Magisk rooted apps).

Meanwhile I've JUST tried (downloaded from Google Store) Contacts Sync once more and it proceeded as mentioned before in the last posts. In "Magisk Superuser apps list" Contacts Sync is not displayed.

As you've shown it working with Super SU and saying it might be an issue with Magisk that might be so.

I hope you get to fix it as I will post here when it happens to me.

Thank you.
[Android Apps and Games] AndroidDeveloperLB:
I asked if you can grant my other apps root. I wrote that they have root options, but they are optional. To test them, you have to enable them.

If you can't, it means you have something wrong on the device. Magisk works fine for all of my apps. I've just tested them all.

Since Contacts Sync isn't displayed even though it requested, it further shows there is an issue on your device with Magisk.

I suggest updating Magisk to latest versions.

What I've shown is on Magisk. I didn't show it on SuperSU, even though last time I've checked it worked fine there too.

There is nothing more to fix on my side regarding this. I've already fixed what I've found, and it was only about opening Magisk in case the app failed to receive root.

You can try to uninstall my app and re-install it. Maybe this way Magisk will recognize the app again, after you run it and it requests it again.
[Android Apps and Games] siripakbob3:
Samsung Galaxy J4 (2018)
[Android Apps and Games] AndroidDeveloperLB:
Good to know it works on it too.
[Android Apps and Games] dan60:
As I said I would, I come here to tell your app is working fine now.

As I'm not sure on what made it work (I suppose, after uninstalling and reinstalling Magisk), but it worked fine and has been doing so for weeks. Thank you! :good:
[Android Apps and Games] AndroidDeveloperLB:
Oh ok. Happy you got it working.
[Android Apps and Games] gdlin:
This app is awesome and it worked great, on my OnePlus 6. Official and latest firmware, rooted with magisk. Thanks a lot for your work. I just wanted to let you know that's working great on my device, and it worked really quick, 250 contacts in a minute !
[Android Apps and Games] AndroidDeveloperLB:
Thank you.

Good to know.
[Android Apps and Games] graveangel:
Will this app be compatible with whatsapp business? I use both normal and business but I would like to sync my business contacts as well.
[Android Apps and Games] AndroidDeveloperLB:
It already works with it. Was added a month ago or so.

But, if both are installed, I've prioritized on the normal version.

There is no reason to have both installed, because only one can be active at the same time. That's why I've made it working as such automatically.
[Android Apps and Games] begajulan:
Im using LightRom in my s7 edge. I only use googe contact as my contact app. I didnt install samsung native contact app.

The app doesnt work as it doesnt sync my whatsapp contacts' profile picture to my contacts' picture..

Is it because i use google contact or is there another issue?
[Android Apps and Games] Typhoon_Master:
Hey, i got a xiaomi phone (land) with lineageOS 14 on it, and it does not load the contacts. :(

the app has got the contacts-permission, but i dont know what else i have to give the permission to. (the faq is not really concrete on this)

can you help me?
[Android Apps and Games] amihir:
Can it work by giving adb permissions, because I don't want to root my phone any sooner ?

And now the WhatsApp doesn't allow profile pic sharing, so things became difficult
[Android Apps and Games] AndroidDeveloperLB:
The app uses adb command for more than just permissions.

The permissions is just to make things easier for you, instead of pressing "next" or "I accept" all the time.

What do you mean "profile pic sharing" ? My app has nothing to do with that.

If you wish, I can send you a POC APK file that tries to get the images of the contacts from WhatsApp without root (doesn't change your address book because it's not ready yet), but it's extremely experimental and you should uninstall it when you are done trying it.
[Android Apps and Games] AndroidDeveloperLB:
On the one hand, I think it's best to have the contacts on Google, because this gave users the best results.

On the other, you use a custom rom. Some custom roms, for some reason, mess around with how my app works. I don't know how and why they do, but some users told me that on their custom rom it didn't work, and when switching to another rom it worked for them.

Please read the FAQ. Maybe you will find your answer.
[Android Apps and Games] AndroidDeveloperLB:
What do you mean by "does not load the contacts" ?

Did you grant it root?

Does my app show the list of contacts when you press the button to show them (to set rules) ?
[Android Apps and Games] amihir:
By profile pic sharing, I mean WhatsApp updated the app, and now profile pic can't be shared ?

So I cannot do it manually ?

And if possible please share the POC APK file!
[Android Apps and Games] AndroidDeveloperLB:
Please contact me via PM, so that I could send you.

Again, it's only a POC. Don't expect it to do the whole thing. I think it still has some bugs too.
[Android Apps and Games] AndroidDeveloperLB:
I've sent you, and you didn't respond so far...

You didn't get it?
[Android Apps and Games] amihir:
I got it !

I tested yesterday, just forgot to reply ?
[Android Apps and Games] sakarya1980:
On Whatsapp 2.19.88 is not work [emoji3064] how can i fix it?

Gesendet von meinem ONEPLUS A6013 mit Tapatalk
[Android Apps and Games] AndroidDeveloperLB:
I have an even newer version of it (2.19.190) and it works fine.

What exactly doesn't work for you?

Please try what's written on the FAQ.

Maybe something from there will help.

If it didn't help, contact me via PM, and show me more details (video etc...).

Update: I've updated the app today. Maybe it will help you. Fixed minor issues...
[Android Apps and Games] Triviox:
Great app! Could maybe add a way to program sutosync in background? Thanks for the work!
[Android Apps and Games] AndroidDeveloperLB:
Sadly, as the FAQ on the first post say, no.

What I could do is to have a good guess that there are new photos, to let you know about this via a notification, so that you could start syncing.
[Android Apps and Games] Spryth:
Hi,

great app, super helpful. I have 2 suggestions to make it even greater.

1. Perhaps add a way to get to the URL to this page via the homescreen of the app. Currently you have to do a sync to get to it which felt frustrating to me.

2. When you are reviewing the pictures that are going to be updated during the sync, if you dislike the new picture you can only stop syncing that contact forever. A button to ignore the contact once, only during this sync, would be very helpful.
[Android Apps and Games] AndroidDeveloperLB:
1. It's already available. It's on the link "here" in the last sentence ("...read the FAQ here..."). I encourage people to read it before

2. Why is it useful? What happens if you stop the sync? Remember that when you stop, it still goes to the last phase, of the actual syncing with what it got so far. What happens for those that we didn't know if they had a photo or not, and were skipped ?