sonyxperiadev / device-sony-seagull

5 stars 16 forks source link

seagull unknown baseband #32

Open pkrion opened 8 years ago

pkrion commented 8 years ago

i dont know if i can write here or not, but i try asking for it in some forums without help, so i try writing here, i'm sorry if this is a mistake.

i'm trying to build aosp M for seagull i follow the step by step guide on xperia devs blog, compiling the kernel with the updates sources and then compile the entire rom, the rom boot ok but sdcard, camera,nfc and baseband dont work (i can import contact from sim and the system ask for the pin). i'll try to get info of baseband issue so i do a logcat -b radio and this is the result:

thisisalog.txt

jerpelea commented 8 years ago

have you added all etc/firmware files from an official sw?

pkrion commented 8 years ago

New compile following the step by step from: http://developer.sonymobile.com/knowledge-base/open-source/open-devices/aosp-build-instructions/how-to-build-aosp-marshmallow-for-unlocked-xperia-devices/

resume: 1 kernel: from git clone https://github.com/sonyxperiadev/kernel -- aosp_yukon_seagull_defconfig: zImage renamed to kernel and moved to /android/device/sony/seagull/kernel dts: moved to /android/device/sony/seagull/kernel

2.- rom: repo init -u https://android.googlesource.com/platform/manifest -b android-6.0.1_r46 nano .repo/local_manifests/sony.xml (from sony aosp -build-instruction) vendor directory with latest sony sw binaries v5a 3.- this patchs:
cd external/libnfc-nci git fetch https://android.googlesource.com/platform/external/libnfc-nci refs/changes/61/170861/2 && git cherry-pick FETCH_HEAD cd ../../hardware/qcom/gps git fetch https://android.googlesource.com/platform/hardware/qcom/gps refs/changes/82/178682/1 && git cherry-pick FETCH_HEAD cd ../keymaster git cherry-pick 888834f9aba0609222c6e6bbd86bd6625af28746 git fetch https://android.googlesource.com/platform/hardware/qcom/keymaster refs/changes/70/212570/5 && git cherry-pick FETCH_HEAD git fetch https://android.googlesource.com/platform/hardware/qcom/keymaster refs/changes/80/212580/2 && git cherry-pick FETCH_HEAD git fetch https://android.googlesource.com/platform/hardware/qcom/keymaster refs/changes/61/213261/1 && git cherry-pick FETCH_HEAD cd ../../broadcom/libbt/ git fetch https://android.googlesource.com/platform/hardware/broadcom/libbt refs/changes/17/114817/2 && git cherry-pick FETCH_HEAD

while compiling the entire rom i have a problem with "unsupported reloc 42" i fix it with the next

nano ~/android/art/build/Android.common_build.mk

look for this

          ART_HOST_CLANG := false
         ifneq ($(WITHOUT_HOST_CLANG),true)
         # By default, host builds use clang for better warnings.
        ART_HOST_CLANG := true
        endif

and change for this

     ART_HOST_CLANG := false
    ifeq ($(WITHOUT_HOST_CLANG),false)
   # By default, host builds use clang for better warnings.
     ART_HOST_CLANG := true
     endif`

first logs on first start:

fulladblog-firststart.txt adb-rbradio-firststart.txt

i try to add etc/firmware files extracted from my working rom(18.1.A.2.25), throug adb adb root adb remount adb push firmware /etc/firmware (firmware/a225p5_pm4.fw -> /etc/firmware/a225p5_pm4.fw 49 files pushed. 0 files skipped. 822 KB/s (2216178 bytes in 2.630s))

and this are the new logs

fulladblog-afterfirmware.txt adb-rbradio-afterfirmware.txt

p.d: i have found a repo (out of sony sources) with qcom firmware but there isn't any one for seagull

https://github.com/SuperBenevolent/aosp-vendor-qcom-firmware

stellirin commented 8 years ago

Seagull has a /firmware partition so no extra blobs are needed for this device.

pkrion commented 8 years ago

so what could be the solution to fix this problems? as i see is the next step to get a full working 6.0 rom to this device, and the scene on it is nearly to 0