Related
Any developer here??? Pls help me to fix bt media... My rom is HTC Sense 4 for htc explorer/pico which is ported by derefas from HTC Desire C. Bluetooth file transfer works very well but bt headset doesnt work. Here is the logcat.
E/BluetoothA2dpService.cpp( 349): onConnectSinkResult: D-Bus error: org.bluez.E
rror.Failed (Stream connection failed)
D/BluetoothA2dpService( 349): checkSinkSuspendState(): state=0,mTargetA2dpState
=-1
D/StateMachine( 349): handleMessage: new destination call exit
D/StateMachine( 349): invokeExitMethods: PendingCommandState
I/BluetoothProfileState( 349): Message:Entering Stable State
D/AudioService( 349): isSpecialCase=true , mEventAudioOnly=false , isStreamActi
ve=false
D/AudioService( 349): checkEqIdAndApplyEffect isHeadsetPlugged()=false , mBluet
oothHeadsetConnected=false , id=900 , mHtcSpecificAP=false , mGlobalSoundEffect=
900
V/AudioHardwareMSM72XX( 114): setParameters() global_effect=none
D/AudioService( 349): broadcastSoundEffectChanged beats state=false appName=BT
state changed
V/BluetoothEventManager( 2780): Received android.bluetooth.a2dp.profile.action.C
ONNECTION_STATE_CHANGED
I/LocalBluetoothProfileManager( 2780): Failed to connect A2DP device
D/StateMachine( 349): handleMessage: new destination call exit
D/StateMachine( 349): invokeExitMethods: OutgoingA2dp
I/BluetoothDeviceProfileState( 349): Entering ACL Connected state with: 102
D/BluetoothA2dpService( 349): A2DP state : device: C4:85:08:05:59:5A State:1->0
I/BluetoothA2dpService( 349): [embedded] A2DP state : address: C4:85:08:05:59:5
A name: SHEKHAR-PC State:1->0
D/BluetoothAdapterStateMachine( 349): BluetoothOn process message: 52
D/BluetoothService( 349): CONNECTION_STATE_CHANGE: C4:85:08:05:59:5A: 1 -> 0
V/BluetoothEventManager( 3562): Received android.bluetooth.a2dp.profile.action.C
ONNECTION_STATE_CHANGED
I/LocalBluetoothProfileManager( 3562): Failed to connect A2DP device
I/USERIAL_LINUX( 3593): ##### USERIAL_Ioctl: BT_Sleep, USERIAL_IO_BT_WAKE_DEASSE
RT ####
D/PhoneStatusBarPolicy( 634): isCdma():false hasService:true mSimState=UNKNOWN
gprsState=0 mDataState=0 dataActivity=1 mPhone.htcModemLinkOn:false hspa==true
E/ ( 3593): btm_sec_disconnected - Clearing Pending flag
W/ ( 3593): BTA_DM_LINK_DOWN_EVT::bdaddr c4:85:08:05:59:5a reason x13
I/ ( 3593): send_ctrl_msg: [BTL_IFS CTRL] send BTLIF_DTUN_SIGNAL_EVT (CTR
L) 11 pbytes (hdl 22)
D/DTUN_HCID4( 3608): dtun_dm_sig_link_down()
I/DTUN_HCID4( 3608): dtun_dm_sig_link_down device = 0x6f7900 reason = 19
I/DTUN_HCID4( 3608): [embedded]LINK_DOWN name = SHEKHAR-PC, address = C4:85:08:0
5:59:5A, reason = 0x13
D/BluetoothEventLoop( 349): Device property changed: C4:85:08:05:59:5A property
: Connected value: false
D/ ( 3593): >>> STOP GKI_timer_update(), wake_lock_count:0
D/ ( 3593): >>> SUSPENDED GKI_timer_update()
Can anyone guide me to fix this?
Hi all,
I have visited this forum for some time and always found helpful information.
But this time I messed up this android phone and don't know how to fix it.
Late at night I was flashing custom roms to Motorola XT1032 and couple of other aps, I do it on CWM recovery using adb, so I where operating as root inside of device, had mounted all partition in Read and Write permissions.
Then when I finished applying custom stuff I wanted to delete not needed stuff what I put in /data/local/tmp. At this moment I thougt I am in this path, but I where in / and made "rm * " .
A second later I realized my mistake but that was to late.
Since that I tried to flash custom roms but that did not help to make wifi working again.
After flashing custom roms like ClockworkMod phone is working, mobile reception and bluetooth but no wifi.
I tried to insmod /system/lib/modules/wlan.ko but I got "insmod: init_module '/system/lib/modules/wlan.ko' failed (Operation not permitted)"
I think that need to flash rootfs but not 100% sure and I don't have copy of it.
Please help me.
Chris
I have the exact same problem and I have no idea how to fix it.
Chris.G said:
Hi all,
I have visited this forum for some time and always found helpful information.
But this time I messed up this android phone and don't know how to fix it.
Late at night I was flashing custom roms to Motorola XT1032 and couple of other aps, I do it on CWM recovery using adb, so I where operating as root inside of device, had mounted all partition in Read and Write permissions.
Then when I finished applying custom stuff I wanted to delete not needed stuff what I put in /data/local/tmp. At this moment I thougt I am in this path, but I where in / and made "rm * " .
A second later I realized my mistake but that was to late.
Since that I tried to flash custom roms but that did not help to make wifi working again.
After flashing custom roms like ClockworkMod phone is working, mobile reception and bluetooth but no wifi.
I tried to insmod /system/lib/modules/wlan.ko but I got "insmod: init_module '/system/lib/modules/wlan.ko' failed (Operation not permitted)"
I think that need to flash rootfs but not 100% sure and I don't have copy of it.
Please help me.
Chris
Click to expand...
Click to collapse
Same problem, wifi not active.
The PID are variable.
02-05 16:25:02.055 1049 1060 D WifiService: setWifiEnabled: true pid=9178, uid=1000
02-05 16:25:32.986 9178 9178 I ActivityManager: Timeline: Activity_launch_request id:com.android.settings time:3774476
02-05 16:25:32.987 1049 1061 I ActivityManager: START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from pid 9178
02-05 16:25:33.023 9178 9178 D SubSettings: Launching fragment com.android.settings.wifi.WifiSettings
02-05 16:25:33.112 1049 1106 I ActivityManager: Displayed com.android.settings/.SubSettings: +115ms
02-05 16:25:33.155 9178 9178 I ActivityManager: Timeline: Activity_idle id: [email protected] time:3774645
02-05 16:25:33.457 1049 1106 I ActivityManager: Timeline: Activity_windows_visible id: ActivityRecord{41e2f0f8 u0 com.android.settings/.SubSettings t38} time:3774947
02-05 16:26:02.185 1049 1365 D WifiService: setWifiEnabled: true pid=9178, uid=1000
02-05 16:26:13.257 9178 9178 D BluetoothAdapter: 1115700712: getState() : mService = null. Returning STATE_OFF
02-05 16:26:13.309 9178 9178 D BluetoothAdapter: 1115700712: getState() : mService = null. Returning STATE_OFF
02-05 16:26:13.363 9178 9178 I ActivityManager: Timeline: Activity_idle id: [email protected] time:3814853
02-05 16:26:13.714 1049 1106 I ActivityManager: Timeline: Activity_windows_visible id: ActivityRecord{41dd1020 u0 com.android.settings/.Settings t38} time:3815204
02-05 16:26:14.317 1351 1351 I ActivityManager: Timeline: Activity_idle id: [email protected] time:3815806
02-05 16:26:14.688 1049 1106 I ActivityManager: Timeline: Activity_windows_visible id: ActivityRecord{4220d2b0 u0 com.mobint.hololauncher.hd/com.mobint.hololauncher.Launcher t1} time:3816177
02-05 16:26:15.802 1351 1351 I ActivityManager: Timeline: Activity_launch_request id:scd.lcex time:3817291
02-05 16:26:15.803 1049 1061 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=scd.lcex/.LogcatExtreme bnds=[257,680][371,878]} from pid 1351
02-05 16:26:16.060 1049 1334 W InputMethodManagerService: Starting input on non-focused client [email protected] (uid=10071 pid=1351)
02-05 16:26:16.094 9393 9393 I ActivityManager: Timeline: Activity_idle id: [email protected] time:3817583
02-05 16:26:16.353 1049 1106 I ActivityManager: Timeline: Activity_windows_visible id: ActivityRecord{41d267a0 u0 scd.lcex/.LogcatExtreme t37} time:3817843
---- 05/02/2014 16:27:23 ----
same probleme
please help us no wifi after unlock bootloader and format systeme, format data, format cache... . I tried rom paranoid, rom cyanogen 11 and rom GPE (google play edition) and same problem no wifi for all systemes. I wait a solution
Same problem
stylboss said:
please help us no wifi after unlock bootloader and format systeme, format data, format cache... . I tried rom paranoid, rom cyanogen 11 and rom GPE (google play edition) and same problem no wifi for all systemes. I wait a solution
Click to expand...
Click to collapse
I got the same problem today i try others roms and wifi is not working. Please some one help us!
Thank you.
SOLVED! SOLUTION WERE- http://forum.xda-developers.com/showthread.php?t=2619553
my moto g XT1033 in stock rom: wifi is not work fine, signal lost every 1 min
but in custom rom work fine!
please help me
Moto G XT1033 WiFi Problem,
hi everyone,
my moto g XT1033 WiFi have not problem with custom ROM but in stock rom WiFi connection lost signal!!!
please help me!
hello guys, can look here, good luck http://forum.xda-developers.com/showthread.php?t=2649763
Problem With WiFi in Stock rom
hello dear,
my moto g xt1033 in stock rom have problem with wifi,connect to wifi and after 5min connection lost< wifi signal is very low, but in custom rom work very good!
I converted my moto g xt1033 to xt1032 and now the wifi does not turn on
After converting, either the wifi does not turn on or after turning it does not display any network. Please help me.
Did you try converting back to xt1033 from xt1032?
[msm8939][meizu][camera]dlopen failed: could not load library "libcam.meiyan.so" need
Hello,
Could you please help me?
Platform:meizu m1note msm8939
I ported from flyme to miui.
The camera has problem.
I got the error:
dlopen failed: could not load library "libcam.meiyan.so" needed by "camera.msm8916.so";
caused by cannot locate symbol "_ZN11CBeautyShot18SetSkinBrightLevelEl" referenced by "libcam.meiyan.so"...
About symbol "_ZN11CBeautyShot18SetSkinBrightLevelEl",
I found it at:
m463c/rom/update/system $ g CBeautyShot
Binary file ./lib/libarcsoft_beauty_shot.so matches
Binary file ./lib/libcam.meiyan.so matches
And I push them to my phone.
But I still get the error.
Who can help me? Thank you very much.
I have been debugging for several days.
01-02 08:17:52.901 I/libmdmdetect( 351): Found internal modem: modem
01-02 08:17:52.901 E/QC-QMI ( 272): qmi_client [272]: unable to connect to server, errno=[2:No such file or directory], attempt=1
01-02 08:17:52.901 E/QC-QMI ( 351): qmi_client [351]: unable to connect to server, errno=[2:No such file or directory], attempt=1
01-02 08:17:52.901 I/ThermalEngine( 288): Sensor:tsens_tz_sensor3:80000 mC
01-02 08:17:52.941 E/HAL ( 276): load: module=/system/lib/hw/camera.msm8916.so
01-02 08:17:52.941 E/HAL ( 276): dlopen failed: could not load library "libcam.meiyan.so" needed by "camera.msm8916.so"; caused by cannot locate symbol "_ZN11CBeautyShot18SetSkinBrightLevelEl" referenced by "libcam.meiyan.so"...
01-02 08:17:52.941 E/CameraService( 276): Could not load camera HAL module
01-02 08:17:52.941 I/mediaserver( 276): ListenService instantiated
01-02 08:17:52.941 V/ListenService( 276): instantiate entered
01-02 08:17:52.941 V/ListenService( 276): getInstance entered, mNumInstances currently 0
Eismog
my-mail:[email protected]
Is there anyone who can help me?
TLDR: random freeze (for 10-15s) followed by reboot, tried everything, it's getting worse (can't use the phone at all), no idea what to do, probably throw to bin and not buy samsungs anymore
Hello everyone,
My daily phone started having crashes yesterday: in (arguably random) moments while using it, it just hangs for ~10s then reboots immediately. After some tinkling/searching/trying stuff, I found out it crashes with 95% probability if I go to settings, debugging options and click on running services, it also crashed a few times while loading the app list, and a few times while using waze.
The phone is completely official, not even custom recovery, no root, nothing. I didn't install anything new right before the crashes, but I still deleted all the recent apps I've downloaded for the last weeks and it still crashes. It also crashed in SAFE MODE which is pretty disturbing as it seems to me it's something very serious and not just some random app.
The story:
The very first crash happened while using the Waze app and trying to open Samsung music and connecting to my bluetooth headphones (which I usually do without problems, last time I did this was 2 days ago for a 1h trip without problems), a few seconds after my headphones connected the screen just froze and the phone rebooted. My first reaction was it probably got overheated (as It was really hot outside) so I just put it in the air vent and continued driving with google maps. About 30 mins later I switched again to waze, no crashes, also powered on my headphones, again no crashes. 1h later I got a phone call and immediately after finishing the call and the phone tried to switch back to the homescreen (or waze app, not sure), it crashed.
After getting home I uninstalled waze (the main suspect here) and turned off bluetooth and it just crashed after 5-10 mins of randomly trying to see what's wrong. I kept having more and more frequent crashes (it seems that not touching the phone right after rebooting for at least 10 mins is helping here as it otherwise would crash again). It also got stuck in the Samsung logo for a while and I thought I completely lost it but it seems like to force reboot the combination is 8seconds of power+volume up (not just power). At this point I started deleting most of the apps I didn't have for more than a few months and even tried safe mode but still going through settings, app list and into the services menu almost always crashed the phone. I also removed the microsd card (which seemed to help temporarily as I could see the services now, but the crashes came back after a very short while even without the card and sim) and cleaned up recent photos (took some raw photos the night before for the first time in a long while, moved them to the pc and deleted them from the phone).
Debugging:
After having no luck with removing the microsd card, the sim and deleting all the recently installed apps (from the last 2-3 weeks) and also wiping cache (and some data) to most of the bigger apps, I installed adb and tried some adb logcat > file.txt and used the phone to try to get to the crash.
The logcat files are huge, but trying to look at the last few seconds (hundreds of lines) the only obvious error is this one regarding memory/memtrack:
Code:
[ 07-19 12:47:22.389 3666: 4249 W/android.os.Debug ]
failed to get memory consumption info: -1
[ 07-19 12:47:22.409 3666: 4249 E/memtrack ]
Couldn't load memtrack module
[ 07-19 12:47:22.409 3666: 4249 W/android.os.Debug ]
failed to get memory consumption info: -1
[ 07-19 12:47:22.429 3666: 4249 E/memtrack ]
Couldn't load memtrack module
[ 07-19 12:47:22.429 3666: 4249 W/android.os.Debug ]
failed to get memory consumption info: -1
Searching for memtrack in the 5 logcat files I got (only 3 of them had the crash) results in about 3400+ hits for this word.
---------
I just tried again to get a crash for fresh logs and this time I couldn't get it in the settings services/app list but while opening and closing a few apps, last one gmail and yahoo mail, before the samsung's game launcher. There seems to be something new with thousands of hits:
Code:
07-19 22:35:26.904 9074 9074 W ResourceType: For resource 0x7f0607f8, entry index(2040) is beyond type entryCount(533)
07-19 22:35:26.904 9074 9074 W ResourceType: For resource 0x7f1405f5, entry index(1525) is beyond type entryCount(385)
07-19 22:35:26.904 9074 9074 W ResourceType: For resource 0x7f1406bd, entry index(1725) is beyond type entryCount(385)
07-19 22:35:26.904 9074 9074 W ResourceType: For resource 0x7f1406a2, entry index(1698) is beyond type entryCount(385)
07-19 22:35:26.904 9074 9074 W ResourceType: For resource 0x7f1406a3, entry index(1699) is beyond type entryCount(385)
07-19 22:35:26.904 9074 9074 W ResourceType: For resource 0x7f1406ba, entry index(1722) is beyond type entryCount(385)
07-19 22:35:26.904 9074 9074 W ResourceType: For resource 0x7f14073e, entry index(1854) is beyond type entryCount(385)
filtering for 9074 gives some weird stuff (20.000+ search results):
Code:
07-19 22:35:27.913 9074 9074 W ResourceType: For resource 0x7f06033a, entry index(826) is beyond type entryCount(533)
07-19 22:35:27.972 3653 3795 D MdnieScenarioControlService: packageName : com.google.android.gm className : com.google.android.gm.ConversationListActivityGmail
07-19 22:35:27.973 3653 3795 V MdnieScenarioControlService: setUIMode from UI function(3)
07-19 22:35:27.990 9074 9074 V InputMethodManager: Starting input: [email protected] nm : com.google.android.gm ic=null
07-19 22:35:27.990 9074 9074 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
07-19 22:35:27.990 3653 10860 D InputMethodManagerService: startInputOrWindowGainedFocus : startInput
07-19 22:35:27.991 3653 10860 D InputMethodManagerService: setCurrentInputInfo - inputContext : null eidtorInfo : [email protected] missingMethods : 0
07-19 22:35:27.991 23401 23401 I InputMethodWrapper: call dispatchStartInputWithToken
07-19 22:35:27.992 23401 23401 I InputMethodService: dispatchStartInputWithToken
07-19 22:35:27.992 9074 9074 W Gmail : RVGmail:Problem with folder list cursor returned from loader
07-19 22:35:28.004 9074 9074 W Gmail : RVGmail:Problem with folder list cursor returned from loader
07-19 22:35:28.013 3323 3602 D DnsProxyListener: DNSDBG::dns addrinfo af 2
07-19 22:35:28.014 3323 3602 D DnsProxyListener: DNSDBG::dns addrinfo af 2
07-19 22:35:28.039 9074 9074 W Gmail : AccountUtils:For b/73513912, load account <.................removed some id that looked private.....................> from MailAppProvider. Is account valid result: 2.
07-19 22:35:28.055 9074 9079 I zygote64: Do partial code cache collection, code=243KB, data=138KB
07-19 22:35:28.056 9074 9079 I zygote64: After code cache collection, code=236KB, data=135KB
07-19 22:35:28.056 9074 9079 I zygote64: Increasing code cache capacity to 1024KB
07-19 22:35:28.070 9074 9246 I zygote64: Deoptimizing void bcel.a(java.lang.Object) due to JIT inline cache
07-19 22:35:28.093 9074 9252 I zygote64: Deoptimizing void beuy.run() due to class hierarchy analysis
07-19 22:35:28.098 9074 9074 W atvt : FirebaseCrash1p.isCrashCollectionEnabled threw an exception
07-19 22:35:28.098 9074 9074 W atvt : java.lang.IllegalStateException: FirebaseCrash1p not initialized. Call FirebaseCrash1p.initFirebase() first.
07-19 22:35:28.098 9074 9074 W atvt : at yap.b(Unknown Source:4)
07-19 22:35:28.098 9074 9074 W atvt : at yap.a(Unknown Source:0)
07-19 22:35:28.098 9074 9074 W atvt : at atvt.<init>(PG:2)
07-19 22:35:28.098 9074 9074 W atvt : at osj.aI(PG:3)
07-19 22:35:28.098 9074 9074 W atvt : at orv.b(PG:75)
07-19 22:35:28.098 9074 9074 W atvt : at bhwj.b(PG:1)
07-19 22:35:28.098 9074 9074 W atvt : at osj.aK(PG:7)
07-19 22:35:28.098 9074 9074 W atvt : at osj.dX(PG:4)
07-19 22:35:28.098 9074 9074 W atvt : at orv.b(PG:187)
07-19 22:35:28.098 9074 9074 W atvt : at zmc.run(Unknown Source:4)
07-19 22:35:28.098 9074 9074 W atvt : at android.os.Handler.handleCallback(Handler.java:789)
07-19 22:35:28.098 9074 9074 W atvt : at android.os.Handler.dispatchMessage(Handler.java:98)
07-19 22:35:28.098 9074 9074 W atvt : at android.os.Looper.loop(Looper.java:164)
07-19 22:35:28.098 9074 9074 W atvt : at android.app.ActivityThread.main(ActivityThread.java:6944)
07-19 22:35:28.098 9074 9074 W atvt : at java.lang.reflect.Method.invoke(Native Method)
07-19 22:35:28.098 9074 9074 W atvt : at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
07-19 22:35:28.098 9074 9074 W atvt : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
07-19 22:35:28.113 3653 8233 D PowerManagerService: [api] setMasterBrightnessLimit : minBrightnss : -1 maxBrightness : 230 (uid: 1000 pid: 3653)
07-19 22:35:28.113 3653 8233 D PowerManagerService: mDisplayReady: false
07-19 22:35:28.113 3653 3687 D DisplayPowerController: animateScreenStateChange: target2
07-19 22:35:28.113 3653 3687 D DisplayPowerController: getFinalBrightness : Summary is 90 -> 90
but to me it just looks like gmail crashing down due to somethng else happening with the phone.
and before this there's a worrysome database error:
Code:
07-19 22:35:22.655 8740 8740 D SamsungAnalytics111040: cf feature is supported
07-19 22:35:22.656 3653 10860 D SamsungAlarmManager: setInexact Intent (T:2/F:0/AC:false) 20200719T223536 - CU:10024/CP:4569
07-19 22:35:22.656 3653 10860 I SamsungAlarmManager: setLocked to kernel - T:2 / 20200719T223536, SetElapsed=19355515, nowELAPSED=19341270
07-19 22:35:22.659 8740 8740 D SamsungAnalytics111040: [Tracker] Tracker start:1.11.040
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: Error inserting period=10000 preferred_charging_state=1 preferred_network_type=1 target_class=com.google.android.gms.measurement.PackageMeasurementTaskService required_network_type=0 runtime=1595187322643 required_idleness_state=0 source=16 service_kind=0 target_package=com.google.android.gms persistence_level=1 source_version=202414000 last_runtime=0 user_id=0 job_id=-1 requires_charging=0 tag=Measurement.PackageMeasurementTaskService.UPLOAD_TASK_TAG flex_time=4000 task_type=0 retry_strategy={"maximum_backoff_seconds":{"3600":0},"initial_backoff_seconds":{"30":0},"retry_policy":{"0":0}}
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: pending_ops.tag, pending_ops.target_class, pending_ops.target_package, pending_ops.user_id (code 2067)
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: #################################################################
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: Error Code : 2067 (SQLITE_CONSTRAINT_UNIQUE)
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: Caused By : Abort due to constraint violation.
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: (UNIQUE constraint failed: pending_ops.tag, pending_ops.target_class, pending_ops.target_package, pending_ops.user_id (code 2067))
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: #################################################################
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:953)
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:788)
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:86)
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1904)
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1771)
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: at aqui.a(:[email protected]@20.24.14 (040408-319035315):175)
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: at aqtk.a(:[email protected]@20.24.14 (040408-319035315):182)
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: at aqtk.a(:[email protected]@20.24.14 (040408-319035315):23)
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: at aqtk.a(:[email protected]@20.24.14 (040408-319035315):177)
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: at aqpu.run(:[email protected]@20.24.14 (040408-319035315):9)
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: at soy.b(:[email protected][email protected] (040408-319035315):12)
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: at soy.run(:[email protected]@20.24.14 (040408-319035315):7)
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: at sux.run(:[email protected]@20.24.14 (040408-319035315):0)
07-19 22:35:22.659 4569 5388 E SQLiteDatabase: at java.lang.Thread.run(Thread.java:764)
07-19 22:35:22.660 8740 8740 I GameTools: SCPMHelper : load from saved.
07-19 22:35:22.661 8740 8740 I GameTools: GameToolsApplication : BootCompleteReceiver enabled.
07-19 22:35:22.662 3653 10860 I SamsungAlarmManager: setLocked to kernel - T:2 / 20200719T223718, SetElapsed=19457296, nowELAPSED=19341276
07-19 22:35:22.662 3653 10860 D SamsungAlarmManager: setExact Intent (T:2/F:0/AC:false) 20200719T223532 - CU:10024/CP:4569
07-19 22:35:22.663 3653 10860 I SamsungAlarmManager: setLocked to kernel - T:2 / 20200719T223532, SetElapsed=19351257, nowELAPSED=19341276
07-19 22:35:22.663 8740 8740 I GameTools: GameToolsApplication : initNotificationChannels
07-19 22:35:22.665 8726 8726 I FirebaseInitProvider: FirebaseApp initialization successful
07-19 22:35:22.669 8740 8740 I GameTools: GameToolsApplication : touchScreenLockSecureRecovery
----------------------------
Searching for this on google doesn't really bring in anything helpful so I'm trying my luck with you guys even though it's a really long shot to have anyone with this same exact error and this same exact phone. Any thoughts?
The attached photo is what I see before the reboot, I was trying to enter the My files app and it froze there. It looks like a small graphical artifact but I don't know if it's a cause or the result of the freeze.
My next step at this point would be to back up whatever I can (how do I even backup the 2FA on authenticator apps? ...) and do a factory reset and see how that goes. A new phone really wasn't in the plans right now as the S7 was actually holding up great.
Btw, does google cloud backup/samsung cloud backup even backup anything from the apps?
UPDATE: one week later and after factory default + full reinstall rom via Odin (from sammobile) i still have the freezes&reboots.
It's actually way worse now, even though yesterday I got about one hour of intensive app installs and restores without one reboot (it did reboot 3 times in a row before this), today I actually didn't have a single full minute of phone usage... It just froze inside recovery module while going through some logs.
I assume it's something hardware at this point, most likely internal memory, is there any way to test this with some low level tool?
dany123i said:
UPDATE: one week later and after factory default + full reinstall rom via Odin (from sammobile) i still have the freezes&reboots.
It's actually way worse now, even though yesterday I got about one hour of intensive app installs and restores without one reboot (it did reboot 3 times in a row before this), today I actually didn't have a single full minute of phone usage... It just froze inside recovery module while going through some logs.
I assume it's something hardware at this point, most likely internal memory, is there any way to test this with some low level tool?
Click to expand...
Click to collapse
Your battery is dying. The issues will get worse and worse.
That would be weird as it happens even while plugged in charger. Also I did cpu/gpu benchmarks of >10 minutes on battery, no crash until I started changing apps or at the end when it showed the results, also I used the phone last night at under 30% battery in 4G+GPS navigation. This is why I think it's internal flash corruption, I can do intensive stuff if I'm lucky but I need to use one app at a time. Thanks for the suggestion though.
Right now I've reflashed the ROM and cancelled all cloud restore app requests, I just manually installed 10 apps that I really need and it seems to do acceptably fine for now (except camera, there's a 50% change of crashing after taking a photo, slow motion seems to do well for some reason :-s) until I get a good deal on a new phone. I still have some completely random reboots though (about 1h ago it froze in google keep while writing a note).
Omg, I have this issue in my g930f too. I bought this phone new, I rooted and everything was running normal until 18-24 hours passes(after rooting). Some applications starts giving crashes without any reason? Why this happening? I used A5 2015, j7 2016 and more Samsung phones and any of them didn't gave me issue.
Also, my phone's old battery was almost dead (closing at %10 charge and more) and I changed battery with newer one I don't have closing issues now.
I fixed app crashing and etc. issues with flashing custom rom. I'm on 9.0 Note FE rom and app crashing are gone...
(Sorry for my bad English)
I think we have different issues, my phone seems to be worse than yours. But I will try to root soon and install custom rom like you.
Good luck!
dany123i said:
I think we have different issues, my phone seems to be worse than yours. But I will try to root soon and install custom rom like you.
Good luck!
Click to expand...
Click to collapse
I think we have same issue man, today when I woke up I saw my phone was rebooted and asking for SIM Password, it was charging all night. then when I wanted to open messages app or Gallery app (Samsung apps) they giving same crashes with yours.. Memtrack failed and SQLite errors. I tried to open SMS Database file at "/data/user_de/0/com.android.providers.telephony/databases/mmssms.db" I can able to see the contents db file, So .db file wasn't corrupted.
There is the output of System's messages app crash.
https://imgur.com/a/08ERYBM
I'm downloading latest stock rom and I'll use it for 1-2 weeks for testing...
Update 10.08.20
I installed The Stock rom two days ago and now 15 minutes ago my phone rebooted it self while i'm watching video on youtube app.
then after rebooted I saw some app's data corrupted very bad :/
System started to give memtrack errors
Messages App's Database has been corrupted. I can't open messages app.
Android Account Manager's Database has been corrupted ("/data/system_ce/0/accounts_ce.db")
Look how badly google search app corrupted :/
https://imgur.com/a/jwE2v71
Memtrack errors
Code:
2020-08-10 16:37:56.853 3666-3704/? E/memtrack: Couldn't load memtrack module
2020-08-10 16:37:56.853 3666-3704/? W/android.os.Debug: failed to get memory consumption info: -1
2020-08-10 16:37:56.904 3666-3704/? E/memtrack: Couldn't load memtrack module
2020-08-10 16:37:56.904 3666-3704/? W/android.os.Debug: failed to get memory consumption info: -1
2020-08-10 16:37:56.944 3666-3704/? E/memtrack: Couldn't load memtrack module
2020-08-10 16:37:56.945 3666-3704/? W/android.os.Debug: failed to get memory consumption info: -1
and this's logcat output of messages app's crash;
Code:
2020-08-10 16:38:55.342 3666-4385/? E/SQLiteLog: (10) unixRead() /data/system_ce/0/accounts_ce.db fd (427) errno (5)
2020-08-10 16:38:55.343 3666-4385/? E/SQLiteLog: (266) statement aborts at 22: [SELECT key, value FROM ceDb.extras WHERE accounts_id=(select _id FROM accounts WHERE name=? AND type=?)] disk I/O error
2020-08-10 16:38:55.343 3666-4385/? E/SQLiteLog: (1) Force to rollback the active transaction caused by the special error (10), during 'SELECT key, value FROM ceDb.extras WHERE accounts_id=(select _id FROM accounts WHERE name=? AND type=?)'
2020-08-10 16:38:55.345 3666-4385/? E/SQLiteQuery: exception: disk I/O error (code 266)
#################################################################
Error Code : 266 (SQLITE_IOERR_READ)
Caused By : Disk I/O error occurred during 'read' operation.
(disk I/O error (code 266))
#################################################################; query: SELECT key, value FROM ceDb.extras WHERE accounts_id=(select _id FROM accounts WHERE name=? AND type=?)
2020-08-10 16:38:55.348 3666-4385/? E/AccountManagerService: Account Manager Crash
android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 266)
#################################################################
Error Code : 266 (SQLITE_IOERR_READ)
Caused By : Disk I/O error occurred during 'read' operation.
(disk I/O error (code 266))
#################################################################
at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(Native Method)
at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:1018)
at android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:836)
at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62)
at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:152)
at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:141)
at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:219)
at android.database.AbstractCursor.moveToNext(AbstractCursor.java:268)
at com.android.server.accounts.AccountsDb.findUserExtrasForAccount(AccountsDb.java:447)
at com.android.server.accounts.AccountManagerService.readUserDataInternal(AccountManagerService.java:6188)
at com.android.server.accounts.AccountManagerService.getUserData(AccountManagerService.java:1657)
at android.accounts.IAccountManager$Stub.onTransact(IAccountManager.java:76)
at com.android.server.accounts.AccountManagerService.onTransact(AccountManagerService.java:1094)
at android.os.Binder.execTransact(Binder.java:682)
Android Account Manager's error outputs:
Code:
2020-08-10 17:06:48.003 3666-3919/? E/SQLiteLog: (10) unixRead() /data/system_ce/0/accounts_ce.db fd (427) errno (5)
2020-08-10 17:06:48.004 3666-3919/? E/SQLiteLog: (266) statement aborts at 22: [SELECT key, value FROM ceDb.extras WHERE accounts_id=(select _id FROM accounts WHERE name=? AND type=?)] disk I/O error
2020-08-10 17:06:48.004 3666-3919/? E/SQLiteLog: (1) Force to rollback the active transaction caused by the special error (10), during 'SELECT key, value FROM ceDb.extras WHERE accounts_id=(select _id FROM accounts WHERE name=? AND type=?)'
2020-08-10 17:06:48.007 3666-3919/? E/SQLiteQuery: exception: disk I/O error (code 266)
#################################################################
Error Code : 266 (SQLITE_IOERR_READ)
Caused By : Disk I/O error occurred during 'read' operation.
(disk I/O error (code 266))
#################################################################; query: SELECT key, value FROM ceDb.extras WHERE accounts_id=(select _id FROM accounts WHERE name=? AND type=?)
2020-08-10 17:06:48.009 3666-3919/? E/AccountManagerService: Account Manager Crash
android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 266)
#################################################################
Error Code : 266 (SQLITE_IOERR_READ)
Caused By : Disk I/O error occurred during 'read' operation.
(disk I/O error (code 266))
#################################################################
at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(Native Method)
at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:1018)
at android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:836)
at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62)
at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:152)
at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:141)
at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:219)
at android.database.AbstractCursor.moveToNext(AbstractCursor.java:268)
at com.android.server.accounts.AccountsDb.findUserExtrasForAccount(AccountsDb.java:447)
at com.android.server.accounts.AccountManagerService.readUserDataInternal(AccountManagerService.java:6188)
at com.android.server.accounts.AccountManagerService.getUserData(AccountManagerService.java:1657)
at android.accounts.IAccountManager$Stub.onTransact(IAccountManager.java:76)
at com.android.server.accounts.AccountManagerService.onTransact(AccountManagerService.java:1094)
at android.os.Binder.execTransact(Binder.java:682)
2020-08-10 17:06:48.012 3666-3919/? E/JavaBinder: *** Uncaught remote exception! (Exceptions are not yet supported across processes.)
android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 266)
#################################################################
Error Code : 266 (SQLITE_IOERR_READ)
Caused By : Disk I/O error occurred during 'read' operation.
(disk I/O error (code 266))
#################################################################
at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(Native Method)
at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:1018)
at android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:836)
at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62)
at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:152)
at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:141)
at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:219)
at android.database.AbstractCursor.moveToNext(AbstractCursor.java:268)
at com.android.server.accounts.AccountsDb.findUserExtrasForAccount(AccountsDb.java:447)
at com.android.server.accounts.AccountManagerService.readUserDataInternal(AccountManagerService.java:6188)
at com.android.server.accounts.AccountManagerService.getUserData(AccountManagerService.java:1657)
at android.accounts.IAccountManager$Stub.onTransact(IAccountManager.java:76)
at com.android.server.accounts.AccountManagerService.onTransact(AccountManagerService.java:1094)
at android.os.Binder.execTransact(Binder.java:682)
2020-08-10 17:06:48.013 4585-5402/? W/GLSActivity: [GmsAccountAuthenticatorImpl] [B]Services not available! [/B]
I'm thinking this as a hardware problem.
The Blackview BV9800 Pro is a relatively rare device, and has no support from LineageOS or any other popular ROM project I can find. This is kind of a shame, because it's a pretty cool device - in particular, it has an integrated thermal camera, and is also just a nice ruggedized phone at a surprisingly low price. The bootloader is unlockable out of the box without any need for an unlock code or other nonsense from the vendor, which is also a big bonus.
Being a Project Treble-compatible device, it's possible to run unofficial GSI builds of LineageOS on it, such as these, which are replacement images to flash over /system. These work well with the majority of the BV9800 Pro's functions (wireless, visible-light cameras, sensors, etc.), but getting the thermal camera to work requires a little bit more work. I have done this successfully, so I wanted to share what I did in case anyone else finds themselves in the same situation.
I have only tested these procedures on a BV9800 Pro (EEA version), running LineageOS 16 (Android 9) from the link above. Other versions of Android may work, but I do not know whether they do or not, and decided to stay with Android 9, since this is what the vendor ships on the device. Your results may vary if you decide to try a newer version.
The factory MyFLIR app for the device can be found at this location in the stock ROM:
Code:
/system/app/myflir-bv2.3.6-release-signed/myflir-bv2.3.6-release-signed.apk
However, if you try to just install it like a normal app package under LineageOS, it crashes on startup without providing any useful information. The system logs reveal that it crashes because it's trying to communicate with a system service that manages the thermal camera, but this service isn't installed. Fortunately, you can install it by just copying a few files from the factory ROM over to the LineageOS system. The files in question are located at these paths in the factory ROM:
Code:
/system/bin/leptonServer
/system/etc/init/LeptonCameraServer.rc
/system/lib64/libleptoncamera.so
If you copy these files to the same paths in the LineageOS /system tree, then the Lepton camera server backend, which is required for the MyFLIR app to function, will be installed and configured to start at boot.
SELinux seems to prevent the app from connecting to the Lepton server on my device, so I had to disable it by running
Code:
setenforce 0
in a root shell on the device. I didn't install it as a system app, though, which could be part of the problem. I don't know much about how SELinux actually works, but I feel comfortable enough disabling it. If you don't want to disable it, you can probably find information about how to make it allow the FLIR app to work, but I'm afraid I can't be of much help there.
You can find a copy of the stock BV9800 Pro ROM here on the Blackview forum.
If you want to root the stock ROM to allow you to inspect /system, this thread explains how. If you prefer, you can instead extract the ROM zip archive on a computer, decompress the included system.img with simg2img, and mount it to inspect the contents directly, which is what I did. Modifying /system on a running device can be difficult these days, so it will probably work best to mount up the GSI image the same way and copy the files into it, rather than try to edit it in-place on a running device.
I hope this information helps. The thermal camera is one of the most important (and expensive) features of the BV9800 Pro, and getting it working was pretty much the deciding factor for me as to whether I would keep the (kind of bad) factory ROM, or get to enjoy all the perks of LineageOS. I'm not really knowledgeable enough to write a complete and trustworthy guide to installing LineageOS, though, so if you're just getting started, you'll want to find a more detailed tutorial about how installing custom ROMs (especially GSI/Treble builds) works.
That's a cool rugged phone. Stock it's running on Pie... personally I leave it be and optimize it as best I could to get maximum battery life.
I was looking at these... FLIR, hell yes.
I was following your guide, I'm using my Blackview 9800pro without GApps (but with MicroG 0.2.18.204714) on LineageOS 17.1-20210321. When opening the MyFlir camera or gallery app, it asks me for all the relevant permissions on the first start and then promptly crashes every time I open it. I tried both as a system and a regular app, with and without selinux. In the error below, it complains about not finding the right function in libvndksupport.so. This library is much smaller in LineageOS than it is shipped in the Stock ROM from Blackview. Replacing the LineageOS shared object file with the one from Blackview causes my phone not to boot. Is there something I am missing that causes my instance of the app (I tried both 2.3.6 and 2.3.8) to crash?
Code:
04-28 00:27:34.047 1383 5788 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.flir.tiger/com.flir.monarch.ui.MainActivity bnds=[27,996][232,1321]} from uid 10121
04-28 00:27:34.057 783 804 I [email protected]: powerHintAsync hint:8, data:1
04-28 00:27:34.061 783 803 I libPowerHal: 8: legacy set freq: 1989000 -1 2106000 -1
04-28 00:27:34.076 1383 1420 E system_server: Invalid ID 0x00000000.
04-28 00:27:34.077 1383 1419 W ActivityManager: Stopping service due to app idle: u0a216 -10s135ms com.flir.tiger/com.flir.monarch.media.MediaScanner
04-28 00:27:34.084 1008 1008 D Zygote : Forked child process 7648
04-28 00:27:34.087 1383 1426 I ActivityManager: Start proc 7648:com.flir.tiger/u0a216 for pre-top-activity {com.flir.tiger/com.flir.monarch.ui.MainActivity}
04-28 00:27:34.147 1579 1579 D ImageWallpaper: wallpaper visibility changes to: false
04-28 00:27:34.161 762 864 I hwcomposer: [DEV] 1024 0 0 0
04-28 00:27:34.162 762 864 I hwcomposer: [DEV] 0 741 0 0
04-28 00:27:34.162 762 864 I hwcomposer: [DEV] 0 0 470 0
04-28 00:27:34.162 762 864 I hwcomposer: [DEV] 0 0 0 1024
04-28 00:27:34.173 7648 7648 D FirebaseApp: com.google.firebase.auth.FirebaseAuth is not linked. Skipping initialization.
04-28 00:27:34.174 7648 7648 D FirebaseApp: com.google.firebase.crash.FirebaseCrash is not linked. Skipping initialization.
04-28 00:27:34.174 7648 7648 I FirebaseInitProvider: FirebaseApp initialization successful
04-28 00:27:34.177 762 864 I hwcomposer: [DEV] [DEV] (Send identity matrix)
04-28 00:27:34.187 7648 7673 I FA : App measurement is starting up, version: 15300
04-28 00:27:34.187 7648 7673 I FA : To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
04-28 00:27:34.187 7648 7673 I FA : To enable faster debug mode event logging run:
04-28 00:27:34.187 7648 7673 I FA : adb shell setprop debug.firebase.analytics.app com.flir.tiger
04-28 00:27:34.196 762 864 I hwcomposer: [DEV] 1024 0 0 0
04-28 00:27:34.196 762 864 I hwcomposer: [DEV] 0 741 0 0
04-28 00:27:34.196 762 864 I hwcomposer: [DEV] 0 0 470 0
04-28 00:27:34.196 762 864 I hwcomposer: [DEV] 0 0 0 1024
04-28 00:27:34.200 7648 7648 I CrashlyticsCore: Initializing Crashlytics 2.6.8.32
04-28 00:27:34.207 7648 7686 W ContextImpl: Failed to ensure /data/user/0/com.google.android.gms/shared_prefs: mkdir failed: EACCES (Permission denied)
04-28 00:27:34.208 7648 7648 I CrashlyticsInitProvider: CrashlyticsInitProvider initialization successful
04-28 00:27:34.212 762 864 I hwcomposer: [DEV] [DEV] (Send identity matrix)
04-28 00:27:34.220 2428 2428 D GmsMeasureBrokerSvc: onBind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
04-28 00:27:34.222 3179 3179 D GmsGcmRegister: onBind: Intent { act=com.google.android.c2dm.intent.REGISTER pkg=com.google.android.gms }
04-28 00:27:34.223 1024 1024 I netd : firewallSetUidRule(2, 10161, 1) <2.63ms>
04-28 00:27:34.227 1024 1024 I netd : firewallSetUidRule(2, 10160, 1) <1.74ms>
04-28 00:27:34.230 1024 1024 I netd : firewallSetUidRule(2, 10157, 1) <2.14ms>
04-28 00:27:34.233 1024 1024 I netd : firewallSetUidRule(2, 10151, 1) <1.85ms>
04-28 00:27:34.236 7648 7648 I ashmem : memfd: device VNDK version (28) is < Q so using ashmem.
04-28 00:27:34.277 7648 7648 D AndroidRuntime: Shutting down VM
04-28 00:27:34.277 7648 7648 E AndroidRuntime: FATAL EXCEPTION: main
04-28 00:27:34.277 7648 7648 E AndroidRuntime: Process: com.flir.tiger, PID: 7648
04-28 00:27:34.277 7648 7648 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "android_get_exported_namespace" referenced by "/data/app/com.flir.tiger-EcVVz9vk2XWvVymOtKJxOQ==/lib/arm64/libvndksupport.so"...
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:1071)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at java.lang.Runtime.loadLibrary0(Runtime.java:1007)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1667)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at com.flir.flirone.sdk.FlirOne.<clinit>(FlirOne.java:59)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at com.flir.flirone.sdk.FlirOne.registerDeviceCallback(FlirOne.java:341)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at com.flir.monarch.app.ForegroundApplication.onActivityStarted(ForegroundApplication.java:88)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at android.app.Application.dispatchActivityStarted(Application.java:406)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at android.app.Activity.dispatchActivityStarted(Activity.java:1238)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at android.app.Activity.onStart(Activity.java:1723)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:614)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:178)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at com.flir.monarch.ui.MainActivity.onStart(MainActivity.java:79)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1432)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at android.app.Activity.performStart(Activity.java:7847)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3294)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:107)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7356)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
04-28 00:27:34.277 7648 7648 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)
04-28 00:27:35.334 1383 5501 D AlarmManagerService: Kernel timezone updated to -120 minutes west of GMT
04-28 00:27:35.348 1383 6143 D AlarmManagerService: Kernel timezone updated to -120 minutes west of GMT
04-28 00:27:35.709 1090 1371 I 1090 1371 [sunwave-hal] : (711) 'healthMonitoringThread' enter.
04-28 00:27:35.710 1090 1371 I 1090 1371 [sunwave-client] : (90) ---8<---- TA LOG BEGINS ---------
04-28 00:27:35.710 1090 1371 I 1090 1371 [sunwave-ta-core] : (2869) 'sf_get_device_state' state:0008
04-28 00:27:35.710 1090 1371 I 1090 1371 [sunwave-client] : (107) --------- TA LOG FINISH ---->8---
Thanks for the info for the flir Camera,
It works fine with lineage OS 16 !
I want to add the info I got while doing it:
It does not work with all version of Andy Custom Lineage OS: I could not make it works with this one: lineage-16.0-20191017-UNOFFICIAL-treble_arm64_bvN.img.xz the lepton server had a seg fault.
I try with a lineage OS 18 , the lepton server worked but the application failed, I will look into it one day... maybe
I root my phone with magisk
I used a script to bypass SElinux and start the server when i want ( because i don't know if it wise to always have SElinux in permissive mode)
tylab said:
Thanks for the info for the flir Camera,
It works fine with lineage OS 16 !
I want to add the info I got while doing it:
It does not work with all version of Andy Custom Lineage OS: I could not make it works with this one: lineage-16.0-20191017-UNOFFICIAL-treble_arm64_bvN.img.xz the lepton server had a seg fault.
I try with a lineage OS 18 , the lepton server worked but the application failed, I will look into it one day... maybe
I root my phone with magisk
I used a script to bypass SElinux and start the server when i want ( because i don't know if it wise to always have SElinux in permissive mode)
Click to expand...
Click to collapse
thank u for the additional info!,so which version of lineage os 16 worked for u? iam on lineage-16.0-20191017-UNOFFICIAL-treble_arm64_bvN.img.xz and tried the author's steps but didn't work for me, also it'd be nice if u share with us the script u use to bybass selinux,thanks.
I want to report back some of my own success in regards to this thread. I have the camera working, but it's not a perfect solution and was wondering if you guys could assist me in checking what I could have possibly missed. I'm running it on the most current Lineage OS 18.1; I've compiled a version using the Treble ROM lineage-18.1-20210512-UNOFFICIAL-treble_arm64_bvS with Magisk as root (I also added MindTheGapps into it after some workarounds with the mounts, and had to register my device as an "unsupported device").
I followed the OP's guide to the T, and still couldn't get the app to even open. The logs revealed it was trying to call leptonServer, nulling out after five tries, and then crashing. Narrowed this down to being an issue with the /bin/leptonServer file itself being set as -rwx-r--r--, and changing it to -rwxr-x-r-x got the app to boot up. The only problem is, for the camera to actually start, I have to open a terminal session and start leptonServer from there, and I assume this has something to do with the SELinux policies in place. I've fought half the battle and got a version of sepolicy-inject set up to run (using the following policy: allow untrusted_app_27 default_android_service:service_manager { find }; (sepolicy-inject -s untrusted_app_27 -t default_android_service -c service_manager -p find (if this doesn't work for you, try doing logcat ServiceManager:V SELinux:V *:S to find the relevant SELinux policies that you need to apply, and follow the formulas))), but I figure this is still erroring out somewhere, since, after a restart, the only way I can get it working again is to go and disable SELinux using setenforce to 0 and then starting the server again using some sort of terminal. I also installed the MyFlir app as a system app.
I believe that part of the issue might be that I haven't properly added the SELinux policy, but I'm not entirely positive how I would go about testing this (I've more or less just gotten into the ROM building scene last week, but feel I have somewhat of an edge being a software developer for a living). I think if I boot into recovery I can grab the sepolicy file, but I'm not sure what else to do with it at this point.
The error I get when it's not running, aside from the PID is pretty consistent too:
05-31 19:19:06.814 372 372 E SELinux : avc: denied { find } for pid=20308 uid=10195 name=LeptonCameraService scontext=u:r:untrusted_app_27:s0:c195,c256,c512,c768 tcontext=ubject_r:default_android_service:s0 tclass=service_manager permissive=0
Hopefully, this helps someone to find the right answers before I can; I know I'll keep tinkering with it until I find the solution (I'm also attempting to overcome the CTSProfile/Basic failure in Magisk, which I plan to make a guide if I can find an answer).
I get the same error as @&00&V5yt$r2$E!n1IDUiJ9bF on Lineage18.1 - treble_arm64_bvS-userdebug
04-28 00:27:34.277 7648 7648 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "android_get_exported_namespace" referenced by "/data/app/com.flir.tiger-EcVVz9vk2XWvVymOtKJxOQ==/lib/arm64/libvndksupport.so"...
My leptonServer is working correctly and service runs from the start so it I feel this is related to the /system/app/myflir-bv2.3.6-release-signed.
Are you guys using a different version of the app?
Flir said:
I get the same error as @&00&V5yt$r2$E!n1IDUiJ9bF on Lineage18.1 - treble_arm64_bvS-userdebug
04-28 00:27:34.277 7648 7648 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "android_get_exported_namespace" referenced by "/data/app/com.flir.tiger-EcVVz9vk2XWvVymOtKJxOQ==/lib/arm64/libvndksupport.so"...
My leptonServer is working correctly and service runs from the start so it I feel this is related to the /system/app/myflir-bv2.3.6-release-signed.
Are you guys using a different version of the app?
Click to expand...
Click to collapse
I also used myflir-bv2.3.6-release-signed, pulled straight from the currently available 9.0 ROM.
For that specifically, if you are looking at the most recent ROM build available from Blackview, in the directory /system/system/app/myflir-bv2.3.6-release-signed, there is both the APK and a lib folder. I'd copy the lib folder over to your phone in that same directory; I think you're missing the dependencies from there.
If you already have those libaries in there, try the read/write settings on the folder too.
Hi bv9800 pro customers! Anyone tryed the magisk module in the thread https://forum.xda-developers.com/t/blackview-bv9900pro-magisk-modules.4331187/
to get flir worked on linage?
ilich79 said:
Hi bv9800 pro customers! Anyone tryed the magisk module in the thread https://forum.xda-developers.com/t/blackview-bv9900pro-magisk-modules.4331187/
to get flir worked on linage?
Click to expand...
Click to collapse
Hi ilich79
I tryed the magisk module for BV9900pro.
I have installed it manualy to improve my understanding.
First, selinux block as always :
E/SELinux ( 338): avc: denied { find } for pid=18411 uid=10175 name=LeptonCameraService scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
After enforce selinux and relanch the leptonServer.
Application launch completly but the camera send only the first image and block after that
So, i replace the leptonServer by the old one and retry.
Finally it works fully.
I someone know how to correctly set the selinux policy for this app ? I will be graceful
May be this can help?
[MODULE] SELinux Mode Inverter (Advanced SELinux Mode Changer)
It Is Now A Part Of The Main Module Of MultiFunctions & Its Thread https://forum.xda-developers.com/apps/magisk/module-multifunctions-bootloop-t3933386. Introduction: Simple Module To Invert The Default Android SELinux Mode During Startup ([From...
forum.xda-developers.com
Flir said:
I get the same error as @&00&V5yt$r2$E!n1IDUiJ9bF on Lineage18.1 - treble_arm64_bvS-userdebug
04-28 00:27:34.277 7648 7648 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "android_get_exported_namespace" referenced by "/data/app/com.flir.tiger-EcVVz9vk2XWvVymOtKJxOQ==/lib/arm64/libvndksupport.so"...
My leptonServer is working correctly and service runs from the start so it I feel this is related to the /system/app/myflir-bv2.3.6-release-signed.
Are you guys using a different version of the app?
Click to expand...
Click to collapse
I get the same error, @QuentinX5 : Did you use a different version? Would be nice to have a Lineage upgrade.
Regarding the problem with the MyFlir camera app: I had the same problem (unable to read camera files). I looked everywhere. I mean, everywhere trying to find an answer. There's also a video on youtube with comments suggesting flashing the APD.BIN file (I did not try). I even translated different language websites. Finally, I contacted the BV customer support and their reply was the classic (clear the app cache), which doesn't work at all and not just for me. I tried to get the APK file from the image and installing it which didn't work either.
Here's the simple magic solution that kept me trying for a week, and no one wrote it anywhere:
There's a folder named (com.flir.tiger) inside the Android folder in the phone storage with the contents:
com.flir.tiger\files\iron
com.flir.tiger\files\CameraFiles\system\calib.rsc
com.flir.tiger\files\CameraFiles\system\maps\ds_we_ap_fi_le_LCFMap.fff
Just copy the folder from another phone and paste it on your phone, and that's it!
thelaseman said:
Regarding the problem with the MyFlir camera app: I had the same problem (unable to read camera files). I looked everywhere. I mean, everywhere trying to find an answer. There's also a video on youtube with comments suggesting flashing the APD.BIN file (I did not try). I even translated different language websites. Finally, I contacted the BV customer support and their reply was the classic (clear the app cache), which doesn't work at all and not just for me. I tried to get the APK file from the image and installing it which didn't work either.
Here's the simple magic solution that kept me trying for a week, and no one wrote it anywhere:
There's a folder named (com.flir.tiger) inside the Android folder in the phone storage with the contents:
com.flir.tiger\files\iron
com.flir.tiger\files\CameraFiles\system\calib.rsc
com.flir.tiger\files\CameraFiles\system\maps\ds_we_ap_fi_le_LCFMap.fff
Just copy the folder from another phone and paste it on your phone, and that's it!
Click to expand...
Click to collapse
Hi do you think your solution works for all lineageos releases? If I change the stock rom I was thinking on putting release 19.1
thelaseman said:
Regarding the problem with the MyFlir camera app: I had the same problem (unable to read camera files). I looked everywhere. I mean, everywhere trying to find an answer. There's also a video on youtube with comments suggesting flashing the APD.BIN file (I did not try). I even translated different language websites. Finally, I contacted the BV customer support and their reply was the classic (clear the app cache), which doesn't work at all and not just for me. I tried to get the APK file from the image and installing it which didn't work either.
Here's the simple magic solution that kept me trying for a week, and no one wrote it anywhere:
There's a folder named (com.flir.tiger) inside the Android folder in the phone storage with the contents:
com.flir.tiger\files\iron
com.flir.tiger\files\CameraFiles\system\calib.rsc
com.flir.tiger\files\CameraFiles\system\maps\ds_we_ap_fi_le_LCFMap.fff
Just copy the folder from another phone and paste it on your phone, and that's it!
Click to expand...
Click to collapse
Hi, I'm trying to get the flir camera working on lineage 19.1 can @thelaseman gime me the file you write about? beacause I don't have another phone to copy from.
Thanks
Max
max74926 said:
Hi, I'm trying to get the flir camera working on lineage 19.1 can @thelaseman gime me the file you write about? beacause I don't have another phone to copy from.
Thanks
Max
Click to expand...
Click to collapse
If you are still looking for it I might be able to extract these files for you.
@thelaseman @QuentinX5
Is anyone still using a BV9800 Pro with a Lineage ROM? What version are you on, what specific build did you install, did you encounter any specific issues, were they fixable and how?
Not asking for a full guide (wouldn't mind of course ) but before I start messing with what is currently my daily driver I'd like to know if anyone else was successful with a certain version. Particularly interested if any newer versions have also ended up working with the FLIR-camera.
Hi @dj__jg,
I use the attached files for lineage 19.1 GSI (https://forum.xda-developers.com/t/gsi-12-lineageos-19-x-gsi-a64b-64b.4358041/).
My camera calib is wrong (the thermal camera is upside down.) so I don't push the calib file here, if you have a good one, i'm interested.
I don't have fixed the selinux error for the moment, so just disable it went you launch the '/system/bin/leptonServer'
I missnamed the attached file, it's for BV9800 pro
I suddenly feel very stupid, I just realised I've gotten confused about my phones model number
I actually have a Blackview ninethousandninehundred pro, not 9800. I either had a brainfart or made a typo as I was searching if anyone had managed to use a recent Lineage ROM on it and accidentally ended up on this thread and didn't notice.
Luckily I didn't upload my calib file etc here, or someone could have gotten very confused. I think I will try to run a GSI build at some point, but when I have some more spare time/don't need this phone every day. The information about the com.flir.tiger folder is still very handy because it is the same on my model, I hope the same tactics will work to get the FLIR working in a GSI build.
(Wrote out the model number in text so other people googling the model number won't end up confused on this thread without even making a typo)
It's my bad i missnamed my file, it's 9800 pro not 9800 (who don't have thermal camera)