navit-project.org
http://forum.navit-project.org/

Navit AOSP
http://forum.navit-project.org/viewtopic.php?f=19&t=725
Page 1 of 1

Author:  pradeep5a3 [ 12 Jul 2018, 13:07 ]
Post subject:  Navit AOSP

I added navit source code to AOSP. The build was success, but after flashing the system image in device If I open
not even shown default UI.

In Teraterm has shown following log info :


Quote:
07-10 12:04:35.163 1409 1409 D Navit : status_bar_height=24, action_bar_default_height=40, navigation_bar_height=48, navigation_bar_height_landscape=48, navigation_bar_width=48
07-10 12:04:35.167 1409 1409 D Navit : lang=en
07-10 12:04:35.167 1409 1409 D Navit : Country1 US
07-10 12:04:35.167 1409 1409 D Navit : Country2 US
07-10 12:04:35.167 1409 1409 D Navit : Language en
07-10 12:04:35.179 1409 1409 D Navit : Navit -> pixels x=800 pixels y=480
07-10 12:04:35.179 1409 1409 D Navit : Navit -> dpi=159
07-10 12:04:35.179 1409 1409 D Navit : Navit -> density=1.0
07-10 12:04:35.179 1409 1409 D Navit : Navit -> scaledDensity=1.0
07-10 12:04:35.184 1409 1409 E Navit : Res Name en, result /data/data/org.navitproject.navit/locale/en/LC_MESSAGES/navit.mo
07-10 12:04:35.186 1409 1409 E Navit : Res ID 2131099662
07-10 12:04:35.198 1409 1409 E Navit : Res Name navitmdpi, result /data/data/org.navitproject.navit/share/navit.xml
07-10 12:04:35.199 1409 1409 E Navit : Res ID 2131099699
07-10 12:04:35.204 1409 1409 D Navit : android.os.Build.VERSION.SDK_INT=25
07-10 12:04:35.204 1409 1409 E test : called
07-10 12:04:35.205 1409 1409 E navit : error:navit:file_init:Maps larger than 2GB are not supported by this binary, sizeof(off_t)=4
07-10 12:04:35.288 1409 1409 E navit : error:navit:plugins_init:Warning: No plugins found. Is Navit installed correctly?
07-10 12:04:35.288 1409 1409 E navit : error:navit:map_new:invalid type 'textfile'
07-10 12:04:35.288 1409 1409 E navit : error:navit:graphics_new:Failed to load graphics plugin android.
07-10 12:04:35.289 1409 1409 E navit : error:navit:osd_new:invalid OSD type 'compass'
07-10 12:04:35.289 1409 1409 E navit : error:navit:osd_new:invalid OSD type 'text'
07-10 12:04:35.289 1409 1409 E navit : error:navit:osd_new:invalid OSD type 'navigation_status'
07-10 12:04:35.289 1409 1409 E navit : error:navit:osd_new:invalid OSD type 'navigation_next_turn'
07-10 12:04:35.289 1409 1409 E navit : error:navit:osd_new:invalid OSD type 'text'
07-10 12:04:35.289 1409 1409 E navit : error:navit:osd_new:invalid OSD type 'button'
07-10 12:04:35.289 1409 1409 E navit : error:navit:osd_new:invalid OSD type 'button'
07-10 12:04:35.289 1409 1409 E navit : error:navit:osd_new:invalid OSD type 'button'
07-10 12:04:35.289 1409 1409 E navit : error:navit:osd_new:invalid OSD type 'button'
07-10 12:04:35.290 1409 1409 E navit : error:navit:osd_new:invalid OSD type 'cmd_interface'
07-10 12:04:35.290 1409 1409 E navit : error:navit:osd_new:invalid OSD type 'button'
07-10 12:04:35.290 1409 1409 E navit : error:navit:osd_new:invalid OSD type 'button'
07-10 12:04:35.290 1409 1audit: audit_lost=54 audit_rate_limit=20 audit_backlog_limit=64
409 E navit : error:navit:vehicaudit: rate limit exceeded
le_new:invalid source 'android:': unknown type 'android'
07-10 12:04:35.296 1409 1409 E navit : error:navit:speech_new:wrong type 'android'
07-10 12:04:35.298 1409 1409 E navit : error:navit:map_new:invalid type 'binfile'
07-10 12:04:35.490 1385 1385 I com.sygic.fleet: type=1400 audit(0.0:165): avc: denied { read } for name="239" dev="proc" ino=11266 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:logd:s0 tclass=dir permissive=1
07-10 12:04:35.490 1385 1385 I com.sygic.fleet: type=1400 audit(0.0:166): avc: denied { open } for path="/proc/239" dev="proc" ino=11266 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:logd:s0 tclass=dir permissive=1
07-10 12:04:35.490 1385 1385 I com.sygic.fleet: type=1400 audit(0.0:167): avc: denied { search } for name="239" dev="proc" ino=11266 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:logd:s0 tclass=dir permissive=1
07-10 12:04:35.490 1385 1385 I com.sygic.fleet: type=1400 audit(0.0:168): avc: denied { getattr } for path="/proc/239/environ" dev="proc" ino=23371 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:logd:s0 tclass=file permissive=1
07-10 12:04:35.490 1385 1385 I com.sygic.fleet: type=1400 audit(0.0:169): avc: denied { read } for name="cwd" dev="proc" ino=23381 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:logd:s0 tclass=lnk_file permissive=1
07-10 12:04:35.530 1385 1385 I com.sygic.fleet: type=1400 audit(0.0:170): avc: denied { read } for name="248" dev="proc" ino=7245 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:debuggerd:s0 tclass=dir permissive=1
07-10 12:04:35.530 1385 1385 I com.sygic.fleet: type=1400 audit(0.0:171): avc: denied { open } for path="/proc/248" dev="proc" ino=7245 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:debuggerd:s0 tclass=dir permissive=1
07-10 12:04:35.540 1385 1385 I com.sygic.fleet: type=1400 audit(0.0:172): avc: denied { search } for name="248" dev="proc" ino=7245 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:debuggerd:s0 tclass=dir permissive=1
07-10 12:04:35.540 1385 1385 I com.sygic.fleet: type=1400 audit(0.0:173): avc: denied { getattr } for path="/proc/248/environ" dev="proc" ino=23465 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:debuggerd:s0 tclass=file permissive=1
07-10 12:04:35.540 1385 1385 I com.sygic.fleet: type=1400 audit(0.0:174): avc: denied { read } for name="cwd" dev="proc" ino=23475 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:debuggerd:s0 tclass=lnk_file permissive=1
07-10 12:04:35.602 1409 1409 E navit : error:navit:navit_init:FATAL: No GUI available.
07-10 12:04:35.931 566 577 I ActivityManager: Process org.navitproject.navit (pid 1409) has died
07-10 12:04:35.932 566 577 D ActivityManager: cleanUpApplicationRecord -- 1409
07-10 12:04:35.932 272 272 I Zygote : Process 1409 exited cleanly (1)
07-10 12:04:35.950 566 577 I ActivityManager: Start proc 1424:org.navitproject.navit/u0a63 for activity org.navitproject.navit/.Navit
07-10 12:04:36.022 1424 1424 W System : ClassLoader referenced unknown path: /system/priv-app/Navit/lib/arm
07-10 12:04:36.060 1424 1424 W linker : /system/lib/libnavit.so: unused DT entry: type 0xf arg 0x6201
type=1400 audit(1531224276.110:287): avc: denied { getattr } for pid=1385 comm="com.sygic.fleet" path="/proc/286" dev="proc" ino=7166 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:gatekeeperd:s0 tclass=dir permissive=1
07-10 12:04:36.120 1424 1424 D type=1400 audit(1531224276.110:288): avc: denied { read } for pid=1385 comm="com.sygic.fleet" name="286" dev="proc" ino=7166 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:gatekeeperd:s0 tclass=dir permissive=1
Navit : **1**A android.intent.atype=1400 audit(1531224276.110:289): avc: denied { open } for pid=1385 comm="com.sygic.fleet" path="/proc/286" dev="proc" ino=7166 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:gatekeeperd:s0 tclass=dir permissive=1
ction.MAIN
07-10 12:04:36.120 1type=1400 audit(1531224276.130:290): avc: denied { search } for pid=1385 comm="com.sygic.fleet" name="286" dev="proc" ino=7166 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:gatekeeperd:s0 tclass=dir permissive=1
424 1424 D Navit : **1**D nulltype=1400 audit(1531224276.130:291): avc: denied { getattr } for pid=1385 comm="com.sygic.fleet" path="/proc/286/environ" dev="proc" ino=25502 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:gatekeeperd:s0 tclass=file permissive=1

07-10 12:04:36.110 1385 1385 type=1400 audit(1531224276.130:292): avc: denied { read } for pid=1385 comm="com.sygic.fleet" name="cwd" dev="proc" ino=25512 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:gatekeeperd:s0 tclass=lnk_file permissive=1
I com.sygic.fleet: type=1400 auditype=1400 audit(1531224276.150:293): avc: denied { getattr } for pid=1385 comm="com.sygic.fleet" path="/proc/294" dev="proc" ino=14156 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=1
t(0.0:287): avc: denied { getattr } for path="/proc/286" dev="protype=1400 audit(1531224276.150:294): avc: denied { read } for pid=1385 comm="com.sygic.fleet" name="294" dev="proc" ino=14156 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=1
c" ino=7166 scontext=u:r:untrustetype=1400 audit(1531224276.150:295): avc: denied { open } for pid=1385 comm="com.sygic.fleet" path="/proc/294" dev="proc" ino=14156 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=1
d_app:s0:c512,c768 tcontext=u:r:gtype=1400 audit(1531224276.150:296): avc: denied { search } for pid=1385 comm="com.sygic.fleet" name="294" dev="proc" ino=14156 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:kernel:s0 tclass=dir permissive=1
atekeeperd:s0 tclass=dir permissive=1
07-10 12:04:36.110 1385 1385 I com.sygic.fleet: type=1400 audit(0.0:288): avc: denied { read } for name="286" dev="proc" ino=7166 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:gatekeeperd:s0 tclass=dir permissive=1
07-10 12:04:36.110 1385 1385 I com.sygic.fleet: type=1400 audit(0.0:289): avc: denied { open } for path="/proc/286" dev="proc" ino=7166 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:gatekeeperd:s0 tclass=dir permissive=1
07-10 12:04:36.130 1385 1385 I com.sygic.fleet: type=1400 audit(0.0:290): avc: denied { search } for name="286" dev="proc" ino=7166 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:gatekeeperd:s0 tclass=dir permissive=1


Not able to get default UI of the Navit app atleast

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/