yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Android Development] MohammadAG:
I don't get the same errors:

V/CAM_PhotoModule(12695): On resume.
V/CAM_PhotoModule(12695): Executing onResumeTasks.
V/CAM_PhotoModule(12695): Open camera device.
V/CameraHolder(12695): open camera 0
I/libcamera( 315): HAL_getCameraInfo: E cameraId=0
I/libcamera( 315): HAL_getCameraInfo: X
I/libcamera( 315): HAL_getCameraInfo: E cameraId=0
I/libcamera( 315): HAL_getCameraInfo: X
I/CameraClient( 315): Opening camera 0
I/libcamera( 315): HAL_openCameraHardware: E cameraId=0
W/ServiceManager( 315): Permission failure: com.sonyericsson.permission.CAMERA_EXTENDED from uid=10261 pid=12695
I/libcamera( 315): HAL_getNumberOfCameras: E
I/libcamera( 315): HAL_Camera_GetNumberOfCameras: HAL_gCameraNum=2
I/libcamera( 315): HAL_getNumberOfCameras: X
I/libcamera( 315): HAL_openCameraHardware: X created hardware=0x0
E/CameraClient( 315): Could not open camera 0: -2147483648
E/CameraClient( 315): initialize: Camera 0: unable to initialize device: Unknown error -2147483648 (-2147483648)
I/CameraClient( 315): Destroying camera 0
W/CameraBase(12695): An error occurred while connecting to camera: 0
E/CameraHolder(12695): fail to connect Camera:-1, aborting.
E/CAM_PhotoModule(12695): Failed to open camera:0

Wi-Fi fix is easy to apply.

Use adb shell or a terminal emulator:

su
mount -o rw,remount /system
rm /etc/firmware/wlan/* # You'll get an error about a directory, ignore it.
ln -s /data/etc/wlan_txpower_2_4g /etc/firmware/wlan/2_4g
ln -s /data/etc/wlan_txpower_5g_high /etc/firmware/wlan/5g_high
ln -s /data/etc/wlan_txpower_5g_low /etc/firmware/wlan/5g_low
ln -s /data/etc/wlan_txpower_5g_mid /etc/firmware/wlan/5g_mid
ln -s /data/etc/wlan_macaddr0 /etc/firmware/wlan/macaddr0

rm /system/lib/modules/wlan.ko
ln -s /system/lib/modules/pronto/pronto_wlan.ko /system/lib/modules/wlan.ko
reboot
[Xperia Z1 Android Development] SquiffyGrain6:
I am not a developer by any means, but I've noticed a similarity in both those logs, and it is:

"Permission failure: com.sonyericsson.permission.CAMERA_EXTENDED from uid=10261 "

Maybe it just needs a declaration in manifest? Something like:

<uses-permission android:name="com.sonyericsson.permission.CAMERA_EXTENDED" />

I've been looking at this: http://developer.android.com/guide/topics/media/camera.html

What do you think about it? Can it be any help to you guys?
[Xperia Z1 Android Development] MohammadAG:
Doubt that's the issue. The front camera doesn't work as well.
[Xperia Z1 Android Development] MohammadAG:
I'm almost giving up on the camera, it seems that the 4.3 drivers won't work without patching, the symbol names have changed and the .so fails to load.

Mixing libs causes a bootloop, MediaServer fails to start.

[MENTION=3160680]DAddYE[/MENTION] any luck?

Both cameras are detected and loaded by the kernel, not sure what's happening here.

<6>[ 0.439744] ION heap camera_preview created at 0x78714000 with size 6400000
<6>[ 2.681148] qcom,sony_camera_0 20.qcom,camera: sony_eeprom_load: load eeprom
<6>[ 2.964641] qcom,sony_camera_0 20.qcom,camera: sony_eeprom_load: MODULE NAME: len=2048, name=SOI20BS0
<6>[ 3.085426] qcom,sony_camera_0 20.qcom,camera: sony_camera_platform_probe: camera 0 probe ok
<6>[ 3.092101] qcom,sony_camera_1 6c.qcom,camera: sony_eeprom_load: load eeprom
<6>[ 3.233208] qcom,sony_camera_1 6c.qcom,camera: sony_eeprom_load: MODULE NAME: len=1024, name=SEM02BN1
<6>[ 3.339639] qcom,sony_camera_1 6c.qcom,camera: sony_camera_platform_probe: camera 1 probe ok
[Xperia Z1 Android Development] DAddYE:
Almost in the same ship :D, I changed vendor/camera/ blobs, then libs/hw, but as you say as soon as you change camera.qcom.so you need another lib, and I guess is libandroid, but I'm using otool & c. to figure out if could be easier.
[Xperia Z1 Android Development] cocchiararo:
I bet you guys won't be able to fix this... Until I get another phone.

That is the luck I have :p

Enviado desde mi C6903 mediante Tapatalk
[Xperia Z1 Android Development] MohammadAG:
About GPS, did you fix it with just libloc_core.so and gpsone_daemon?

That worked fine for me, then I added /vendor/lib/liblbs_core.so and it got broken again :D
[Xperia Z1 Android Development] DAddYE:
Yes for the first for the latter I can't confirm since I'm back on stock because I'm rebuilding a new GPE from scratch.

Plan:

1. Original GPE

2. DoomLord Kitkat Kernel

3. Stock 4.3.

4. Pull proprietary stuff from stock using this: https://github.com/TheMuppets/proprietary_vendor_sony/blob/cm-10.2/honami/honami-vendor-blobs.mk into the Z1.GPE.
[Xperia Z1 Android Development] MohammadAG:
Good plan, except for part 4, the files there are from 4.2 .534 :)
[Xperia Z1 Android Development] DAddYE:
Yup, I'm using that list to pull those files from 4.3 Stock
[Xperia Z1 Android Development] MohammadAG:
Oh, that makes more sense :)

Somehow, I doubt they'll work without binary patching. That's how I fixed libqc-opt.so, sed the 50s to 51s.
[Xperia Z1 Android Development] DAddYE:
Indeed, that will be the latest step but at least I'm quite sure that I'll run all Z1 drivers.
[Xperia Z1 Android Development] MohammadAG:
Do you have any idea how that could be done when the lengths are different?

For example:

_ZN7android10VectorImpl19reservedVectorImpl1Ev - > _ZN7android9tinyutils10VectorImpl19reservedVectorImpl1Ev
[Xperia Z1 Android Development] ilia1985:
Hi guys Thank you so much for ur work :)

I don't know if this helps but in latest FXP Cm 10.2 camera actually starts but doesn't focus or take pictures.. Maybe it will help
[Xperia Z1 Android Development] MohammadAG:
Even with the new bootloader?
[Xperia Z1 Android Development] ilia1985:
Not sure... Just read it on FXP forum... Will test once I get home in a bit and let u know.
[Xperia Z1 Android Development] MohammadAG:
I went back to stock cause I need the camera tomorrow, but does Wi-Fi work? It seems the firmware was upgraded and it doesn't work with the stock 4.3 one.
[Xperia Z1 Android Development] DAddYE:
On mine works well... pretty strange
[Xperia Z1 Android Development] MohammadAG:
What about mobile data? That fails too here.

Edit: Fixed Wi-Fi by downgrading firmware.

Edit 2: Bah, initial setup failed to download access points due to Wi-Fi not working, fixed that.

Back on 4.3 for a while.
[Xperia Z1 Android Development] DAddYE:
Mmm, pretty strange, maybe didn't happen to me because I'm using the 4.3 blobs
[Xperia Z1 Android Development] shawnhalu:
Wishing u all and family a merry christmas and a happy holidays :)
[Xperia Z1 Android Development] DAddYE:
Okay,

For those interested here a rom 4.4.2 GPE with 4.3 blobs: http://fs.daddye.it/iHKI/5wSfXGFs

- Doomlord Kernel for 4.4.2 GPE
- Stock 4.3 blobs and libs from latest firmware
- Fixed gps
- Fixed thermal
- Fixed Wifi

Logcat is much more clean and happy!

Cam, obviously doesn't work, is in WIP, but you should have all libs and blobs to work with it.

Pay attention, I'm a super NOOB, flash at your risk!!!!!!!
[Xperia Z1 Android Development] ilia1985:
Just confirmed on latest FXP CM 10.2 camera partially works :) installed from UB stock 4.3 running Doomlords 4.3 kernel.

what i mean by partially is that

1. camera starts and can take picture but will stop responding once u try to focus.

2. panorama mod works.

things that dont work

1. flash (might be tied to auto focus)

2. video ( no picture and the freezes completely after trying to record)

hope this helps guys :)
[Xperia Z1 Android Development] DAddYE:
Another update with few missing libs for camera: http://fs.daddye.it/JE20/50Tk6NPO

Basically now no more crash when u start the camera, but it's stills stuck with black screen and a bunch of:

I/mm-camera( 437): isp_pipeline_util_trigger_update: zero color temperture. No update needed
E/mm-camera( 437): mct_pipeline_get_stream: stream not found in the list
E/mm-camera( 437): mct_pipeline_get_stream: stream not found in the list
E/mm-camera( 437): mct_pipeline_get_stream: stream not found in the list
E/mm-camera( 437): mct_pipeline_get_stream: stream not found in the list
I/mm-camera( 437): isp_hw_proc_subdev_event:[Profile] before vfe_diag info
I/mm-camera( 437): isp_hw_proc_subdev_event:[Profile] after vfe_diag info
E/mm-camera( 437): msg_bus_post_msg: bus_msg type is not valid
E/mm-camera( 437): isp_ch_util_hw_notify_sof: meta dump data to bus error
I/mm-camera( 437): isp_pipeline_util_trigger_update: zero color temperture. No update needed
E/mm-camera( 437): mct_pipeline_get_stream: stream not found in the list
E/mm-camera( 437): mct_pipeline_get_stream: stream not found in the list
E/mm-camera( 437): mct_pipeline_get_stream: stream not found in the list
E/mm-camera( 437): mct_pipeline_get_stream: stream not found in the list
I/mm-camera( 437): isp_hw_proc_subdev_event:[Profile] before vfe_diag info
I/mm-camera( 437): isp_hw_proc_subdev_event:[Profile] after vfe_diag info
E/mm-camera( 437): msg_bus_post_msg: bus_msg type is not valid
E/mm-camera( 437): isp_ch_util_hw_notify_sof: meta dump data to bus error
I/mm-camera( 437): isp_pipeline_util_trigger_update: zero color temperture. No update needed
E/mm-camera( 437): mct_pipeline_get_stream: stream not found in the list
E/mm-camera( 437): mct_pipeline_get_stream: stream not found in the list
E/mm-camera( 437): mct_pipeline_get_stream: stream not found in the list
E/mm-camera( 437): mct_pipeline_get_stream: stream not found in the list
I/mm-camera( 437): isp_hw_proc_subdev_event:[Profile] before vfe_diag info
I/mm-camera( 437): isp_hw_proc_subdev_event:[Profile] after vfe_diag info
E/mm-camera( 437): msg_bus_post_msg: bus_msg type is not valid
E/mm-camera( 437): isp_ch_util_hw_notify_sof: meta dump data to bus error
I/mm-camera( 437): isp_pipeline_util_trigger_update: zero color temperture. No update needed
E/mm-camera( 437): mct_pipeline_get_stream: stream not found in the list
E/mm-camera( 437): mct_pipeline_get_stream: stream not found in the list
E/mm-camera( 437): mct_pipeline_get_stream: stream not found in the list
E/mm-camera( 437): mct_pipeline_get_stream: stream not found in the list
I/mm-camera( 437): isp_hw_proc_subdev_event:[Profile] before vfe_diag info
I/mm-camera( 437): isp_hw_proc_subdev_event:[Profile] after vfe_diag info
E/mm-camera( 437): msg_bus_post_msg: bus_msg type is not valid

---------- Post added at 01:25 AM ---------- Previous post was at 12:41 AM ----------

http://xdaforums.com/showthread.php?t=2405844&page=49
[Xperia Z1 Android Development] MohammadAG:
Hahaha, didn't expect someone else to have the same issues so I never googled the symbol names.

So I'm guessing you tried that and the camera libs work? (In the sense that the camera can be connected to).

Sent from my Sony Xperia Z1 using Taptalk
[Xperia Z1 Android Development] DAddYE:
Yep, looks like it is connected and tried to capture something (lights) or whatever then die.

Here few more errors that I want to fix:

E/libcameralight( 316): rhine_calc_parameters.c calcparam_get_factory - Failed to open file for vf_factory: /data/etc/flashled_vf_factory
E/WVMDrmPlugIn( 328): Failed to get widevine blob. Error = -287
E/mm-camera( 458): isp_tintless_open:Failed to dlopen libmmcamera_tintless_algo.so: dlopen failed: library "libmmcamera_tintless_algo.so" not found
W/InterfaceController( 321): Warning (dlopen failed: library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library

---------- Post added at 11:03 AM ---------- Previous post was at 10:23 AM ----------

Gonna give up.

2 solutions:

1. Patch camera.qcom.so

2. Recompile aosp 4.4.2 using the flag mentioned in the link of my previous post
[Xperia Z1 Android Development] MohammadAG:
Hmm, I'm almost sure it's because the Z Ultra has no LED flash.

Sent from my Sony Xperia Z1 using Taptalk
[Xperia Z1 Android Development] Rodrigo Vilhena:
Hello I've just flashed DaddYE's file, and now I have wifi but no GPS? Doomlord I have GPS but no wifi.

Mine is C6903, someone can help me?

Thanks.

---------- Post added at 12:13 PM ---------- Previous post was at 11:47 AM ----------

Edit = GPS works but not with all app. I can't use it with Endomondo and Ndrive. But working with Google maps.

On Doomlord it was working on all app.

Any tip?

Thank you.
[Xperia Z1 Android Development] DAddYE:
I'll restore the old behavior. But in reality it crashed 1 s after each request. So your app can't notice it but your logs become full of errors.
[Xperia Z1 Android Development] Rodrigo Vilhena:
Thank you very much.

It worked fine with old behavior, I mean I had good accurate places.

Thank you for your atention. Bad can't wait to flash it.
[Xperia Z1 Android Development] Rodrigo Vilhena:
Hello DAddYE, I've tried to use Doomlord gps.confg and libgps, to fix my GPS problem on your ROM update, but it did not worked.

Can you help me? What files command GPS?

Thank you.
[Xperia Z1 Android Development] DAddYE:
Sorry for the late reply, try to remove the Z1 driver so will use the ZU one:

rm -rf system/lib/hw/camera.msm8974.so

P.s. remember to remount rw /system or boot in recovery mount system partition and then adb shell
[Xperia Z1 Android Development] MohammadAG:
That's the camera not the GPS, mixed up? :p

Sent from my Sony Xperia Z1 using Taptalk
[Xperia Z1 Android Development] DAddYE:
Yep sorry is:

system/lib/hw/gps.msm8974.so
[Xperia Z1 Android Development] mo3553:
Is the camera working now?
[Xperia Z1 Android Development] qasq:
+1
[Xperia Z1 Android Development] DAddYE:
Nope. I have tried yesterday night to compile an aosp KitKat but sadly our camera wrappers are like (best of scenarios) 3 months old.
[Xperia Z1 Android Development] skittishwind:
What is app-lib folder while extracting driver I think we need those too. On stock rom uninstaling camera extension ar effect socialive break the camera if you remove those folder from app-lib folder I think 1 is dependent on another

Thank you
[Xperia Z1 Android Development] Just2Cause:
I don't have any signal. Looks like my SIM card is not working on your ROM, not even DooMLoRD's

My SIM card is from MEA, Maybe it's because we don't have Z Ultra GPE here? Or maybe my SIM card doesn't work on Z Ultra GPE?

Hope someone helps me fix it.

EDIT: is there something wrong happening when going from landscape to portrait mode? I have to make the phone upside down to get it in portrait.

Regards,

~J2C
[Xperia Z1 Android Development] DAddYE:
Which device?
[Xperia Z1 Android Development] Just2Cause:
C6903
[Xperia Z1 Android Development] Just2Cause:
Fixed the signal, looks like I had the stupid no signal/IMEI issue, flashed stock android 4.3 ROM and kernel then used DooMLoRD's kernel to flash DAddYE's 4.4 ZIP.

Still have to upside down the phone to get it to portrait, but I can live with that (for a few days).

Regards,

~J2C
[Xperia Z1 Android Development] Just2Cause:
Hello, I have a question.

I tried to get the 5x6 app drawer from DooMLoRD's firmware to DAddYE's, but with no success.

Tried replacing the launcher2.apk and launcher2.odex but it didn't do it. Then tried the systemui.apk and systemui.odex but still no success. Thought about build.prop but there's a size difference and I'm afraid the WiFi will stop working.

Can someone please help me doing this?

Regards,

~J2C
[Xperia Z1 Android Development] DAddYE:
Just install xposed framework, then install GravityBox Kitkat Edition you can customize a lot of things of your rom (include the Pie :D) and yep customize the layout of the launcher ;)
[Xperia Z1 Android Development] Just2Cause:
Thanks for the fast reply but I couldn't wait so I replaced the build.prop and it worked perfectly :silly:

The only thing that is bugging me now is the landscape and portrait thing :/

Tried calibrating from the service menu but failed.

Tried camera zoom fx to see if the camera will work or not, ended up uninstalling it.

Regards,

~J2C
[Xperia Z1 Android Development] shteren:
Try to edit. /System/etc/sensors.conf, try to invert the axes, I had to do it on xzr when I flashed xz roms.
[Xperia Z1 Android Development] DAddYE:
I have tried to build a CM11, still no camera also there, slow as hell and few other bugs.

This GPE is awesome also compared to our stock, pretty snappy.

The only way to fix the camera is bug sony to release asap GPE source code in this way we should be able easily to have a camera working and all the stuff we need.

Lets bug them on twitter and other channels :D

:fingers-crossed:
[Xperia Z1 Android Development] Just2Cause:
Can't find that.

There's sensor_def_qcomdev.conf and sensors_calib.conf and I didn't know what to do there, I ain't that good.

Regards,

~J2C
[Xperia Z1 Android Development] shteren:
the one you want is sensors_calib, backup the existing file somewhere and try to change accel_axis_z=1 to -1.

this worked on xzr because his gyro was upside down from xz.
[Xperia Z1 Android Development] radjad:
accel_axis_z is on -1 by default on this rom. I set it to both 1 (accel_axis_z=1) and 0, but neither fixes the issue for me.
[Xperia Z1 Android Development] Just2Cause:
Same.
[Xperia Z1 Android Development] shteren:
Did you try messing qith X and y? Thats the only file responsible for gyro settings...
[Xperia Z1 Android Development] Just2Cause:
Today, I took both sensor files from my friend's z1 (stock android 4.3 with locked bootloader and no root) sent them to my phone using Bluetooth and replaced the ones I have with the ones I got from him, and he congratulated me as it didn't work :victory::silly::p

Regards,

~J2C
[Xperia Z1 Android Development] :
C6906 Support?

Hi, has anyone tried this ROM on the Sony C6906 (Xperia Z1). I'd love to run it on the device but the OP made no mention of it so I was wondering.

Thanks :D
[Xperia Z1 Android Development] westernmg:
The GPE Sourcecode is already out:

http://developer.sonymobile.com/dow...tra-google-play-edition-build-kot49h-s2-2052/

Is that what you need?
[Xperia Z1 Android Development] DAddYE:
That should be the kernel not the entire rom.

Now I'm trying to compile myself a 100% pure aosp build to see if we can move some from here libs. In particular I'll (try) to enable the missing vector symbols and see if switching libutils will work.

Again. Keep in mind that I'm an android user from like 1 month and I don't know anything of this world.
[Xperia Z1 Android Development] B1nny:
AFAIK the source code for GPe ROM's never gets released..
[Xperia Z1 Android Development] DAddYE:
Yep, I though that since they do that for some xperia devices they could just open the sources of the ultra too.
[Xperia Z1 Android Development] B1nny:
That is AOSP. GPe sources will never be released.
[Xperia Z1 Android Development] DAddYE:
Do you know how we can patch a so library to remove some symbols (that are also "dummy") ?
[Xperia Z1 Android Development] westernmg:
Kali has fixed the Camera on CM11, so maybe someone can take the needed stuff and mix up a fully working build now?
[Xperia Z1 Android Development] cocchiararo:
Cm11 thread from xda? Been ultra busy moving houses and fixing a ton of stuff that broke at work and I am kinda out of touch :p (and without a pc)

Enviado desde mi Nexus 7 usando Tapatalk 4
[Xperia Z1 Android Development] DAddYE:
I'll try later. The main issue is that the gpe libutils is compiled without some (dummy) symbols. Those are however need by the stock camera. The thing is that CM11 seems isn't enabling either those symbols. So I need to look at it better.
[Xperia Z1 Android Development] TheKnux:
Is there a link so we can get a ROM with functioning camera or is that not possible yet? Sorry for dumb question, lack of sleep. Gotta work from 11pm to 7 am. Hopefully there will be something cooked up by the time I get off. :P
[Xperia Z1 Android Development] DooMLoRD:
post the files from the /system/etc/firmware folder of the official 4.3 FW for C6906

adb pull /system/etc/firmware c:\files\.
[Xperia Z1 Android Development] :
Here is everything I pulled from the unlocked C6906: https://www.mediafire.com/folder/i04tnnrc2ttts/c6906

Some formatting messed up so you may see random folders within folders that wasn't there originally, but all the files should be there.

Hopefully that is what you wanted. Let me know if it isn't, I'll do my best to get it to you in that case. :laugh:
[Xperia Z1 Android Development] DooMLoRD:
can u just post a ZIP?
[Xperia Z1 Android Development] :
Your wish is my command. http://www.mediafire.com/download/03lwah9xqeluol9/c6906 4.3 FW.zip
[Xperia Z1 Android Development] DooMLoRD:
try flashing the following file via recovery: (ONLY FOR C6906)

http://doomlord.xperia-files.com/download.php?dlid=WjEtU3RvY2tfQzY5MDZfRldfNC4zX0ZpbGVz

make sure that you wipe /cache before rebooting from recovery
[Xperia Z1 Android Development] DAddYE:
Hey did u get a bit of time to work on camera? We need some deprecated symbols that lives in libutils. Can't we patch the camera bin or create those dummy void on the kernel? Are u still planning to maintain this port?
[Xperia Z1 Android Development] DooMLoRD:
no not yet... havent had time to work on camera... fixing custom WiFi drivers on stock ROM...
[Xperia Z1 Android Development] :
I've been unrooted since updating to 4.3 and I have a locked bootloader. Do I go back down to .534 firmware and root there or can I somehow flash on the current 4.3 FW?
[Xperia Z1 Android Development] DooMLoRD:
you cant do much on locked bootloader...

this ROM+kernel is only for unlocked bootloader
[Xperia Z1 Android Development] nprussell:
Could someone please PM me logs of:

1. Trying to enable Wifi

2. Trying to use camera

3. Logcat from boot

I'll see what I can do.
[Xperia Z1 Android Development] DAddYE:
Wifi is working but instead to use prima from kernel we use the Z1 blob (I think), it need to be `ln -s`.

The real issue is with camera, basically the z1 one is built for android 4.3 which relay on deprecated functions, see: https://github.com/CyanogenMod/android_system_core/blob/cm-11.0/libutils/VectorImpl.cpp#L519-L528

CM11 worked around adding dummy fn:

void VectorImpl::reservedVectorImpl1() { }
void VectorImpl::reservedVectorImpl2() { }
void VectorImpl::reservedVectorImpl3() { }
void VectorImpl::reservedVectorImpl4() { }
void VectorImpl::reservedVectorImpl5() { }
void VectorImpl::reservedVectorImpl6() { }
void VectorImpl::reservedVectorImpl7() { }
void VectorImpl::reservedVectorImpl8() { }

In order to have the Z1 cam working we can:

Patch the blob to strip those dead symbols

Write in a dependency of camera.qcom the missing symbols.

I tried the second way, I recompiled from AOSP the libutils, but then I figured out that 80% of android relay on this libs and each dependency due to symbol relocation should be updated as well.

If I have time I'll try to figure out a cam dependency from:

$ gobjdump -p system/lib/hw/camera.msm8974.so
NEEDED libcamera_client.so
NEEDED liblog.so
NEEDED libhardware.so
NEEDED libutils.so
NEEDED libcutils.so
NEEDED libdl.so
NEEDED libmmcamera_interface.so
NEEDED libmmjpeg_interface.so
NEEDED libc.so
NEEDED libstdc++.so
NEEDED libm.so
SONAME camera.msm8974.so

which can be recompiled from aosp adding those symbols and without requiring to recompile/push trillons of other libs.
[Xperia Z1 Android Development] DooMLoRD:
which blobs u used to get camera working?

custom prima wlan didnt work
[Xperia Z1 Android Development] MohammadAG:
Have you tried copying those from an already built ROM like CM?

Here's the Wi-Fi fix http://xdaforums.com/showpost.php?p=48780021&postcount=78

If you have don't have the files in /data, run taimport
[Xperia Z1 Android Development] DooMLoRD:
so basically its just messed up symlinks :p

but this worked on clean flash of this ROM without changing any files? only symlink fixes?
[Xperia Z1 Android Development] DAddYE:
Yup just add to the updater script something like:

symlink("/data/etc/wlan_txpower_2_4g", "/system/etc/firmware/wlan/2_4g");
symlink("/data/etc/wlan_txpower_5g_high", "/system/etc/firmware/wlan/5g_high");
symlink("/data/etc/wlan_txpower_5g_low", "/system/etc/firmware/wlan/5g_low");
symlink("/data/etc/wlan_txpower_5g_mid", "/system/etc/firmware/wlan/5g_mid");
symlink("/data/etc/wlan_macaddr0", "/system/etc/firmware/wlan/macaddr0");

symlink("/system/lib/modules/pronto/pronto_wlan.ko", "/system/lib/modules/wlan.ko");