phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.41k stars 659 forks source link

[Elephone Soldier] No earpiece sound #877

Open philalat opened 5 years ago

philalat commented 5 years ago

good afternoon i have a elephone soldier android 8.0.0. i download aosp 9 v119 when i do facory reset, command adb... the flash image OK but i have no headspeaker sound, i don't have music or sonnery call? Coul you help me? Another question, must i use patches.zip and treble experimentation-111.zip? and how to use this? best regards philalat

phhusson commented 5 years ago

Ignore the zip. Do you have sound on headphones? Give the result of adb shell dumpsys media.audio_policy Give adb logcat on boot

Le sam. 9 nov. 2019 à 19:04, philalat notifications@github.com a écrit :

good afternoon i have a elephone soldier android 8.0.0. i download aosp 9 v119 when i do facory reset, command adb... the flash image OK but i have no headspeaker sound, i don't have music or sonnery call? Coul you help me? Another question, must i use patches.zip and treble experimentation-111.zip? and how to use this? best regards philalat

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/877?email_source=notifications&email_token=AAAA4OSOSM25VGTNYOTR7D3QS33UHA5CNFSM4JLI4ZV2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HYGCP2A, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OVAC6GSW5HXGNWTRNLQS33UHANCNFSM4JLI4ZVQ .

philalat commented 5 years ago

during this time , i installed again the stock rom so i try to install system-arm64-aonly-gapps-su.img. I changed the name as system-arm-aonly.img. despite a good installation when i do fastboot reboot ,the phone stay in fastboot mode! that is where i'm now.

philalat commented 5 years ago

Capture1-20191109-20h17

philalat commented 5 years ago

i'm going to install again the stock rom under android 8.0.0. after i'll wait yours indications. sincerely

philalat commented 5 years ago

bonjour nouveau jour, nouvel essai ce matin j'ai essayé d'installer, sur le telephone réinitialisé en android 8, la rom android 9 v119, factory reset adb tout se passe bien, installation terminée mais lorsque je fait fastboot reboot, le téléphone reset dans ce mode; je l'ai éteint puis rallumé je retombe en factory mode (ecrit en bas gauche de mon écran) bonne journée

yura73 commented 5 years ago

for elephone solider the efforts of good people made https://www.gsmnigeria.com/unofficial-twrp-3-3-1-root-elephone-soldier/ here is a deciphering zip decrypt_soldier.zip

The problem with sound lasts from the first releases GSI, probably because of the dedicated audio chip on our smartphone.

philalat commented 5 years ago

good morning yura i got it, sure it's good for root elephone soldier. could you say me the use of decrypt soldier and how tou to use it? at this moment i try to install android 9 via adb, all is ok but at the end when i command fastboot reboot, the telephone stay in factory mode. best regards

yura73 commented 5 years ago

it seems to me that your bootloader is locked to start   enable developer mode enable bootloader unlock In Adb Run write A, press Enter The line appears: C: \ adb_run \ bin> If the line appeared. Enter: adb shell reboot bootloader Your phone should reboot into Fastboot After that, in the same line enter: fastboot oem unlock On the phone, confirm by pressing the volume button up After you see Finished, restart your device Now the logo will indicate Orange state on boot Wait for the device to bootthen install twrp everything according to the instructions from the site decryption archive flash through twrp make a full backup of the system in tvrp in the future it will help to restore the system painlessly and quickly. PS. EXCEPT THE SOUND DOES NOT WORK BLUTUS AND NFS sorry for english

philalat commented 5 years ago

i do that, even with the twrp method the writing image is full and ok but when i restart that's open twrp and not android 9. So i flash my phone in android 8. I'll see later. thanks

yura73 commented 5 years ago

ARM64 a-only ? SP_Flash_Tool sew stock firmware Oem lock only on stock firmware

philalat commented 5 years ago

hy phhusson this morning i could install android 9( yours) . so i do what you ask adb shell dumpsys media.audio_policy. i cann't send you because the answer is very very long :).

philalat commented 5 years ago

Capture3 speaker20191110-14h32

philalat commented 5 years ago

my elephone is 64 bits do you think i wil be the reason? best regards

yura73 commented 5 years ago

dumpsys media.audio_policy.txt

philalat commented 5 years ago

yes i saw your folder but i don't see difference with mine. what do you want to show me?

philalat commented 5 years ago

and how can i edit in .txt as you do?

philalat commented 5 years ago

okay yura i find how to copy in .txt. thanks

philalat commented 5 years ago

yura how to send it to phhusson?

philalat commented 5 years ago

hy phhusson With Yura'help i send you the .txt for dumpsys good evening

Le dim. 10 nov. 2019 à 16:13, yura73 notifications@github.com a écrit :

dumpsys media.audio_policy.txt https://github.com/phhusson/treble_experimentations/files/3828603/dumpsys.media.audio_policy.txt

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/877?email_source=notifications&email_token=ANVWT2R26275S7I4CV3EKRLQTAQJLA5CNFSM4JLI4ZV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDU7JHQ#issuecomment-552203422, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANVWT2TH7Y5WEVVJMPNHFGDQTAQJLANCNFSM4JLI4ZVQ .

PS C:\adb> adb shell dumpsys media.audio_policy AudioPolicyManager: 0xe5bf4000 Command Thread: 0xe5bb8140 Tones Thread: 0xe5bb80e0 AudioCommandThread 0xe5bb8140 Dump

AudioPolicyManager Dump: 0xe5bf4000 Primary Output: 13 Phone state: AUDIO_MODE_NORMAL Force use for communications 0 Force use for media 0 Force use for record 0 Force use for dock 8 Force use for system 0 Force use for hdmi system audio 0 Force use for encoded surround output 0 TTS output not available Master mono: off

HW Modules dump:

Outputs dump:

Inputs dump:

Streams dump: Stream Can be muted Index Min Index Max Index Cur [device : index]... 00 true 01 05 0001 : 04, 40000000 : 04, 01 true 00 07 40000000 : 05, 02 true 00 07 40000000 : 05, 03 true 00 15 0002 : 05, 4000000 : 03, 40000000 : 05, 04 true 01 07 40000000 : 06, 05 true 00 07 40000000 : 05, 06 true 00 15 40000000 : 07, 07 true 00 07 40000000 : 05, 08 true 00 15 0001 : 11, 40000000 : 11, 09 true 00 15 0002 : 05, 4000000 : 03, 40000000 : 05, 10 true 01 15 0002 : 05, 4000000 : 03, 40000000 : 05, 11 true 00 01 40000000 : 00, 12 true 00 01 40000000 : 00,

Volume Curves for Use Cases (aka Stream types) dump: AUDIO_STREAM_VOICE_CALL (00): Curve points for device category (index, attenuation in millibel) DEVICE_CATEGORY_HEADSET : {( 0, -4200), ( 33, -2800), ( 66, -1400), (100, 0) } DEVICE_CATEGORY_SPEAKER : {( 0, -2400), ( 33, -1600), ( 66, -800), (100, 0) } DEVICE_CATEGORY_EARPIECE : {( 0, -2400), ( 33, -1600), ( 66, -800), (100, 0) } DEVICE_CATEGORY_EXT_MEDIA : {( 1, -5800), ( 20, -4000), ( 60, -1700), (100, 0) }

AUDIO_STREAM_SYSTEM (01): Curve points for device category (index, attenuation in millibel) DEVICE_CATEGORY_HEADSET : {( 1, -3000), ( 33, -2600), ( 66, -2200), (100, -1800) } DEVICE_CATEGORY_SPEAKER : {( 1, -2400), ( 33, -1800), ( 66, -1200), (100, -600) } DEVICE_CATEGORY_EARPIECE : {( 1, -2400), ( 33, -1800), ( 66, -1200), (100, -600) } DEVICE_CATEGORY_EXT_MEDIA : {( 1, -5800), ( 20, -4000), ( 60, -2100), (100, -1000) }

AUDIO_STREAM_RING (02): Curve points for device category (index, attenuation in millibel) DEVICE_CATEGORY_HEADSET : {( 1, -4950), ( 33, -3350), ( 66, -1700), (100, 0) } DEVICE_CATEGORY_SPEAKER : {( 1, -2970), ( 33, -2010), ( 66, -1020), (100, 0) } DEVICE_CATEGORY_EARPIECE : {( 1, -4950), ( 33, -3350), ( 66, -1700), (100, 0) } DEVICE_CATEGORY_EXT_MEDIA : {( 1, -5800), ( 20, -4000), ( 60, -2100), (100, -1000) }

AUDIO_STREAM_MUSIC (03): Curve points for device category (index, attenuation in millibel) DEVICE_CATEGORY_HEADSET : {( 1, -5800), ( 20, -4000), ( 60, -1700), (100, 0) } DEVICE_CATEGORY_SPEAKER : {( 1, -5800), ( 20, -4000), ( 60, -1700), (100, 0) } DEVICE_CATEGORY_EARPIECE : {( 1, -5800), ( 20, -4000), ( 60, -1700), (100, 0) } DEVICE_CATEGORY_EXT_MEDIA : {( 1, -5800), ( 20, -4000), ( 60, -1700), (100, 0) }

AUDIO_STREAM_ALARM (04): Curve points for device category (index, attenuation in millibel) DEVICE_CATEGORY_HEADSET : {( 1, -4950), ( 33, -3350), ( 66, -1700), (100, 0) } DEVICE_CATEGORY_SPEAKER : {( 1, -2970), ( 33, -2010), ( 66, -1020), (100, 0) } DEVICE_CATEGORY_EARPIECE : {( 1, -4950), ( 33, -3350), ( 66, -1700), (100, 0) } DEVICE_CATEGORY_EXT_MEDIA : {( 1, -5800), ( 20, -4000), ( 60, -2100), (100, -1000) }

AUDIO_STREAM_NOTIFICATION (05): Curve points for device category (index, attenuation in millibel) DEVICE_CATEGORY_HEADSET : {( 1, -4950), ( 33, -3350), ( 66, -1700), (100, 0) } DEVICE_CATEGORY_SPEAKER : {( 1, -2970), ( 33, -2010), ( 66, -1020), (100, 0) } DEVICE_CATEGORY_EARPIECE : {( 1, -4950), ( 33, -3350), ( 66, -1700), (100, 0) } DEVICE_CATEGORY_EXT_MEDIA : {( 1, -5800), ( 20, -4000), ( 60, -2100), (100, -1000) }

AUDIO_STREAM_BLUETOOTH_SCO (06): Curve points for device category (index, attenuation in millibel) DEVICE_CATEGORY_HEADSET : {( 0, -4200), ( 33, -2800), ( 66, -1400), (100, 0) } DEVICE_CATEGORY_SPEAKER : {( 0, -2400), ( 33, -1600), ( 66, -800), (100, 0) } DEVICE_CATEGORY_EARPIECE : {( 0, -4200), ( 33, -2800), ( 66, -1400), (100, 0) } DEVICE_CATEGORY_EXT_MEDIA : {( 1, -5800), ( 20, -4000), ( 60, -1700), (100, 0) }

AUDIO_STREAM_ENFORCED_AUDIBLE (07): Curve points for device category (index, attenuation in millibel) DEVICE_CATEGORY_HEADSET : {( 1, -3000), ( 33, -2600), ( 66, -2200), (100, -1800) } DEVICE_CATEGORY_SPEAKER : {( 1, -2400), ( 33, -1800), ( 66, -1200), (100, -600) } DEVICE_CATEGORY_EARPIECE : {( 1, -2400), ( 33, -1800), ( 66, -1200), (100, -600) } DEVICE_CATEGORY_EXT_MEDIA : {( 1, -5800), ( 20, -4000), ( 60, -2100), (100, -1000) }

AUDIO_STREAM_DTMF (08): Curve points for device category (index, attenuation in millibel) DEVICE_CATEGORY_HEADSET : {( 1, -3000), ( 33, -2600), ( 66, -2200), (100, -1800) } DEVICE_CATEGORY_SPEAKER : {( 1, -2400), ( 33, -1800), ( 66, -1200), (100, -600) } DEVICE_CATEGORY_EARPIECE : {( 1, -2400), ( 33, -1800), ( 66, -1200), (100, -600) } DEVICE_CATEGORY_EXT_MEDIA : {( 1, -5800), ( 20, -4000), ( 60, -2100), (100, -1000) }

AUDIO_STREAM_TTS (09): Curve points for device category (index, attenuation in millibel) DEVICE_CATEGORY_HEADSET : {( 0, -9600), (100, -9600) } DEVICE_CATEGORY_SPEAKER : {( 0, 0), (100, 0) } DEVICE_CATEGORY_EARPIECE : {( 0, -9600), (100, -9600) } DEVICE_CATEGORY_EXT_MEDIA : {( 0, -9600), (100, -9600) }

AUDIO_STREAM_ACCESSIBILITY (10): Curve points for device category (index, attenuation in millibel) DEVICE_CATEGORY_HEADSET : {( 1, -5800), ( 20, -4000), ( 60, -1700), (100, 0) } DEVICE_CATEGORY_SPEAKER : {( 1, -5800), ( 20, -4000), ( 60, -1700), (100, 0) } DEVICE_CATEGORY_EARPIECE : {( 1, -5800), ( 20, -4000), ( 60, -1700), (100, 0) } DEVICE_CATEGORY_EXT_MEDIA : {( 1, -5800), ( 20, -4000), ( 60, -1700), (100, 0) }

AUDIO_STREAM_REROUTING (11): Curve points for device category (index, attenuation in millibel) DEVICE_CATEGORY_HEADSET : {( 0, 0), (100, 0) } DEVICE_CATEGORY_SPEAKER : {( 0, 0), (100, 0) } DEVICE_CATEGORY_EARPIECE : {( 0, 0), (100, 0) } DEVICE_CATEGORY_EXT_MEDIA : {( 0, 0), (100, 0) }

AUDIO_STREAM_PATCH (12): Curve points for device category (index, attenuation in millibel) DEVICE_CATEGORY_HEADSET : {( 0, 0), (100, 0) } DEVICE_CATEGORY_SPEAKER : {( 0, 0), (100, 0) } DEVICE_CATEGORY_EARPIECE : {( 0, 0), (100, 0) } DEVICE_CATEGORY_EXT_MEDIA : {( 0, 0), (100, 0) }

Total Effects CPU: 0.000000 MIPS, Total Effects memory: 0 KB, Max memory used: 0 KB Registered effects:

Audio Patches: Audio patch 1:

Audio Policy Mix: PS C:\adb>

philalat commented 5 years ago

hy it'me again something i see; if i lock oem with fastboot it stay in fastboot mode. Now i must flash into android 8 and make a new installation of android 9.

phhusson commented 5 years ago

It seems like a duplicate of #874 could you confirm? The description doesn't match, so i don't quite understand

philalat commented 5 years ago

good morning, bonjour I'm going to try this method , could yous say me how to install . Must i install it on teh sd card and flash in recovery mode? for the rest isaw others little problems, may be issu from the sound problem: for example i have no ok google (voice match) i lost the phone network, i must light off and restart. i'll go to the phone shop and ask for a new simcard.. best regards philalat

Le lun. 11 nov. 2019 à 23:39, Pierre-Hugues HUSSON notifications@github.com a écrit :

It seems like a duplicate of #874 https://github.com/phhusson/treble_experimentations/issues/874 could you confirm? The description doesn't match, so i don't quite understand

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/877?email_source=notifications&email_token=ANVWT2RQIKE5YKTJJHL2IM3QTHNIVA5CNFSM4JLI4ZV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDYMDQQ#issuecomment-552649154, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANVWT2Q4PGOENUXR2P2B5LTQTHNIVANCNFSM4JLI4ZVQ .

philalat commented 5 years ago

Hy yesterday i installed the android 9 v120, installation complet and ok. i observed two little problems: 1- i havn't ok google (voice match) when somebody call me micro is ok, but the voice command is out. 2- i lost the phone network, sometimes there no more sim, I can call or write sms once after no more network, i must restart, and so on i went in the SFR shop, the sim is ok, so there is a problem with the rom. that is my feedback experience best regards philalat

Le mar. 12 nov. 2019 à 08:43, Philippe Granet pgranet17@gmail.com a écrit :

good morning, bonjour I'm going to try this method , could yous say me how to install . Must i install it on teh sd card and flash in recovery mode? for the rest isaw others little problems, may be issu from the sound problem: for example i have no ok google (voice match) i lost the phone network, i must light off and restart. i'll go to the phone shop and ask for a new simcard.. best regards philalat

Le lun. 11 nov. 2019 à 23:39, Pierre-Hugues HUSSON < notifications@github.com> a écrit :

It seems like a duplicate of #874 https://github.com/phhusson/treble_experimentations/issues/874 could you confirm? The description doesn't match, so i don't quite understand

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/877?email_source=notifications&email_token=ANVWT2RQIKE5YKTJJHL2IM3QTHNIVA5CNFSM4JLI4ZV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDYMDQQ#issuecomment-552649154, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANVWT2Q4PGOENUXR2P2B5LTQTHNIVANCNFSM4JLI4ZVQ .

philalat commented 5 years ago

correction i have installed the v121 sorry for the mistake sincerely

Le mar. 12 nov. 2019 à 12:04, Philippe Granet pgranet17@gmail.com a écrit :

Hy yesterday i installed the android 9 v120, installation complet and ok. i observed two little problems: 1- i havn't ok google (voice match) when somebody call me micro is ok, but the voice command is out. 2- i lost the phone network, sometimes there no more sim, I can call or write sms once after no more network, i must restart, and so on i went in the SFR shop, the sim is ok, so there is a problem with the rom. that is my feedback experience best regards philalat

Le mar. 12 nov. 2019 à 08:43, Philippe Granet pgranet17@gmail.com a écrit :

good morning, bonjour I'm going to try this method , could yous say me how to install . Must i install it on teh sd card and flash in recovery mode? for the rest isaw others little problems, may be issu from the sound problem: for example i have no ok google (voice match) i lost the phone network, i must light off and restart. i'll go to the phone shop and ask for a new simcard.. best regards philalat

Le lun. 11 nov. 2019 à 23:39, Pierre-Hugues HUSSON < notifications@github.com> a écrit :

It seems like a duplicate of #874 https://github.com/phhusson/treble_experimentations/issues/874 could you confirm? The description doesn't match, so i don't quite understand

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/877?email_source=notifications&email_token=ANVWT2RQIKE5YKTJJHL2IM3QTHNIVA5CNFSM4JLI4ZV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDYMDQQ#issuecomment-552649154, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANVWT2Q4PGOENUXR2P2B5LTQTHNIVANCNFSM4JLI4ZVQ .

philalat commented 5 years ago

good evening for your information, i have installed the rom android 8 and i didn't have problem with phone network,voice match and sound speaker. i'll wait yours improvements. thanks for yours works it's great if not i'll cann't upgrad my phone. sincerely philalat

Le mar. 12 nov. 2019 à 12:23, Philippe Granet pgranet17@gmail.com a écrit :

correction i have installed the v121 sorry for the mistake sincerely

Le mar. 12 nov. 2019 à 12:04, Philippe Granet pgranet17@gmail.com a écrit :

Hy yesterday i installed the android 9 v120, installation complet and ok. i observed two little problems: 1- i havn't ok google (voice match) when somebody call me micro is ok, but the voice command is out. 2- i lost the phone network, sometimes there no more sim, I can call or write sms once after no more network, i must restart, and so on i went in the SFR shop, the sim is ok, so there is a problem with the rom. that is my feedback experience best regards philalat

Le mar. 12 nov. 2019 à 08:43, Philippe Granet pgranet17@gmail.com a écrit :

good morning, bonjour I'm going to try this method , could yous say me how to install . Must i install it on teh sd card and flash in recovery mode? for the rest isaw others little problems, may be issu from the sound problem: for example i have no ok google (voice match) i lost the phone network, i must light off and restart. i'll go to the phone shop and ask for a new simcard.. best regards philalat

Le lun. 11 nov. 2019 à 23:39, Pierre-Hugues HUSSON < notifications@github.com> a écrit :

It seems like a duplicate of #874 https://github.com/phhusson/treble_experimentations/issues/874 could you confirm? The description doesn't match, so i don't quite understand

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/877?email_source=notifications&email_token=ANVWT2RQIKE5YKTJJHL2IM3QTHNIVA5CNFSM4JLI4ZV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDYMDQQ#issuecomment-552649154, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANVWT2Q4PGOENUXR2P2B5LTQTHNIVANCNFSM4JLI4ZVQ .

philalat commented 5 years ago

goog evening how to use ishap.zip?