[ROM] [OFFICIAL] crDroidAndroid for Redmi 9 / Poco M2 (lancelot, galahad, shiva) - Redmi 9 / Poco M2 ROMs/Kernels/Recoveries/Dev.

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
*** Disclaimer
I am not responsible for any damage you made to your device
You have been warned
crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features existent today
Features:
https://github.com/crdroidandroid/crdroid_features/blob/11.0/README.mkdn
Read (THIS) If You Have Issues With Dialer App
Flashing Instructions:
Pre-installation:
SHRP(recovery) (Download from here)
gapps (Download from here)
Magisk 23.0 or newer for root (after first boot) - (Download from here)
[*]IMEI-BACKUP-SCRIPT (Download from here)
[*]FIRMWARE (Download from here)
#KEEP IMEI BACKUP IN SAFE PLACE, ITS IMPOSSIBLE TO COMPLETELY RESTORE IMEI IF LOST!
First time installation:
step 0: Make Sure You Have IMEI Backup, Take From link above
step 1 : Assuming You Have Your Bootloader Unlocked Already, Go to fastboot mode, Flash recovery(shrp in this case)
step 2: Reboot To Recovery, Format Dalvik, Art Cache And Cache, Click on format data --> type yes
step 3: Flash Your Device FW(skip if on MIUI Android 11), then Flash crDroidAndroid Zip
step 4: Flash The Suggested Gapps Package(optional)
step 5: If you want magisk, flash after you've setup the phone from the setup wizard
Update installation:
step 1: If You're On Non-OSS rom, Or OSS-Q rom, Follow "First Time Installation" Guide
step 2: First Unroot Your Device!(**IMPORTANT**), Now Assuming Youre on OSS-R Rom, or an Old Crdroid Build, Reboot To Recovery, Format Dalvik, Art Cache And Cache
step 3: Flash crDroidAndroid Zip
step 4: Flash The Suggested Gapps Package(optional)
step 5: If you want magisk, flash after you've setup the phone from the setup wizard
Sources:
ROM: https://github.com/crdroidandroid
Kernel: kernel url
Download:
ROM Download-Link
Changelog: Changelog
Visit official website @ crDroid.net
Support Group(Telegram)
crDroid Community Telegram
crDroid Updates Channel
Donate to help our team pay server costs

How is the stability?

oldukça başarılı

There is a bug in FM radio app it crash soon as I open it
Here is some crash log generated
crDroid paste - share logs, bugs, code and whatever else remains in plan text
paste.crdroid.net

dj3s said:
There is a bug in FM radio app it crash soon as I open it
Here is some crash log generated
crDroid paste - share logs, bugs, code and whatever else remains in plan text
paste.crdroid.net
Click to expand...
Click to collapse
Besides that, how has your experience been with the ROM?

Followed the installation instruction, everything has been smooth so far. Played some game and the performance is great. Prop to the maintainer for writing such detail instruction rather than having me search though everything on my own. Keep it up!

Can someone tell me how is the stability?
Like the camera and is the issue of low volume when calling still there on this ROM?
Please do let me know as im very much in need to escape MIUI and try something better
Thank you.

And im on MIUI 12.5.1 android 11.
Do i have to downgrade or something in order to flash this ROM because when i flashed other custom ROM it did require me to downgrade to miui 12.0.2 android 10
Thank you in advance.

This custom ROM is probably one of the best in terms of customization, it passes safety net, it's certified, OTA works, it is smooth... I think I've tried one before that was a tiny bit smoother, but I would not give everything else for a bit more fluidity. I think I'm staying with this ROM for good. I recommend you flash latest 12.5.1 FW A11 before flashing this ROM.

Somebody asked before but no answer. How is the situation with low in call volume, is it present like in all custom roms for this phone?

blast_beat_ns said:
Somebody asked before but no answer. How is the situation with low in call volume, is it present like in all custom roms for this phone?
Click to expand...
Click to collapse
hello, yeah it is present in this custom rom... its a problem with all custom roms for redmi 9... i switched back to miui because of this issue

Thanks for info. I must find some solution for that volume custom ROM problem since MIUI gives me headache with WiFi problem that has no solution.

Fist of all I don't use GAPPS, only microG installed via Magisk. Everything seems to be working just fine except two things.
1. It looks like something is wrong with sensors. Compass shows wrong directions (I use the Trial Sense app, form F-Droid) and also the position (x-y) of the phone seems to be switched (it can be visualized better in the Bubble lvl in the app) -- it wrongly recognizes horizontal/vertical angle, apparently it thinks the right-left plane of the phone is the top-bottom one. When I hit the compass icon in the phone's nav bar, it hangs the whole phone after 10-20 seconds. There's no way to switch the icon back to the off state, and I have to reboot the phone.
2. The volume buttons on my earphones don't work. The only button that seems to work is the power one. The phone's hardware buttons seem to work without issues. I tried two different earphones (connected via minijack and also the usb-c port), and I got the same result, which is I can't change volume via the buttons. Pressing vol+ or vol- on the earphones seems to be issuing a tap action on the screen, so for instance I can tap on a Firefox icon using either one of the volume buttons.
Does anyone experience such behavior?

It looks like the camera also have issues. Nothing what you would see while using it, but when you start any camera app, for instance the stock one, or OpenCamera, you will get the following spam in logs (this scrolls the output at the speed of light):
Code:
10-01 22:51:41.228 721 823 E [email protected]: akm_log Enter wrapper_set_mag
10-01 22:51:41.228 721 823 E [email protected]: akm_log lili_akm_wrapper_set_mag(uT) , -79, -108, -421,
10-01 22:51:41.228 721 823 E [email protected]: akm_log AKM_SetData time_stamp = 3574390682790, stype = 1
10-01 22:51:41.228 721 823 E [email protected]: akm_log lili_setData_gprm(uT) , 459, -530, -573,
10-01 22:51:41.228 721 823 E [email protected]: akm_log lili_setData_data(uT) , -79, -108, -421,
10-01 22:51:41.228 721 823 E [email protected]: akm_log lili_setv_mag(uT) , 459, -530, -573,
10-01 22:51:41.228 721 823 E [email protected]: akm_log setv_mag-hdt_ag(msQ4) = 320
10-01 22:51:41.228 721 823 E [email protected]: akm_log lili_Enter DOEEX Calib
10-01 22:51:41.228 721 823 E [email protected]: akm_log AKM_SetData time_stamp_afterSetVector = 3574390682790, stype = 1
10-01 22:51:41.228 721 823 E [email protected]: Enter AKL_CalcFusion
10-01 22:51:41.228 721 823 E [email protected]: akm_log pg_mag_lili(uT): 28, -33, -35, -1, 6, 7, dt: 320
10-01 22:51:41.228 721 823 E [email protected]: akm_log pg_mag(uT): 320, 459, -533, -571, -76, 460, dt: 554
10-01 22:51:41.228 721 823 E [email protected]: akm_log akm_pg_amp_limit, akm_d6d_phone_state is 1
10-01 22:51:41.228 721 823 E android.hardware.senso[email protected]: akm_log lili_pg_gyr(d/s*16*1000): -2246, -420, -1494, dt: 320
10-01 22:51:41.228 721 823 E [email protected]: Enter if, typeis: 1
10-01 22:51:41.228 721 823 E [email protected]: akm_log save data:2,2
10-01 22:51:41.228 721 823 E [email protected]: PGLILI TimeStamp:3574390682790, PGLILI Mag data:-79.650002, -108.900002,-421.800018 ,
10-01 22:51:41.228 721 823 E [email protected]: akm_log AKM_GetData lili_time_stamp_GetData:3574322956760, stype =1, ,
10-01 22:51:41.228 721 823 E [email protected]: akm_log akl_getv_mag(uT) , 27, -31, -34, Lv: 2
10-01 22:51:41.228 721 823 E [email protected]: akm_log akl_getv_mag(uT) offset: -107, -76, -387
10-01 22:51:41.228 721 823 E [email protected]: akm_log AKM_GetData time_stamp11=3574390682790, stype =1
10-01 22:51:41.228 721 823 E [email protected]: akm_log akm_wrapper_calibrate is 27.539999, -31.980000, -34.259998
10-01 22:51:41.228 721 823 E [email protected]: akm_log Enter wrapper_set_mag
10-01 22:51:41.228 721 823 E [email protected]: akm_log lili_akm_wrapper_set_mag(uT) , -80, -108, -422,
10-01 22:51:41.228 721 823 E [email protected]: akm_log AKM_SetData time_stamp = 3574410679463, stype = 1
10-01 22:51:41.228 721 823 E [email protected]: akm_log lili_setData_gprm(uT) , 459, -533, -571,
10-01 22:51:41.228 721 823 E [email protected]: akm_log lili_setData_data(uT) , -80, -108, -422,
10-01 22:51:41.228 721 823 E [email protected]: akm_log lili_setv_mag(uT) , 459, -533, -571,
10-01 22:51:41.228 721 823 E [email protected]: akm_log setv_mag-hdt_ag(msQ4) = 319
10-01 22:51:41.228 721 823 E [email protected]: akm_log lili_Enter DOEEX Calib
10-01 22:51:41.228 721 823 E [email protected]: akm_log AKM_SetData time_stamp_afterSetVector = 3574410679463, stype = 1
10-01 22:51:41.228 721 823 E [email protected]: Enter AKL_CalcFusion
10-01 22:51:41.228 721 823 E [email protected]: akm_log pg_mag_lili(uT): 28, -33, -35, -1, 6, 7, dt: 319
10-01 22:51:41.228 721 823 E [email protected]: akm_log pg_mag(uT): 319, 462, -532, -570, -76, 460, dt: 554
10-01 22:51:41.228 721 823 E [email protected]: akm_log akm_pg_amp_limit, akm_d6d_phone_state is 1
10-01 22:51:41.228 721 823 E [email protected]: akm_log lili_pg_gyr(d/s*16*1000): -1955, 279, -1909, dt: 319
10-01 22:51:41.228 721 823 E [email protected]: Enter if, typeis: 1
10-01 22:51:41.228 721 823 E [email protected]: akm_log save data:2,2
10-01 22:51:41.228 721 823 E [email protected]: PGLILI TimeStamp:3574410679463, PGLILI Mag data:-80.250000, -108.750008,-422.550018 ,
10-01 22:51:41.228 721 823 E [email protected]: akm_log AKM_GetData lili_time_stamp_GetData:3574322956760, stype =1, ,
10-01 22:51:41.228 721 823 E [email protected]: akm_log akl_getv_mag(uT) , 27, -31, -34, Lv: 2
10-01 22:51:41.228 721 823 E [email protected]: akm_log akl_getv_mag(uT) offset: -107, -76, -387
10-01 22:51:41.228 721 823 E [email protected]: akm_log AKM_GetData time_stamp11=3574410679463, stype =1
10-01 22:51:41.228 721 823 E [email protected]: akm_log akm_wrapper_calibrate is 27.719999, -31.920000, -34.200001
10-01 22:51:41.228 721 823 E [email protected]: akm_log Enter wrapper_set_magNull
10-01 22:51:41.228 721 823 E [email protected]: akm_log Enter wrapper_set_magNull
The only way to make it stop is to disable all the sensors via the tile in developer options. Also it looks like disabling sensors per app doesn't work at all. I mean the stock one which can be accessed via app info and also the one that crDroid provides in its settings.
The same thing happens when GPS gets a fix.

kongtapapple said:
Followed the installation instruction, everything has been smooth so far. Played some game and the performance is great. Prop to the maintainer for writing such detail instruction rather than having me search though everything on my own. Keep it up!
Click to expand...
Click to collapse
Is this rom smooth in Poco M2? Pls reply.

iClutch7 said:
Is this rom smooth in Poco M2? Pls reply.
Click to expand...
Click to collapse
Someone mentioned earlier that it is smooth, my dear NEWB fan

It looks like, there are some issues with the notification mechanism. Basically all apps, which don't use the google push system, can't receive notifications. It's the case for Telegram FOSS, Signal, and K9-mail. They all have disabled battery optimization and they all have a visible notification displayed in the nav bar/lock screen.. But the network connection breaks after a few minutes you turn the screen off. Often notifications don't work when the screen is on -- you have to access the app to receive them (as soon as you access the app, the notification is delivered). Is there any fix for this issue? Does anyone noticed this behavior?

Good news is that, it looks like the official (the newest) firmware is bugged somehow. The same errors can be observed in the stock MIUI12A11. So it's not the crDroid's fault.
But still the delay in receiving notifications in the case of crDroid is really weird.

Hi

HELP!
at the time of installing the rom it gives me an error
says: error installing zip

Related

"Unfortunately, the process android.process.media has stopped" on MIUI 8 by shumxin

"Unfortunately, the process android.process.media has stopped" on MIUI 8 by shumxin
I would like to use MIUI on my OnePlus X, but the error mentioned in the title of this post keeps on popping up very frequently and it renders this beautiful ROM unusable for me.
I've downloaded the ROM from here - https://drive.google.com/file/d/0BzLtOy-IJENIVHpFVURBbjF4UVE/view (after watching this video - https://www.youtube.com/watch?v=7u25-UAe6JA).
In order to resolve the issue, I've tried a lot of things like clearing data/cache for apps like Google Play Services, Downloads, etc. but nothing helps.
I've installed GApps from http://opengapps.org (ARM, 6.0, pico), but this issue is seen even without GApps.
Any help in resolving the issue would be highly appreciated.
Here's the logcat snippet pertaining to the crash:
09-05 15:28:54.818 29920 29920 E MediaProvider: Can't obtain external volume ID even though it's mounted.
09-05 15:28:54.819 29920 29920 D AndroidRuntime: Shutting down VM
09-05 15:28:54.820 29920 29920 E AndroidRuntime: FATAL EXCEPTION: main
09-05 15:28:54.820 29920 29920 E AndroidRuntime: Process: android.process.media, PID: 29920
09-05 15:28:54.820 29920 29920 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider com.android.providers.media.MediaProvider: java.lang.IllegalArgumentException: Can't obtain external volume ID for external volume.
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:5270)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.app.ActivityThread.installContentProviders(ActivityThread.java:4862)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4802)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.app.ActivityThread.access$1700(ActivityThread.java:155)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1482)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5539)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: Can't obtain external volume ID for external volume.
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at com.android.providers.media.MediaProvider.attachVolume(MediaProvider.java:5458)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at com.android.providers.media.MediaProvider.onCreate(MediaProvider.java:656)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.content.ContentProvider.attachInfo(ContentProvider.java:1748)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.content.ContentProvider.attachInfo(ContentProvider.java:1723)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:5267)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: ... 10 more
Click to expand...
Click to collapse
Clean flash the ROM and try not to use gapps. See whether the problem persists. if not use this to app to get play store
https://drive.google.com/file/d/0B1MKgV6T8Z20YWFCVUtmOHhkY28/view?usp=sharing
sundhar88 said:
Clean flash the ROM and try not to use gapps. See whether the problem persists. if not use this to app to get play store
https://drive.google.com/file/d/0B1MKgV6T8Z20YWFCVUtmOHhkY28/view?usp=sharing
Click to expand...
Click to collapse
What do you mean by clean flash? My OnePlus X was running Paranoid Android 7.2.1 ROM and TWRP 3.1.1.1 version. I installed the MIUI ROM by shumxin after cleaning system, boot, data, cache partitions. Also, as mentioned in the OP, I get this issue even without any GApps installed. Also, the link you shared gives this message "We're sorry. You can't access this item because it is in violation of our Terms of Service".
amaldhure said:
I would like to use MIUI on my OnePlus X, but the error mentioned in the title of this post keeps on popping up very frequently and it renders this beautiful ROM unusable for me.
I've downloaded the ROM from here - https://drive.google.com/file/d/0BzLtOy-IJENIVHpFVURBbjF4UVE/view (after watching this video - https://www.youtube.com/watch?v=7u25-UAe6JA).
In order to resolve the issue, I've tried a lot of things like clearing data/cache for apps like Google Play Services, Downloads, etc. but nothing helps.
I've installed GApps from http://opengapps.org (ARM, 6.0, pico), but this issue is seen even without GApps.
Any help in resolving the issue would be highly appreciated.
Here's the logcat snippet pertaining to the crash:
Click to expand...
Click to collapse
Download this rom, its pretty stable than the one installed https://drive.google.com/file/d/0B1MKgV6T8Z20STNiUGN2R09iazg/view
cva_kabil said:
Download this rom, its pretty stable than the one installed https://drive.google.com/file/d/0B1MKgV6T8Z20STNiUGN2R09iazg/view
Click to expand...
Click to collapse
I've tried that ROM as well. But it was giving the same error after installing GApps.
I think I've figured out the root cause of this issue. This issue does not occur for me in case of no SD card in my phone. Could formatting the SD card from MIUI help?
Do not flash gapps with MIUI, Which is the cause.
And clean flash mean you don't have to wipe system. Before flashing MIUI try to flash OOS (latest), boot it up, reboot to recovery and then flash the MIUI.
And PLEASE DON'T USE GAPPS FOR MIUI. IT WON'T WORK AND EVEN IF IT DOES IT MAY CAUSE PROBLEMS.
sundhar88 said:
Do not flash gapps with MIUI, Which is the cause.
And clean flash mean you don't have to wipe system. Before flashing MIUI try to flash OOS (latest), boot it up, reboot to recovery and then flash the MIUI.
And PLEASE DON'T USE GAPPS FOR MIUI. IT WON'T WORK AND EVEN IF IT DOES IT MAY CAUSE PROBLEMS.
Click to expand...
Click to collapse
Ah, I see. So if I follow the flashing process you suggested, will the gapps from Oxygen OS be used in MIUI?
amaldhure said:
Ah, I see. So if I follow the flashing process you suggested, will the gapps from Oxygen OS be used in MIUI?
Click to expand...
Click to collapse
NO.
But there will be less errors
Did you download MIUI from this thread?
https://forum.xda-developers.com/oneplus-x/general/rom-miui-v8-oneplus-x-t3591453
Use this app (chinese app) to get play store. It is the only working way.
https://drive.google.com/file/d/0B1MKgV6T8Z20YWFCVUtmOHhkY28/view?usp=sharing
No, I'm using the ROM from this thread https://forum.xda-developers.com/oneplus-x/general/rom-miui-8-oneplus-x-ported-shumxin-t3479012
The other Google Drive link you've shared gives error.
Also, I'm unable to flash OOS 3.1.4 build. Tried from TWRP recovery as well as adb sideload. The process appears to be stuck at 8% progress, tried to keep it for about 35-40 minutes. Also, I'm unable to boot into stock Oxygen OS recovery.
I think I'll try doing a clean flash of the ROM, and install that Play Store app from somewhere.

[Help] Custom Orio rom - wifi sleep terror every 5 minutes

Hi,
So I'm terrorized by audio stream cutout after 5 minutes while screen is off.
This happens while streaming thru browser also with MX Player Pro streams cuts off,
and does not return until screen is powered on..
I tried ServeStream and while it works, it to suffers from 10-15sec of audio cutout every 5min blaming buffer is empty..
So I tried setting:
Wifi network : Not metered
Unrestricted data usage: Browser (NBP), Media (MTP Host), ServeStream
Battery Not optimized : Browser (NBP), Media Storage, MTP Host, MX Player Pro, ServeStream
(just for oldschool times; adb shell settings put global wifi_sleep_policy 2)
But nothing gives, what else is there to do?
I'm trying practise playing along with a buddy of mine and this utter madness is ruining it.
Captured from logcat what occurse every time streaming thru browser.
HTML:
.
.
W chromium: [WARNING:audio_sync_reader.cc(193)] AudioSyncReader::Read timed out, audio glitch count=30
.
.
D : PlayerBase::stop() from IPlayer
D AudioTrack: stop() called with 19371008 frames delivered
E AudioAttributes: Illegal value unmarshalling AudioAttributes, can't initialize bundle
E AudioService.PlaybackActivityMonitor: Error updating audio attributes
D : PlayerBase::stop() from IPlayer
W AudioFlinger: moveEffectChain_l() effect chain for session 0 not on source thread 0xadc039c0
W BroadcastQueue: Background execution not allowed: receiving Intent { act=lineageos.intent.action.ACTION_AUDIO_SESSIONS_CHANGED flg=0x10000010 (has extras) } to org.lineageos.audiofx/.receiver.ServiceDispatcher
D audio_hw_primary: out_standby: enter: stream (0xaeebd800) usecase(0: deep-buffer-playback)
D hardware_info: hw_info_append_hw_type : device_name = speaker
D : TrackPlayerBase::~TrackPlayerBase()
: PlayerBase::~PlayerBase()
.
.
I WifiService: requestActivityInfo uid=1000
I WifiService: reportActivityInfo uid=1000
I WifiService: getSupportedFeatures uid=1000
D WifiHAL : In DebugCommand::handleResponse
D WifiHAL : len = 4, expected len = 4
D lights.msm8974: led [solid] = ff0d0200
D WifiHAL : In DebugCommand::handleResponse
D WifiHAL : len = 4, expected len = 4
E BatteryExternalStatsWorker: no controller energy info supplied for wifi
E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth
D lights.msm8974: led [solid] = ff0d0200
E BatteryExternalStatsWorker: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}
.
.
Current rom AICP 13.1

Huawei Mate SE Google Maps can't detect location. Don't know why.

I'm having problems with my phone, on my Mate SE I have Magisk, the modules I installed are 1Controller, AdguardDNS AdBlocker, Busybox for android NDK, Exo2 Font, Global Optimized GPS File Replacer, Greenify4Magisk, and iOS12.2 Emoji.
Apps I have that also may cause this error. Substratum, VPN, Lucky Patcher, Google Maps, Modded Playstore, Magisk Manager, etc.
ROM: Open kirin Resurrection Remix OS beta 3
Kernel: Elemental v5.8 (2018-10-16)
Error: Every GPS app I have can't detect my location. I have root, and high accuracy on. I tried changing the gps.conf file with Global Optimized GPS File Replacer but no luck. I press the view my location button and nothing happens. Maybe the root apps or modules I have don't work with maps. Also before this error occurred, it got stuck on finding best route.
Logcat:
--------- beginning of main
12-02 00:28:02.773 1808 1808 W ChimeraUtils: Non Chimera context
12-02 00:28:02.773 1808 1808 W ChimeraUtils: Non Chimera context
12-02 00:28:03.105 8464 8474 I zygote64: Background concurrent copying GC freed 379279(15MB) AllocSpace objects, 91(4MB) LOS objects, 50% free, 11MB/23MB, paused 164us total 195.122ms
12-02 00:28:13.735 1036 1268 D AudioService: Stream muted, skip playback
12-02 00:28:13.759 1036 1833 I WifiService: getWifiEnabledState uid=10022
12-02 00:28:13.759 1036 1833 I WifiService: isScanAlwaysAvailable uid=10022
12-02 00:28:14.452 1036 1268 D AudioService: Stream muted, skip playback
12-02 00:28:14.468 1036 1611 I WifiService: getWifiEnabledState uid=10022
12-02 00:28:14.470 1036 1611 I WifiService: isScanAlwaysAvailable uid=10022
12-02 00:28:15.075 1036 1268 D AudioService: Stream muted, skip playback
12-02 00:28:15.100 1036 1833 I WifiService: getWifiEnabledState uid=10022
12-02 00:28:15.101 1036 1833 I WifiService: isScanAlwaysAvailable uid=10022
12-02 00:28:15.589 1036 1268 D AudioService: Stream muted, skip playback
12-02 00:28:15.605 1036 1611 I WifiService: getWifiEnabledState uid=10022
12-02 00:28:15.606 1036 1611 I WifiService: isScanAlwaysAvailable uid=10022
12-02 00:28:16.060 1036 1268 D AudioService: Stream muted, skip playback
12-02 00:28:16.086 1036 1611 I WifiService: getWifiEnabledState uid=10022
12-02 00:28:16.086 1036 1611 I WifiService: isScanAlwaysAvailable uid=10022
12-02 00:28:16.125 537 537 I GRALLOC : shrFd=10,fmt=0x1,intFmt=0x200000001,btStrd=4352,size=9547776,pid=537
12-02 00:28:16.125 537 537 I GRALLOC : yuv=2,w=1080,h=2160,Stride u=0 v=0,offset u=0 v=0
12-02 00:28:16.125 537 537 I GRALLOC : iova_size=9547776,conUsg=0xb00,proUsg=0xb00, strd=1088,[afbc]HdrStrd=1088 PyldStrd=69632 Scrmbl=0,ionhnd = 1
--------- beginning of system
12-02 00:28:19.724 1036 1068 E BatteryExternalStatsWorker: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}
12-02 00:28:25.570 1374 1374 D HeadsetPhoneState: sendDeviceStateChanged. mService=1 mIsSimStateLoaded=true mSignal=5 mRoam=0 mBatteryCharge=5
12-02 00:28:27.211 6711 6711 I .android.chrome: type=1400 audit(0.0:566): avc: denied { read } for name="vmstat" dev="proc" ino=4026532162 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_rroc:s0 tclass=file permissive=1
12-02 00:28:27.211 6711 6711 I .android.chrome: type=1400 audit(0.0:567): avc: denied { open } for path="/proc/vmstat" dev="proc" ino=4026532162 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_rroc:s0 tclass=file permissive=1
12-02 00:28:27.211 6711 6711 I .android.chrome: type=1400 audit(0.0:568): avc: denied { getattr } for path="/proc/vmstat" dev="proc" ino=4026532162 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_rroc:s0 tclass=file permissive=1
12-02 00:28:29.917 1374 1374 D HeadsetPhoneState: sendDeviceStateChanged. mService=1 mIsSimStateLoaded=true mSignal=4 mRoam=0 mBatteryCharge=5
12-02 00:28:44.574 12097 12114 I Finsky : [111] com.google.android.finsky.bo.ad.run(6): Stats for Executor: BlockingExecutor [email protected][Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 7]
12-02 00:28:44.575 12097 12114 I Finsky : [111] com.google.android.finsky.bo.ad.run(6): Stats for Executor: LightweightExecutor [email protected][Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 44]
12-02 00:28:44.697 12097 12114 I Finsky : [111] com.google.android.finsky.bo.ad.run(6): Stats for Executor: bgExecutor [email protected][Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 10]
bump, please someone help

[ROM][SM-T350][UNOFFICIAL][crDroidAndroid-11.0][v7.10][ANDROID 11] Galaxy Tab A 8.0

I am not responsible for bricked devices, or any other hardware malfunctions that comes as a result of flashing this ROM, Please do some research if you have any concerns about features included before flashing it, this ROM was built for the SM-T350 if you choose to flash this on any other device do so at your own risk!
Click to expand...
Click to collapse
>> crDroid Features <<​
-Installation instructions-
1. Download the ROM and GApps and transfer them to your device.
2. Boot to recovery (TWRP recommended).
3. Do a full backup of your device
4. Wipe the System, Cache, Data and ART/Dalvik cache. (Recommended)
5. Flash the ROM Zipfile.
6. Flash the GApps (optional, needed for e.g. Google Playstore to work).
7. Flash the root solution of your choice (optional).
8. Reboot your device.
TWRP 3.7.0 SM-T350 IMG DOWNLOAD​TWRP 3.7.0 SM-T350 ODIN DOWNLOAD​TWRP 3.3.1 SM-T350 DOWNLOAD​
Download crDroidAndroid-11.0 SM-T350 Build 2021-09-19​
Click to expand...
Click to collapse
MD5 FILE​
Click to expand...
Click to collapse
If you are having problems flashing this ROM you are most likely running into issues other members were having with the device most of which were already solved, please spend some time reading through this post of other posts related to this device.
-Backlight issues-
Read this post https://forum.xda-developers.com/showpost.php?p=83488241&postcount=41
Thanks
CrDroid Team
Evervolv Team
XDA:DevDB Information
crDroid Android, ROM for the Samsung Galaxy Tab A series
Contributors
nubianprince
ROM OS Version: Android 11
ROM Kernel: Linux 3.10.x
Based On: crDroidAndroid
Version Information
Status: Stable
Reporting Bugs
DO NOT Report bugs if you're running a custom kernel
Grab a logcat right after the problem has occurred. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
If it is a random reboot, grab /proc/last_kmsg.
What is the issue?
Attach or link the file.
Working
Audio (Tested)
Bluetooth (Tested)
Wifi (Tested)
Face Unlock (Tested)
Camera (Tested)
Netflix (Tested)
Not Working
You tell me
F.A.Q
1: Can I flash this on my SM-P355 tab
The ROM was built for the SM-T350 device (you can edit the updater script and flash at your own risk, a lot can go wrong)
2: Is this for Samsung Tab A 8.0 (2019)
The 2019 tablet is a SM-T290 device this ROM was built for the SM-T350
3: I get an error 7 when flashing this ROM
Install the TWRP image in the main post
4: Will you build for the SM-P355, SM-T290, SM-P350?
No I am only building for the devices that I own, feel free to use my device tree to build for your device
Changes
2021-06-18
- May Security Patches
2021-06-21
- June Security Patches
- DRM fixes
2021-06-24
- Overclocked Kernel & GPU
- Added missing vendor blobs to fix drm issues
2021-06-27
- Cleaned up sensor spamming
- Some sepolicy fixes
2021-07.07
- Fix for UI blur issues
- Some sepolicy fixes
2021-07.08
- Fix for live display
2021-09-19
- September Security Patches
Two bugs.
1) sensors not working
Code:
2557 12-16 15:23:13.580 372 372 E Sensors : couldn't find 'accelerometer_sensor' input device
2558 12-16 15:23:13.581 372 372 E Sensors : couldn't find 'accelerometer_sensor' input device
2559 12-16 15:23:13.581 372 372 E Sensors : Couldn't open accelerometer_sensor.
2560 12-16 15:23:13.581 372 372 E Sensors : AccelerometerSensor: undefined chip spec()
2561 12-16 15:23:13.581 372 372 E Sensors : couldn't find 'light_sensor' input device
2562 12-16 15:23:13.581 372 372 E Sensors : couldn't find 'light_sensor' input device
2563 12-16 15:23:13.581 372 372 E Sensors : Couldn't open light_sensor.
2564 12-16 15:23:13.581 372 372 E Sensors : LightSensor: undefined chip spec()
2565 12-16 15:23:13.582 372 372 E Sensors : couldn't find 'grip_sensor_wifi' input device
2566 12-16 15:23:13.582 372 372 E Sensors : couldn't find 'grip_sensor_wifi' input device
2567 12-16 15:23:13.582 372 372 E Sensors : Couldn't open grip_sensor_wifi.
For my build, I found that sensors have to be in passthrough mode and sensors.msm8916 has to be removed. That is, manifest.xml
Code:
<hal format="hidl">
<name>android.hardware.sensors</name>
<transport arch="32">passthrough</transport>
<version>1.0</version>
<interface>
<name>ISensors</name>
<instance>default</instance>
</interface>
</hal>
and msm8916.mk
Code:
# Sensor HAL
# RT sensor needs to be passthrough and sensors.msm8916 needs to be removed in order to work
PRODUCT_PACKAGES += \
[email protected]
# [email protected] \
# sensors.msm8916
2) drm not working
Code:
2527 12-16 15:23:13.530 364 364 E [email protected]: Failed to lookup symbol createDrmFactory in library /vendor/lib/mediadrm/libwvdrmengine.so: dlopen failed: cannot locate symbol "_ZN6google8protobuf8internal13empty_string_E" referenced by "/system/vendor/lib/mediadrm/libwvdrmengine.so"...
You are missing a commit like
https://review.lineageos.org/q/_ZN6google8protobuf8internal13empty_string_E
===
Since you are using evervolv's kernel code, I suggested to them that they consider overclocking the CPU/GPU and gave them the commits, but they haven't or decided not to implement them.
For overclock, see
[ROM][OFFICIAL][11.0] Evervolv for Galaxy Tab A 8.0 (SM-T350)
Evervolv is an AOSP (Android Open Source Project) rom that has roots dating back to 2011 with the Google Nexus One. Since then it has served as an open door for people of all kinds to contribute and experiment. The work put into this rom is...
forum.xda-developers.com
retiredtab said:
Two bugs.
1) sensors not working
Code:
2557 12-16 15:23:13.580 372 372 E Sensors : couldn't find 'accelerometer_sensor' input device
2558 12-16 15:23:13.581 372 372 E Sensors : couldn't find 'accelerometer_sensor' input device
2559 12-16 15:23:13.581 372 372 E Sensors : Couldn't open accelerometer_sensor.
2560 12-16 15:23:13.581 372 372 E Sensors : AccelerometerSensor: undefined chip spec()
2561 12-16 15:23:13.581 372 372 E Sensors : couldn't find 'light_sensor' input device
2562 12-16 15:23:13.581 372 372 E Sensors : couldn't find 'light_sensor' input device
2563 12-16 15:23:13.581 372 372 E Sensors : Couldn't open light_sensor.
2564 12-16 15:23:13.581 372 372 E Sensors : LightSensor: undefined chip spec()
2565 12-16 15:23:13.582 372 372 E Sensors : couldn't find 'grip_sensor_wifi' input device
2566 12-16 15:23:13.582 372 372 E Sensors : couldn't find 'grip_sensor_wifi' input device
2567 12-16 15:23:13.582 372 372 E Sensors : Couldn't open grip_sensor_wifi.
For my build, I found that sensors have to be in passthrough mode and sensors.msm8916 has to be removed. That is, manifest.xml
Code:
<hal format="hidl">
<name>android.hardware.sensors</name>
<transport arch="32">passthrough</transport>
<version>1.0</version>
<interface>
<name>ISensors</name>
<instance>default</instance>
</interface>
</hal>
and msm8916.mk
Code:
# Sensor HAL
# RT sensor needs to be passthrough and sensors.msm8916 needs to be removed in order to work
PRODUCT_PACKAGES += \
[email protected]
# [email protected] \
# sensors.msm8916
2) drm not working
Code:
2527 12-16 15:23:13.530 364 364 E [email protected]: Failed to lookup symbol createDrmFactory in library /vendor/lib/mediadrm/libwvdrmengine.so: dlopen failed: cannot locate symbol "_ZN6google8protobuf8internal13empty_string_E" referenced by "/system/vendor/lib/mediadrm/libwvdrmengine.so"...
You are missing a commit like
https://review.lineageos.org/q/_ZN6google8protobuf8internal13empty_string_E
===
Since you are using evervolv's kernel code, I suggested to them that they consider overclocking the CPU/GPU and gave them the commits, but they haven't or decided not to implement them.
Click to expand...
Click to collapse
I already started a new build to fix the sensors with June security patches... I will look into drm thought I had that fixed
I use devcheck by flar2 to check sensors and drm. When I click on the system menu in devcheck, my build with DRM shows Version 14.0.0, security L3 and clearkey 1.2. On your June 18 build, the same app shows nothing for DRM because of the error message that I included.
TCP/IP errors.
With Android 11, you also need a patch to fix TCP/IP errors. I found these in my build back in March 2021 and you have them too in your build.
Code:
03-24 08:08:09.674 1059 1653 E TcpInfo : parsing error.
03-24 08:08:09.674 1059 1653 E TcpInfo : java.lang.IllegalArgumentException: Length 104 is less than required.
03-24 08:08:09.674 1059 1653 E TcpInfo : at com.android.networkstack.netlink.TcpInfo.<init>(TcpInfo.java:118)
03-24 08:08:09.674 1059 1653 E TcpInfo : at com.android.networkstack.netlink.TcpInfo.parse(TcpInfo.java:143)
To fix, see
[ROM][UNOFFICIAL-ABANDONED][11] LineageOS 18.1 for Samsung Galaxy S5 (klte*)
LineageOS is a free, community built, aftermarket firmware distribution of Android 11, which is designed to increase performance and reliability over stock Android for your device. LineageOS is based on the Android Open Source Project with extra...
forum.xda-developers.com
and
[ROM][UNOFFICIAL-ABANDONED][11] LineageOS 18.1 for Samsung Galaxy S5 (klte*)
LineageOS is a free, community built, aftermarket firmware distribution of Android 11, which is designed to increase performance and reliability over stock Android for your device. LineageOS is based on the Android Open Source Project with extra...
forum.xda-developers.com
I opted for the DerpFest fix at
TcpSocketTracker: Opt-out for TCP info parsing on legacy kernels · DerpFest-AOSP/[email protected]
This feature requires netlink features that are unsupported on kernel versions lower than 4.4, therefore opt-out for it in such cases and avoid constantly crashing TcpSocketTracker. Change-Id: I12...
github.com
since I didn't want to touch the msm8916 kernel code.
Thanks to Henrik Grimler for pointing this out to me back in March 24, 2021.
Henrik Grimler submitted those kernel changes to msm8916 gerrit a while back after discovering it, but gerrit been down for days and I don't know when it will be up.
Again, I opted for the DerpFest fix, but I'm following the msm8916 kernel, not evervolv, so if Henrik's changes get merged into 18.1, I can revert the DerpFest fix.
Running a new build to include the patch for DRM, will do some testing when it is done, as for overclocking the kernel will take a look at that is weekend
New build uploaded (2021-06-21) with a few fixes @lividhen that app you couldn't get to work in the android 10 build should work in this build.
@nubianprince , the June 21 build still has problems with DRM and sensors.
1. DRM
Your DRM shows clearkey 1.2 now using devcheck by flar2, but is mssing the widevine other info as I wrote in post #7.
Code:
2434 12-19 09:31:43.905 0 0 I [1: init: 1] init: starting service 'vendor.drm-hal-1-0'...
2435 12-19 09:31:43.913 0 0 E [1: init: 1] init: File /vendor/bin/hw/[email protected] (labeled "u:object_r:vendor_file:s0") has incorrect label or no domain transition from u:r:init:s0 to another SELinux domain defined. Have you configured your service correctly? https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials
2474 12-19 09:31:44.041 363 363 E [email protected]: Failed to lookup symbol createDrmFactory in library /vendor/lib/mediadrm/libwvdrmengine.so: dlopen failed: cannot locate symbol "_ZN6google8protobuf8internal13empty_string_E" referenced by "/system/vendor/lib/mediadrm/libwvdrmengine.so"...
2. Sensors are still broken. As you can see in trace, it's starting and then dying (signal 9).
Code:
339 06-21 13:01:47.743 0 0 I [3: init: 1] init: starting service 'vendor.sensors-hal-1-0'...
340 06-21 13:01:47.761 2841 2841 E [email protected]: Couldn't load sensors module (Unknown error -2147483648)
341 06-21 13:01:47.761 2841 2841 D RefBase : RefBase: Explicit destruction, weak count = 0 (in 0xa6f00114)
342 06-21 13:01:47.761 2841 2841 W RefBase : CallStack::getCurrentInternal not linked, returning null
343 06-21 13:01:47.761 2841 2841 W RefBase : CallStack::logStackInternal not linked
344 06-21 13:01:47.762 2841 2841 E LegacySupport: Could not get passthrough implementation for [email protected]::ISensors/default.
345 06-21 13:01:47.790 0 0 I [0: init: 1] init: Service 'vendor.sensors-hal-1-0' (pid 2841) exited with status 1
346 06-21 13:01:47.790 0 0 I [0: init: 1] init: Sending signal 9 to service 'vendor.sensors-hal-1-0' (pid 2841) process group...
347 06-21 13:01:47.790 0 0 I [0: init: 1] libprocessgroup: Successfully killed process cgroup uid 1000 pid 2841 in 0ms
Pictures from devcheck to illustrate what I'm describing. The file names tell you which screenshot is what. You can see the difference between my build and yours. I didn't take a picture of crDroid sensors, but yours only has temperature whereas mine as 2 more.
So your June 21 build is completely missing the widevine information in the screenshot above. And yes, clearkey info is at the bottom of that crdroid screenshot. It cannot scroll any farther down in case you were wondering. The adb logcat error message I included also tells you that something is still wrong.
New build uploaded with overclocked kernel and some other fixes, still need to cleanup a few things
@nubianprince , June 24 has overclock for both CPU and GPU. DRM and sensors both are fixed as viewed by devcheck app.
While the sensors work in devcheck, adb logcat still shows something is not quite 100% as it continually spams
Code:
9184 06-24 14:27:53.969 0 0 I [1: init: 1] init: starting service 'vendor.sensors-hal-1-0'...
9185 06-24 14:27:54.000 2879 2879 I sensors_hal_wrapper: Initializing wrapper for Samsung Sensor-HAL
9186 06-24 14:27:54.002 2879 2879 E Sensors : couldn't find 'accelerometer_sensor' input device
9187 06-24 14:27:54.002 2879 2879 E Sensors : couldn't find 'accelerometer_sensor' input device
9188 06-24 14:27:54.003 2879 2879 E Sensors : Couldn't open accelerometer_sensor.
9189 06-24 14:27:54.003 2879 2879 E Sensors : AccelerometerSensor: undefined chip spec()
9190 06-24 14:27:54.003 2879 2879 E Sensors : couldn't find 'light_sensor' input device
9191 06-24 14:27:54.003 2879 2879 E Sensors : couldn't find 'light_sensor' input device
9192 06-24 14:27:54.003 2879 2879 E Sensors : Couldn't open light_sensor.
9193 06-24 14:27:54.003 2879 2879 E Sensors : LightSensor: undefined chip spec()
9194 06-24 14:27:54.003 2879 2879 E Sensors : couldn't find 'grip_sensor_wifi' input device
9195 06-24 14:27:54.003 2879 2879 E Sensors : couldn't find 'grip_sensor_wifi' input device
9196 06-24 14:27:54.003 2879 2879 E Sensors : Couldn't open grip_sensor_wifi.
9197 06-24 14:27:54.003 2879 2879 E Sensors : GripSensor_wifi: undefined chip spec()
9198 06-24 14:27:54.003 2879 2879 E Sensors : couldn't find 'meta_event' input device
9199 06-24 14:27:54.004 2879 2879 E Sensors : couldn't find 'meta_event' input device
9200 06-24 14:27:54.004 2879 2879 E Sensors : Couldn't open meta_event.
9201 06-24 14:27:54.004 2879 2879 D Sensors : sensors_poll_context_t: sensor list: 0
9202 06-24 14:27:54.006 2879 2879 E HidlServiceManagement: Service [email protected]::ISensors/default must be in VINTF manifest in order to register/get.
9203 06-24 14:27:54.006 2879 2879 E LegacySupport: Could not register service [email protected]::ISensors/default (-2147483648).
9204 06-24 14:27:54.033 0 0 I [2: init: 1] init: Service 'vendor.sensors-hal-1-0' (pid 2879) exited with status 0
9205 06-24 14:27:54.033 0 0 I [2: init: 1] init: Sending signal 9 to service 'vendor.sensors-hal-1-0' (pid 2879) process group...
Do a grep for "vendor.sensors-hal-1-0" in your device tree and/or vendor tree to what is calling it.
I am aware of the sensor spamming, I will see what is going on with that as soon as I can, I have to take a closer look at the vendor blobs.
There's no rush to fix. I'm just pointing out the bugs/errors that you may have missed.
Will this work if I have a Tab A with 7.1.1 installed? Also what variant of Gapps should I download?
batouttahell24 said:
Will this work if I have a Tab A with 7.1.1 installed? Also what variant of Gapps should I download?
Click to expand...
Click to collapse
Make sure you have TWRP recovery installed and follow the steps in the main post, you can google open_gapps-arm-11

Change default camera (back) to USB camera

I'd like to know how to change the default camera on Android to a USB camera, I'd like to use my webcam to authenticate QR codes, but with emulator, the camera doesn't start, I can only get video through a USB camera (v4l2)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I compiled redroid11 from GitHub
Here some logs
Code:
06-20 21:04:15.902 16876 16876 F DEBUG : #08 pc 00003ceb /vendor/lib/hw/[email protected] (virtual thunk to android::hardware::camera::provider::V2_4::implementation::CameraProvider<android::hardware::camera::provider::V2_4::implementation::ExternalCameraProviderImpl_2_4>::~CameraProvider()+75) (BuildId: 61f370932646d54b04cc68702a95f8fa)
06-20 21:04:15.902 16876 16876 F DEBUG : #12 pc 00001aee /vendor/bin/hw/[email protected]4-external-service (BuildId: e02058b00fe96b518e5b0b850ff2870c)
06-20 21:04:15.902 16876 16876 F DEBUG : #13 pc 00001993 /vendor/bin/hw/[email protected] (main+179) (BuildId: e02058b00fe96b518e5b0b850ff2870c)
06-20 21:04:20.913 16884 16884 I [email protected]: [email protected] legacy service is starting.
06-20 21:04:20.913 16883 16883 I [email protected]: External camera provider service is starting.
06-20 21:04:20.925 16884 16884 E [email protected]: Could not load camera HAL module: -2 (No such file or directory)
06-20 21:04:20.925 16884 16884 E [email protected]: getProviderImpl: camera provider init failed!
06-20 21:04:20.925 16883 16883 I [email protected]: loadFromCfg: load external camera config succeed!
06-20 21:04:20.925 16883 16883 I [email protected]: loadFromCfg: device 0 will be ignored by external camera provider
06-20 21:04:20.926 16883 16883 I [email protected]: loadFromCfg: external camera cfg loaded: maxJpgBufSize 3145728, num video buffers 4, num still buffers 2, orientation 0
06-20 21:04:20.926 16883 16883 E HidlServiceManagement: Service [email protected]::ICameraProvider/external/0 must be in VINTF manifest in order to register/get.
06-20 21:04:20.926 16883 16883 E LegacySupport: Could not register service [email protected]::ICameraProvider/external/0 (-2147483648).
06-20 21:04:20.928 16884 16884 E LegacySupport: Could not get passthrough implementation for [email protected]::ICameraProvider/legacy/0.
06-20 21:04:20.934 16888 16888 F DEBUG : pid: 16883, tid: 16883, name: android.hardwar >>> /vendor/bin/hw/[email protected] <<<
06-20 21:04:20.937 16888 16888 F DEBUG : #06 pc 0000e293 /vendor/lib/[email protected] (android::hardware::camera::provider::V2_4::implementation::ExternalCameraProviderImpl_2_4::HotplugThread::~HotplugThread()+99) (BuildId: c893ccbbe5cfdc71842b89443e84b793)
06-20 21:04:20.937 16888 16888 F DEBUG : #07 pc 0000e12d /vendor/lib/[email protected] (android::hardware::camera::provider::V2_4::implementation::ExternalCameraProviderImpl_2_4::~ExternalCameraProviderImpl_2_4()+45) (BuildId: c893ccbbe5cfdc71842b89443e84b793)
06-20 21:04:20.937 16888 16888 F DEBUG : #08 pc 00003ceb /vendor/lib/hw/[email protected] (virtual thunk to android::hardware::camera::provider::V2_4::implementation::CameraProvider<android::hardware::camera::provider::V2_4::implementation::ExternalCameraProviderImpl_2_4>::~CameraProvider()+75) (BuildId: 61f370932646d54b04cc68702a95f8fa)
06-20 21:04:20.937 16888 16888 F DEBUG : #12 pc 00001aee /vendor/bin/hw/[email protected] (BuildId: e02058b00fe96b518e5b0b850ff2870c)
06-20 21:04:20.937 16888 16888 F DEBUG : #13 pc 00001993 /vendor/bin/hw/[email protected] (main+179) (BuildId: e02058b00fe96b518e5b0b850ff2870c)
06-20 21:04:24.573 150 281 E CameraService: cameraIdIntToStrLocked: input id 0 invalid: valid range (0, 0)
06-20 21:04:24.573 150 281 I CameraService: CameraService::connect call (PID -1 "com.whatsapp", camera ID ) for HAL version default and Camera API version 1
06-20 21:04:24.573 150 281 E CameraService: shouldRejectSystemCameraConnection: Invalid camera id ,
06-20 21:04:24.573 150 281 W CameraService: Attempting to connect to system-only camera id , connection rejected
06-20 21:04:24.573 1455 16941 W CameraBase: An error occurred while connecting to camera 0: Status(-8, EX_SERVICE_SPECIFIC): '4: validateClientPermissionsLocked:1158: No camera device with ID "" isavailable'
06-20 21:04:25.914 17093 17093 I [email protected]: External camera provider service is starting.
06-20 21:04:25.920 17094 17094 I [email protected].4-service: [email protected] legacy service is starting.
06-20 21:04:25.932 17093 17093 I [email protected]: loadFromCfg: load external camera config succeed!
06-20 21:04:25.932 17093 17093 I [email protected]: loadFromCfg: device 0 will be ignored by external camera provider
06-20 21:04:25.932 17093 17093 I [email protected]: loadFromCfg: external camera cfg loaded: maxJpgBufSize 3145728, num video buffers 4, num still buffers 2, orientation 0
06-20 21:04:25.932 17093 17093 E HidlServiceManagement: Service [email protected]::ICameraProvider/external/0 must be in VINTF manifest in order to register/get.
06-20 21:04:25.932 17094 17094 E [email protected]: Could not load camera HAL module: -2 (No such file or directory)
06-20 21:04:25.933 17093 17093 E LegacySupport: Could not register service [email protected]::ICameraProvider/external/0 (-2147483648).
06-20 21:04:25.933 17094 17094 E [email protected]: getProviderImpl: camera provider init failed!
06-20 21:04:25.935 17094 17094 E LegacySupport: Could not get passthrough implementation for [email protected]::ICameraProvider/legacy/0.
06-20 21:04:25.942 17101 17101 F DEBUG : pid: 17093, tid: 17093, name: android.hardwar >>> /vendor/bin/hw/[email protected] <<<
06-20 21:04:25.945 17101 17101 F DEBUG : #06 pc 0000e293 /vendor/lib/[email protected] (android::hardware::camera::provider::V2_4::implementation::ExternalCameraProviderImpl_2_4::HotplugThread::~HotplugThread()+99) (BuildId: c893ccbbe5cfdc71842b89443e84b793)
06-20 21:04:25.945 17101 17101 F DEBUG : #07 pc 0000e12d /vendor/lib/[email protected] (android::hardware::camera::provider::V2_4::implementation::ExternalCameraProviderImpl_2_4::~ExternalCameraProviderImpl_2_4()+45) (BuildId: c893ccbbe5cfdc71842b89443e84b793)
06-20 21:04:25.945 17101 17101 F DEBUG : #08 pc 00003ceb /vendor/lib/hw/[email protected] (virtual thunk to android::hardware::camera::provider::V2_4::implementation::CameraProvider<android::hardware::camera::provider::V2_4::implementation::ExternalCameraProviderImpl_2_4>::~CameraProvider()+75) (BuildId: 61f370932646d54b04cc68702a95f8fa)
06-20 21:04:25.945 17101 17101 F DEBUG : #12 pc 00001aee /vendor/bin/hw/[email protected] (BuildId: e02058b00fe96b518e5b0b850ff2870c)
06-20 21:04:25.945 17101 17101 F DEBUG : #13 pc 00001993 /vendor/bin/hw/[email protected] (main+179) (BuildId: e02058b00fe96b518e5b0b850ff2870c)
artbreguez said:
I'd like to know how to change the default camera on Android to a USB camera, I'd like to use my webcam to authenticate QR codes, but with emulator, the camera doesn't start, I can only get video through a USB camera (v4l2)
Click to expand...
Click to collapse
Hello and good afternoon, @artbreguez
Welcome to XDA. I hope you'll always find and get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

Categories

Resources