MatteCarra / AccA

Acc app allows to edit acc config file and add a tile to start and stop acc deamon
GNU General Public License v3.0
1.19k stars 85 forks source link

files under /sdcard/ #50

Closed 0xRR closed 5 years ago

0xRR commented 5 years ago

There are more and more files and folder under /sdcard/ . It will be very thankful if you put them under /sdcard/Android/data/mattecarra.accapp .

VR-25 commented 5 years ago

Which folders are you referring to, specifically? The app doesn't store anything in user storage. In fact, it doesn't even have user storage access permissions.

0xRR commented 5 years ago

Which folders are you referring to, specifically? The app doesn't store anything in user storage. In fact, it doesn't even have user storage access permissions.

ACCA_v1.0.11(16) has only an folder names "/acc" . ACCA_v1.0.12(17) has an folder names "/acc-data" and a file names “.acc-config-backup.txt” .

VR-25 commented 5 years ago

These are created by the back-end (acc). You can safely delete /sdcard/acc-data/. It's an artifact.

Now we're left with /sdcard/.acc-config-backup.txt. This file is there to survive TWRP factory resets. The actual config is stored at /data/adb/acc-data/config.txt.

The backup file can't be stored at /sdcard/Android/data/mattecarra.accapp/, because ACC itself is independent. Besides, this would interfere with other front-ends.

0xRR commented 5 years ago

These are created by the back-end (acc). You can safely delete /sdcard/acc-data/. It's an artifact.

Now we're left with /sdcard/.acc-config-backup.txt. This file is there to survive TWRP factory resets. The actual config is stored at /data/adb/acc-data/config.txt.

The backup file can't be stored at /sdcard/Android/data/mattecarra.accapp/, because ACC itself is independent. Besides, this would interfere with other front-ends.

Thanks for the explanation !

I see , my fault , apologises !