Baseband not showing up in NRD90M builds

Stramondroid

Senior Member
Mar 12, 2010
311
21
0
Austin Texas
Not sure what I am doing wrong here. Even after I get it booted, with gapps. No baseband. I flashed the dev pre 5 baseband through recovery and it succeeds. When I try to use fastboot to send the same files, it says pre flash validation failed. I'm confused as I have a working build sans baseband, which is kinda important.

shamu_Baseband_D4.01-9625-05.34+FSG-9625-02.111
shamu_Bootloader_moto-apq8084-71.21

Not sure what more information you need about my environment, but I'm happy for any discussion to help me get this resolved so I can share my work.

(MODS: if this is the wrong place, please place it in the right section)
 
Last edited:

xdafalter

Senior Member
Aug 5, 2009
85
36
0
Right now there are two N AOSP ROMS in the N6 forum, one in general and one in development.
I tried both, one has the issue you described with my N6, no signal and no asking for SIM-card PIN. The other had working baseband and it was also shown correctly in About Phone. I think the one not working was the one from the guy konrad, not sure though.
Have you tried both? Maybe get in touch with those guys and find out what they did differently in their builds.
 

Zhaofeng Li

Member
May 29, 2015
35
78
0
zhaofeng.li
A solution

I'm the author of the 7.0 ROM in General. On a closer look, it seems that my initial build is actually not a clean 7.0.0_r1 build. I checked out the master branch for a handful of repositories when playing around, and that mistake coincidentally made RIL work.

tl;dr The ICU library is the culprit. Do "cd external/icu && git fetch aosp master && git checkout aosp/master" and rebuild.

Full explanation:

I did a couple of proper builds first, since I got branches messed up in my build:
  • Proper 7.0.0_r1 build: No baseband
  • Proper AOSP master build: Working

That gave me a little hope:p Apparently 7.0.0_r1 has issues preventing RIL from working. Relevant logs:
Code:
01-02 04:51:11.207 D/RILD    (  319): **RIL Daemon Started**
01-02 04:51:11.207 D/RILD    (  319): **RILd param count=1**
01-02 04:51:11.352 E/RILD    (  319): dlopen failed: dlopen failed: cannot locate symbol "UCNV_FROM_U_CALLBACK_STOP_57" referenced by "/system/lib/libxml2.so"...
01-02 04:51:15.371 D/RILD    (  833): **RIL Daemon Started**
01-02 04:51:15.371 D/RILD    (  833): **RILd param count=1**
01-02 04:51:15.420 E/RILD    (  833): dlopen failed: dlopen failed: cannot locate symbol "UCNV_FROM_U_CALLBACK_STOP_57" referenced by "/system/lib/libxml2.so"...
(and so on)
At the first glance it may be related to libxml2, but UCNV_FROM_U_CALLBACK_STOP is actually related to Unicode conversion. It appears in platform/external/icu.

Building 7.0.0_r1 with external/icu at AOSP master solves the issue. Does that work for you? Hope it helps!

---------- Post added at 04:06 PM ---------- Previous post was at 04:05 PM ----------

I did a couple of proper builds first, since I got branches messed up in my build
... And yes, I'll update my ROM to a clean build.