Goodix for Oreo: SOLVED - Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re

unofficial RR 6.0.0 https://t.me/RR_6_kenzo
The biggest thing I managed to do on OREO for GOODIX
11-13 12:40:23.971 582 615 D FingerGoodix: server,NOTIFY_CALLBACK
11-13 12:40:23.971 582 615 D FingerGoodix: fpcode, GxFpDevice::notify(), fingerid = 1957747793
11-13 12:40:23.971 582 615 D FingerGoodix: fpcode, GxFpDevice::notify(), msgType=1, ext1=0, ext2=0
11-13 12:40:24.045 582 582 D FingerGoodix: server,NOTIFY_CALLBACK
11-13 12:40:24.047 582 582 D FingerGoodix: fpcode, GxFpDevice::notify(), fingerid = 1957747793
11-13 12:40:24.047 582 582 D FingerGoodix: fpcode, GxFpDevice::notify(), msgType=17, ext1=16, ext2=0
11-13 12:40:24.047 582 582 D FingerGoodix: fpcode, GxFpDevice::notify(), register, arg = 10
11-13 12:40:24.047 582 582 D FingerGoodix: fpcode, register progress increase 1
11-13 12:40:24.047 582 582 D FingerGoodix: fpcode, send_fp_scan_on(3, 1957747793, 0, 10, 0 ...)
11-13 12:40:24.047 582 2752 D FingerGoodix: fpcode, recv_fp_scan_data(), received
11-13 12:40:24.047 582 2752 D FingerGoodix: fpcode, recv_fp_scan_data(), result:{action=3, msg_type=3, custom_fp_id=1957747793, gx_fp_id=0, arg1=10
11-13 12:40:24.047 582 2752 D FingerGoodix: got finger 0
11-13 12:40:24.048 582 2752 D FingerGoodix: fpcode, got gx_finger 0, verifyScore=10
11-13 12:40:24.048 582 2752 D FingerGoodix: fpcode, listener_send_notice(0x7a91a70280), listener state: 1
11-13 12:40:24.048 582 2752 D FingerGoodix: notify acquired message:0
11-13 12:40:24.048 582 2752 E DaemonProxy: onAcquired(0) hncb
11-13 12:40:24.048 582 2752 E IFingerprintDaemonCallback: DaemonCallback onAcquired
11-13 12:40:24.048 582 2752 D FingerGoodix: fpcode, listener_send_notice, notified FINGERPRINT_ACQUIRED_GOOD, fid:0
11-13 12:40:24.048 582 2752 E DaemonProxy: onEnrollResult(fid=0, gid=0, rem=10)
The libraries of a goodix are called, the finger is scanned 11 times, but the callback does not work.
Next I'll try to tell how I did it on the example of the FPC scanner. With it it is easier, because there is a working variant with what it is possible to compare. Yes, and I apologize for my bad English.
biometrics-2.0-kenzo https://drive.google.com/file/d/1o3_4epHENb1wUpO7sIK_LpxV8nQ-7xao/view
diff12.patch with my changes for aosp 8.0 https://drive.google.com/file/d/1n3KE2RPB-9tAoKdjrjswCWMp1R2c5JAE/view
1. biometrics-2.0.zip is unzip to device.
2. from device I deleted fingerprint (if it exists)
3. in device.mk instead of what was there for # Fingerprint
Code:
# Fingerprint
PRODUCT_PACKAGES + = \
fingerprintd \
[email protected] \
fingerprint.wrapper.msm8952
4. the call to the gx_fpd service from init.target.rc moved to biometrics-2.0 ... rc, and fingerprintd is called there. remove from init.target.rc gx_fpd service
5. sepolicy rules to accurately be sure, may not need to be touched. although for biometrics-2.0 -... kenzo is probably needed.
further log, as this does not work with the FPS scanner
1-13 10:36:36.384 686 686 E [email protected]: BIOMETRICS-2.0-kenzo enroll.
11-13 10:36:36.384 686 686 E FingerprintHal: fingerprint_enroll
11-13 10:36:36.384 686 686 E : Daemon enroll
11-13 10:36:36.385 687 687 E : Daemon onTransact 3
11-13 10:36:36.385 687 687 E : Daemon checkPermission
11-13 10:36:36.385 687 687 E fingerprintd: enroll(gid=0, timeout=60)
11-13 10:36:36.385 687 687 D fpc_fingerprint_hal: fpc_enroll
11-13 10:36:36.385 687 687 D fpc_fingerprint_hal: hat->challenge 17859032535833436819
11-13 10:36:36.385 687 687 D fpc_fingerprint_hal: hat->authenticator_id 0
11-13 10:36:36.385 687 687 D fpc_fingerprint_hal: hat->authenticator_type 16777216
11-13 10:36:36.385 687 687 D fpc_fingerprint_hal: hat->timestamp 5252042689955758080
11-13 10:36:36.385 687 687 D fpc_fingerprint_hal: hat->user_id 17266609339145564952
11-13 10:36:36.385 687 687 D fpc_fingerprint_hal: hat->version 0
11-13 10:36:36.385 687 687 I fpc_fingerprint_hal: fpc_worker_set_state_locked worker_state_t = 0
11-13 10:36:36.396 687 1497 I fpc_fingerprint_hal: do_navigation end -
11-13 10:36:36.401 687 1497 D fpc_fingerprint_hal: workerFunction STATE_IDLE
11-13 10:36:36.401 687 687 I fpc_fingerprint_hal: fpc_worker_set_state_locked worker_state_t = 1
11-13 10:36:36.401 687 1497 D fpc_fingerprint_hal: workerFunction STATE_ENROLL
11-13 10:36:36.408 687 1497 D fpc_fingerprint_hal: fpc_wait_finger_up
11-13 10:36:36.615 687 1497 D fpc_fingerprint_hal: fpc_wait_finger_up FPC_LIB_FINGER_LOST
11-13 10:36:36.729 786 786 I MSM-irqbalance: Decided to move IRQ215 from CPU2 to CPU3
11-13 10:36:37.071 687 1497 D fpc_fingerprint_hal: fpc_handle_image_subscription
11-13 10:36:37.123 687 1497 E fingerprintd: onAcquired(0)
11-13 10:36:37.123 687 1497 E IFingerprintDaemonCallback: DaemonCallback onAcquired
11-13 10:36:37.126 687 1497 E fingerprintd: onEnrollResult(fid=0, gid=0, rem=11)
11-13 10:36:37.126 687 1497 E IFingerprintDaemonCallback: DaemonCallback onEnrollResult
11-13 10:36:37.126 687 1497 D fpc_fingerprint_hal: fpc_wait_finger_up
11-13 10:36:37.329 687 1497 D fpc_fingerprint_hal: fpc_wait_finger_up FPC_LIB_FINGER_LOST
11-13 10:36:37.785 687 1497 D fpc_fingerprint_hal: fpc_handle_image_subscription
11-13 10:36:37.871 687 1497 E fingerprintd: onAcquired(0)
11-13 10:36:37.871 687 1497 E IFingerprintDaemonCallback: DaemonCallback onAcquired
11-13 10:36:37.873 687 1497 E fingerprintd: onEnrollResult(fid=0, gid=0, rem=10)
11-13 10:36:37.874 687 1497 E IFingerprintDaemonCallback: DaemonCallback onEnrollResult

and this is what works through boimetrics
11-12 19:29:08.768 596 812 D fpc_fingerprint_hal: fpc_handle_image_subscription
11-12 19:29:08.797 596 812 E [email protected]: BIOMETRICS-2.0-kenzo notify :1:.
11-12 19:29:08.797 596 812 D [email protected]: onAcquired(0)
11-12 19:29:08.800 596 812 E [email protected]: BIOMETRICS-2.0-kenzo notify :3:.
11-12 19:29:08.800 596 812 D [email protected]: onEnrollResult(fid=0, gid=0, rem=11)
11-12 19:29:08.800 596 812 D fpc_fingerprint_hal: fpc_wait_finger_up
11-12 19:29:09.057 596 812 D fpc_fingerprint_hal: fpc_wait_finger_up FPC_LIB_FINGER_LOST
11-12 19:29:09.511 596 812 D fpc_fingerprint_hal: fpc_handle_image_subscription
11-12 19:29:09.577 596 812 E [email protected]: BIOMETRICS-2.0-kenzo notify :1:.
11-12 19:29:09.577 596 812 D [email protected]: onAcquired(0)
11-12 19:29:09.580 596 812 E [email protected]: BIOMETRICS-2.0-kenzo notify :3:.
11-12 19:29:09.580 596 812 D [email protected]: onEnrollResult(fid=0, gid=0, rem=10)
I did not manage to make callback from fingerprintd in biometrics.
If someone can help, please...
It also most likely can work if return the old FingerprintService and fingerprintd. But I did not succeed. The ROM did not start.

22222222222222222

well then #RIPGoodix

Great job sur. You're another billchen if it works!

What is this? A fix for goodix??

nairaldo said:
What is this? A fix for goodix??
Click to expand...
Click to collapse
No it is not. You would understand too if you read it.

i wanted to help but i dont i dont have much knowlege on android language i am mostly PHP/JS/CSS/XML/JSON...
But keep going buddy!! we belive in you!!! you would be the boss if i could make it work!!

Haha thats it mate youve done it.

Oh. These were my mistakes.
The first, when I tried to return the old FingerprintService to the frameworks, I added to the device/sepolicy
android.hardware.fingerprint.IFingerprintDaemon u: object_r: fingerprintd_service: s0
the same line is in the system/sepolicy. The assembly was successful, but the ROM was not loaded. I was upset and threw out the assembly.
E SELinux : Multiple same specifications for android.hardware.fingerprint.IFingerprintDaemon.
F libc : Invalid address 0x79a1426000 passed to free: value not allocated
F libc : Fatal signal 6 (SIGABRT), code -6 in tid 965 (servicemanager)
I crash_dump64: obtaining output fd from tombstoned
I /system/bin/tombstoned: received crash request for pid 965
I crash_dump64: performing dump of process 965 (target tid = 965)
F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
F DEBUG : Build fingerprint: 'Xiaomi/kenzo/kenzo:6.0.1/MMB29M/V8.2.1.0.MHOCNDL:user/release-keys'
F DEBUG : Revision: '0'
F DEBUG : ABI: 'arm64'
F DEBUG : pid: 965, tid: 965, name: servicemanager >>> /system/bin/servicemanager <<<
F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
F DEBUG : Abort message: 'Invalid address 0x79a1426000 passed to free: value not allocated'
F DEBUG : x0 0000000000000000 x1 00000000000003c5 x2 0000000000000006 x3 0000000000000008
F DEBUG : x4 8000000000808080 x5 8000000000808080 x6 8000000000808080 x7 0000000000000008
F DEBUG : x8 0000000000000083 x9 f8a6c7d5fa917299 x10 0000000000000000 x11 0000000000000001
F DEBUG : x12 ffffffffffffffff x13 0000000000000001 x14 0000000000000000 x15 00213d43075627cf
F DEBUG : x16 00000079a1d09300 x17 00000079a1cae590 x18 0000000000000019 x19 00000000000003c5
F DEBUG : x20 00000000000003c5 x21 0000000000000000 x22 0000000000000000 x23 00000079a1d14878
F DEBUG : x24 0000000000000005 x25 0000000000000000 x26 0000000000000000 x27 0000000000000000
F DEBUG : x28 0000000000000000 x29 0000007ff5329450 x30 00000079a1c62954
F DEBUG : sp 0000007ff5329410 pc 00000079a1cae598 pstate 0000000060000000
F DEBUG :.
F DEBUG : backtrace:
F DEBUG : #00 pc 0000000000069598 /system/lib64/libc.so (tgkill+8)
F DEBUG : #01 pc 000000000001d950 /system/lib64/libc.so (abort+88)
F DEBUG : #02 pc 000000000002512c /system/lib64/libc.so (__libc_fatal+116)
F DEBUG : #03 pc 000000000008ee44 /system/lib64/libc.so (ifree+812)
F DEBUG : #04 pc 000000000008f0bc /system/lib64/libc.so (je_free+112)
F DEBUG : #05 pc 0000000000003a54 /system/lib64/libselinux.so (closef+96)
F DEBUG : #06 pc 0000000000004550 /system/lib64/libselinux.so (selabel_close+256)
F DEBUG : #07 pc 0000000000004444 /system/lib64/libselinux.so (selabel_open+392)
F DEBUG : #08 pc 000000000000ad54 /system/lib64/libselinux.so (selinux_android_service_context_handle+68)
F DEBUG : #09 pc 000000000000182c /system/bin/servicemanager (main+176)
F DEBUG : #10 pc 000000000001b62c /system/lib64/libc.so (__libc_init+88)
F DEBUG : #11 pc 0000000000000e58 /system/bin/servicemanager (do_arm64_start+80)
E crash_dump64: unable to connect to activity manager: No such file or directory
I'm grateful to @abhishek987 for help. Now I will try again to do what I used to be wrong. And one more option from the respected @abhishek987.

working GOODIX on OREO. both fpc and goodix. try out https://drive.google.com/open?id=1WZakT7OaH6SAEpaMVIiwBhfvU23Hx6SK
When configure several times to press without an answer, then it starts to be adjusted. I have not looked in the logs yet. it returned the old FingerprintServise and everything connected with it.
Patch will do later.
I will try to do it through biometrics.
The truth is not working very well, but I think I will recover
who has a delay when the scanner is triggered, try this build
https://drive.google.com/open?id=1HbRp2Sb9RThYOZN6aGDKbXwt2W1u6z8q
here should fix gps

Great Dude

alex9yust said:
working GOODIX on OREO. both fpc and goodix. try out https://drive.google.com/open?id=1WZakT7OaH6SAEpaMVIiwBhfvU23Hx6SK
When configure several times to press without an answer, then it starts to be adjusted. I have not looked in the logs yet. it returned the old FingerprintServise and everything connected with it.
Patch will do later.
I will try to do it through biometrics.
The truth is not working very well, but I think I will recover
Click to expand...
Click to collapse
Ur the best bro

It would be the best thing if Goodix works on Oreo!
Many are still on nougat because of the fingerprint problem.
All the best. I guess there's only some fine tuning left to do now. ?

Using the recovery with the AlienFace and get error 7 when i try to install this rom =/
even with normal TeamWin Recovery ? (get error 7 downloading again)
And again, can´t install this one =(

Goodix working as intended (for now), keep it up man!

⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀

Maximaro said:
Using the recovery with the AlienFace and get error 7 when i try to install this rom =/
even with normal TeamWin Recovery ? (get error 7 downloading again)
Click to expand...
Click to collapse
Try redwolf recovery

How it's work? Anyone plz explain ...

On the day my fpc sensor purchased on aliexpress was delivered. :laugh:

Related

Play store crash when Chrome updating

Whenever I try to update Chrome on my stock Moto G, I get told that Play store has stopped and I see that the update has failed. This has been happening for a while now, with no change - each time I go to update it says the same thing. Most other apps have no problem at all (Barclays Mobile Banking is the only one I have seen that shows the same symptoms. How can I make it update?
Running adb logcat gives me the following log from around the time of the crash - I don't know how much of this is related:
08-10 20:26:10.647 1729 1729 V AlarmManager: done {57fb0c, *alarm*:send_events} [5ms]
08-10 20:26:10.693 24324 24324 I Finsky : [1] com.google.android.finsky.billing.lightpurchase.LightPurchaseFlowActivity.a(33926): Permissions accepted: com.android.chrome
08-10 20:26:10.707 24324 24324 I Finsky : [1] com.google.android.finsky.receivers.j.a(533): Request install of com.android.chrome v=275609801 pri=2 for single_install
08-10 20:26:10.723 24324 24324 I Finsky : [1] com.google.android.finsky.receivers.j.a(1327): Installer kick - starting com.android.chrome
08-10 20:26:10.726 24324 24363 I Finsky : [69017] com.google.android.finsky.installer.z.b(204): Created session 1717042442 for com.android.chrome
08-10 20:26:10.726 24324 24324 I Finsky : [1] com.google.android.finsky.receivers.x.d(36112): File-by-File patching compatibility check enabled.
08-10 20:26:10.734 24324 24373 I Finsky : [69027] com.google.android.finsky.receivers.ae.doInBackground(3117): File-by-File compatibility check result: true
08-10 20:26:10.749 3104 3104 I Auth : [AuthDelegateWrapper] Service intent: Intent { cmp=com.google.android.gms/.auth.account.authenticator.DefaultAuthDelegateService }.
08-10 20:26:10.761 1729 3271 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
08-10 20:26:10.803 3104 3104 I Auth : [AuthDelegateWrapper] Service intent: Intent { cmp=com.google.android.gms/.auth.account.authenticator.DefaultAuthDelegateService }.
08-10 20:26:10.969 24324 24363 I Finsky : [69017] com.google.android.finsky.installer.ai.run(127): Session for com.android.chrome already exists, skipping creation
08-10 20:26:11.048 1729 1738 I art : Background partial concurrent mark sweep GC freed 31653(2MB) AllocSpace objects, 4(80KB) LOS objects, 31% free, 34MB/50MB, paused 15.362ms total 211.628ms
08-10 20:26:12.358 356 356 W SurfaceFlinger: couldn't log to binary event log: overflow.
08-10 20:26:12.467 24324 24324 I Finsky : [1] com.google.android.finsky.receivers.an.onPostExecute(5117): Downloading patch for com.android.chrome (com.android.chrome)
08-10 20:26:12.471 1729 2417 D VoldConnector: SND -> {23631 volume mkdirs /storage/emulated/0/Android/data/com.android.vending/files/}
08-10 20:26:12.472 232 241 E cutils : Failed to openat(/storage/emulated/0/Android): Permission denied
08-10 20:26:12.472 1729 2319 D VoldConnector: RCV <- {400 23631 Command failed}
08-10 20:26:12.473 24324 24324 W ContextImpl: Failed to ensure /storage/emulated/0/Android/data/com.android.vending/files: 400
08-10 20:26:12.475 24324 24324 I Finsky : [1] com.google.android.finsky.download.e.a(264): Duplicate state set for 'com.android.chrome' (0). Already in that state
08-10 20:26:12.476 24324 24324 I Finsky : [1] com.google.android.finsky.download.x.e(145): Download com.android.chrome added to DownloadQueue
08-10 20:26:12.479 24324 24324 I Finsky : [1] com.google.android.finsky.download.e.a(266): com.android.chrome from 0 to 1.
08-10 20:26:12.485 382 382 I installd: free_cache(5791617) avail 803995648
08-10 20:26:12.491 24324 24324 I Finsky : [1] com.google.android.finsky.download.ai.run(5566): Download com.android.chrome starting
08-10 20:26:12.512 22581 22592 W DownloadManager: Path appears to be invalid: /1470857172467
08-10 20:26:12.515 22581 22592 W DownloadManager: Path appears to be invalid: /1470857172467
08-10 20:26:12.523 22581 22592 E DatabaseUtils: Writing exception to parcel
08-10 20:26:12.523 22581 22592 E DatabaseUtils: java.lang.SecurityException: Unsupported path /1470857172467
08-10 20:26:12.523 22581 22592 E DatabaseUtils: at com.android.providers.downloads.DownloadProvider.checkFileUriDestination(DownloadProvider.java:819)
08-10 20:26:12.523 22581 22592 E DatabaseUtils: at com.android.providers.downloads.DownloadProvider.insert(DownloadProvider.java:642)
08-10 20:26:12.523 22581 22592 E DatabaseUtils: at android.content.ContentProvider$Transport.insert(ContentProvider.java:263)
08-10 20:26:12.523 22581 22592 E DatabaseUtils: at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:163)
08-10 20:26:12.523 22581 22592 E DatabaseUtils: at android.os.Binder.execTransact(Binder.java:453)
08-10 20:26:12.564 24324 24364 E AndroidRuntime: FATAL EXCEPTION: download-manager-thread
08-10 20:26:12.564 24324 24364 E AndroidRuntime: Process: com.android.vending, PID: 24324
08-10 20:26:12.564 24324 24364 E AndroidRuntime: java.lang.SecurityException: Unsupported path /1470857172467
08-10 20:26:12.564 24324 24364 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1620)
08-10 20:26:12.564 24324 24364 E AndroidRuntime: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
08-10 20:26:12.564 24324 24364 E AndroidRuntime: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
08-10 20:26:12.564 24324 24364 E AndroidRuntime: at android.content.ContentProviderProxy.insert(ContentProviderNative.java:476)
08-10 20:26:12.564 24324 24364 E AndroidRuntime: at android.content.ContentResolver.insert(ContentResolver.java:1229)
08-10 20:26:12.564 24324 24364 E AndroidRuntime: at com.google.android.finsky.download.l.run(SourceFile:182)
08-10 20:26:12.564 24324 24364 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:746)
08-10 20:26:12.564 24324 24364 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
08-10 20:26:12.564 24324 24364 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
08-10 20:26:12.564 24324 24364 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:61)
08-10 20:26:12.566 1729 3469 W ActivityManager: Force finishing activity com.android.vending/com.google.android.finsky.activities.MainActivity
08-10 20:26:12.567 1729 3469 I ActivityManager: moveHomeStack, setupComplete:true
08-10 20:26:12.678 22735 21538 V ConnectivityManager: isActiveNetworkMetered() returns:false
08-10 20:26:12.695 1570 1626 I Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 10/09/15, 6cbbf7d, I3193f6e94a
08-10 20:26:12.695 1570 1626 I OpenGLRenderer: Initialized EGL, version 1.4
08-10 20:26:12.713 1729 24549 I OpenGLRenderer: Initialized EGL, version 1.4
08-10 20:26:12.953 24324 24396 E Surface : getSlotFromBufferLocked: unknown buffer: 0xba17e4b8
08-10 20:26:13.037 15667 15676 I art : Background partial concurrent mark sweep GC freed 139292(7MB) AllocSpace objects, 11(300KB) LOS objects, 40% free, 14MB/24MB, paused 3.795ms total 353.665ms
08-10 20:26:13.185 24324 24324 I Finsky : [1] com.google.android.finsky.utils.du.onTrimMemory(25): Memory trim requested to level 20
Click to expand...
Click to collapse

App craches on AlertDialog .show()

Hello there!
I'm building an app but whenever it comes to the AlertDialog .show() it chrashes. I've reserached but couldn't find any solution.
Most of them were got their problem fixed by changing Context on
AlertDialog.Builder example = new AlertDialog.Builder(Context)
to
AlertDialog.Builder example = new AlertDialog.Builder(MyActivity.this);
But that's not my case, I've beeing using MyActivity.this all long and still crashes.
Here's my code:
ublic class MainActivity extends AppCompatActivity {
Button btMudaTela;
final Funcoes funcao = new Funcoes();
@override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Button btMudaTela = (Button) findViewById(R.id.btMudaTela);
//Ao clicar no botão outra activity será aberta (ActivityCadastro)
btMudaTela.setOnClickListener(new View.OnClickListener() {
@override
public void onClick(View v) {
AlertDialog.Builder adb = new AlertDialog.Builder(MainActivity.this);
adb.setTitle("teste");
adb.setMessage("ok");
adb.show();
funcao.mudaActivity(MainActivity.this, ActivityCadastro.class);
finish();
}
});
}
}
And here's my Logcat:
06-23 07:41:42.113 3303 3303 E AndroidRuntime: Process: com.example.teste.projetofinal, PID: 3303
06-23 07:41:42.113 3303 3303 E AndroidRuntime: at com.example.teste.projetofinal.MainActivity$1.onClick(MainActivity.java:46)
06-23 07:41:42.123 954 1367 W ActivityManager: Force finishing activity com.example.teste.projetofinal/.MainActivity
06-23 07:41:43.334 954 1602 I ActivityManager: Process com.example.teste.projetofinal (pid 3303) (adj 9) has died.
06-23 07:41:43.334 954 1454 I WindowState: WIN DEATH: Window{444ca450 u0 com.example.teste.projetofinal/com.example.teste.projetofinal.MainActivity}
06-23 07:50:39.406 6806 6806 W InstallAppProgress: Replacing package:com.example.teste.projetofinal
06-23 07:50:42.219 5389 5389 I Finsky : [1] com.google.android.finsky.verifier.impl.br.c(104): Verification complete: id=0, package_name=com.example.teste.projetofinal
06-23 07:50:42.960 954 1046 I PackageManager: Package com.example.teste.projetofinal codePath changed from /data/app/com.example.teste.projetofinal-19.apk to /data/app/com.example.teste.projetofinal-20.apk; Retaining data and using new
06-23 07:50:43.921 954 1046 W PackageManager: Code path for pkg : com.example.teste.projetofinal changing from /data/app/com.example.teste.projetofinal-19.apk to /data/app/com.example.teste.projetofinal-20.apk
06-23 07:50:43.921 954 1046 W PackageManager: Resource path for pkg : com.example.teste.projetofinal changing from /data/app/com.example.teste.projetofinal-19.apk to /data/app/com.example.teste.projetofinal-20.apk
06-23 07:50:45.592 954 1036 I CrashAnrDetector: onPackageUpdateFinished : com.example.teste.projetofinal
06-23 07:50:46.073 6987 6987 E dalvikvm: >>>>> com.example.teste.projetofinal [ userId:0 | appId:10200 ]
06-23 07:50:47.444 6987 6987 E AndroidRuntime: Process: com.example.teste.projetofinal, PID: 6987
06-23 07:50:47.444 6987 6987 E AndroidRuntime: at com.example.teste.projetofinal.MainActivity$1.onClick(MainActivity.java:40)
06-23 07:50:47.444 954 1602 W ActivityManager: Force finishing activity com.example.teste.projetofinal/.MainActivity
06-23 07:50:48.806 954 1602 I WindowState: WIN DEATH: Window{433e3670 u0 com.example.teste.projetofinal/com.example.teste.projetofinal.MainActivity}
06-23 07:50:48.836 954 1545 I ActivityManager: Process com.example.teste.projetofinal (pid 6987) (adj 9) has died.
06-23 07:50:51.188 3939 3939 E SPPClientService: [PackageInfoChangeReceiver] [handlePkgRemovedEvent] PackageName : com.example.teste.projetofinal, true, false
06-23 07:50:54.531 5389 5389 I Finsky : [1] com.google.android.finsky.externalreferrer.d.run(9): Package state data is missing for com.example.teste.projetofinal
06-23 07:50:55.792 3498 7271 I FontsPackageChangeOp: Package com.example.teste.projetofinal has no metadata
I've found solution
Yeah!!!! After 2 days of digging on the Internet I finally found solution here:
https://stackoverflow.com/questions...der-when-android-suport-library-updated-to-24
You need to import this for your AlertDialog:
Code:
import android.app.AlertDialog;
instead of this:
Code:
import android.support.v7.app.AlertDialog;

Strange problem with supersu

The problem
situation1:
- SuperSU app is active on the foreground
- When I su from adb shell i get the confirmation prompt and get root without any problems
situation2:
- SuperSU app is not running
- When I su from adb shell
sometimes it keeps waiting indefinite but SuperSU. app never starts and therefore never asks confirmation.
other times it works like expected
situation3
- SuperSU app is not running
- Start rootexplorer it waits indefinite (super supersu app never starts)
- If i manually start SuperSU then it sometimes ask for permission for rootexplorer
Device & Rooting info
DEVICE: wiko sunny2 [v2510]
OS: Android 6.0 [MRA58K]
SuperSU version: 2.79
Rooting: Installed official SUinstaller zip version 2.79 from twrp recovery
- installation proceeded without any errors
Parts of logcat
logcat extract of situation 1
Code:
03-13 13:32:00.094 1461 10939 V BroadcastQueue: Finished with ordered broadcast BroadcastRecord{c86c211 u-1 android.intent.action.TIME_TICK}, [foreground], remain = 0
03-13 13:32:00.096 1461 1461 D AlarmManager: onSendFinished begin
03-13 13:32:00.886 540 626 D phoneserver: rsrp[0]=6,rscp[0]=0,rxlev[0]=0 ind_str= M
03-13 13:32:00.886 540 626 D phoneserver: +CSQ: 6,0M
03-13 13:32:01.743 535 784 D WCND : is_cp2_alive_ok: open polling interface: /dev/spipe_wcn0, fd = 13
03-13 13:32:01.744 535 784 D WCND : is_cp2_alive_ok: loop: /dev/spipe_wcn0 is OK
03-13 13:32:03.551 16049 16049 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
03-13 13:32:03.562 16049 16049 D AndroidRuntime: CheckJNI is OFF
03-13 13:32:03.559 16049 16049 W app_process: type=1400 audit(0.0:496): avc: denied { write } for name="[email protected]@boot.art" dev="mmcblk0p23" ino=14597 scontext=u:r:shell:s0 tcontext=u:object_r:dal
03-13 13:32:03.570 16049 16049 W art : 707e5000-71201000 rw-p 00000000 b3:17 14597 /data/dalvik-cache/arm/[email protected]@boot.art
03-13 13:32:03.570 16049 16049 W art : b11f3000-b31cb000 r--p 00000000 b3:11 1176 /system/framework/arm/boot.oat
03-13 13:32:03.570 16049 16049 W art : b31cb000-b49dd000 r-xp 01fd8000 b3:11 1176 /system/framework/arm/boot.oat
03-13 13:32:03.570 16049 16049 W art : b49dd000-b49de000 rw-p 037ea000 b3:11 1176 /system/framework/arm/boot.oat
03-13 13:32:03.570 16049 16049 W art : b49de000-b49fc000 r--p 00a1c000 b3:17 14597 /data/dalvik-cache/arm/[email protected]@boot.art
03-13 13:32:03.570 16049 16049 W art : b49fc000-b49fd000 rw-p 00000000 00:00 0 [anon:linker_alloc_vector]
{....full callstack removed...}
03-13 13:32:03.581 16049 16049 W art : b6f9b000-b6f9c000 rw-p 00000000 00:00 0
03-13 13:32:03.581 16049 16049 W art : b8e2b000-b8e5d000 rw-p 00000000 00:00 0 [heap]
03-13 13:32:03.581 16049 16049 W art : be7e4000-be805000 rw-p 00000000 00:00 0 [stack]
03-13 13:32:03.581 16049 16049 W art : ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]
03-13 13:32:03.581 16049 16049 W art :
03-13 13:32:03.646 16049 16049 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
03-13 13:32:03.659 16049 16049 W main : type=1400 audit(0.0:497): avc: denied { write } for name="arm" dev="mmcblk0p23" ino=14595 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tcl
03-13 13:32:03.707 16049 16049 E memtrack: Couldn't load memtrack module (No such file or directory)
03-13 13:32:03.707 16049 16049 E android.os.Debug: failed to load memtrack module: -2
03-13 13:32:03.712 16049 16049 I Radio-JNI: register_android_hardware_Radio DONE
03-13 13:32:03.753 16049 16049 D AndroidRuntime: Calling main entry com.android.commands.am.Am
03-13 13:32:03.749 16059 16059 W Binder_1: type=1400 audit(0.0:498): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:32:03.749 16059 16059 W Binder_1: type=1400 audit(0.0:499): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:32:03.749 16060 16060 W Binder_2: type=1400 audit(0.0:500): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:32:03.749 16060 16060 W Binder_2: type=1400 audit(0.0:501): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:32:03.761 1461 1471 D BroadcastQueue: Add broadcastBroadcastRecord{ea7ff76 u0 eu.chainfire.supersu.NativeAccess} into (background/order), now header = BroadcastRecord{ea7ff76 u0 eu.chainfire.s
03-13 13:32:03.773 1461 1474 I ActivityManager: Start proc 16061:eu.chainfire.supersu/u0a104 for broadcast eu.chainfire.supersu/.NativeAccessReceiver
03-13 13:32:03.813 16061 16061 E linker : readlink('') failed: No such file or directory [fd=17]
03-13 13:32:03.813 16061 16061 E linker : warning: unable to get realpath for the library "/data/app/eu.chainfire.supersu-1/oat/arm/base.odex". Will use given name.
03-13 13:32:03.815 16061 16061 W System : ClassLoader referenced unknown path: /data/app/eu.chainfire.supersu-1/lib/arm
03-13 13:32:04.152 1461 10941 I ActivityManager: START u0 {act=android.intent.action.MAIN flg=0x50840000 cmp=eu.chainfire.supersu/.PromptActivity (has extras)} from uid 10104 on display 0
03-13 13:32:04.152 1461 10941 D ActivityManager: DEBUG_POWER_HINT start activityh
03-13 13:32:04.169 1461 10941 V WindowManager: Pausing WindowToken AppWindowToken{551b974 token=Token{7c74d47 ActivityRecord{c585086 u0 com.wiko.launcher/com.wiko.WikoLauncher t6}}}
03-13 13:32:04.181 501 501 D gralloc.sc8830: fb_post fps = 0.728464
03-13 13:32:04.181 1461 10941 D WindowManager: Input focus has changed to null
03-13 13:32:04.182 1461 10941 D ActivityManager: startActivityUncheckedLocked return : 0
03-13 13:32:04.183 1461 1781 V BroadcastQueue: Finished with ordered broadcast BroadcastRecord{ea7ff76 u0 eu.chainfire.supersu.NativeAccess}, [background], remain = 0
03-13 13:32:04.185 16049 16049 D AndroidRuntime: Shutting down VM
03-13 13:32:04.196 1461 10940 V WindowManager: Resuming WindowToken AppWindowToken{551b974 token=Token{7c74d47 ActivityRecord{c585086 u0 com.wiko.launcher/com.wiko.WikoLauncher t6}}}
03-13 13:32:04.209 16061 16061 D AccessibilityManager: getInstance() new sInstance = [email protected], context = [email protected], userId
03-13 13:32:04.299 16061 16117 D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: false
03-13 13:32:04.302 16061 16061 E linker : readlink('') failed: No such file or directory [fd=25]
03-13 13:32:04.302 16061 16061 E linker : warning: unable to get realpath for the library "/system/lib/hw/gralloc.sc8830.so". Will use given name.
03-13 13:32:04.308 1461 1616 V WindowManager: addWindow: New client [email protected]: window=Window{53e1a05 u0 eu.chainfire.supersu/eu.chainfire.supersu.PromptActivity} Callers=com.androi
03-13 13:32:04.329 1461 2231 D WindowManager: Input focus has changed to Window{53e1a05 u0 eu.chainfire.supersu/eu.chainfire.supersu.PromptActivity}
03-13 13:32:04.350 16061 16117 I OpenGLRenderer: Initialized EGL, version 1.4
03-13 13:32:04.421 1461 1491 I ActivityManager: Displayed eu.chainfire.supersu/.PromptActivity: +233ms
logcat extract of situation 2
Code:
03-13 13:19:41.861 13245 13245 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
03-13 13:19:41.872 13245 13245 D AndroidRuntime: CheckJNI is OFF
03-13 13:19:41.865 13245 13245 W app_process: type=1400 audit(0.0:412): avc: denied { write } for name="[email protected]@boot.art" dev="mmcblk0p23" ino=14597 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file permissive=0
03-13 13:19:41.879 13245 13245 W art : 707e5000-71201000 rw-p 00000000 b3:17 14597 /data/dalvik-cache/arm/[email protected]@boot.art
03-13 13:19:41.880 13245 13245 W art : b123b000-b3213000 r--p 00000000 b3:11 1176 /system/framework/arm/boot.oat
{....full callstack removed...}
03-13 13:19:41.891 13245 13245 W art : b6fd9000-b6fdb000 rw-p 0001f000 b3:11 522 /system/bin/linker
03-13 13:19:41.891 13245 13245 W art : b6fdb000-b6fdd000 rw-p 00000000 00:00 0
03-13 13:19:41.891 13245 13245 W art : b6fdd000-b6fe2000 r-xp 00000000 b3:11 398 /system/bin/app_process32
03-13 13:19:41.891 13245 13245 W art : b6fe2000-b6fe3000 r--p 00004000 b3:11 398 /system/bin/app_process32
03-13 13:19:41.891 13245 13245 W art : b6fe3000-b6fe4000 rw-p 00000000 00:00 0
03-13 13:19:41.891 13245 13245 W art : b8337000-b8369000 rw-p 00000000 00:00 0 [heap]
03-13 13:19:41.891 13245 13245 W art : beadd000-beafe000 rw-p 00000000 00:00 0 [stack]
03-13 13:19:41.891 13245 13245 W art : ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]
03-13 13:19:41.891 13245 13245 W art :
03-13 13:19:41.952 13245 13245 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
03-13 13:19:41.955 13245 13245 W main : type=1400 audit(0.0:413): avc: denied { write } for name="arm" dev="mmcblk0p23" ino=14595 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=dir permissive=0
03-13 13:19:42.017 13245 13245 E memtrack: Couldn't load memtrack module (No such file or directory)
03-13 13:19:42.017 13245 13245 E android.os.Debug: failed to load memtrack module: -2
03-13 13:19:42.023 13245 13245 I Radio-JNI: register_android_hardware_Radio DONE
03-13 13:19:42.067 13245 13245 D AndroidRuntime: Calling main entry com.android.commands.am.Am
03-13 13:19:42.055 13255 13255 W Binder_1: type=1400 audit(0.0:414): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:19:42.055 13255 13255 W Binder_1: type=1400 audit(0.0:415): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:19:42.055 13256 13256 W Binder_2: type=1400 audit(0.0:416): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:19:42.055 13256 13256 W Binder_2: type=1400 audit(0.0:417): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
--------- beginning of system
03-13 13:19:42.077 1461 3330 D BroadcastQueue: Add broadcastBroadcastRecord{1901c00 u0 eu.chainfire.supersu.NativeAccess} into (background/order), now header = BroadcastRecord{1901c00 u0 eu.chainfire.supersu.NativeAccess}, size = 1
03-13 13:19:42.093 1461 1474 I ActivityManager: Start proc 13257:eu.chainfire.supersu/u0a104 for broadcast eu.chainfire.supersu/.NativeAccessReceiver
03-13 13:19:42.145 13257 13257 E linker : readlink('') failed: No such file or directory [fd=17]
03-13 13:19:42.145 13257 13257 E linker : warning: unable to get realpath for the library "/data/app/eu.chainfire.supersu-1/oat/arm/base.odex". Will use given name.
03-13 13:19:42.149 13257 13257 W System : ClassLoader referenced unknown path: /data/app/eu.chainfire.supersu-1/lib/arm
03-13 13:19:42.497 1461 3692 I ActivityManager: START u0 {act=android.intent.action.MAIN flg=0x50840000 cmp=eu.chainfire.supersu/.PromptActivity (has extras)} from uid 10104 on display 0
03-13 13:19:42.497 1461 3692 D ActivityManager: DEBUG_POWER_HINT start activityh
03-13 13:19:42.504 1461 3692 V WindowManager: Pausing WindowToken AppWindowToken{551b974 token=Token{7c74d47 ActivityRecord{c585086 u0 com.wiko.launcher/com.wiko.WikoLauncher t6}}}
03-13 13:19:42.508 1461 3692 D WindowManager: Input focus has changed to null
03-13 13:19:42.509 1461 3692 D ActivityManager: startActivityUncheckedLocked return : 0
03-13 13:19:42.513 1461 2242 V BroadcastQueue: Finished with ordered broadcast BroadcastRecord{1901c00 u0 eu.chainfire.supersu.NativeAccess}, [background], remain = 0
03-13 13:19:42.506 13255 13255 W Binder_1: type=1400 audit(0.0:418): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:19:42.515 13245 13245 D AndroidRuntime: Shutting down VM
Questions/Remarks
It looks like app_process (app_process32) is started in the wrong context
Any hints or tips on how to proceed ?
Reflashed stock and twrp and installed SuperSU the classic way (on /system)
Now everything works as expected

[MOD] Camera supporting 60FPS 120FPS

About:
This is a modification of the LineageOS camera wrapper, Snapdragon Camera app, libstagefright, and media profiles to allow recording video at 60FPS and 120FPS with stereo audio at 256kbps, also allows recording files over 4GB (the selected storage filesystem must support files larger than 4GB), and the ability to change AV bitrates/codecs on the fly. Album preference has been added in 1.3.
Q Users: Backup before install!
/system/lib/libstagefright.so
/system/product/priv-app/Snap/Snap.apk
/system/product/priv-app/Snap/oat/arm/Snap.odex
/system/product/priv-app/Snap/oat/arm/Snap.vdex
/system/vendor/etc/media_profiles_V1_0.xml
/system/vendor/lib/hw/camera.msm8974.so
P/O Users: Backup before install!
/system/lib/libstagefright.so
/system/priv-app/Snap/Snap.apk
/system/priv-app/Snap/oat/arm/Snap.odex
/system/priv-app/Snap/oat/arm/Snap.vdex
/system/vendor/etc/media_profiles_V1_0.xml (or /system/etc/media_profiles.xml)
/system/vendor/lib/hw/camera.msm8974.so
N Users: Backup before install!
/system/etc/media_profiles.xml
/system/lib/libstagefright.so
/system/lib/hw/camera.msm8974.so
/system/priv-app/Snap/Snap.apk
Download ZIP:
If you experience bugs or crashes please attach the adb log file, also include your mod version, OS, and device model in the post!
Q v1.3, TWRP 3.3.1: https://drive.google.com/file/d/1T3d6tIj_aM_zcfS7Q-RNNrT2IkvMwwvf/view?usp=sharing
P v1.3, TWRP 3.3.1: https://drive.google.com/file/d/1MPOfu7UXV-1RfWbW4EBJfSwmbVSnPXkC/view?usp=sharing
----------------
Q v1.2: https://drive.google.com/file/d/1wL5QeTFPaBGhbT3l3x4J52Q6f-fF9w8-/view?usp=sharing
P v1.2: https://drive.google.com/file/d/1Pjzu_Y5L0H8qqszYzwHJptD3uESvFKkB/view?usp=sharing
----------------
O v0.6: https://drive.google.com/open?id=1fM-SMDZT2iYxaX3AoYWCRegu918PqRFp
N v0.6: https://drive.google.com/open?id=1t2HalWYSObez0Xar0MOfk7opcLaSf0AD
----------------
Old versions: https://drive.google.com/drive/folders/1oFLPaoDmfDJlD8FAoRVhAk2haETI_dH6
v1.3 Changelog:
snap: Album preference: This will store media into subdirectories: Default, Date, Custom, Hidden.
snap: Media is now stored using the MediaStore API for Android 10 / LOS 17.1 builds.
Past Changelogs:
v1.2 Changelog:
snap: Merge upstream
snap: PiP and Multi-Window Removed (Bugs)
stagefright: Merge upstream
v1.1 Changelog:
snap: Added Picture-in-Picture support
snap: Fixed Multi-Window handling
profiles: Updated to proper location (again)
v0.9 Changelog:
snap: Merge upstream
stagefright: Merge upstream
profiles: Set all audio channels to stereo
v0.8-2 Changelog:
profiles: Updated path from upstream change, moved from /system/etc/media_profiles.xml to /system/vendor/etc/media_profiles_V1_0.xml
v0.8 Changelog:
snap: Upstream change now saves files in /Android/data/org.lineageos.snap/files instead of /DCIM/Camera
v0.7 Changelog:
snap: Fix compilation for Pie
v0.6 Changelog:
snap: Added new advanced video preferences: Video bitrate, Audio bitrate
To access these preferences, tap the "Bright screen" preference until it enables advanced camera preferences
Auto: Run the original code.
Profile: Use bitrate found in media profile, no scaling.
Manual: Set custom bitrate with slider dialog, based on the minimum and maximum bitrate caps, saving the preference for each codec.
Max: Set maximum bitrate from the encoder cap.
snap: Disabled 4GB file size limit
snap: Separate video denoise and photo denoise preferences
stagefright: Disabled 4GB file size limit
profiles: Cleanup
v0.5-3 Changelog:
wrapper: Fix quick settings flash
wrapper: Fix flash "On" photo mode
v0.5 Changelog:
wrapper: Fix hang during selfie shot
profiles: Increase audio bitrates in media_profiles.xml
v0.4 Changelog:
snap: Added "Denoise" setting to Video menu
wrapper: Restart flash during preview changes
wrapper: Removed focus modes from previous versions
wrapper: Code optimizations
profiles: Cleanup
v0.3 Changelog:
snap: Handle resource error
wrapper: Fix flash mode "On" in photo mode
v0.2 Changelog:
snap: Enabled advanced settings by default
wrapper: If torch is set, turn back on once recording in 60FPS
Known Bugs:
Camera name becomes assigned to a different resource ID on Android 9 and below. Android 10 does not have this issue.
On certain devices, front camera does not load or fails to save pictures.
1.2 Q is not parsing Snaps external storage, the files exist but they will not appear in the Gallery. In 1.3 this is fixed.
Android 9 still has the sdcard deletion bug.. if you do your own builds you can fix it with the commits below:
https://github.com/tomm1e/android_vendor_lineage/commit/6ad07dee60e26bdf88d9ac07face4d7a0fbe5610
https://github.com/tomm1e/android_p...mmit/7cad0838a254f6422343d17d5a578d2e09382359
https://github.com/LineageOS/android_frameworks_base/commit/c3f4b30d8e15228a12ca6bd1f4037d5c69dda6ea
Notes:
To access the Advanced camera preferences in Snap, tap the "Bright screen" preference until it enables.
Bitrates can be changed in media_profiles.xml. To reload them, clear the camera out of recent apps.
O+ users should force rebuild of dalvik cache after installing or upgrading: adb shell cmd package compile -m speed -f org.lineageos.snap
P and below should clear Data after upgrading so the Camera name does not get reassigned.
Source Code:
All of my changes can be found at Github:
https://github.com/tomm1e/android_device_samsung_klte-common
https://github.com/tomm1e/android_packages_apps_Snap
https://github.com/tomm1e/android_frameworks_av
Thanks to everyone at LOS and XDA! :good:
-Tom
Why to buy a new phone when we have a huge ,great support for our old S5 ,with Dev's like you ?
S5 Resurrected!
This is great! Im gonna test it
Does it works with Klte?
razor17 said:
Does it works with Klte?
Click to expand...
Click to collapse
Duh.. Read the op.
Sent from my SM-G900V using XDA Labs
Tested on klte + dotOS 2.3, does not work:
06-26 22:14:06.422 470 3336 I ActivityManager: Start proc 17888rg.lineageos.snap/u0a26 for activity org.lineageos.snap/com.android.camera.CameraActivity
06-26 22:14:06.406 1430 1566 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
06-26 22:14:06.473 470 8663 I OpenGLRenderer: Initialized EGL, version 1.4
06-26 22:14:06.473 470 8663 D OpenGLRenderer: Swap behavior 1
06-26 22:14:06.487 470 8663 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
06-26 22:14:06.530 470 707 W AppOps : Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0
06-26 22:14:06.563 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_VGA
06-26 22:14:06.563 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_VGA
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_4KDCI
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_4KDCI
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_TIME_LAPSE_VGA
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_TIME_LAPSE_VGA
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_TIME_LAPSE_4KDCI
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_TIME_LAPSE_4KDCI
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_HIGH_SPEED_CIF
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_HIGH_SPEED_CIF
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_HIGH_SPEED_VGA
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_HIGH_SPEED_VGA
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_HIGH_SPEED_4KDCI
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_HIGH_SPEED_4KDCI
06-26 22:14:06.566 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_QHD
06-26 22:14:06.566 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_QHD
06-26 22:14:06.566 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_2k
06-26 22:14:06.566 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_2k
06-26 22:14:06.569 377 822 W QCamera2Factory: getCameraInfo: E, camera_id = 0
06-26 22:14:06.569 377 822 W QCamera2HWI: __dbg: info->orientation : 90 rc = 0
06-26 22:14:06.569 377 822 W QCamera2Factory: getCameraInfo: X
06-26 22:14:06.570 377 5565 W QCamera2Factory: getCameraInfo: E, camera_id = 1
06-26 22:14:06.570 377 5565 W QCamera2HWI: __dbg: info->orientation : 90 rc = 0
06-26 22:14:06.570 377 5565 W QCamera2HWI: __dbg: info->orientation : 270 rc = 0
06-26 22:14:06.570 377 5565 W QCamera2Factory: getCameraInfo: X
06-26 22:14:06.571 17888 17888 I CameraManagerGlobal: Connecting to camera service
06-26 22:14:06.574 377 822 W QCamera2Factory: getCameraInfo: E, camera_id = 0
06-26 22:14:06.574 377 822 W QCamera2HWI: __dbg: info->orientation : 90 rc = 0
06-26 22:14:06.574 377 822 W QCamera2Factory: getCameraInfo: X
06-26 22:14:06.594 17888 17888 D SnapCam_SettingsManager: cameraIdList size =2
06-26 22:14:06.601 377 377 W QCamera2Factory: getCameraInfo: E, camera_id = 1
06-26 22:14:06.601 377 377 W QCamera2HWI: __dbg: info->orientation : 90 rc = 0
06-26 22:14:06.601 377 377 W QCamera2HWI: __dbg: info->orientation : 270 rc = 0
06-26 22:14:06.601 377 377 W QCamera2Factory: getCameraInfo: X
06-26 22:14:06.608 17888 17888 D SnapCam_SettingsManager: cameraIdList size =2
06-26 22:14:06.613 17888 17888 W ResourceType: No known package when getting value for resource number 0x3f080009
06-26 22:14:06.614 17888 17888 D AndroidRuntime: Shutting down VM
06-26 22:14:06.614 17888 17888 E AndroidRuntime: FATAL EXCEPTION: main
06-26 22:14:06.614 17888 17888 E AndroidRuntime: Process: org.lineageos.snap, PID: 17888
06-26 22:14:06.614 17888 17888 E AndroidRuntime: java.lang.RuntimeException: Unable to create application com.android.camera.app.CameraApp: android.content.res.Resources$NotFoundException: Resource ID #0x3f080009
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5774)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.app.ActivityThread.-wrap1(Unknown Source:0)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1673)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6525)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x3f080009
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:215)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.content.res.Resources.getInteger(Resources.java:1083)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at com.android.camera.util.CameraUtil.initialize(CameraUtil.java:247)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at com.android.camera.app.CameraApp.onCreate(CameraApp.java:47)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1119)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5771)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: ... 8 more
06-26 22:14:06.616 470 2724 W ActivityManager: Force finishing activity org.lineageos.snap/com.android.camera.CameraActivity
06-26 22:14:06.622 470 486 I ActivityManager: Showing crash dialog for package org.lineageos.snap u0
06-26 22:14:06.656 470 8663 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
06-26 22:14:06.661 470 8663 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
06-26 22:14:07.119 470 485 W ActivityManager: Activity pause timeout for ActivityRecord{3c30b0 u0 org.lineageos.snap/com.android.camera.CameraActivity t5012 f}
06-26 22:14:07.155 1519 8622 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
06-26 22:14:07.170 1519 8622 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
06-26 22:14:07.173 1430 1566 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
06-26 22:14:07.186 1430 1566 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
06-26 22:14:07.203 1430 1566 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
06-26 22:14:07.203 1430 1566 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
06-26 22:14:07.210 1519 1519 W StaticLayout: maxLineHeight should not be -1. maxLines:2 lineCount:2
06-26 22:14:07.237 470 2724 W ActivityManager: Force finishing activity org.lineageos.snap/com.android.camera.CameraActivity
06-26 22:14:07.227 1519 1519 I chatty : uid=10040 com.google.android.googlequicksearchbox:search identical 6 lines
Inviato dal mio SM-G900F utilizzando Tapatalk
cinghio71 said:
Tested on klte + dotOS 2.3, does not work
No known package when getting value for resource number 0x3f080009
Click to expand...
Click to collapse
Ok, that error comes from a request to LineageOS 15.1 resources, I removed that request and recompiled it, try this version:
https://drive.google.com/file/d/1VVColk1q8D7_bM48QXo7hjDrB12pDolr/view?usp=sharing
Let me know if it works
socialentry said:
Ok, that error comes from a request to LineageOS 15.1 resources, I removed that request and recompiled it, try this version:
https://drive.google.com/file/d/1VVColk1q8D7_bM48QXo7hjDrB12pDolr/view?usp=sharing
Let me know if it works
Click to expand...
Click to collapse
G900F AEX v5.6 works like a charm ,test video record 720p/120fps slow motion ,perfect .
The Camera name changed to "enable" ,can you change to default name "Camera".
Thanks ! :good:
Edit :screenshot is set to 1080p ,just to show the active slow motion FPS .
Bosket said:
G900F AEX v5.6 works like a charm ,test video record 720p/120fps slow motion ,perfect .
The Camera name changed to "enable" ,can you change to default name "Camera".
Thanks ! :good:
Edit :screenshot is set to 1080p ,just to show the active slow motion FPS .
Click to expand...
Click to collapse
Awesome, does the High Speed work as well?
I'll look into that app name problem
Tested on lineage 15.1 klte build (SM-G900P model)
Everything works well, one bug i noticed was it doesn't work without flash, its not concerning but I'd like to point it out as a bug.
But I'd like to personally thank you so much for working on this mod as 60fps recording was one of the reasons I switched back and forth from AOSP to stock as I use this feature alot, I'm happy to know awesome devs like you are finally working on this, I wish you all the best with this project and I will keep testing and report back accordingly
rulex231 said:
Tested on lineage 15.1 klte build (SM-G900P model)
Everything works well, one bug i noticed was it doesn't work without flash, its not concerning but I'd like to point it out as a bug.
But I'd like to personally thank you so much for working on this mod as 60fps recording was one of the reasons I switched back and forth from AOSP to stock as I use this feature alot, I'm happy to know awesome devs like you are finally working on this, I wish you all the best with this project and I will keep testing and report back accordingly
Click to expand...
Click to collapse
Thank you!
With flash or without? I noticed it turned the torch off once recording starts, for now I made it so torch turns back on if it was set. New links in the OP. More changes are needed to properly switch into 60FPS after selecting it from the menu, that way the torch won't turn off.
socialentry said:
Awesome, does the High Speed work as well?
I'll look into that app name problem
Click to expand...
Click to collapse
Yes ,high speed work as well.
Camera name is not a problem ,just a suggestion.
socialentry said:
Ok, that error comes from a request to LineageOS 15.1 resources, I removed that request and recompiled it, try this version:
https://drive.google.com/file/d/1VVColk1q8D7_bM48QXo7hjDrB12pDolr/view?usp=sharing
Let me know if it works
Click to expand...
Click to collapse
Tested, works perfectly. Thanks.
Inviato dal mio SM-G900F utilizzando Tapatalk
Thanks, big biproject.
Does the front camera work?
I have not worked in my klte.
Using a KTLE S5. The front camera doesn't work instead the camera app crashes. Highspeed and Slow-mo both seemed to working great. Would love to see the front camera get fixed. Thanks
Delete
tomm1e said:
Thank you!
With flash or without? I noticed it turned the torch off once recording starts, for now I made it so torch turns back on if it was set. New links in the OP. More changes are needed to properly switch into 60FPS after selecting it from the menu, that way the torch won't turn off.
Click to expand...
Click to collapse
Installed it this morning, works great now thank you, even the front camera works regardless as well.
So, whats the difference between the LOS and Others?? What am asking is, which one should i install in example, Resurrection Remix?? Sorry if its a dumb question, i just thought since RR is based on LOS......
Also, what are the exact bugs?
Ano01 said:
So, whats the difference between the LOS and Others?? What am asking is, which one should i install in example, Resurrection Remix?? Sorry if its a dumb question, i just thought since RR is based on LOS......
Also, what are the exact bugs?
Click to expand...
Click to collapse
I'm not sure if RR uses lineageos resource names, if LOS doesn't work the Others one should work. Only difference in those LOS versions is that Snap requests a resource from LOS configuration during startup, specifically which hardware keys are present for the camera, like home/back/menu, those will crash if you are not on lineageos. Others just keep a default hardware key set so no crash should happen in any android. Future versions will just handle the error, it will go back to one release if it still works across all android builds.
Bugs? Nothing major, currently the flash/torch has to restart when switching into 60fps. Maybe there should be a preference to keep the camera displaying 60fps while recording or not, to save battery. Trying to rewrite the wrapper to do this currently. Some say their front camera isn't working but I think that is only for certain variants, I need their logs to see what's going on.
On my S5 G9008W (kltechnduo), with LOS 15.1, this just makes snap crash.

ROM PixelExperience_Plus_RMX1921-9.0-UNOFFICIAL

I have found Unofficial Pixel Experience ROM in Androidfilehost
This ROM is not mine and is developed by Bombsquad
Download Link
20191115
PixelExperience_Plus_RMX1921-9.0-20191115-1424-UNOFFICIAL
Flashing Instructions
Download the latest build
Reboot to recovery
Make sure you're using stock unmodified vendor.
Wipe data, cache, system ( Don't wipe vendor )
Flash the latest build and GApps
Reboot
These are unofficial & beta ROMs and contain bugs So please be careful to backup your data before flashing these ROMs.
Please do help the developers by sending the logcats and informing about the bugs you face.
These are ROMs are not mine and are developed by respective developers as mentioned above.
Source Androidfilehost and Bombsquad
Screenshots..?
Anybody Tried this Latest version? Is Dev fix fingerprint scanner?
Blissey said:
Anybody Tried this Latest version? Is Dev fix fingerprint scanner?
Click to expand...
Click to collapse
Don't expect fingerprint fixed for now as this problem comes from realme itself. Just wait for realme fixing this problem.
Anyway this PE+ have Wifi not working.
If bombsquad have thread in here, I think can be easier to tell him about this error.
Maybe some one can contact him, here is the logcat :
Code:
11-19 10:15:01.691 676 1342 D OPPO_AUDIO_SCENCE: stop_input_stream_scence:enter
11-19 10:15:01.693 676 676 D audio_hw_primary: in_set_parameters: enter: kvpairs=routing=0
11-19 10:15:01.693 726 1592 I SoundTriggerHwService::Module: onCallbackEvent no clients
11-19 10:15:01.695 2735 3073 I MicrophoneInputStream: mic_close SR : 16000 CC : 16 SO : 1999
11-19 10:15:01.696 2735 3073 E AudioSource: Stop listening is called on already closed AudioSource
11-19 10:15:01.696 676 1342 D audio_hw_primary: adev_close_input_stream: enter:stream_handle(0xf433e540)
11-19 10:15:01.697 676 1342 D soundtrigger: audio_extn_sound_trigger_check_ec_ref_enable: EC Reference is disabled
11-19 10:15:01.697 676 1342 D sound_trigger_hw: handle_audio_ec_ref_enabled: Enter
11-19 10:15:01.697 676 1342 D sound_trigger_hw: handle_audio_ec_ref_enabled: Exit audio ec ref=0
11-19 10:15:01.697 676 1342 D soundtrigger: audio_extn_sound_trigger_update_ec_ref_status: update audio echo ref status false
11-19 10:15:01.697 676 1342 D msm8974_platform: platform_set_echo_reference: disabling echo-reference
11-19 10:15:01.698 676 1342 D audio_hw_primary: in_standby: enter: stream (0xf433e540) usecase(18: audio-record)
11-19 10:15:01.699 2735 3500 I MicroRecognitionRunner: Detection finished
11-19 10:15:01.763 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 193 ,period 180 ms, data c 3,timestamp = 202164177702
11-19 10:15:01.823 728 812 W SurfaceFlinger: Attempting to set client state on removed layer: Splash Screen com.android.settings#0
11-19 10:15:01.823 728 812 W SurfaceFlinger: Attempting to destroy on removed layer: Splash Screen com.android.settings#0
11-19 10:15:01.878 709 769 E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
11-19 10:15:01.914 2735 4424 I PBSessionCacheImpl: Deleted sessionId[153180285716] from persistence.
11-19 10:15:01.934 1928 1928 D StatusBar: disable<e i a s b h r c s > disable2<q i n >
11-19 10:15:01.949 2735 3074 W SearchServiceCore: Abort, client detached.
11-19 10:15:01.972 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 193 ,period 168 ms, data c 3,timestamp = 202372098795
11-19 10:15:02.112 1928 1928 D StatusBar: disable<e i a s b h r c s > disable2<q i n >
11-19 10:15:02.180 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 297 ,period 156 ms, data c 3,timestamp = 202580087545
11-19 10:15:02.396 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 300 ,period 192 ms, data c 4,timestamp = 202788118483
11-19 10:15:02.604 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 299 ,period 168 ms, data c 4,timestamp = 202996070566
11-19 10:15:02.792 693 693 I sensors-hal: flush:181, android.sensor.accelerometer/15
11-19 10:15:02.795 693 693 I sensors-hal: flush:187, android.sensor.accelerometer/15 completed
11-19 10:15:02.810 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 301 ,period 192 ms, data c 4,timestamp = 203204022806
11-19 10:15:02.852 709 769 E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
11-19 10:15:02.909 1254 1907 D WifiService: setWifiEnabled: true pid=2094, uid=1000, package=com.android.settings
11-19 10:15:02.909 1254 1907 I WifiService: setWifiEnabled package=com.android.settings uid=1000 enable=true
11-19 10:15:02.909 1254 1656 D WifiController: StaEnabledState.enter()
11-19 10:15:02.910 1254 1658 D WifiStateMachinePrime: received a message in WifiDisabledState: { when=0 what=0 target=com.android.internal.util.StateMachine$SmHandler }
11-19 10:15:02.910 1254 1658 D WifiStateMachinePrime: Switching from WifiDisabledState to ClientMode
11-19 10:15:02.910 1254 1658 D WifiStateMachinePrime: Entering ClientModeActiveState
11-19 10:15:02.910 1254 1658 D WifiClientModeManager: entering IdleState
11-19 10:15:02.910 1254 1658 D WifiStateMachinePrime: State changed from client mode. state = 2
11-19 10:15:02.910 1254 1254 D WifiP2pService: Wifi enabled=false, P2P Interface availability=false
11-19 10:15:02.911 2020 2020 D DPMJ : |SERVICE| DPM received action android.net.wifi.WIFI_STATE_CHANGED
11-19 10:15:02.912 2020 2020 I DPMJ : |SERVICE| sendWifiStatus - subType: 21 networkState: 5 softApState: 11 rssi=0 ssid= bssid=00:00:00:00:00:00 ipV4Addr= ifNameV4= ipAddrV6= ifNameV6=
11-19 10:15:03.013 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 299 ,period 192 ms, data c 4,timestamp = 203411918327
11-19 10:15:03.221 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 298 ,period 156 ms, data c 3,timestamp = 203619824993
11-19 10:15:03.429 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 299 ,period 192 ms, data c 4,timestamp = 203827820566
11-19 10:15:03.637 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 300 ,period 192 ms, data c 3,timestamp = 204035592650
11-19 10:15:03.844 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 299 ,period 168 ms, data c 4,timestamp = 204243482962
11-19 10:15:03.917 699 699 E [email protected]: Failed to access driver state control param No such file or directory, 2: No such file or directory
11-19 10:15:03.917 699 699 W [email protected]: Driver unloading, err='fail to change driver state': No such file or directory
11-19 10:15:03.917 699 699 W [email protected]: Unable to unload driver module 'wlan': No such file or directory
11-19 10:15:03.917 699 699 W [email protected]: Driver unload failed! set driver prop to 'ok'.: No such file or directory
11-19 10:15:03.921 699 699 W [email protected]: wifi_load_driver: ResetWifi: wlan driver insmod sucess and transfer to rmmod-state: No such file or directory
11-19 10:15:03.922 699 699 E [email protected]: Failed to load WiFi driver
11-19 10:15:03.922 699 699 E [email protected]: Failed to initialize firmware mode controller
11-19 10:15:03.922 699 699 E [email protected]: Wifi HAL start failed
11-19 10:15:03.923 1254 1658 E HalDevMgr: Cannot start IWifi: 9 ()
11-19 10:15:03.923 1254 2367 E HalDevMgr: IWifiEventCallback.onFailure: 9 ()
11-19 10:15:03.923 1254 1658 E WifiVendorHal: Failed to start vendor HAL
11-19 10:15:03.923 1254 1658 E WifiNative: Failed to start vendor HAL
11-19 10:15:03.923 1254 1658 E WifiNative: Failed to start Hal
11-19 10:15:03.923 1254 1658 E WifiClientModeManager: Failed to create ClientInterface. Sit in Idle
11-19 10:15:03.923 1254 1658 D WifiStateMachinePrime: State changed from client mode. state = 4
11-19 10:15:03.924 1254 1658 D WifiClientModeManager: expected stop, not triggering callbacks: newState = 1
11-19 10:15:03.926 1254 1254 D WifiP2pService: Wifi enabled=false, P2P Interface availability=false
11-19 10:15:03.928 2020 2020 D DPMJ : |SERVICE| DPM received action android.net.wifi.WIFI_STATE_CHANGED
11-19 10:15:03.931 2020 2020 I DPMJ : |SERVICE| sendWifiStatus - subType: 21 networkState: 5 softApState: 11 rssi=0 ssid= bssid=00:00:00:00:00:00 ipV4Addr= ifNameV4= ipAddrV6= ifNameV6=
11-19 10:15:03.935 2369 3197 W Settings: Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
11-19 10:15:03.937 1254 1343 E BatteryExternalStatsWorker: no controller energy info supplied for wifi
11-19 10:15:03.945 1254 1658 D WifiStateMachinePrime: ClientMode failed, return to WifiDisabledState.
11-19 10:15:03.945 1254 1658 D WifiController: ClientMode unexpected failure: state unknown
11-19 10:15:03.945 1254 1658 D WifiClientModeManager: currentstate: IdleState
11-19 10:15:03.948 1254 1658 D WifiStateMachinePrime: Entering WifiDisabledState
11-19 10:15:03.948 1254 1658 D ActiveModeManager: sending scan available broadcast: false
11-19 10:15:03.949 1254 1658 D WifiStateMachinePrime: received a message in WifiDisabledState: { when=-4ms what=1 target=com.android.internal.util.StateMachine$SmHandler }
11-19 10:15:03.949 1254 1658 D WifiStateMachinePrime: Switching from WifiDisabledState to ScanOnlyMode
11-19 10:15:03.949 1254 1658 D WifiStateMachinePrime: Entering ScanOnlyModeActiveState
11-19 10:15:03.949 1254 1658 D WifiScanOnlyModeManager: entering IdleState
11-19 10:15:03.950 1254 1669 I WifiScanningService: wifi driver unloaded
11-19 10:15:04.052 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 299 ,period 72 ms, data c 4,timestamp = 204451428691
11-19 10:15:04.260 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 301 ,period 144 ms, data c 3,timestamp = 204659185514
11-19 10:15:04.467 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 301 ,period 180 ms, data c 4,timestamp = 204867079525
11-19 10:15:04.675 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 297 ,period 168 ms, data c 4,timestamp = 205075018848
11-19 10:15:04.884 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 304 ,period 108 ms, data c 4,timestamp = 205283140879
11-19 10:15:04.954 699 699 E [email protected]: Failed to access driver state control param No such file or directory, 2: No such file or directory
11-19 10:15:04.954 699 699 W [email protected]: Driver unloading, err='fail to change driver state': No such file or directory
11-19 10:15:04.954 699 699 W [email protected]: Unable to unload driver module 'wlan': No such file or directory
11-19 10:15:04.954 699 699 W [email protected]: Driver unload failed! set driver prop to 'ok'.: No such file or directory
11-19 10:15:04.959 699 699 W [email protected]: wifi_load_driver: ResetWifi: wlan driver insmod sucess and transfer to rmmod-state: No such file or directory
11-19 10:15:04.960 699 699 E [email protected]: Failed to load WiFi driver
11-19 10:15:04.960 699 699 E [email protected]: Failed to initialize firmware mode controller
11-19 10:15:04.960 699 699 E [email protected]: Wifi HAL start failed
11-19 10:15:04.961 1254 2367 E HalDevMgr: IWifiEventCallback.onFailure: 9 ()
11-19 10:15:04.961 1254 1658 E HalDevMgr: Cannot start IWifi: 9 ()
11-19 10:15:04.961 1254 1658 E WifiVendorHal: Failed to start vendor HAL
11-19 10:15:04.961 1254 1658 E WifiNative: Failed to start vendor HAL
11-19 10:15:04.961 1254 1658 E WifiNative: Failed to start Hal
11-19 10:15:04.961 1254 1658 E WifiScanOnlyModeManager: Failed to create ClientInterface. Sit in Idle
11-19 10:15:04.961 1254 1658 D WifiStateMachinePrime: ScanOnlyMode mode failed
11-19 10:15:04.963 1254 1658 D WifiStateMachinePrime: ScanOnlyMode failed, return to WifiDisabledState.
11-19 10:15:04.963 1254 1658 D WifiController: ScanOnlyMode unexpected failure: state unknown
11-19 10:15:04.964 1254 1658 D WifiScanOnlyModeManager: currentstate: IdleState
11-19 10:15:04.964 1254 1658 D WifiStateMachinePrime: Entering WifiDisabledState
11-19 10:15:04.964 1254 1658 D ActiveModeManager: sending scan available broadcast: false
11-19 10:15:04.965 1254 1343 E BatteryExternalStatsWorker: no controller energy info supplied for wifi
11-19 10:15:04.966 1254 1669 I WifiScanningService: wifi driver unloaded
11-19 10:15:04.967 2094 2094 I Choreographer: Skipped 61 frames! The application may be doing too much work on its main thread.
11-19 10:15:05.091 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 301 ,period 168 ms, data c 3,timestamp = 205490922806
11-19 10:15:05.299 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 302 ,period 168 ms, data c 4,timestamp = 205698756973
11-19 10:15:05.515 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 301 ,period 192 ms, data c 3,timestamp = 205906666973
11-19 10:15:05.722 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 301 ,period 132 ms, data c 4,timestamp = 206114542316
11-19 10:15:05.932 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 311 ,period 72 ms, data c 3,timestamp = 206322455337
11-19 10:15:06.138 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 320 ,period 180 ms, data c 4,timestamp = 206530356847
11-19 10:15:06.344 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 326 ,period 192 ms, data c 4,timestamp = 206738381482
11-19 10:15:06.554 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 332 ,period 156 ms, data c 4,timestamp = 206946333618
11-19 10:15:06.755 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 326 ,period 192 ms, data c 4,timestamp = 207154268774
11-19 10:15:06.963 693 2603 E sensors-hal: handle_sns_std_sensor_event:75, wise_light: lux 329 ,period 156 ms, data c 4,timestamp = 207362229191
11-19 10:15:07.045 693 1596 I sensors-hal: flush:181, android.sensor.accelerometer/15
11-19 10:15:07.048 693 1596 I sensors-hal: flush:187, android.sensor.accelerometer/15 completed
11-19 10:15:07.058 2369 5619 I Places : ?: Couldn't find platform key file.
11-19 10:15:07.059 2369 2491 I Places : ?: Couldn't find platform key file.
11-19 10:15:07.075 2369 3466 I Places : ?: PlacesBleScanner stop()
And here is the full logcat file :
View attachment peplus_rmx1921_wifilogcat.txt

Categories

Resources