[TASKER] Android Wear as Trusted Device and Leash via Tasker - Wear OS Software and Hacking General

I recently created a Tasker profile that turns my watch into trusted device as well as provides an audio alert when the phone leaves range and is locked down.
In short, when the watch and phone are connected, the PIN on the phone is disabled. Immediately upon disconnection, the phone is PIN locked and an alarm rings. So, I know exactly where the phone is, it meets access security requirements, and I don't leave my watch too far behind as the phone alarm indicates that I left it just out of range. Here's the recipe:
Profile: LG G Watch R Connected (9)
State: BT Connected [ Name:* Address:34:FC:EF:45:0D:A0 ]
Enter: Unlock Phone (3)
A1: Secure Settings [ Configuration:Clear Password Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]
Exit: Lock phone (8)
A1: Secure Settings [ Configuration:Set Pin Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]
A2: Secure Settings [ Configuration:Lock Device Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]
A3: Alarm Volume [ Level:7 Display: Off Sound: Off ]
A4: Music Play [ File:Ringtones/hangouts_incoming_call.ogg Start:0 Loop: Off Stream:4 ]
A5: Wait [ MS:0 Seconds:3 Minutes:0 Hours:0 Days:0 ]
A6: Music Play [ File:Ringtones/hangouts_incoming_call.ogg Start:0 Loop: Off Stream:4 ]
A7: Wait [ MS:0 Seconds:3 Minutes:0 Hours:0 Days:0 ]
A8: Music Play [ File:Ringtones/hangouts_incoming_call.ogg Start:0 Loop: Off Stream:4 ]

Where to download it

kuldeep Pandya said:
Where to download it
Click to expand...
Click to collapse
You'll need Tasker and Secure Settings from the Play Store for this to work. In the profile, you'll want to update the address of the device to your watch and update the pin code in the lock task.
XML for import into Tasker is attached.

You have to download Tasker and then make a Tasker task and profile just as the op described here.

Related

[Q] Nexus 5 random reboots

I have compiled msm kernel for Nexus 5.
Having issue with random reboots due to display drivers. Below is the last_kmesg.
[ 120.535898] ------------[ cut here ]------------
[ 120.536018] WARNING: at drivers/video/msm/mdss/mdss_mdp_intf_cmd.c:440 mdss_mdp_cmd_wait4pingpong+0xc4/0x120()
[ 120.536059] cmd kickoff timed out (0) ctl=0
[ 120.536126] Modules linked in: brcm_bt_drv fm_drv brcm_hci_ldisc
[ 120.536321] [<c010e59c>] (unwind_backtrace+0x0/0x144) from [<c0a01bec>] (dump_stack+0x20/0x24)
[ 120.536401] [<c0a01bec>] (dump_stack+0x20/0x24) from [<c0192e10>] (warn_slowpath_common+0x5c/0x74)
[ 120.536477] [<c0192e10>] (warn_slowpath_common+0x5c/0x74) from [<c0192ee4>] (warn_slowpath_fmt+0x40/0x48)
[ 120.536553] [<c0192ee4>] (warn_slowpath_fmt+0x40/0x48) from [<c04378d0>] (mdss_mdp_cmd_wait4pingpong+0xc4/0x120)
[ 120.536628] [<c04378d0>] (mdss_mdp_cmd_wait4pingpong+0xc4/0x120) from [<c042cb10>] (mdss_mdp_display_commit+0x1a4/0x30c)
[ 120.536704] [<c042cb10>] (mdss_mdp_display_commit+0x1a4/0x30c) from [<c043c370>] (mdss_mdp_overlay_kickoff+0x1cc/0x374)
[ 120.536780] [<c043c370>] (mdss_mdp_overlay_kickoff+0x1cc/0x374) from [<c045dfc8>] (__mdss_fb_display_thread+0x134/0x324)
[ 120.536857] [<c045dfc8>] (__mdss_fb_display_thread+0x134/0x324) from [<c01b4354>] (kthread+0x98/0xa4)
[ 120.536904] [<c01b4354>] (kthread+0x98/0xa4) from [<c0108120>] (kernel_thread_exit+0x0/0x8)
[ 120.536975] ---[ end trace 0e3fd3abe229757e ]---
[ 120.537046] __mdss_fb_sync_buf_done_callback: mdp-fence: frame timeout
[ 122.535914] mdss_dsi_cmd_mdp_busy: timedout
[ 122.535994] mdss_mdp_irq_enable: MDSS MDP IRQ-0x100 is already set, mask=1100
No errors detected
Boot info:
Last boot reason: wdog_bite
I am unable to figureout the reason. Can anyone please help.

[Q] Tasker - cycle wifi

I am trying to create a profile that checks for wifi every once in a while. What I have is:
Code:
Profile: No Wifi (39)
State: Not Wifi Connected [ SSID:* MAC:* IP:* ]
Enter: Wifi Cycle (48)
A1: WiFi [ Set:off ]
A2: Wait [ MS:0 Seconds:0 Minutes:5 Hours:0 Days:0 ]
A3: WiFi [ Set:on ]
A4: Wait [ MS:0 Seconds:30 Minutes:0 Hours:0 Days:0 ]
A5: Goto [ Type:Action Number Number:1 Label: ] If [ %PACTIVE ~ *,No Wifi,* ]
The problem I am having is that my wifi is always on. I unchecked "Limit Repeats" in the profile settings too. Any ideas on what I did wrong here?

Lost Wifi MAC address

Hi, after the official OTA upgrade of my Nexus 9 the MAC address of WiFi is 02:00:00:00:00 and the WiFi is not working anymore.
The same problem for the Bluetooth.
I try to reinstall everything many times, different ROM's too, but I cannot solve It.
I search everywhere on internet bit I cannot find any useful information.
Can anyone help me please?
mirkorazietti said:
Hi, after the official OTA upgrade of my Nexus 9 the MAC address of WiFi is 02:00:00:00:00 and the WiFi is not working anymore.
The same problem for the Bluetooth.
I try to reinstall everything many times, different ROM's too, but I cannot solve It.
I search everywhere on internet bit I cannot find any useful information.
Can anyone help me please?
Click to expand...
Click to collapse
Can you give me the kernel log after full boot
just do
su
dmesg > /sdcard/log.log
Then just give me /sdcard/log.log
I probably won't be able to fix it but I want to know what's happening
USBhost said:
Can you give me the kernel log after full boot
just do
su
dmesg > /sdcard/log.log
Then just give me /sdcard/log.log
I probably won't be able to fix it but I want to know what's happening
Click to expand...
Click to collapse
Hi, that's the log file
Thank in advance for your time
mirkorazietti said:
Hi, that's the log file
Thank in advance for your time
Click to expand...
Click to collapse
Wow that's something you don't see everyday....
Code:
[ 31.074029] found wifi platform device bcm4329_wlan
[ 31.074046] unregister wifi platform drivers
[ 31.074094] dhd_module_init: Failed to load the driver, try cnt 1
[ 31.074207] found wifi platform device bcm4329_wlan
[ 31.074434] Power-up adapter 'DHD generic adapter'
[ 31.074476] wifi_platform_set_power = 1
[ 31.074492] flounder_wifi_power: 1
[ 31.380496] wifi_platform_bus_enumerate device present 1
[ 33.380485] failed to power up DHD generic adapter, 3 retry left
[ 33.396608] wifi_platform_set_power = 0
[ 33.396628] flounder_wifi_power: 0
[ 33.497077] wifi_platform_bus_enumerate device present 0
[ 33.497137] wifi_platform_set_power = 1
[ 33.497153] flounder_wifi_power: 1
[ 33.803833] wifi_platform_bus_enumerate device present 1
[ 35.803940] failed to power up DHD generic adapter, 2 retry left
[ 35.820048] wifi_platform_set_power = 0
[ 35.820067] flounder_wifi_power: 0
[ 35.920592] wifi_platform_bus_enumerate device present 0
[ 35.920648] wifi_platform_set_power = 1
[ 35.920666] flounder_wifi_power: 1
[ 36.227139] wifi_platform_bus_enumerate device present 1
[ 38.227168] failed to power up DHD generic adapter, 1 retry left
[ 38.243300] wifi_platform_set_power = 0
[ 38.243320] flounder_wifi_power: 0
[ 38.343735] wifi_platform_bus_enumerate device present 0
[ 38.343797] wifi_platform_set_power = 1
[ 38.343814] flounder_wifi_power: 1
[ 38.650518] wifi_platform_bus_enumerate device present 1
[ 40.650406] failed to power up DHD generic adapter, 0 retry left
[ 40.666528] wifi_platform_set_power = 0
[ 40.666547] flounder_wifi_power: 0
[ 40.677534] INFO: task kworker/0:1:18 blocked for more than 10 seconds.
[ 40.677561] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 40.677589] kworker/0:1 D ffffffc000086904 0 18 2 0x00000000
[ 40.677663] Workqueue: events request_firmware_work_func
[ 40.677691] Call trace:
[ 40.677726] [<ffffffc000086904>] __switch_to+0x74/0x8c
[ 40.677758] [<ffffffc0009eb8a8>] __schedule+0x2e8/0x854
[ 40.677779] [<ffffffc0009ebe3c>] schedule+0x28/0x68
[ 40.677799] [<ffffffc0009e9f68>] schedule_timeout+0x1d4/0x284
[ 40.677820] [<ffffffc0009ec598>] wait_for_common+0xb8/0x15c
[ 40.677843] [<ffffffc0009ec650>] wait_for_completion+0x14/0x1c
[ 40.677864] [<ffffffc00047c97c>] _request_firmware+0xa60/0xcf0
[ 40.677885] [<ffffffc00047cc50>] request_firmware_work_func+0x28/0x54
[ 40.677911] [<ffffffc0000cf580>] process_one_work+0x13c/0x474
[ 40.677932] [<ffffffc0000cf9f4>] worker_thread+0x13c/0x3c0
[ 40.677956] [<ffffffc0000d70ac>] kthread+0xcc/0xd4
[ 40.677998] INFO: task kworker/0:2:85 blocked for more than 10 seconds.
[ 40.678014] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 40.678030] kworker/0:2 D ffffffc000086904 0 85 2 0x00000000
[ 40.678076] Workqueue: events request_firmware_work_func
[ 40.678099] Call trace:
[ 40.678120] [<ffffffc000086904>] __switch_to+0x74/0x8c
[ 40.678140] [<ffffffc0009eb8a8>] __schedule+0x2e8/0x854
[ 40.678174] [<ffffffc0009ebe3c>] schedule+0x28/0x68
[ 40.678193] [<ffffffc0009e9f68>] schedule_timeout+0x1d4/0x284
[ 40.678258] [<ffffffc0009ec598>] wait_for_common+0xb8/0x15c
[ 40.678279] [<ffffffc0009ec650>] wait_for_completion+0x14/0x1c
[ 40.678299] [<ffffffc00047c97c>] _request_firmware+0xa60/0xcf0
[ 40.678319] [<ffffffc00047cc50>] request_firmware_work_func+0x28/0x54
[ 40.678340] [<ffffffc0000cf580>] process_one_work+0x13c/0x474
[ 40.678362] [<ffffffc0000cf9f4>] worker_thread+0x13c/0x3c0
[ 40.678382] [<ffffffc0000d70ac>] kthread+0xcc/0xd4
[ 40.678402] INFO: task kworker/u4:1:87 blocked for more than 10 seconds.
[ 40.678417] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 40.678434] kworker/u4:1 D ffffffc000086904 0 87 2 0x00000000
[ 40.678486] Workqueue: fwu_workqueue fwu_startup_fw_update_work
[ 40.678509] Call trace:
[ 40.678530] [<ffffffc000086904>] __switch_to+0x74/0x8c
[ 40.678550] [<ffffffc0009eb8a8>] __schedule+0x2e8/0x854
[ 40.678570] [<ffffffc0009ebe3c>] schedule+0x28/0x68
[ 40.678590] [<ffffffc0009e9f68>] schedule_timeout+0x1d4/0x284
[ 40.678611] [<ffffffc0009ec598>] wait_for_common+0xb8/0x15c
[ 40.678631] [<ffffffc0009ec650>] wait_for_completion+0x14/0x1c
[ 40.678651] [<ffffffc00047c97c>] _request_firmware+0xa60/0xcf0
[ 40.678672] [<ffffffc00047cc20>] request_firmware+0x14/0x1c
[ 40.678693] [<ffffffc000635454>] synaptics_fw_updater+0x3e0/0x8b0
[ 40.678713] [<ffffffc000636100>] fwu_startup_fw_update_work+0x24/0x50
[ 40.678734] [<ffffffc0000cf580>] process_one_work+0x13c/0x474
[ 40.678754] [<ffffffc0000cf9f4>] worker_thread+0x13c/0x3c0
[ 40.678774] [<ffffffc0000d70ac>] kthread+0xcc/0xd4
[ 40.767142] wifi_platform_bus_enumerate device present 0
[ 40.767181] failed to power up DHD generic adapter, max retry reached**
It looks like something happened to your wifi card that it can't poweron.
There's really nothing you can do in the software side of things sorry.
You can try replacing the motherboard but that's like 1/3 the cost of the tablet.....
Or send it in to repair, do you still have warranty? I know you rooted your device but who knows right :laugh:
Sorry for the bad news...
If none of those are options you can always just use ethernet.
USBhost said:
Wow that's something you don't see everyday....
Code:
[ 31.074029] found wifi platform device bcm4329_wlan
[ 31.074046] unregister wifi platform drivers
[ 31.074094] dhd_module_init: Failed to load the driver, try cnt 1
[ 31.074207] found wifi platform device bcm4329_wlan
[ 31.074434] Power-up adapter 'DHD generic adapter'
[ 31.074476] wifi_platform_set_power = 1
[ 31.074492] flounder_wifi_power: 1
[ 31.380496] wifi_platform_bus_enumerate device present 1
[ 33.380485] failed to power up DHD generic adapter, 3 retry left
[ 33.396608] wifi_platform_set_power = 0
[ 33.396628] flounder_wifi_power: 0
[ 33.497077] wifi_platform_bus_enumerate device present 0
[ 33.497137] wifi_platform_set_power = 1
[ 33.497153] flounder_wifi_power: 1
[ 33.803833] wifi_platform_bus_enumerate device present 1
[ 35.803940] failed to power up DHD generic adapter, 2 retry left
[ 35.820048] wifi_platform_set_power = 0
[ 35.820067] flounder_wifi_power: 0
[ 35.920592] wifi_platform_bus_enumerate device present 0
[ 35.920648] wifi_platform_set_power = 1
[ 35.920666] flounder_wifi_power: 1
[ 36.227139] wifi_platform_bus_enumerate device present 1
[ 38.227168] failed to power up DHD generic adapter, 1 retry left
[ 38.243300] wifi_platform_set_power = 0
[ 38.243320] flounder_wifi_power: 0
[ 38.343735] wifi_platform_bus_enumerate device present 0
[ 38.343797] wifi_platform_set_power = 1
[ 38.343814] flounder_wifi_power: 1
[ 38.650518] wifi_platform_bus_enumerate device present 1
[ 40.650406] failed to power up DHD generic adapter, 0 retry left
[ 40.666528] wifi_platform_set_power = 0
[ 40.666547] flounder_wifi_power: 0
[ 40.677534] INFO: task kworker/0:1:18 blocked for more than 10 seconds.
[ 40.677561] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 40.677589] kworker/0:1 D ffffffc000086904 0 18 2 0x00000000
[ 40.677663] Workqueue: events request_firmware_work_func
[ 40.677691] Call trace:
[ 40.677726] [<ffffffc000086904>] __switch_to+0x74/0x8c
[ 40.677758] [<ffffffc0009eb8a8>] __schedule+0x2e8/0x854
[ 40.677779] [<ffffffc0009ebe3c>] schedule+0x28/0x68
[ 40.677799] [<ffffffc0009e9f68>] schedule_timeout+0x1d4/0x284
[ 40.677820] [<ffffffc0009ec598>] wait_for_common+0xb8/0x15c
[ 40.677843] [<ffffffc0009ec650>] wait_for_completion+0x14/0x1c
[ 40.677864] [<ffffffc00047c97c>] _request_firmware+0xa60/0xcf0
[ 40.677885] [<ffffffc00047cc50>] request_firmware_work_func+0x28/0x54
[ 40.677911] [<ffffffc0000cf580>] process_one_work+0x13c/0x474
[ 40.677932] [<ffffffc0000cf9f4>] worker_thread+0x13c/0x3c0
[ 40.677956] [<ffffffc0000d70ac>] kthread+0xcc/0xd4
[ 40.677998] INFO: task kworker/0:2:85 blocked for more than 10 seconds.
[ 40.678014] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 40.678030] kworker/0:2 D ffffffc000086904 0 85 2 0x00000000
[ 40.678076] Workqueue: events request_firmware_work_func
[ 40.678099] Call trace:
[ 40.678120] [<ffffffc000086904>] __switch_to+0x74/0x8c
[ 40.678140] [<ffffffc0009eb8a8>] __schedule+0x2e8/0x854
[ 40.678174] [<ffffffc0009ebe3c>] schedule+0x28/0x68
[ 40.678193] [<ffffffc0009e9f68>] schedule_timeout+0x1d4/0x284
[ 40.678258] [<ffffffc0009ec598>] wait_for_common+0xb8/0x15c
[ 40.678279] [<ffffffc0009ec650>] wait_for_completion+0x14/0x1c
[ 40.678299] [<ffffffc00047c97c>] _request_firmware+0xa60/0xcf0
[ 40.678319] [<ffffffc00047cc50>] request_firmware_work_func+0x28/0x54
[ 40.678340] [<ffffffc0000cf580>] process_one_work+0x13c/0x474
[ 40.678362] [<ffffffc0000cf9f4>] worker_thread+0x13c/0x3c0
[ 40.678382] [<ffffffc0000d70ac>] kthread+0xcc/0xd4
[ 40.678402] INFO: task kworker/u4:1:87 blocked for more than 10 seconds.
[ 40.678417] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 40.678434] kworker/u4:1 D ffffffc000086904 0 87 2 0x00000000
[ 40.678486] Workqueue: fwu_workqueue fwu_startup_fw_update_work
[ 40.678509] Call trace:
[ 40.678530] [<ffffffc000086904>] __switch_to+0x74/0x8c
[ 40.678550] [<ffffffc0009eb8a8>] __schedule+0x2e8/0x854
[ 40.678570] [<ffffffc0009ebe3c>] schedule+0x28/0x68
[ 40.678590] [<ffffffc0009e9f68>] schedule_timeout+0x1d4/0x284
[ 40.678611] [<ffffffc0009ec598>] wait_for_common+0xb8/0x15c
[ 40.678631] [<ffffffc0009ec650>] wait_for_completion+0x14/0x1c
[ 40.678651] [<ffffffc00047c97c>] _request_firmware+0xa60/0xcf0
[ 40.678672] [<ffffffc00047cc20>] request_firmware+0x14/0x1c
[ 40.678693] [<ffffffc000635454>] synaptics_fw_updater+0x3e0/0x8b0
[ 40.678713] [<ffffffc000636100>] fwu_startup_fw_update_work+0x24/0x50
[ 40.678734] [<ffffffc0000cf580>] process_one_work+0x13c/0x474
[ 40.678754] [<ffffffc0000cf9f4>] worker_thread+0x13c/0x3c0
[ 40.678774] [<ffffffc0000d70ac>] kthread+0xcc/0xd4
[ 40.767142] wifi_platform_bus_enumerate device present 0
[ 40.767181] failed to power up DHD generic adapter, max retry reached**
It looks like something happened to your wifi card that it can't poweron.
There's really nothing you can do in the software side of things sorry.
You can try replacing the motherboard but that's like 1/3 the cost of the tablet.....
Or send it in to repair, do you still have warranty? I know you rooted your device but who knows right :laugh:
Sorry for the bad news...
If none of those are options you can always just use ethernet.
Click to expand...
Click to collapse
Ok, I know where's the problem. now. Thanks a lot for your help
The tablet should be under warranty, I bought It in Amazon in 01/2015
What can You suggest me about the sw? If I format all again, remove the root and lock the system, could I have some problems with the warranty?
Couold It be possible that the wifi board is the only hw broken? or You are sure about the mother board
mirkorazietti said:
Ok, I know where's the problem. now. Thanks a lot for your help
The tablet should be under warranty, I bought It in Amazon in 01/2015
What can You suggest me about the sw? If I format all again, remove the root and lock the system, could I have some problems with the warranty?
Couold It be possible that the wifi board is the only hw broken? or You are sure about the mother board
Click to expand...
Click to collapse
The thing is that the wifi chip is in the main board so you would have to replace the whole thing.
https://www.ifixit.com/Teardown/Nexus+9+Teardown/31425
Step 11 shows the wifi chip
About getting it ready for warranty... I never had to deal with doing that so my knowledge set on that is low.
Relocking the bootloader is vary risky... Also I think it would show that it was locked by showing a padlock on the boot screen.
I would recommend asking a separate question about what are the steps into sending it to warranty when the bootloader is unlocked.
Are you sure your in warranty? Is warranty 2 years? Because from 2015-01-01 to 2016-10-27 is 1 year and 9 months
If all else fails and you still have warranty you can kill the bootloader and then send it in to warranty.
And say that my wifi stopped working then I rebooted it, it would not turn on again.
But that's last last case scenario... when all hope is lost! When you have nothing to lose...
mirkorazietti said:
Ok, I know where's the problem. now. Thanks a lot for your help
The tablet should be under warranty, I bought It in Amazon in 01/2015
What can You suggest me about the sw? If I format all again, remove the root and lock the system, could I have some problems with the warranty?
Couold It be possible that the wifi board is the only hw broken? or You are sure about the mother board
Click to expand...
Click to collapse
Just flash complete stock with fastboot and relock the bootloader. Theoretically it should be back to stock. They will take it if you relock the bootloader on stock.

phone not booting: "Couldn't open sys/fs/selinux/null: No such file or directory"

phone not booting: "Couldn't open sys/fs/selinux/null: No such file or directory"
Hello;
i compiled a custom ROM based on Android Oreo; therefore it was necessary to patch the kernel binders and compile a custom kernel. When booting up; my device (Aquaris A4.5; MT6735m; x32 LineageOS15; Kernel Version 3.18.35) reboots after a few seconds into fastboot mode. Here is a part of my kernel log that might be helpful. Before the kernel panic it says:
Code:
2.'89929] (0)[1:init]init: Couldn't open /sys/fs/selinux/null: No such file or dipectory
Code:
[ ".761100] (0)S1:swapper-0]battery custom init by DTS
S 2?761593] (0)[1:swapPer/ ]Ge4 mtk_jeita_standard_support failed
[ 2.761640] (0)[1:s7apper/0]Get cust_soc_jeita_sync_time failed
[ ?2.76169?] (0)[1:swapper/?]Get jeita_rechArge_vOltage f!iled
[ 2.761743] (0)[1:swapper/0]Get jeita_tempWabove_pos_60_cv_voltage faihe$
[ 2?741793] (0)[1:swappe0/0]Gep jeit!_temp_pos_10_to_pos_45_Cv_voltage failed
[ 2.761844] (0)[0:swapper/0]Get jeita_temp_pos_0]t/_pos_10\cv_voltage failed?[ 2.766499] (0)[1:svapper-0]Get jeita_temp_neg_10_to_pos_0_cv_voltage failed
[ 2.766551] (0)[1:swapper/0]Get jeita_teip_below_neg_10_cv_voltage failed
[ 2.766406] (0)[1:swappeP/0]Get jeita_neg_10]to_por_ _full_current failed
? 2.766656] (0)[1:swapper/0]Get je)ta_temp_pks_45_to_pks_60_becharge_voltage failed
[ 2.766707] (0)[1:swapper/0]?et jeita_temp_pos_10_toOposW44_recharge]voltage faihed
? 2.766'57] (0)[1:swapPer/0]Get jeita_teep_p/s_0_to_pos_10[rEchapge_voltage failed
[ 2.76&807] (0)[1:swapper/0?Get jeita_tdmp_neE_10_to_pos_0_recharge_voltage failed
[ 2.766?58] (0)[1:swap0er/0]Ged jeita_temp_pos_45_to_pos_60_bc2topoff_thpeshold faIled
[ 2.76&908] (0)[1:suapper/0MGet jeita_temp_pos_10_to_pos_45_cc2topoff_threshold failed
[ 2.766?59] (0)[1:swappep/0]Get jeita_temp_pos?0_to_po3_10_cc2topo&f[thrashold failed
[ 2.767009] (0![1:swapper/0]Get *eata_temp_neg[10_to_pos_0_cc24opodf_threshold faile`
[ 2.767055] (0)[1:swappe2/0]get_bontOmede=0
[ 2,767 91] [BAT_probe] g_plaTform_bomt_mode - 0
[ 2.767899] (0)[1:swapper/0][BAT_pro"e] power_su0ply_reg)ster AC Secce?s !!
[ 2.768884] (0)[1:swapper/0]KBATOpRobe] power_cuppdy_register USB Cu#ces3 ?!
[ 2.769721M (0)S1:swaPper/0][BAT_Prgbe] power_supply_reGiSter WIRELESC Success !!
[ 2.771481] (0)[1:swapper/0][BAT_probe] power_sqpply_regirter Battery Success !!
[ 2.773124] (0)[1:swappeR/0]batterY_kthread_hrtimer_)nit : done
[ 2.733474] (0)[1:swapper/0][batte2y_probe] baT_thRead_kthread Done
[ 2.754872] (0)[1:rwAp0er/0]charger^hvOdetEct_sw_workaround_init : done
[ 2*734991] (0)[1:qwapper/?]prOc_create bat_proc_fops
[ 2*775119] (0 [1:swapper/0]BOOTPROF: 2775.095544:probe: pdev=b!ttery(c10?16e8) 15.930000ms
[ 2.77521?]? (0)[1:cw`pper/?]BOOTPROF: ? 2775.195082:probe: probe=platform_drv_probe drv=battery-dts(c1081950) 16.064769ms
[ 2.777888] (0)[1:swapper/0]******** mt_batteryNotify_dts_probe!! ********
[ 2.779378] (0)[1:swapper/0]******** mt_batteryNotify_probe!! ********
[ 2.779569] (0)[1:swapper/0]proc_create battery_cmd_proc_&ops
[ 2.779635] (0)[1:swapper/0]proc_cre`te current_cmd_proc]fops
[ 2.779699] (0)[1:swapper/0]proc_create discharging_cmd_proc_fops
[ 2.779742] ?0)[1:swapper/0]******** mtk_batTery_cmd!! ********
[ 2.781623] (0)[1:Swapper/0]****[bat4ery_driver] Initialization 2 DONE !!
[ 2.781706] (0)[1:swappeR/0]BOOTPROF: ? 2581.683928:initcall: battery_init 494.192848ms
[ 2.783026] (0)[1:swapper/0]lowmemorykiller: ZLMK]total_low_ratio[5] - totalram[pages[492361] - totalhigh_pages[376815]
[ 2.783182] (?)[1:swapper/0]vaud28: disabling
[ 2.783197] (0)[1:swapper/0]vaud28: couldf't disable? -1
? 2.783300] (0)[1:swapper/0]rsram: disabling
[ 2.783314] (0)[1:swapper+0]vsram: couldn't disable: -1
[ 2.783335] (0)[1:swapper/0]vm: disabling
[ 2.783349] (0)[1:swapper/0]vm: couldn't disable: -1
[ 2.384115]?-(0)[1:cwapper/0][DFS]dfs_dummy_buffer va: 0xc122a000, dst_pa: 0x4122a000, size: 256
[ 2.786198] (0)[1:swapPer/0][VcoreFS] [late_init_to_lowpwr_opp] feature_en: 1, late_init_opp: 2
[ 2.786243] (0)[1:swapper/0]ALSA device list:
K 2.786259] (0)[1:swapper/0] #02 mt-sfd)card
[ 2.787044] (0)[1:swapper/0]Freeing unused kernel memkry: 456K (c0f00000 - c0f?2000)
[ 2.787185] (0)[1:swapper/0]BOOTPROB: 2787.178544:Kernel_ilit_done
[ 2.'89929] (0)[1:init]init: Couldn't open /sys/fs/selinux/null: No such file or dipectory
[ 2.790009]? (0)[1:init]init: panic: rebooting to bootloader
[ 2.790048] (0)[1:init]init: Reboop start, reabon: reboot, rebootTarget: bootlgader
[ 2.790107] (0)[1:initMinit: android::WriteStringToFile opan failed: No such file or directory
[? 2.790145] (0)[1:init]inat: Rhutdown timeout: 6
[ 2.790202] (0)[1:init]init: terminatidg init services
[ 2.790243] (0)[1:init]init: waitpid failed: No child processes
[ 2.790298] (0)[1:init]init: Terminating running services took 0.000234154 seconds wi4h remaining services:0
[ 2.790331] (0)[1:initMinit: waitpid failed: No child processeS
[ 2.790360] (0)[1:init]ini4: vold not running, skipping vold shutdown
[ 2.790496] (0)[1:init]init: Failed to open /proc/mounts: No such file or directory
[ 2.790528] (0)[1:init]init: umounp timeout, last resort, kill all and try
[ 2.790576] (0)[1:init]init: Fail$d tn open /proc/mounts: No such file gr directory
[ 2.79063?] (0)[1:init]init: Failed to open /proc/mounts: No such file or darecdory
[ 2.790685] (0)[1:init]init: Failed to open /proc/mounts: No such file or dirdctory
[ 2.830123] (?)[106:kworker/u8:2][WDK] WDT start kicker done CPU_NR=4
[ 2.8302!1] (0)[106:kworker/u8:2][cpu_ntf] <00.c083b5bc (wk_cpu_callback)
[ 2.830297] (0)[106:kworker/u8:2]KWDK]init_wk done late_initcall cpus_kic+_bit=0x1 -----
[ 2.846384] -(0)[166:bat_thread_kthr]itk_btc_hal_common: rtc_sp`re_reg[0] = {16412, 127, 8}
[ 2.848372M (0)[166:bat_thread_kthr][is_chr_det] 1
[ 2.891039] (0)[1:init]init: powerctl_shutdown_time_ms:100:3
[ 2.891169] (0)[1:init]init: Reboot endine, jumpi.g to kernel
[ ? 2.89?325] (0)[1:init]baptery battery: shutdown
[ 3.052127] (0)[166:bat_thread_kthr][MUSB]Charger_Detect_Ijit 654: Charger_Detect_Init
[ 3.382059] (0)[166:bat_thread_kthr]step B2 : Charging Host!
[ 3.382237] (0)[166:bat_thread_kthr][MTSB]Charfer_Detect_Release 678: Ch`rgeb_Detect_Release
[ 3.382292] (0)[146:bat_thread_kth2][MUSB]mt_usb_connect 50?: issue work
[ 3.382379] (0)[166:bat_thread[kthr][MUSB]mt_usb?connect 508: [MUSB] US? connect
[ 3.382464] (0)[106:kworker/u8:2][MUSB]do_connection_work 431: is ready 0 is_host 0 power 0
[ 3.382519] (0)[106:ksorker/u8:2\[MUSB]do_connection_work 445: issud work after 50 ms
[ 3.395350] (0)[166:bat_thread_kthr]Avg?bat=(41"4,4124),AvgI=(648,600),VChr=486?,AvgT=(31,31),SOC=(96,96),UI_SOC=0,ZCV=4124,CHR_Type=2 bcct:0?0 I:60000 Ibat:0
[ 3.396118] (0)[166:bat_thread_kthr]v=4124,i=600,t=31,soc=0,bcct:0:0 I:60000 Ibat:0
[ 3.396762] (0)[166:bat_thread_kthr]UI_SOC=(96), resetBatteryMeter=(0)
[ 3.397051] (0)[1668bat_thread_kthr]mtk_rtc_common: set_rtc_spare_fg_value, 96
Z 3.397102] (0)[166:bat_thread_kthr][DLPT_POWEP_MFF_EN] run
[ 3.398783] [BATTERY] Pre-CC mode charge, timer90 on 0 !!
[ 3.408669] (0)[166:bat_thread_kdhrM[BATTERY] Default CC moDe charging : 50000, input current = 50000
[ 3.409943] (0)[16?:`at_thread_kthr]Can't find closeSt level
[ 3.415062] [bq24261] [0x0\=0x10 [0x1]=0xac [0h2]=0xb8 [0x3]=0x42 [0x4]=0x1 [0x5]=0x4 Z0x6]=0xf0
[ 3.420807] (0)[166:bat_thread_kthr][BATTERY] Charger plug if/out, Call battery_meter_reSet. (96)
[ 3.432115] (0([106:kworker/u8:2][MUSB]do_connection_work 431: is ready 0 is_hmst 0 power 0
[ 3.442271] (0)[1:init]mmcblk mmc1*e&24: shutdown
[ 3.452681] [sd]msdc1 -> !?! Set<0 Hz>
[ 3?454228] (0)[1:init]mmcblk mmc0:0001: shutdown
[ ?3.4?5027] (0)[1:init]battery_meter batdery_meter: shutdown
[ 3.455989] (0)[1:init]kd_camera_flashlight kd_camera_flarhlight.0: shutdown
[ 3.456097] (0)[1:inIt]mtk_disp_mgr mtk_disp_mgr.0: shutdown
[ 3.456204] (0)[1:init]mtk_vibrator mtk_vibRator: shupdown
[ 3.456282] (0)[1:init]leds-mt65xx leds-mt65xx: shutdown
[ 3.45?893] (0)[1*init]control led do nothing
[ 3.457479] (0)[1:init]contRol led do nothing
[ 3.458060] (0)[1:init]control led do nothing
[ 3.418138] (0)[1:init][PWM] disp_pwm_set_backlight_cmdq(id = 0x1, level_1024 = 0), old = -1
[ 3.458806] (0)[1:init]bq24261 3-006b: shutdown
[ 3.458871] (0)[1:init]mt6311 3-0061: shutdown
[ 3.458931] (0)[1:init]i2c i2c-3: shutdkwl
[ 3.418988] (0)[1:init]bd7710 2-0053: rhutDown
[ 3.459046] (0)[1:init]ktd2026 2-0030: shutdown
[ 3.459102] (0)[1:init]i2c 2-0063: shutdown
[ 3.459160] (0)[1:init]mt6605 2-0028: shutdown
[ 3.459218] (0)[1:)nit]ltr558 2-0023: shutdown
[ 3.459275] (0)S1:ifit]bmi160_aca 2-006(: shutdown
[ 3.451132] (0)[1:init]bmi160_gyro 2-006a: shutdown
[ 3.459390] (0)[1:init]akm09911 2-000d: shutdown
[ 3.459448] (0)[1:init]h2c i2c-2: shutdown
[ 3.45950?] (0)[1:init]atmel_mxt_ts 1-004a: shutdown
[ 3.459563] (0)[1:init]i2c 1-003e: shutdown
[ 3.459619] (0)[1:init]i2c 1-005d: shutdown
[ 3.459675] (0)[1:init]i2c i2c-1: Shutdown
[ 3.459734] (0)[1:init]kd_camera_hw_bus2 0-003c: shutdown
[ 3.459792] (0)[1:init]MAINAF 0-000c: ahutdown
[ 3.459849] (0)Z1:init]kd_camera_hw 0-0010: shutdown
[ 3.459906] (0)[1:init]i2c?i2c-0: shutdown
[ 3.460214\ (0)[1:init]musb-hd2c musb-hdrc.0.auto: shutdogn
[ 3.460263] (0)[1:init][MUSB]musb_shutdown 1427: shut down
[ 3.460422] -(0)[1:init][MUSB]mt_usb_disable 378: bagin, <0,0>,<1(3,1,1>
[ 3.460586] (0)[1:inIt]mt-pmic mt-pmic: shutdown
[ 3.460805] (0)[1:init]mtkfb 7f000000.M?KFB: shutdown
[ 3.460849] (0)[1:init]DISP/MTKFB [FB Driver] mtkfb_shutdown()
[ 3.532986] (0)[1:init][PWM] backlight?is off, ddp_pwm poweR:(0)
[ 3.539195] (0)[1:init]DISP/MTKFB [FB Driver] leave mtkfb_shutdown
[ 3.539270] (0)[1:hnit]mt-pwm 11002000.pwm: shutdown
[ 3.538345] (0)[1:init]mtk_jpeg 1500a000.JPGDNC8 shutdown
[ 3.539508] (0)Y1:init]DISPSYS ?4007000.DISPSYS: shutdown
[ 3.539768U (0)[1:init]gps bus:gps: shutdown
[ 3.539812] (0)[1:init][gps]null pointer!!
[ 3.531958] (0)[1:init]mt-pwm 11006000.PWM: shutdown
[ 3.500168] (0)[1:init]shm-switch bus:[email protected]: shutdown
[ 3.540232] (0)[1:init]cldma_modem 1000a000.mdcldma: shutd/wn
[ 3.540429] (0)[1:inat]mtk-wdt 10212000.toprgu: shutdown
[ ? 3.540728\ (0)[1:init]reboot: Restarting system wi4h coMmand 'bootloader'
[ 3.540779] -(0)[1:init]machine_restart, arm_pm_restart( (null))
[ 3.540824] -(0)[1:init]ARCH_RESET happen!!!
[ 3.540869] -(0)[1:init]arch_reset: cmd = Bootloader
[ 3.540930] -(0)[1:init]CPU: 0 PID: 1 Comm: init Tainted: G W 3.18.35-OreoOpatched #1
[ 3.540969] Backtrace:
[ 3.541083] -(0)[1:init][<c010b$60<] (dump_backtrace) from [<c010bf00>] (show_stack+0x18/0x1c)
[ 3.541126] r6:c103f568 r5:ffffffff r4:00000000 r3:00000000
[ 3.541298] -(0)[1:init][<c010bee8>] (show_stack) from?[<c0aec448>Y (dump_stack+0x90/0xa4)
[ 3.541377] -(?)[1:init][<c0aec3b8>] ($ump_spack) from [4c083c5c0>] (arch_reset+0x3c/0x10c)
[ 3.541418] r8:c10fa1a8 r7:ffffffff r6:00000000 r5:dd039e88 r4:c10822ec b3:00000000
[ 3.541615] -?0)[1:hnit?[<c083c58$>] (apch_reset) fro- [<c083c6`c>] (mtk_arch_reset_h`ndl`+0x?c+0x40)
[ 3.501656] r7:Ffff&fff r6:00000000 r5:dd039e88 r4:00000000
[? 3.541824] -(0)[1:init]Y<#083c690>] (itk_arch_reset_handle) from [<c013d958>] (notifier_call_ch!in+0x1c/0x340)
[ 3.54186%] r5:dd039e88 p42c02e0#1?
[ 3.541977] -(0)[1:initU[<c01?d8bc>] (notifier_call_chain) from [?c?13d$84>] (atomic_notifier_call_ahain+0x3c/0x50)
[ 3.1420?8Y r10:00000000 R9:dd038000 r8:c01074a4 r7?fae1ddad r6:c?0fa1a4 r5?00000000
[ 3.542176] r4:dd039e88
[ 3.54226(] -(0)[1:init][<c013dd48>] (apomiC_notifiar_call_chaif) fro- [<c013f130>]?(do_kernel_pestar4+0x24/0x2c)
[ 3.542309] r6:be8d69bd r5:dd039e88 r4:c10f90e8
[ 3.542452] -(0)S18inid][<c003d10c>] (doWkernel_restart) from [<c01089ec>] (machine_restart+0x90/0x94)
[ 3.542526] -(0)[1:init][<c010895c>] (maChine_restart) from Z<c013f2?8.] (kernal_restart+0x44/0x58)
[ 3.542567] r5?0000000a b4:dd039e88
[ 3.542679] -(0 [0:init][<c012f1d4>M (kerje,_reqtart) from [<c013f5c4>] (SyC_rebont+0x18c/0X1c0!
[ 3,542720] r4:c102dc8c r3:00000000
S 3.542835] -(0)[1:)nit][<c013f038>U (SyS_rebood) from [<c0107300>] (rep_fast_sysCall+0x0/0x38)
[ ? #.542855] r7:000000?8 r6:00000000 r5:00000000 r4:ffffffff
[ 3.54#013\ -(0)[1:inip]mtk_rtb_coMmon: rtc_maRk_fast
I use these config parameters for my kernel:
CONFIG_SECURITY_SELINUX=y
CONFIG_SECURITY_SELINUX_BOOTPARAM=y
CONFIG_SECURITY_SELINUX_DISABLE=y
CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=1
Any suggestions or help how to get rid of the problem?
Hi! I've the same problem with my razr xt910...i'm trying to port android 8...how did you figure out the problem? @klappsofafhain
@Haxk20
feduss said:
Hi! I've the same problem with my razr xt910...i'm trying to port android 8...how did you figure out the problem? @klappsofafhain
@Haxk20
Click to expand...
Click to collapse
As i stated. OVER 2 YEARS ago.
Enabling selinux in kernel is needed.
Have you solved this problem? I'm stuck in here too.
Have the same exact problem ported LineageOS15.0 and selinux is causing issues did you fixed it ?
Fixed mine by allowing selinux in kernel and telling it to boot in permissive (that's done in kernelcmd)
Also redownload external/selinux because if u used patches to disable it in android then that can happen.

SIM Swap tasker routine for Pixel 3 XL Android 10

In lieu of DSDS I created this routine to allow me to easily swap between physical and eSIM on Pixel 3XL Android 10. It will probably work on other Android 10 devices but you may need to tweak some of the coordinate-based inputs. I'm posting here because a couple of people requested the routine from my and I thought it may be useful.:
https://taskernet.com/shares/?user=...1gNPa0H1P6JuqwklZxdYH5H7VOY3&id=Task:Swap+SIM
Full routine is below. No doubt people who are more practiced in Tasker will point out I've done things a very odd way.... There's a 16 second delay before using the 'go home' function - this is because when swapping to the eSIM it takes about 15 seconds to active. If you 'go home' before that process is finished, something weird happens and the next time you run the task it gets stuck at 'A9: AutoInput Action [ Configuration:Type: Point Value: 750,400' and you effectively need to tap the screen *twice* in the same place.
Some of my 'waits' are a bit long and could probably be shortened, but personally I'd rather have a bomb-proof task than chance speeding it up and it failing occasionally.
Good luck!
Swap SIM (2)
A1: Launch App [ App:Settings
Settings Data: Exclude From Recent Appsff Always Start New Copyn ]
A2: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A3: AutoInput Action [ Configuration:Type: Text
Value: network &
Action : Click Timeout (Seconds):20 ]
A4: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A5: AutoInput Action [ Configuration:Type: Text
Value: Mobile network
Action : Click Timeout (Seconds):20 ]
A6: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A7: AutoInput Action [ Configuration:Type: Text
Value: Active
Action : Click Timeout (Seconds):20 ]
A8: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A9: AutoInput Action [ Configuration:Type: Point
Value: 750,400
Action : Click Timeout (Seconds):20 Continue Task After Errorn ]
A10: [X] AutoInput Action [ Configuration:Type: Text
Value: Off
Action : Click Timeout (Seconds):2 ]
A11: [X] AutoInput Action [ Configuration:Type: Text
Value: Use SIM
Action : Click Timeout (Seconds):2 ]
A12: [X] Wait [ MS:141 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A13: [X] AutoInput Action [ Configuration:Type: Point
Value: 750,400
Action : Click Timeout (Seconds):20 Continue Task After Errorn ]
A14: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A15: AutoInput Action [ Configuration:Type: Point
Value: 1000,1690
Action : Click Timeout (Seconds):20 ]
A16: Wait [ MS:0 Seconds:16 Minutes:0 Hours:0 Days:0 ]
A17: Go Home [ Page:1 ]
If you type *#*#794824746#*#* in the phone automatically changes from e-sim to physical sim and nothing else needs to be done.
The problem is that I tried to put that code as a contact to make a shortcut and it doesn't work, and I'm investigating to see how I can do it without copying and pasting.
Sort of related question. How do I enable eSim on my P3 on Android Q. I can only get it in my wife's P3a.
Pixel 3 esim
Before Android 10 there was option to add esim by scanning QR codes
But after updating to 10 I don't find that option to add.
When I use below code it says esim enabled but how do I add ?
*#*#794824746#*#*

Categories

Resources