Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BPF Fixes #2

Open
wants to merge 3 commits into
base: android-14.0.0_r37-td
Choose a base branch
from

Conversation

ChonDoit
Copy link

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

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