Nexus 6 stuck at Google logo after flashing custom ROM build from AOSP

287 views
Skip to first unread message

Sunny Aditya

unread,
Jun 10, 2016, 10:25:58 AM6/10/16
to Android Building
Hi

Device : Nexus 6, running the latest build for N. 
Build System: Ubuntu 16.04 , intel  i7, 8 gb ram

 I am compiling Lollipop branch for Nexus 6 from AOSP
After running make, I was trying to flash the new image on device. It got stuck at google logo.
I downloaded the latest Nexus img file and tried recovering the device. The result is same.

 This is the log I am getting from device. 

--------- beginning of system
01-01 01:30:30.412   253   253 I vold    : Vold 3.0 (the awakening) firing up
01-01 01:30:30.413   253   253 V vold    : Detected support for: ext4 f2fs vfat
01-01 01:30:31.112   253   269 D VoldCryptCmdListener: cryptfs mountdefaultencrypted
01-01 01:30:31.112   253   269 I Ext4Crypt: ext4 crypto complete called on /data
01-01 01:30:31.112   253   269 I Ext4Crypt: No master key, so not ext4enc
01-01 01:30:31.113   253   269 I Cryptfs : cryptfs_check_passwd
01-01 01:30:31.113   253   269 I Ext4Crypt: ext4 crypto complete called on /data
01-01 01:30:31.113   253   269 I Ext4Crypt: No master key, so not ext4enc
01-01 01:30:31.114   253   269 D Cryptfs : crypt_ftr->fs_size = 55615232
01-01 01:30:31.114   253   269 I Cryptfs : Using scrypt with keymaster for cryptfs KDF
--------- beginning of crash
01-01 01:30:31.159   282   282 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 282 (surfaceflinger)
01-01 01:30:31.159   282   282 F libc    : Unable to open connection to debuggerd: Connection refused
01-01 01:30:31.585   253   269 I Cryptfs : keymaster module name is Keymaster QCOM HAL
01-01 01:30:31.586   253   269 I Cryptfs : keymaster version is 3
01-01 01:30:31.586   253   269 I Cryptfs : Found keymaster0 module, using keymaster0 API.
01-01 01:30:31.646   253   269 I Cryptfs : Signing safely-padded object
01-01 01:30:32.138   253   269 I Cryptfs : Enabling support for allow_discards in dmcrypt.
01-01 01:30:32.140   253   266 D vold    : Disk at 254:1 changed
01-01 01:30:32.563   253   269 I Cryptfs : Password matches
01-01 01:30:32.563   253   269 D Cryptfs : test_mount_encrypted_fs(): Master key saved
01-01 01:30:32.564   253   269 I Cryptfs : keymaster module name is Keymaster QCOM HAL
01-01 01:30:32.564   253   269 I Cryptfs : keymaster version is 3
01-01 01:30:32.564   253   269 I Cryptfs : Found keymaster0 module, using keymaster0 API.
01-01 01:30:32.565   253   269 D Cryptfs : Password is default - restarting filesystem
01-01 01:30:36.623   356   356 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 356 (surfaceflinger)
01-01 01:30:36.623   356   356 F libc    : Unable to open connection to debuggerd: Connection refused
01-01 01:30:41.733   623   623 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 623 (surfaceflinger)
01-01 01:30:41.733   623   623 F libc    : Unable to open connection to debuggerd: Connection refused
01-01 01:30:46.843   858   858 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 858 (surfaceflinger)
01-01 01:30:46.843   858   858 F libc    : Unable to open connection to debuggerd: Connection refused
01-01 01:30:49.571   253   269 W Cryptfs : sending SIGHUP to processes with open files
01-01 01:30:49.693   253   269 E ProcessKiller: Process /system/bin/dex2oat (341) has open file /data/dalvik-cache/arm/system@framework@boot.oat (deleted)
01-01 01:30:49.693   253   269 W ProcessKiller: Sending Terminated to process 341
01-01 01:30:49.701   253   269 E ProcessKiller: Process /system/bin/dex2oat (413) has open file /data/dalvik-cache/arm/system@framework@boot.oat (deleted)
01-01 01:30:49.701   253   269 W ProcessKiller: Sending Terminated to process 413
01-01 01:30:49.702   253   269 E ProcessKiller: Process /system/bin/dex2oat (674) has open file /data/dalvik-cache/arm/system@framework@boot.oat (deleted)
01-01 01:30:49.702   253   269 W ProcessKiller: Sending Terminated to process 674
01-01 01:30:49.707   253   269 E ProcessKiller: Process /system/bin/dex2oat (919) has open file /data/dalvik-cache/arm/system@framework@boot.oat
01-01 01:30:49.707   253   269 W ProcessKiller: Sending Terminated to process 919
01-01 01:30:50.708   253   269 D Cryptfs : unmounting /data succeeded
01-01 01:30:51.000   253   269 D Cryptfs : Just triggered post_fs_data
01-01 01:30:51.050   253   269 D Cryptfs : post_fs_data done
01-01 01:30:51.057   253   269 D Cryptfs : Just triggered restart_framework
01-01 01:30:51.059  1118  1118 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 1118 (surfaceflinger)
01-01 01:30:51.059  1118  1118 F libc    : Unable to open connection to debuggerd: Connection refused
01-01 01:30:55.853  1690  1690 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 1690 (surfaceflinger)
01-01 01:30:55.958  1134  1134 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-01 01:30:55.959  1134  1134 F DEBUG   : Build fingerprint: 'Android/aosp_shamu/shamu:6.0.1/MOB30I/sunny06081141:userdebug/test-keys'
01-01 01:30:55.959  1134  1134 F DEBUG   : Revision: '0'
01-01 01:30:55.959  1134  1134 F DEBUG   : ABI: 'arm'
01-01 01:30:55.959  1134  1134 F DEBUG   : pid: 1690, tid: 1690, name: surfaceflinger  >>> /system/bin/surfaceflinger <<<
01-01 01:30:55.959  1134  1134 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-01 01:30:55.966  1134  1134 F DEBUG   : Abort message: 'couldn't find an OpenGL ES implementation'
01-01 01:30:55.966  1134  1134 F DEBUG   :     r0 00000000  r1 0000069a  r2 00000006  r3 b6fb9b7c
01-01 01:30:55.966  1134  1134 F DEBUG   :     r4 b6fb9b84  r5 b6fb9b34  r6 00000002  r7 0000010c
01-01 01:30:55.966  1134  1134 F DEBUG   :     r8 00000000  r9 ffff6836  sl b6f6894c  fp be806bbc
01-01 01:30:55.966  1134  1134 F DEBUG   :     ip 00000006  sp be806638  lr b6dfeb61  pc b6e00f50  cpsr 400d0010
01-01 01:30:55.991  1134  1134 F DEBUG   : 
01-01 01:30:55.991  1134  1134 F DEBUG   : backtrace:
01-01 01:30:55.991  1134  1134 F DEBUG   :     #00 pc 00041f50  /system/lib/libc.so (tgkill+12)
01-01 01:30:55.991  1134  1134 F DEBUG   :     #01 pc 0003fb5d  /system/lib/libc.so (pthread_kill+32)
01-01 01:30:55.991  1134  1134 F DEBUG   :     #02 pc 0001c30f  /system/lib/libc.so (raise+10)
01-01 01:30:55.991  1134  1134 F DEBUG   :     #03 pc 000194c1  /system/lib/libc.so (__libc_android_abort+34)
01-01 01:30:55.991  1134  1134 F DEBUG   :     #04 pc 000174ac  /system/lib/libc.so (abort+4)
01-01 01:30:55.991  1134  1134 F DEBUG   :     #05 pc 000086f7  /system/lib/libcutils.so (__android_log_assert+86)
01-01 01:30:55.991  1134  1134 F DEBUG   :     #06 pc 00047b8b  /system/lib/libEGL.so
01-01 01:30:55.991  1134  1134 F DEBUG   :     #07 pc 00013e5d  /system/lib/libEGL.so
01-01 01:30:55.992  1134  1134 F DEBUG   :     #08 pc 00014975  /system/lib/libEGL.so (eglGetDisplay+24)
01-01 01:30:55.992  1134  1134 F DEBUG   :     #09 pc 00018791  /system/lib/libsurfaceflinger.so (_ZN7android14SurfaceFlinger4initEv+48)
01-01 01:30:55.992  1134  1134 F DEBUG   :     #10 pc 00000e9d  /system/bin/surfaceflinger
01-01 01:30:55.992  1134  1134 F DEBUG   :     #11 pc 00017359  /system/lib/libc.so (__libc_init+44)
01-01 01:30:55.992  1134  1134 F DEBUG   :     #12 pc 00000d60  /system/bin/surfaceflinger
01-01 01:30:56.168  1134  1134 F DEBUG   : 
01-01 01:30:56.168  1134  1134 F DEBUG   : Tombstone written to: /data/tombstones/tombstone_00
01-01 01:31:01.314  1943  1943 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 1943 (surfaceflinger)
01-01 01:31:01.415  1134  1134 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
.............................
Full log 

What is the crash here and  how can  I recover from this state? 
Thanks

Sunny Aditya

unread,
Jun 14, 2016, 10:50:43 AM6/14/16
to Android Building
[SOLVED]

The error was due to mismatching binaries for the device. Anyone facing a similar problem make sure you have the correct binaries. 

Example : 
MOB30Mandroid-6.0.1_r46MarshmallowNexus 5, Nexus 6, Nexus 7 (flo/deb), Nexus 9 (volantis/volantisg), Nexus Player

Relevant binaries 
Notice the build code MOB30M 

Steps I followed 
  1. Delete the existing vendor folder
  2. Download and extract new binaries
  3. Run make clobber along with other commands 
  4. Build 
01-01 01:30:49.693   253   269 E ProcessKiller: Process /system/bin/dex2oat (341) has open file /data/dalvik-cache/arm/system@fram...@boot.oat (deleted)
01-01 01:30:49.693   253   269 W ProcessKiller: Sending Terminated to process 341
01-01 01:30:49.701   253   269 E ProcessKiller: Process /system/bin/dex2oat (413) has open file /data/dalvik-cache/arm/system@fram...@boot.oat (deleted)
01-01 01:30:49.701   253   269 W ProcessKiller: Sending Terminated to process 413
01-01 01:30:49.702   253   269 E ProcessKiller: Process /system/bin/dex2oat (674) has open file /data/dalvik-cache/arm/system@fram...@boot.oat (deleted)
01-01 01:30:49.702   253   269 W ProcessKiller: Sending Terminated to process 674
01-01 01:30:49.707   253   269 E ProcessKiller: Process /system/bin/dex2oat (919) has open file /data/dalvik-cache/arm/system@fram...@boot.oat
Reply all
Reply to author
Forward
0 new messages