JunsunSleepConfigurator

Search This thread

seth_space

Senior Member
Mar 14, 2010
85
33
Samsung Galaxy A54 5G
Tried the configurator on my junsun 8GB / 256GB but it wanted to overwrite a file because there is not enough space left. I seem to remember a posting about this question but not sure.
There is lots of space available and I do not know which file to delete.
Any tips?
 

TorstenH

Senior Member
Feb 20, 2021
2,733
1,009
t.me
Realme GT 2 Pro
Tried the configurator on my junsun 8GB / 256GB but it wanted to overwrite a file because there is not enough space left. I seem to remember a posting about this question but not sure.
There is lots of space available and I do not know which file to delete.
Any tips?
I think you have a Junsun V1 Pro with 8667 CPU.
On these devices the /vendor partition is filled by 100% so the app asks you to delete one of the existing system apps to free up space.

JunsunSleepConfigurator is just a editor for an existing config file but on 8667 units editing this files seems not to make a difference. Nevertheless you can give it at try and delete an app you're not using or you can re-install via Google PlayStore.

But don't blame me or the app due to the fact the head unit is not considering its own config files. Sure, your feedback is always welcome.
 

Chris100115

Member
Jan 10, 2015
21
2
Is it possible to know if an app prevents the headunit from sleeping, via a log or an adb command?
If I turn off the car even for just 5 minutes, time to get petrol, when I turn it back on I have to wait for the entire operating system to restart.
 

TorstenH

Senior Member
Feb 20, 2021
2,733
1,009
t.me
Realme GT 2 Pro
Is it possible to know if an app prevents the headunit from sleeping, via a log or an adb command?
If I turn off the car even for just 5 minutes, time to get petrol, when I turn it back on I have to wait for the entire operating system to restart.
I know that some Mtk8257 units had this issue with an old firmware.
Or does this problem occurs since you added apps to the white list via JSC?
 

Chris100115

Member
Jan 10, 2015
21
2
I know that some Mtk8257 units had this issue with an old firmware.
Or does this problem occurs since you added apps to the white list via JSC?
The problem occurs regardless of whether I whitelist the apps or not.
The apps I have installed are: Torque, Automate, Vradio, Solid Explorer, Agama and your precious Switcher app. But even whitelisting them seems to make no difference.

Unfortunately with the Chinese who sold me the car radio, although he is very helpful, he simply tells me to activate the sleep mode in the settings, as if I hadn't already done it.

This is the firmware version of the unit I have:
PXL_20230530_134519017-min (1).jpg
 

TorstenH

Senior Member
Feb 20, 2021
2,733
1,009
t.me
Realme GT 2 Pro
The problem occurs regardless of whether I whitelist the apps or not.
The apps I have installed are: Torque, Automate, Vradio, Solid Explorer, Agama and your precious Switcher app. But even whitelisting them seems to make no difference.

Unfortunately with the Chinese who sold me the car radio, although he is very helpful, he simply tells me to activate the sleep mode in the settings, as if I hadn't already done it.

This is the firmware version of the unit I have:
View attachment 5922605
I would perform a firmware update and re-install the apps one by one...
 

Chris100115

Member
Jan 10, 2015
21
2
I would perform a firmware update and re-install the apps one by one...
I updated to v81_20230427 version and i didn't install any apps, i just logged into play store to update already installed apps.
Now it seems that the car radio does not turn off immediately after 2 minutes, but if I try to turn it on again after 2-3 hours it restarts as if it had gone into shutdown.
Do you happen to know if there is a time after which the car radio goes out of sleep?
I have to do further tests to understand how long it takes to go from sleep to shutdown.
 

t33t

Member
Apr 24, 2023
40
8
Is it possible to know if an app prevents the headunit from sleeping, via a log or an adb command?
If I turn off the car even for just 5 minutes, time to get petrol, when I turn it back on I have to wait for the entire operating system to restart.
I have same issue after yesterday. One change was i installed same software. Maybe i should try to uninstall it.
 

TorstenH

Senior Member
Feb 20, 2021
2,733
1,009
t.me
Realme GT 2 Pro
I updated to v81_20230427 version and i didn't install any apps, i just logged into play store to update already installed apps.
Now it seems that the car radio does not turn off immediately after 2 minutes, but if I try to turn it on again after 2-3 hours it restarts as if it had gone into shutdown.
Do you happen to know if there is a time after which the car radio goes out of sleep?
I have to do further tests to understand how long it takes to go from sleep to shutdown.
You could try to use logcat reader from PlayStore to figure out what's happening before shutdown.
 

TorstenH

Senior Member
Feb 20, 2021
2,733
1,009
t.me
Realme GT 2 Pro
Unfortunately, when the car radio turns on again, the logcat of the previous session is deleted :(
It should be possible to stream logcat data to a file. E.g. this command will continously write the log to a file in Download directory:

Code:
logcat -f /sdvard/Download/logcat.txt

Sure, the running process may get directly killed by starting sleep or may be an additional reason the head unit shuts down instead of staying in sleep mode.

But may be worth a try...
 

TorstenH

Senior Member
Feb 20, 2021
2,733
1,009
t.me
Realme GT 2 Pro
Unfortunately, when the car radio turns on again, the logcat of the previous session is deleted :(
But please check if you can find sleep time setting in general settings. This setting was available on early firmwares - maybe the option is back....


- - - just for my reference - - -

Found string set_general_idletime_sleep_hours in activity com.ts.set. SettingGerenalActivity
 

t33t

Member
Apr 24, 2023
40
8
But please check if you can find sleep time setting in general settings. This setting was available on early firmwares - maybe the option is back....


- - - just for my reference - - -

Found string set_general_idletime_sleep_hours in activity com.ts.set. SettingGerenalActivity
For My V1 pro 4/64 v81 has only sleep on or off. After restoring settings and removing sleep app, head unit sleep works again.
 
  • Like
Reactions: TorstenH

Chris100115

Member
Jan 10, 2015
21
2
But please check if you can find sleep time setting in general settings. This setting was available on early firmwares - maybe the option is back....


- - - just for my reference - - -

Found string set_general_idletime_sleep_hours in activity com.ts.set. SettingGerenalActivity
Unfortunately in the settings I only have this entry:

PXL_20230605_182022788-min.jpg

It should be possible to stream logcat data to a file. E.g. this command will continously write the log to a file in Download directory:

Code:
logcat -f /sdvard/Download/logcat.txt

Sure, the running process may get directly killed by starting sleep or may be an additional reason the head unit shuts down instead of staying in sleep mode.

But may be worth a try...
Do I need to connect to an adb shell via usb to run this command?
 

Chris100115

Member
Jan 10, 2015
21
2
I did some tests, unfortunately the logcat stops as soon as I turn off the ignition of the machine so it is not possible to know the exact moment in which it switches from sleep to shutdown.
Apart from the disturbing fact that it seems to send your gps position to Chinese servers via MQTT, there do not seem to be any particular messages except these which are repeated several times:
06-09 14:21:31.528 422 422 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-09 14:21:31.528 422 422 I power : release_wake_lock id='ccci_fsd'
06-09 14:21:31.529 422 422 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-09 14:21:31.529 422 422 I power : release_wake_lock id='ccci_fsd'
06-09 14:21:31.529 422 422 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-09 14:21:31.530 422 422 I power : release_wake_lock id='ccci_fsd'
06-09 14:21:31.530 422 422 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-09 14:21:31.530 422 422 I power : release_wake_lock id='ccci_fsd'

Other parts that I think could be interesting are these (I prefer not to publish the logcat because it is full of sensitive information, if you want I can send it to you in pm):
(I filtered only PID 422 and 1699)
1970-06-09 14:21:30.895 1699 1699 I MainUI: **************Power off ********************nPowerMode==2
1970-06-09 14:21:30.895 1699 1699 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1006 android.content.ContextWrapper.sendBroadcast:444 com.ts.main.common.MainSet.SendIntent:1435 com.ts.main.common.MainUI.DealTask:1642 com.ts.MainUI.MainService$MainRunnable.run:22
1970-06-09 14:21:30.896 1699 5637 D MainUI: remove 7 task= com.dp.logcatapp
1970-06-09 14:21:30.905 1699 1699 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1006 android.content.ContextWrapper.sendBroadcast:444 com.ts.main.txz.AmapAuto.QuiteNavi:1513 com.ts.main.common.MainUI.DealTask:1643 com.ts.MainUI.MainService$MainRunnable.run:22
1970-06-09 14:21:30.908 1699 5637 D MainUI: remove 6 task= com.android.htmlviewer
1970-06-09 14:21:30.913 1699 1699 W MainUI: ######## Acc Off !
1970-06-09 14:21:30.913 1699 1699 D AmapAuto: lifecycle change ==com.estrongs.android.pop --------> onPause
1970-06-09 14:21:30.927 1699 5637 D MainUI: remove 3 task= org.prowl.torque
1970-06-09 14:21:30.931 1699 1699 D AmapAuto: lifecycle change ==altergames.carlauncher --------> onStart
1970-06-09 14:21:30.939 1699 5637 D MainUI: remove 1 task= altergames.carlauncher
1970-06-09 14:21:30.945 1699 1699 D MainUI: Sleep
1970-06-09 14:21:30.941 1699 1699 I com.ts.MainUI: type=1400 audit(0.0:1400): avc: denied { ioctl } for path="/dev/mtkgpio" dev="tmpfs" ino=11389 ioctlcmd=0x702 scontext=u:r:system_app:s0 tcontext=u:eek:bject_r:device:s0 tclass=chr_file permissive=1
1970-06-09 14:21:30.954 1699 1699 D MainUI: ## Acc Off = 20 !GetMcuState()==2time = 9
1970-06-09 14:21:30.955 1699 1699 D nyw: mfgAvmShow =false
1970-06-09 14:21:30.956 1699 1699 D AmapAuto: lifecycle change ==altergames.carlauncher --------> onResume
1970-06-09 14:21:30.957 1699 1699 I AmapAuto: net.easyconn===true
1970-06-09 14:21:30.968 1699 5637 D MainUI: remove 0 task= com.estrongs.android.pop
1970-06-09 14:21:30.989 1699 1699 D MainUI: ## Acc Off = 21 !GetMcuState()==2time = 43
1970-06-09 14:21:31.020 1699 1699 D MainUI: ## Acc Off = 22 !GetMcuState()==2time = 74
1970-06-09 14:21:31.033 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.033 422 422 W ccci_fsd(1): O: X://NA77_005, flag 0x700, ret 1
1970-06-09 14:21:31.033 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.036 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.036 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.039 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.039 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.041 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.041 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.047 1699 1699 I BackCarService: mPowerOnOffReceiver, action:autochips.intent.action.PREQB_POWEROFF
1970-06-09 14:21:31.047 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.047 422 422 W ccci_fsd(1): O: X://NA77_005, flag 0x10400, ret 1
1970-06-09 14:21:31.047 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.049 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.049 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.050 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.050 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.052 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.055 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.055 1699 1699 D MainUI: ## Acc Off = 23 !GetMcuState()==2time = 109
1970-06-09 14:21:31.055 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.056 422 422 W ccci_fsd(1): O: Y://NA77_005, flag 0x10400, ret 1
1970-06-09 14:21:31.056 1699 1699 I MainUI: ACTION_PREQB_OFF
1970-06-09 14:21:31.056 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.056 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.056 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.057 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.057 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.058 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.062 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.073 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.073 422 422 W ccci_fsd(1): O: X://NA77_005, flag 0x21010400, ret 1
1970-06-09 14:21:31.073 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.074 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.074 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.075 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.076 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.079 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.079 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.079 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.079 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.084 1699 1699 D AmapAuto: lifecycle change ==altergames.carlauncher --------> onPostResume
1970-06-09 14:21:31.086 1699 1699 D MainUI: ## Acc Off = 24 !GetMcuState()==2time = 140
1970-06-09 14:21:31.096 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.105 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.106 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.106 422 422 W ccci_fsd(1): O: Y://NA77_005, flag 0x21010400, ret 1
1970-06-09 14:21:31.106 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.107 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.107 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.110 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.110 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.112 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.112 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.113 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.113 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.115 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.116 1699 1699 D MainUI: ## Acc Off = 25 !GetMcuState()==2time = 170
1970-06-09 14:21:31.117 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.129 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.130 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.130 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.130 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.131 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.131 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.131 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.132 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.132 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.135 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.136 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.136 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.139 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.139 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.139 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.139 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.140 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.140 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.140 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.143 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.144 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.144 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.144 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.144 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.145 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.145 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.146 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.147 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.147 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.147 1699 1699 D MainUI: ## Acc Off = 26 !GetMcuState()==2time = 201
1970-06-09 14:21:31.147 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.148 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.149 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.150 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.150 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.151 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.151 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.152 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.153 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.153 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.154 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.154 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.155 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.156 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.156 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.160 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.160 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.160 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.161 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.161 1699 1699 D AmapAuto: lifecycle change ==altergames.carlauncher --------> onPause
1970-06-09 14:21:31.162 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.162 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.163 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.166 1699 1699 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@6197f9a
1970-06-09 14:21:31.166 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.167 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.168 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.168 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.168 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.169 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.169 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.172 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.173 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.173 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.173 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.173 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.173 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.173 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.175 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.176 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.176 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.176 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.176 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.177 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.177 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.178 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.178 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.179 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.180 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.180 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.181 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.181 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.181 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.182 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.182 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.183 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.183 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.183 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.184 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.185 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.185 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.186 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.186 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.186 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.186 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.187 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.187 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.188 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.189 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.190 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.190 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.191 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.191 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.191 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.191 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.192 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.193 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.193 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.193 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.195 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.205 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.206 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.206 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.206 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.206 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.207 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.207 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.207 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.208 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.208 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.214 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.301 1699 1699 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1006 android.content.ContextWrapper.sendBroadcast:444 android.app.Activity.sendLifeCycleChangeBroadCast:906 android.app.Activity.onStart:1346 android.app.Instrumentation.callActivityOnStart:1391
1970-06-09 14:21:31.336 1699 1699 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1006 android.content.ContextWrapper.sendBroadcast:444 android.app.Activity.sendLifeCycleChangeBroadCast:906 android.app.Activity.onResume:1429 com.ts.HideActivity.onResume:24
1970-06-09 14:21:31.340 1699 1699 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1006 android.content.ContextWrapper.sendBroadcast:444 android.app.Activity.sendLifeCycleChangeBroadCast:906 android.app.Activity.onPostResume:1451 android.app.Activity.performResume:7420
1970-06-09 14:21:31.343 1699 1699 V PhoneWindow: DecorView setVisiblity: visibility = 4, Parent = null, this = DecorView@a6dcefd[]
1970-06-09 14:21:31.346 1699 1699 D ViewRootImpl[HideActivity]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
1970-06-09 14:21:31.400 1699 1699 V PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@c324cc0, this = DecorView@a6dcefd[HideActivity]
1970-06-09 14:21:31.401 1699 1699 D MainUI: ## Acc Off = 27 !GetMcuState()==2time = 455
1970-06-09 14:21:31.402 1699 1699 D AmapAuto: lifecycle change ==com.ts.MainUI --------> onStart
1970-06-09 14:21:31.450 1699 1699 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1006 android.content.ContextWrapper.sendBroadcast:444 android.app.Activity.sendLifeCycleChangeBroadCast:906 android.app.Activity.onPause:1819 android.app.Activity.performPause:7432
1970-06-09 14:21:31.528 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.528 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.529 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.529 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.529 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.530 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.530 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.530 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.534 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.540 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.546 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.546 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.548 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.548 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.549 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.549 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.551 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.551 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.552 422 422 I power: acquire_wake_lock lock=1 id='ccci_fsd'
1970-06-09 14:21:31.554 422 422 I power: release_wake_lock id='ccci_fsd'
1970-06-09 14:21:31.585 1699 1699 D nyw: mfgAvmShow =false
1970-06-09 14:21:31.585 1699 1699 D AmapAuto: lifecycle change ==com.ts.MainUI --------> onResume
1970-06-09 14:21:31.585 1699 1699 I AmapAuto: net.easyconn===true
1970-06-09 14:21:31.586 1699 1699 D AmapAuto: lifecycle change ==com.ts.MainUI --------> onPostResume
1970-06-09 14:21:31.604 1699 1699 D MainUI: ## Acc Off = 28 !GetMcuState()==2time = 658
1970-06-09 14:21:31.605 1699 1699 D AmapAuto: lifecycle change ==com.ts.MainUI --------> onPause
1970-06-09 14:21:31.635 1699 1699 D MainUI: ## Acc Off = 29 !GetMcuState()==2time = 689
 

TorstenH

Senior Member
Feb 20, 2021
2,733
1,009
t.me
Realme GT 2 Pro
I did some tests, unfortunately the logcat stops as soon as I turn off the ignition of the machine so it is not possible to know the exact moment in which it switches from sleep to shutdown.
Apart from the disturbing fact that it seems to send your gps position to Chinese servers via MQTT, there do not seem to be any particular messages except these which are repeated several times:
That's really interesting. You may know that JunsunSleepConfigurator removes the wakelock permission from apps you put on the white list.
A wake lock would keep your device active and so the head unit prefers to shutdown to avoid draining your cars battery.

Unfortunately ccci_fsd is a Linux program/service related to modem and and not an Android application. So we can't just put it on the white list.

One option could be to activate the flight mode and test if ccci_fsd still fights for a wake lock.

Other parts that I think could be interesting are these (I prefer not to publish the logcat because it is full of sensitive information, if you want I can send it to you in pm):
(I filtered only PID 422 and 1699)
Sure. I may need a while until I will find time to have a look on it but it could help.
 
  • Like
Reactions: Chris100115

TorstenH

Senior Member
Feb 20, 2021
2,733
1,009
t.me
Realme GT 2 Pro
Apart from the disturbing fact that it seems to send your gps position to Chinese servers via MQTT,...
The cental system application MainUI contains the string of the following package name:
com.forfan.tsmqtt

It may be possible a corresponding Android service gets started.

Nevertheless it's not a good idea to use sensitive accounts on those devices. E.g. using the same Google account as on your phone is a no go.
 
  • Like
Reactions: Chris100115

Chris100115

Member
Jan 10, 2015
21
2
That's really interesting. You may know that JunsunSleepConfigurator removes the wakelock permission from apps you put on the white list.
A wake lock would keep your device active and so the head unit prefers to shutdown to avoid draining your cars battery.

Unfortunately ccci_fsd is a Linux program/service related to modem and and not an Android application. So we can't just put it on the white list.

One option could be to activate the flight mode and test if ccci_fsd still fights for a wake lock.
I've tried putting airplane mode on but it doesn't seem to make any difference. Now I have removed the sim and in a few hours I'm going to see if anything changes.
A friend of mine has the same unit, I think identical processor but with the 9-inch screen. He actually does not use the sim card and his never shuts down but goes properly to sleep.
Sure. I may need a while until I will find time to have a look on it but it could help.

I would be sorry to take up your time to diagnose my problem in detail. I will try to do all the tests I can
The cental system application MainUI contains the string of the following package name: com.forfan.tsmqtt

It may be possible a corresponding Android service gets started.

Nevertheless it's not a good idea to use sensitive accounts on those devices. E.g. using the same Google account as on your phone is a no go.
In fact I made a separate account. These Chinese have a control freak I wonder what they are doing with my location data. Among other things, I don't even have the Junsun Security app which should be the one to locate the device.
 

Chris100115

Member
Jan 10, 2015
21
2
Unfortunately, even without a sim the problem is the same.
The logcat now looks a little "cleaner".
This is what it writes after the ACC Delay time has elapsed and the screen turns off (5 seconds after I turn off the ignition, I set the acc delay to 5).

Honestly, I wouldn't know where else to go off the deep end to figure out what causes the shutdown after a couple of minutes.
I don't think it's the apps I installed as the problem was the same even after installing the latest firmware which deletes all apps.
Maybe I have the configuration corrupted? I noticed that even though I did a factory reset from the 8878 menu the settings in that menu persist.

06-22 19:17:08.894 1575 1575 I MainUI : **************Power off ********************nPowerMode==2
06-22 19:17:08.895 1575 1575 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1006 android.content.ContextWrapper.sendBroadcast:444 com.ts.main.common.MainSet.SendIntent:1435 com.ts.main.common.MainUI.DealTask:1642 com.ts.MainUI.MainService$MainRunnable.run:22
06-22 19:17:08.899 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.899 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:08.900 687 2950 E ActivityManager: Sending non-protected broadcast com.cusc.action.ACC_OFF from system 1575:com.ts.MainUI/1000 pkg com.ts.MainUI
06-22 19:17:08.900 687 2950 E ActivityManager: java.lang.Throwable
06-22 19:17:08.900 687 2950 E ActivityManager: at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:21492)
06-22 19:17:08.900 687 2950 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:22096)
06-22 19:17:08.900 687 2950 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:22246)
06-22 19:17:08.900 687 2950 E ActivityManager: at android.app.IActivityManager$Stub.onTransact$broadcastIntent$(IActivityManager.java:10180)
06-22 19:17:08.900 687 2950 E ActivityManager: at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:167)
06-22 19:17:08.900 687 2950 E ActivityManager: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3380)
06-22 19:17:08.900 687 2950 E ActivityManager: at android.os.Binder.execTransact(Binder.java:731)
06-22 19:17:08.905 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.905 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:08.911 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.911 1655 1655 D skia : SkJpegCodec::eek:nGetPixels -
06-22 19:17:08.915 1655 1655 D t35 : isST = false
06-22 19:17:08.915 687 2950 W AES : Exception Log handling...
06-22 19:17:08.917 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:08.916 687 2950 D AES : ExceptionLog: notify aed, process:system_server pid:687 cause:system_server_wtf
06-22 19:17:08.918 687 2950 W AES : skip for Exp level 1
06-22 19:17:08.919 1575 1575 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1006 android.content.ContextWrapper.sendBroadcast:444 com.ts.main.txz.AmapAuto.QuiteNavi:1513 com.ts.main.common.MainUI.DealTask:1643 com.ts.MainUI.MainService$MainRunnable.run:22
06-22 19:17:08.919 687 781 W BroadcastQueue: Background execution not allowed: receiving Intent { act=com.cusc.action.ACC_OFF flg=0x10 } to com.android.sdvdplayer/.DiscEjectReciver
06-22 19:17:08.922 687 710 E ActivityManager: Sending non-protected broadcast AUTONAVI_STANDARD_BROADCAST_RECV from system 1575:com.ts.MainUI/1000 pkg com.ts.MainUI
06-22 19:17:08.922 687 710 E ActivityManager: java.lang.Throwable
06-22 19:17:08.922 687 710 E ActivityManager: at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:21492)
06-22 19:17:08.922 687 710 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:22096)
06-22 19:17:08.922 687 710 E ActivityManager: at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:22246)
06-22 19:17:08.922 687 710 E ActivityManager: at android.app.IActivityManager$Stub.onTransact$broadcastIntent$(IActivityManager.java:10180)
06-22 19:17:08.922 687 710 E ActivityManager: at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:167)
06-22 19:17:08.922 687 710 E ActivityManager: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3380)
06-22 19:17:08.922 687 710 E ActivityManager: at android.os.Binder.execTransact(Binder.java:731)
06-22 19:17:08.923 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.924 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:08.925 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.926 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:08.927 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.927 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:08.932 687 710 W AES : Exception Log handling...
06-22 19:17:08.934 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.934 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:08.934 687 710 D AES : ExceptionLog: notify aed, process:system_server pid:687 cause:system_server_wtf
06-22 19:17:08.934 687 710 W AES : skip for Exp level 1
06-22 19:17:08.936 1575 1575 W MainUI : ######## Acc Off !
06-22 19:17:08.936 687 781 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
06-22 19:17:08.936 1575 1575 D AmapAuto: lifecycle change ==altergames.carlauncher --------> onPause
06-22 19:17:08.937 1575 1575 D nyw : mfgAvmShow =false
06-22 19:17:08.937 687 781 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
06-22 19:17:08.937 1575 1575 D AmapAuto: lifecycle change ==altergames.carlauncher --------> onResume
06-22 19:17:08.937 1575 1575 I AmapAuto: net.easyconn===true
06-22 19:17:08.940 687 781 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
06-22 19:17:08.944 1630 1630 D ServiceStateProvider: subId=-2
06-22 19:17:08.946 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.949 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:08.950 687 687 D NlpSwitcher: received action ACTION_SERVICE_STATE_CHANGED, mccMnc= testStr=null
06-22 19:17:08.950 687 687 D NlpSwitcher: Network mMccMnc is not yet set
06-22 19:17:08.950 687 781 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
06-22 19:17:08.951 1130 1345 D NetworkController: isEmergencyOnly No sims
06-22 19:17:08.952 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.952 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:08.953 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.953 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:08.953 1630 1630 E MtkPhoneIntfMgrEx: isEccInProgress, mIsEccInProgress:false
06-22 19:17:08.954 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.955 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:08.961 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.961 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:08.960 1575 1575 I com.ts.MainUI: type=1400 audit(0.0:1060): avc: denied { ioctl } for path="/dev/mtkgpio" dev="tmpfs" ino=9949 ioctlcmd=0x702 scontext=u:r:system_app:s0 tcontext=u:eek:bject_r:device:s0 tclass=chr_file permissive=1
06-22 19:17:08.966 1575 1575 D MainUI : Sleep
06-22 19:17:08.967 1575 1575 D MainUI : ## Acc Off = 20 !GetMcuState()==2time = 0
06-22 19:17:08.967 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.969 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:08.969 1130 1130 D CarrierText: updateCarrierText() - after combination, carrierFinalContent = Modalità aereo, allSimsMissing = true
06-22 19:17:08.970 1630 1630 E MtkPhoneIntfMgrEx: isEccInProgress, mIsEccInProgress:false
06-22 19:17:08.975 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.975 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:08.976 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.976 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:08.979 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.979 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:08.985 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.985 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:08.990 1130 1130 I EmergencyButton: ss.getState()=1 ss.isEmergencyOnly()=true for simId=0
06-22 19:17:08.991 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.992 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:08.998 1575 1575 D MainUI : ## Acc Off = 21 !GetMcuState()==2time = 31
06-22 19:17:08.998 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:08.998 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:09.000 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:09.000 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:09.001 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:09.001 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:09.004 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:09.004 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:09.004 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:09.004 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:09.010 428 428 I power : acquire_wake_lock lock=1 id='ccci_fsd'
06-22 19:17:09.011 1130 1130 I EmergencyButton: ss.getState()=3 ss.isEmergencyOnly()=false for simId=1
06-22 19:17:09.011 1130 1130 D KeyguardSecurityModel: isPinPukOrMeRequiredOfSubId() - phoneId = 0, simState = ABSENT
06-22 19:17:09.012 1130 1130 D KeyguardSecurityModel: isPinPukOrMeRequiredOfSubId() - phoneId = 1, simState = ABSENT
06-22 19:17:09.012 428 428 I power : release_wake_lock id='ccci_fsd'
06-22 19:17:09.012 1130 1130 D AntiTheftManager: getCurrentAntiTheftMode() is called.
06-22 19:17:09.028 1575 1575 D MainUI : ## Acc Off = 22 !GetMcuState()==2time = 61
06-22 19:17:09.047 1130 1130 D CarrierText: updateCarrierText() - after combination, carrierFinalContent = Modalità aereo, allSimsMissing = true
06-22 19:17:09.059 1575 1575 D MainUI : ## Acc Off = 23 !GetMcuState()==2time = 92
06-22 19:17:09.062 1630 1630 D NotificationMgr: updateNetworkSelection()...state = 1 not updating network due to invalid subId -2
06-22 19:17:09.063 1630 1630 D CdmaVolteServiceChecker: onReceived, action = android.intent.action.SERVICE_STATE
06-22 19:17:09.063 1630 1630 D CdmaVolteServiceChecker: updateState, checking = false
06-22 19:17:09.064 1630 1630 D CdmaVolteServiceChecker: getMainCapabilitySubId = -2
06-22 19:17:09.066 687 973 I power : acquire_wake_lock lock=1 id='KeyEvents'
06-22 19:17:09.066 687 973 I power : acquire_wake_lock ret=9
06-22 19:17:09.067 687 973 D WindowManager: interceptKeyTq keycode=26 interactive=true keyguardActive=false policyFlags=22000001
06-22 19:17:09.067 687 973 D WindowManager: Sending QB Pre Power off broadcast.
06-22 19:17:09.067 687 973 D WindowManager: Hello QB Pre Power OFF
06-22 19:17:09.069 1575 1575 I BackCarService: mPowerOnOffReceiver, action:autochips.intent.action.PREQB_POWEROFF
06-22 19:17:09.071 1575 1575 I MainUI : ACTION_PREQB_OFF
06-22 19:17:09.075 687 782 D WindowManager: QB PRE POWER OFF Broadcast Done mQuickBootPrePowerOff
06-22 19:17:09.076 687 782 D WindowManager: Goodbye QB Pre Power OFF
06-22 19:17:09.078 687 973 I power : release_wake_lock id='KeyEvents'
06-22 19:17:09.078 687 973 I power : release_wake_lock len=9
06-22 19:17:09.082 687 1199 W qxglp : IS_QXGLP_SUPPORT : false
06-22 19:17:09.082 687 1199 D LocationManagerService: incoming location from: gps
06-22 19:17:09.085 4692 4692 D CarClient/Location: onLocationChanged: *******************
06-22 19:17:09.087 687 1199 D LocationManagerService: incoming location from: gps
06-22 19:17:09.094 1655 1655 D t33 : isWeatherView = true
06-22 19:17:09.099 1575 1575 D MainUI : ## Acc Off = 24 !GetMcuState()==2time = 132
06-22 19:17:09.101 1575 1575 D AmapAuto: lifecycle change ==altergames.carlauncher --------> onPostResume
06-22 19:17:09.124 1630 1630 D CdmaVolteServiceChecker: infos mainId = -2
06-22 19:17:09.126 1630 1630 D OP20RoamingSettingsReceiver: Not Valid for this OP MCC/MNC, no handling further
06-22 19:17:09.129 1575 1575 D MainUI : ## Acc Off = 25 !GetMcuState()==2time = 162
06-22 19:17:09.156 687 824 D NetdConnector: SND -> {44 tether interface remove ap0}
06-22 19:17:09.156 622 622 W mDNSResponder: [ProcessRoutingNotification] result = 0x21; nlmsg_type = 0x10; RTM_GETLINK = 0x12; RTM_NEWLINK = 0x10; RTM_DELADDR = 0x15; RTM_NEWADDR = 0x14
06-22 19:17:09.156 687 1050 D NetdConnector: RCV <- {600 Iface linkstate ap0 down}
06-22 19:17:09.156 622 622 W mDNSResponder: [ProcessRoutingNotification] changedInterfaces = 0x21
06-22 19:17:09.156 622 622 I mdnsresponder: mDNS_DeregisterInterface: Last representative of InterfaceID 1627862016 ap0 (FE80:0000:0000:0000:C081:35FF:FE2F:0FCF) deregistered; marking questions etc. dormant
06-22 19:17:09.156 349 369 D TetherController: untetherInterface(ap0)
06-22 19:17:09.157 687 823 I EthernetTracker: interfaceLinkStateChanged, iface: ap0, up: false
06-22 19:17:09.158 687 1050 D NetdConnector: RCV <- {200 44 Tether operation succeeded}
06-22 19:17:09.158 349 360 I Netd : Destroyed 1 sockets on fe80::c081:35ff:fe2f:fcf in 0.3 ms
06-22 19:17:09.158 687 1050 D NetdConnector: RCV <- {616 Route removed fe80::/64 dev ap0}
06-22 19:17:09.159 687 1050 D NetdConnector: RCV <- {614 Address removed fe80::c081:35ff:fe2f:fcf/64 ap0 128 253}
06-22 19:17:09.160 2439 2906 D CarplayNative: interfaceLinkStateChanged, iface=ap0, up=false
06-22 19:17:09.160 1575 1575 D MainUI : ## Acc Off = 26 !GetMcuState()==2time = 193
06-22 19:17:09.161 1655 1655 D t24 : onPause()
06-22 19:17:09.160 839 855 I [BIP] : [BIP NL] IPv6: *:*:*:*:*:*:*:*
06-22 19:17:09.161 687 824 D NetdConnector: SND -> {45 network interface remove local ap0}
06-22 19:17:09.161 839 855 I chatty : uid=0(root) /vendor/bin/bip identical 2 lines
06-22 19:17:09.161 839 855 I [BIP] : [BIP NL] IPv6: *:*:*:*:*:*:*:*
06-22 19:17:09.164 622 622 I mdnsresponder: mDNS_RegisterInterface: Setting AnnounceOwner
06-22 19:17:09.164 622 622 I mdnsresponder: RestartRecordGetZoneData: ResourceRecords
06-22 19:17:09.164 622 622 W mDNSResponder: [ProcessRoutingNotification] result = 0x21; nlmsg_type = 0x10; RTM_GETLINK = 0x12; RTM_NEWLINK = 0x10; RTM_DELADDR = 0x15; RTM_NEWADDR = 0x14
06-22 19:17:09.164 622 622 W mDNSResponder: [ProcessRoutingNotification] changedInterfaces = 0x21
06-22 19:17:09.164 622 622 I mdnsresponder: mDNS_DeregisterInterface: Last representative of InterfaceID 1627450368 ap0 (192.168.43.102) deregistered; marking questions etc. dormant
 

TorstenH

Senior Member
Feb 20, 2021
2,733
1,009
t.me
Realme GT 2 Pro
Unfortunately, even without a sim the problem is the same.
The logcat now looks a little "cleaner".
This is what it writes after the ACC Delay time has elapsed and the screen turns off (5 seconds after I turn off the ignition, I set the acc delay to 5).

Honestly, I wouldn't know where else to go off the deep end to figure out what causes the shutdown after a couple of minutes.
I don't think it's the apps I installed as the problem was the same even after installing the latest firmware which deletes all apps.
Maybe I have the configuration corrupted? I noticed that even though I did a factory reset from the 8878 menu the settings in that menu persist.
But still a lot of ccci_fsd wake locks

I think it makes sense to stop ccci_fsd via adb shell and su command to see if sleeping works then.
If you don't know how to do let me know...
 
  • Like
Reactions: Chris100115

Top Liked Posts

  • There are no posts matching your filters.
  • 9

    JunsunSleepConfigurator​

    play_store_512.png


    On Junsun V1 (pro) devices apps get killed before head unit enters sleep mode. So you have to restart the apps every time you continue your ride.
    The file /vendor/etc/qb_list.xml defines which apps should be just frozen, so the app is immediately available after sleep mode.

    Unfortunately maintaining this file is a mess because you have to execute adb commands - via a second device, connected by USB or WiFi. A terminal app may be an alternative. Nevertheless you have to deal with OS commands and package names to maintain the XML file.
    IMG_20220620_165645.jpg
    And if you forget to remove Wakelock from added apps your device will shutdown instead of entering sleep mode.

    To make life easier I'm developing the attached app JunsunSleepConfigurator.

    Screenshot_2023-03-07-19-43-34-05_a0a98fd191d29385a29eb8440f81ca94.jpg


    61e11e22d8ff4a5b4a1b3346_Supportbutton-1.png
    Support the development of this free app via
    ko-fi.com/appswitcher
    2
    version 1.5
    Whats new:
    - general optimizations
    - added donation option

    version 1.4.7alpha
    Whats new:
    - fixed bug on backup creation which occurs after 1st/fresh install of JunsunSleepConfigurator
    Please uninstall previous version first.

    version 1.4.6alpha
    Whats new:
    - using standard XML reader XmlPullParser
    - new app icon
    - smaller bug fixes and improvements

    version 1.4.5alpha
    Whats new:
    - permission on backup file gets adjusted during creation to ensure its readable
    - backup gets validated (existence and size) before original config file gets overwritten

    version 1.4.3alpha
    Whats new:
    - changed remount logic to avoid a bootloop on 8667 devices
    - code optimizations and bug fixes

    version 1.3
    Whats new:
    - added support for yellow list
    - simplified UI and transparent display of changes
    - smaller bug fixes

    version 1.2 - important fix!
    Whats new:
    - bug: file permissions not adjusted after change/restore. The config file wasn't readable by QuickBootManager

    version 1.1
    Whats new:
    - bug: final overwrite of qb_list.xml not working
    - Lists TTS engines, now. Add TTS engine to quick boot if you added your navigation software and voice command output not working after sleep mode.
    - Backup file can be selected in restore menu, now.
    2
    Does anyone has luck Junsun V1 Pro, v81 firmware with sleep settings? After installing app and selecting needed ones, device sleep mode is broken. After few minutes car is turned off, head unit starts long start.
    It may be possible that one of the apps continues to run threads while sleeping which gets detected by the head unit. To stop the power consumption the head unit force a shutdown.
    Add the apps one by one to identify which is the nervous one.
    2
    Added version 1.4.6alpha to first post
    Whats new:
    - using standard XML reader XmlPullParser
    - new app icon
    - smaller bug fixes and improvements