khlam / debloat-samsung-android

ADB commands to aggressively de-bloat Samsung Android Phones without root. Make Samsung One UI closer to stock Android.
MIT License
411 stars 73 forks source link

Camera App Crashes on Snap (s21) #24

Open Chopium opened 3 years ago

Chopium commented 3 years ago

With a recent update in early July, the default camera app started crashing when capturing. Anyone know the dependency causing that?

rwese commented 3 years ago

Maybe Bixby vision causes this, or similar.

com.samsung.android.bixbyvision.framework
com.sec.factory.camera
com.sec.factory.iris.usercamera

Did you try reset and delete the cache of the camera? app

Chopium commented 3 years ago

Good theories to follow. I did try cache deletion and resetting. I ended up grabbing a custom apk for google's official camera with added support for the s21. Works great.

khlam commented 3 years ago

Hello folks, thank you very much for bringing this to my attention!

I've gone through the full list in chunks with an S21 (unlocked US variant) and it seems com.samsung.android.app.smartcapture contributes to the default camera app crashing on this device. I've removed it from the list in the main branch. I'm not certain this is the root cause and I'll continue to test removing other packages in-case there is another multi-dependency issue.

This isn't the first time I've seen the default camera app behave strangely, so this crashing may vary depending what variant was sold in your country or what firmware/os version you are on, or may not even be related to this.

Realistically, given the variation, I won't ever be able to test a representative sample size of devices to consider this resolved.

As stated in the readme, (and I assume known by a tech-savvy audience that would find this on GitHub), running these commands is out of scope of Samsung's expected use of these devices, so we must remain aware the effect of our bloateware-removal lists may change over time.

If you are affected by this issue I suggest resetting to factory and carefully testing. If removing any specific packages causes a reproducible issue please let me know!