SIM Swap tasker routine for Pixel 3 XL Android 10 - Google Pixel 3 Themes, Apps, and Mods

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#*#*

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.

[ROM][4.4.4]VanirAOSP[OFFICIAL][Samsung X Cover 2-GT-S7710]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Smooth like Butta
Follow on G+: Team Vanir
Vanir Team:
NuclearMistake
Sonicxml
DHO
PrimeDirective
Not all features are available yet.
Features:
Welcome to VanirAOSP. Our mission is to deliver a clean optimized version of Android with subtly improved versions of the features you love to as many devices as possible. we've tried to incorporate and improve our features in a way that makes them more cohesive to improve the overall user experience while correcting any performance regressions and improving functionality..
What to expect:
- This is not a McCopy ROM. What goes into our build is well thought-out and not a bunch of stuff duck taped together because we could.
- maximum optimization. We do our research. We test hard. We build -fstrict -O3 globally and include a massive array of code optimizations and memory leak fixes that we write ourselves and eventually submit to AOSP or Linaro.
- originality in our source. We generate a lot of new commits being features or general code improvements. We are open source to share and improve the community but we also try to make sure we offer a unique experience.
- aesthetics.. hopefully in your opinion
General features:
stock mode - ability revert to stock AOSP code with the exception of a few custom features we chose to keep active
enhanced performance.. longer uptime with less slowdown
custom written CRON and init.d.
UI and graphics improvements
custom navbar, navring, and hardware key features
improved notification handling (active display & halo are in review also)
usability improvements like power reboot menu and sound
animation control
Improved Vanir keyboard
CM's profiles & quicksettings
additional quicksetting tiles
immersive mode
statusbar mods
clock & battery mods
lockscreen blur and other mods
soon to come -> quick cam and flash notifications
busybox, embedded root, init.d, cron etc
yatta yatta yatta
more to come when i feel like updating the op
Changelog:
**Vanir Open Status
**Vanir Merged Status
Vanir Downloads:
**Nightlies
Recovery Downloads:
**CWM
Vanir Github:
**VanirAOSP Git
Gapps:
**4.4.2 PA Gapps
Installation Instructions
Make sure your using cwm above it's required
Full wipe
Install ROM
Install Gapps
Thanks
TeamVanir
Meticulus
Everyone here for keeping me inspired
Source
Kernel
Skomer device tree
Common device/Codinalte
Vendor
Changelog
** Initial Release **
- Booting now.
TODO:
Fix wifi
Not working
** Initial Release **
- Menu and back button
- Wifi
Working
Need some feedback
New build coming thanks to @frapeti for a fix for making the device tree even more common. Results in way less work. Now skomer and golden trees don't need modification at all. Anything done to codinalte will be used for golden and skomer.
edit: To fix confusion codinalte builds aren't compatible. It just allows skomer device tree to take our code and use it without having to maintain more source.
3/21/14 Build now available
Makes sure your using my cwm
* Upstream CyanogenMod updates
* Upstream Vanir Updates
* Codinalte Relocate keylayouts per device
* Skomer and Golden copy ramdisk files from codinalte to minimize the amount of code to maintain
* Codinalte minor clean up of files. Removed unneeded files and configs
* Skomer added device specific gpio-keys to fix home , menu , and back button
* WIFI??? Please report back.
* Device tree is now available to compile for any rom. Previously is was not clean and had errors
Always a logcat is needed when you report a problem and is much appreciated.
http://www.androidfilehost.com/?fid=23329332407580741
Could someone pull config?
adb pull proc/config.gz thank you
Wifi fixed
https://github.com/Team-Exhibit/vendor_samsung/commit/71e446b6871a252ab97de5cb66980b8d495e6cc6
Hi,
I did some testing with the vanir_skomer_4.4.2.032114 build.
- no mobile network, ROM couldn't find my SIM or any network.
- no WiFi, it was greyed out in both the pull menu and settings. I couldn't enable it.
- on 1st boot, Home and Back buttons worked but on the 2nd boot I somehow lost that functionality
I had similar problems with flxo's cm builds. I flashed from the stock if that matters anything.
Otherwise looks like a nice ROM
Also CWM seems to work ok.
I managed to get a logcat, hopefully it helps.
doh, I forgot to pull that config you requested. I'll try keep it on my mind next time I flash..
Alexerik said:
How to create a bug report? I tested the new build and network is ok for me but wifi dnd work at all. . and sd card isn't recognized.
Click to expand...
Click to collapse
There are several ways to get logcat, I used adb.
Please refer these links:
http://forum.xda-developers.com/showthread.php?t=1726238
http://forum.xda-developers.com/showthread.php?t=1378491
3/23/14 build now available
* Upstream Vanir changes/CM changes
* Fixed wifi
* Low volume in call merged
* Fixed issue with vold not mounting sdcard
* Removed some golden specific init things
* Semi stable build ????
http://www.androidfilehost.com/?fid=23329332407581158
Unjustified Dev said:
Could someone pull config?
adb pull proc/config.gz thank you
Click to expand...
Click to collapse
Here is the proc/config.gz as you requested.
I tested vanir_skomer_4.4.2.032314 build.
- Can confirm that WiFi works now.
- I still dont have mobile network. (can provide another logcat if that's necessary.)
- On the 1st boot, none of the hardware keys (home, back, menu etc.) worked except the power button. On 2nd boot all buttons started to work (kinda weird).
I can't comment on low volume in call or builds stability due to problem I listed above ^^.
Great job anyways
seems to work quite nicely now!
not sure if it is of interest, or the right place to discuss, but is it possible to give some of the free memory in the system partition to data, so that we might have a chance to enjoy art even with a moderate number of user apps? i ran into problems with 60 apps. didn't have enough time to check if something was wrong with the foldermounts, but i think in general on the s7710 we have too much system...
nice work with the rom and thanks for reviving s7710 development, the 03-23 version worked flawlessly in my super short test! :silly:
edit: link2sd was in operation, so that was not the culprit.
vastus said:
Here is the proc/config.gz as you requested.
I tested vanir_skomer_4.4.2.032314 build.
- Can confirm that WiFi works now.
- I still dont have mobile network. (can provide another logcat if that's necessary.)
- On the 1st boot, none of the hardware keys (home, back, menu etc.) worked except the power button. On 2nd boot all buttons started to work (kinda weird).
I can't comment on low volume in call or builds stability due to problem I listed above ^^.
Great job anyways
Click to expand...
Click to collapse
I have the config dump that was for the kernel thanks. I'm still not understanding the internet problem some say it work some say it takes 7-10 minutes before it connects. I'm a bit confused.
adb logcat -b radio > radio.txt
this will create radio.txt which you can upload.
To ensure everything is correct did you wipe data , format system , and wipe dalvik cache before flashing?
Unjustified Dev said:
I have the config dump that was for the kernel thanks. I'm still not understanding the internet problem some say it work some say it takes 7-10 minutes before it connects. I'm a bit confused.
adb logcat -b radio > radio.txt
this will create radio.txt which you can upload.
To ensure everything is correct did you wipe data , format system , and wipe dalvik cache before flashing?
Click to expand...
Click to collapse
Okay, I tried again and this time I left phone on the table for 30 mins, no signal. :|
Yes, I always wipe data, format /system and wipe dalvik cache, when switching roms.
Here's radio logcat.
Testing..
Using latest build for some hours:
Phone line OK GSM+3g
Wi fi Semi OK something needs a cache + dalvik reset to work
Phone call volume OK
Average impression: really good keep testing thanx 4 your work!
Sent from my GT-S7710 using xda app-developers app
Hello
At first: thx a lot for that thread. I am gona test this rom as soon as possible (when i switch my primary phone to SIII mini).
and about radio:
i remember from forum, that Some X Cover 2 phones with cyanogenmod have GSM problems.
i saw 2 types:
1.) no network at all - that was fixed by wiping system partition before flash
2.) low signal, long singon, and often singal lost,
i have device with same problems - original and rooted rom works fine, with perfect signal, and fast gms search.
Cyanogenmod (10.2 alpha 8, and 10.2 alpha 10) make GSM issues - long time to sing into gsm, and very often singout. when i make a call, it was interupted in about 20 second, and i got no network signal for a while.
p.s. sorry for my english
maurensen said:
Testing..
Using latest build for some hours:
Phone line OK GSM+3g
Wi fi Semi OK something needs a cache + dalvik reset to work
Average impression: really good keep testing thanx 4 your work!
Sent from my GT-S7710 using xda app-developers app
Click to expand...
Click to collapse
Hey,
At first thanks for your awesome work I've just tested your ROM and everything works at least as god as in flxo latest CM10.2 ROM but I noticed one annoying thing: touchscreen dosn't work on very bottom of screen. To turn on applications on home screen i need to aim at the upper part of icon. I also noticed that it's imposible to turn on live wallpapers.
btw: sorry for my english
Also I've noticed that the touch on bottom of the screen is not working well( for ex if I have keyboard open I have to press two or three times to get keys on bottom screen to be detected).
BTW I have often some random reboot but the rest of the Rom is working well so for now I think I'll not switch back to flxo 's CM 10.2 and try to use 24/7 this nice rom.
Thanx for your work unjustified dev!
Sent from my GT-S7710 using xda app-developers app
maurensen said:
I have often some random reboot but the rest of the Rom is working well
Click to expand...
Click to collapse
I also have problem with random reboots
Code:
[ 1433.318023] CPU1: shutdown
[ 1449.938720] ux500_pm_gpio_save_wake_up_status: bank6: 0x01000000
[ 1449.938751] Returning from ApDeepSleep. PRCMU ret: 0xf6 - Success
[ 1449.939575] Wakeup Status: 0x20000000
[ 1449.939727] DVFS Governor Policy set to - ondemand
[ 1449.948120] PM: early resume of devices complete after 0.915 msecs
[ 1449.948577] wakeup wake lock: wlan_wake
[ 1449.962463] -> NCP6914_i2c_resume()
[ 1449.962493] <- NCP6914_i2c_resume() = 0
[ 1449.962524] bma254_resume: is called
[ 1449.962524] hscd_resume: is called
[ 1450.040283] bcmsdh_sdmmc_resume Enter
[ 1450.040283] bcmsdh_sdmmc_resume Enter
[ 1450.042327] [rtc_resume] AP RTC TIME: 1970.01.01 - 00:00:00 called
[ 1450.042358] [rtc_resume] PMIC RTC TIME: 2014.03.24 - 20:01:53 called
[ 1450.042358] [rtc_resume] SYSTEM TIME: 2014.03.24 - 20:01:53 called
[ 1450.042358] [rtc_resume] delta.tv_sec: 0 delta.tv_nsec: 0
[ 1450.042388] [rtc_resume] delta_delta.tv_sec: -1 delta_delta.tv_nsec: 526663808
[ 1450.044799] PM: resume of devices complete after 94.798 msecs
[ 1450.045440] DVFS Governor Policy set to - ondemand
[ 1450.045440] new min and max freqs are 200000 - 1000000 kHz
[ 1450.045471] Restarting tasks ...
[ 1450.046203] hub 1-0:1.0: activate --> -22
[ 1450.092407] done.
[ 1450.092956] [Message To CP] Ret: 13
[ 1450.092956] [writePacketToFile]request byte length = 13, return byte = 13
[ 1450.092987] tx_ap_state(WAKEUP): 0
[ 1450.092987] suspend: exit suspend, ret = 0 (2014-03-24 20:01:53.550652880 UTC)
[ 1450.094268] Enabling non-boot CPUs ...
[ 1450.095092] sec-battery sec-battery: sec_bat_get_battery_info: Connected, SOC(95%)
[ 1450.095123] sec-battery sec-battery: sec_bat_get_battery_info: Vnow(4259mV), Vavg(1618mV), Vocv(1618mV)
[ 1450.095123] sec-battery sec-battery: sec_bat_get_battery_info: Inow(-146mA), Iavg(-104mA), Iadc(0)
[ 1450.095153] sec-battery sec-battery: sec_bat_get_battery_info: Tbat(236), Tamb(700)
[ 1450.096435] sec-battery sec-battery: sec_bat_monitor_work: Status(Discharging), Health(Good), Cable(1)
[ 1450.120971] CPU1: Booted secondary processor
[ 1450.122131] Switched to NOHz mode on CPU #1
[ 1450.142974] CPU1 is up
[ 1450.719390] ab8500-fg ab8500-fg.0: [FG_DATA] 1618mAh/1700mAh 95% (Prev 1623mAh 95%) 4277mV -233mA -104mA -578 0 0 5 1 1 143 95 0 0 0
[ 1450.895233] ux500_pm_gpio_save_wake_up_status: bank6: 0x01000000
[ 1450.895416] Wakeup Status: 0x20000000
[ 1451.698974] Unable to handle kernel NULL pointer dereference at virtual address 00000010
[ 1451.699005] pgd = e3d34000
[ 1451.699005] [00000010] *pgd=00000000
[ 1451.699035] Internal error: Oops: 5 [#1] PREEMPT SMP
[ 1451.699035] dbx500_dump notified of crash
[ 1451.701354] Modules linked in: dhd bthid param(P) j4fs(P)
[ 1451.701385] CPU: 1 Tainted: P W (3.0.31+ #1)
[ 1451.701415] PC is at disable_led_notification+0x34/0xc0
[ 1451.701446] LR is at notification_led_status_write+0x4c/0x110
[ 1451.701477] pc : [<c03717f0>] lr : [<c0371a1c>] psr: 200b0013
[ 1451.701477] sp : e3cffec0 ip : 00000000 fp : e3cffed4
[ 1451.701477] r10: c06b0758 r9 : e6584808 r8 : e658f8a8
[ 1451.701507] r7 : e39bee60 r6 : e3cfff78 r5 : e39bee78 r4 : c0fa9460
[ 1451.701507] r3 : 00000001 r2 : 00000000 r1 : c086dd43 r0 : 00000001
[ 1451.701538] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 1451.701538] Control: 10c5787d Table: 23d3404a DAC: 00000015
[ 1451.701568]
[ 1451.701568] PC: 0xc0371770:
(... dump data ...)
[ 1451.706420] [<c03717f0>] (disable_led_notification+0x34/0xc0) from [<c0371a1c>] (notification_led_status_write+0x4c/0x110)
[ 1451.706451] [<c0371a1c>] (notification_led_status_write+0x4c/0x110) from [<c0353878>] (dev_attr_store+0x28/0x34)
[ 1451.706481] [<c0353878>] (dev_attr_store+0x28/0x34) from [<c01bad5c>] (sysfs_write_file+0x178/0x1a8)
[ 1451.706512] [<c01bad5c>] (sysfs_write_file+0x178/0x1a8) from [<c01633fc>] (vfs_write+0xac/0x150)
[ 1451.706542] [<c01633fc>] (vfs_write+0xac/0x150) from [<c01636b4>] (sys_write+0x48/0x80)
[ 1451.706573] [<c01636b4>] (sys_write+0x48/0x80) from [<c0067a00>] (ret_fast_syscall+0x0/0x30)
[ 1451.706573] Code: e5d43008 e3530000 0a000017 e594c00c (e59c2010)
[ 1451.706603] CPU0: stopping
[ 1451.706634] [<c006f00c>] (unwind_backtrace+0x0/0x144) from [<c0670c34>] (dump_stack+0x20/0x24)
[ 1451.706665] [<c0670c34>] (dump_stack+0x20/0x24) from [<c0060694>] (do_IPI+0x200/0x23c)
[ 1451.706695] [<c0060694>] (do_IPI+0x200/0x23c) from [<c006744c>] (__irq_svc+0x4c/0xe8)
[ 1451.706695] Exception stack(0xc0939e80 to 0xc0939ec8)
[ 1451.706726] 9e80: c0fd1d34 600f0093 00000001 00000000 6817667c 00000048 00000f23 00000001
[ 1451.706726] 9ea0: 67dc4498 00000048 00000001 c0939f5c c0939e50 c0939ec8 c04361c0 c04334a0
[ 1451.706756] 9ec0: 600f0013 ffffffff
[ 1451.706787] [<c006744c>] (__irq_svc+0x4c/0xe8) from [<c04334a0>] (enter_sleep+0x3ec/0x7e0)
[ 1451.706787] [<c04334a0>] (enter_sleep+0x3ec/0x7e0) from [<c0430f54>] (cpuidle_idle_call+0xc8/0x2fc)
[ 1451.706817] [<c0430f54>] (cpuidle_idle_call+0xc8/0x2fc) from [<c0068a30>] (cpu_idle+0xcc/0x120)
[ 1451.706848] [<c0068a30>] (cpu_idle+0xcc/0x120) from [<c065ef3c>] (rest_init+0x94/0xac)
[ 1451.706878] [<c065ef3c>] (rest_init+0x94/0xac) from [<c0008a90>] (start_kernel+0x3fc/0x490)
[ 1451.706878] [<c0008a90>] (start_kernel+0x3fc/0x490) from [<00008040>] (0x8040)
[ 1451.707031] fd_line_length=1920
[ 1451.707031] Oops
[ 1451.707061] Kernel panic!!. Please connect the phone to PC
[ 1451.707244] enable capture and press the volume down key to get the
[ 1451.707458] kernel log. Repeat if required.
[ 1451.707550] Press volume up to enter upload mode.
[ 1451.717437] Board Information: UX500: 6C, cpu U8500 ES178
[ 1451.717468] ---[ end trace 2b6060ff815a1cef ]---
[ 1451.717468] Kernel panic - not syncing: Fatal exception
[ 1451.717529] [<c006f00c>] (unwind_backtrace+0x0/0x144) from [<c0670c34>] (dump_stack+0x20/0x24)
[ 1451.717559] [<c0670c34>] (dump_stack+0x20/0x24) from [<c06710fc>] (panic+0x80/0x2c0)
[ 1451.717590] [<c06710fc>] (panic+0x80/0x2c0) from [<c006bad4>] (die+0x1dc/0x214)
[ 1451.717590] [<c006bad4>] (die+0x1dc/0x214) from [<c0670c9c>] (__do_kernel_fault.part.2+0x64/0x84)
[ 1451.717620] [<c0670c9c>] (__do_kernel_fault.part.2+0x64/0x84) from [<c0073980>] (do_page_fault+0x278/0x378)
[ 1451.717651] [<c0073980>] (do_page_fault+0x278/0x378) from [<c0073bc0>] (do_translation_fault+0xa8/0xb0)
[ 1451.717681] [<c0073bc0>] (do_translation_fault+0xa8/0xb0) from [<c0060218>] (do_DataAbort+0x44/0xac)
[ 1451.717681] [<c0060218>] (do_DataAbort+0x44/0xac) from [<c00673d0>] (__dabt_svc+0x70/0xa0)
[ 1451.717712] Exception stack(0xe3cffe78 to 0xe3cffec0)
[ 1451.717712] fe60: 00000001 c086dd43
[ 1451.717742] fe80: 00000000 00000001 c0fa9460 e39bee78 e3cfff78 e39bee60 e658f8a8 e6584808
[ 1451.717742] fea0: c06b0758 e3cffed4 00000000 e3cffec0 c0371a1c c03717f0 200b0013 ffffffff
[ 1451.717773] [<c00673d0>] (__dabt_svc+0x70/0xa0) from [<c03717f0>] (disable_led_notification+0x34/0xc0)
[ 1451.717803] [<c03717f0>] (disable_led_notification+0x34/0xc0) from [<c0371a1c>] (notification_led_status_write+0x4c/0x110)
[ 1451.717834] [<c0371a1c>] (notification_led_status_write+0x4c/0x110) from [<c0353878>] (dev_attr_store+0x28/0x34)
[ 1451.717864] [<c0353878>] (dev_attr_store+0x28/0x34) from [<c01bad5c>] (sysfs_write_file+0x178/0x1a8)
[ 1451.717864] [<c01bad5c>] (sysfs_write_file+0x178/0x1a8) from [<c01633fc>] (vfs_write+0xac/0x150)
[ 1451.717895] [<c01633fc>] (vfs_write+0xac/0x150) from [<c01636b4>] (sys_write+0x48/0x80)
[ 1451.717926] [<c01636b4>] (sys_write+0x48/0x80) from [<c0067a00>] (ret_fast_syscall+0x0/0x30)
[ 1451.718048] machine_restart: lockup
[ 1451.718078] machine_restart: cmd: LockUp
[ 1451.718078] machine_restart: reboot_mode: L
[ 1451.718078] machine_restart: arm_pm_restart: 0xc0078380
[ 1451.718078] ux500_restart: Call arch_reset(), mode: L, cmd: LockUp
After some reboots no more random resets.. Good... Using from some hours and the Rom now seems solid not as flxo cm10.2 but very usable!
I'm going to keep it!
BTW switched to Art runtime just to try it with no problems so far...
Very nice Rim very customizable
Sent from my GT-S7710 using xda app-developers app
MDobak said:
I also have problem with random reboots
Code:
[ 1433.318023] CPU1: shutdown
[ 1449.938720] ux500_pm_gpio_save_wake_up_status: bank6: 0x01000000
[ 1449.938751] Returning from ApDeepSleep. PRCMU ret: 0xf6 - Success
[ 1449.939575] Wakeup Status: 0x20000000
[ 1449.939727] DVFS Governor Policy set to - ondemand
[ 1449.948120] PM: early resume of devices complete after 0.915 msecs
[ 1449.948577] wakeup wake lock: wlan_wake
[ 1449.962463] -> NCP6914_i2c_resume()
[ 1449.962493] <- NCP6914_i2c_resume() = 0
[ 1449.962524] bma254_resume: is called
[ 1449.962524] hscd_resume: is called
[ 1450.040283] bcmsdh_sdmmc_resume Enter
[ 1450.040283] bcmsdh_sdmmc_resume Enter
[ 1450.042327] [rtc_resume] AP RTC TIME: 1970.01.01 - 00:00:00 called
[ 1450.042358] [rtc_resume] PMIC RTC TIME: 2014.03.24 - 20:01:53 called
[ 1450.042358] [rtc_resume] SYSTEM TIME: 2014.03.24 - 20:01:53 called
[ 1450.042358] [rtc_resume] delta.tv_sec: 0 delta.tv_nsec: 0
[ 1450.042388] [rtc_resume] delta_delta.tv_sec: -1 delta_delta.tv_nsec: 526663808
[ 1450.044799] PM: resume of devices complete after 94.798 msecs
[ 1450.045440] DVFS Governor Policy set to - ondemand
[ 1450.045440] new min and max freqs are 200000 - 1000000 kHz
[ 1450.045471] Restarting tasks ...
[ 1450.046203] hub 1-0:1.0: activate --> -22
[ 1450.092407] done.
[ 1450.092956] [Message To CP] Ret: 13
[ 1450.092956] [writePacketToFile]request byte length = 13, return byte = 13
[ 1450.092987] tx_ap_state(WAKEUP): 0
[ 1450.092987] suspend: exit suspend, ret = 0 (2014-03-24 20:01:53.550652880 UTC)
[ 1450.094268] Enabling non-boot CPUs ...
[ 1450.095092] sec-battery sec-battery: sec_bat_get_battery_info: Connected, SOC(95%)
[ 1450.095123] sec-battery sec-battery: sec_bat_get_battery_info: Vnow(4259mV), Vavg(1618mV), Vocv(1618mV)
[ 1450.095123] sec-battery sec-battery: sec_bat_get_battery_info: Inow(-146mA), Iavg(-104mA), Iadc(0)
[ 1450.095153] sec-battery sec-battery: sec_bat_get_battery_info: Tbat(236), Tamb(700)
[ 1450.096435] sec-battery sec-battery: sec_bat_monitor_work: Status(Discharging), Health(Good), Cable(1)
[ 1450.120971] CPU1: Booted secondary processor
[ 1450.122131] Switched to NOHz mode on CPU #1
[ 1450.142974] CPU1 is up
[ 1450.719390] ab8500-fg ab8500-fg.0: [FG_DATA] 1618mAh/1700mAh 95% (Prev 1623mAh 95%) 4277mV -233mA -104mA -578 0 0 5 1 1 143 95 0 0 0
[ 1450.895233] ux500_pm_gpio_save_wake_up_status: bank6: 0x01000000
[ 1450.895416] Wakeup Status: 0x20000000
[ 1451.698974] Unable to handle kernel NULL pointer dereference at virtual address 00000010
[ 1451.699005] pgd = e3d34000
[ 1451.699005] [00000010] *pgd=00000000
[ 1451.699035] Internal error: Oops: 5 [#1] PREEMPT SMP
[ 1451.699035] dbx500_dump notified of crash
[ 1451.701354] Modules linked in: dhd bthid param(P) j4fs(P)
[ 1451.701385] CPU: 1 Tainted: P W (3.0.31+ #1)
[ 1451.701415] PC is at disable_led_notification+0x34/0xc0
[ 1451.701446] LR is at notification_led_status_write+0x4c/0x110
[ 1451.701477] pc : [<c03717f0>] lr : [<c0371a1c>] psr: 200b0013
[ 1451.701477] sp : e3cffec0 ip : 00000000 fp : e3cffed4
[ 1451.701477] r10: c06b0758 r9 : e6584808 r8 : e658f8a8
[ 1451.701507] r7 : e39bee60 r6 : e3cfff78 r5 : e39bee78 r4 : c0fa9460
[ 1451.701507] r3 : 00000001 r2 : 00000000 r1 : c086dd43 r0 : 00000001
[ 1451.701538] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 1451.701538] Control: 10c5787d Table: 23d3404a DAC: 00000015
[ 1451.701568]
[ 1451.701568] PC: 0xc0371770:
(... dump data ...)
[ 1451.706420] [<c03717f0>] (disable_led_notification+0x34/0xc0) from [<c0371a1c>] (notification_led_status_write+0x4c/0x110)
[ 1451.706451] [<c0371a1c>] (notification_led_status_write+0x4c/0x110) from [<c0353878>] (dev_attr_store+0x28/0x34)
[ 1451.706481] [<c0353878>] (dev_attr_store+0x28/0x34) from [<c01bad5c>] (sysfs_write_file+0x178/0x1a8)
[ 1451.706512] [<c01bad5c>] (sysfs_write_file+0x178/0x1a8) from [<c01633fc>] (vfs_write+0xac/0x150)
[ 1451.706542] [<c01633fc>] (vfs_write+0xac/0x150) from [<c01636b4>] (sys_write+0x48/0x80)
[ 1451.706573] [<c01636b4>] (sys_write+0x48/0x80) from [<c0067a00>] (ret_fast_syscall+0x0/0x30)
[ 1451.706573] Code: e5d43008 e3530000 0a000017 e594c00c (e59c2010)
[ 1451.706603] CPU0: stopping
[ 1451.706634] [<c006f00c>] (unwind_backtrace+0x0/0x144) from [<c0670c34>] (dump_stack+0x20/0x24)
[ 1451.706665] [<c0670c34>] (dump_stack+0x20/0x24) from [<c0060694>] (do_IPI+0x200/0x23c)
[ 1451.706695] [<c0060694>] (do_IPI+0x200/0x23c) from [<c006744c>] (__irq_svc+0x4c/0xe8)
[ 1451.706695] Exception stack(0xc0939e80 to 0xc0939ec8)
[ 1451.706726] 9e80: c0fd1d34 600f0093 00000001 00000000 6817667c 00000048 00000f23 00000001
[ 1451.706726] 9ea0: 67dc4498 00000048 00000001 c0939f5c c0939e50 c0939ec8 c04361c0 c04334a0
[ 1451.706756] 9ec0: 600f0013 ffffffff
[ 1451.706787] [<c006744c>] (__irq_svc+0x4c/0xe8) from [<c04334a0>] (enter_sleep+0x3ec/0x7e0)
[ 1451.706787] [<c04334a0>] (enter_sleep+0x3ec/0x7e0) from [<c0430f54>] (cpuidle_idle_call+0xc8/0x2fc)
[ 1451.706817] [<c0430f54>] (cpuidle_idle_call+0xc8/0x2fc) from [<c0068a30>] (cpu_idle+0xcc/0x120)
[ 1451.706848] [<c0068a30>] (cpu_idle+0xcc/0x120) from [<c065ef3c>] (rest_init+0x94/0xac)
[ 1451.706878] [<c065ef3c>] (rest_init+0x94/0xac) from [<c0008a90>] (start_kernel+0x3fc/0x490)
[ 1451.706878] [<c0008a90>] (start_kernel+0x3fc/0x490) from [<00008040>] (0x8040)
[ 1451.707031] fd_line_length=1920
[ 1451.707031] Oops
[ 1451.707061] Kernel panic!!. Please connect the phone to PC
[ 1451.707244] enable capture and press the volume down key to get the
[ 1451.707458] kernel log. Repeat if required.
[ 1451.707550] Press volume up to enter upload mode.
[ 1451.717437] Board Information: UX500: 6C, cpu U8500 ES178
[ 1451.717468] ---[ end trace 2b6060ff815a1cef ]---
[ 1451.717468] Kernel panic - not syncing: Fatal exception
[ 1451.717529] [<c006f00c>] (unwind_backtrace+0x0/0x144) from [<c0670c34>] (dump_stack+0x20/0x24)
[ 1451.717559] [<c0670c34>] (dump_stack+0x20/0x24) from [<c06710fc>] (panic+0x80/0x2c0)
[ 1451.717590] [<c06710fc>] (panic+0x80/0x2c0) from [<c006bad4>] (die+0x1dc/0x214)
[ 1451.717590] [<c006bad4>] (die+0x1dc/0x214) from [<c0670c9c>] (__do_kernel_fault.part.2+0x64/0x84)
[ 1451.717620] [<c0670c9c>] (__do_kernel_fault.part.2+0x64/0x84) from [<c0073980>] (do_page_fault+0x278/0x378)
[ 1451.717651] [<c0073980>] (do_page_fault+0x278/0x378) from [<c0073bc0>] (do_translation_fault+0xa8/0xb0)
[ 1451.717681] [<c0073bc0>] (do_translation_fault+0xa8/0xb0) from [<c0060218>] (do_DataAbort+0x44/0xac)
[ 1451.717681] [<c0060218>] (do_DataAbort+0x44/0xac) from [<c00673d0>] (__dabt_svc+0x70/0xa0)
[ 1451.717712] Exception stack(0xe3cffe78 to 0xe3cffec0)
[ 1451.717712] fe60: 00000001 c086dd43
[ 1451.717742] fe80: 00000000 00000001 c0fa9460 e39bee78 e3cfff78 e39bee60 e658f8a8 e6584808
[ 1451.717742] fea0: c06b0758 e3cffed4 00000000 e3cffec0 c0371a1c c03717f0 200b0013 ffffffff
[ 1451.717773] [<c00673d0>] (__dabt_svc+0x70/0xa0) from [<c03717f0>] (disable_led_notification+0x34/0xc0)
[ 1451.717803] [<c03717f0>] (disable_led_notification+0x34/0xc0) from [<c0371a1c>] (notification_led_status_write+0x4c/0x110)
[ 1451.717834] [<c0371a1c>] (notification_led_status_write+0x4c/0x110) from [<c0353878>] (dev_attr_store+0x28/0x34)
[ 1451.717864] [<c0353878>] (dev_attr_store+0x28/0x34) from [<c01bad5c>] (sysfs_write_file+0x178/0x1a8)
[ 1451.717864] [<c01bad5c>] (sysfs_write_file+0x178/0x1a8) from [<c01633fc>] (vfs_write+0xac/0x150)
[ 1451.717895] [<c01633fc>] (vfs_write+0xac/0x150) from [<c01636b4>] (sys_write+0x48/0x80)
[ 1451.717926] [<c01636b4>] (sys_write+0x48/0x80) from [<c0067a00>] (ret_fast_syscall+0x0/0x30)
[ 1451.718048] machine_restart: lockup
[ 1451.718078] machine_restart: cmd: LockUp
[ 1451.718078] machine_restart: reboot_mode: L
[ 1451.718078] machine_restart: arm_pm_restart: 0xc0078380
[ 1451.718078] ux500_restart: Call arch_reset(), mode: L, cmd: LockUp
Click to expand...
Click to collapse
Next time you get a reboot turn off WiFi. Then see if after that it reboots? This is the same problem on my device. I just released a test build for them in which I think it's fixed.

[TASKER] Android Wear as Trusted Device and Leash via Tasker

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.

[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?

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.

Categories

Resources