Assembler, please help ! - General Questions and Answers

Help me with this assembler code:
http://www.oliford.co.uk/hpipaq214/private/disassembly/c/usbflash.S
http://www.oliford.co.uk/hpipaq214/private/disassembly/b/sram.S
first is wm bootloader, second obm - oem boot module, this data are taken from ipaq 214 via haret, i'm searching for key combination to activate wm bootloader, we know combination to act on obm, but i dont want it, i want talk to wm bootloader, here is code which tracks keys for obm:
Code:
17388: e3a01075 mov r1, #117 ; 0x75 @ get?GPIO(117) (keypad in 2)
1738c: eb001562 bl 0x1c91c
17390: e59d3000 ldr r3, [sp]
17394: e59f405c ldr r4, [pc, #92] ; 0x173f8 @ = 0000e1fc = ROM text
17398: e3530001 cmp r3, #1 ; 0x1 @
1739c: 1a000003 bne 0x173b0 @ if(gpio 117 on/off?){
173a0: e284000c add r0, r4, #12 ; 0xc
173a4: e3a05001 mov r5, #1 ; 0x1 r5 = 1
173a8: eb00053e bl 0x188a8 @ dbg "flag_LS1"
173ac: ea000000 b 0x173b4 @ }else{
173b0: e3a05000 mov r5, #0 ; 0x0 @ r5 = 0
173b4: e3a00101 mov r0, #1073741824 ; 0x40000000 @ }
173b8: e380060e orr r0, r0, #14680064 ; 0xe00000
173bc: e28d2000 add r2, sp, #0 ; 0x0
173c0: e3a01076 mov r1, #118 ; 0x76
173c4: eb001554 bl 0x1c91c @ get?GPIO(117) (keypad in 2)
173c8: e59d3000 ldr r3, [sp]
173cc: e3530001 cmp r3, #1 ; 0x1 @
173d0: 1a000003 bne 0x173e4 @ if( gpio 118 on/off?){
173d4: e1a00004 mov r0, r4
173d8: e3a04001 mov r4, #1 ; 0x1 r4 = 1;
173dc: eb000531 bl 0x188a8 @ dbg "flag_LS2"
173e0: ea000000 b 0x173e8 @ }else{
173e4: e3a04000 mov r4, #0 ; 0x0 @ r4 = 0
173e8: e0040005 and r0, r4, r5 @ } return r4 & r5;
173ec: e28dd004 add sp, sp, #4 ; 0x4
173f0: e8bd4030 ldmia sp!, {r4, r5, lr}
173f4: e12fff1e bx lr
--data--
173f8: 0000e1fc streqd lr, [r0], -ip @ MFP GPIOS:
173fc: 40e10660 rscmi r0, r1, r0, ror #12 @ 123 = keypad matrix
17400: 40e1065c rscmi r0, r1, ip, asr r6 @ 122 = keypad
17404: 40e10658 rscmi r0, r1, r8, asr r6 @ 121 = keypad
17408: 40e1064c rscmi r0, r1, ip, asr #12 @ 118 = keypad
1740c: 40e10648 rscmi r0, r1, r8, asr #12 @ 117 = keypad
17410: 40e10644 rscmi r0, r1, r4, asr #12 @ 116 = keypad
17414: 40e10640 rscmi r0, r1, r0, asr #12 @ 115 = keypad
--notes--
turns on keypad output lines on GPIO 121 (keypad out 0)
tests keypad lines on gpios 117 (in 2) and 118 (in 3)
(out0-in2) --> flag_LS1
(out0-in2) --> flag_LS2
returns 1 if both are set, else 0
is buttons A and B (calendar and windows keys) - vertified by watching voltage!
--end sub proc --
--begin sub proc--
@seems to be along lines of: if certain keys are on, read MMC and do stuff
e1f8 -> 2035c
17418: e92d4010 stmdb sp!, {r4, lr}
1741c: ebffff82 bl 0x1722c @call keypad related thing
17420: e3500000 cmp r0, #0 ; 0x0 @if(both pressed)
17424: 0a00000e beq 0x17464 @ return;
17428: e59f403c ldr r4, [pc, #60] ; 0x1746c @ = 0000e1f8 = ROM
1742c: e28400dc add r0, r4, #220 ; 0xdc @ r0 = e1f8+220 = "BLDIAG.nb0"
17430: ebfffe30 bl 0x16cf8 @ loadImageMMC()
17434: e3500001 cmp r0, #1 ; 0x1 @ if(failed)
17438: 1a000007 bne 0x1745c @ goto fail
1743c: e2840f71 add r0, r4, #452 ; 0x1c4
17440: eb000518 bl 0x188a8 @ dbg "BLDIAG.nb0"
17444: eb00057d bl 0x18a40 @ call ?() - (maintains r4)
17448: ebfff88b bl 0x1567c @ setCPSR_fc_7()
1744c: e5940000 ldr r0, [r4] @ r0 = 0x83900000 - verified
17450: ebfff85d bl 0x155cc @finalJump(0x83900000)
and here is code which tracks buttons to activate wm bootloader, unfortunatly i dont know assembler... i need someone who can tell me which keys this code search
Code:
7c90: e59d3000 ldr r3, [sp]
7c94: e59f0024 ldr r0, [pc, #36] ; 0x7cc0
7c98: e3530001 cmp r3, #1 ; 0x1
7c9c: 05953000 ldreq r3, [r5]
7ca0: 03833010 orreq r3, r3, #16 ; 0x10
7ca4: 05853000 streq r3, [r5]
7ca8: e5951000 ldr r1, [r5]
7cac: eb0027dc bl 0x11c24 @ dbg_out("Boot Key Press: 0x%x",r1)
7cb0: e3a00001 mov r0, #1 ; 0x1
7cb4: e28dd004 add sp, sp, #4 ; 0x4
7cb8: e8bd40f0 ldmia sp!, {r4, r5, r6, r7, lr}
7cbc: e12fff1e bx lr
7cc0: 83c01c80 bichi r1, r0, #32768 ; 0x8000 @ "Boot Key Press: 0x%x"

Related

Control Panel links and icons wm2003se and higher

Hi,
Just compiled a long lasting annoyance of Control Panel shortcuts and matching icons (see attachement)
They work ok for wm2003 and higher.
Example:
22#ctlpnl cplmain.cpl,0,0?shellres.dll,-13905
Note that the second ,0 is the number of the subpage
(Tab) of that settings page. 0 = first, 1 = second etc.
So making a text file called Kill.lnk with the line:
22#ctlpnl cplmain.cpl,4,2?shellres.dll,-13900
gives you instant access to Running Programs.
Placing this link in \Windows\Start Menu\Programs you can
even put it under a button.
Note: subpages don't work if settingX is redirected in HKLM\ControlPanel\settingX with a "Redirect" value.
Have fun,
Tweakradje
A list of them:
nr function icon (shellres.dll)
-------------------------------------------
0 CPL_Contrast 13905
1 CPL_Password 13942
2 CPL_Owner 13841
3 CPL_Power 13895
4 CPL_Memory 13900
5 CPL_About 13899
6 CPL_Screen 13902 (backlight)
7 CPL_Stylus 13906 (align screen)
8 CPL_SIP 13936
9 CPL_Sounds 13924
10 CPL_Remove 13943
11 CPL_Menus 13937
12 CPL_Button 13944
13 CPL_Today 13952
14 CPL_Offerings 13971 (updates)
15 CPL_Beam 13910
16 CPL_Clock 13840
17 CPL_Network 13888
18 CPL_Regional 13901
19 CPL_Phone 13953 (connections)
20 CPL_AdminPasswd 13954
21 CPL_Bluetooth 13909
22 CPL_Certificates 13941
Extra for WM5:
23 CPL_Watson 13996
24 CPL_GPSID 13997
The shortcuts:
22#ctlpnl cplmain.cpl,0,0?shellres.dll,-13905
22#ctlpnl cplmain.cpl,1,0?shellres.dll,-13942
22#ctlpnl cplmain.cpl,2,0?shellres.dll,-13841
22#ctlpnl cplmain.cpl,3,0?shellres.dll,-13895
22#ctlpnl cplmain.cpl,4,0?shellres.dll,-13900
22#ctlpnl cplmain.cpl,5,0?shellres.dll,-13899
22#ctlpnl cplmain.cpl,6,0?shellres.dll,-13902
22#ctlpnl cplmain.cpl,7,0?shellres.dll,-13906
22#ctlpnl cplmain.cpl,8,0?shellres.dll,-13936
22#ctlpnl cplmain.cpl,9,0?shellres.dll,-13924
23#ctlpnl cplmain.cpl,10,0?shellres.dll,-13943
23#ctlpnl cplmain.cpl,11,0?shellres.dll,-13937
23#ctlpnl cplmain.cpl,12,0?shellres.dll,-13944
23#ctlpnl cplmain.cpl,13,0?shellres.dll,-13952
23#ctlpnl cplmain.cpl,14,0?shellres.dll,-13971
23#ctlpnl cplmain.cpl,15,0?shellres.dll,-13910
23#ctlpnl cplmain.cpl,16,0?shellres.dll,-13840
23#ctlpnl cplmain.cpl,17,0?shellres.dll,-13888
23#ctlpnl cplmain.cpl,18,0?shellres.dll,-13901
23#ctlpnl cplmain.cpl,19,0?shellres.dll,-13953
23#ctlpnl cplmain.cpl,20,0?shellres.dll,-13954
23#ctlpnl cplmain.cpl,21,0?shellres.dll,-13909
23#ctlpnl cplmain.cpl,22,0?shellres.dll,-13941
23#ctlpnl cplmain.cpl,23,0?shellres.dll,-13996
23#ctlpnl cplmain.cpl,24,0?shellres.dll,-13997
EDIT: added 2 icons/links for WM5
Anybody with some spare time to test the links (in the attachement) for wm2005? Just curious if they are OK.
I can only test with wm2003.
If you can provide me with a cplmain.cpl from WM2005 I can also provide the other shortcuts (like GPS etc)
Thanks
Great job, tweakradje. Thank you very much.
I'm using the HTC Prophet to test your shortcuts. Most of them work well except:
1. Admin password -> go to Phone settings
2. Bluetooth -> no response
3. Contrast -> no response
4. Update -> no response
kick
Added the 2 extra icons (perhaps there are more) from WM5 control panel.
Perhaps you can discover more in disassembled code from cplmain.cpl below.
Note: find the CPL_... and take the first 0x.... that is the hex icon number that is in shellres.dll
seg000:02524660 off_2524660 DCD aCpl_contrast ; DATA XREF: seg000ff_2528D54o
seg000:02524660 ; seg000ff_2528E2Co ...
seg000:02524660 ; "CPL_Contrast"
seg000:02524664 DCD 0x3651, 0x3938, 0x3939, 0x393A, 0x393B, 7, 0x2524F7C
seg000:02524664 DCD 0x25241C4, 0, 0, 0, 0
seg000:02524694 DCD aLapenrolldialo ; "LAPEnrollDialogWorker"
seg000:02524698 DCD 0x3676, 0x38B0, 0x38B1, 0x38B2, 0, 0
seg000:025246B0 DCD aPassword ; "Password"
seg000:025246B4 DCD 0, 0, 0, 0, 0
seg000:025246C8 DCD aCpl_owner ; "CPL_Owner"
seg000:025246CC DCD 0x3611, 0x38C7, 0x38C8, 0x38C9, 0, 0
seg000:025246E4 DCD aOwner ; "Owner"
seg000:025246E8 DCD dword_2524624
seg000:025246EC DCD dword_2524608
seg000:025246F0 DCD dword_25245EC
seg000:025246F4 DCD 0, 0
seg000:025246FC DCD aCpl_power ; "CPL_Power"
seg000:02524700 DCD 0x3647, 0x3900, 0x3901, 0x3902, 0
seg000:02524714 DCD 7, 0x2524F08, 0x25245D0, 0x25240AC, 0x2524090, 0, 0
seg000:02524730 DCD aCpl_memory ; "CPL_Memory"
seg000:02524734 DCD 0x364C, 0x38E0, 0x38E1, 0x38E2, 0x38E4, 1, 0x2524EE0
seg000:02524734 DCD 0x2524560, 0x2524544, 0x2524528, 0x252450C, 0
seg000:02524764 DCD aCpl_about ; "CPL_About"
seg000:02524768 DCD 0x364B, 0x38D4, 0x38D5, 0x38D6, 0
seg000:0252477C DCD 4, 0x25224E8, 0x25245B4, 0x2524598, 0x252457C, 0, 0
seg000:02524798 DCD aCpl_screen ; "CPL_Screen"
seg000:0252479C DCD 0x364E, 0x3965, 0x3966, 0x3967, 0x3925, 7, 0x2524EA0
seg000:0252479C DCD 0x25243D8, 0x25243BC, 0, 0, 0
seg000:025247CC DCD aCpl_stylus ; "CPL_Stylus"
seg000:025247D0 DCD 0x3652, 0x3971, 0x3972, 0x3971, 0
seg000:025247E4 DCD 3, 0x2524E80, 0x25243A0, 0x2524384, 0x2524368, 0x252434C
seg000:025247E4 DCD 0
seg000:02524800 DCD aCpl_sip ; "CPL_SIP"
seg000:02524804 DCD 0x3670, 0x39D0, 0x39D1, 0x39D2, 0
seg000:02524818 DCD 1, 0x2524E64, 0x25242DC, 0x25242C0, 0x25242A4, 0x2524288
seg000:02524818 DCD 0
seg000:02524834 DCD aCpl_sounds ; "CPL_Sounds"
seg000:02524838 DCD 0x3664, 0x3996, 0x3997, 0x3998, 0
seg000:0252484C DCD 6, 0x2521750, 0x2524330, 0x25242F8, 0, 0, 0
seg000:02524868 DCD aCpl_remove ; "CPL_Remove"
seg000:0252486C DCD 0x3677, 0x3A30, 0x3A31, 0x3A33, 0
seg000:02524880 DCD 1, 0x2524E14, 0x252426C, 0, 0, 0, 0
seg000:0252489C DCD aCpl_menus ; "CPL_Menus"
seg000:025248A0 DCD 0x3671, 0x39E0, 0x39E1, 0x39E2, 0
seg000:025248B4 DCD 3, 0x2524DF4, 0x2524250, 0, 0, 0, 0
seg000:025248D0 DCD aCpl_button ; "CPL_Button"
seg000:025248D4 DCD 0x3678, 0x3A42, 0x3A43, 0x3A41, 0
seg000:025248E8 DCD 5, 0x2524DCC, 0x2524234, 0x2524218, 0, 0, 0
seg000:02524904 DCD aCpl_today ; "CPL_Today"
seg000:02524908 DCD 0x3680, 0x3A55, 0x3A56, 0x3A54, 0
seg000:0252491C DCD 5, 0x2524DAC, 0x25241E0, 0x25241FC, 0, 0, 0
seg000:02524938 DCD aCpl_offerings ; "CPL_Offerings"
seg000:0252493C DCD 0x3693, 0x3AF6, 0x3AF7, 0x3AF8, 0
seg000:02524950 DCD 3, 0x2524D80, 0x2524480, 0, 0, 0, 0
seg000:0252496C DCD aCpl_beam ; "CPL_Beam"
seg000:02524970 DCD 0x3656, 0x3952, 0x3953, 0x3954, 0
seg000:02524984 DCD 7, 0x2524D60, 0x252449C, 0, 0, 0, 0
seg000:025249A0 DCD aCpl_clock ; "CPL_Clock"
seg000:025249A4 DCD 0x3610, 0x38A7, 0, 0, 0
seg000:025249B8 DCD 1, 0x2524D40, 0, 0, 0, 0, 0
seg000:025249D4 DCD aCpl_network ; "CPL_Network"
seg000:025249D8 DCD 0x3640, 0x3871, 0x3872, 0x3873, 0
seg000:025249EC DCD 6, 0x2524D18, 0x2524640, 0, 0, 0, 0
seg000:02524A08 DCD aCpl_regional ; "CPL_Regional"
seg000:02524A0C DCD 0x364D, 0x3980, 0x3981, 0x3982, 0
seg000:02524A20 DCD 1, 0x2524CE8, 0x2524464, 0x2524448, 0x252442C, 0x2524410
seg000:02524A20 DCD 0x25243F4, 0x25218F4, 0x3689, 0x3AA2, 0x3AA3, 0x3AA4
seg000:02524A20 DCD 0
seg000:02524A54 DCD 2, 0x2524CD0, 0x25241A8, 0x252418C, 0, 0, 0
seg000:02524A70 DCD aCpl_phone ; "CPL_Phone"
seg000:02524A74 DCD 0x3681, 0x3A61, 0x3A62, 0x3A60, 0
seg000:02524A88 DCD 6, 0x252369C, 0x2524170, 0x2524154, 0x2524138, 0x252411C
seg000:02524A88 DCD 0
seg000:02524AA4 DCD aCpl_adminpassw ; "CPL_AdminPasswd"
seg000:02524AA8 DCD 0x3682, 0x38C4, 0x38C5, 0x38C6, 0
seg000:02524ABC DCD 3, 0x2524C80, 0x2524100, 0, 0, 0, 0
seg000:02524AD8 DCD aCpl_certificat ; "CPL_Certificates"
seg000:02524ADC DCD 0x3675, 0x3940, 0x3941, 0x3942, 0
seg000:02524AF0 DCD 4, 0x2524C40, 0x25240C8, 0x25240E4, 0, 0, 0
seg000:02524B0C DCD aCpl_bluetooth ; "CPL_Bluetooth"
seg000:02524B10 DCD 0x3655, 0x3960, 0x3961, 0x3962, 0
seg000:02524B24 DCD 6, 0x2524C10, 0x25244F0, 0x25244D4, 0x25244B8, 0, 0
seg000:02524B40 DCD aCpl_watson ; "CPL_Watson"
seg000:02524B44 DCD 0x36AC, 0x3867, 0x3868, 0x3869, 0
seg000:02524B58 DCD 3, 0x2524BD8, 0x2524074, 0, 0, 0, 0
seg000:02524B74 DCD aCpl_gpsid ; "CPL_GPSID"
seg000:02524B78 DCD 0x36AD, 0x3D10, 0x3D11, 0x3D12, 0
seg000:02524B8C DCD 7, 0x2524BA8, 0x2524058, 0x252403C, 0x2524020, 0, 0
Click to expand...
Click to collapse
cool
Thanks this is what I was loloking for.
One level deeper...
I have the link working that takes me to the Bluetooth
using this link.
(23#ctlpnl cplmain.cpl,23,1?shellres.dll,-13909)
I would like to set up the link to go 1 level deeper to partnership setting for my bluetooth. (see screen attachment). Does anyone know how to do this?
tweakradje said:
Hi,
Just compiled a long lasting annoyance of Control Panel shortcuts and matching icons (see attachement)
They work ok for wm2003 and higher.
Example:
22#ctlpnl cplmain.cpl,0,0?shellres.dll,-13905
Note that the second ,0 is the number of the subpage
(Tab) of that settings page. 0 = first, 1 = second etc.
So making a text file called Kill.lnk with the line:
22#ctlpnl cplmain.cpl,4,2?shellres.dll,-13900
gives you instant access to Running Programs.
Placing this link in \Windows\Start Menu\Programs you can
even put it under a button.
Note: subpages don't work if settingX is redirected in HKLM\ControlPanel\settingX with a "Redirect" value.
Have fun,
Tweakradje
A list of them:
nr function icon (shellres.dll)
-------------------------------------------
0 CPL_Contrast 13905
1 CPL_Password 13942
2 CPL_Owner 13841
3 CPL_Power 13895
4 CPL_Memory 13900
5 CPL_About 13899
6 CPL_Screen 13902 (backlight)
7 CPL_Stylus 13906 (align screen)
8 CPL_SIP 13936
9 CPL_Sounds 13924
10 CPL_Remove 13943
11 CPL_Menus 13937
12 CPL_Button 13944
13 CPL_Today 13952
14 CPL_Offerings 13971 (updates)
15 CPL_Beam 13910
16 CPL_Clock 13840
17 CPL_Network 13888
18 CPL_Regional 13901
19 CPL_Phone 13953 (connections)
20 CPL_AdminPasswd 13954
21 CPL_Bluetooth 13909
22 CPL_Certificates 13941
Extra for WM5:
23 CPL_Watson 13996
24 CPL_GPSID 13997
The shortcuts:
22#ctlpnl cplmain.cpl,0,0?shellres.dll,-13905
22#ctlpnl cplmain.cpl,1,0?shellres.dll,-13942
22#ctlpnl cplmain.cpl,2,0?shellres.dll,-13841
22#ctlpnl cplmain.cpl,3,0?shellres.dll,-13895
22#ctlpnl cplmain.cpl,4,0?shellres.dll,-13900
22#ctlpnl cplmain.cpl,5,0?shellres.dll,-13899
22#ctlpnl cplmain.cpl,6,0?shellres.dll,-13902
22#ctlpnl cplmain.cpl,7,0?shellres.dll,-13906
22#ctlpnl cplmain.cpl,8,0?shellres.dll,-13936
22#ctlpnl cplmain.cpl,9,0?shellres.dll,-13924
23#ctlpnl cplmain.cpl,10,0?shellres.dll,-13943
23#ctlpnl cplmain.cpl,11,0?shellres.dll,-13937
23#ctlpnl cplmain.cpl,12,0?shellres.dll,-13944
23#ctlpnl cplmain.cpl,13,0?shellres.dll,-13952
23#ctlpnl cplmain.cpl,14,0?shellres.dll,-13971
23#ctlpnl cplmain.cpl,15,0?shellres.dll,-13910
23#ctlpnl cplmain.cpl,16,0?shellres.dll,-13840
23#ctlpnl cplmain.cpl,17,0?shellres.dll,-13888
23#ctlpnl cplmain.cpl,18,0?shellres.dll,-13901
23#ctlpnl cplmain.cpl,19,0?shellres.dll,-13953
23#ctlpnl cplmain.cpl,20,0?shellres.dll,-13954
23#ctlpnl cplmain.cpl,21,0?shellres.dll,-13909
23#ctlpnl cplmain.cpl,22,0?shellres.dll,-13941
23#ctlpnl cplmain.cpl,23,0?shellres.dll,-13996
23#ctlpnl cplmain.cpl,24,0?shellres.dll,-13997
EDIT: added 2 icons/links for WM5
Click to expand...
Click to collapse
Thanks, looking for this for a long time.
Any update though? Now that we already enntered WM6.5 time!
Or anybody else knows a completed list for this?

[UTILITY] STrace 4.8 - Ultimate debugging utility now ported to Android !

about Strace
Android provides Logcat for tracing and debugging Apps , Logcat provides too short information and limited apps also programs has to support logcat or there wo'nt be any log ! this makes Android logcar be completely un-useful in large/advanced programs .
strace is a debugging utility to monitor a program system calls or signals it receives . strace is used while we want to find the reason a program crashes or finding out what causes a process not to work as expected .
strace is much more powerful than Android Logcat . unlike logcat , any process may be monitored by strace also there is no need to rewrite a program for support of strace
usage & downloading
I have ported strace to Android and it works without any bugs
download the lastest binary from this post , move it to /system/bin and set permissions to 755 .
strace has a lot of options you can find by running it using :
Code:
strace --help
most common functions are :
1- using strace to monitor a command :
Code:
strace echo hello
2- using strace to monitor an App/process :
Code:
strace -p 123
(123 is a example , use any other PID you wish )
here is an example of running strace with hello command :
Code:
ALIREZA | strace echo hello
execve("/system/xbin/echo", ["echo", "hello"], [/* 26 vars */]) = 0
mprotect(0x4005d000, 75164, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0x4005d000, 77824, PROT_READ|PROT_EXEC) = 0
mprotect(0x40070000, 4096, PROT_READ) = 0
gettid() = 31648
set_tls(0x40080f6c, 0x40080f30, 0x40081068, 0x40, 0x40080f30) = 0
getpid() = 31648
sigaction(SIGILL, {0x40062ba1, [], SA_RESTART|SA_SIGINFO}, NULL, 0x397a4) = 0
sigaction(SIGABRT, {0x40062ba1, [], SA_RESTART|SA_SIGINFO}, NULL, 0x397a4) = 0
sigaction(SIGBUS, {0x40062ba1, [], SA_RESTART|SA_SIGINFO}, NULL, 0x397a4) = 0
sigaction(SIGFPE, {0x40062ba1, [], SA_RESTART|SA_SIGINFO}, NULL, 0x397a4) = 0
sigaction(SIGSEGV, {0x40062ba1, [], SA_RESTART|SA_SIGINFO}, NULL, 0x397a4) = 0
sigaction(SIGSTKFLT, {0x40062ba1, [], SA_RESTART|SA_SIGINFO}, NULL, 0x397a4) = 0
sigaction(SIGPIPE, {0x40062ba1, [], SA_RESTART|SA_SIGINFO}, NULL, 0x397a4) = 0
mprotect(0x8000, 500100, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
stat64("/vendor/lib/libc.so", 0xbea736b8) = -1 ENOENT (No such file or directory)
stat64("/system/lib/libc.so", {st_mode=S_IFREG|0644, st_size=286596, ...}) = 0
open("/system/lib/libc.so", O_RDONLY) = 7
lseek(7, 0, SEEK_SET) = 0
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 4096) = 4096
lseek(7, -8, SEEK_END) = 286588
read(7, "\1\0\0\0\0\0\0\0", 8) = 8
mmap2(NULL, 331776, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400f7000
madvise(0x400f7000, 331776, 0xc /* MADV_??? */) = 0
mmap2(0x400f7000, 271932, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 7, 0) = 0x400f7000
madvise(0x400f7000, 271932, 0xc /* MADV_??? */) = 0
mprotect(0x400f7000, 274432, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0x4013a000, 10344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 7, 0x43) = 0x4013a000
madvise(0x4013a000, 10344, 0xc /* MADV_??? */) = 0
mmap2(0x4013d000, 45051, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4013d000
madvise(0x4013d000, 45051, 0xc /* MADV_??? */) = 0
close(7) = 0
mprotect(0x400f7000, 274432, PROT_READ|PROT_EXEC) = 0
stat64("/vendor/lib/liblog.so", 0xbea736b8) = -1 ENOENT (No such file or directory)
stat64("/system/lib/liblog.so", {st_mode=S_IFREG|0644, st_size=13536, ...}) = 0
open("/system/lib/liblog.so", O_RDONLY) = 7
lseek(7, 0, SEEK_SET) = 0
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 4096) = 4096
lseek(7, -8, SEEK_END) = 13528
read(7, "\1\0\0\0\0\0\0\0", 8) = 8
mmap2(NULL, 20480, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4000d000
madvise(0x4000d000, 20480, 0xc /* MADV_??? */) = 0
mmap2(0x4000d000, 11235, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 7, 0) = 0x4000d000
madvise(0x4000d000, 11235, 0xc /* MADV_??? */) = 0
mprotect(0x4000d000, 12288, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0x40010000, 4116, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 7, 0x2) = 0x40010000
madvise(0x40010000, 4116, 0xc /* MADV_??? */) = 0
close(7) = 0
stat64("/vendor/lib/libstdc++.so", 0xbea73618) = -1 ENOENT (No such file or directory)
stat64("/system/lib/libstdc++.so", {st_mode=S_IFREG|0644, st_size=5336, ...}) = 0
open("/system/lib/libstdc++.so", O_RDONLY) = 7
lseek(7, 0, SEEK_SET) = 0
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 4096) = 4096
lseek(7, -8, SEEK_END) = 5328
read(7, "\1\0\0\0\0\0\0\0", 8) = 8
mmap2(NULL, 12288, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40082000
madvise(0x40082000, 12288, 0xc /* MADV_??? */) = 0
mmap2(0x40082000, 2656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 7, 0) = 0x40082000
madvise(0x40082000, 2656, 0xc /* MADV_??? */) = 0
mprotect(0x40082000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0x40083000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 7, 0) = 0x40083000
madvise(0x40083000, 4096, 0xc /* MADV_??? */) = 0
mmap2(0x40084000, 16, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40084000
madvise(0x40084000, 16, 0xc /* MADV_??? */) = 0
close(7) = 0
mprotect(0x40082000, 4096, PROT_READ|PROT_EXEC) = 0
mprotect(0x40083000, 4096, PROT_READ) = 0
stat64("/vendor/lib/libm.so", 0xbea73618) = -1 ENOENT (No such file or directory)
stat64("/system/lib/libm.so", {st_mode=S_IFREG|0644, st_size=91288, ...}) = 0
open("/system/lib/libm.so", O_RDONLY) = 7
lseek(7, 0, SEEK_SET) = 0
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 4096) = 4096
lseek(7, -8, SEEK_END) = 91280
read(7, "\1\0\0\0\0\0\0\0", 8) = 8
mmap2(NULL, 98304, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400d8000
madvise(0x400d8000, 98304, 0xc /* MADV_??? */) = 0
mmap2(0x400d8000, 85924, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 7, 0) = 0x400d8000
madvise(0x400d8000, 85924, 0xc /* MADV_??? */) = 0
mprotect(0x400d8000, 86016, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0x400ee000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 7, 0x15) = 0x400ee000
madvise(0x400ee000, 4096, 0xc /* MADV_??? */) = 0
mmap2(0x400ef000, 32, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400ef000
madvise(0x400ef000, 32, 0xc /* MADV_??? */) = 0
close(7) = 0
mprotect(0x400d8000, 86016, PROT_READ|PROT_EXEC) = 0
mprotect(0x400ee000, 4096, PROT_READ) = 0
mprotect(0x4000d000, 12288, PROT_READ|PROT_EXEC) = 0
mprotect(0x40010000, 4096, PROT_READ) = 0
stat64("/vendor/lib/libcutils.so", 0xbea736b8) = -1 ENOENT (No such file or directory)
stat64("/system/lib/libcutils.so", {st_mode=S_IFREG|0644, st_size=63252, ...}) = 0
open("/system/lib/libcutils.so", O_RDONLY) = 7
lseek(7, 0, SEEK_SET) = 0
read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\0\0\0\0004\0\0\0"..., 4096) = 4096
lseek(7, -8, SEEK_END) = 63244
read(7, "\1\0\0\0\0\0\0\0", 8) = 8
mmap2(NULL, 126976, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40148000
madvise(0x40148000, 126976, 0xc /* MADV_??? */) = 0
mmap2(0x40148000, 58972, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 7, 0) = 0x40148000
madvise(0x40148000, 58972, 0xc /* MADV_??? */) = 0
mprotect(0x40148000, 61440, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mmap2(0x40157000, 4620, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 7, 0xe) = 0x40157000
madvise(0x40157000, 4620, 0xc /* MADV_??? */) = 0
mmap2(0x40159000, 57096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40159000
madvise(0x40159000, 57096, 0xc /* MADV_??? */) = 0
close(7) = 0
mprotect(0x40148000, 61440, PROT_READ|PROT_EXEC) = 0
mprotect(0x40157000, 4096, PROT_READ) = 0
mprotect(0x8000, 503808, PROT_READ|PROT_EXEC) = 0
mmap2(NULL, 49152, PROT_READ, MAP_SHARED, 8, 0) = 0x400a4000
futex(0x40140734, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/dev/urandom", O_RDONLY) = 7
read(7, "@\236", 4) = 4
close(7) = 0
clock_gettime(CLOCK_MONOTONIC, {29544, 299349465}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40167000
madvise(0x40167000, 4096, 0xc /* MADV_??? */) = 0
mprotect(0x40167000, 4096, PROT_READ) = 0
getuid32() = 0
brk(0) = 0xf0d000
brk(0xf0d000) = 0xf0d000
brk(0xf0e000) = 0xf0e000
write(1, "hello\n", 6hello
) = 6
mprotect(0x40167000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x40167000, 4096, PROT_READ) = 0
futex(0x4014072c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
munmap(0x40167000, 4096) = 0
exit_group(0) = ?
and now lastest download link :
Download Strace 4.8 from here
license
strace is a free software, you may download source of strace from here
Only 4 downloads ?!
Segfault any attemp to use it!
Running on LG P500 (ARMv6) cm-10.2
OK, guess what? Already have it on /system/xbin and that does work.
Very nice tool/utility man.....
will try it to solve issues on my roms...
thanks man :good:
regards,
abhi922.
abhi922 said:
Very nice tool/utility man.....
will try it to solve issues on my roms...
thanks man :good:
regards,
abhi922.
Click to expand...
Click to collapse
Dido, I needed such a tool too.
Thanks
Would like to try it, but the download link requires me to sign up for an account. Can't you make this available some other way?
you dont need an account to download. Between the 2 ads is the download button
SVLAN said:
you dont need an account to download. Between the 2 ads is the download button
Click to expand...
Click to collapse
Thanks, I got it! I really hate these purposely misleading download sites.
Once i run strace -p 123 it will come back
Code:
strace: attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted
SVLAN said:
Once i run strace -p 123 it will come back
Code:
strace: attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted
Click to expand...
Click to collapse
I said :
(123 is a example , use any other PID you wish )
Click to expand...
Click to collapse
You must use the a valid PID , 123 is an example .
For getting PID of an APP/Process , use the this command in terminal :
Code:
ps | grep "abc"
instead of abc , write the process name you want ! for example :
Code:
ps | grep "com.android.acore"
then search for PID in the output and use it with strace !
SVLAN said:
Once i run strace -p 123 it will come back
Code:
strace: attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted
Click to expand...
Click to collapse
You need to be root to attach to already running processes.
I also find the "-f" option useful for more complex executables (which fork new processes). "-o" to write the output to a file can be useful if there is much output.
@alireza7991
Can I use this in the tool in my signature please?
Lgrootnoob said:
@alireza7991
Can I use this in the tool in my signature please?
Click to expand...
Click to collapse
This is a free software , You must accept the GNU Public Licence v2 ( or higher ) terms ; after that , you are allowed to use it .
alireza7991 said:
This is a free software , You must accept the GNU Public Licence v2 ( or higher ) terms ; after that , you are allowed to use it .
Click to expand...
Click to collapse
Sweet!
Huh? It's a well-known, standard unix utility, being a part of Android distribution since Android 1.6 (although, only in debug builds)...
See https://android.googlesource.com/platform/external/strace/ (note all the branches on the left)
It's good to make people aware of it, though, as it's a very useful tool for debugging some kinds of issues.
tom3q said:
Huh? It's a well-known, standard unix utility, being a part of Android distribution since Android 1.6 (although, only in debug builds)...
See https://android.googlesource.com/platform/external/strace/ (note all the branches on the left)
It's good to make people aware of it, though, as it's a very useful tool for debugging some kinds of issues.
Click to expand...
Click to collapse
I haven't seen it, but its just in android sources and only in debug builds for debugging the android but This is a standalone build of latest STrace suitable for developers to debug their APPs . Developers will not download and compile whole android for just having a dynamicly linked strace .
Another thing , why most of you are saying its a well-known/popular linux utility ... , did I say it is not ????
Segfaults on Razr i (intel atom x86).
alireza7991 said:
I haven't seen it, but its just in android sources and only in debug builds for debugging the android but This is a standalone build of latest STrace suitable for developers to debug their APPs . Developers will not download and compile whole android for just having a dynamicly linked strace .
Another thing , why most of you are saying its a well-known/popular linux utility ... , did I say it is not ????
Click to expand...
Click to collapse
But that's something that's popular to do here, a lot of people download the sources and compile the ROMs they run from source. Additionally, this is probably included in every custom ROM out there. My CM10.2 install has the utility built in.
There's no need to be defensive, the RD that's replying to you is just providing links for more reading. The better informed the users of this site are, the more cool stuff we'll see in the future.
Thanks for your strace build!
r3tr0g4m3r said:
Segfaults on Razr i (intel atom x86).
Click to expand...
Click to collapse
This does not work on X86 based platforms.
There're quite a few blog posts on the net about compiling strace from source.
Eg. http://discuz-android.blogspot.com/2008/01/create-google-android-strace-tool.html
I've created a precompiled tgz package that you can extract into the root of your filesystem and it'll put strace into /data/local (i.e. /data/local/bin/strace).
http://muzso.hu/node/4869
I prefer my utilities in /data/local.

[ROM]{WIP} CyanogenMod 12.1 for ZTE Blade Vec (4G) (DEV Support needed!)

CyanogenMod 12.1 (Android 5.1.1) for ZTE Blade Vec (4G)
Bugs
- Camera not working at all.
- CPU-Z application doesn't start and causes sensor failure.
- Sensors stops working randomly, and fixes itself randomly too.
- If the screen turns off while call, there's no way to turn it on unless end the call.
- Maybe more? You tell me.
How to flash
First of all, you need TWRPv2.8.7.0 installed for your device.
- Just do factory reset and flash the zip via TWRP. No need to flash gapps, included already.
Download: http://d-h.st/KFIp
Technical details for bugs
- For camera; All libraries loads successfully, but when I try to access the camera, it crashes. There's something wrong while setting parameters during startup. Here's the log;
Code:
E/QCameraParameters( 234): Invalid preview size requested: -1x-1
E/QCameraParameters( 234): No Record Size requested, use the preview dimensions
E/QCameraParameters( 234): Invalid video size requested: -1x-1
E/QCameraParameters( 234): Invalid picture size requested: -1x-1
E/QCameraParameters( 234): Invalid preview format value: NULL
E/QCameraParameters( 234): Invalid picture format value: NULL
D/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setJpegThumbnailSize(const qcamera::QCameraParameters&): Could not find optimal size
E/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setJpegQuality(const qcamera::QCameraParameters&): Invalid jpeg quality=-1
E/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setJpegQuality(const qcamera::QCameraParameters&): Invalid jpeg thumbnail quality=-1
D/QCameraParameters( 234): Param m_bNoDisplayMode = 0
E/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setPreviewFpsRange(const qcamera::QCameraParameters&): FpsRange Values:(7500, 30000)
E/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setPreviewFpsRange(const qcamera::QCameraParameters&): Requested FpsRange Values:(-1, -1)
E/QCameraParameters( 234): bool qcamera::QCameraParameters::UpdateHFRFrameRate(const qcamera::QCameraParameters&): CameraParameters - : minFps = 7500, maxFps = 30000
E/QCameraParameters( 234): bool qcamera::QCameraParameters::UpdateHFRFrameRate(const qcamera::QCameraParameters&): Requested params - : minFps = -1, maxFps = -1
E/QCameraParameters( 234): bool qcamera::QCameraParameters::UpdateHFRFrameRate(const qcamera::QCameraParameters&): prevHfrStr - off, hfrStr = (null)
E/QCameraParameters( 234): HFR mode is OFF
E/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setPreviewFpsRange(const qcamera::QCameraParameters&): UpdateHFRFrameRate 0
E/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setPreviewFpsRange(const qcamera::QCameraParameters&): error: FPS range value not supported
D/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setBrightness(const qcamera::QCameraParameters&): Brigtness not set by App
E/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setZoom(const qcamera::QCameraParameters&): invalid value -1 out of (0, 60)
D/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setSharpness(const qcamera::QCameraParameters&): Sharpness not set by App
D/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setSaturation(const qcamera::QCameraParameters&): Saturation not set by App
D/QCameraParameters( 234): int32_t qcamera::QCameraParameters::setContrast(const qcamera::QCameraParameters&): Contrast not set by App
--------- beginning of crash
F/libc ( 234): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 1226 (Binder_2)
I/DEBUG ( 231): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 231): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 231): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 231): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 231): Build fingerprint: 'zte/cm_bladevec4g/unknown:5.1.1/LVY48C/57ccd15130:userdebug/test-keys'
I/DEBUG ( 231): Revision: '0'
I/DEBUG ( 231): ABI: 'arm'
I/DEBUG ( 231): pid: 234, tid: 1226, name: Binder_2 >>> /system/bin/mediaserver <<<
I/DEBUG ( 231): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 231): r0 00000000 r1 b6b0d320 r2 00000067 r3 00000001
I/DEBUG ( 231): r4 b5f73e04 r5 00000000 r6 ffffffff r7 00000000
I/DEBUG ( 231): r8 b3504b30 r9 b74ad624 sl b74ada30 fp b3504dd0
I/DEBUG ( 231): ip b6b0d320 sp b3504ae8 lr b5f61577 pc b6deb274 cpsr a00f0010
I/DEBUG ( 231):
I/DEBUG ( 231): backtrace:
I/DEBUG ( 231): #00 pc 00010274 /system/lib/libc.so (strcmp+48)
I/DEBUG ( 231): #01 pc 0002f573 /system/lib/hw/camera.msm8226.so (qcamera::QCameraParameters::setFocusMode(qcamera::QCameraParameters const&)+50)
I/DEBUG ( 231): #02 pc 000315a7 /system/lib/hw/camera.msm8226.so (qcamera::QCameraParameters::updateParameters(qcamera::QCameraParameters&, bool&)+382)
I/DEBUG ( 231): #03 pc 0001cf0b /system/lib/hw/camera.msm8226.so (qcamera::QCamera2HardwareInterface::updateParameters(char const*, bool&)+66)
I/DEBUG ( 231): #04 pc 00021071 /system/lib/hw/camera.msm8226.so (qcamera::QCameraStateMachine::procEvtPreviewStoppedState(qcamera::qcamera_sm_evt_enum_t, void*)+196)
I/DEBUG ( 231): #05 pc 0002283d /system/lib/hw/camera.msm8226.so (qcamera::QCameraStateMachine::smEvtProcRoutine(void*)+136)
I/DEBUG ( 231): #06 pc 0001552b /system/lib/libc.so (__pthread_start(void*)+38)
I/DEBUG ( 231): #07 pc 0001252b /system/lib/libc.so (__start_thread+10)
I/DEBUG ( 231):
I/DEBUG ( 231): Tombstone written to: /data/tombstones/tombstone_04
- for CPU-Z; Sensor causing hang up the application.
- for Sensors; I really don't know what's the problem. I think we need a better sensor hal. I'll provide a log for this soon.
- for Calls; Proximity sensor doesn't report 0, or system can't get it.
Source
https://github.com/forumber
Anybody can help he? I'd help but I don't know about.
Enviado desde mi TURKCELL T50 mediante Tapatalk
GuilleBetico96 said:
Anybody can help he? I'd help but I don't know about.
Enviado desde mi TURKCELL T50 mediante Tapatalk
Click to expand...
Click to collapse
Unfortunately, I also face similar problems
δυστυχως παρόμοια προβλήματα αντιμετοπίζω και εγω

[DEV] [WIP] Kexec Hardboot Patch

- I have implemented a first cut of kexec hardboot patch for the Apollo and Thor Devices
- @Tasssadar created the excellent MultiROM
- I am working to provide support for our devices (Apollo and Thor) and as such this is first step
- The commit in my SlimLP kernel is here.
- This is the patch:
Code:
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 9468df5..a8b637a 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -2249,6 +2249,32 @@ config ATAGS_PROC
Should the atags used to boot the kernel be exported in an "atags"
file in procfs. Useful with kexec.
+config KEXEC_HARDBOOT
+ bool "Support hard booting to a kexec kernel"
+ depends on KEXEC
+ help
+ Allows hard booting (i.e., with a full hardware reboot) to a kernel
+ previously loaded in memory by kexec. This works around the problem of
+ soft-booted kernel hangs due to improper device shutdown and/or
+ reinitialization. Support is comprised of two components:
+
+ First, a "hardboot" flag is added to the kexec syscall to force a hard
+ reboot in relocate_new_kernel() (which requires machine-specific assembly
+ code). This also requires the kexec userspace tool to load the kexec'd
+ kernel in memory region left untouched by the bootloader (i.e., not
+ explicitly cleared and not overwritten by the boot kernel). Just prior
+ to reboot, the kexec kernel arguments are stashed in a machine-specific
+ memory page that must also be preserved. Note that this hardboot page
+ need not be reserved during regular kernel execution.
+
+ Second, the zImage decompresor of the boot (bootloader-loaded) kernel is
+ modified to check the hardboot page for fresh kexec arguments, and if
+ present, attempts to jump to the kexec'd kernel preserved in memory.
+
+ Note that hardboot support is only required in the boot kernel and any
+ kernel capable of performing a hardboot kexec. It is _not_ required by a
+ kexec'd kernel.
+
config CRASH_DUMP
bool "Build kdump crash kernel (EXPERIMENTAL)"
depends on EXPERIMENTAL
diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S
index 64a6d6f..6c9d423 100644
--- a/arch/arm/boot/compressed/head.S
+++ b/arch/arm/boot/compressed/head.S
@@ -10,6 +10,13 @@
*/
#include <linux/linkage.h>
+ .arch armv7-a
+
+#ifdef CONFIG_KEXEC_HARDBOOT
+ #include <asm/kexec.h>
+ #include <asm/memory.h>
+#endif
+
/*
* Debugging stuff
*
@@ -135,6 +142,64 @@ start:
1: mov r7, r1 @ save architecture ID
mov r8, r2 @ save atags pointer
+#ifdef CONFIG_KEXEC_HARDBOOT
+ /* Check hardboot page for a kexec kernel. */
+ ldr r3, =KEXEC_HB_PAGE_ADDR
+ ldr r0, [r3]
+ ldr r1, =KEXEC_HB_PAGE_MAGIC
+ teq r0, r1
+ bne not_booting_other
+
+ /* Clear hardboot page magic to avoid boot loop. */
+ mov r0, #0
+ str r0, [r3]
+
+ /*
+ * Copy dtb from location up high in memory to default location.
+ * Kernel freezes if this is not done.
+ */
+ ldr r1, [r3, #12] @ kexec_boot_atags
+ ldr r2, [r3, #16] @ kexec_boot_atags_len
+ mov r5, #0 @ iterator
+catags_cpy:
+ ldr r0, [r1, r5] @ from kexec_boot_atags
+ str r0, [r8, r5] @ to atags_pointer
+ add r5, r5, #4
+ cmp r5, r2
+ blo catags_cpy
+
+#ifdef KEXEC_HB_KERNEL_LOC
+ /*
+ * Copy kernel from location up high in memory to location in first 128MB.
+ * Bootloader on hammerhead erases first 128MB of ram on reboot, so it can't
+ * be in there before reboot, but decompressing in location above 128MB takes
+ * a long time. This memcpy is much quicker, for some reason.
+ */
+ ldr r2, [r3, #4] @ kexec_start_address
+ ldr r4, [r3, #20] @ kexec_kernel_len
+ ldr r6, =KEXEC_HB_KERNEL_LOC @ target
+ mov r5, #0 @ iterator
+kernel_cpy:
+ ldr r0, [r2, r5] @ from kexec_start_address
+ str r0, [r6, r5] @ to KEXEC_HB_KERNEL_LOC
+ add r5, r5, #4
+ cmp r5, r4
+ blo kernel_cpy
+#else
+ ldr r6, [r3, #4] @ kexec_start_address
+#endif
+
+ /* set registers and boot kexecd' kernel */
+ mov r0, #0
+ ldr r1, [r3, #8] @ kexec_mach_type
+ mov r2, r8 @ atags pointer
+ mov pc, r6
+
+ .ltorg
+
+not_booting_other:
+#endif
+
#ifndef __ARM_ARCH_2__
/*
* Booting from Angel - need to enter SVC mode and disable
@@ -176,7 +241,19 @@ not_angel:
ldr r4, =zreladdr
#endif
- bl cache_on
+ /*
+ * Set up a page table only if it won't overwrite ourself.
+ * That means r4 < pc && r4 - 16k page directory > &_end.
+ * Given that r4 > &_end is most unfrequent, we add a rough
+ * additional 1MB of room for a possible appended DTB.
+ */
+ mov r0, pc
+ cmp r0, r4
+ ldrcc r0, LC0+32
+ addcc r0, r0, pc
+ cmpcc r4, r0
+ orrcc r4, r4, #1 @ remember we skipped cache_on
+ blcs cache_on
restart: adr r0, LC0
ldmia r0, {r1, r2, r3, r6, r10, r11, r12}
@@ -222,7 +299,7 @@ restart: adr r0, LC0
* r0 = delta
* r2 = BSS start
* r3 = BSS end
- * r4 = final kernel address
+ * r4 = final kernel address (possibly with LSB set)
* r5 = appended dtb size (still unknown)
* r6 = _edata
* r7 = architecture ID
@@ -270,6 +347,7 @@ restart: adr r0, LC0
*/
cmp r0, #1
sub r0, r4, #TEXT_OFFSET
+ bic r0, r0, #1
add r0, r0, #0x100
mov r1, r6
sub r2, sp, r6
@@ -316,12 +394,13 @@ dtb_check_done:
/*
* Check to see if we will overwrite ourselves.
- * r4 = final kernel address
+ * r4 = final kernel address (possibly with LSB set)
* r9 = size of decompressed image
* r10 = end of this image, including bss/stack/malloc space if non XIP
* We basically want:
* r4 - 16k page directory >= r10 -> OK
* r4 + image length <= address of wont_overwrite -> OK
+ * Note: the possible LSB in r4 is harmless here.
*/
add r10, r10, #16384
cmp r4, r10
@@ -369,7 +448,8 @@ dtb_check_done:
add sp, sp, r6
#endif
- bl cache_clean_flush
+ tst r4, #1
+ bleq cache_clean_flush
adr r0, BSYM(restart)
add r0, r0, r6
@@ -381,7 +461,7 @@ wont_overwrite:
* r0 = delta
* r2 = BSS start
* r3 = BSS end
- * r4 = kernel execution address
+ * r4 = kernel execution address (possibly with LSB set)
* r5 = appended dtb size (0 if not present)
* r7 = architecture ID
* r8 = atags pointer
@@ -444,6 +524,15 @@ not_relocated: mov r0, #0
cmp r2, r3
blo 1b
+ /*
+ * Did we skip the cache setup earlier?
+ * That is indicated by the LSB in r4.
+ * Do it now if so.
+ */
+ tst r4, #1
+ bic r4, r4, #1
+ blne cache_on
+
/*
* The C runtime environment should now be setup sufficiently.
* Set up some pointers, and start decompressing.
@@ -474,6 +563,7 @@ LC0: .word LC0 @ r1
.word _got_start @ r11
.word _got_end @ ip
.word .L_user_stack_end @ sp
+ .word _end - restart + 16384 + 1024*1024
.size LC0, . - LC0
#ifdef CONFIG_ARCH_RPC
@@ -510,6 +600,7 @@ cache_on: mov r3, #8 @ cache_on function
* to cover all 32bit address and cacheable and bufferable.
*/
__armv4_mpu_cache_on:
+ .arch armv4
mov r0, #0x3f @ 4G, the whole
mcr p15, 0, r0, c6, c7, 0 @ PR7 Area Setting
mcr p15, 0, r0, c6, c7, 1
@@ -614,13 +705,24 @@ __setup_mmu: sub r3, r4, #16384 @ Page directory size
mov pc, lr
ENDPROC(__setup_mmu)
[email protected] Enable unaligned access on v6, to allow better code generation
[email protected] for the decompressor C code:
+__armv6_mmu_cache_on:
+ mrc p15, 0, r0, c1, c0, 0 @ read SCTLR
+ bic r0, r0, #2 @ A (no unaligned access fault)
+ orr r0, r0, #1 << 22 @ U (v6 unaligned access model)
+ mcr p15, 0, r0, c1, c0, 0 @ write SCTLR
+ b __armv4_mmu_cache_on
+
__arm926ejs_mmu_cache_on:
#ifdef CONFIG_CPU_DCACHE_WRITETHROUGH
+ .arch armv5
mov r0, #4 @ put dcache in WT mode
mcr p15, 7, r0, c15, c0, 0
#endif
__armv4_mmu_cache_on:
+ .arch armv4
mov r12, lr
#ifdef CONFIG_MMU
mov r6, #CB_BITS | 0x12 @ U
@@ -641,6 +743,7 @@ __armv4_mmu_cache_on:
mov pc, r12
__armv7_mmu_cache_on:
+ .arch armv7-a
mov r12, lr
#ifdef CONFIG_MMU
mrc p15, 0, r11, c0, c1, 4 @ read ID_MMFR0
@@ -653,8 +756,12 @@ __armv7_mmu_cache_on:
mcrne p15, 0, r0, c8, c7, 0 @ flush I,D TLBs
#endif
mrc p15, 0, r0, c1, c0, 0 @ read control reg
+ bic r0, r0, #1 << 28 @ clear SCTLR.TRE
orr r0, r0, #0x5000 @ I-cache enable, RR cache replacement
orr r0, r0, #0x003c @ write buffer
+ bic r0, r0, #2 @ A (no unaligned access fault)
+ orr r0, r0, #1 << 22 @ U (v6 unaligned access model)
+ @ (needed for ARM1176)
#ifdef CONFIG_MMU
#ifdef CONFIG_CPU_ENDIAN_BE8
orr r0, r0, #1 << 25 @ big-endian page tables
@@ -687,6 +794,7 @@ __fa526_cache_on:
mov pc, r12
__arm6_mmu_cache_on:
+ .arch armv6
mov r12, lr
mov r6, #CB_BITS | 0x12 @ U
bl __setup_mmu
@@ -895,7 +1003,7 @@ proc_types:
.word 0x0007b000 @ ARMv6
.word 0x000ff000
- W(b) __armv4_mmu_cache_on
+ W(b) __armv6_mmu_cache_on
W(b) __armv4_mmu_cache_off
W(b) __armv6_mmu_cache_flush
@@ -1015,7 +1123,10 @@ cache_clean_flush:
mov r3, #16
b call_cache_fn
+ .arch armv4
__armv4_mpu_cache_flush:
+ tst r4, #1
+ movne pc, lr
mov r2, #1
mov r3, #0
mcr p15, 0, ip, c7, c6, 0 @ invalidate D cache
@@ -1033,6 +1144,8 @@ __armv4_mpu_cache_flush:
mov pc, lr
__fa526_cache_flush:
+ tst r4, #1
+ movne pc, lr
mov r1, #0
mcr p15, 0, r1, c7, c14, 0 @ clean and invalidate D cache
mcr p15, 0, r1, c7, c5, 0 @ flush I cache
@@ -1040,14 +1153,19 @@ __fa526_cache_flush:
mov pc, lr
__armv6_mmu_cache_flush:
+ .arch armv6
mov r1, #0
- mcr p15, 0, r1, c7, c14, 0 @ clean+invalidate D
+ tst r4, #1
+ mcreq p15, 0, r1, c7, c14, 0 @ clean+invalidate D
mcr p15, 0, r1, c7, c5, 0 @ invalidate I+BTB
- mcr p15, 0, r1, c7, c15, 0 @ clean+invalidate unified
+ mcreq p15, 0, r1, c7, c15, 0 @ clean+invalidate unified
mcr p15, 0, r1, c7, c10, 4 @ drain WB
mov pc, lr
+ .arch armv7-a
__armv7_mmu_cache_flush:
+ tst r4, #1
+ bne iflush
mrc p15, 0, r10, c0, c1, 5 @ read ID_MMFR1
tst r10, #0xf << 16 @ hierarchical cache (ARMv7)
mov r10, #0
@@ -1107,14 +1225,20 @@ iflush:
mcr p15, 0, r10, c7, c5, 4 @ ISB
mov pc, lr
+ .arch armv5
__armv5tej_mmu_cache_flush:
+ tst r4, #1
+ movne pc, lr
1: mrc p15, 0, r15, c7, c14, 3 @ test,clean,invalidate D cache
bne 1b
mcr p15, 0, r0, c7, c5, 0 @ flush I cache
mcr p15, 0, r0, c7, c10, 4 @ drain WB
mov pc, lr
+ .arch armv4
__armv4_mmu_cache_flush:
+ tst r4, #1
+ movne pc, lr
mov r2, #64*1024 @ default: 32K dcache size (*2)
mov r11, #32 @ default: 32 byte line size
mrc p15, 0, r3, c0, c0, 1 @ read cache type
@@ -1148,10 +1272,14 @@ no_cache_id:
__armv3_mmu_cache_flush:
__armv3_mpu_cache_flush:
+ tst r4, #1
+ movne pc, lr
mov r1, #0
mcr p15, 0, r1, c7, c0, 0 @ invalidate whole cache v3
mov pc, lr
+ .arch armv4
+
/*
* Various debugging routines for printing hex characters and
* memory, which again must be relocatable.
diff --git a/arch/arm/configs/apollo-android_defconfig b/arch/arm/configs/apollo-android_defconfig
index 4f143ea..1d498b6 100644
--- a/arch/arm/configs/apollo-android_defconfig
+++ b/arch/arm/configs/apollo-android_defconfig
@@ -674,7 +674,8 @@ CONFIG_ZBOOT_ROM_BSS=0
# CONFIG_ARM_APPENDED_DTB is not set
CONFIG_CMDLINE=""
# CONFIG_XIP_KERNEL is not set
-# CONFIG_KEXEC is not set
+CONFIG_KEXEC=y
+CONFIG_KEXEC_HARDBOOT=y
# CONFIG_CRASH_DUMP is not set
# CONFIG_AUTO_ZRELADDR is not set
diff --git a/arch/arm/include/asm/kexec.h b/arch/arm/include/asm/kexec.h
index c2b9b4b..564c55b 100644
--- a/arch/arm/include/asm/kexec.h
+++ b/arch/arm/include/asm/kexec.h
@@ -17,6 +17,10 @@
#define KEXEC_ARM_ATAGS_OFFSET 0x1000
#define KEXEC_ARM_ZIMAGE_OFFSET 0x8000
+#ifdef CONFIG_KEXEC_HARDBOOT
+ #define KEXEC_HB_PAGE_MAGIC 0x4a5db007
+#endif
+
#ifndef __ASSEMBLY__
/**
@@ -53,6 +57,10 @@ static inline void crash_setup_regs(struct pt_regs *newregs,
/* Function pointer to optional machine-specific reinitialization */
extern void (*kexec_reinit)(void);
+#ifdef CONFIG_KEXEC_HARDBOOT
+extern void (*kexec_hardboot_hook)(void);
+#endif
+
#endif /* __ASSEMBLY__ */
#endif /* CONFIG_KEXEC */
diff --git a/arch/arm/kernel/machine_kexec.c b/arch/arm/kernel/machine_kexec.c
index c355aeb..29cdd2f 100644
--- a/arch/arm/kernel/machine_kexec.c
+++ b/arch/arm/kernel/machine_kexec.c
@@ -14,6 +14,9 @@
#include <asm/cacheflush.h>
#include <asm/mach-types.h>
#include <asm/system_misc.h>
+#include <linux/memblock.h>
+#include <linux/of_fdt.h>
+#include <asm/mmu_writeable.h>
extern const unsigned char relocate_new_kernel[];
extern const unsigned int relocate_new_kernel_size;
@@ -22,6 +25,12 @@ extern unsigned long kexec_start_address;
extern unsigned long kexec_indirection_page;
extern unsigned long kexec_mach_type;
extern unsigned long kexec_boot_atags;
+#ifdef CONFIG_KEXEC_HARDBOOT
+extern unsigned long kexec_hardboot;
+extern unsigned long kexec_boot_atags_len;
+extern unsigned long kexec_kernel_len;
+void (*kexec_hardboot_hook)(void);
+#endif
static atomic_t waiting_for_crash_ipi;
@@ -32,6 +41,37 @@ static atomic_t waiting_for_crash_ipi;
int machine_kexec_prepare(struct kimage *image)
{
+ struct kexec_segment *current_segment;
+ __be32 header;
+ int i, err;
+
+ /* No segment at default ATAGs address. try to locate
+ * a dtb using magic */
+ for (i = 0; i < image->nr_segments; i++) {
+ current_segment = &image->segment[i];
+
+ err = memblock_is_region_memory(current_segment->mem,
+ current_segment->memsz);
+ if (!err)
+ return - EINVAL;
+
+#ifdef CONFIG_KEXEC_HARDBOOT
+ if(current_segment->mem == image->start)
+ mem_text_write_kernel_word(&kexec_kernel_len, current_segment->memsz);
+#endif
+
+ err = get_user(header, (__be32*)current_segment->buf);
+ if (err)
+ return err;
+
+ if (be32_to_cpu(header) == OF_DT_HEADER)
+ {
+ mem_text_write_kernel_word(&kexec_boot_atags, current_segment->mem);
+#ifdef CONFIG_KEXEC_HARDBOOT
+ mem_text_write_kernel_word(&kexec_boot_atags_len, current_segment->memsz);
+#endif
+ }
+ }
return 0;
}
@@ -110,7 +150,10 @@ void machine_kexec(struct kimage *image)
unsigned long reboot_code_buffer_phys;
void *reboot_code_buffer;
- arch_kexec();
+ if (num_online_cpus() > 1) {
+ pr_err("kexec: error: multiple CPUs still online\n");
+ return;
+ }
page_list = image->head & PAGE_MASK;
@@ -120,10 +163,14 @@ void machine_kexec(struct kimage *image)
reboot_code_buffer = page_address(image->control_code_page);
/* Prepare parameters for reboot_code_buffer*/
- kexec_start_address = image->start;
- kexec_indirection_page = page_list;
- kexec_mach_type = machine_arch_type;
- kexec_boot_atags = image->start - KEXEC_ARM_ZIMAGE_OFFSET + KEXEC_ARM_ATAGS_OFFSET;
+ mem_text_write_kernel_word(&kexec_start_address, image->start);
+ mem_text_write_kernel_word(&kexec_indirection_page, page_list);
+ mem_text_write_kernel_word(&kexec_mach_type, machine_arch_type);
+ if (!kexec_boot_atags)
+ mem_text_write_kernel_word(&kexec_boot_atags, image->start - KEXEC_ARM_ZIMAGE_OFFSET + KEXEC_ARM_ATAGS_OFFSET);
+#ifdef CONFIG_KEXEC_HARDBOOT
+ mem_text_write_kernel_word(&kexec_hardboot, image->hardboot);
+#endif
/* copy our kernel relocation code to the control code page */
memcpy(reboot_code_buffer,
@@ -137,5 +184,18 @@ void machine_kexec(struct kimage *image)
if (kexec_reinit)
kexec_reinit();
+#ifdef CONFIG_KEXEC_HARDBOOT
+ /* Run any final machine-specific shutdown code. */
+ if (image->hardboot && kexec_hardboot_hook)
+ kexec_hardboot_hook();
+#endif
+
soft_restart(reboot_code_buffer_phys);
}
+
+void arch_crash_save_vmcoreinfo(void)
+{
+#ifdef CONFIG_ARM_LPAE
+ VMCOREINFO_CONFIG(ARM_LPAE);
+#endif
+}
diff --git a/arch/arm/kernel/relocate_kernel.S b/arch/arm/kernel/relocate_kernel.S
index d0cdedf..0e45ffc 100644
--- a/arch/arm/kernel/relocate_kernel.S
+++ b/arch/arm/kernel/relocate_kernel.S
@@ -4,6 +4,15 @@
#include <asm/kexec.h>
+#ifdef CONFIG_KEXEC_HARDBOOT
+#include <asm/memory.h>
+#if defined(CONFIG_ARCH_TEGRA_2x_SOC) || defined(CONFIG_ARCH_TEGRA_3x_SOC)
+ #include <mach/iomap.h>
+#elif defined(CONFIG_ARCH_APQ8064) || defined(CONFIG_ARCH_MSM8974)
+ #include <mach/msm_iomap.h>
+#endif
+#endif
+
.globl relocate_new_kernel
relocate_new_kernel:
@@ -52,6 +61,12 @@ relocate_new_kernel:
b 0b
2:
+#ifdef CONFIG_KEXEC_HARDBOOT
+ ldr r0, kexec_hardboot
+ teq r0, #0
+ bne hardboot
+#endif
+
/* Jump to relocated kernel */
mov lr,r1
mov r0,#0
@@ -60,6 +75,52 @@ relocate_new_kernel:
ARM( mov pc, lr )
THUMB( bx lr )
+#ifdef CONFIG_KEXEC_HARDBOOT
+hardboot:
+ /* Stash boot arguments in hardboot page:
+ * 0: KEXEC_HB_PAGE_MAGIC
+ * 4: kexec_start_address
+ * 8: kexec_mach_type
+ * 12: kexec_boot_atags
+ * 16: kexec_boot_atags_len
+ * 20: kexec_kernel_len */
+ ldr r0, =KEXEC_HB_PAGE_ADDR
+ str r1, [r0, #4]
+ ldr r1, kexec_mach_type
+ str r1, [r0, #8]
+ ldr r1, kexec_boot_atags
+ str r1, [r0, #12]
+ ldr r1, kexec_boot_atags_len
+ str r1, [r0, #16]
+ ldr r1, kexec_kernel_len
+ str r1, [r0, #20]
+ ldr r1, =KEXEC_HB_PAGE_MAGIC
+ str r1, [r0]
+
+#if defined(CONFIG_ARCH_TEGRA_2x_SOC) || defined(CONFIG_ARCH_TEGRA_3x_SOC)
+ ldr r0, =TEGRA_PMC_BASE
+ ldr r1, [r0]
+ orr r1, r1, #0x10
+ str r1, [r0]
+loop: b loop
+#elif defined(CONFIG_ARCH_APQ8064)
+ /* Restart using the PMIC chip, see mach-msm/restart.c */
+ ldr r0, =APQ8064_TLMM_PHYS
+ mov r1, #0
+ str r1, [r0, #0x820] @ PSHOLD_CTL_SU
+loop: b loop
+#elif defined(CONFIG_ARCH_MSM8974)
+ /* Restart using the PMIC chip, see mach-msm/restart.c */
+ ldr r0, =MSM8974_MPM2_PSHOLD_PHYS
+ mov r1, #0
+ str r1, [r0, #0]
+loop: b loop
+#else
+#error "No reboot method defined for hardboot."
+#endif
+
+ .ltorg
+#endif
.align
.globl kexec_start_address
@@ -79,6 +140,20 @@ kexec_mach_type:
kexec_boot_atags:
.long 0x0
+#ifdef CONFIG_KEXEC_HARDBOOT
+ .globl kexec_boot_atags_len
+kexec_boot_atags_len:
+ .long 0x0
+
+ .globl kexec_kernel_len
+kexec_kernel_len:
+ .long 0x0
+
+ .globl kexec_hardboot
+kexec_hardboot:
+ .long 0x0
+#endif
+
relocate_new_kernel_end:
.globl relocate_new_kernel_size
diff --git a/arch/arm/mach-msm/board-8974.c b/arch/arm/mach-msm/board-8974.c
index 6d52ccc..21b40dd 100644
--- a/arch/arm/mach-msm/board-8974.c
+++ b/arch/arm/mach-msm/board-8974.c
@@ -52,6 +52,13 @@
#include "amzn_ram_console.h"
#endif
+#ifdef CONFIG_KEXEC_HARDBOOT
+#include <asm/setup.h>
+#include <asm/memory.h>
+#include <linux/memblock.h>
+#define HDX_PERSISTENT_RAM_SIZE (SZ_1M)
+#endif
+
#if defined(CONFIG_ARCH_MSM8974_THOR) || defined(CONFIG_ARCH_MSM8974_APOLLO)
enum WLANBT_STATUS {
WLANOFF_BTOFF = 1,
@@ -84,12 +91,35 @@ static struct reserve_info msm8974_reserve_info __initdata = {
void __init msm_8974_reserve(void)
{
+#ifdef CONFIG_KEXEC_HARDBOOT
+ // Reserve space for hardboot page - just after ram_console,
+ // at the start of second memory bank
+ int ret;
+ phys_addr_t start;
+ struct membank* bank;
+#endif
+
reserve_info = &msm8974_reserve_info;
of_scan_flat_dt(dt_scan_for_memory_reserve, msm8974_reserve_table);
msm_reserve();
#if defined(CONFIG_AMZN_RAM_CONSOLE) && (defined(CONFIG_ARCH_MSM8974_THOR) || defined(CONFIG_ARCH_MSM8974_APOLLO))
amzn_ram_console_init(AMZN_RAM_CONSOLE_START_DEFAULT, AMZN_RAM_CONSOLE_SIZE_DEFAULT);
#endif
+
+#ifdef CONFIG_KEXEC_HARDBOOT
+ if (meminfo.nr_banks < 2) {
+ pr_err("%s: not enough membank\n", __func__);
+ return;
+ }
+
+ bank = &meminfo.bank[1];
+ start = bank->start + SZ_1M + HDX_PERSISTENT_RAM_SIZE;
+ ret = memblock_remove(start, SZ_1M);
+ if(!ret)
+ pr_info("Hardboot page reserved at 0x%X\n", start);
+ else
+ pr_err("Failed to reserve space for hardboot page at 0x%X!\n", start);
+#endif
}
static void __init msm8974_early_memory(void)
diff --git a/arch/arm/mach-msm/include/mach/memory.h b/arch/arm/mach-msm/include/mach/memory.h
index 6119a3c..abe4882 100644
--- a/arch/arm/mach-msm/include/mach/memory.h
+++ b/arch/arm/mach-msm/include/mach/memory.h
@@ -20,6 +20,15 @@
/* physical offset of RAM */
#define PLAT_PHYS_OFFSET UL(CONFIG_PHYS_OFFSET)
+#if defined(CONFIG_KEXEC_HARDBOOT)
+#if defined(CONFIG_ARCH_MSM8974_THOR) || defined(CONFIG_ARCH_MSM8974_APOLLO)
+#define KEXEC_HB_PAGE_ADDR UL(0x2F600000)
+#define KEXEC_HB_KERNEL_LOC UL(0x3208000)
+#else
+#error "Adress for kexec hardboot page not defined"
+#endif
+#endif
+
#define MAX_PHYSMEM_BITS 32
#define SECTION_SIZE_BITS 28
diff --git a/arch/arm/mach-msm/restart.c b/arch/arm/mach-msm/restart.c
index a96b02f..da157a4 100644
--- a/arch/arm/mach-msm/restart.c
+++ b/arch/arm/mach-msm/restart.c
@@ -38,6 +38,10 @@
#include "timer.h"
#include "wdog_debug.h"
+#ifdef CONFIG_KEXEC_HARDBOOT
+#include <asm/kexec.h>
+#endif
+
#define WDT0_RST 0x38
#define WDT0_EN 0x40
#define WDT0_BARK_TIME 0x4C
@@ -351,6 +355,26 @@ static int __init msm_pmic_restart_init(void)
late_initcall(msm_pmic_restart_init);
+#ifdef CONFIG_KEXEC_HARDBOOT
+static void msm_kexec_hardboot_hook(void)
+{
+ set_dload_mode(0);
+
+ // Set PMIC to restart-on-poweroff
+ pm8xxx_reset_pwr_off(1);
+
+ // These are executed on normal reboot, but with kexec-hardboot,
+ // they reboot/panic the system immediately.
+#if 0
+ qpnp_pon_system_pwr_off(PON_POWER_OFF_WARM_RESET);
+
+ /* Needed to bypass debug image on some chips */
+ msm_disable_wdog_debug();
+ halt_spmi_pmic_arbiter();
+#endif
+}
+#endif
+
static int __init msm_restart_init(void)
{
#ifdef CONFIG_MSM_DLOAD_MODE
@@ -367,6 +391,10 @@ static int __init msm_restart_init(void)
if (scm_is_call_available(SCM_SVC_PWR, SCM_IO_DISABLE_PMIC_ARBITER) > 0)
scm_pmic_arbiter_disable_supported = true;
+#ifdef CONFIG_KEXEC_HARDBOOT
+ kexec_hardboot_hook = msm_kexec_hardboot_hook;
+#endif
+
return 0;
}
early_initcall(msm_restart_init);
diff --git a/include/linux/kexec.h b/include/linux/kexec.h
index af84a25..a4509ad 100644
--- a/include/linux/kexec.h
+++ b/include/linux/kexec.h
@@ -111,6 +111,10 @@ struct kimage {
#define KEXEC_TYPE_CRASH 1
unsigned int preserve_context : 1;
+#ifdef CONFIG_KEXEC_HARDBOOT
+ unsigned int hardboot : 1;
+#endif
+
#ifdef ARCH_HAS_KIMAGE_ARCH
struct kimage_arch arch;
#endif
@@ -178,6 +182,11 @@ extern struct kimage *kexec_crash_image;
#define KEXEC_ON_CRASH 0x00000001
#define KEXEC_PRESERVE_CONTEXT 0x00000002
+
+#ifdef CONFIG_KEXEC_HARDBOOT
+#define KEXEC_HARDBOOT 0x00000004
+#endif
+
#define KEXEC_ARCH_MASK 0xffff0000
/* These values match the ELF architecture values.
@@ -196,10 +205,14 @@ extern struct kimage *kexec_crash_image;
#define KEXEC_ARCH_MIPS ( 8 << 16)
/* List of defined/legal kexec flags */
-#ifndef CONFIG_KEXEC_JUMP
-#define KEXEC_FLAGS KEXEC_ON_CRASH
-#else
+#if defined(CONFIG_KEXEC_JUMP) && defined(CONFIG_KEXEC_HARDBOOT)
+#define KEXEC_FLAGS (KEXEC_ON_CRASH | KEXEC_PRESERVE_CONTEXT | KEXEC_HARDBOOT)
+#elif defined(CONFIG_KEXEC_JUMP)
#define KEXEC_FLAGS (KEXEC_ON_CRASH | KEXEC_PRESERVE_CONTEXT)
+#elif defined(CONFIG_KEXEC_HARDBOOT)
+#define KEXEC_FLAGS (KEXEC_ON_CRASH | KEXEC_HARDBOOT)
+#else
+#define KEXEC_FLAGS (KEXEC_ON_CRASH)
#endif
#define VMCOREINFO_BYTES (4096)
diff --git a/kernel/kexec.c b/kernel/kexec.c
index 4e2e472..aef7893 100644
--- a/kernel/kexec.c
+++ b/kernel/kexec.c
@@ -1004,6 +1004,10 @@ SYSCALL_DEFINE4(kexec_load, unsigned long, entry, unsigned long, nr_segments,
if (flags & KEXEC_PRESERVE_CONTEXT)
image->preserve_context = 1;
+#ifdef CONFIG_KEXEC_HARDBOOT
+ if (flags & KEXEC_HARDBOOT)
+ image->hardboot = 1;
+#endif
result = machine_kexec_prepare(image);
if (result)
goto out;
MultiROM Recovery Image Running
- See attached screenshot
- The recovery.img output was exceeding the recovery partition size
- I resolved this by compressing the kernel with xz reducing the output size by ~300KB...
- and have switched the recovery ramdisk to be compressed with lzma further reducing the output size by ~2MB
- That's one more step further

Black screen, after a while android 9

Hello,
i try to install stock ROM in my phone
But after installing the OS, i boot up to the phone, but after a while i got black screen as you can see in photo i added
see top and bottom of the screen
how can that be fixed? install some software to it..
i think its (android system webview) but i downloaded and install it. but still black screen
My cpu phone is: arm64-v8a
Thanks for your time
When this problem happens again just dump the results of adb logcat
Tab E said:
When this problem happens again just dump the results of adb logcat
Click to expand...
Click to collapse
Here is my Log:
Code:
04-01 15:20:18.752 1795 2047 D Surface : Surface::disconnect(this=0x7782324000,api=1)
04-01 15:20:18.753 448 768 I BufferQueueProducer: [com.android.launcher3/com.android.searchlauncher.SearchLauncher#1](this:0x7e27571800,id:107,api:1,p:1795,c:448) disconnect(P): api 1
04-01 15:20:18.753 448 768 D BufferQueueConsumer: [com.android.launcher3/com.android.searchlauncher.SearchLauncher#1](this:0x7e27571800,id:107,api:1,p:-1,c:448) getReleasedBuffers: returning mask 0xffffffffffffffff
04-01 15:20:18.762 1795 1986 W OverviewFlags: Unable to update overview back button alpha
04-01 15:20:18.762 1795 1986 W OverviewFlags: android.os.DeadObjectException
04-01 15:20:18.762 1795 1986 W OverviewFlags: at android.os.BinderProxy.transactNative(Native Method)
04-01 15:20:18.762 1795 1986 W OverviewFlags: at android.os.BinderProxy.transact(Binder.java:1135)
04-01 15:20:18.762 1795 1986 W OverviewFlags: at com.android.systemui.shared.recents.ISystemUiProxy$Stub$Proxy.setBackButtonAlpha(ISystemUiProxy.java:308)
04-01 15:20:18.762 1795 1986 W OverviewFlags: at com.android.quickstep.OverviewInteractionState.applyBackButtonAlpha(OverviewInteractionState.java:194)
04-01 15:20:18.762 1795 1986 W OverviewFlags: at com.android.quickstep.OverviewInteractionState.handleBgMessage(OverviewInteractionState.java:152)
04-01 15:20:18.762 1795 1986 W OverviewFlags: at com.android.quickstep.OverviewInteractionState.lambda$lUCjlXPvcc5dI6thv7Aq9QPgFjM(Unknown Source:0)
04-01 15:20:18.762 1795 1986 W OverviewFlags: at com.android.quickstep.-$$Lambda$OverviewInteractionState$lUCjlXPvcc5dI6thv7Aq9QPgFjM.handleMessage(Unknown Source:2)
04-01 15:20:18.762 1795 1986 W OverviewFlags: at android.os.Handler.dispatchMessage(Handler.java:102)
04-01 15:20:18.762 1795 1986 W OverviewFlags: at android.os.Looper.loop(Looper.java:193)
04-01 15:20:18.762 1795 1986 W OverviewFlags: at android.os.HandlerThread.run(HandlerThread.java:65)
04-01 15:20:18.763 443 6936 D APM_AudioPolicyManager: AudioPolicyManager:setRecordSilenced(uid:10029, silenced:0)
04-01 15:20:18.763 443 6936 D AudioFlinger: AudioFlinger::setRecordSilenced(uid:10029, silenced:0)
04-01 15:20:18.771 1795 1795 V PhoneWindow: DecorView setVisiblity: visibility = 4, Parent = [email protected], this = [email protected][SearchLauncher]
04-01 15:20:18.780 10947 10947 I ndroid.systemu: The ClassLoaderContext is a special shared library.
04-01 15:20:18.783 1995 2115 I MicroDetector: Keeping mic open: false
04-01 15:20:18.783 1995 8599 I DeviceStateChecker: DeviceStateChecker cancelled
04-01 15:20:18.786 1995 10742 I AudioController: internalShutdown
04-01 15:20:18.786 1995 10742 D AudioRecord: stop: 0x7794adb000
04-01 15:20:18.787 1995 10653 I MicroRecognitionRunner: Stopping hotword detection.
04-01 15:20:18.794 5730 5730 I DeviceStatusMonitor: onReceive() : Action = android.intent.action.SCREEN_OFF
04-01 15:20:18.800 448 448 I BufferQueueConsumer: [com.android.launcher3/com.android.searchlauncher.SearchLauncher#0](this:0x7e27570000,id:106,api:1,p:-1,c:-1) disconnect(C)
04-01 15:20:18.801 448 448 I BufferQueueConsumer: [com.android.launcher3/com.android.searchlauncher.SearchLauncher#1](this:0x7e27571800,id:107,api:1,p:-1,c:-1) disconnect(C)
04-01 15:20:18.801 448 448 I BufferQueue: [com.android.launcher3/com.android.searchlauncher.SearchLauncher#1](this:0x7e27571800,id:107,api:1,p:-1,c:-1) ~BufferQueueCore
04-01 15:20:18.802 448 448 I BufferQueue: [com.android.launcher3/com.android.searchlauncher.SearchLauncher#0](this:0x7e27570000,id:106,api:1,p:-1,c:-1) ~BufferQueueCore
04-01 15:20:18.807 419 507 D AudioALSAStreamIn: standby()
04-01 15:20:18.807 419 507 D AudioALSAStreamIn: standby(), keep the mStandbyFrameCount = 216640, ret = 0
04-01 15:20:18.807 419 507 D AudioALSAStreamIn: close()
04-01 15:20:18.807 419 507 D AudioALSACaptureHandlerNormal: +close()
04-01 15:20:18.815 10947 10947 W AlarmManager: Unrecognized alarm listener com.android.systemui.keygu[email protected]15d00de
04-01 15:20:18.817 1995 9338 I PBSessionCacheImpl: Deleted sessionId[291050738090] from persistence.
04-01 15:20:18.826 419 507 D AudioALSACaptureDataClientAurisysNormal: pthread_join hProcessThread done
04-01 15:20:18.826 419 507 D AudioALSACaptureDataProviderBase: detach(), 0xf4161000, mCaptureDataClientVector.size()=1, Identity=0xf415ec00
04-01 15:20:18.826 419 507 D AudioALSAHardwareResourceManager: +stopInputDevice(), mInputDevice = 0x80000004, stop_device = 0x80000004, mStartInputDeviceCount = 1, mMicInverse = 0, mNumPhoneMicSupport = 2
04-01 15:20:18.826 419 507 D AudioALSAHardwareResourceManager: setSingleDmicLoopbackType(), start input = 0, use_single_input = 0, mBuiltInMicSpecificType = 0
04-01 15:20:18.826 419 507 D AudioALSADeviceConfigManager: ApplyDeviceTurnoffSequenceByName(), DeviceName = builtin_Mic_DualMic descriptor->DeviceStatusCounter = 1
04-01 15:20:18.826 419 507 D AudioALSACaptureDataProviderNormal: close()
04-01 15:20:18.833 1022 5501 V SettingsProvider: packageValueForCallResult, name = zen_mode, value : Bundle[{[email protected], value=0, _generation_index=0, _generation=15}]
04-01 15:20:18.844 419 10846 D AudioALSACaptureDataProviderNormal: -readThread(), pid: 419, tid: 10846
04-01 15:20:18.845 419 507 D AudioALSACaptureDataProviderNormal: pthread_join hReadThread done
04-01 15:20:18.846 419 507 D AudioALSACaptureDataProviderNormal: -close()
04-01 15:20:18.846 419 507 D AudioALSACaptureDataClientAurisysNormal: DestroyAurisysLibManager()
04-01 15:20:18.847 419 507 D aurisys_lib_handler: aurisys_arsi_destroy_handler(), lib_name mtk_speech_enh, 0xf4172c40, arsi_destroy_handler, arsi_handler = 0xf1b89500, retval = 0
04-01 15:20:18.847 419 507 D aurisys_lib_manager: delete_aurisys_lib_manager(), manager 0xf416b380
04-01 15:20:18.847 448 768 W SurfaceFlinger: Attempting to destroy on removed layer: 49b3b95 StatusBar#0
04-01 15:20:18.847 448 768 W SurfaceFlinger: Attempting to destroy on removed layer: a29313b NavigationBar#0
04-01 15:20:18.847 419 507 D AudioVoiceUIDL: [SetUplinkStartTime] mULtime sec 0 nsec 0
04-01 15:20:18.847 419 507 D AudioALSACaptureHandlerNormal: -close()
04-01 15:20:18.849 448 448 I BufferQueueConsumer: [StatusBar#0](this:0x7e274fb000,id:4,api:1,p:-1,c:-1) disconnect(C)
04-01 15:20:18.850 448 448 I BufferQueueConsumer: [NavigationBar#0](this:0x7e27557800,id:7,api:1,p:-1,c:-1) disconnect(C)
04-01 15:20:18.850 443 6936 D APM_AudioPolicyManager: stopInput() input 150
04-01 15:20:18.851 1022 1108 I InputReader: Reconfiguring input devices. changes=0x00000004
04-01 15:20:18.851 419 507 D AudioALSAHardware: +routing releaseAudioPatch 80000004->Mixer
04-01 15:20:18.851 419 507 D AudioALSAStreamManager: +setParameters(), IOport = 150, keyValuePairs = routing=0
04-01 15:20:18.851 419 507 D AudioALSAStreamManager: +routingInputDevice(), input_device: 0x80000004 => 0x0
04-01 15:20:18.851 419 507 W AudioALSAStreamManager: -routingInputDevice(), input_device == AUDIO_DEVICE_NONE(0x0), return
04-01 15:20:18.851 419 507 D AudioALSAHardware: handlecheck releaseAudioPatch remove handle [12] OK
04-01 15:20:18.851 448 448 I BufferQueue: [StatusBar#0](this:0x7e274fb000,id:4,api:1,p:-1,c:-1) ~BufferQueueCore
04-01 15:20:18.852 448 1105 I SurfaceFlinger: [SF client] Remove(0x7e27421b40) for (1022:system_server)
04-01 15:20:18.852 448 448 I BufferQueue: [NavigationBar#0](this:0x7e27557800,id:7,api:1,p:-1,c:-1) ~BufferQueueCore
04-01 15:20:18.852 1995 10742 D AudioRecord: stop done
04-01 15:20:18.852 1995 10742 D AudioRecord: stop: 0x7794adb000
04-01 15:20:18.852 1995 10742 I chatty : uid=10023(com.google.android.googlequicksearchbox) UserFacing20 identical 1 line
04-01 15:20:18.852 1995 10742 D AudioRecord: stop: 0x7794adb000
04-01 15:20:18.853 428 428 W hwcomposer: [JOB] (0) SET/bypass/no_visible_layers
04-01 15:20:18.854 419 507 D AudioALSAStreamManager: +closeInputStream(), in = 0xf2ef6c00, size() = 1
04-01 15:20:18.854 419 507 D AudioALSAStreamIn: ~AudioALSAStreamIn()
04-01 15:20:18.854 419 507 D AudioALSAStreamManager: -closeInputStream(), mStreamInVector.size() = 0
04-01 15:20:18.856 1995 10742 I MicrophoneInputStream: mic_close SR : 16000 CC : 16 SO : 1999
04-01 15:20:18.858 1022 1047 W ActivityManager: setHasOverlayUi called on unknown pid: 1172
04-01 15:20:18.859 1022 1031 I system_server: Background concurrent copying GC freed 70072(3MB) AllocSpace objects, 23(3MB) LOS objects, 27% free, 16MB/22MB, paused 258us total 227.296ms
04-01 15:20:18.862 1022 5501 V SettingsProvider: packageValueForCallResult, name = user_setup_complete, value : Bundle[{[email protected], value=1, _generation_index=1, _generation=9}]
04-01 15:20:18.866 428 428 W hwcomposer: [JOB] (0) SET/bypass/no_visible_layers
04-01 15:20:18.868 1995 2111 I MicroRecognitionRunner: Detection finished
04-01 15:20:18.876 1995 2115 W SearchServiceCore: Abort, client detached.
04-01 15:20:18.885 6391 6475 I NearbySharing: Screen is locked [CONTEXT service_id=194 ]
04-01 15:20:18.885 6391 6475 I NearbySharing: Failed to stop scanning because weren't scanning. [CONTEXT service_id=194 ]
04-01 15:20:18.886 6391 6475 I NearbySharing: Stopping discovery because the screen is locked. [CONTEXT service_id=194 ]
04-01 15:20:18.887 6391 6475 I NearbySharing: Can't stop advertising FastInitiation. Not advertising. [CONTEXT service_id=194 ]
04-01 15:20:18.888 6391 6475 I NearbySharing: Stopping Fast Init advertisement because Bluetooth is off. [CONTEXT service_id=194 ]
04-01 15:20:18.890 6391 6475 I NearbySharing: Failed to stop advertising because we weren't advertising. [CONTEXT service_id=194 ]
04-01 15:20:18.891 6391 6475 I NearbySharing: Stopping advertising because the screen is locked. [CONTEXT service_id=194 ]
04-01 15:20:18.891 6391 6475 I NearbySharing: Stopping FastInitiation scanning because the screen is locked. [CONTEXT service_id=194 ]
04-01 15:20:18.893 6391 6475 I NearbySharing: Can't stop scanning for FastInitiation. Not scanning. [CONTEXT service_id=194 ]
04-01 15:20:18.894 6391 6475 I NearbySharing: Cancelling in use notification [CONTEXT service_id=194 ]
04-01 15:20:18.895 6391 6475 I NearbySharing: Fast Initiation Scanning has stopped [CONTEXT service_id=194 ]
04-01 15:20:18.901 10947 10947 D FaceUnlockUtil: startFaceUnlockService
04-01 15:20:18.901 10947 10947 D FaceUnlockUtil: setContext
04-01 15:20:18.902 604 604 I Accelerometer: batch: handle:0, flag:0,samplingPeriodNs:20000000 maxBatchReportLatencyNs:100000000
04-01 15:20:18.902 1022 5423 V SettingsProvider: name : base_ver appId : 10029
04-01 15:20:18.903 1022 5423 V SettingsProvider: Package name : com.android.systemui privateFlags : 1052776
04-01 15:20:18.904 1022 1022 D MMI : setGravitySensorEnabled(false): android.intent.action.SCREEN_ON
04-01 15:20:18.908 1022 1118 E WifiVendorHal: getWifiLinkLayerStats(l.937) failed {.code = ERROR_NOT_SUPPORTED, .description = }
04-01 15:20:18.909 1022 1022 D AudioSystem: +setParameters(): screen_state=on
04-01 15:20:18.909 419 507 D AudioALSAHardware: +setParameters(): screen_state=on
04-01 15:20:18.909 419 507 D AudioALSAStreamOut: +setScreenState(), flag 6, mode 1
04-01 15:20:18.909 419 507 D AudioALSAStreamOut: +setScreenState(), flag 8, mode 1
04-01 15:20:18.909 419 507 D AudioALSAHardware: -setParameters(): screen_state=on
04-01 15:20:18.909 1022 1118 D WifiConnectivityManager: handleScreenStateChanged: screenOn=true
04-01 15:20:18.910 1022 1118 D WifiConnectivityManager: startConnectivityScan: screenOn=true wifiState=connected scanImmediately=false wifiEnabled=true wifiConnectivityManagerEnabled=true
04-01 15:20:18.910 1022 1118 D WifiConnectivityManager: No partial scan because firmware roaming is supported.
04-01 15:20:18.910 1022 1118 D WifiConnectivityManager: schedulePeriodicScanTimer, intervalMs: 20000
04-01 15:20:18.915 10947 10947 V SystemUIService: Starting SystemUI services for user 0.
04-01 15:20:18.915 1022 1099 E MtkDataShapingUtils: Exception openLteGateByDataShaping in java.lang.NullPointerException: null receiver
04-01 15:20:18.915 1022 1099 W System.err: java.lang.NullPointerException: null receiver
04-01 15:20:18.915 1022 1099 W System.err: at java.lang.reflect.Method.invoke(Native Method)
04-01 15:20:18.916 1022 1099 W System.err: at com.mediatek.server.MtkDataShaping.openLteGateByDataShaping(MtkDataShaping.java:36)
04-01 15:20:18.916 1022 1099 W System.err: at com.android.server.AlarmManagerService.deliverAlarmsLocked(AlarmManagerService.java:3607)
04-01 15:20:18.916 1022 1099 W System.err: at com.android.server.AlarmManagerService$AlarmThread.run(AlarmManagerService.java:3785)
04-01 15:20:18.929 1585 1585 I wpa_supplicant: wpa_driver_nl80211_driver_cmd: wlan0 recv cmd SETSUSPENDMODE 0
04-01 15:20:18.932 1585 1585 I wpa_supplicant: wpa_driver_nl80211_driver_cmd: ret = 0 used = 17 total = 512
04-01 15:20:18.937 1726 1726 D NfcService: BroadcastReceiver - SCREEN_STATE_ON_LOCKED
04-01 15:20:18.939 1726 1726 D NfcService: NfcServiceHandler - handleMessage(MSG_APPLY_SCREEN_STATE)
04-01 15:20:18.942 5730 5730 I DeviceStatusMonitor: onReceive() : Action = android.intent.action.SCREEN_ON
04-01 15:20:18.942 10947 10947 V MediaRouter: Adding route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
04-01 15:20:18.950 10947 10947 V MediaRouter: Selecting route: RouteInfo{ name=Phone, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
04-01 15:20:18.970 1022 1022 D TrustManagerService: Removing dead TrustListener.
04-01 15:20:18.975 1022 3537 V FingerprintService: mDaemon was null, reconnect to fingerprint
04-01 15:20:18.977 1022 3537 W FingerprintService: fingerprint HIDL not available
04-01 15:20:18.979 6391 6475 I NearbySharing: Screen is locked [CONTEXT service_id=194 ]
04-01 15:20:18.980 6391 6475 I NearbySharing: Failed to stop scanning because weren't scanning. [CONTEXT service_id=194 ]
04-01 15:20:18.980 6391 6475 I NearbySharing: Stopping discovery because the screen is locked. [CONTEXT service_id=194 ]
04-01 15:20:18.980 6391 6475 I NearbySharing: Can't stop advertising FastInitiation. Not advertising. [CONTEXT service_id=194 ]
04-01 15:20:18.980 6391 6475 I NearbySharing: Stopping Fast Init advertisement because Bluetooth is off. [CONTEXT service_id=194 ]
04-01 15:20:18.980 6391 6475 I NearbySharing: Failed to stop advertising because we weren't advertising. [CONTEXT service_id=194 ]
04-01 15:20:18.980 6391 6475 I NearbySharing: Stopping advertising because the screen is locked. [CONTEXT service_id=194 ]
04-01 15:20:18.980 6391 6475 I NearbySharing: Stopping FastInitiation scanning because the screen is locked. [CONTEXT service_id=194 ]
04-01 15:20:18.980 6391 6475 I NearbySharing: Can't stop scanning for FastInitiation. Not scanning. [CONTEXT service_id=194 ]
04-01 15:20:18.980 6391 6475 I NearbySharing: Cancelling in use notification [CONTEXT service_id=194 ]
04-01 15:20:18.981 6391 6475 I NearbySharing: Fast Initiation Scanning has stopped [CONTEXT service_id=194 ]
04-01 15:20:19.002 10947 10947 W SoundPool: Use of stream types is deprecated for operations other than volume control
04-01 15:20:19.002 10947 10947 W SoundPool: See the documentation of SoundPool() for what to use instead with android.media.AudioAttributes to qualify your playback use case
04-01 15:20:19.003 1655 1655 I ADB_SERVICES: local_socket_flush_outgoing read_data=895307
04-01 15:20:19.005 582 582 D DrmMtkUtil: getProcessName() : path : [/proc/10947/cmdline]
04-01 15:20:19.004 582 582 W drmserver: type=1400 audit(0.0:533): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=10159 scontext=u:r:drmserver:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
04-01 15:20:19.007 582 582 E libc : Access denied finding property "vendor.drm.mtkdefender.disable"
04-01 15:20:19.009 10947 10947 D KeyguardDialogManager: DialogSequenceManager DialogSequenceManager()
04-01 15:20:19.010 582 582 D DrmMtkUtil: getProcessName() : path : [/proc/10947/cmdline]
04-01 15:20:19.011 582 582 E libc : Access denied finding property "vendor.drm.mtkdefender.disable"
04-01 15:20:19.008 582 582 W drmserver: type=1400 audit(0.0:534): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=10159 scontext=u:r:drmserver:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
04-01 15:20:19.012 7433 7448 I android.vendin: Background concurrent copying GC freed 30507(1895KB) AllocSpace objects, 16(676KB) LOS objects, 23% free, 19MB/25MB, paused 680us total 192.743ms
04-01 15:20:19.014 589 589 E APEExtractor: getAPEInfo not ape 20483
04-01 15:20:19.014 10947 10947 E AntiTheftManager: doPplLockCheck() - error in get PPLAgent service.
04-01 15:20:19.014 10947 10947 D AntiTheftManager: getInstance(...) is called.
04-01 15:20:19.014 10947 10947 D AntiTheftManager: getInstance(...) create one.
04-01 15:20:19.014 10947 10947 D AntiTheftManager: AntiTheftManager() is called.
04-01 15:20:19.015 10947 10947 D AntiTheftManager: MTK_PRIVACY_PROTECTION_LOCK is enabled.
04-01 15:20:19.015 10947 10947 D AntiTheftManager: mDismissable is 0 before
04-01 15:20:19.015 10947 10947 D AntiTheftManager: mDismissable is 2 after
04-01 15:20:19.016 10947 10947 D VoiceWakeupManagerProxy: getInstance(...) is called.
04-01 15:20:19.016 10947 10947 D VoiceWakeupManagerProxy: getInstance(...) create one.
04-01 15:20:19.016 10947 10947 D VoiceWakeupManagerProxy: constructor is called.
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: createVoiceWakeupManagerInstance error
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: java.lang.ClassNotFoundException: com.mediatek.keyguard.VoiceWakeup.VoiceWakeupManager
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at java.lang.Class.classForName(Native Method)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at java.lang.Class.forName(Class.java:453)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at java.lang.Class.forName(Class.java:378)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at com.mediatek.keyguard.VoiceWakeup.VoiceWakeupManagerProxy.createVoiceWakeupManagerInstance(VoiceWakeupManagerProxy.java:40)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at com.mediatek.keyguard.VoiceWakeup.VoiceWakeupManagerProxy.getInstance(VoiceWakeupManagerProxy.java:33)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at com.android.systemui.keyguard.KeyguardViewMediator.setupLocked(KeyguardViewMediator.java:955)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at com.android.systemui.keyguard.KeyguardViewMediator.start(KeyguardViewMediator.java:973)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at com.android.systemui.SystemUIApplication.startServicesIfNeeded(SystemUIApplication.java:195)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at com.android.systemui.SystemUIApplication.startServicesIfNeeded(SystemUIApplication.java:139)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at com.android.systemui.keyguard.KeyguardService.onCreate(KeyguardService.java:48)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at android.app.ActivityThread.handleCreateService(ActivityThread.java:3563)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at android.app.ActivityThread.access$1400(ActivityThread.java:206)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1694)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at android.os.Handler.dispatchMessage(Handler.java:106)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at android.os.Looper.loop(Looper.java:193)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at android.app.ActivityThread.main(ActivityThread.java:6702)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at java.lang.reflect.Method.invoke(Native Method)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.mediatek.keyguard.VoiceWakeup.VoiceWakeupManager" on path: DexPathList[[zip file "/system/priv-app/MtkSystemUI/MtkSystemUI.apk"],nativeLibraryDirectories=[/system/priv-app/MtkSystemUI/lib/arm64, /system/lib64, /system/lib64]]
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
04-01 15:20:19.017 10947 10947 E VoiceWakeupManagerProxy: ... 19 more
04-01 15:20:19.020 10947 10947 D KeyguardViewMediator: onBootCompleted() is called
04-01 15:20:19.023 10947 10970 I OMXClient: IOmx service obtained
04-01 15:20:19.024 603 603 I OMXMaster: makeComponentInstance(OMX.google.vorbis.decoder) in [email protected] process
04-01 15:20:19.027 603 603 E OMXNodeInstance: getConfig(0xeaba7ba0:google.vorbis.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
04-01 15:20:19.029 417 417 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x7959a2c100, 32768)
04-01 15:20:19.029 10947 10947 D OpenGLRenderer: Skia GL Pipeline
04-01 15:20:19.033 417 417 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x7959a2c100, 32768)
04-01 15:20:19.049 417 417 I chatty : uid=1000(system) [email protected] identical 9 lines
04-01 15:20:19.049 417 417 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x7959a2c100, 32768)
04-01 15:20:19.071 1795 1795 D TouchInteractionService: Touch service connected
04-01 15:20:19.076 582 582 D DrmMtkUtil: getProcessName() : path : [/proc/10947/cmdline]
04-01 15:20:19.068 582 582 W drmserver: type=1400 audit(0.0:535): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=10159 scontext=u:r:drmserver:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
04-01 15:20:19.077 582 582 E libc : Access denied finding property "vendor.drm.mtkdefender.disable"
04-01 15:20:19.080 582 582 D DrmMtkUtil: getProcessName() : path : [/proc/10947/cmdline]
04-01 15:20:19.068 582 582 W drmserver: type=1400 audit(0.0:536): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=10159 scontext=u:r:drmserver:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
04-01 15:20:19.080 582 582 E libc : Access denied finding property "vendor.drm.mtkdefender.disable"
04-01 15:20:19.082 589 589 E APEExtractor: getAPEInfo not ape 20483
04-01 15:20:19.088 10947 10979 I OMXClient: IOmx service obtained
04-01 15:20:19.088 603 603 I OMXMaster: makeComponentInstance(OMX.google.vorbis.decoder) in [email protected] process
04-01 15:20:19.091 603 603 E OMXNodeInstance: getConfig(0xeaba7ba0:google.vorbis.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
04-01 15:20:19.093 417 417 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x7959a2c100, 32768)
04-01 15:20:19.106 417 417 I chatty : uid=1000(system) [email protected] identical 10 lines
04-01 15:20:19.107 417 417 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x7959a2c100, 32768)
04-01 15:20:19.127 10947 10947 I vol.Events: writeEvent collection_started
04-01 15:20:19.129 582 582 D DrmMtkUtil: getProcessName() : path : [/proc/10947/cmdline]
04-01 15:20:19.130 582 582 E libc : Access denied finding property "vendor.drm.mtkdefender.disable"
04-01 15:20:19.132 582 582 D DrmMtkUtil: getProcessName() : path : [/proc/10947/cmdline]
04-01 15:20:19.133 582 582 E libc : Access denied finding property "vendor.drm.mtkdefender.disable"
04-01 15:20:19.134 589 3063 E APEExtractor: getAPEInfo not ape 20482
04-01 15:20:19.096 582 582 W drmserver: type=1400 audit(0.0:537): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=10159 scontext=u:r:drmserver:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
04-01 15:20:19.141 10947 10982 I vol.Events: writeEvent external_ringer_mode_changed vibrate
04-01 15:20:19.142 10947 10982 I vol.Events: writeEvent internal_ringer_mode_changed vibrate
04-01 15:20:19.143 10947 10984 I OMXClient: IOmx service obtained
04-01 15:20:19.144 603 603 I OMXMaster: makeComponentInstance(OMX.google.vorbis.decoder) in [email protected] process
04-01 15:20:19.146 603 603 E OMXNodeInstance: getConfig(0xeaba7ba0:google.vorbis.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001)
04-01 15:20:19.148 417 417 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x7959a2c100, 32768)
04-01 15:20:19.162 417 417 I chatty : uid=1000(system) [email protected] identical 10 lines
04-01 15:20:19.163 417 417 W AshmemAllocator: ashmem_create_region(32768) returning hidl_memory(0x7959a2c100, 32768)
04-01 15:20:19.207 10947 10982 I vol.Events: writeEvent level_changed STREAM_VOICE_CALL 7
04-01 15:20:19.210 10947 10982 I vol.Events: writeEvent level_changed STREAM_SYSTEM 15
04-01 15:20:19.210 10947 10982 I vol.Events: writeEvent mute_changed STREAM_SYSTEM true
04-01 15:20:19.212 10947 10982 I vol.Events: writeEvent level_changed STREAM_RING 15
04-01 15:20:19.213 10947 10982 I vol.Events: writeEvent mute_changed STREAM_RING true
04-01 15:20:19.214 10947 10982 I vol.Events: writeEvent level_changed STREAM_MUSIC 10
04-01 15:20:19.217 10947 10982 I vol.Events: writeEvent level_changed STREAM_ALARM 12
04-01 15:20:19.220 10947 10982 I vol.Events: writeEvent level_changed STREAM_BLUETOOTH_SCO 7
04-01 15:20:19.226 10947 10982 I vol.Events: writeEvent zen_mode_config_changed [disallowAlarms=false disallowMedia=false disallowSystem=true disallowRinger=false]
04-01 15:20:19.239 10947 10947 D ResolutionTunerAppList: loadTunerAppList +
04-01 15:20:19.240 10947 10947 E ResolutionTunerAppList: Target file doesn't exist: system/vendor/etc/sf_resolution_tuner_app_list.xml
04-01 15:20:19.240 10947 10947 D SurfaceExt: SurfaceExtimpl, mPackageName:android.uid.systemui:10029,mContainPackageName:false
04-01 15:20:19.240 10947 10947 I SurfaceFactory: [static] sSurfaceFactory = [email protected]
04-01 15:20:19.261 10947 10947 D ViewRootImpl[DockedStackDivider]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
04-01 15:20:19.265 448 1105 I SurfaceFlinger: [SF client] NEW(0x7e27421b40) for (1022:system_server)
04-01 15:20:19.276 428 428 W hwcomposer: [JOB] (0) SET/bypass/no_visible_layers
04-01 15:20:19.290 428 428 W hwcomposer: [JOB] (0) SET/bypass/no_visible_layers
04-01 15:20:19.291 10947 10947 D NetworkController.WifiSignalController: constructor
04-01 15:20:19.295 1022 5501 I WifiService: getWifiServiceMessenger uid=10029
04-01 15:20:19.297 10947 10947 D NetworkController.EthernetSignalController: constructor
04-01 15:20:19.301 1022 5501 D MtkConnectivityService: requestNetwork for uid/pid:10029/10947 NetworkRequest [ TRACK_DEFAULT id=90, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10029] ]
04-01 15:20:19.303 1022 1145 D Ethernet: got request NetworkRequest [ TRACK_DEFAULT id=90, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10029] ] with score 60
04-01 15:20:19.303 1022 1118 D WIFI_UT : got request NetworkRequest [ TRACK_DEFAULT id=90, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10029] ] with score 60
04-01 15:20:19.303 1022 1118 D WIFI : got request NetworkRequest [ TRACK_DEFAULT id=90, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10029] ] with score 60
04-01 15:20:19.303 1303 1303 D PhoneSwitcherNetworkRequstListener: got request NetworkRequest [ TRACK_DEFAULT id=90, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10029] ] with score 60
04-01 15:20:19.304 10947 10947 D OperatorCustomizationFactoryLoader: Slot -1's OperatorInfo is__
04-01 15:20:19.304 10947 10947 D OperatorCustomizationFactoryLoader: It's OM load or parse failed, because operator is null
04-01 15:20:19.304 10947 10947 E OperatorCustomizationFactoryLoader: can not find operatorFactoryInfo by slot id -1 from
04-01 15:20:19.304 10947 10947 E OperatorCustomizationFactoryLoader: 0: OperatorFactoryInfo(OP03_null_SEGDEFAULT:OP03SystemUI.apk:com.mediatek.op03.systemui.Op03SystemUICustomizationFactory:com.mediatek.op03.systemui)
04-01 15:20:19.304 10947 10947 E OperatorCustomizationFactoryLoader: 1: OperatorFactoryInfo(OP07_null_SEGDEFAULT:OP07SystemUI.apk:com.mediatek.op07.systemui.OP07SystemUICustomizationFactory:com.mediatek.op07.systemui)
04-01 15:20:19.304 10947 10947 E OperatorCustomizationFactoryLoader: 2: OperatorFactoryInfo(OP18_null_SEGDEFAULT:OP18SystemUI.apk:com.mediatek.op18.systemui.Op18SystemUICustomizationFactory:com.mediatek.op18.systemui)
04-01 15:20:19.304 10947 10947 E OperatorCustomizationFactoryLoader: 3: OperatorFactoryInfo(OP01_null_null:OP01SystemUI.apk:com.mediatek.systemui.op01.Op01SystemUICustomizationFactory:com.mediatek.systemui.op01)
04-01 15:20:19.304 10947 10947 E OperatorCustomizationFactoryLoader: 4: OperatorFactoryInfo(OP02_null_null:OP02SystemUI.apk:com.mediatek.systemui.op02.Op02SystemUICustomizationFactory:com.mediatek.systemui.op02)
04-01 15:20:19.304 10947 10947 E OperatorCustomizationFactoryLoader: 5: OperatorFactoryInfo(OP09_null_SEGDEFAULT:OP09SystemUI.apk:com.mediatek.systemui.op09.Op09SystemUICustomizationFactory:com.mediatek.systemui.op09)
04-01 15:20:19.304 10947 10947 E OperatorCustomizationFactoryLoader: 6: OperatorFactoryInfo(OP09_null_SEGC:OP09ClipSystemUI.apk:com.mediatek.systemui.op09clip.Op09SystemUICustomizationFactory:com.mediatek.systemui.op09clip)
04-01 15:20:19.304 10947 10947 E OperatorCustomizationFactoryLoader: 7: OperatorFactoryInfo(OP08_null_null:OP08SystemUI.apk:com.mediatek.op08.systemui.Op08SystemUICustomizationFactory:com.mediatek.op08.systemui)
04-01 15:20:19.304 10947 10947 E OperatorCustomizationFactoryLoader: 8: OperatorFactoryInfo(OP20_null_null:OP20SystemUI.apk:com.mediatek.op20.systemui.Op20SystemUICustomizationFactory:com.mediatek.op20.systemui)
04-01 15:20:19.311 10947 10985 D NetworkController: subscriptions is null
04-01 15:20:19.314 10947 10985 D WifiSignalController: mCurrentState.inetCondition = 1
04-01 15:20:19.318 10947 10985 D NetworkController: subscriptions is null
04-01 15:20:19.329 10947 10985 D NetworkController: isEmergencyOnly No sims
04-01 15:20:19.330 10947 10985 D WifiSignalController: mCurrentState.inetCondition = 1
04-01 15:20:19.332 10947 10985 D WifiSignalController: mCurrentState.inetCondition = 1
04-01 15:20:19.332 10947 10985 D NetworkController: updateMobileControllers detectedType: 4
04-01 15:20:19.335 10947 10947 D ViewRootImpl[AssistPreviewPanel]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
04-01 15:20:19.373 1022 5423 W WallpaperManagerService: Cannot extract colors because wallpaper could not be read.
04-01 15:20:19.373 1022 5423 W WallpaperManagerService: Cannot get theme colors because WallpaperColors is null.
04-01 15:20:19.373 1022 5423 W WallpaperManagerService: Cannot extract colors because wallpaper could not be read.
04-01 15:20:19.373 1022 5423 W WallpaperManagerService: Cannot get theme colors because WallpaperColors is null.
04-01 15:20:19.380 428 428 W hwcomposer: [JOB] (0) SET/bypass/no_visible_layers
04-01 15:20:19.381 428 428 W hwcomposer: [JOB] (0) SET/bypass/no_visible_layers
04-01 15:20:19.385 10947 10947 D StatusBar: disable<e i a s b h r c s > disable2<q i n >
04-01 15:20:19.386 1022 5423 I StatusBarManagerService: registerStatusBar [email protected]
04-01 15:20:19.409 1022 5423 V SettingsProvider: packageValueForCallResult, name = time_12_24, value : Bundle[{[email protected], value=24, _generation_index=2, _generation=14}]
04-01 15:20:19.454 10947 10947 D OperatorCustomizationFactoryLoader: Slot -1's OperatorInfo is__
04-01 15:20:19.454 10947 10947 D OperatorCustomizationFactoryLoader: It's OM load or parse failed, because operator is null
04-01 15:20:19.455 10947 10947 E OperatorCustomizationFactoryLoader: can not find operatorFactoryInfo by slot id -1 from
04-01 15:20:19.455 10947 10947 E OperatorCustomizationFactoryLoader: 0: OperatorFactoryInfo(OP01_null_null:OP01SystemUI.apk:com.mediatek.keyguard.op01.Op01KeyguardCustomizationFactory:com.mediatek.systemui.op01)
04-01 15:20:19.455 10947 10947 E OperatorCustomizationFactoryLoader: 1: OperatorFactoryInfo(OP02_null_null:OP02SystemUI.apk:com.mediatek.keyguard.op02.Op02KeyguardCustomizationFactory:com.mediatek.systemui.op02)
04-01 15:20:19.455 10947 10947 E OperatorCustomizationFactoryLoader: 2: OperatorFactoryInfo(OP09_null_SEGDEFAULT:OP09SystemUI.apk:com.mediatek.keyguard.op09.Op09KeyguardCustomizationFactory:com.mediatek.systemui.op09)
04-01 15:20:19.455 10947 10947 E OperatorCustomizationFactoryLoader: 3: OperatorFactoryInfo(OP09_null_SEGC:OP09ClipSystemUI.apk:com.mediatek.keyguard.op09clip.Op09KeyguardCustomizationFactory:com.mediatek.systemui.op09clip)
04-01 15:20:19.476 10947 10947 I EmergencyButton: ss.getState()=1 ss.isEmergencyOnly()=true for simId=0
04-01 15:20:19.476 578 614 D AAL : 04-01 03:20:18.744 BL= 317,ESS= 256, 04-01 03:20:18.776 BL= 318,ESS= 256, 04-01 03:20:18.971 BL= 319,ESS= 256, 04-01 03:20:19.199 BL= 320,ESS= 256, 04-01 03:20:19.476 BL= 321,ESS= 256,
04-01 15:20:19.479 10947 10947 I EmergencyButton: ss.getState()=3 ss.isEmergencyOnly()=false for simId=1
04-01 15:20:19.480 10947 10947 E libc : Access denied finding property "vendor.sys.boot.reason"
04-01 15:20:19.481 10947 10947 D KeyguardSecurityModel: isPinPukOrMeRequiredOfSubId() - phoneId = 0, simState = UNKNOWN
04-01 15:20:19.481 10947 10947 D KeyguardSecurityModel: isPinPukOrMeRequiredOfSubId() - phoneId = 1, simState = UNKNOWN
04-01 15:20:19.481 10947 10947 D AntiTheftManager: getCurrentAntiTheftMode() is called.
04-01 15:20:19.511 10947 10947 I CameraManagerGlobal: Connecting to camera service
04-01 15:20:19.570 10947 10947 D NotificationEntryMgr: heads up is enabled
04-01 15:20:19.577 10947 10947 D ViewRootImpl[NavigationBar]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
04-01 15:20:19.584 428 428 W hwcomposer: [JOB] (0) SET/bypass/no_visible_layers
04-01 15:20:19.599 428 428 W hwcomposer: [JOB] (0) SET/bypass/no_visible_layers
04-01 15:20:19.615 10947 10947 D QSTileHost: loadTileSpecs() default tile list: wifi,bt,dnd,flashlight,rotation,battery,cell,airplane,cast,location,hotspot
04-01 15:20:19.637 10947 10947 D BluetoothHidDevice: Bound to HID Device Service
04-01 15:20:19.637 10947 10947 D LocalBluetoothProfileManager: Adding local MAP profile
04-01 15:20:19.637 10947 10947 D BluetoothMap: Create BluetoothMap proxy object
04-01 15:20:19.641 10947 10947 D LocalBluetoothProfileManager: Adding local PBAP profile
04-01 15:20:19.644 10947 10947 D LocalBluetoothProfileManager: LocalBluetoothProfileManager construction complete
04-01 15:20:19.655 10947 10947 I DefaultQuickSettingsPlugin: customizeDisplayDataUsage, return isDisplay = false
04-01 15:20:19.669 10947 10947 V WifiManager: registerSoftApCallback: callb[email protected]370640, handler=Handler (android.os.Handler) {d55979}
04-01 15:20:19.671 10947 10959 V WifiManager: SoftApCallbackProxy: onStateChanged: state=11, failureReason=0
04-01 15:20:19.672 10947 10959 V WifiManager: SoftApCallbackProxy: onNumClientsChanged: numClients=0
04-01 15:20:19.691 10947 10990 D OpenGLRenderer: profile bars disabled
04-01 15:20:19.692 10947 10990 D OpenGLRenderer: ambientRatio = 1.50
04-01 15:20:19.695 10947 10947 D ViewRootImpl[StatusBar]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
04-01 15:20:19.709 10947 10947 D StatusBar: disable<e i a s b h r c s > disable2<q i n >
04-01 15:20:19.714 428 428 W hwcomposer: [JOB] (0) SET/bypass/no_visible_layers
04-01 15:20:19.720 10947 10947 D PhoneStatusBarPolicy: registerAlarmClockChanged:0
04-01 15:20:19.730 428 428 W hwcomposer: [JOB] (0) SET/bypass/no_visible_layers
04-01 15:20:19.730 448 448 I SurfaceFlinger: [Built-in Screen (type:0)] fps:17.887768,dur:1006.27,max:409.71,min:1.31
04-01 15:20:19.740 10947 10947 D FaceUnlockUtil: setStatusBarKeyguardViewManager
04-01 15:20:19.741 10947 10947 D FaceUnlockUtil: setKeyguardIndicationController
04-01 15:20:19.741 10947 10947 D FaceUnlockUtil: setKeyguardBottomAreaView
04-01 15:20:19.741 10947 10947 D FaceUnlockUtil: setLockIcon
04-01 15:20:19.757 1022 1039 I ActivityManager: Start proc 10997:com.android.keychain/1000 for service com.android.keychain/.KeyChainService
04-01 15:20:19.761 10947 10947 E libc : Access denied finding property "vendor.sys.boot.reason"
04-01 15:20:19.769 10997 10997 E ndroid.keychai: Not starting debugger since process cannot load the jdwp agent.
04-01 15:20:19.778 10997 10997 E libc : Access denied finding property "persist.vendor.sys.activitylog"
04-01 15:20:19.778 10947 10947 D StorageNotification: Notifying about private volume: VolumeInfo{private}:
04-01 15:20:19.778 10947 10947 D StorageNotification: type=PRIVATE diskId=null partGuid=null mountFlags=0 mountUserId=-1
04-01 15:20:19.778 10947 10947 D StorageNotification: state=MOUNTED
04-01 15:20:19.778 10947 10947 D StorageNotification: fsType=null fsUuid=null fsLabel=null
04-01 15:20:19.778 10947 10947 D StorageNotification: path=/data internalPath=null
04-01 15:20:19.780 10947 10947 D StorageNotification: Notifying about public volume: VolumeInfo{public:179,129}:
04-01 15:20:19.780 10947 10947 D StorageNotification: type=PUBLIC diskId=disk:179,128 partGuid= mountFlags=VISIBLE mountUserId=0
04-01 15:20:19.780 10947 10947 D StorageNotification: state=MOUNTED
04-01 15:20:19.780 10947 10947 D StorageNotification: fsType=vfat fsUuid=B30C-1516 fsLabel=
04-01 15:20:19.780 10947 10947 D StorageNotification: path=/storage/B30C-1516 internalPath=/mnt/media_rw/B30C-1516
04-01 15:20:19.794 10997 10997 I ndroid.keychai: The ClassLoaderContext is a special shared library.
04-01 15:20:19.846 10947 10947 D FaceUnlockService: onCreate
04-01 15:20:19.846 10947 10947 D FaceUnlockService: onBind
04-01 15:20:19.848 1291 1291 V faceLog : (FaceUnlockService.java:641)onServiceConnected->*** FaceUnlock connected (yay!)
04-01 15:20:19.849 10947 10983 D FaceUnlockService: registerFaceUnlockCallback
04-01 15:20:19.849 10947 10983 D FaceUnlockUtil: registerFaceUnlockCallback, callback = [email protected]94
04-01 15:20:19.856 10947 11013 D OperatorCustomizationFactoryLoader: Slot -1's OperatorInfo is__
04-01 15:20:19.856 10947 11013 D OperatorCustomizationFactoryLoader: It's OM load or parse failed, because operator is null
04-01 15:20:19.856 10947 11013 E OperatorCustomizationFactoryLoader: can not find operatorFactoryInfo by slot id -1 from
04-01 15:20:19.856 10947 11013 E OperatorCustomizationFactoryLoader: 0: OperatorFactoryInfo(OP03_null_SEGDEFAULT:OP03Wallpaper.apk:com.mediatek.op03.wallpaper.Op03WallpaperCustomizationFactory:com.mediatek.op03.wallpaper)
04-01 15:20:19.856 10947 11013 D MtkWallpaperFactoryImpl: get the wallpaper image from the plug-in
04-01 15:20:19.857 10947 11013 D DefaultWallpaperPlugin: into getPluginResources: null
04-01 15:20:19.861 428 428 W hwcomposer: [JOB] (0) SET/bypass/no_visible_layers
04-01 15:20:19.864 448 1105 I BufferQueue: [unnamed-448-109](this:0x7e24dfc000,id:109,api:0,p:-1,c:-1) BufferQueue core=(448:/system/bin/surfaceflinger)
04-01 15:20:19.865 448 1105 I BufferQueueConsumer: [unnamed-448-109](this:0x7e24dfc000,id:109,api:0,p:-1,c:448) connect(C): consumer=(448:/system/bin/surfaceflinger) controlledByApp=false
04-01 15:20:19.865 448 1105 I BufferQueueConsumer: [unnamed-448-109](this:0x7e24dfc000,id:109,api:0,p:-1,c:448) setConsumerName: unnamed-448-109
04-01 15:20:19.865 448 1105 I BufferQueueConsumer: [com.android.systemui.ImageWallpaper#0](this:0x7e24dfc000,id:109,api:0,p:-1,c:448) setConsumerName: com.android.systemui.ImageWallpaper#0
04-01 15:20:19.865 448 1105 I BufferQueueConsumer: [com.android.systemui.ImageWallpaper#0](this:0x7e24dfc000,id:109,api:0,p:-1,c:448) setDefaultBufferSize: width=1080 height=2340
04-01 15:20:19.876 1022 5423 V FingerprintService: mDaemon was null, reconnect to fingerprint
04-01 15:20:19.876 428 428 W hwcomposer: [JOB] (0) SET/bypass/no_visible_layers
04-01 15:20:19.878 1022 5423 W FingerprintService: fingerprint HIDL not available
04-01 15:20:19.901 10947 10947 I Choreographer: Skipped 38 frames! The application may be doing too much work on its main thread.
04-01 15:20:19.912 1022 1108 I InputReader: Reconfiguring input devices. changes=0x00000004
04-01 15:20:19.925 448 1105 I BufferQueue: [unnamed-448-110](this:0x7e27bd0000,id:110,api:0,p:-1,c:-1) BufferQueue core=(448:/system/bin/surfaceflinger)
04-01 15:20:19.925 448 1105 I BufferQueueConsumer: [unnamed-448-110](this:0x7e27bd0000,id:110,api:0,p:-1,c:448) connect(C): consumer=(448:/system/bin/surfaceflinger) controlledByApp=false
04-01 15:20:19.926 448 1105 I BufferQueueConsumer: [unnamed-448-110](this:0x7e27bd0000,id:110,api:0,p:-1,c:448) setConsumerName: unnamed-448-110
04-01 15:20:19.926 448 1105 I BufferQueueConsumer: [NavigationBar#0](this:0x7e27bd0000,id:110,api:0,p:-1,c:448) setConsumerName: NavigationBar#0
04-01 15:20:19.926 448 1105 I BufferQueueConsumer: [NavigationBar#0](this:0x7e27bd0000,id:110,api:0,p:-1,c:448) setDefaultBufferSize: width=1080 height=144
04-01 15:20:19.929 10947 10947 D Surface : Surface::allocateBuffers(this=0x7782dd2000)
04-01 15:20:19.937 10947 10947 D ViewRootImpl[StatusBar]: changeCanvasOpacity: opaque=true
04-01 15:20:19.954 10947 10990 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
04-01 15:20:19.954 10947 10990 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
04-01 15:20:19.954 10947 10990 I OpenGLRenderer: Initialized EGL, version 1.4
04-01 15:20:19.955 10947 10990 D OpenGLRenderer: Swap behavior 2
04-01 15:20:19.968 428 428 W hwcomposer: [JOB] (0) SET/bypass/no_visible_layers
04-01 15:20:19.975 10947 10990 D Surface : Surface::connect(this=0x7782dd2000,api=1)
04-01 15:20:19.976 448 1105 I BufferQueueProducer: [NavigationBar#0](this:0x7e27bd0000,id:110,api:1,p:10947,c:448) connect(P): api=1 producer=(10947:com.android.systemui) producerControlledByApp=true
04-01 15:20:19.993 10868 10882 I oid.apps.photo: Waiting for a blocking GC ProfileSaver
04-01 15:20:20.005 10868 10882 I oid.apps.photo: WaitForGcToComplete blocked ProfileSaver on HeapTrim for 11.982ms
04-01 15:20:20.022 623 649 D ApmSession: Connect
04-01 15:20:20.023 385 385 W hwservicemanager: getTransport: Cannot find entry [email protected]::IAPMonitorService/default in either framework or device manifest.
04-01 15:20:20.023 623 649 D ApmSession: Connect: false
04-01 15:20:20.023 623 649 D ApmNative: apmIsKpiEnabled2: type = 54, ret = 0
04-01 15:20:20.025 10947 10947 D CarrierText: updateCarrierText() - after combination, carrierFinalContent = null, allSimsMissing = true
:19.373 1022 5423 W WallpaperManagerService: Cannot extract colors because wallpaper could not be read.
04-01 15:20:19.373 1022 5423 W WallpaperManagerService: Cannot get theme colors because WallpaperColors is null.
04-01 15:20:19.373 1022 5423 W WallpaperManagerService: Cannot extract colors because wallpaper could not be read.
04-01 15:20:19.373 1022 5423 W WallpaperManagerService: Cannot get theme colors because WallpaperColors is null.
Looks like this is the culprit. The device is unable to read your wallpaper. Try changing it.
Tab E said:
:19.373 1022 5423 W WallpaperManagerService: Cannot extract colors because wallpaper could not be read.
04-01 15:20:19.373 1022 5423 W WallpaperManagerService: Cannot get theme colors because WallpaperColors is null.
04-01 15:20:19.373 1022 5423 W WallpaperManagerService: Cannot extract colors because wallpaper could not be read.
04-01 15:20:19.373 1022 5423 W WallpaperManagerService: Cannot get theme colors because WallpaperColors is null.
Looks like this is the culprit. The device is unable to read your wallpaper. Try changing it.
Click to expand...
Click to collapse
I have change the wallpaper and still crash black screen
after 8min 15sec
how big is wallpaper resolution?? or your screen resolution? 1080 width 2340 height??
ineedroot69 said:
how big is wallpaper resolution?? or your screen resolution? 1080 width 2340 height??
Click to expand...
Click to collapse
I use a default wallapers photo.
Now i use lower resolution and see what happen
see photo
ineedroot69 said:
how big is wallpaper resolution?? or your screen resolution? 1080 width 2340 height??
Click to expand...
Click to collapse
Lower crash too, do i have to pick correct resolution?
007fred62 said:
Lower crash too, do i have to pick correct resolution?
Click to expand...
Click to collapse
screenshot your screen and temporary set it as wallpaper and see if it restart
ineedroot69 said:
screenshot your screen and temporary set it as wallpaper and see if it restart
Click to expand...
Click to collapse
i do that, still crash and black screen see post#1
you have magisk i assume?
ineedroot69 said:
you have magisk i assume?
Click to expand...
Click to collapse
yes and no,
Yes = rooted
No = Still crash without Root
i have try that.
except for the wallpaper issue this thing "vendor.drm.mtkdefender.disable" show multiple times
I also doubt a surfaceflinger issue. Values might be wrong
Please send me the logs of `adb shell dumpsys SurfaceFlinger`
Tab E said:
Please send me the logs of `adb shell dumpsys SurfaceFlinger`
Click to expand...
Click to collapse
Here dump:
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell dumpsys SurfaceFlinger
Build configuration: [sf DISABLE_TRIPLE_BUFFERING PRESENT_TIME_OFFSET=0 FORCE_HWC_FOR_RBG_TO_YUV=1 MAX_VIRT_DISPLAY_DIM=0 RUNNING_WITHOUT_SYNC_FRAMEWORK=0 NUM_FRAMEBUFFER_SURFACE_BUFFERS=3] [libui] [libgui]
Wide-Color information:
hasWideColorDisplay: 0
DisplayColorSetting: Managed
Display 0 color modes:
ColorMode::NATIVE (0)
Current color mode: ColorMode::NATIVE (0)
Sync configuration: [using: EGL_ANDROID_native_fence_sync EGL_KHR_wait_sync]
DispSync configuration: app phase 8300000 ns, sf phase 8300000 ns, early sf phase 8300000 ns, present offset 0 ns (refresh 16223231 ns)
Static screen stats:
< 1 frames: 22.577 s (17.7%)
< 2 frames: 25.419 s (20.0%)
< 3 frames: 15.673 s (12.3%)
< 4 frames: 20.479 s (16.1%)
< 5 frames: 1.809 s (1.4%)
< 6 frames: 7.788 s (6.1%)
< 7 frames: 3.235 s (2.5%)
7+ frames: 30.227 s (23.8%)
Buffering stats:
[Layer name] <Active time> <Two buffer> <Double buffered> <Triple buffered>
[BootAnimation#0] 45.02 0.399 1.000 0.000
[com.google.android.setupwizard/com.google.android.setupwizard.user.LoadLauncherLayout#0] 16.91 0.011 1.000 0.000
[com.android.settings/com.android.settings.SubSettings#0] 3.93 0.000 0.987 0.013
[com.google.android.setupwizard/com.google.android.setupwizard.user.GoogleServicesWrapper#0] 3.88 0.000 1.000 0.000
[com.android.launcher3/com.android.searchlauncher.SearchLauncher#1] 3.50 0.728 1.000 0.000
[com.android.settings/com.android.settings.Settings$SystemDashboardActivity#0] 3.43 0.182 0.831 0.169
[com.google.android.setupwizard/com.google.android.setupwizard.network.NetworkActivity#0] 2.88 0.329 1.000 0.000
[com.google.android.setupwizard/com.google.android.setupwizard.time.DateTimeCheck#0] 2.49 0.069 1.000 0.000
[com.android.launcher3/com.android.searchlauncher.SearchLauncher#0] 2.07 0.290 0.825 0.175
[NavigationBar#0] 1.96 0.378 1.000 0.000
[com.google.android.setupwizard/com.google.android.setupwizard.user.LockScreenWrapper#0] 1.90 0.812 1.000 0.000
[com.google.android.gms/com.google.android.gms.setupservices.GoogleServicesActivity#0] 1.87 0.448 0.713 0.287
[StatusBar#0] 1.32 0.423 1.000 0.000
[com.android.settings/com.android.settings.Settings#0] 1.22 0.078 0.208 0.792
[com.google.android.setupwizard/com.google.android.setupwizard.account.KidPostSetupWrapper#0] 1.08 1.000 1.000 0.000
[com.google.android.setupwizard/com.google.android.setupwizard.carrier.SimMissingActivity#0] 0.75 0.400 1.000 0.000
[com.android.settings/com.android.settings.password.SetupChooseLockGeneric#0] 0.55 0.488 1.000 0.000
[VolumeDialogImpl#0] 0.46 0.543 1.000 0.000
[com.google.android.setupwizard/com.google.android.setupwizard.user.WelcomeActivity#0] 0.46 1.000 1.000 0.000
[com.android.systemui/com.android.systemui.usb.UsbDebuggingActivity#0] 0.44 0.169 1.000 0.000
[com.google.android.setupwizard/com.google.android.setupwizard.time.DateTimeActivity#0] 0.30 0.000 1.000 0.000
Visible layers (count = 32)
GraphicBufferProducers: 6, max 4096
+ ContainerLayer (Display Root#0)
Region TransparentRegion (this=721177b370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=721177b010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=721177b088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000002, tr=[1.00, 0.00][0.00, 1.00]
parent=none
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (mAboveAppWindowsContainers#0)
Region TransparentRegion (this=7211793370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=7211793010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=7211793088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 2, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=Display Root#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (WindowToken{428bbee [email protected]}#0)
Region TransparentRegion (this=7214551370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=7214551010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=7214551088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 3, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=mAboveAppWindowsContainers#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (6aeb88f NavigationBar#0)
Region TransparentRegion (this=7214554370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=7214554010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=7214554088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,2196), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=WindowToken{428bbee [email protected]}#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ BufferLayer (NavigationBar#0)
Region TransparentRegion (this=7211616370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=7211616010 count=1)
[ 0, 2196, 1080, 2340]
Region SurfaceDamageRegion (this=7211616088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,2196), size=(1080, 144), crop=[ 0, 0, 1080, 144], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=0, dataspace=(deprecated) sRGB Linear Full range, defaultPixelFormat=RGBA_8888, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=6aeb88f NavigationBar#0
zOrderRelativeOf=none
activeBuffer=[1080x 144:1088,RGBA_8888], queued-frames=0, mRefreshPending=0, windowType=2019, appId=10027
mTexName=2 mCurrentTexture=2
mCurrentCrop=[0,0,0,0] mCurrentTransform=0
mAbandoned=0
- BufferQueue mMaxAcquiredBufferCount=1 mMaxDequeuedBufferCount=2
mDequeueBufferCannotBlock=0 mAsyncMode=0
default-size=[1080x144] default-format=1 transform-hint=00 frame-counter=157
FIFO(0):
this=0x7211797800 (mConsumerName=NavigationBar#0, mConnectedApi=1, mConsumerUsageBits=2304, mId=2, mPid=429, producer=[1546:com.android.systemui], consumer=[429:/system/bin/surfaceflinger])
Slots:
>[02:0x7214462600] state=ACQUIRED 0x7214434100 frame=157 [1080x 144:1088, 1]
[01:0x7214462500] state=FREE 0x7214434040 frame=155 [1080x 144:1088, 1]
[00:0x7214462400] state=FREE 0x7214433440 frame=156 [1080x 144:1088, 1]
*BufferQueueDump mIsBackupBufInited=0, mAcquiredBufs(size=1)
[00] handle=0x7214434100, fence=0x721402a438, time=0x20cbf50e5b, xform=0x00
FPS ring buffer:
(0) 11:04:07.722 fps=0.95 dur=2110.08 max=1586.00 min=524.08
(1) 11:04:09.15 fps=3.87 dur=1292.65 max=572.97 min=25.54
(2) 11:04:11.475 fps=2.85 dur=2459.65 max=2350.77 min=10.05
(3) 11:04:49.619 fps=0.03 dur=38144.37 max=38144.37 min=38144.37
(4) 11:04:51.861 fps=1.34 dur=2242.37 max=1372.65 min=89.72
(5) 11:04:56.802 fps=3.24 dur=4940.43 max=4653.73 min=9.00
(6) 11:05:03.599 fps=0.74 dur=6796.86 max=6695.03 min=19.89
(7) 11:05:06.369 fps=10.83 dur=2770.03 max=1920.78 min=11.73
(8) 11:05:08.795 fps=19.37 dur=2425.93 max=1670.59 min=3.33
(9) 11:05:09.806 fps=16.80 dur=1011.69 max=474.04 min=12.11
+ ContainerLayer (WindowToken{6b90329 [email protected]}#0)
Region TransparentRegion (this=7211610370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=7211610010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=7211610088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 2, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=mAboveAppWindowsContainers#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (67306ae StatusBar#0)
Region TransparentRegion (this=7211613370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=7211613010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=7211613088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=WindowToken{6b90329 [email protected]}#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ BufferLayer (StatusBar#0)
Region TransparentRegion (this=72140e3370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=72140e3010 count=1)
[ 0, 0, 1080, 84]
Region SurfaceDamageRegion (this=72140e3088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,0), size=(1080, 84), crop=[ 0, 0, 1080, 84], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=0, dataspace=(deprecated) sRGB Linear Full range, defaultPixelFormat=RGBA_8888, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=67306ae StatusBar#0
zOrderRelativeOf=none
activeBuffer=[1080x 84:1088,RGBA_8888], queued-frames=0, mRefreshPending=0, windowType=2000, appId=10027
mTexName=4 mCurrentTexture=0
mCurrentCrop=[0,0,0,0] mCurrentTransform=0
mAbandoned=0
- BufferQueue mMaxAcquiredBufferCount=1 mMaxDequeuedBufferCount=2
mDequeueBufferCannotBlock=0 mAsyncMode=0
default-size=[1080x84] default-format=1 transform-hint=00 frame-counter=87
FIFO(0):
this=0x7214039000 (mConsumerName=StatusBar#0, mConnectedApi=1, mConsumerUsageBits=2304, mId=3, mPid=429, producer=[1546:com.android.systemui], consumer=[429:/system/bin/surfaceflinger])
Slots:
>[00:0x72140b0800] state=ACQUIRED 0x7214023c40 frame=87 [1080x 84:1088, 1]
[02:0x72140b0c00] state=FREE 0x7214023dc0 frame=85 [1080x 84:1088, 1]
[01:0x72140b0b00] state=FREE 0x7214023d00 frame=86 [1080x 84:1088, 1]
*BufferQueueDump mIsBackupBufInited=0, mAcquiredBufs(size=1)
[00] handle=0x7214023c40, fence=0x721402a3a0, time=0x22616a044a, xform=0x00
FPS ring buffer:
(0) 11:05:01.935 fps=1.06 dur=1888.86 max=1854.92 min=33.94
(1) 11:05:08.788 fps=0.29 dur=6853.60 max=6846.70 min=6.90
(2) 11:05:09.980 fps=6.71 dur=1191.72 max=581.00 min=17.04
(3) 11:05:16.228 fps=0.64 dur=6248.21 max=6114.62 min=18.66
(4) 11:04:49.519 fps=0.13 dur=15236.03 max=15220.04 min=15.99
(5) 11:04:50.806 fps=10.10 dur=1287.04 max=357.47 min=9.37
(6) 11:04:53.407 fps=3.08 dur=2601.30 max=2467.24 min=10.14
(7) 11:04:55.436 fps=0.49 dur=2028.14 max=2028.14 min=2028.14
(8) 11:04:56.795 fps=5.15 dur=1359.76 max=1226.25 min=8.23
(9) 11:05:00.46 fps=1.85 dur=3250.59 max=3132.90 min=16.56
+ ContainerLayer (mImeWindowsContainers#0)
Region TransparentRegion (this=7214458370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=7214458010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=7214458088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= -1, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=Display Root#0
zOrderRelativeOf=WindowToken{6b90329 [email protected]}#0
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (WindowToken{3fcd727 [email protected]}#0)
Region TransparentRegion (this=7214081370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=7214081010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=7214081088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=mImeWindowsContainers#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (WindowToken{446ceb5 [email protected]}#0)
Region TransparentRegion (this=72117af370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=72117af010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=72117af088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 1, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=mAboveAppWindowsContainers#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (a1f594a AssistPreviewPanel#0)
Region TransparentRegion (this=721454e370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=721454e010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=721454e088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,2340), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=WindowToken{446ceb5 [email protected]}#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer ([email protected]#0)
Region TransparentRegion (this=7211784370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=7211784010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=7211784088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 1, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=Display Root#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (homeAnimationLayer#0)
Region TransparentRegion (this=721178d370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=721178d010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=721178d088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 2, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
[email protected]a455135#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (boostedAnimationLayer#0)
Region TransparentRegion (this=721178a370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=721178a010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=721178a088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 1, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
[email protected]a455135#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (animationLayer#0)
Region TransparentRegion (this=7211787370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=7211787010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=7211787088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
[email protected]a455135#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (splitScreenDividerAnchor#0)
Region TransparentRegion (this=7211790370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=7211790010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=7211790088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
[email protected]a455135#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (WindowToken{7e26829 [email protected]}#0)
Region TransparentRegion (this=7211799370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=7211799010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=7211799088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 1, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=mAboveAppWindowsContainers#0
zOrderRelativeOf=splitScreenDividerAnchor#0
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (fd907ae DockedStackDivider#0)
Region TransparentRegion (this=7214523370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=7214523010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=7214523088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=WindowToken{7e26829 [email protected]}#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (Stack=0#0)
Region TransparentRegion (this=7214490370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=7214490010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=7214490088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,0), size=(1080,2340), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
[email protected]a455135#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ColorLayer (animation background stackId=0#0)
Region TransparentRegion (this=7214587370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=7214587010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=7214587088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=0, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000001, tr=[1.00, 0.00][0.00, 1.00]
parent=Stack=0#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (Task=3#0)
Region TransparentRegion (this=721407c370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=721407c010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=721407c088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=Stack=0#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (AppWindowToken{1783e52 token=Token{75f82dd ActivityRecord{9fc26b4 u0 com.android.launcher3/com.android.searchlauncher.SearchLauncher t3}}}#0)
Region TransparentRegion (this=721413a370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=721413a010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=721413a088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=Task=3#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (1500ee1 com.android.launcher3/com.android.searchlauncher.SearchLauncher#0)
Region TransparentRegion (this=7214178370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=7214178010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=7214178088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 1, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=AppWindowToken{1783e52 token=Token{75f82dd ActivityRecord{9fc26b4 u0 com.android.launcher3/com.android.searchlauncher.SearchLauncher t3}}}#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ BufferLayer (com.android.launcher3/com.android.searchlauncher.SearchLauncher#0)
Region TransparentRegion (this=72117e4370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=72117e4010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=72117e4088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,0), size=(1080,2340), crop=[ 0, 0, 1080, 2340], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=(deprecated) sRGB Linear Full range, defaultPixelFormat=RGBA_8888, color=(0.000,0.000,0.000,0.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=1500ee1 com.android.launcher3/com.android.searchlauncher.SearchLauncher#0
zOrderRelativeOf=none
activeBuffer=[1080x2340:1088,RGBA_8888], queued-frames=0, mRefreshPending=0, windowType=4, appId=10022
mTexName=40 mCurrentTexture=0
mCurrentCrop=[0,0,0,0] mCurrentTransform=0
mAbandoned=0
- BufferQueue mMaxAcquiredBufferCount=1 mMaxDequeuedBufferCount=2
mDequeueBufferCannotBlock=0 mAsyncMode=0
default-size=[1080x2340] default-format=1 transform-hint=00 frame-counter=12
FIFO(0):
this=0x72117d5000 (mConsumerName=com.android.launcher3/com.android.searchlauncher.SearchLauncher#0, mConnectedApi=1, mConsumerUsageBits=2304, mId=39, mPid=429, producer=[4385:com.google.android.googlequicksearchbox:search], consumer=[429:/system/bin/surfaceflinger])
Slots:
>[00:0x7214069c00] state=ACQUIRED 0x7214067140 frame=12 [1080x2340:1088, 1]
[02:0x7214069500] state=FREE 0x7214023ac0 frame=10 [1080x2340:1088, 1]
[01:0x7214014b00] state=FREE 0x7214066600 frame=11 [1080x2340:1088, 1]
*BufferQueueDump mIsBackupBufInited=0, mAcquiredBufs(size=1)
[00] handle=0x7214067140, fence=0x721445ee98, time=0x20deafa3d1, xform=0x00
FPS ring buffer:
+ ContainerLayer (e0931df com.android.launcher3/com.android.searchlauncher.SearchLauncher#0)
Region TransparentRegion (this=72145a3370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=72145a3010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=72145a3088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=AppWindowToken{1783e52 token=Token{75f82dd ActivityRecord{9fc26b4 u0 com.android.launcher3/com.android.searchlauncher.SearchLauncher t3}}}#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ BufferLayer (com.android.launcher3/com.android.searchlauncher.SearchLauncher#1)
Region TransparentRegion (this=721415a370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=721415a010 count=1)
[ 0, 0, 1080, 2340]
Region SurfaceDamageRegion (this=721415a088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,0), size=(1080,2340), crop=[ 0, 0, 1080, 2340], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=0, dataspace=(deprecated) sRGB Linear Full range, defaultPixelFormat=RGBA_8888, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=e0931df com.android.launcher3/com.android.searchlauncher.SearchLauncher#0
zOrderRelativeOf=none
activeBuffer=[1080x2340:1088,RGBA_8888], queued-frames=0, mRefreshPending=0, windowType=1, appId=10015
mTexName=41 mCurrentTexture=0
mCurrentCrop=[0,0,0,0] mCurrentTransform=0
mAbandoned=0
- BufferQueue mMaxAcquiredBufferCount=1 mMaxDequeuedBufferCount=2
mDequeueBufferCannotBlock=0 mAsyncMode=0
default-size=[1080x2340] default-format=1 transform-hint=00 frame-counter=195
FIFO(0):
this=0x721403a800 (mConsumerName=com.android.launcher3/com.android.searchlauncher.SearchLauncher#1, mConnectedApi=1, mConsumerUsageBits=2304, mId=40, mPid=429, producer=[2264:com.android.launcher3], consumer=[429:/system/bin/surfaceflinger])
Slots:
>[00:0x7214557500] state=ACQUIRED 0x7214434280 frame=195 [1080x2340:1088, 1]
[02:0x721445f900] state=FREE 0x7214434640 frame=193 [1080x2340:1088, 1]
[01:0x7214557600] state=FREE 0x72144344c0 frame=194 [1080x2340:1088, 1]
*BufferQueueDump mIsBackupBufInited=0, mAcquiredBufs(size=1)
[00] handle=0x7214434280, fence=0x721402a298, time=0x2492fa86cc, xform=0x00
FPS ring buffer:
(0) 11:05:12.131 fps=8.11 dur=2220.21 max=1368.93 min=9.51
(1) 11:05:13.396 fps=26.10 dur=1264.20 max=558.44 min=9.72
(2) 11:05:17.187 fps=0.53 dur=3791.76 max=3778.16 min=13.60
(3) 11:05:20.80 fps=0.69 dur=2892.81 max=2821.70 min=71.11
(4) 11:05:21.521 fps=15.27 dur=1440.32 max=719.48 min=13.11
(5) 11:05:22.595 fps=21.40 dur=1074.88 max=716.80 min=12.82
(6) 11:05:23.685 fps=22.03 dur=1089.35 max=714.23 min=13.02
(7) 11:05:24.764 fps=21.32 dur=1078.81 max=723.07 min=10.67
(8) 11:05:25.854 fps=22.00 dur=1090.73 max=718.08 min=10.34
+ ContainerLayer (mBelowAppWindowsContainers#0)
Region TransparentRegion (this=7211781370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=7211781010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=7211781088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=Display Root#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (WallpaperWindowToken{65784bc [email protected]}#0)
Region TransparentRegion (this=7214084370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=7214084010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=7214084088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=mBelowAppWindowsContainers#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ ContainerLayer (6972623 com.android.systemui.ImageWallpaper#0)
Region TransparentRegion (this=72140ec370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=72140ec010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=72140ec088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00]
parent=WallpaperWindowToken{65784bc [email protected]}#0
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
+ BufferLayer (com.android.systemui.ImageWallpaper#0)
Region TransparentRegion (this=72140ef370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=72140ef010 count=1)
[ 0, 0, 1080, 2340]
Region SurfaceDamageRegion (this=72140ef088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 0, pos=(0,0), size=(1080,2340), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=1, invalidate=0, dataspace=(deprecated) sRGB Linear Full range, defaultPixelFormat=RGBx_8888, color=(0.000,0.000,0.000,1.000), flags=0x00000002, tr=[1.00, 0.00][0.00, 1.00]
parent=6972623 com.android.systemui.ImageWallpaper#0
zOrderRelativeOf=none
activeBuffer=[1080x2340:1088,RGBA_8888], queued-frames=0, mRefreshPending=0, windowType=2013, appId=10027
mTexName=6 mCurrentTexture=-1
mCurrentCrop=[0,0,0,0] mCurrentTransform=0
mAbandoned=0
- BufferQueue mMaxAcquiredBufferCount=1 mMaxDequeuedBufferCount=2
mDequeueBufferCannotBlock=0 mAsyncMode=0
default-size=[1080x2340] default-format=2 transform-hint=00 frame-counter=1
FIFO(0):
this=0x721403c000 (mConsumerName=com.android.systemui.ImageWallpaper#0, mConnectedApi=0, mConsumerUsageBits=2304, mId=5, mPid=429, producer=[-1:com.android.systemui], consumer=[429:/system/bin/surfaceflinger])
Slots:
[00:0x0] state=FREE
[01:0x0] state=FREE
[02:0x0] state=FREE
*BufferQueueDump mIsBackupBufInited=0, mAcquiredBufs(size=0)
[-1] mLastAcquiredBuf->mGraphicBuffer->handle=0x7214066300
FPS ring buffer:
+ ContainerLayer (Display Overlays#0)
Region TransparentRegion (this=721177e370 count=1)
[ 0, 0, 0, 0]
Region VisibleRegion (this=721177e010 count=1)
[ 0, 0, 0, 0]
Region SurfaceDamageRegion (this=721177e088 count=1)
[ 0, 0, 0, 0]
layerStack= 0, z= 1, pos=(0,0), size=(4680,4680), crop=[ 0, 0, -1, -1], finalCrop=[ 0, 0, -1, -1], isOpaque=0, invalidate=1, dataspace=Default, defaultPixelFormat=Unknown/None, color=(0.000,0.000,0.000,1.000), flags=0x00000002, tr=[1.00, 0.00][0.00, 1.00]
parent=none
zOrderRelativeOf=none
activeBuffer=[ 0x 0: 0,Unknown/None], queued-frames=0, mRefreshPending=0, windowType=-1, appId=-1
Displays (1 entries)
+ DisplayDevice: Built-in Screen
type=0, hwcId=0, layerStack=0, (1080x2340), ANativeWindow=0x721441d010 (8:8:8:8), orient= 0 (type=00000000), flips=3850, isSecure=1, powerMode=2, activeConfig=0, numLayers=4
v:[0,0,1080,2340], f:[0,0,1080,2340], s:[0,0,1080,2340],transform:[[1.000,0.000,-0.000][0.000,1.000,-0.000][0.000,0.000,1.000]]
wideColorGamut=0, hdr10=0, colorMode=ColorMode::NATIVE, dataspace: (deprecated) sRGB Linear Full range (512)
FramebufferSurface: dataspace: (deprecated) sRGB Linear Full range(512)
mAbandoned=0
- BufferQueue mMaxAcquiredBufferCount=2 mMaxDequeuedBufferCount=1
mDequeueBufferCannotBlock=0 mAsyncMode=0
default-size=[1080x2340] default-format=1 transform-hint=00 frame-counter=598
FIFO(0):
this=0x7214521800 (mConsumerName=FramebufferSurface, mConnectedApi=1, mConsumerUsageBits=6656, mId=0, mPid=429, producer=[429:/system/bin/surfaceflinger], consumer=[429:/system/bin/surfaceflinger])
Slots:
>[02:0x721444de00] state=ACQUIRED 0x7214433200 frame=598 [1080x2340:1088, 1]
[01:0x721444dd00] state=FREE 0x7214433140 frame=596 [1080x2340:1088, 1]
[00:0x721444dc00] state=FREE 0x7214433080 frame=597 [1080x2340:1088, 1]
*BufferQueueDump mIsBackupBufInited=0, mAcquiredBufs(size=1)
[00] handle=0x7214433200, fence=0x721402a2d8, time=0x2494a7e779, xform=0x00
FPS ring buffer:
(0) 11:05:20.583 fps=22.77 dur=1010.08 max=370.79 min=14.41
(1) 11:05:21.594 fps=18.79 dur=1011.00 max=720.47 min=14.38
(2) 11:05:22.605 fps=18.79 dur=1011.20 max=719.28 min=15.10
(3) 11:05:23.697 fps=21.98 dur=1091.80 max=718.68 min=15.06
(4) 11:05:24.773 fps=21.38 dur=1075.90 max=718.39 min=13.34
(5) 11:05:25.866 fps=21.95 dur=1093.43 max=719.26 min=14.97
(6) 11:05:16.249 fps=0.71 dur=2836.11 max=2822.58 min=13.52
(7) 11:05:17.274 fps=21.47 dur=1024.74 max=310.51 min=7.76
(8) 11:05:18.570 fps=0.77 dur=1296.68 max=1296.68 min=1296.68
(9) 11:05:19.573 fps=27.93 dur=1002.59 max=423.56 min=13.20
FPS ring buffer:
(0) 11:05:21.595 fps=18.79 dur=1011.15 max=720.60 min=14.39
(1) 11:05:22.606 fps=18.79 dur=1010.91 max=719.20 min=15.09
(2) 11:05:23.697 fps=21.98 dur=1091.81 max=718.74 min=15.03
(3) 11:05:24.773 fps=21.38 dur=1075.93 max=718.55 min=13.25
(4) 11:05:25.867 fps=21.95 dur=1093.49 max=719.35 min=14.92
(5) 11:05:16.249 fps=0.71 dur=2835.76 max=2822.60 min=13.16
(6) 11:05:17.274 fps=21.46 dur=1024.95 max=310.46 min=7.76
(7) 11:05:18.571 fps=0.77 dur=1296.86 max=1296.86 min=1296.86
(8) 11:05:19.573 fps=27.94 dur=1002.23 max=423.48 min=12.94
(9) 11:05:20.583 fps=22.77 dur=1010.22 max=370.59 min=14.42
SurfaceFlinger global state:
EGL implementation : 1.4 build [email protected]
EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_IMG_cl_image EGL_ANDROID_blob_cache EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable EGL_ANDROID_framebuffer_target EGL_KHR_fence_sync EGL_KHR_wait_sync EGL_EXT_pixel_format_float EGL_EXT_create_context_robustness EGL_IMG_image_plane_attribs EGL_IMG_image_debug_dump EGL_KHR_partial_update EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface EGL_IMG_context_priority EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_KHR_mutable_render_buffer EGL_ANDROID_image_crop EGL_ANDROID_native_fence_sync
GLES: Imagination Technologies, PowerVR Rogue GE8320, OpenGL ES 3.2 build [email protected]
GL_EXT_debug_marker GL_ANDROID_extension_pack_es31a GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_clear_texture GL_EXT_clip_control GL_EXT_color_buffer_float GL_EXT_conservative_depth GL_EXT_copy_image GL_EXT_discard_framebuffer GL_EXT_draw_buffers GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_EGL_image_array GL_EXT_external_buffer GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_gpu_shader5 GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_EXT_occlusion_query_boolean GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_pvrtc_sRGB GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_io_blocks GL_EXT_shader_non_constant_global_initializers GL_EXT_shader_pixel_local_storage GL_EXT_shader_pixel_local_storage2 GL_EXT_shader_texture_lod GL_EXT_sparse_texture GL_EXT_sRGB_write_control GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_EXT_YUV_target GL_IMG_bindless_texture GL_IMG_framebuffer_downsample GL_IMG_multisampled_render_to_texture GL_IMG_program_binary GL_IMG_read_format GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc GL_IMG_texture_compression_pvrtc2 GL_IMG_texture_format_BGRA8888 GL_IMG_texture_npot GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_depth_texture GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_element_index_uint GL_OES_fragment_precision_high GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_get_program_binary GL_OES_gpu_shader5 GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_required_internalformat GL_OES_rgb8_rgba8 GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_image_atomic GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_npot GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_vertex_array_object GL_OES_vertex_half_float
RenderEngine last dataspace conversion: ((deprecated) sRGB Linear Full range) to (Default)
Region undefinedRegion (this=0x72144f9630, count=1)
[ 0, 0, 0, 0]
orientation=0, isDisplayOn=1
last eglSwapBuffers() time: 2806.462000 us
last transaction time : 134.461000 us
transaction-flags : 00000000
refresh-rate : 61.640003 fps
x-dpi : 409.432007
y-dpi : 409.903015
gpu_to_cpu_unsupported : 0
eglSwapBuffers time: 0.000000 us
transaction time: 0.000000 us
VSYNC state: disabled
soft-vsync: disabled
numListeners=27,
events-delivered: 3535
0x72117794a0: count=-1
0x72117b5660: count=-1
0x72117b5c00: count=-1
0x72117b71c0: count=-1
0x72117b76a0: count=-1
0x72119c7bc0: count=-1
0x72119c7f80: count=-1
0x721402ebc0: count=-1
0x721402ef20: count=-1
0x721402f7c0: count=-1
0x7214031020: count=-1
0x72140312c0: count=-1
0x72140361e0: count=-1
0x72140372c0: count=-1
0x7214037560: count=-1
0x72140f5ba0: count=-1
0x721441b380: count=-1
0x721442e900: count=-1
0x7214561560: count=-1
0x72145615c0: count=-1
0x7214561aa0: count=-1
0x72145626a0: count=-1
0x7214562ca0: count=-1
0x721459f2e0: count=-1
0x72145d6a80: count=-1
0x72145d6f00: count=-1
0x72145d85e0: count=-1
Display 0 HWC layers:
-------------------------------------------------------------------------------
Layer name
Z | Comp Type | Disp Frame (LTRB) | Source Crop (LTRB)
-------------------------------------------------------------------------------
com.android.systemui.ImageWallpaper#0
rel 0 | Device | 0 0 1080 2340 | 0.0 0.0 1080.0 2340.0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
com.android.launcher3/com.android.searchlauncher.SearchLauncher#1
rel 0 | Client | 0 0 1080 2340 | 0.0 0.0 1080.0 2340.0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
StatusBar#0
rel 0 | Client | 0 0 1080 84 | 0.0 0.0 1080.0 84.0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NavigationBar#0
rel 0 | Client | 0 2196 1080 2340 | 0.0 0.0 1080.0 144.0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
h/w composer state:
h/w composer enabled
Display(0)
support ColorTransform:1
visible_layers:4 invisible_layers:0 commit_layers:2
+----------+--------------+---------+-------+---------------------+---+
| layer id | handle | fmt | blend | comp | tr|
+----------+--------------+---------+-------+---------------------+---+
| 34 | 0x0 | 2 | NON | DEV( UI,DEV, 425) | 0|
+----------+--------------+---------+-------+---------------------+---+
| 35 | 0x0 | 1 | PRE | CLI( INV,CLI, 1149) | 0|
+----------+--------------+---------+-------+---------------------+---+
| 4 | 0x0 | 1 | PRE | CLI( INV,CLI, 1149) | 0|
+----------+--------------+---------+-------+---------------------+---+
| 6 | 0x0 | 1 | PRE | CLI( INV,CLI, 1149) | 0|
+----------+--------------+---------+-------+---------------------+---+
[HRT] [(0,0) s_wh:1080,2340 d_xywh:0,0,1080,2340 caps:0] [(0,1) s_wh:1080,2340 d_xywh:0,0,1080,2340 caps:0] [(0,2) s_wh:1080,84 d_xywh:0,0,1080,84 caps:0] [(0,3) s_wh:1080,144 d_xywh:0,2196,1080,144 caps:0]
[HWC Compose State (0)]
(0) f=0x2 x=0 y=0 w=1080 h=2340 -> x=0 y=0 w=1080 h=2340
(1) f=0x1 x=0 y=0 w=1080 h=2340 -> x=0 y=0 w=1080 h=2340
Total size: 20217600 bytes
[HWC DBG Dump] log threshold:I
SkipV(3: no skip vali(0:L5302)
SkipV(3: no skip vali(0:L5276)
SkipV(3: do skip vali
SkipV(3: do skip vali
SkipV(3: do skip vali
SkipV(3: do skip vali
SkipV(3: do skip vali
SkipV(3: do skip vali
SkipV(3: do skip vali
SkipV(3: do skip
DBGLBM: 89/99 used
[HWC Statistics]
0 - displayFrame over range
[Driver Support]
0,1-730-4096-0,0,0,1,1
0
[HWC Property]
0,0,1,1,0,1, 1,1,I,1,0, 0,0.000000,1,0,1, 1,1,0,A-0,A-0,0, 0,1,0,0,1,1,1, 0.10,1,0,0,1
Allocated buffers:
0x7214023ac0: 9945.00 KiB | 1080 (1088) x 2340 | 1 | 1 | 0xb00 | com.android.launcher3/com.android.searchlauncher.SearchLauncher#0
0x7214023c40: 357.00 KiB | 1080 (1088) x 84 | 1 | 1 | 0xb00 | StatusBar#0
0x7214023d00: 357.00 KiB | 1080 (1088) x 84 | 1 | 1 | 0xb00 | StatusBar#0
0x7214023dc0: 357.00 KiB | 1080 (1088) x 84 | 1 | 1 | 0xb00 | StatusBar#0
0x7214066300: 9945.00 KiB | 1080 (1088) x 2340 | 1 | 1 | 0xb00 | com.android.systemui.ImageWallpaper#0
0x7214066600: 9945.00 KiB | 1080 (1088) x 2340 | 1 | 1 | 0xb00 | com.android.launcher3/com.android.searchlauncher.SearchLauncher#0
0x7214067140: 9945.00 KiB | 1080 (1088) x 2340 | 1 | 1 | 0xb00 | com.android.launcher3/com.android.searchlauncher.SearchLauncher#0
0x7214433080: 9945.00 KiB | 1080 (1088) x 2340 | 1 | 1 | 0x1a00 | FramebufferSurface
0x7214433140: 9945.00 KiB | 1080 (1088) x 2340 | 1 | 1 | 0x1a00 | FramebufferSurface
0x7214433200: 9945.00 KiB | 1080 (1088) x 2340 | 1 | 1 | 0x1a00 | FramebufferSurface
0x7214433440: 612.00 KiB | 1080 (1088) x 144 | 1 | 1 | 0xb00 | NavigationBar#0
0x7214434040: 612.00 KiB | 1080 (1088) x 144 | 1 | 1 | 0xb00 | NavigationBar#0
0x7214434100: 612.00 KiB | 1080 (1088) x 144 | 1 | 1 | 0xb00 | NavigationBar#0
0x7214434280: 9945.00 KiB | 1080 (1088) x 2340 | 1 | 1 | 0xb00 | com.android.launcher3/com.android.searchlauncher.SearchLauncher#1
0x72144344c0: 9945.00 KiB | 1080 (1088) x 2340 | 1 | 1 | 0xb00 | com.android.launcher3/com.android.searchlauncher.SearchLauncher#1
0x7214434640: 9945.00 KiB | 1080 (1088) x 2340 | 1 | 1 | 0xb00 | com.android.launcher3/com.android.searchlauncher.SearchLauncher#1
Total allocated (estimate): 102357.00 KB
IMG Graphics HAL state:
handle | format | refcount | ID
--------------------+----------+----------+----
And a refresh install without Root
Tab E said:
Please send me the logs of `adb shell dumpsys SurfaceFlinger`
Click to expand...
Click to collapse
hello, some new ?
Sorry I'm not able to make any sense of the logs. I would recommend you to install your stock firmware form another source

Categories

Resources