Skip to content

Instantly share code, notes, and snippets.

View Tom1000's full-sized avatar

Tom Roida Tom1000

  • Munich, Germany
View GitHub Profile
05-27 22:23:54.902 665 1042 I ActivityTaskManager: Displayed com.android.fmradio/.FmMainActivity: +550ms
05-27 22:23:55.623 7044 7075 I V4l2_handler_Fm: v4l2_mute:
05-27 22:23:55.629 7044 7075 I V4l2_handler_Fm: v4l2_mute:
05-27 22:23:55.631 7044 7075 E : seek, error, [ret=1]
05-27 22:23:55.631 7044 7075 I V4l2_handler_Fm: v4l2_scan:
05-27 22:23:55.631 7044 7075 I V4l2_handler_Fm: Starting scanning...
05-27 22:23:55.737 7044 7075 I V4l2_handler_Fm: final rate 296 > 500
05-27 22:23:55.853 7044 7075 I V4l2_handler_Fm: final rate 265 > 500
05-27 22:23:55.964 7044 7075 I V4l2_handler_Fm: final rate 288 > 500
05-27 22:23:56.078 7044 7075 I chatty : uid=1000(system) FmRadioServiceT identical 1 line
#!/bin/bash
set -e
source "build/envsetup.sh";
# THERMANAGER
changes=(
269540 # Make sysyfs resource reopen file if write fails
)
repopick -P packages/apps/Updater ${changes[@]}&
Tested version: lineage-17.1-20200501-unofficial.zip
(private build)
Changelog/Sources: LOS Manifest/repositories as of 01May2020
Cherry-Picks: https://gist.github.com/Tom1000/3b2f3559ec8b0b3920444e9be7d918fa
Uncommitted Patches: Stock Audio HALs patched (SED'ed) to use mixer_path in /vendor instead of /system
GAPPS: Tested with latest GAPPS STOCK Package 01May2020
--> Chrome did not install, had to install it manually from Appstore.
MAGISK: OK
@Tom1000
Tom1000 / LOS16_Z3_test.log
Last active February 8, 2020 15:34
LineageOS 16.0 for Xperia Z3 - Test log
Tested version: lineage-16.0-20200207-nightly-z3-signed.zip
(See official LineageOS Download server)
GAPPS: NONE/Not yet tested
MAGISK: NONE/Not yet tested
SELinux: Enforcing (tbv!)
Test results / user feedback
- Boot : OK
- Bluetooth :
-- A2DP : ?
@Tom1000
Tom1000 / mixer_paths.xml
Last active January 19, 2020 22:13
DRAFT with cleanup and remarks
<?xml version="1.0" encoding="ISO-8859-1"?>
<mixer>
<!-- Refer to 80-NA556-2 WCD9320 AUDIO CODEC SOFTWARE INTERFACE FOR OEMS
for register map -->
<!--Identified Registers for Sony Xperia Z3:
Microphones and assigned DECs:
ADC1 / DEC6 Analog input - Secondary mic (top)
@Tom1000
Tom1000 / gist:e26d26ea78ea533ee9784a85109e310e
Created January 12, 2020 10:53
LogCat-Stock-ROM without echo
Logcat excerpt from Z3 with .291 Stock ROM
SUMMARY:
- Initiate call (acdb_rx = 7, acdb_tx = 6)
- Then switch to speaker mode (06:53) (acdb_rx = 15, acdb_tx = 11)
I/Telecom: Event: Call 10: AUDIO_ROUTE, SPEAKER
D/audio_hw_primary: out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=1
D/audio_hw_primary: out_set_parameters: enter: usecase(0: deep-buffer-playback) kvpairs: routing=2
D/audio_hw_extn: audio_extn_get_anc_enabled: anc_enabled:0
echo -e "-------------------------------"
echo -e " Picks for echo-shinano"
./vendor/lineage/build/tools/repopick.py 265584 # z3c: Address echo in speaker voice call (mixer-path external-echo)
#apply the same patch on Z3:
cd device/sony/z3
git remote add z3ctemp https://github.com/LineageOS/android_device_sony_z3c.git
git fetch z3ctemp
git cherry-pick 6d6352464db85b4ee304605fbff747c69780b3cd # z3c: Address echo in speaker voice call (mixer-path external-echo)
@Tom1000
Tom1000 / Test list - LOS 17 (Android 10) on Xperia Z3
Last active August 20, 2020 20:43 — forked from ArianK16a/z3c-q-bringup
LOS 17 (Android 10) on Xperia Z3
UPDATE 20Aug2020:
Tested version: lineage-17.1-20200818-UNOFFICIAL-z3-userdebug
GAPPS: NONE/Not yet tested
MAGISK: NONE/Not yet tested
SELinux: Permissive
Additional tests:
GPS: TTFF < 1 min, fix to GPS, GLONASS, BEIDOU working, A-GPS: seems to be working fine, but LPP_User_Plane had to be deactivated in gps.conf, not yet working.
Audio: No major issues anymore (after switching to stock audio HAL)