ananjaser1211 / FloydQ_Reports

BUG Reporting for Exynos8890 OneUI 2.0 Project
57 stars 7 forks source link

[BUG] Photos from Samsung Cloud / OneDrive not appearing. #187

Closed Selembung closed 3 years ago

Selembung commented 4 years ago

Screenshot_20200906-224152_Gallery

ananjaser1211 commented 4 years ago

Bug exists since V2, even tho there is no change done to any of samsungs sync apps. unclear why this happens

SypeR54 commented 4 years ago

Can you try to collect Verbose (log_all.bat) log before opening the Gallery and add here? Thanks.

Selembung commented 4 years ago

Can you try to collect Verbose (log_all.bat) log before opening the Gallery and add here? Thanks.

How to do it?

SkyrilHD commented 4 years ago

Download this repo on your computer and turn on ADB Debugging in developer options on your phone. Then connect the phone to your computer and run Log_all.bat. After your command prompt pops up, open gallery and play around a bit. Then close the command prompted and post the log-all.log here.

rsspeed commented 4 years ago

I had already asked about it on xda.

https://forum.xda-developers.com/showpost.php?p=83400747&postcount=1755

will it be fixed?

SkyrilHD commented 4 years ago

If someone sends a log about this issue, the devs will look into it

rsspeed commented 4 years ago

would if I knew how

2020-09-09 15_29_31-Window

SypeR54 commented 4 years ago

@rsspeed Dont use "run" prefix. Just log_all.bat or just double click the "log_all.bat" file. The file will be do the rest of the process.

rsspeed commented 4 years ago

without "run" nothing happens in the CMD window

i don`t know where i must a double click on the "log_all.bat" file, i found them not

SkyrilHD commented 4 years ago

The easiest way would be to download this repo and run it that way.

  1. Download this repo
  2. After you extracted the zip, open the folder
  3. Go to your current OS' folder
  4. Double click on Log_all.bat
  5. Open the gallery on your phone and play around with it
  6. Close the CMD window and send the 'log-all.log' here
rsspeed commented 4 years ago

Sorry but i don`t finde the repo zip :-(

SkyrilHD commented 4 years ago

Here is the link:

https://github.com/ananjaser1211/FloydQ_Reports

Go to the green button which says Code, then click on 'Download ZIP'

Selembung commented 4 years ago

Here the log-all.log log_All.log

rsspeed commented 4 years ago

log_All.log and here ist my log-all.log thx @SkyrilHD

SypeR54 commented 4 years ago

@Selembung Thank you for logs. I'll check them when i'm free.

rsspeed commented 4 years ago

Is there any solution to fix this problem?

ananjaser1211 commented 4 years ago

would have been marked as patched/fixed if that is the case.

there is no fix yet, and it seems that post april Q, something has changed and broke thumbnail perms

09-09 18:14:07.745 25311 1730 E BitmapFactory: Unable to decode stream: java.io.FileNotFoundException: /data/sec/cloud/0/thumbnail/15765011370000ba9551e2ae69d0b.jpg: open failed: EACCES (Permission denied)

the same issue happens on custom S9+ rom on that device and on my other Q port for the note8 (so without debloating and anything)

it will upload photos you take to the cloud, but it wont retrieve old ones / use the thumbnail from samsung cloud

we can see that it retrieves the thumbnail just fine

09-09 18:14:07.743 25311 25311 I Gallery : [1359:ImageViewerFragmen/8] onSlideIn MediaItem{i,0,2147505738,-1798584492,Cloud (320,320,0,0:1576497537000,1576526072,image/jpeg:-1,0:true:null:2147505738//data/sec/cloud/0/thumbnail/15765011370000ba9551e2ae69d0b.jpg) ,67ezXL2Til49hdOKYhWHil48v4pePc+KXj2XimIVj4piFL+KYhWNs4piFb3Xil49kL+KYhTDil48v4pePdOKYhWjimIV14piFbeKYhWJu4piFYWnil49sLzHimIU14piFN+KYhTbimIU14piFMOKYhTHimIUx4pePM+KXjzfil48wMDDimIUw4piFYuKYhWE54piFNeKYhTXil48x4piFZeKYhTJh4piFZTY54piFZDBiLuKXj2ril49w4pePZw==riBKhqg}

but it fails to decode it due to a permission issue somewhere

09-09 18:14:07.745 25311 1730 E BitmapFactory: Unable to decode stream: java.io.FileNotFoundException: /data/sec/cloud/0/thumbnail/15765011370000ba9551e2ae69d0b.jpg: open failed: EACCES (Permission denied)

so something in /data/sec/cloud/ got messed up somewhere. it is a place to start, if anything happens ill update this issue

ananjaser1211 commented 3 years ago

This bug wont be fixed, ill be marking it as technical limitation, as the same bug exists on rooted S9+ with custom roms.

not sure if samsung tied cloud to knox or whatever they have done in Q. but im tired of chasing empty leads.

if at any time in the future something shows up about this, we can revist