poetaster | piggz: 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 |
---|---|---|
poetaster | piggz: 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 seconds | 11:04 |
T42 | <A_T_R> host dmesg | 11:05 |
T42 | <A_T_R> [ 194.609891] usb 1-1: New USB device found, idVendor=05c6, idProduct=900e, bcdDevice= 0.00 | 11:05 |
T42 | <A_T_R> [ 194.609894] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 | 11:05 |
T42 | <A_T_R> [ 194.609896] usb 1-1: Product: QUSB_BULK_SN:7F971813 | 11:05 |
T42 | <A_T_R> [ 194.609898] usb 1-1: Manufacturer: Qualcomm CDMA Technologies MSM | 11:05 |
T42 | <A_T_R> [ 194.609899] usb 1-1: SerialNumber: 43f6842 | 11: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 shutdown | 11:07 |
T42 | <TheVancedGamer> your phone is in EDL mode (re @A_T_R: host dmesg | 11:08 |
T42 | <TheVancedGamer> [ 194.60...) | 11:08 |
T42 | <TheVancedGamer> which means kernel crashed | 11: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.img | 11:09 |
T42 | <elros34> did you handle skip_initramfs and export TEMPORARY_DISABLE_PATH_RESTRICTIONS before build? | 11:10 |
T42 | <A_T_R> yeah | 11:10 |
T42 | <A_T_R> doubt about this skip_initramfs | 11:11 |
T42 | <A_T_R> let me check it | 11:12 |
T42 | <A_T_R> https://github.com/SailfishOS-sdm660/kernel_asus_sdm660/blob/0c4a339a119be77e98bcdf2722f9d3951ba2a980/init/initramfs.c#L609 | 11:14 |
Thaodan | b100dian | 11:17 |
Thaodan | @b100dian I gave you some feedback on your ngfd PR https://github.com/sailfishos/ngfd/pull/1 | 11:17 |
T42 | <elros34> @A_T_R you need to revert commit which adds it: here you will find instruction http://collabedit.com/kr9xx | 11:17 |
T42 | <A_T_R> now tried to build —mw and failed - | 11:18 |
T42 | <A_T_R> https://pastebin.com/aPWGT7Zm | 11:18 |
T42 | <A_T_R> btw , should i need this Apply https://github.com/mer-hybris/droid-hal-device/pull/288 and | 11: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 —mw | 11:20 |
T42 | <elros34> no, you don't need it, it's just easier to build packages with specific revision | 11:20 |
T42 | <A_T_R> http://collabedit.com/kr9xx taking long time | 11:21 |
T42 | <elros34> not sure what do you mean | 11:22 |
T42 | <A_T_R> the website http://collabedit.com/kr9xx not loaded yet | 11: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 kernel | 11:24 |
T42 | <A_T_R> i remember the hybris-boot that was booted for me before — 17.1 | 11: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 https://github.com/SailfishOS-sdm660/kernel_asus_sdm660/commits/hybris-17.1/init/initramfs.c | 11:26 |
T42 | <A_T_R> revert two commits? | 11:28 |
T42 | <elros34> yeah | 11:29 |
Thaodan | @b100dian: Yes SDM8150 doesn't support wave curves from what I can see | 11:30 |
Thaodan | @A_T_TR: https://github.com/mer-hybris/android_kernel_sony_msm/commit/ac69192bfdd78f7192ebf0211b459ac606697981#diff-bb54068aea85faa7e487530083366be9962390af822e4c71ef1aca7033c83e66 | 11:33 |
T42 | <A_T_R> https://github.com/SailfishOS-sdm660/kernel_asus_sdm660/commits/hybris-17.1/init/initramfs.c | 11:40 |
T42 | <A_T_R> still same ,shutdown (re @A_T_R: https://github.com/S...) | 12:18 |
T42 | <elros34> what steps did you make after reverting commits | 12:18 |
T42 | <A_T_R> export TEMPORARY_DISABLE_PATH_RESTRICTIONS=true && source build/envsetup.sh && export USE_CCACHE=1 && lunch lineage_X00TD-userdebug && make -j1 hybris-hal droidmedia | 12:19 |
T42 | <elros34> did you flash kernel only or installed whole image? | 12:20 |
T42 | <A_T_R> only out/*/*/hybris-boot.img | 12:21 |
T42 | <A_T_R> only flashed this boot | 12:21 |
T42 | <elros34> o | 12:21 |
T42 | <elros34> k | 12: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-hal | 12:23 |
T42 | <A_T_R> ok | 12:29 |
T42 | <elros34> if dmesg is same then maybe try CONFIG_AUDIT=n and see if disabling selinux will make any change | 12:31 |
T42 | <TheVancedGamer> um your phone is in EDL | 12:33 |
T42 | <TheVancedGamer> which means a kernel crash occured | 12:34 |
T42 | <TheVancedGamer> reboot to recovery and pull pstore | 12:34 |
T42 | <A_T_R> CONFIG_AUDIT=y now it set in .config | 12:34 |
T42 | <elros34> yeah that is why I sad try to disable it to see if that cause kernel issue but @TheVancedGamer idea sounds better | 12:36 |
T42 | <A_T_R> there is /sys/fs/pstore/pmsg-console-0 but currupted | 12:37 |
T42 | <TheVancedGamer> i know how to decrypt it | 12:37 |
T42 | <TheVancedGamer> wait | 12: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 | <A_T_R> https://irc.thaodan.de/.imgstore/2b1aedf7/readable_pmsg.txt | 12:39 |
T42 | <elros34> maybe using "strings" is enough | 12:39 |
T42 | <TheVancedGamer> keymaster dies | 12: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 EDL | 12:41 |
T42 | <TheVancedGamer> so phone completely dies | 12:41 |
T42 | <TheVancedGamer> also known as 9008 mode | 12:41 |
T42 | <A_T_R> it shows asus log then it shutodwn completely | 12:41 |
T42 | <elros34> how many seconds it takes? | 12:41 |
T42 | <A_T_R> 3-4 s1=15 seconds | 12:42 |
T42 | <A_T_R> 15 seconds | 12:42 |
T42 | <elros34> so this pmsg is useless, probably from twrp or android | 12:43 |
T42 | <elros34> try disabling audit and get host msg from boot time before it reboots | 12:45 |
T42 | <elros34> host dmesg* | 12:45 |
T42 | <A_T_R> pk,trying now | 12:45 |
T42 | <A_T_R> ok* | 12:45 |
T42 | <A_T_R> https://github.com/SailfishOS-sdm660/device_asus_X00TD/commit/a05824a0d68ec88c857c78af421cef1a59559dfc (re @TheVancedGamer: did you put selinux ...) | 12:46 |
T42 | <elros34> so you should set it | 12:47 |
T42 | <b100dian> Thadan short answer is 196610, but see the PR comment | 13: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 image | 13: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 completely | 13:33 |
T42 | <b100dian> Thaodan I spoke too soon, there's something else going on | 13: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 data | 13:38 |
poetaster | piggz: reflashed which fixed one thing. SIM pin prompt still doesn't work, but the SIM card does. | 13:45 |
poetaster | piggz: even dbus-send to lipstick/screenshot causes instant restart | 13:45 |
poetaster | well, my app works, at least. | 13:47 |
T42 | <A_T_R> Hmm ,still the same results | 14: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 stage | 14:15 |
T42 | <elros34> unless it's some vbmeta issue but I do not know whether it will behaves like that | 14: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 EET | 16:59 |
Thaodan | Ah so it's that an 32bit vs 64bit? | 16:59 |
Thaodan | Do 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 |
T42 | <A_T_R> https://t.me/sailfishos_porters/116668 | 18:00 |
mal | @A_T_R no, selinux should be enabled for 17.1 | 18:15 |
T42 | <b100dian> Thaodan updated PR with custom data | 20:28 |
T42 | <Verevka86> Forwarded from Сучкова: | 23:04 |
T42 | <Verevka86> Xiaomi Mi6 Hybeis 17.1 | 23:04 |
T42 | <Verevka86> Xiaomi Mi6 Hybris 17.1 (edited) | 23:04 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!