Hi,

Did anybody tried to overwrite the vendor modules by using Magisk 
remounting ?

Thanks,
   Luca

Il giorno venerdì 9 agosto 2019 alle 18:39:37 UTC+2 [email protected] ha 
scritto:

> This explains the signature issue:
>
>
> https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/android-building/pypiLF_tkxU/Yn9DKg3vEAAJ
>
> Cheers,
> Alessio
>
>
> On Monday, June 3, 2019 at 12:08:00 PM UTC-7, Raymond Wanyoike wrote:
>
>> I don't know; dmesg shows a bunch of errors in early boot:
>>
>> # dmesg|grep PKCS#7
>> [    1.846059] PKCS#7 signature not signed with a trusted key
>> [    1.855653] PKCS#7 signature not signed with a trusted key
>> [    1.864403] PKCS#7 signature not signed with a trusted key
>> [    1.871683] PKCS#7 signature not signed with a trusted key
>> [    1.881490] PKCS#7 signature not signed with a trusted key
>> [    1.897577] PKCS#7 signature not signed with a trusted key
>> [    1.908881] PKCS#7 signature not signed with a trusted key
>> [    1.921134] PKCS#7 signature not signed with a trusted key
>> [    1.937646] PKCS#7 signature not signed with a trusted key
>> [    1.957838] PKCS#7 signature not signed with a trusted key
>>
>> I tracked down the touchscreen module to /vendor/lib/modules/ftm5.ko
>>
>> # insmod /vendor/lib/modules/ftm5.ko
>> insmod: failed to load /vendor/lib/modules/ftm5.ko: Required key not 
>> available
>>
>> I'll keep digging...
>>
>> On Mon, Jun 3, 2019 at 7:38 PM 'Alessio Balsini' via Android Building <
>> [email protected]> wrote:
>>
> Wasn't that module already loaded by init?
>>>
>>> -Alessio
>>>
>>> On Mon, Jun 3, 2019 at 4:59 PM Raymond Wanyoike <[email protected]> 
>>> wrote:
>>>
>> OK; more troubleshooting. 😅 Compiled the blueline kernel; patched it 
>>>> with root (su); and booted it it up:
>>>>
>>>> ...
>>>> $ adb shell
>>>> $ su
>>>> # insmod /vendor/lib/modules/snd-soc-sdm845.ko
>>>> insmod: failed to load /vendor/lib/modules/snd-soc-sdm845.ko: Required 
>>>> key not available
>>>> # dmesg | tail -n3
>>>> [  507.155988] PMI: smblib_get_prop_dc_online: POWER_PATH_STATUS = 0x95
>>>> [  507.156461] healthd: battery l=88 v=4314 t=27.6 h=2 st=2 c=-494 
>>>> fc=2956000 cc=65 chg=u
>>>> [  519.116179] PKCS#7 signature not signed with a trusted key
>>>>
>>>> *😅 **signature not signed with a trusted key*
>>>>
>>>> On Mon, Jun 3, 2019 at 5:31 PM 'Alessio Balsini' via Android Building <
>>>> [email protected]> wrote:
>>>>
>>> Not so easy... :) Drivers built for a given kernel may not be
>>>>> compatible with a different kernel build due to ABI breakages.
>>>>> As a result, in most of the cases (is ABI changed), old drivers must
>>>>> be substituted with new ones to work.
>>>>>
>>>>> Cheers,
>>>>> Alessio
>>>>>
>>>>> On Mon, Jun 3, 2019 at 2:50 PM Michael Burrows
>>>>> <[email protected]> wrote:
>>>>> >
>>>>> > Thank you for helping me out a while back Alessio! I am now about to 
>>>>> build the kernel again. Is there a way to implement the touchdriver(and 
>>>>> maybe other drivers missing aswell) before building? To avoid having to 
>>>>> do 
>>>>> the steps you have provided me with? I know there are drivers I have to 
>>>>> download before building AOSP. But I cannot seem to find any information 
>>>>> about downloading drivers for the kernel.
>>>>> >
>>>>> > Thank you once again
>>>>> >
>>>>> >
>>>>> > tirsdag 2. april 2019 23.23.04 UTC+2 skrev Alessio Balsini følgende:
>>>>> >>
>>>>> >> > Thank you!
>>>>> >> > This seemed to work :)
>>>>> >> > Had to run the adb disable-verity command before remounting.
>>>>> >>
>>>>> >> That's strange, `adb remount` with -R should also disable verity.
>>>>> >> Anyway, cool that it worked.
>>>>> >>
>>>>> >> > I tried enabling dm-verity after pushing the .ko modules
>>>>> >> >
>>>>> >> > It has resulted in "Your device is corrupt. It can't be trusted 
>>>>> and may not work properly.
>>>>> >> > Visit this link on another device: g.co/ABH"
>>>>> >> >
>>>>> >> > Pressing the power button to continue takes me into the 
>>>>> bootloader for a few seconds, I see the Google logo for about 1sec. And 
>>>>> Im 
>>>>> back into the Fastboot Mode. I guess I can flash Pixel factory image. But 
>>>>> how do I get pass the dm-verity check?
>>>>> >>
>>>>> >> That is an expected behavior, enforced for security reasons.
>>>>> >> Unfortunately, being able to pass the verity checks would require to
>>>>> >> update vendor.img, as well as the keys for all the verity checks, 
>>>>> that
>>>>> >> is not possible...
>>>>> >>
>>>>> >> Regards,
>>>>> >> Alessio
>>>>> >
>>>>> > --
>>>>> > --
>>>>> > You received this message because you are subscribed to the "Android 
>>>>> Building" mailing list.
>>>>> > To post to this group, send email to [email protected]
>>>>> > To unsubscribe from this group, send email to
>>>>>
>>>> > [email protected]
>>>>
>>>>
>>>>> > For more options, visit this group at
>>>>> > http://groups.google.com/group/android-building?hl=en
>>>>> >
>>>>> > ---
>>>>> > You received this message because you are subscribed to the Google 
>>>>> Groups "Android Building" group.
>>>>>
>>>> > To unsubscribe from this group and stop receiving emails from it, 
>>>>> send an email to [email protected].
>>>>
>>>>
>>>>> > To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/android-building/972c4d83-7eb3-4bde-a8ae-288f2f4edf8e%40googlegroups.com
>>>>> .
>>>>> > For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>> -- 
>>>>> -- 
>>>>> You received this message because you are subscribed to the "Android 
>>>>> Building" mailing list.
>>>>> To post to this group, send email to [email protected]
>>>>> To unsubscribe from this group, send email to
>>>>>
>>>> [email protected]
>>>>
>>>>
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/android-building?hl=en
>>>>>
>>>>> --- 
>>>>> You received this message because you are subscribed to a topic in the 
>>>>> Google Groups "Android Building" group.
>>>>> To unsubscribe from this topic, visit 
>>>>> https://groups.google.com/d/topic/android-building/ou630PviyDc/unsubscribe
>>>>> .
>>>>>
>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>> [email protected].
>>>>
>>>>
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/android-building/CAKM9miKVVSzXkTVgfpaqbfS66R7DRxfbyCtWB3qR%3Dufo2BpZbw%40mail.gmail.com
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>> -- 
>>>> Raymond
>>>>
>>>> -- 
>>>> -- 
>>>> You received this message because you are subscribed to the "Android 
>>>> Building" mailing list.
>>>> To post to this group, send email to [email protected]
>>>> To unsubscribe from this group, send email to
>>>>
>>> [email protected]
>>>
>>>
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/android-building?hl=en
>>>>
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Android Building" group.
>>>>
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>
>>>
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/android-building/CAJ9%2BzUvw6WukO2mk2ePS81QCdWd4fkU-R0R8ddZ%3DXjpk0LGp8A%40mail.gmail.com
>>>>  
>>>> <https://groups.google.com/d/msgid/android-building/CAJ9%2BzUvw6WukO2mk2ePS81QCdWd4fkU-R0R8ddZ%3DXjpk0LGp8A%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>>> -- 
>>> You received this message because you are subscribed to the "Android 
>>> Building" mailing list.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>>
>> [email protected]
>>
>>
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-building?hl=en
>>>
>>> --- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "Android Building" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/android-building/ou630PviyDc/unsubscribe
>>> .
>>>
>> To unsubscribe from this group and all its topics, send an email to 
>>> [email protected].
>>
>>
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/android-building/CAKM9miKgd%3DTBG0P2cJgjdcbMzTQzZqs6yO4eVsuJgyLV%2Bd5XyQ%40mail.gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/android-building/CAKM9miKgd%3DTBG0P2cJgjdcbMzTQzZqs6yO4eVsuJgyLV%2Bd5XyQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> -- 
>> Raymond
>>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/a0e2494b-4144-4b01-9e9c-92ea3e0b315fn%40googlegroups.com.

Reply via email to