Konfigurationsmöglichkeiten!

Alles zum Basissystem Android
Antworten
cardroid
AV7-Modder
Beiträge: 432
Registriert: Sa 27. Dez 2014, 20:25
Hat sich bedankt: 43 Mal
Danksagung erhalten: 65 Mal

Konfigurationsmöglichkeiten!

Beitrag von cardroid » Sa 7. Feb 2015, 16:26

Das Updatescript ruft bei der Installation die Datei factory.prop auf, wo dann verschiedene Parameter gespeichert werden (setprop). Neben diesem "externen" Import von Parametern werden auch noch innerhalb des system - Images per default.prop und build.prop Werte abgespeichert.
Was dann letztendlich alles parametrisiert ist, kann man sich z.b. mit dem Befehl "getprop" auf der Konsole ansehen oder mit "getprop > /sdcard/file.txt" in ein Textfile schreiben lassen (ein Beispiel am Ende des Posts).

Folgende Parameter werden in den Geräten benutzt, die mir bis dato unter die Finger gekommen sind. Die meisten sind selbsterklärend - bei ein paar schreibe ich hin, was der jeweilige Parameter höchstwahrscheinlich bewirkt!

default.prop (boot.img)
##ro.secure=1
ro.allow.mock.location=0 #GPS Fakepostitionen erlauben?
ro.debuggable=1 #Debugging ADB erlauben?
persist.sys.usb.config=adb
#Fix
ro.secure=0 # /system Ordner schützen?
ro.adb.secure=0 # systemordner gegenüber adb shells schützen?
#/Fix


build.prop (system.img)
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=JRO03C
ro.build.display.id=Cardroid V0.7 Black
ro.build.version.incremental=0.7.106s
ro.build.version.sdk=16
ro.build.version.codename=REL
ro.build.version.release=4.1.1
ro.build.date=Mon Oct 20 02:42:52 CST 2014
ro.build.date.utc=1413744172
ro.build.type=userdebug
ro.build.user=
ro.build.host=buildserver03
ro.build.tags=test-keys
ro.product.model=CA03
ro.product.brand=Cardroid
ro.product.name=CA03
ro.product.device=CA03
ro.product.board=
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=CA03
ro.product.locale.language=de #voreingestellte Sprache
ro.product.locale.region=DE #voreingestellte Sprache
ro.wifi.channels=
ro.board.platform=cedric
# ro.build.product is obsolete; use ro.product.device
ro.build.product=CA03
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=CA03-userdebug 4.1.1 JRO03C 0.7.106s test-keys
ro.build.fingerprint=cardroid/CA03/CA03:4.1.1/JRO03C/0.7.106s:userdebug/test-keys #Fingerprint für Playstore... aber nicht alleine verantwortlich
ro.build.characteristics=default
# end build properties
ms.mstplayer=1 # MStar - spezifische Settings
ms.mstplayer.logless=1
hw.ms.display.destination=3
hw.ms.sc1_sync_sc0=1
hw.ms.hdmitx_timing=480_60P #HDMI Einstellungen
hw.ms.hdmitx_color=YUV
ro.ms.System.bDualScreen=true
debug.sf.electron_frames=1
ms.subchannel.audio=1
hw.ms.sytem.audio=0

#
# ADDITIONAL_BUILD_PROPERTIES
#
persist.sys.themeId=ca03
persist.sys.themePackageName=SY29tLmNhcmRyb2lkLnRoZW1lcy5jYTAzRGeUN #voreingestelltes Theme
ro.com.android.dateformat=MM-dd-yyyy
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.notification_sound=pixiedust.ogg
ro.carrier=unknown
ro.config.alarm_alert=Alarm_Classic.ogg
rild.libpath=/system/lib/libreference-ril-wcdma.so
ro.sf.lcd_density=160 #voreingestellte Displayauflösung
qemu.sf.lcd_density=160
dalvik.vm.heapsize=64m
ro.opengles.version=131072
ro.config.nocheckin=yes
mstar.mstplayer.bd=1
wifi.interface=wlan0
wifi.supplicant_scan_interval=15
dalvik.vm.lockprof.threshold=500
net.bt.name=Android #voreingestellter Name des Bluetoothgerätes
dalvik.vm.stack-trace-file=/data/anr/traces.txt


factory.prop
ro.mcu.router = 1
ro.mcu.turner = 2
persist.sys.radio.region = 3 #voreingestellte Radio - Regioneneinstellung (Einstellungen - Werkseinstellungen - ...)
persist.sys.can.type = 4_1_zt_volkswagen #voreingestellter Fahrzeugtyp für CAN Funktionen
persist.sys.mcu.can = 51 # benutztes CAN Profil
ro.gps.type = nmea
ro.volume.default = 10 #Standardlautstärke
ro.balance.default=24 24 24 24 15,-loud 0 #Lautstärkesettings der MCU
ro.navi.path = Navitel/Navitel-full-5.5.0.182.apk
ro.navi.package = com.navitel
ro.allnavi.packages=Mapcom.baidu.naviuavana.gmaps:NetworkLocationService,uavana.gmaps:driveabout
ro.allnavi.packages2=com.autonavi.xmgd.navigator
persist.sys.navipackage=com.navitel
ro.navi.package_readonly=com.navitel
ro.EXTERNAL_STORAGE_SD=/mnt/sdcard
ro.sys.bt.type = fwings #verbautes BT Modul
ro.novideo.park = enable
persist.sys.language=de #voreingestellte Sprache
persist.sys.country=DE #voreingestellte Sprache
persist.sys.timezone=Europe/Vienna #voreingestellte Zeitzone
ro.settings.lantern = false
persist.sys.radio.rds = true # RDS an oder aus
ro.poweroff.timeout = 0 # Ausschaltverzögerung... könnte bei Subwoofern praktisch sein
ro.can.radarnum = 1
ro.capital.city = Berlin
persist.sys.atv.system = 2
ro.sys.force.uninstall=0
ro.dvd.defaultBCS=51_48_64
ro.sys.defaultBCS=51,48,64
ro.auxin.defaultBCS=50_48_64
ro.default.audio.Music=85;35;
ro.carSource.drawflag = 0
o.default.bt.autoconnect=1
persist.bt.auto.hangup = 0
ro.usb.speed=0
persist.sys.isFirstInit = true
ro.robot.window_icon= false
ro.sys.isshowall =true
ro.sys.isshowcansettings = true
ro.sys.touchpanel.type = cap
ro.adck.tolerance = 4
persist.sys.bt.reuse_media_button = 1
o.tda7419.ingain=6,3,7,10,1,3,5,5,5,5,5,2,7 #Eingangspegel der einzelnen Tonquellen (!!!)
hw.sys.wifi.autoload.id=bda/8178/200,bda/8179/0,bda/8176/200
o.carhome.voice=google
hw.sys.bt.uart=/dev/ttyS5, 9600
ro.statusbar.shortcut=brightness,reboot,standby,volume,wifi,wifi hotspot #welche Symbole sollen in die Titelleiste
ro.sys.mcu.uart=/dev/ttyMbx3
ro.settings.obd = true
ro.statusbar.volumebar = false # Lautstärkeleiste in Infoleiste anzeigen?
ro.sys.isshowlogoset=true # Bootlogos veränderbar?
persist.sys.tire_app.hide=0 # Reifendruckapp verstecken?
ro.sys.ishasvolumeset = true
persist.sys.tachograph.mode=usb
ro.second.backlight=130
ro.default.time12_24 = 24 # voreingestelltes Zeitformat: 12 oder 24h Anzeige
persist.default.screentime=0
persist.sys.themePackageName=VY29tLmNhcmRyb2lkLnRoZW1lcy5jYTAzLmRydDAxBONZu # Themesettings
ro.carhome.plug=aTFRUfxByEGVtZUFjdGl2fxByEXR5fxByE #Carhome Startseite
ro.sys.coolboot.options=0,120,720,1080,1440,2880 # Standby Optionen
ro.coolboot.timeout=120 # Standbyvorsteinstellung



Und so sehen dann die übernommenen Variablen im System aus (getprop Output):
[dalvik.vm.heapsize]: [64m]
[dalvik.vm.lockprof.threshold]: [500]
[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]
[debug.sf.electron_frames]: [1]
[dev.bootcomplete]: [1]
[dhcp.usb0.result]: [failed]
[dhcp.wlan0.dns1]: [8.8.8.8]
[dhcp.wlan0.dns2]: [8.8.4.4]
[dhcp.wlan0.dns3]: []
[dhcp.wlan0.dns4]: []
[dhcp.wlan0.gateway]: [192.168.2.1]
[dhcp.wlan0.ipaddress]: [192.168.2.99]
[dhcp.wlan0.leasetime]: [259200]
[dhcp.wlan0.mask]: [255.255.255.0]
[dhcp.wlan0.pid]: [2204]
[dhcp.wlan0.reason]: [REBOOT]
[dhcp.wlan0.result]: [ok]
[dhcp.wlan0.server]: [192.168.2.1]
[dhcp.wlan0.vendorInfo]: []
[gsm.current.phone-type]: [1]
[gsm.operator.alpha]: []
[gsm.operator.iso-country]: []
[gsm.operator.isroaming]: [false]
[gsm.operator.numeric]: []
[gsm.sim.operator.alpha]: []
[gsm.sim.operator.iso-country]: []
[gsm.sim.operator.numeric]: []
[gsm.sim.state]: [UNKNOWN]
[hw.ms.display.destination]: [3]
[hw.ms.hdmitx_color]: [YUV]
[hw.ms.hdmitx_timing]: [480_60P]
[hw.ms.sc1_sync_sc0]: [1]
[hw.ms.sytem.audio]: [0]
[hw.sys.audio.MUSIC]: [85]
[hw.sys.audio.navivolume]: [100]
[hw.sys.bt.hfp.connecting]: [0]
[hw.sys.bt.uart]: [/dev/ttyS5, 9600]
[hw.sys.build.at]: [authed]
[hw.sys.mcu1.version]: [CA03-rz 0.1.20 NXP6624]
[hw.sys.wifi.autoload.id]: [bda/8178/200,bda/8179/0,bda/8176/200]
[init.svc.adbd]: [running]
[init.svc.atvd]: [running]
[init.svc.backup_restore]: [running]
[init.svc.boot-completed]: [stopped]
[init.svc.bootanim]: [stopped]
[init.svc.btslaved]: [running]
[init.svc.console]: [running]
[init.svc.dbus]: [running]
[init.svc.debuggerd]: [running]
[init.svc.deviced]: [running]
[init.svc.dhcpcd_usb]: [stopped]
[init.svc.dhcpcd_wlan0]: [running]
[init.svc.dofirewall]: [stopped]
[init.svc.drm]: [running]
[init.svc.flash_recovery]: [stopped]
[init.svc.gocsdk]: [running]
[init.svc.init-setup]: [stopped]
[init.svc.insmod-ehci]: [stopped]
[init.svc.installd]: [running]
[init.svc.ipodd]: [running]
[init.svc.keystore]: [running]
[init.svc.logcat-radio]: [running]
[init.svc.logcat]: [running]
[init.svc.logdump]: [running]
[init.svc.logock]: [stopped]
[init.svc.mcud]: [running]
[init.svc.media]: [running]
[init.svc.netd]: [running]
[init.svc.pq]: [stopped]
[init.svc.reversingd]: [running]
[init.svc.ril-daemon]: [running]
[init.svc.rtw_suppl_con]: [running]
[init.svc.servicemanager]: [running]
[init.svc.surfaceflinger]: [running]
[init.svc.sys_monitor]: [running]
[init.svc.ts_readcal]: [stopped]
[init.svc.u3gmonitor]: [running]
[init.svc.ueventd]: [running]
[init.svc.vold]: [running]
[init.svc.zygote]: [running]
[logo.check]: [trigger_restart_framework]
[media.adec.reset]: [1]
[media.vdec.reset]: [1]
[ms.mstplayer.logless]: [1]
[ms.mstplayer]: [1]
[ms.subchannel.audio]: [1]
[mstar.mstplayer.bd]: [1]
[net.bt.name]: [Android]
[net.change]: [net.dnschange]
[net.dns1]: [8.8.8.8]
[net.dns2]: [8.8.4.4]
[net.dnschange]: [1]
[net.hostname]: [android-cb04251547664840]
[net.qtaguid_enabled]: [0]
[net.tcp.buffersize.default]: [4096,87380,110208,4096,16384,110208]
[net.tcp.buffersize.edge]: [4093,26280,35040,4096,16384,35040]
[net.tcp.buffersize.gprs]: [4092,8760,11680,4096,8760,11680]
[net.tcp.buffersize.hspa]: [4094,87380,262144,4096,16384,262144]
[net.tcp.buffersize.lte]: [524288,1048576,2097152,262144,524288,1048576]
[net.tcp.buffersize.umts]: [4094,87380,110208,4096,16384,110208]
[net.tcp.buffersize.wifi]: [524288,1048576,2097152,262144,524288,1048576]
[net.wlan0.dns1]: [56.0.0.0]
[net.wlan0.dns2]: [56.0.0.0]
[persist.bt.auto.hangup]: [0]
[persist.default.screentime]: [0]
[persist.sys.atv.system]: [2]
[persist.sys.can.type]: [4_1_zt_volkswagen]
[persist.sys.country]: [DE]
[persist.sys.isFirstInit]: [true]
[persist.sys.language]: [de]
[persist.sys.mcu.can]: [51]
[persist.sys.mpeg.version]: [CA03-G1-r0.1.63T]
[persist.sys.navipackage]: [com.navitel]
[persist.sys.profiler_ms]: [0]
[persist.sys.radio.rds]: [true]
[persist.sys.radio.region]: [3]
[persist.sys.tachograph.mode]: [usb]
[persist.sys.themeId]: [ca03]
[persist.sys.themePackageName]: [VY29tLmNhcmRyb2lkLnRoZW1lcy5jYTAzLmRydDAxBONZu]
[persist.sys.timezone]: [Europe/Vienna]
[persist.sys.tire_app.hide]: [0]
[persist.sys.usb.config]: [adb]
[qemu.hw.mainkeys]: [1]
[qemu.sf.lcd_density]: [160]
[rild.libpath]: [/system/lib/libreference-ril-wcdma.so]
[ro.EXTERNAL_STORAGE_SD]: [/mnt/sdcard]
[ro.adb.secure]: [0]
[ro.adck.tolerance]: [4]
[ro.allnavi.packages2]: [com.autonavi.xmgd.navigator]
[ro.allnavi.packages]: [Mapcom.baidu.naviuavana.gmaps:NetworkLocationService,uavana.gmaps:driveabout]
[ro.allow.mock.location]: [0]
[ro.auxin.defaultBCS]: [50_48_64]
[ro.balance.default]: [24 24 24 24 15,-loud 0]
[ro.baseband]: [unknown]
[ro.board.platform]: [cedric]
[ro.boot.console]: [ttyS0]
[ro.bootloader]: [unknown]
[ro.bootmode]: [unknown]
[ro.build.characteristics]: [default]
[ro.build.date.utc]: [1413744172]
[ro.build.date]: [Mon Oct 20 02:42:52 CST 2014]
[ro.build.description]: [CA03-userdebug 4.1.1 JRO03C 0.7.106s test-keys]
[ro.build.display.id]: [Cardroid V0.7 Black]
[ro.build.fingerprint]: [cardroid/CA03/CA03:4.1.1/JRO03C/0.7.106s:userdebug/test-keys]
[ro.build.host]: [buildserver03]
[ro.build.id]: [JRO03C]
[ro.build.product]: [CA03]
[ro.build.tags]: [test-keys]
[ro.build.type]: [userdebug]
[ro.build.user]: []
[ro.build.version.codename]: [REL]
[ro.build.version.incremental]: [0.7.106s]
[ro.build.version.release]: [4.1.1]
[ro.build.version.sdk]: [16]
[ro.can.radarnum]: [1]
[ro.capital.city]: [Berlin]
[ro.carSource.drawflag]: [0]
[ro.carhome.voice]: [google]
[ro.carrier]: [unknown]
[ro.com.android.dateformat]: [MM-dd-yyyy]
[ro.config.alarm_alert]: [Alarm_Classic.ogg]
[ro.config.nocheckin]: [yes]
[ro.config.notification_sound]: [pixiedust.ogg]
[ro.config.ringtone]: [Ring_Synth_04.ogg]
[ro.debuggable]: [1]
[ro.default.audio.Music]: [85;35;]
[ro.default.bt.autoconnect]: [1]
[ro.default.time12_24]: [24]
[ro.dvd.defaultBCS]: [51_48_64]
[ro.factorytest]: [0]
[ro.gps.type]: [nmea]
[ro.hardware]: [cedric]
[ro.hw.bt.type]: [wqiangBC6]
[ro.mcu.turner]: [2]
[ro.ms.System.bDualScreen]: [true]
[ro.navi.package]: [com.navitel]
[ro.navi.package_readonly]: [com.navitel]
[ro.navi.path]: [Navitel/Navitel-full-5.5.0.182.apk]
[ro.novideo.park]: [enable]
[ro.opengles.version]: [131072]
[ro.poweroff.timeout]: [0]
[ro.product.authsn]: [LT-00000000001181]
[ro.product.board]: []
[ro.product.brand]: [Cardroid]
[ro.product.cpu.abi2]: [armeabi]
[ro.product.cpu.abi]: [armeabi-v7a]
[ro.product.device]: [CA03]
[ro.product.locale.language]: [de]
[ro.product.locale.region]: [DE]
[ro.product.manufacturer]: [CA03]
[ro.product.model]: [CA03]
[ro.product.name]: [CA03]
[ro.product.sn]: [LT-00000000001181]
[ro.revision]: [0]
[ro.robot.window_icon]: [false]
[ro.rtk.version]: [00654575]
[ro.runtime.firstboot]: [1388534429244]
[ro.second.backlight]: [130]
[ro.secure]: [0]
[ro.serialno]: []
[ro.settings.lantern]: [false]
[ro.settings.obd]: [true]
[ro.sf.lcd_density]: [160]
[ro.statusbar.shortcut]: [brightness,reboot,standby,volume,wifi,wifi hotspot]
[ro.statusbar.volumebar]: [false]
[ro.sys.bt.type]: [fwings]
[ro.sys.defaultBCS]: [51,48,64]
[ro.sys.force.uninstall]: [0]
[ro.sys.ishasvolumeset]: [true]
[ro.sys.isshowall]: [true]
[ro.sys.isshowcansettings]: [true]
[ro.sys.isshowlogoset]: [true]
[ro.sys.mcu.uart]: [/dev/ttyMbx3]
[ro.sys.touchpanel.type]: [cap]
[ro.tda7419.ingain]: [6,3,7,10,1,3,5,5,5,5,5,2,7]
[ro.usb.speed]: [0]
[ro.volume.default]: [10]
[ro.wifi.channels]: []
[service.adb.tcp.port]: [5555]
[service.bootanim.exit]: [1]
[sys.boot_completed]: [1]
[sys.running.phase]: [completed]
[sys.settings_system_version]: [1]
[sys.usb.config]: [adb]
[sys.usb.state]: [adb]
[system_init.startsurfaceflinger]: [0]
[wifi.interface]: [wlan0]
[wifi.supplicant_scan_interval]: [15]
[wlan.driver.status]: [ok]
[wlan.driver]: [RTL8192CU]
[ro.mcu.router]: [1]

Antworten