What exactly are you going to modify?
follow post what Terry mentioned, with that modifications
- $ cd ~/khadas/mmallow
- $ source build/envsetup.sh
- $ lunch kvim-userdebug-64
- $ make -j4 otapackage
“problem is” that console is working and suprisely, system ui windows is disaapear too… I will try that under Android 6 now… (so lunch kvim-userdebug-32 instead)
so all is about that userdebug mode?
ok, so I can confirm, that if I run compilations as userdebug, with “system ui has stopped” issues is gone and linux console is accesible and controlable. This is valid for Android 6 and Android 7.
so sorry, that I’m gave up that way, I have something else to do. I’m ok for sure with this debug image, what ever is means.
For 32bit compilations I follows the doc, just
$ source build/envsetup.sh
$ lunch kvim-userdebug-32
$ make -jN otapackage
for 64bit system I have issues with not enought host memory (limit JDK to use only 4GB), so I need that, first
and than I can do compilations, similary like
make -j4 otapackage
hope is helps Gytis and others… that userdebug helps me.
note: Obviously needs to be add these rule updates, atleast I’m add for compilation
I did rebuild Nougat without those updates just in userdebug so it still fails on “system ui” error, now rebuilding with those updates.
Android 6 with the rule-update, (but because I’m not rollout changes back)
Android 7 without (because even I’m add missing semicollon, I have still some syntax error, so rollout all changes back)
[quote]allow platform_app property_socket:sock_file write;
allow platform_app system_prop:property_service set;[/quote]
added to system/sepolicy/platform_app.te and using lunch kvim-userdebug-64 instead of lunch kvim-user-64 it finally works - no system ui failed error
I have the same issue using nougat, but i can’t find these files, using root browser.
I have enabled hidden files, but can’t find sepolicy file under system folder.
I didn’t build anything, i receive this error on Nougat build.