WeightLogger icon indicating copy to clipboard operation
WeightLogger copied to clipboard

Backup BKP file not working on new phone

Open Icondacarver opened this issue 8 months ago • 1 comments

Moving from a Pixel 8 Pro to S26 Ultra. Made a backup and moved the file to the new phone but the app will not see the backup when I click restore.

If I create a new backup in the same location from the new phone, that is visible to restore. I can see both backups with file manager, but the app only see the ones created on new phone.

Icondacarver avatar Mar 30 '26 10:03 Icondacarver

I'm having the same issue. The AI, analysing the code, suggests that it may be caused by a "scoped storage problem on Android 10+ (API 29+)". The suggested solution would be:

Use the Storage Access Framework (SAF) to let users pick the backup file directly, bypassing the scoped storage restrictions.

In case a rescan fixed the issue, I tried to trigger Media Scan via ADB, using the command:

adb shell am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN_FILE -d file:///storage/emulated/0/Download/WeightLogger/20260331_1011.bkp

The output was:

Broadcasting: Intent { act=android.intent.action.MEDIA_SCANNER_SCAN_FILE dat=file:///... flg=0x400000 }
Broadcast completed: result=0

Unfortunatelly, the issue was not fixed.

Can anybody provide an alternative approach that allows to enable visibility from the WeightLogger app to *.bkp files that have been created from other mobile?

Ben-m-s avatar Apr 02 '26 09:04 Ben-m-s