Comments (11)
I deleted two files from the system image and Google Camera started to work (and the sony green-screen issue also went away!). This was suggested in the following XDA post:
https://forum.xda-developers.com/showpost.php?p=69843893&postcount=184
$ adb root
$ adb shell mount -o rw,remount /system
$ adb shell stop
$ adb shell rm /system/etc/permissions/com.google.android.camera.experimental2016.xml
$ adb shell rm /system/framework/com.google.android.camera.experimental2016.jar
$ adb reboot
from treble_experimentations.
I deleted two files from the system image and Google Camera started to work (and the sony green-screen issue also went away!). This was suggested in the following XDA post:
https://forum.xda-developers.com/showpost.php?p=69843893&postcount=184
$ adb root $ adb shell mount -o rw,remount /system $ adb shell stop $ adb shell rm /system/etc/permissions/com.google.android.camera.experimental2016.xml $ adb shell rm /system/framework/com.google.android.camera.experimental2016.jar $ adb reboot
Thanks for this. I was having this problem in a ROM and this did the trick.
from treble_experimentations.
it seems like Google Camera is looking for certain values in com.google.nexus.experimental2016.jar
, but they are missing.
from treble_experimentations.
the jar itself may be fine. it is actually the native method nativeGetTagFromKeyLocal()
that fails.
the key/string com.google.nexus.experimental2016.3a.hybrid_ae_enable
comes from the jar:
$ adb pull /system/framework/com.google.android.camera.experimental2016.jar
/system/framework/com.google.android.camera.experimental2016.jar: 1 file pulled. 0.6 MB/s (2161 bytes in 0.003s)
$ unzip -p com.google.android.camera.experimental2016.jar | strings | grep hybrid
5com.google.nexus.experimental2016.3a.hybrid_ae_enable
Note that Google Camera still crashes in permissive-mode.
from treble_experimentations.
You use google camera version?
from treble_experimentations.
Yes, I am using Google Camera from OpenGApps in my GSI.
from treble_experimentations.
You can share file Google Camera from OpenGapps.
from treble_experimentations.
https://github.com/opengapps/arm64/tree/master/app/com.google.android.googlecamera
from treble_experimentations.
Should be fixed by phhusson/device_phh_treble@639dd35
from treble_experimentations.
@4PERTURE Hi, I am trying to do adb shell stop
from terminal emulator as stop
and that command blacks the phone out. I don't know what stop
does, but I can't seem to delete /system/etc/permissions/com.google.android.camera.experimental2016.xml
or /system/framework/com.google.android.camera.experimental2016.jar
as it says device or resource busy
. Any ideas?
from treble_experimentations.
Workaround: I rebooted the phone in recovery mode and deleted those two files. Gcam's working now
PS: But I would still want to know what stop
does.
from treble_experimentations.
Related Issues (20)
- Lag Video but Clear audio in TikTok Apps GSI A14 X3GT HOT 1
- Pixel 7 pro
- Setup Crash<title>
- Galaxy A10 - Camera Error
- Flash HOT 6
- Flash
- How to flash phh gsi and root on Vankyo P31 (using unisoc sc9863a) HOT 4
- System RO on Google GSI Official 14 HOT 2
- GSI loads fine with DSU loader but fails from FastbootD
- SIM card is detected, but also not really. HOT 1
- <title> How to add status bar padding?
- how to build user variant HOT 2
- Redmi 12 - "surfaceflinger" spams with errors HOT 6
- Redmi 12 - screen backlight stops working after locking/unlocking the screen for a few times HOT 3
- Galaxy A04 - Mobile internet bug HOT 4
- Can anybody pleas build pixel experience with android 14 ??
- battery drain and hot when charging HOT 1
- MTK No Internet HOT 6
- Error in repo sync step HOT 1
- What is the lisense for this? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from treble_experimentations.