RobertN Posted August 6, 2018 Share Posted August 6, 2018 Witam, Dalej borykam się z problemem parowania mi mix 2s z radiem w samochodzie. Za każdym razem gdy włączam chcę posłuchać muzyki muszę ręcznie przestawiać kodek z aac na sbc w opcjach programistycznych. Czy jeśli zainstaluje taskera ( nie mam root) to będę mógł wykonać takie polecenie, by zmieniał kodek audio? Czy jednak muszę zrobić root. Jeśli tak czy ktoś może zrobić zrzut jak mam napisać takie zadanie dla taskera (nigdy nie używałem tego programu). Pozdrawiam Link to comment Share on other sites More sharing options...
RobertN Posted August 6, 2018 Author Share Posted August 6, 2018 właśnie dlatego chciałem by tasker po podłączeniu radia przez bluetooth zmieniał ten kodek z aac na sbc. Chyba że istnieje jakaś inna opcja by nie trzeba było za każdym razem zmieniać tego ręcznie. Link to comment Share on other sites More sharing options...
RobertN Posted August 6, 2018 Author Share Posted August 6, 2018 W takim razie z jakiego powodu gdy zmienię ręcznie ten kodek zaczyna lecieć dźwięk z głośników samochodowych. Link to comment Share on other sites More sharing options...
RobertN Posted August 6, 2018 Author Share Posted August 6, 2018 (edited) Próbowałem już wszystkiego. Usuwać dodawać itp. Z tego co widzę na zagranicznych forach nie tylko ja mam ten problem. Rozwiązaniem jest root i podmiana pliku odpowiedzialnego za priorytet kodeków. Ale nie chce robić roota dlatego próbuje to naprawić innymi sposobami. Na globalu był ten sam problem zmienilem na Eu z myślą że ten błąd nie będzie występować. A występuje. Bez zmiany tego kodeka dzwięku nie ma. Wysłane z mojego MIX 2S przy użyciu Tapatalka Edited August 6, 2018 by RobertN literówka 1 Link to comment Share on other sites More sharing options...
RobertN Posted August 6, 2018 Author Share Posted August 6, 2018 Chodzi mi o tą wypowiedź: https://forum.xda-developers.com/showpost.php?p=76775776&postcount=2 Jest napisane że root potrzebny, wszedłem w twrp ale nie widzę możliwości edycji plików. Link to comment Share on other sites More sharing options...
frrancuz Posted August 6, 2018 Share Posted August 6, 2018 1. Tasker pozwala na edycję ustawień systemu bez ROOT. Jednak nie wszystkich. Trzeba by sprawdzić. Sam mam ROOT więc możemy próbować u ciebie. 2. Skopiuj plik build.prop z systemu. Wyedytuj go "w innym miejscu", np w pamięci telefonu. Wejdź w TWRP i za pomocą jego menagera podmień plik. Zrób kopię! 1 Link to comment Share on other sites More sharing options...
RobertN Posted August 7, 2018 Author Share Posted August 7, 2018 (edited) Skopiowałem ten plik. Szukałem dokładnie tej linijki która miałem zmienić. Lecz nie widzę czegoś takiego. Cały plik wygląda tak: Spoiler # begin build properties # autogenerated by buildinfo.sh ro.build.id=OPR1.170623.032 ro.build.version.incremental=8.7.26 ro.build.version.sdk=26 ro.build.version.preview_sdk=0 ro.build.version.codename=REL ro.build.version.all_codenames=REL ro.build.version.release=8.0.0 ro.build.version.security_patch=2018-06-01 ro.build.version.base_os= ro.build.date=Sat Jul 28 00:25:34 BST 2018 ro.build.date.utc=1532733934 ro.build.type=user ro.build.user=8.8.2 ro.build.tags=release-keys ro.build.flavor=polaris-user ro.product.model=MIX 2S ro.product.brand=Xiaomi ro.product.name=polaris ro.product.device=polaris # ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete, # use ro.product.cpu.abilist instead. ro.product.cpu.abi=arm64-v8a ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi ro.product.cpu.abilist32=armeabi-v7a,armeabi ro.product.cpu.abilist64=arm64-v8a ro.product.locale=en-GB ro.wifi.channels= # ro.build.product is obsolete; use ro.product.device ro.build.product=polaris # Do not try to parse description, fingerprint, or thumbprint ro.build.description_real=polaris-user 8.0.0 OPR1.170623.032 8.7.26 release-keys ro.build.fingerprint_real=Xiaomi/polaris/polaris:8.0.0/OPR1.170623.032/8.7.26:user/release-keys ro.build.characteristics=nosdcard # end build properties # # from device/xiaomi/polaris/special_ro.prop # # For common ro override property # LCD density ro.sf.lcd_density=480 # System property for cabl ro.qualcomm.cabl=0 # System property for AD ro.qcom.ad=1 ro.qcom.ad.calib.data=/vendor/etc/sdr_config.cfg ro.qcom.ad.hdr.calib.data=/vendor/etc/hdr_config.cfg ro.qcom.ad.sensortype=2 # Enable backlight notify to displayfeature ro.xiaomi.bl.notify=1 #support unlimited color temperature adjust ro.colorpick_adjust=true #support E-label property ro.product.cert=M1803D5XE # Disable inline rotator sdm.debug.disable_inline_rotator=1 sdm.debug.disable_inline_rotator_secure=1 # Require rotate preview callback for below packages vendor.camera.rotate.packagelist=com.tencent.mm,com.xiaomi.jr #support night mode 2.0 ro.eyecare.brightness.threshold=15 ro.eyecare.brightness.level=8 ro.hist.brightness.threshold=7 # White Point Calibration ro.whitepoint_calibration_enable=false #Property for display feature histogram ro.displayfeature.histogram.enable=true # # from device/xiaomi/sdm845_common/common_ro.prop # # For common ro override property # # from device/xiaomi/sdm845_common/system.prop # # # system.prop for sdm845 # rild.libpath=/vendor/lib64/libril-qc-hal-qmi.so #rild.libargs=-d /dev/smd0 persist.rild.nitz_plmn= persist.rild.nitz_long_ons_0= persist.rild.nitz_long_ons_1= persist.rild.nitz_long_ons_2= persist.rild.nitz_long_ons_3= persist.rild.nitz_short_ons_0= persist.rild.nitz_short_ons_1= persist.rild.nitz_short_ons_2= persist.rild.nitz_short_ons_3= ril.subscription.types=NV,RUIM DEVICE_PROVISIONED=1 # Set network mode to (T/L/G/W/1X/EVDO, T/L/G/W/1X/EVDO) for 7+7 mode device on DSDS mode ro.telephony.default_network=22,22 persist.radio.multisim.config=dsds ril.subscription.types=RUIM persist.sys.ssr.restart_level=ALL_ENABLE persist.sys.ssr.enable_ramdumps=1 #IMS corresponding persist.radio.VT_HYBRID_ENABLE=1 persist.vendor.ims.disableUserAgent =0 #iwaln vowifi corresponding persist.data.iwlan.enable=true #dpm persist.vendor.dpm.feature=1 persist.vendor.dpm.nsrm.bkg.evt=3955 # Report redirection call number persist.vendor.radio.redir_party_num=1 #Enable manual network selection function and distinguish 2G/3G/4G persist.vendor.radio.rat_on=combine #For special cdma card sms issue persist.vendor.radio.force_on_dc=true # for no privacy log feature persist.no_privacy_log.enable=true #close flex mapping for 845 persist.radio.flexmap_type=none persist.rcs.supported=0 debug.sf.hw=0 debug.egl.hw=0 debug.sf.latch_unsignaled=1 #debug.composition.type=c2d #persist.hwc.mdpcomp.enable=true debug.mdpcomp.logs=0 debug.sf.enable_hwc_vds=1 dalvik.vm.heapsize=36m dev.pm.dyn_samplingrate=1 persist.demo.hdmirotationlock=false #ro.hdmi.enable=true #persist.speaker.prot.enable=false qcom.hw.aac.encoder=true # # system props for the cne module # persist.cne.feature=1 #system props for the MM modules media.stagefright.enable-player=true media.stagefright.enable-http=true media.stagefright.enable-aac=true media.stagefright.enable-qcp=true media.stagefright.enable-fma2dp=true media.stagefright.enable-scan=true mmp.enable.3g2=true media.aac_51_output_enabled=true mm.enable.smoothstreaming=true media.settings.xml=/vendor/etc/media_profiles_vendor.xml #13631487 is decimal sum of supported codecs in AAL #codecs:(PARSER_)AAC AC3 AMR_NB AMR_WB ASF AVI DTS FLV 3GP 3G2 MKV MP2PS MP2TS MP3 OGG QCP WAV FLAC AIFF APE DSD mm.enable.qcom_parser=13630463 persist.mm.enable.prefetch=true #Netflix custom property ro.netflix.bsp_rev=Q845-05000-1 # # system props for the data modules # ro.use_data_netmgrd=true persist.data.netmgrd.qos.enable=true persist.data.mode=concurrent #system props for time-services persist.timed.enable=true # system property for maximum number of HFP client connections bt.max.hfpclient.connections=1 # # System props for telephony # System prop to turn on CdmaLTEPhone always telephony.lteOnCdmaDevice=1 #Simulate sdcard on /data/media # persist.fuse_sdcard=true #system prop for Bluetooth SOC type qcom.bluetooth.soc=cherokee #system prop for wipower support ro.bluetooth.emb_wp_mode=false ro.bluetooth.wipower=false # #snapdragon value add features # ro.qc.sdk.audio.ssr=false ##fluencetype can be "fluence" or "fluencepro" or "none" ro.qc.sdk.audio.fluencetype=none persist.audio.fluence.voicecall=true persist.audio.fluence.voicerec=false persist.audio.fluence.speaker=true #system prop for RmNet Data persist.rmnet.data.enable=true persist.data.wda.enable=true persist.data.df.dl_mode=5 persist.data.df.ul_mode=5 persist.data.df.agg.dl_pkt=10 persist.data.df.agg.dl_size=4096 persist.data.df.mux_count=8 persist.data.df.iwlan_mux=9 persist.data.df.dev_name=rmnet_usb0 #allow update modem profile to satify single ip-type pdp request persist.data.profile_update=true #property to enable user to access Google WFD settings persist.debug.wfd.enable=1 ##property to choose between virtual/external wfd display persist.sys.wfd.virtual=0 # enable tunnel encoding for amrwb tunnel.audio.encode = true #Buffer size in kbytes for compress offload playback audio.offload.buffer.size.kb=32 #Enable offload audio video playback by default av.offload.enable=true #enable voice path for PCM VoIP by default use.voice.path.for.pcm.voip=true # system prop for NFC DT ro.nfc.port=I2C #enable dsp gapless mode by default audio.offload.gapless.enabled=true #initialize QCA1530 detection sys.qca1530=detect #Enable stm events persist.debug.coresight.config=stm-events #hwui properties ro.hwui.texture_cache_size=72 ro.hwui.layer_cache_size=48 ro.hwui.r_buffer_cache_size=8 ro.hwui.path_cache_size=32 ro.hwui.gradient_cache_size=1 ro.hwui.drop_shadow_cache_size=6 ro.hwui.texture_cache_flushrate=0.4 ro.hwui.text_small_cache_width=1024 ro.hwui.text_small_cache_height=1024 ro.hwui.text_large_cache_width=2048 ro.hwui.text_large_cache_height=4096 #Bringup properties debug.gralloc.gfx_ubwc_disable=0 persist.sys.force_sw_gles=1 persist.radio.atfwd.start=true ro.kernel.qemu.gles=0 sdm.debug.disable_scalar=0 qemu.hw.mainkeys=0 #logd buffer size ro.logd.size=2M sdm.debug.prefersplit=1 sdm.debug.disable_dest_scalar=1 #enable IZat OptInApp overlay persist.vendor.overlay.izat.optin=rro # Property for backup NTP Server persist.backup.ntpServer="0.pool.ntp.org" #IOP properties iop.enable_uxe=0 iop.enable_prefetch_ofr=1 # Property to enable app trigger ro.vendor.at_library=libqti-at.so persist.vendor.qti.games.gt.prof=1 #min/max cpu in core control ro.vendor.qti.core_ctl_min_cpu=2 ro.vendor.qti.core_ctl_max_cpu=4 #stapp persist.vendor.stapp.display=1 #sensor properties sys.autobrightness_optimize=true #white list for aux cameras vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,com.miui.cit,com.qualcomm.qti.qmmi #disable zram ro.vendor.qti.config.zram=false ro.config.zram=false # enable b-services aging propagation ro.vendor.qti.sys.fw.bservice_enable=true #Set for ims sip user agent ro.fota.oem=Xiaomi # # from device/xiaomi/sdm845_common/common_rw.prop # # For common rw override property # # from device/xiaomi/polaris/special_rw.prop # # For common rw override property #system property for displayfeature hidl sys.displayfeature_hidl=true #system property for camera persist.vendor.camera.multicam.hwsync=TRUE #enable fps match persist.vendor.camera.multicam.fpsmatch=TRUE #system property for camera advance feature persist.vendor.camera.enableAdvanceFeatures=0x67 #enable sw frame sync persist.vendor.camera.multicam.framesync=1 #dualcam sat fallback setting persist.camera.sat.fallback.dist=45 persist.camera.sat.fallback.dist.d=5 persist.camera.sat.fallback.luxindex=310 persist.camera.sat.fallback.lux.d=50 #AF wait AEC settle count persist.camera.saf.stablecnt=3 # # ADDITIONAL_BUILD_PROPERTIES # ro.miui.version.code_time=1532534400 ro.rom.zone=1 ro.miui.has_gmscore=1 ro.miui.ui.version.code=8 ro.miui.ui.version.name=V10 ro.fota.oem=Xiaomi ro.build.software.version=Android8.0.0_10 persist.vendor.radio.report_codec=1 persist.vendor.radio.redir_party_num=1 ro.config.media_vol_default=10 persist.miui.density_v2=440 dalvik.vm.dex2oat-min-free-mem=209715200 ro.malloc.impl=jemalloc ro.product.first_api_level=26 ro.treble.enabled=true persist.sys.dalvik.vm.lib.2=libart.so dalvik.vm.isa.arm64.variant=kryo300 dalvik.vm.isa.arm64.features=default dalvik.vm.isa.arm.variant=cortex-a9 dalvik.vm.isa.arm.features=default net.bt.name=Android dalvik.vm.stack-trace-file=/data/anr/traces.txt ro.config.sms_received_sound=FadeIn.ogg ro.config.sms_delivered_sound=MessageComplete.ogg ro.com.android.mobiledata=false ro.product.manufacturer=Xiaomi ro.config.elder-ringtone=Angel.mp3 keyguard.no_require_sim=true ro.com.android.dataroaming=false persist.sys.mitalk.enable=true persist.enable_task_snapshots=false sys.miui.shutdown.waittime=500 persist.sys.watchdog_enhanced=true ro.config.ringtone=Ring_Synth_04.ogg ro.config.notification_sound=pixiedust.ogg ro.config.alarm_alert=Alarm_Classic.ogg ro.product.cuptsm=XIAOMI|ESE|02|01 persist.power.useautobrightadj=true persist.radio.apm_sim_not_pwdn=1 ro.config.max_starting_bg=4 persist.added_boot_bgservices=4 ro.com.google.clientidbase=android-xiaomi audio.offload.min.duration.secs=15 ro.miui.has_real_blur=1 ro.miui.has_handy_mode_sf=1 ro.product.mod_device=polaris_mam_global # ADDED BY XIAOMI.EU # MIUIOS.CZ # MIUIPOLSKA.PL # ro.modversion=xiaomi.eu_miuios.cz_miuipolska.pl ro.xiaomi.developerid=ingbrzy_acid ro.build.host=xiaomi.eu ro.xiaomi.eu.version.code_time=1532733905 ro.media.enc.jpeg.quality=100 ro.bluetooth.remote.autoconnect=true ro.bluetooth.request.master=true persist.sys.timezone=Europe/Berlin ro.miui.region=PL ro.miui.region2=IN ro.product.locale.language=en ro.product.locale.region=US ro.miui.mcc=9998 ro.miui.mnc=9999 ro.setupwizard.mode=OPTIONAL sys.display-size=3840x2160 ro.com.google.ime.themes_dir=/system/etc/gboard_theme ro.com.google.ime.theme_file=xiaomi_theme_20171222.zip ro.control_privapp_permissions=log ro.com.google.gmsversion=8.0_r4 ro.build.fingerprint=Xiaomi/polaris/polaris:8.0.0/OPR1.170623.032/V9.5.19.0.ODGMIFA:user/release-keys ro.build.description=polaris-user 8.0.0 OPR1.170623.032 V9.5.19.0.ODGMIFA release-keys drm.service.enabled=true ro.adb.secure=1 persist.adb.notify=0 net.dns1=1.1.1.1 net.dns2=1.0.0.1 ro.build.display.id=xiaomi.eu Która dokładnie pozycje mam zmienić. Edited August 7, 2018 by RobertN Link to comment Share on other sites More sharing options...
RobertN Posted August 7, 2018 Author Share Posted August 7, 2018 (edited) Posiadam Mi mix 2S na najnowszym rozwojowym romie. Niestety cały czas występują te błędy może to spowodowane jest radiem pioneer. Spoiler media.settings.xml=/vendor/etc/media_profiles_vendor.xml #13631487 is decimal sum of supported codecs in AAL #codecs:(PARSER_)AAC AC3 AMR_NB AMR_WB ASF AVI DTS FLV 3GP 3G2 MKV MP2PS MP2TS MP3 OGG QCP WAV FLAC AIFF APE DSD Czyli w tym pliku muszę usunąć po prostu AAC i powinno już działać. Edited August 7, 2018 by RobertN Link to comment Share on other sites More sharing options...
RobertN Posted August 12, 2018 Author Share Posted August 12, 2018 Udało się rozwiązać problem dzięki aplikacji autoinput i tasker.Wszystko odbywa się automatycznie i jest prawie nie zauważalne.Dziękuję za poświęcony czas i wiedzę. Wysłane z mojego MIX 2S przy użyciu Tapatalka Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now