Saturday, 2021-10-09

poetasterpiggz: I did a simple flash over the last install and made sure that the reboot after refusing crypto took place. still, doesn't ask sim pin, 4G still works.10:59
poetasterpiggz: and it segfaults when you try to do a screen shot. this is a GS290, so manybe it's that?10:59
T42<A_T_R> how to get log if device shutdown after few seconds11:04
T42<A_T_R> host dmesg11:05
T42<A_T_R> [  194.609891] usb 1-1: New USB device found, idVendor=05c6, idProduct=900e, bcdDevice= 0.0011:05
T42<A_T_R> [  194.609894] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=311:05
T42<A_T_R> [  194.609896] usb 1-1: Product: QUSB_BULK_SN:7F97181311:05
T42<A_T_R> [  194.609898] usb 1-1: Manufacturer: Qualcomm CDMA Technologies MSM11:05
T42<A_T_R> [  194.609899] usb 1-1: SerialNumber: 43f684211:05
T42<elros34> looks like you are booting android, did you flash hybris-boot not boot?11:07
T42<elros34> Is that output from first boot or after reboot?11:07
T42<A_T_R> first boot , it just shutdown11:07
T42<TheVancedGamer> your phone is in EDL mode (re @A_T_R: host dmesg11:08
T42<TheVancedGamer> [  194.60...)11:08
T42<TheVancedGamer> which means kernel crashed11:08
T42<A_T_R> flashed lineage0s-17.1 first and booted to los » then extracted *..bz2 to /data/.stowaway/sailfishos and flashed hybris0-boot.img11:09
T42<elros34> did you handle skip_initramfs and export TEMPORARY_DISABLE_PATH_RESTRICTIONS before build?11:10
T42<A_T_R> yeah11:10
T42<A_T_R> doubt about this skip_initramfs11:11
T42<A_T_R> let me check it11:12
Thaodan@b100dian I gave you some feedback on your ngfd PR
T42<elros34> @A_T_R you need to revert commit which adds it: here you will find instruction
T42<A_T_R> now tried to build —mw and failed -11:18
T42<A_T_R> btw , should i need this Apply and11:19
T42<A_T_R> ?11:19
T42<elros34> why you build mw again?11:19
T42<A_T_R> i had some failed packeges in —mw11:20
T42<elros34> no, you don't need it, it's just easier to build packages with specific revision11:20
T42<A_T_R> taking long time11:21
T42<elros34> not sure what do you mean11:22
T42<A_T_R> the website not loaded yet11:22
T42<elros34> ah it has issue sometimes, but works for me right now. Basically just revert commits which adds skip_initrafms support to your kernel11:24
T42<A_T_R> i remember the hybris-boot that was booted for me before — 17.111:25
T42<b100dian> Thanks! I'll look as soon as possible. So you also need custom effects? (re @SailfishFreenodeIRCBridgeBot: <Thaodan>@b100dian I...)11:26
T42<elros34> 2 latest
T42<A_T_R> revert two commits?11:28
T42<elros34> yeah11:29
Thaodan@b100dian: Yes SDM8150 doesn't support wave curves from what I can see11:30
T42<A_T_R> still same ,shutdown (re @A_T_R:
T42<elros34> what steps did you make after reverting commits12:18
T42<A_T_R> export TEMPORARY_DISABLE_PATH_RESTRICTIONS=true && source build/ && export USE_CCACHE=1 && lunch lineage_X00TD-userdebug && make -j1 hybris-hal droidmedia12:19
T42<elros34> did you flash kernel only or installed whole image?12:20
T42<A_T_R> only out/*/*/hybris-boot.img12:21
T42<A_T_R> only flashed this boot12:21
T42<elros34> o12:21
T42<elros34> k12:21
T42<A_T_R> may be i have to rebuild with -i & try ?12:22
T42<elros34> no, just wanted to be sure that you are not making image without rebuilding droid-hal12:23
T42<A_T_R> ok12:29
T42<elros34> if dmesg is same then maybe try CONFIG_AUDIT=n and see if disabling selinux will make any change12:31
T42<TheVancedGamer> um your phone is in EDL12:33
T42<TheVancedGamer> which means a kernel crash occured12:34
T42<TheVancedGamer> reboot to recovery and pull pstore12:34
T42<A_T_R> CONFIG_AUDIT=y now it set in .config12:34
T42<elros34> yeah that is why I sad try to disable it to see if that cause kernel issue but @TheVancedGamer idea sounds better12:36
T42<A_T_R> there is /sys/fs/pstore/pmsg-console-0 but currupted12:37
T42<TheVancedGamer> i know how to decrypt it12:37
T42<TheVancedGamer> wait12:37
T42<TheVancedGamer> `[Forwarded from TheBATVIC]12:37
T42<TheVancedGamer> Developers note:12:37
T42<TheVancedGamer> convert PMSG log (requires a linux system):12:37
T42<TheVancedGamer> tr -cd '\11\12\15\40-\176' < pmsg-ramoops-0 | sed 's/TENS\s/\n/g' > readable-pmsg.txt`12:37
T42<elros34> maybe using "strings" is enough12:39
T42<TheVancedGamer> keymaster dies12:40
T42<TheVancedGamer> did you put selinux as permissive?12:40
T42<elros34> so what do you mean by it reboots after few seconds?12:40
T42<TheVancedGamer> it crashes into EDL12:41
T42<TheVancedGamer> so phone completely dies12:41
T42<TheVancedGamer> also known as 9008 mode12:41
T42<A_T_R> it shows asus log then it shutodwn completely12:41
T42<elros34> how many seconds it takes?12:41
T42<A_T_R> 3-4 s1=15 seconds12:42
T42<A_T_R> 15 seconds12:42
T42<elros34> so this pmsg is useless, probably from twrp or android12:43
T42<elros34> try disabling audit and get host msg from boot time before it reboots12:45
T42<elros34> host dmesg*12:45
T42<A_T_R> pk,trying now12:45
T42<A_T_R> ok*12:45
T42<A_T_R> (re @TheVancedGamer: did you put selinux ...)12:46
T42<elros34> so you should set it12:47
T42<b100dian> Thadan short answer is 196610, but see the PR comment13:26
T42<A_T_R> i set this androidboot.selinux=permissive and config_audit=n and build hybris-hal is enough to test ? (re @elros34: so you should set it)13:32
T42<A_T_R> or rebuilt image13:32
T42<TheVancedGamer> selinux=0 in cmdlines as well (re @A_T_R: i set this androidbo...)13:32
T42<elros34> config_audit=n is enough for test, it disable selinux completely13:33
T42<b100dian> Thaodan I spoke too soon, there's something else going on13:34
T42<b100dian> still worth trying to double the data allocation for custom effects, since msecs is _written_ to it, it may write on another data13:38
poetasterpiggz: reflashed which fixed one thing. SIM pin prompt still doesn't work, but the SIM card does.13:45
poetasterpiggz: even dbus-send to lipstick/screenshot causes instant restart13:45
poetasterwell, my app works, at least.13:47
T42<A_T_R> Hmm ,still the same results14:05
T42<A_T_R> the issue in kernel part??14:10
T42<elros34> yes, provided your host dmesg is really that few lines. If you do not see mer boatloader message in host dmesg and your device reboot that fast then your kernel doesn't even reach initramfs stage14:15
T42<elros34> unless it's some vbmeta issue but I do not know whether it will behaves like that14:17
Thaodan@b100dian: So you mean instead of writing sizeof(int)/sizeof(__s16) write  in the same place?16:56
T42<b100dian> Thaodan I meant instead if that just use 4. On the other hand  it might be that the cusrom data is erroneously on the stack and for that I need to make changes to the PR tonight EET16:59
ThaodanAh so it's that an 32bit vs 64bit?16:59
ThaodanDo you mean that the ffmemles config maybe doesn't match my device?17:01
T42<A_T_R> the selinix should be disabled for hybris17.1 ?17:57
mal@A_T_R no, selinux should be enabled for 17.118:15
T42<b100dian> Thaodan updated PR with custom data20:28
T42<Verevka86> Forwarded from Сучкова:23:04
T42<Verevka86> Xiaomi Mi6 Hybeis 17.123:04
T42<Verevka86> Xiaomi Mi6 Hybris 17.1 (edited)23:04

Generated by 2.17.1 by Marius Gedminas - find it at!