Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After May 8th build, Samsung S2 will not boot up (Terminated ALSA PLAYBACK device hifi) #299

Open
kumar303 opened this issue May 8, 2012 · 10 comments

Comments

@kumar303
Copy link

kumar303 commented May 8, 2012

Using the May 8th build from http://83.212.96.171/galaxy-s2/latest/ , my Samsung S2 will not boot up. It seems to be stuck in a loop about the audio driver maybe? This is the loop that logcat shows:

D/AndroidRuntime( 3218): 
D/AndroidRuntime( 3218): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 3218): CheckJNI is OFF
E/AndroidRuntime( 3218): JNI_CreateJavaVM failed
I/ServiceManager( 2605): service 'media.yamahaplayer' died
I/ServiceManager( 2605): service 'media.audio_flinger' died
I/ServiceManager( 2605): service 'media.player' died
I/ServiceManager( 2605): service 'media.camera' died
I/ServiceManager( 2605): service 'media.audio_policy' died
I/Netd    ( 3220): Netd 1.0 starting
I/        ( 3219): ServiceManager: 0xb0b0
E/yamaha::media::ParamFile( 3219): readVolume(/data/system/volume.dat) Error.
E/yamaha::media::Parameters( 3219): /system/csc/customer.xml can't open file
V/AudioHardwareYamaha( 3219): AudioHardware constructor
V/yamaha::media::CManager( 3219): constructor
V/yamaha::media::CManager( 3219): Cmanager: hw_rev = 0xe
V/yamaha::media::CManager( 3219): connect()
V/AudioHardwareYamaha( 3219): libsecril-client.so is loaded
V/AudioHardwareYamaha( 3219): AudioHardware::initCheck()
V/AudioHardwareYamaha( 3219): AudioHardware::initCheck()
V/AudioHardwareYamaha( 3219): AudioHardware::setMode(mode=0)
V/AudioHardwareYamaha( 3219): AudioHardware::setMasterVolume(volume=1.000000)
V/yamaha::media::CManager( 3219): setMasterVolume(volume=1.000000)
I/CameraService( 3219): CameraService started (pid=3219)
V/AudioHardwareYamaha( 3219): AudioHardware::openOutputStream(devices=00000002h)
I/ALSAModule( 3219): Initialized ALSA PLAYBACK device hifi
D/AcousticEQ( 3219): Band 01
D/AcousticEQ( 3219): Band 02
D/AcousticEQ( 3219): Band 03
D/AcousticEQ( 3219): mBandEnable[0] = [1]
D/AcousticEQ( 3219): mBandEnable[1] = [1]
D/AcousticEQ( 3219): mBandEnable[2] = [0]
D/AcousticEQ( 3219): mBandEnable[3] = [0]
D/AcousticEQ( 3219): AM-LITE using mOnOff = [1]
I/AudioFlinger( 3219): AudioFlinger's thread 0x60ac8 ready to run
I/AudioHardwareYamaha( 3219): AudioHardware::setDevices(devices=00000002h, mask=0000BFFFh)
V/yamaha::media::CManager( 3219): setDevices(devices=00000002h)
V/AudioHardwareYamaha( 3219): AudioHardware::setVoiceVolume(volume=1.000000)
W/AudioPolicyManagerBase( 3219): getDeviceForStrategy() unknown strategy: 4
W/VolumeCustomizer( 3219): createVolumeTable device=0
I/VolumeCustomizer( 3219):  volume tuning file already exist. txt ->> update table
W/VolumeCustomizer( 3219): createVolumeTable device=1
I/VolumeCustomizer( 3219):  volume tuning file already exist. txt ->> update table
W/VolumeCustomizer( 3219): createVolumeTable device=2
I/VolumeCustomizer( 3219):  volume tuning file already exist. txt ->> update table
W/VolumeCustomizer( 3219): createVolumeTable device=3
I/VolumeCustomizer( 3219):  volume tuning file already exist. txt ->> update table
W/VolumeCustomizer( 3219): createVolumeTable device=4
I/VolumeCustomizer( 3219):  volume tuning file already exist. txt ->> update table
I/ALSAModule( 3219): Terminated ALSA PLAYBACK device hifi
@philikon
Copy link
Collaborator

philikon commented May 8, 2012

Hard to say how that build was created... They're by no means official builds. I suspect that Gonk-GB broke. We're moving to Gonk-ICS, so I suggest you upgrade to that.

@kumar303
Copy link
Author

kumar303 commented May 9, 2012

whoops, not sure why I had the IP in my Makefile. These builds are from http://b2gbuilds.org/ so I'll shoot them an email. Thanks for the clues.

@kumar303
Copy link
Author

kumar303 commented May 9, 2012

is there an official nightly build for samsung elsewhere?

@philikon
Copy link
Collaborator

philikon commented May 9, 2012

Nope. We don't distribute images for devices at all currently.

@peregrinogris
Copy link

@kumar303 This happens when you use make flash or ./flash.sh, try flashing gecko and gaia separately. People suspects is related to Heimdall somehow.

@benfrancis
Copy link
Collaborator

I had the same issue with my own Gingerbread-based build from scratch (though slightly different log output http://pastebin.mozilla.org/1640169) but I can confirm that running "make install-gecko-only" fixed it.

Is the fix for this bug to start using ICS builds? If it is, should we remove the gingerbread instructions from the README? If not, I guess this needs fixing.

@peregrinogris
Copy link

I'm having the same issue building against ICS. For the record, the guys from b2gbuilds.org where building against GB.

@willyaranda
Copy link

I had the same problem. As peregrino said, just flashing with ./flash I cannot start the phone, but just after doing ./flash gecko, everything works (I'm talking about ICS)

@weideng
Copy link

weideng commented May 18, 2012

I met the same problem

@jonallengriffin
Copy link
Collaborator

A little more detail. During ./flash.sh gecko, this occurs:

push: b2g/components/binary.manifest -> system/b2g/components/binary.manifest
push: b2g/dictionaries/en-US.aff -> system/b2g/dictionaries/en-US.aff
push: b2g/dictionaries/en-US.dic -> system/b2g/dictionaries/en-US.dic
push: b2g/libplc4.so -> system/b2g/libplc4.so
push: b2g/chrome.manifest -> system/b2g/chrome.manifest
push: b2g/libsmime3.so -> system/b2g/libsmime3.so
push: b2g/libnssckbi.so -> system/b2g/libnssckbi.so
push: b2g/libnss3.so -> system/b2g/libnss3.so
push: b2g/libplds4.so -> system/b2g/libplds4.so
push: b2g/omni.ja -> system/b2g/omni.ja
push: b2g/libssl3.so -> system/b2g/libssl3.so
push: b2g/b2g -> system/b2g/b2g
push: b2g/plugin-container -> system/b2g/plugin-container
push: b2g/libxpcom.so -> system/b2g/libxpcom.so
push: b2g/libnssutil3.so -> system/b2g/libnssutil3.so
push: b2g/updater -> system/b2g/updater
push: b2g/Throbber-small.gif -> system/b2g/Throbber-small.gif
push: b2g/libxul.so -> system/b2g/libxul.so
push: b2g/libnspr4.so -> system/b2g/libnspr4.so
push: b2g/application.ini -> system/b2g/application.ini
push: b2g/removed-files -> system/b2g/removed-files
push: b2g/run-mozilla.sh -> system/b2g/run-mozilla.sh
push: b2g/libfreebl3.so -> system/b2g/libfreebl3.so
push: b2g/libmozglue.so -> system/b2g/libmozglue.so
push: b2g/libmozsqlite3.so -> system/b2g/libmozsqlite3.so
push: b2g/updater.ini -> system/b2g/updater.ini
push: b2g/platform.ini -> system/b2g/platform.ini
push: b2g/libsoftokn3.so -> system/b2g/libsoftokn3.so
push: b2g/precomplete -> system/b2g/precomplete
push: b2g/crashreporter.ini -> system/b2g/crashreporter.ini
push: b2g/crashreporter-override.ini -> system/b2g/crashreporter-override.ini
push: b2g/dependentlibs.list -> system/b2g/dependentlibs.list
32 files pushed. 0 files skipped.
910 KB/s (42633012 bytes in 45.722s)
done

The device actually starts working while it is copying libxul.so, so I assume the problem is with one of the files that gets copied before that.

cervantesyu pushed a commit to cervantesyu/B2G that referenced this issue Dec 22, 2015
Bug 937679 - Add fastxul.sh for fast XUL recompile & flash. r=mwu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants