Ano, máme konečne zvuk. Konečne máme volání!!
Ano, námatkovou kontrolou kernel configu som si ja človek do linuxových vecí neznalý šimóv, že na samom konci configu bolo toť toto volačo krásne a pekné:
Toto je proste vec kerá sa mi moc nezdala, keď teda tí drivery a veci existujú tak proste nebolo by to zapaté? Bol som teda kukať inakšé kernely od inakších zariadení, inakších portov. SFOS port pre 6/6T mal zvuk zapatý v configu, už mi to došlo také podozrivé a išóv som ďalej. Otvoreu som config od OnePlus X, rovnaký dókaz mójho problému. Proste mi teda chýbali flagy.
Šak pojme to teda zapať, ne? Lenže, odkál zebrať zoznam toho, čo zapať a čo nezapať?
Najrýchlejším ríšením na tento problém bude ponoriť sa do LineageOS configu v kerom to samozrejme zapaté byť mosí. Rozdíl je ale v tom, že LineageOS kernel config títo veci zapína až v neskoršej fáze kde sa to zapne až pri builduvaní androidu kedy sa ten kernel zrekonfiguruje a vybuilduje s tými vecami. Samozrejme, ak som to teda takto správne pochopeu.
V tomto prípade ma napadla druhá najlepšá možnosť, naštartuvať LineageOS, alternatívne rozrýpať boot.img v kerom je kernel a v ňom je zagzipuvaná časť v kerej je celý kernel config.
Code: Select all
$ binwalk kernel
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
20 0x14 Linux kernel ARM64 image, load offset: 0x80000, image size: 51179520 bytes, little endian, 4k page size,
143732 0x23174 SHA256 hash constants, little endian
168980 0x29414 AES S-Box
169236 0x29514 AES Inverse S-Box
175572 0x2ADD4 SHA256 hash constants, little endian
179348 0x2BC94 AES Inverse S-Box
22573076 0x1587014 ELF, 64-bit LSB shared object, version 1 (SYSV)
22596324 0x158CAE4 gzip compressed data, maximum compression, from Unix, last modified: 1970-01-01 00:00:00 (null date)
22827912 0x15C5388 DES SP2, little endian
22828424 0x15C5588 DES SP1, little endian
22845460 0x15C9814 CRC32 polynomial table, little endian
23575316 0x167BB14 Boot section Start 0x0 End 0x0
24011436 0x16E62AC Neighborly text, "neighbor"
26185657 0x18F8FB9 Certificate in DER format (x509 v3), header length: 4, sequence length: 544
26185661 0x18F8FBD Certificate in DER format (x509 v3), header length: 4, sequence length: 576
26185665 0x18F8FC1 Certificate in DER format (x509 v3), header length: 4, sequence length: 608
26185669 0x18F8FC5 Certificate in DER format (x509 v3), header length: 4, sequence length: 640
26185673 0x18F8FC9 Certificate in DER format (x509 v3), header length: 4, sequence length: 672
26185677 0x18F8FCD Certificate in DER format (x509 v3), header length: 4, sequence length: 704
26185681 0x18F8FD1 Certificate in DER format (x509 v3), header length: 4, sequence length: 736
28779841 0x1B72541 Unix path: /sys/kernel/debug/dri.
28795246 0x1B7616E Unix path: /sys/kernel/debug/dri/%pd/%s
28795311 0x1B761AF Unix path: /sys/kernel/debug/dri/%s
28795450 0x1B7623A Unix path: /sys/kernel/debug/dri.
29023283 0x1BADC33 Unix path: /sys/kernel/debug/dri/%pd/perf
29078336 0x1BBB340 Unix path: /lib/firmware/updates/4.14.117-perf-g77a0c0f
29082447 0x1BBC34F Unix path: /dev/disk/by-partlabel
29171671 0x1BD1FD7 Unix path: /sys/kernel/debug/.../reset_controller
29295918 0x1BF052E PARity archive data - file number 20549
29921462 0x1C890B6 Unix path: /sys/kernel/debug/fg_sram
30067571 0x1CACB73 Copyright string: "Copyright(c) Pierre Ossman"
30109781 0x1CB7055 Unix path: /sys/firmware/devicetree/base
30111872 0x1CB7880 Unix path: /sys/firmware/fdt': CRC check failed
30137029 0x1CBDAC5 Neighborly text, "NeighborScanTimerPeriodld"
30137071 0x1CBDAEF Neighborly text, "NeighborLookupThresholdicThresholdDiff"
30137171 0x1CBDB53 Neighborly text, "NeighborScanChannelListanChannelMaxTime"
30137196 0x1CBDB6C Neighborly text, "NeighborScanChannelMinTimehborReqTries"
30137224 0x1CBDB88 Neighborly text, "NeighborScanChannelMaxTimefreshPeriod"
30137255 0x1CBDBA7 Neighborly text, "NeighborReqTriesriod"
30137273 0x1CBDBB9 Neighborly text, "NeighborScanRefreshPeriodstBcnt"
30153945 0x1CC1CD9 Neighborly text, "NeighborLookupRssiThreshold] Value = [%u] Value = [%d] "
30154203 0x1CC1DDB Neighborly text, "NeighborScanMinChanTime] Value = [%u] rScanMaxChanTime] Value = [%u] "
30154259 0x1CC1E13 Neighborly text, "NeighborScanMaxChanTime] Value = [%u] hborRetries] Value = [%u] "
30154318 0x1CC1E4E Neighborly text, "NeighborRetries] Value = [%u] iod] Value = [%u] "
30154366 0x1CC1E7E Neighborly text, "NeighborScanPeriod] Value = [%u] an_min_period] Value = [%u] "
30154418 0x1CC1EB2 Neighborly text, "neighbor_scan_min_period] Value = [%u] orScanResultsRefreshPeriod] Value = [%u] "
30154475 0x1CC1EEB Neighborly text, "NeighborScanResultsRefreshPeriod] Value = [%u] [nEmptyScanRefreshPeriod] Value = [%u] "
30239149 0x1CD69AD Neighborly text, "Neighbor lookup threshold value %d is out of range (Min: %d Max: %d): %d)"
30239264 0x1CD6A20 Neighborly text, "Neighbor lookup threshold) = %dger, try again"
30239620 0x1CD6B84 Neighborly text, "Neighbor scan results refresh period value %d is out of range (Min: %d Max: %d)Min: %d Max: %d)"
30323041 0x1CEB161 Neighborly text, "Neighbor Request ssid present %dded to FW"
30323082 0x1CEB18A Neighborly text, "Neighbor report offloaded to FWst as RRM not enabled"
30323131 0x1CEB1BB Neighborly text, "neighbor request as RRM not enabledWPS_IE, won't process"
30325195 0x1CEB9CB Neighborly text, "neighbor discovery%x:%x:%x:%x:%x:%x:%x"
30393410 0x1CFC442 Neighborly text, "neighbor_reporteport response (0x%08x, %d bytes):"
30393463 0x1CFC477 Neighborly text, "Neighbor report response (0x%08x, %d bytes): warnings while unpacking a Neighbor report response (0x%08x, %d bytes):"
30393554 0x1CFC4D2 Neighborly text, "Neighbor report response (0x%08x, %d bytes):XT Channel switch action frame"
30453631 0x1D0AF7F Neighborly text, "Neighbor Report request action frameequest_frame"
30453677 0x1D0AFAD Neighborly text, "neighbor_report_request_frameacked size for a Neighbor Report Request(0x%08x)"
30453757 0x1D0AFFD Neighborly text, "Neighbor Report Request(0x%08x)le calculating the packed size for a Neighbor Report Request(0x%08x)"
30453857 0x1D0B061 Neighborly text, "Neighbor Report Request(0x%08x)ytes for a Neighbor Report Request"
30453931 0x1D0B0AB Neighborly text, "Neighbor Report Requestrt Request (0x%08x)"
30453981 0x1D0B0DD Neighborly text, "Neighbor Report Request (0x%08x)ile packing Neighbor Report Request (0x%08x)"
30454056 0x1D0B128 Neighborly text, "Neighbor Report Request (0x%08x)ort Request to"
30454107 0x1D0B15B Neighborly text, "Neighbor Report Request to[%d]"
30509649 0x1D18A51 Neighborly text, "neighbor_report_responseved"
30509682 0x1D18A72 Neighborly text, "Neighbor report response received in the received Neighbor report"
30509762 0x1D18AC2 Neighborly text, "Neighbor reporting it"
30509789 0x1D18ADD Neighborly text, "neighbor report in the frame...Dropping it num neighbor reports: %d"
30509857 0x1D18B21 Neighborly text, "neighbor reports: %dighbor_report_req"
30509886 0x1D18B3E Neighborly text, "NeighborReq is NULLD present: %d"
30509918 0x1D18B5E Neighborly text, "neighbor_report_reqeacon report xmit indication"
30539810 0x1D20022 Neighborly text, "neighbor_scan_refresh_periodscan refresh period to %d- old value is %d - roam state is %s"
30540117 0x1D20155 Neighborly text, "neighbor_scan_min_chan_timel min dwell time to %d - old value is %d - roam state is %s"
30540248 0x1D201D8 Neighborly text, "neighbor_scan_max_chan_timel max dwell time to %d - old value is %d - roam state is %s"
30540379 0x1D2025B Neighborly text, "neighbor_scan_min_chan_time_neighbor_scan_max_chan_time"
30540415 0x1D2027F Neighborly text, "neighbor_roam_state_neighbor_scan_period"
30540443 0x1D2029B Neighborly text, "neighbor_scan_max_chan_timentime successfully set neighbor scan period to %d - old value is %d - roam state is %s"
30540479 0x1D202BF Neighborly text, "neighbor_scan_period period to %d - old value is %d - roam state is %s"
30540529 0x1D202F1 Neighborly text, "neighbor scan period to %d - old value is %d - roam state is %s"
30540601 0x1D20339 Neighborly text, "neighbor_scan_periodFR:set neighbor scan min period, old:%d, new: %d, state: %s"
30540630 0x1D20356 Neighborly text, "neighbor_scan_min_periodod, old:%d, new: %d, state: %s"
30540671 0x1D2037F Neighborly text, "neighbor scan min period, old:%d, new: %d, state: %s_roam_scan_channel_list"
30547954 0x1D21FF2 Neighborly text, "neighbor_middle_of_roamingd to configure auto trigger:psb is 0"
30554631 0x1D23A07 Neighborly text, "NeighborRoamState: %dectState: %d"
30565921 0x1D26621 Neighborly text, "NeighborScanTimerPerioid: %driod: %d"
30565958 0x1D26646 Neighborly text, "neighbor_scan_min_timer_period: %dhreshold: %d"
30566002 0x1D26672 Neighborly text, "NeighborLookupRssiThreshold: %d%d"
30566149 0x1D26705 Neighborly text, "NeighborScanMinChanTime: %dd"
30566186 0x1D2672A Neighborly text, "NeighborScanMaxChanTime: %d %d: nNeighborResultsRefreshPeriod: %d"
30566226 0x1D26752 Neighborly text, "NeighborRetries: %ds: %d: nEmptyScanRefreshPeriod: %d"
30566255 0x1D2676F Neighborly text, "NeighborResultsRefreshPeriod: %dd: %d"
30575143 0x1D28A27 Neighborly text, "neighbor_report_request_REPORT"
30591546 0x1D2CA3A Neighborly text, "neighbor_list_recvd: %d cur no of chan: %drom ini failed"
30593006 0x1D2CFEE Neighborly text, "neighbor report offload params %xarams to RSO"
30597721 0x1D2E259 Neighborly text, "neighbor scan ch list"
30600403 0x1D2ECD3 Neighborly text, "NeighborRoam transition from %s to %sransition"
30600445 0x1D2ECFD Neighborly text, "neighbor_roam_state_transitioneCSR_NEIGHBOR_ROAM_STATE_INIT"
30600730 0x1D2EE1A Neighborly text, "neighbor_roam_update_fast_roaming_enabledINIT state, Nothing to do"
30600900 0x1D2EEC4 Neighborly text, "neighbor_roam_update_configs: %d: Unexpected state %s, return fail"
30601123 0x1D2EFA3 Neighborly text, "neighbor_roam_prepare_scan_profile_filterSSID mem alloc failed"
30601337 0x1D2F079 Neighborly text, "neighbor_roam_channels_filter_by_current_band_merge_channel_lists"
30601387 0x1D2F0AB Neighborly text, "neighbor_roam_merge_channel_listsannels %d"
30601493 0x1D2F115 Neighborly text, "Neighbor channel listax limit %d"
30601525 0x1D2F135 Neighborly text, "Neighbor channel list reached Max limit %d match: %d"
30601603 0x1D2F183 Neighborly text, "neighbor_roam_is_new_connected_profilers are reset"
30601710 0x1D2F1EE Neighborly text, "neighbor_roam_indicate_disconnectn %d in state %d from bss :%02x:%02x:%02x:%02x:%02x:%02x"
30602200 0x1D2F3D8 Neighborly text, "neighbor_roam_indicate_connectinvalid state %s Ignoring"
30602324 0x1D2F454 Neighborly text, "neighbor_roam_init%s: %d: Neighbor Roam Algorithm Already Closed"
30602395 0x1D2F49B Neighborly text, "Neighbor Roam Algorithm Already Closed%s: %d: Received in not CONNECTED state. Ignore it"
30602438 0x1D2F4C6 Neighborly text, "neighbor_roam_closenore it"
30602513 0x1D2F511 Neighborly text, "neighbor_roam_sssid_scan_donecache"
30602656 0x1D2F5A0 Neighborly text, "Neighbor scan process complete failed with status %dor_roam_handoff_req_hdlr"
30602713 0x1D2F5D9 Neighborly text, "neighbor_roam_handoff_req_hdlr %d: Received req has same BSSID as current AP!!"
30602959 0x1D2F6CF Neighborly text, "neighbor_roam_proceed_with_handoff_reqNGED"
30603247 0x1D2F7EF Neighborly text, "neighbor_roam_info_ctx_initWrong Mode %d"
30603392 0x1D2F880 Neighborly text, "neighbor_roam_init11r_assoc_infooff_req"
30603429 0x1D2F8A5 Neighborly text, "neighbor_roam_process_handoff_reqs: %d: Profile copy failed"
30610538 0x1D3146A Neighborly text, "neighbor_roam_tranistion_preauth_done_to_disconnectedenqueue_preauth"
30610711 0x1D31517 Neighborly text, "neighbor_roam_preauth_rsp_handlerived in state %s"
30611108 0x1D316A4 Neighborly text, "neighbor_roam_is_preauth_candidatest for session id: %d"
30611589 0x1D31885 Neighborly text, "neighbor_roam_issue_preauth_req%02x:%02x:%02x:%02x:%02x:%02x, Ch:%d"
30611814 0x1D31966 Neighborly text, "neighbor_roam_add_preauth_failx:%02x:%02x already fail list"
30612398 0x1D31BAE Neighborly text, "neighbor_roam_process_scan_results"
30612955 0x1D31DDB Neighborly text, "neighbor_roam_trigger_handoffhbor AP filter status: %d"
30613014 0x1D31E16 Neighborly text, "neighbor AP filter status: %dmplete"
30613048 0x1D31E38 Neighborly text, "neighbor_roam_process_scan_completeil for Assoc %d Bail out"
30613221 0x1D31EE5 Neighborly text, "neighbor_roam_candidate_found_ind_hdlrECTED or OsReqHandoff. Ignore"
30613415 0x1D31FA7 Neighborly text, "neighbor_roam_free_roamable_bss_listode from fail list. Current count: %d"
30613520 0x1D32010 Neighborly text, "neighbor_roam_remove_roamable_ap_list_entryr_neighbor_roam_request_handoff"
30613585 0x1D32051 Neighborly text, "neighbor_roam_request_handoffbor roam is in %s state"
30613643 0x1D3208B Neighborly text, "Neighbor roam is in %s stateP"
30613987 0x1D321E3 Neighborly text, "neighbor_roam_get_handoff_ap_infomodule"
30627086 0x1D3550E Neighborly text, "Neighbor report request received st"
30627128 0x1D35538 Neighborly text, "neighbor_report_requesthbor request already pending.. Not allowed"
30627187 0x1D35573 Neighborly text, "Neighbor request already pending.. Not allowedo allocate memory for Neighbor request"
30627272 0x1D355C8 Neighborly text, "Neighbor requestmsg_processor"
30627453 0x1D3567D Neighborly text, "neighbor cache result Fail to destroy timer"
30629067 0x1D35CCB Neighborly text, "neighbor_reporttion"
30629152 0x1D35D20 Neighborly text, "neighbor report with Neighbor BSSID: %02x:%02x:%02x:%02x:%02x:%02x02x"
30629173 0x1D35D35 Neighborly text, "Neighbor BSSID: %02x:%02x:%02x:%02x:%02x:%02xe of BSSID %02x:%02x:%02x:%02x:%02x:%02x is 0, Ignoring.."
30629303 0x1D35DB7 Neighborly text, "Neighbor report cache is empty.. Adding a entry noweighbor_rpt_by_roam_score"
30629365 0x1D35DF5 Neighborly text, "neighbor_rpt_by_roam_scorecache"
30629412 0x1D35E24 Neighborly text, "neighbor report cached: Randomization timer expired...send on next channel"
30629447 0x1D35E47 Neighborly text, "neighbor_report_resultnd on next channel"
30629564 0x1D35EBC Neighborly text, "Neighbor Response timed oute_rrm_scan_event_callback"
30629596 0x1D35EDC Neighborly text, "neighbor_rsp_timeout_handler: Cleanup RRM context due to STA roaming"
30632102 0x1D368A6 Neighborly text, "neighbor_rpt2PStatus"
30633776 0x1D36F30 Neighborly text, "NeighborReportobeRes"
30687161 0x1D43FB9 Neighborly text, "neighbor reportma_process_obss_color_collision_req"
30687199 0x1D43FDF Neighborly text, "neighbor report commandev %d is not up skipping obss color collision req"
30689487 0x1D448CF Neighborly text, "NeighborScanChannelMinTime: %d NeighborScanChannelMaxTime: %ds: NeighborScanTimerPeriod: %d neighbor_scan_min_timer_period %d HomeAwayTime: %d nProbes: %d"
30689518 0x1D448EE Neighborly text, "NeighborScanChannelMaxTime: %dneighbor_scan_min_timer_period %d HomeAwayTime: %d nProbes: %d"
30689553 0x1D44911 Neighborly text, "NeighborScanTimerPeriod: %d neighbor_scan_min_timer_period %d HomeAwayTime: %d nProbes: %domeAwayTime: %d nProbes: %d"
30689581 0x1D4492D Neighborly text, "neighbor_scan_min_timer_period %d HomeAwayTime: %d nProbes: %dcould not retrieve passive max channel value"
30821871 0x1D64DEF Neighborly text, "neighbor_report_cmd_tlvor invoke cmd"
30821928 0x1D64E28 Neighborly text, "neighbor invoke cmdommand %d"
30821974 0x1D64E56 Neighborly text, "neighbor report command %d WMA --> DBGLOG_TIME_STAMP_SYNC_CMDID mode %d time_stamp low %d high %d"
31484009 0x1E06869 Unix path: /dev/block/bootdevice/by-name/param
31833761 0x1E5BEA1 Neighborly text, "neighbor table overflow!s %x"
31880672 0x1E675E0 Neighborly text, "NeighborSolicitsdev_snmp6"
31880689 0x1E675F1 Neighborly text, "NeighborAdvertisementsnuse %d"
31887435 0x1E6904B Neighborly text, "neighbor %.2x%.2x.%pM lost8150/net/bridge/br_netlink.c"
31908532 0x1E6E2B4 Neighborly text, "NeighborhHWMPactivePathTimeout"
33890580 0x2052114 Certificate in DER format (x509 v3), header length: 4, sequence length: 1342
33928516 0x205B544 ASCII cpio archive (SVR4 with no CRC), file name: "dev", file name length: "0x00000004", file size: "0x00000000"
33928632 0x205B5B8 ASCII cpio archive (SVR4 with no CRC), file name: "dev/console", file name length: "0x0000000C", file size: "0x00000000"
33928756 0x205B634 ASCII cpio archive (SVR4 with no CRC), file name: "root", file name length: "0x00000005", file size: "0x00000000"
33928872 0x205B6A8 ASCII cpio archive (SVR4 with no CRC), file name: "TRAILER!!!", file name length: "0x0000000B", file size: "0x00000000"
39775196 0x25EEBDC LZMA compressed data, properties: 0xC8, dictionary size: 536870912 bytes, uncompressed size: 78 bytes
42477604 0x2882824 Flattened device tree, size: 480673 bytes, version: 17
42834688 0x28D9B00 Unix path: /dev/block/platform/soc/1d84000.ufshc/by-name/vendor
42958277 0x28F7DC5 Flattened device tree, size: 480677 bytes, version: 17
43315365 0x294F0A5 Unix path: /dev/block/platform/soc/1d84000.ufshc/by-name/vendor
43438954 0x296D36A Flattened device tree, size: 478463 bytes, version: 17
43794014 0x29C3E5E Unix path: /dev/block/platform/soc/1d84000.ufshc/by-name/vendor
43917417 0x29E2069 Flattened device tree, size: 478459 bytes, version: 17
44272473 0x2A38B59 Unix path: /dev/block/platform/soc/1d84000.ufshc/by-name/vendor
a v tomto som pekne našóv časť kernel configu kerú som teda ukradol do configu k sebe:
, naflashuvaní, nabootuvaní a...
Keby už vóbec nič, tak len to, že zaťál som si v celej tejto smíšnej portuvacej procedúre koľkorazy najvác pomohol ja sám sebe a aj to koľkorazy fakt omylom jak toť v tomto prípade.
Záverom, zvuk teda máme, earpiece zaťál nejde a mikrofóny nejdú ťéž. Bez mikrofónov to už teda nenahráva vóbec videá, tak ale to sa budem snažiť poríšiť. A ano!! Už ide aj proximity senzor!