ROM AOSP Android 9.0 Pie + Android-TV version

gabbas1
Posts: 5
Joined: Wed Nov 11, 2020 2:19 am
languages_spoken: english; german
ODROIDs: Odroid C4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by gabbas1 »

Hey guys,

is someone able to watch videos with the ATV Prime Video app?
When I wanna watch something it just says that "something went wrong".

gabbas1

User avatar
secuflag
Posts: 195
Joined: Sun Jun 16, 2019 12:12 am
languages_spoken: English, Italian
ODROIDs: N2 - N2+ - C4
Location: Switzerland
Has thanked: 43 times
Been thanked: 103 times
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by secuflag »

It's not possible to play any content protected with DRM.
See here: viewtopic.php?p=315307#p315307
my ROM for N2/N2+: viewtopic.php?f=178&t=35463
my ROM for C4: viewtopic.php?f=204&t=38579
If you like my work feel free to contribute to buy me some beers. ;)

User avatar
secuflag
Posts: 195
Joined: Sun Jun 16, 2019 12:12 am
languages_spoken: English, Italian
ODROIDs: N2 - N2+ - C4
Location: Switzerland
Has thanked: 43 times
Been thanked: 103 times
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by secuflag »

First post updated ;)

Have fun!
These users thanked the author secuflag for the post:
odroid (Mon Jan 18, 2021 12:07 pm)
my ROM for N2/N2+: viewtopic.php?f=178&t=35463
my ROM for C4: viewtopic.php?f=204&t=38579
If you like my work feel free to contribute to buy me some beers. ;)

User avatar
secuflag
Posts: 195
Joined: Sun Jun 16, 2019 12:12 am
languages_spoken: English, Italian
ODROIDs: N2 - N2+ - C4
Location: Switzerland
Has thanked: 43 times
Been thanked: 103 times
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by secuflag »

First post updated ;)

Have fun!
my ROM for N2/N2+: viewtopic.php?f=178&t=35463
my ROM for C4: viewtopic.php?f=204&t=38579
If you like my work feel free to contribute to buy me some beers. ;)

thor79
Posts: 3
Joined: Fri Oct 23, 2020 2:03 am
languages_spoken: english/french
ODROIDs: C4
Has thanked: 0
Been thanked: 0
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by thor79 »

I all,
I install atv_selfinstall-odroidc4.img.xz
I was thinking that the ROM came with lots of apps (like in description). But it's en empty android TV system.
I was thinking again that updatepackage-odroidc4-signed.zip bring the apps, but no ...
1st question : Is your description is for the pure android system ?
2nd question : At the first boot of android TV system i have a notification to format the SD card. If i format as system storage, i can't reboot anymore.
I have to flash again the ROM. Have you got the same problem ?
Thanks for help

maza2580
Posts: 4
Joined: Tue Mar 16, 2021 2:59 am
languages_spoken: english, german
ODROIDs: ODROID-C4
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by maza2580 »

Hello,
im trying to use the current ATV Build on my C4.
I flashed the image with balena etcher, to make sure that it's not corrupted or something. I also redownloaded the file several times.
I keep getting bootloops after 1-2 reboots of the system.
I captured a logcat of the looping error message.

Code: Select all


03-15 17:57:51.849  8297  8344 E audio_hw_hwsync: aml_hwsync_close_tsync(), fd = 15
03-15 17:57:54.682  8411  8411 E         : Cannot determine initial API level of the device
03-15 17:57:54.783  8411  8411 E Netd    : cannot find interface dummy0
03-15 17:57:54.785  8411  8411 E /system/bin/netd: android::WriteStringToFile open failed: Invalid argument
03-15 17:57:54.785  8411  8411 E Netd    : failed to write to /data/misc/net/rt_tables (Invalid argument)
03-15 17:57:54.846  8413  8413 E SoundTriggerHalImpl: couldn't load sound trigger module sound_trigger.primary (No such file or directory)
03-15 17:57:54.849  8413  8413 E audiohalservice: Could not get passthrough implementation for android.hardware.bluetooth.a2dp@1.0::IBluetoothAudioOffload/default.
03-15 17:57:54.939  8410  8410 E AmloadAmlogicPlayers: AmlogicMediaFactoryInit failed:dlopen failed: library "libmedia_amlogic.so" not found
03-15 17:57:54.948  8410  8410 E AmloadAmlogicPlayers: DrmPlayerFactoryInit failed:dlopen failed: library "libDrmPlayer.so" not found
03-15 17:57:54.948  8410  8410 E AmloadAmlogicPlayers: AmMediaPlayerFactory failed:dlopen failed: library "libAmIptvMedia.so" not found
03-15 17:57:55.133  8408  8408 E APM::Serializer: deserialize: Could not parse /odm/etc/audio_policy_configuration.xml document.
03-15 17:57:55.171  8413  8441 E audio_hw_primary: aml_audio_output_routing: active_outport = UNKNOWN unsupport
03-15 17:57:55.171  8413  8441 E audio_route: unable to find path 'spdif'
03-15 17:57:55.173  8413  8441 E aml_audio_dcv_dec: load_ddp_decoder_lib,cant find decoder lib,undefined symbol: set_hal_version
03-15 17:57:55.232  8413  8440 E EffectsFactoryConfigLoader: Error querying effect 4b8b4260-3429-11e6-a6c7-0002a5d5c51b on lib audio_pre_processing
03-15 17:57:55.232  8413  8440 E EffectsFactoryConfigLoader: Error querying effect 5dbdc480-3429-11e6-a499-0002a5d5c51b on lib audio_pre_processing
03-15 17:57:55.232  8413  8440 E EffectsFactoryConfigLoader: 2 errors during loading of configuration: /vendor/etc/audio_effects.xml
03-15 17:57:55.232  8413  8440 E EffectsFactory: Effect config is partially invalid, skipped 2 elements
03-15 17:57:55.255  8408  8408 E SoundTriggerHwService: could not read implementation properties
03-15 17:57:55.525  8406  8406 E ActivityRecognitionHardware: activity_recognition HAL is deprecated. class_init is effectively a no-op
03-15 17:57:56.243  8474  8474 E UsbAlsaJackDetectorJNI: Can't register UsbAlsaJackDetector native methods
03-15 17:57:56.271  8474  8493 E BluetoothAdapter: Bluetooth binder is null
03-15 17:57:56.273  8474  8493 E BatteryExternalStatsWorker: no controller energy info supplied for telephony
03-15 17:57:56.369  8474  8498 E LocalDisplayAdapter: getactiveconfig id 0
03-15 17:57:56.370  8474  8498 E LocalDisplayAdapter: mode0refreshrate59.94height 1080width 1920
03-15 17:57:56.370  8474  8498 E LocalDisplayAdapter: defaultmodeid 1
03-15 17:57:56.374  8474  8498 E LightsService: Unknown error setting light.
03-15 17:57:56.379  8474  8474 E UserManagerService: Error reading user list
03-15 17:57:56.574  8474  8474 E PackageManager: There should probably be exactly one storage manager; found 0: matches=[]
03-15 17:57:56.574  8474  8474 E PackageManager: There should probably be exactly one setup wizard; found 0: matches=[]
03-15 17:57:56.738  8474  8474 E PackageManager: There should probably be a verifier, but, none were found
03-15 17:57:56.738  8474  8474 E System  : ******************************************
03-15 17:57:56.738  8474  8474 E System  : ************ Failure starting system services
03-15 17:57:56.738  8474  8474 E System  : java.lang.RuntimeException: There must be exactly one installer; found []
03-15 17:57:56.738  8474  8474 E System  :      at com.android.server.pm.PackageManagerService.getRequiredInstallerLPr(PackageManagerService.java:3575)
03-15 17:57:56.738  8474  8474 E System  :      at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:3226)
03-15 17:57:56.738  8474  8474 E System  :      at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:2347)
03-15 17:57:56.738  8474  8474 E System  :      at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:630)
03-15 17:57:56.738  8474  8474 E System  :      at com.android.server.SystemServer.run(SystemServer.java:431)
03-15 17:57:56.738  8474  8474 E System  :      at com.android.server.SystemServer.main(SystemServer.java:296)
03-15 17:57:56.738  8474  8474 E System  :      at java.lang.reflect.Method.invoke(Native Method)
03-15 17:57:56.738  8474  8474 E System  :      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
03-15 17:57:56.738  8474  8474 E System  :      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
03-15 17:57:56.739  8474  8474 E Zygote  : System zygote died with exception
03-15 17:57:56.739  8474  8474 E Zygote  : java.lang.RuntimeException: There must be exactly one installer; found []
03-15 17:57:56.739  8474  8474 E Zygote  :      at com.android.server.pm.PackageManagerService.getRequiredInstallerLPr(PackageManagerService.java:3575)
03-15 17:57:56.739  8474  8474 E Zygote  :      at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:3226)
03-15 17:57:56.739  8474  8474 E Zygote  :      at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:2347)
03-15 17:57:56.739  8474  8474 E Zygote  :      at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:630)
03-15 17:57:56.739  8474  8474 E Zygote  :      at com.android.server.SystemServer.run(SystemServer.java:431)
03-15 17:57:56.739  8474  8474 E Zygote  :      at com.android.server.SystemServer.main(SystemServer.java:296)
03-15 17:57:56.739  8474  8474 E Zygote  :      at java.lang.reflect.Method.invoke(Native Method)
03-15 17:57:56.739  8474  8474 E Zygote  :      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
03-15 17:57:56.739  8474  8474 E Zygote  :      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
03-15 17:57:56.739  8474  8474 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
03-15 17:57:56.739  8474  8474 E AndroidRuntime: java.lang.RuntimeException: There must be exactly one installer; found []
03-15 17:57:56.739  8474  8474 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.getRequiredInstallerLPr(PackageManagerService.java:3575)
03-15 17:57:56.739  8474  8474 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:3226)
03-15 17:57:56.739  8474  8474 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:2347)
03-15 17:57:56.739  8474  8474 E AndroidRuntime:        at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:630)
03-15 17:57:56.739  8474  8474 E AndroidRuntime:        at com.android.server.SystemServer.run(SystemServer.java:431)
03-15 17:57:56.739  8474  8474 E AndroidRuntime:        at com.android.server.SystemServer.main(SystemServer.java:296)
03-15 17:57:56.739  8474  8474 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
03-15 17:57:56.739  8474  8474 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
03-15 17:57:56.739  8474  8474 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
03-15 17:57:56.740  8474  8474 E AndroidRuntime: Error reporting crash
03-15 17:57:56.740  8474  8474 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'void android.app.IActivityManager.handleApplicationCrash(android.os.IBinder, android.app.ApplicationErrorReport$ParcelableCrashInfo)' on a null object reference
03-15 17:57:56.740  8474  8474 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$KillApplicationHandler.uncaughtException(RuntimeInit.java:144)
03-15 17:57:56.740  8474  8474 E AndroidRuntime:        at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068)
03-15 17:57:56.740  8474  8474 E AndroidRuntime:        at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1063)
03-15 17:57:56.740  8474  8474 E AndroidRuntime:        at java.lang.Thread.dispatchUncaughtException(Thread.java:1955)
03-15 17:57:56.777  8406  8406 E Zygote  : Exit zygote because system server (8474) has terminated
03-15 17:57:56.821  8413  8440 E audio_hw_hwsync: aml_hwsync_close_tsync(), fd = 15


I really hope someone can resolve the error, as there is no other updated Android TV build for the C4.

Best regards,
Martin

User avatar
secuflag
Posts: 195
Joined: Sun Jun 16, 2019 12:12 am
languages_spoken: English, Italian
ODROIDs: N2 - N2+ - C4
Location: Switzerland
Has thanked: 43 times
Been thanked: 103 times
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by secuflag »

Hello Martin,

another user reported the same issue on N2 board, I'm investigating.
Could you try this image please? The problem should be fixed.
These users thanked the author secuflag for the post:
maza2580 (Tue Mar 16, 2021 6:19 am)
my ROM for N2/N2+: viewtopic.php?f=178&t=35463
my ROM for C4: viewtopic.php?f=204&t=38579
If you like my work feel free to contribute to buy me some beers. ;)

maza2580
Posts: 4
Joined: Tue Mar 16, 2021 2:59 am
languages_spoken: english, german
ODROIDs: ODROID-C4
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by maza2580 »

Running smooth and stable so far.
Thank you very much!

May I make a little suggestion to your ROM?
It would be very useful to supply vi or some other editor with the build, so we can edit configs from adb.
The stock odroid build had it included.
In my case I am configuring IR Remotes. I can supply statically linked binaries by myself, but it would ease some work to have vi included :)

Martin
These users thanked the author maza2580 for the post:
secuflag (Sat Mar 20, 2021 11:42 pm)

przypieczony
Posts: 3
Joined: Sun Mar 28, 2021 12:21 am
languages_spoken: english polish
ODROIDs: C-4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by przypieczony »

maza2580 wrote:
Tue Mar 16, 2021 3:03 am
Hello,
im trying to use the current ATV Build on my C4.
I flashed the image with balena etcher, to make sure that it's not corrupted or something. I also redownloaded the file several times.
I keep getting bootloops after 1-2 reboots of the system.
I captured a logcat of the looping error message.

Code: Select all


03-15 17:57:51.849  8297  8344 E audio_hw_hwsync: aml_hwsync_close_tsync(), fd = 15
03-15 17:57:54.682  8411  8411 E         : Cannot determine initial API level of the device
03-15 17:57:54.783  8411  8411 E Netd    : cannot find interface dummy0
03-15 17:57:54.785  8411  8411 E /system/bin/netd: android::WriteStringToFile open failed: Invalid argument
03-15 17:57:54.785  8411  8411 E Netd    : failed to write to /data/misc/net/rt_tables (Invalid argument)
03-15 17:57:54.846  8413  8413 E SoundTriggerHalImpl: couldn't load sound trigger module sound_trigger.primary (No such file or directory)
03-15 17:57:54.849  8413  8413 E audiohalservice: Could not get passthrough implementation for android.hardware.bluetooth.a2dp@1.0::IBluetoothAudioOffload/default.
03-15 17:57:54.939  8410  8410 E AmloadAmlogicPlayers: AmlogicMediaFactoryInit failed:dlopen failed: library "libmedia_amlogic.so" not found
03-15 17:57:54.948  8410  8410 E AmloadAmlogicPlayers: DrmPlayerFactoryInit failed:dlopen failed: library "libDrmPlayer.so" not found
03-15 17:57:54.948  8410  8410 E AmloadAmlogicPlayers: AmMediaPlayerFactory failed:dlopen failed: library "libAmIptvMedia.so" not found
03-15 17:57:55.133  8408  8408 E APM::Serializer: deserialize: Could not parse /odm/etc/audio_policy_configuration.xml document.
03-15 17:57:55.171  8413  8441 E audio_hw_primary: aml_audio_output_routing: active_outport = UNKNOWN unsupport
03-15 17:57:55.171  8413  8441 E audio_route: unable to find path 'spdif'
03-15 17:57:55.173  8413  8441 E aml_audio_dcv_dec: load_ddp_decoder_lib,cant find decoder lib,undefined symbol: set_hal_version
03-15 17:57:55.232  8413  8440 E EffectsFactoryConfigLoader: Error querying effect 4b8b4260-3429-11e6-a6c7-0002a5d5c51b on lib audio_pre_processing
03-15 17:57:55.232  8413  8440 E EffectsFactoryConfigLoader: Error querying effect 5dbdc480-3429-11e6-a499-0002a5d5c51b on lib audio_pre_processing
03-15 17:57:55.232  8413  8440 E EffectsFactoryConfigLoader: 2 errors during loading of configuration: /vendor/etc/audio_effects.xml
03-15 17:57:55.232  8413  8440 E EffectsFactory: Effect config is partially invalid, skipped 2 elements
03-15 17:57:55.255  8408  8408 E SoundTriggerHwService: could not read implementation properties
03-15 17:57:55.525  8406  8406 E ActivityRecognitionHardware: activity_recognition HAL is deprecated. class_init is effectively a no-op
03-15 17:57:56.243  8474  8474 E UsbAlsaJackDetectorJNI: Can't register UsbAlsaJackDetector native methods
03-15 17:57:56.271  8474  8493 E BluetoothAdapter: Bluetooth binder is null
03-15 17:57:56.273  8474  8493 E BatteryExternalStatsWorker: no controller energy info supplied for telephony
03-15 17:57:56.369  8474  8498 E LocalDisplayAdapter: getactiveconfig id 0
03-15 17:57:56.370  8474  8498 E LocalDisplayAdapter: mode0refreshrate59.94height 1080width 1920
03-15 17:57:56.370  8474  8498 E LocalDisplayAdapter: defaultmodeid 1
03-15 17:57:56.374  8474  8498 E LightsService: Unknown error setting light.
03-15 17:57:56.379  8474  8474 E UserManagerService: Error reading user list
03-15 17:57:56.574  8474  8474 E PackageManager: There should probably be exactly one storage manager; found 0: matches=[]
03-15 17:57:56.574  8474  8474 E PackageManager: There should probably be exactly one setup wizard; found 0: matches=[]
03-15 17:57:56.738  8474  8474 E PackageManager: There should probably be a verifier, but, none were found
03-15 17:57:56.738  8474  8474 E System  : ******************************************
03-15 17:57:56.738  8474  8474 E System  : ************ Failure starting system services
03-15 17:57:56.738  8474  8474 E System  : java.lang.RuntimeException: There must be exactly one installer; found []
03-15 17:57:56.738  8474  8474 E System  :      at com.android.server.pm.PackageManagerService.getRequiredInstallerLPr(PackageManagerService.java:3575)
03-15 17:57:56.738  8474  8474 E System  :      at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:3226)
03-15 17:57:56.738  8474  8474 E System  :      at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:2347)
03-15 17:57:56.738  8474  8474 E System  :      at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:630)
03-15 17:57:56.738  8474  8474 E System  :      at com.android.server.SystemServer.run(SystemServer.java:431)
03-15 17:57:56.738  8474  8474 E System  :      at com.android.server.SystemServer.main(SystemServer.java:296)
03-15 17:57:56.738  8474  8474 E System  :      at java.lang.reflect.Method.invoke(Native Method)
03-15 17:57:56.738  8474  8474 E System  :      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
03-15 17:57:56.738  8474  8474 E System  :      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
03-15 17:57:56.739  8474  8474 E Zygote  : System zygote died with exception
03-15 17:57:56.739  8474  8474 E Zygote  : java.lang.RuntimeException: There must be exactly one installer; found []
03-15 17:57:56.739  8474  8474 E Zygote  :      at com.android.server.pm.PackageManagerService.getRequiredInstallerLPr(PackageManagerService.java:3575)
03-15 17:57:56.739  8474  8474 E Zygote  :      at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:3226)
03-15 17:57:56.739  8474  8474 E Zygote  :      at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:2347)
03-15 17:57:56.739  8474  8474 E Zygote  :      at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:630)
03-15 17:57:56.739  8474  8474 E Zygote  :      at com.android.server.SystemServer.run(SystemServer.java:431)
03-15 17:57:56.739  8474  8474 E Zygote  :      at com.android.server.SystemServer.main(SystemServer.java:296)
03-15 17:57:56.739  8474  8474 E Zygote  :      at java.lang.reflect.Method.invoke(Native Method)
03-15 17:57:56.739  8474  8474 E Zygote  :      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
03-15 17:57:56.739  8474  8474 E Zygote  :      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
03-15 17:57:56.739  8474  8474 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
03-15 17:57:56.739  8474  8474 E AndroidRuntime: java.lang.RuntimeException: There must be exactly one installer; found []
03-15 17:57:56.739  8474  8474 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.getRequiredInstallerLPr(PackageManagerService.java:3575)
03-15 17:57:56.739  8474  8474 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:3226)
03-15 17:57:56.739  8474  8474 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:2347)
03-15 17:57:56.739  8474  8474 E AndroidRuntime:        at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:630)
03-15 17:57:56.739  8474  8474 E AndroidRuntime:        at com.android.server.SystemServer.run(SystemServer.java:431)
03-15 17:57:56.739  8474  8474 E AndroidRuntime:        at com.android.server.SystemServer.main(SystemServer.java:296)
03-15 17:57:56.739  8474  8474 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
03-15 17:57:56.739  8474  8474 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
03-15 17:57:56.739  8474  8474 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
03-15 17:57:56.740  8474  8474 E AndroidRuntime: Error reporting crash
03-15 17:57:56.740  8474  8474 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'void android.app.IActivityManager.handleApplicationCrash(android.os.IBinder, android.app.ApplicationErrorReport$ParcelableCrashInfo)' on a null object reference
03-15 17:57:56.740  8474  8474 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$KillApplicationHandler.uncaughtException(RuntimeInit.java:144)
03-15 17:57:56.740  8474  8474 E AndroidRuntime:        at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068)
03-15 17:57:56.740  8474  8474 E AndroidRuntime:        at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1063)
03-15 17:57:56.740  8474  8474 E AndroidRuntime:        at java.lang.Thread.dispatchUncaughtException(Thread.java:1955)
03-15 17:57:56.777  8406  8406 E Zygote  : Exit zygote because system server (8474) has terminated
03-15 17:57:56.821  8413  8440 E audio_hw_hwsync: aml_hwsync_close_tsync(), fd = 15


I really hope someone can resolve the error, as there is no other updated Android TV build for the C4.

Best regards,
Martin
Hello.

First of all. Thank you for this great ROM! I am really gratefull of your work!

I can confirm that bootloop occurs since https://github.com/odroid-dev/android-p ... s/tag/R.16 release. I went through 17 and 16 and the behaviour was the same as Martin described. I finally rolled back to 15 release and no bootloops so far.

Cheers!

maza2580
Posts: 4
Joined: Tue Mar 16, 2021 2:59 am
languages_spoken: english, german
ODROIDs: ODROID-C4
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by maza2580 »

secuflag wrote:
Tue Mar 16, 2021 4:47 am
Hello Martin,

another user reported the same issue on N2 board, I'm investigating.
Could you try this image please? The problem should be fixed.
May I ask if you already commited the changes of that build onto your github?
I would like to do my setup, but as I saw you reverted the filesystem for /data back to ext4. So the next release will probably need a /data format :D

Im able to build the system by myself, but I couldn't find a commit related to the crashes, thats why I am asking.

Best regards
Martin

User avatar
secuflag
Posts: 195
Joined: Sun Jun 16, 2019 12:12 am
languages_spoken: English, Italian
ODROIDs: N2 - N2+ - C4
Location: Switzerland
Has thanked: 43 times
Been thanked: 103 times
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by secuflag »

Yep, already pushed to github.
And yes, next release will need a userdata format since I had to remove f2fs (back to ext4) support for now.
my ROM for N2/N2+: viewtopic.php?f=178&t=35463
my ROM for C4: viewtopic.php?f=204&t=38579
If you like my work feel free to contribute to buy me some beers. ;)

maza2580
Posts: 4
Joined: Tue Mar 16, 2021 2:59 am
languages_spoken: english, german
ODROIDs: ODROID-C4
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by maza2580 »

secuflag wrote:
Wed Apr 07, 2021 2:45 am
Yep, already pushed to github.
And yes, next release will need a userdata format since I had to remove f2fs (back to ext4) support for now.
Actually I wasn't able to build it, cause all of my computing stuff is not beefy enough :roll:
I greatly underestimated the size of android's source tree.

And I really don't want to do my setup on an f2fs partition just to wipe it later on.
So a fresh build from you would be very appreciated :D


Regards,
Martin

User avatar
secuflag
Posts: 195
Joined: Sun Jun 16, 2019 12:12 am
languages_spoken: English, Italian
ODROIDs: N2 - N2+ - C4
Location: Switzerland
Has thanked: 43 times
Been thanked: 103 times
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by secuflag »

First post updated ;)

Have fun!

Note: If you use the updatepackage you MUST manually migrate the userdata partition from F2FS to EXT4 or the board will not boot.
These users thanked the author secuflag for the post (total 2):
odroid (Mon Apr 12, 2021 10:21 am) • maza2580 (Mon Apr 12, 2021 5:53 pm)
my ROM for N2/N2+: viewtopic.php?f=178&t=35463
my ROM for C4: viewtopic.php?f=204&t=38579
If you like my work feel free to contribute to buy me some beers. ;)

chang0101
Posts: 11
Joined: Tue Apr 27, 2021 1:15 pm
languages_spoken: english
ODROIDs: c4
Has thanked: 0
Been thanked: 0
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by chang0101 »

nice images!!

have anyone pass the play certification for atv_selfinstall-odroidc4.img.xz ?, i tried both odroid setting app GSFID and device_id apk GSFID, still got device is not certified, but selfinstall-odroidc4.img.xz pass the certification well.

Thanks

usefkdon Lim
Posts: 2
Joined: Fri Jan 10, 2020 2:35 pm
languages_spoken: korean
ODROIDs: ODROID-XU4 Special Price
ODROID-XU4Q Special Price
Has thanked: 0
Been thanked: 0
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by usefkdon Lim »

Can you give me a hand?
The official WIFI module is hard to get, so I want to use a different WIFI module.

Unable to build wifi_driver.mk for Android.

Official ROM WIFi's mt7610u device is not officially supported.

I know that you need to edit the wpa_supplicant service in init.odroid.wifi.rc to use the mt7610u adapter, but I don't have enough information to build it.

I tried all the images you uploaded, but nothing was applied.
https://github.com/odroid-dev/android-p ... s/tag/R.18

I couldn't use it even if I replaced another WiFi module.

dual-o
Posts: 13
Joined: Wed Jul 03, 2019 12:12 am
languages_spoken: english, german
ODROIDs: C2, C4, N2, N2+, H2
Location: Germany
Has thanked: 0
Been thanked: 1 time
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by dual-o »

First of all: Thanks for this ROM. I have installed it on my N2+ and it works great.
Today I was looking for a "chromecast build-in" solution to stream from my android-smartphone via dsub app.

So I flashed this ROm to my new Odroid C4 and start testing:
I can't find the Odroid C4 via the chrome cast function. I have already installed "chomecast build-in" from playstore

thanks

User avatar
mad_ady
Posts: 9798
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 615 times
Been thanked: 740 times
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by mad_ady »

Sadly that works only on certified chromecast devices...

I was able to use it as a chromecast (with some occasional bugs) with this app: https://www.google.com/url?sa=t&source= ... TAetv9mjhu

User avatar
odroid
Site Admin
Posts: 38180
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 2056 times
Been thanked: 1227 times
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by odroid »

voodik recently fixed a Miracast problem in his N2 Android 11 image and we will add it to his C4 Android image soon hopefully.
viewtopic.php?p=331935#p331935

But, I don't know how much the Miracast is different from the Chromecast in the real world. I just know both of them have used for Smartphone/laptop display mirroring to TV big screen.

User avatar
mad_ady
Posts: 9798
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 615 times
Been thanked: 740 times
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by mad_ady »

One disadvantage of miracast (as far as I know) is that it relies on direct wifi. Chromecast can work with a wired device. But they're different standards anyway.
These users thanked the author mad_ady for the post:
odroid (Fri Jul 23, 2021 3:08 pm)

dual-o
Posts: 13
Joined: Wed Jul 03, 2019 12:12 am
languages_spoken: english, german
ODROIDs: C2, C4, N2, N2+, H2
Location: Germany
Has thanked: 0
Been thanked: 1 time
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by dual-o »

odroid wrote:
Fri Jul 23, 2021 2:49 pm
voodik recently fixed a Miracast problem in his N2 Android 11 image and we will add it to his C4 Android image soon hopefully.
viewtopic.php?p=331935#p331935

But, I don't know how much the Miracast is different from the Chromecast in the real world. I just know both of them have used for Smartphone/laptop display mirroring to TV big screen.
I tried this one. It works good but I can't stream 16bit/192KHz FLACs. Stream is limited to 44,1 KHz. I was looking for a solution to stream Hi-Res Music the C4.
mad_ady wrote:
Fri Jul 23, 2021 2:57 pm
One disadvantage of miracast (as far as I know) is that it relies on direct wifi. Chromecast can work with a wired device. But they're different standards anyway.
I would give it a try

PreMis
Posts: 3
Joined: Wed Jan 06, 2021 3:45 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 0
Been thanked: 0
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by PreMis »

Hi all,

I'm trying to get my head around installing atv image on the HC4 I got as far as install the image which boots straight into recovery but need some advice on installing/transfering the updatepackage please.

- Can i use an android phone connected via the 2.0 USB port for the adb connection?
- Transfer the updatepackage to the SD card where the OS is installed?
- Any other suggestions?

Many thanks,

PM

PreMis
Posts: 3
Joined: Wed Jan 06, 2021 3:45 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 0
Been thanked: 0
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by PreMis »

Has anyone successfully installed this image on HC4???

PM

PreMis
Posts: 3
Joined: Wed Jan 06, 2021 3:45 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 0
Been thanked: 0
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by PreMis »

Ive solved it.

I had to update to the latest petitboot and change the screen res to suit my TV. hope this helps someone.

Now booting into android correctly.

PM

User avatar
secuflag
Posts: 195
Joined: Sun Jun 16, 2019 12:12 am
languages_spoken: English, Italian
ODROIDs: N2 - N2+ - C4
Location: Switzerland
Has thanked: 43 times
Been thanked: 103 times
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by secuflag »

First post updated ;)

Have fun!
These users thanked the author secuflag for the post:
odroid (Fri Sep 17, 2021 9:05 am)
my ROM for N2/N2+: viewtopic.php?f=178&t=35463
my ROM for C4: viewtopic.php?f=204&t=38579
If you like my work feel free to contribute to buy me some beers. ;)

User avatar
secuflag
Posts: 195
Joined: Sun Jun 16, 2019 12:12 am
languages_spoken: English, Italian
ODROIDs: N2 - N2+ - C4
Location: Switzerland
Has thanked: 43 times
Been thanked: 103 times
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by secuflag »

First post updated ;)

Have fun!
my ROM for N2/N2+: viewtopic.php?f=178&t=35463
my ROM for C4: viewtopic.php?f=204&t=38579
If you like my work feel free to contribute to buy me some beers. ;)

User avatar
odroid
Site Admin
Posts: 38180
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 2056 times
Been thanked: 1227 times
Contact:

Re: ROM AOSP Android 9.0 Pie + Android-TV version

Post by odroid »

Thank you for the continuous maintenance. October's Kernel and Android patches are great!
These users thanked the author odroid for the post:
secuflag (Fri Oct 08, 2021 5:59 pm)

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 0 guests