Skip to content

BPF Fixes#2

Open
ChonDoit wants to merge 3 commits into
TrebleDroid:android-14.0.0_r37-tdfrom
ChonDoit:android-14.0.0_r37-td
Open

BPF Fixes#2
ChonDoit wants to merge 3 commits into
TrebleDroid:android-14.0.0_r37-tdfrom
ChonDoit:android-14.0.0_r37-td

Conversation

@ChonDoit
Copy link
Copy Markdown

Tested under ProjectSakura with TD-r37 patches. Fixed 4.14 boot issues related to bpf like:

--------- beginning of crash
05-20 01:00:19.948 2165 2165 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
05-20 01:00:19.948 2165 2165 E AndroidRuntime: java.lang.RuntimeException: Failed to create service com.android.server.ConnectivityServiceInitializer: service constructor threw an exception
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:229)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at com.android.server.SystemServiceManager.startServiceFromJar(SystemServiceManager.java:155)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at com.android.server.SystemServer.startOtherServices(SystemServer.java:2120)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:968)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:689)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:555)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:856)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at java.lang.reflect.Constructor.newInstance0(Native Method)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:218)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: ... 7 more
05-20 01:00:19.948 2165 2165 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'android.net.connectivity.com.android.net.module.util.Struct android.net.connectivity.com.android.net.module.util.IBpfMap.getValue(android.net.connectivity.com.android.net.module.util.Struct)' on a null object reference
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at android.net.connectivity.com.android.server.BpfNetMaps.setChildChain(BpfNetMaps.java:516)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at android.net.connectivity.com.android.server.ConnectivityService.(ConnectivityService.java:2066)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at android.net.connectivity.com.android.server.ConnectivityService.(ConnectivityService.java:1963)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: at com.android.server.ConnectivityServiceInitializer.(ConnectivityServiceInitializer.java:52)
05-20 01:00:19.948 2165 2165 E AndroidRuntime: ... 10 more

z3DD3r added 3 commits May 23, 2024 15:19
This allows to reach the boot animation instead just oem logo
ChonDoit: Squash and adapt to TD-r37
ChonDoit: Squash and adapt to TD-r37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants