Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

iyokan: typo fix 1 - Use a smarter method for extracting proprietary …

…files

Change-Id: I13877e2d804566b7232a2a99abbdd29ec809a37d
  • Loading branch information...
commit 05fce5072293a345ec4da0b61ed692cc0f907884 1 parent c8283aa
@freexperia freexperia authored
View
0  extract-files.sh 100644 → 100755
File mode changed
View
312 proprietary-files.txt
@@ -1,212 +1,140 @@
# Prebuilt kl keymaps
-/system/usr/keychars/qwerty.kcm.bin
-/system/usr/keychars/qwerty.kcm.bin
-/system/usr/keychars/qwerty2.kcm.bin
-/system/usr/keylayout/atdaemon.kl
-/system/usr/keylayout/AVRCP.kl
-/system/usr/keylayout/msm_pmic_pwr_key.kl
-/system/usr/keylayout/pm8058-keypad.kl
-/system/usr/keylayout/qwerty.kl
-/system/usr/keylayout/simple_remote.kl
-/system/usr/keychars/us104-keyboard.kcm.bin
-/system/usr/keylayout/us104-keyboard.kl
-/system/usr/keylayout/usb_mouse.kl
+usr/keylayout/atdaemon.kl
+usr/keylayout/AVRCP.kl
+usr/keylayout/msm_pmic_pwr_key.kl
+usr/keylayout/pm8058-keypad.kl
+usr/keylayout/simple_remote.kl
+usr/keychars/us104-keyboard.kcm.bin
+usr/keylayout/us104-keyboard.kl
+usr/keylayout/usb_mouse.kl
## RIL related stuff
-/system/bin/port-bridge
-/system/bin/qmuxd
-/system/lib/libril.so
-/system/lib/libauth.so
-/system/lib/libcm.so
-/system/lib/libdiag.so
-/system/lib/libdll.so
-/system/lib/libdsm.so
-/system/lib/libdss.so
-/system/lib/libgsdi_exp.so
-/system/lib/libgstk_exp.so
-/system/lib/libmmgsdilib.so
-/system/lib/libnv.so
-/system/lib/liboem_rapi.so
-/system/lib/liboncrpc.so
-/system/lib/libpbmlib.so
-/system/lib/libqmi.so
-/system/lib/libqueue.so
-/system/lib/libuim.so
-/system/lib/libreference-ril.so
-/system/lib/libril-qc-1.so
-/system/lib/libwms.so
-/system/lib/libwmsts.so
-/system/lib/libdsi_netctrl.so
-/system/lib/libdsutils.so
-/system/lib/libidl.so
-/system/lib/libnetmgr.so
-/system/lib/libqdp.so
-/system/bin/netmgrd
+bin/port-bridge
+bin/qmuxd
+lib/libril.so
+lib/libauth.so
+lib/libcm.so
+lib/libdiag.so
+lib/libdll.so
+lib/libdsm.so
+lib/libdss.so
+lib/libgsdi_exp.so
+lib/libgstk_exp.so
+lib/libmmgsdilib.so
+lib/libnv.so
+lib/liboem_rapi.so
+lib/liboncrpc.so
+lib/libpbmlib.so
+lib/libqmi.so
+lib/libqueue.so
+lib/libuim.so
+lib/libreference-ril.so
+lib/libril-qc-1.so
+lib/libwms.so
+lib/libwmsts.so
+lib/libdsi_netctrl.so
+lib/libdsutils.so
+lib/libidl.so
+lib/libnetmgr.so
+lib/libqdp.so
+bin/netmgrd
## Adreno 200 files
-/system/lib/libgsl.so/libgsl.so
-/system/lib/egl/libGLESv1_CM_adreno200.so
-/system/lib/egl/libq3dtools_adreno200.so
-/system/lib/egl/libEGL_adreno200.so
-/system/lib/egl/libGLESv2_adreno200.so
+lib/libgsl.so
+lib/egl/libGLESv1_CM_adreno200.so
+lib/egl/libq3dtools_adreno200.so
+lib/egl/libEGL_adreno200.so
+lib/egl/libGLESv2_adreno200.so
## Camera proprietaries
-/system/lib/liboemcamera.so
-/system/lib/libmmjpeg.so
-/system/lib/libmmipl.so
-/system/lib/libcamera.so
-/system/lib/libcamera_clientsemc.so
-/system/lib/libcald_client.so
-/system/lib/libcald_debugger.so
-/system/lib/libcald_hal.so
-/system/lib/libcald_imageutil.so
-/system/lib/libcald_pal.so
-/system/lib/libcald_server.so
-/system/lib/libface.so
-/system/lib/libgemini.so
-/system/lib/libcameraextensionclient.so
-/system/lib/libcameraextensionjni.so
-/system/lib/libcameraextensionservice.so
-/system/lib/libcameralight.so
-/system/usr/semc/camera/LGI08BN1.dat
-/system/usr/semc/camera/SOD08BN1.dat
-/system/usr/semc/camera/SOD08BN0.dat
-/system/usr/semc/camera/SOD08BN0_IMX073.dat
-/system/usr/semc/camera/LGI08BN0_IMX105.dat
-/system/usr/semc/camera/LM3560_02_flash.dat
-/system/usr/semc/camera/LGI08BN0_DW9714.dat
-/system/usr/semc/camera/SOD08BN1_DW9714.dat
-/system/usr/semc/camera/APT00YP0_MT9V144.dat
-/system/usr/semc/camera/APT00YP0.dat
-/system/usr/semc/camera/SOD08BN1_IMX105.dat
-/system/usr/semc/camera/SOD08BN0_DW9714.dat
-/system/usr/semc/camera/LGI08BN1_DW9714.dat
-/system/usr/semc/camera/LGI08BN0.dat
-/system/usr/semc/camera/LGI08BN1_IMX105.dat
+lib/liboemcamera.so
+lib/libmmjpeg.so
+lib/libmmipl.so
+lib/libcamera.so
+lib/libcamera_clientsemc.so
+lib/libcald_client.so
+lib/libcald_debugger.so
+lib/libcald_hal.so
+lib/libcald_imageutil.so
+lib/libcald_pal.so
+lib/libcald_server.so
+lib/libface.so
+lib/libgemini.so
+lib/libcameraextensionclient.so
+lib/libcameraextensionjni.so
+lib/libcameraextensionservice.so
+lib/libcameralight.so
+usr/semc/camera/LGI08BN1.dat
+usr/semc/camera/SOD08BN1.dat
+usr/semc/camera/SOD08BN0.dat
+usr/semc/camera/SOD08BN0_IMX073.dat
+usr/semc/camera/LGI08BN0_IMX105.dat
+usr/semc/camera/LM3560_02_flash.dat
+usr/semc/camera/LGI08BN0_DW9714.dat
+usr/semc/camera/SOD08BN1_DW9714.dat
+usr/semc/camera/APT00YP0_MT9V144.dat
+usr/semc/camera/APT00YP0.dat
+usr/semc/camera/SOD08BN1_IMX105.dat
+usr/semc/camera/SOD08BN0_DW9714.dat
+usr/semc/camera/LGI08BN1_DW9714.dat
+usr/semc/camera/LGI08BN0.dat
+usr/semc/camera/LGI08BN1_IMX105.dat
## FIRMWARE
-/system/etc/firmware/bq27520_fw-0506_filever-0111_proj-hall_golden.bqfs
-/system/etc/firmware/bq27520_fw-0506_filever-0111_proj-hall_golden.dffs
-/system/etc/firmware/fm_rx_init_1273.1.bts
-/system/etc/firmware/fm_rx_init_1273.2.bts
-/system/etc/firmware/fm_tx_init_1273.1.bts
-/system/etc/firmware/fm_tx_init_1273.2.bts
-/system/etc/firmware/fmc_init_1273.1.bts
-/system/etc/firmware/fmc_init_1273.2.bts
-/system/etc/firmware/TIInit_7.5.20.bts
-/system/etc/firmware/TIInit_7.6.15.bts
-/system/etc/firmware/vidc_720p_command_control.fw
-/system/etc/firmware/vidc_720p_h263_dec_mc.fw
-/system/etc/firmware/vidc_720p_h264_dec_mc.fw
-/system/etc/firmware/vidc_720p_h264_enc_mc.fw
-/system/etc/firmware/vidc_720p_mp4_dec_mc.fw
-/system/etc/firmware/vidc_720p_mp4_enc_mc.fw
-/system/etc/firmware/vidc_720p_vc1_dec_mc.fw
-/system/etc/firmware/yamato_pfp.fw
-/system/etc/firmware/yamato_pm4.fw
+etc/firmware/bq27520_fw-0506_filever-0111_proj-hall_golden.bqfs
+etc/firmware/bq27520_fw-0506_filever-0111_proj-hall_golden.dffs
+etc/firmware/fm_rx_init_1273.1.bts
+etc/firmware/fm_rx_init_1273.2.bts
+etc/firmware/fm_tx_init_1273.1.bts
+etc/firmware/fm_tx_init_1273.2.bts
+etc/firmware/fmc_init_1273.1.bts
+etc/firmware/fmc_init_1273.2.bts
+etc/firmware/TIInit_7.5.20.bts
+etc/firmware/TIInit_7.6.15.bts
+etc/firmware/vidc_720p_command_control.fw
+etc/firmware/vidc_720p_h263_dec_mc.fw
+etc/firmware/vidc_720p_h264_dec_mc.fw
+etc/firmware/vidc_720p_h264_enc_mc.fw
+etc/firmware/vidc_720p_mp4_dec_mc.fw
+etc/firmware/vidc_720p_mp4_enc_mc.fw
+etc/firmware/vidc_720p_vc1_dec_mc.fw
+etc/firmware/yamato_pfp.fw
+etc/firmware/yamato_pm4.fw
## WIFI & BT TI1271
-/system/bin/nvimport
-/system/bin/hciattach
-/system/etc/init.qcom.bt.sh
-/system/etc/tiwlan.ini
-/system/etc/wifi/wpa_supplicant.conf
-/system/etc/wifi/softap/hostapd.conf
-/system/etc/tiwlan_firmware.bin
-/system/etc/wifi/softap/tiwlan_ap.ini
-/system/etc/wifi/softap/softap_firmware.bin
+bin/nvimport
+bin/hciattach
+etc/init.qcom.bt.sh
+etc/wifi/tiwlan.ini
+etc/wifi/wpa_supplicant.conf
+etc/wifi/tiwlan_firmware.bin
+etc/wifi/softap/hostapd.conf
+etc/wifi/softap/tiwlan_ap.ini
+etc/wifi/softap/softap_firmware.bin
## Other libraries and proprietary binaries
-/system/lib/libaudioalsa.so
-/system/lib/libaudioalsa.so
-/system/etc/vold.fstab
-/system/etc/sensors.conf
-/system/lib/hw/sensors.default.so
-/system/bin/bq275xx_fwloader
-/system/bin/akmd8975
-/system/bin/chargemon
-/system/lib/libmiscta.so
-
-#Temporary GPS Fix untill we have 50001 gps
-/system/lib/hw/gps.msm7x30.so
+lib/libaudioalsa.so
+etc/vold.fstab
+etc/sensors.conf
+lib/hw/sensors.default.so
+bin/bq275xx_fwloader
+bin/akmd8975
+bin/chargemon
+lib/libmiscta.so
#touch
-/system/etc/firmware/touch_iyokan_ttsp.hex
-
-#hardware keyboard layout
-/system/usr/keyboard-config/keyprint.xml
-/system/usr/keyboard-config/scancode_mapping.xml
-/system/usr/keyboard-config/languages/language_ara.xml
-/system/usr/keyboard-config/languages/language_bos.xml
-/system/usr/keyboard-config/languages/language_bul.xml
-/system/usr/keyboard-config/languages/language_cat.xml
-/system/usr/keyboard-config/languages/language_ces.xml
-/system/usr/keyboard-config/languages/language_dan.xml
-/system/usr/keyboard-config/languages/language_deu.xml
-/system/usr/keyboard-config/languages/language_ell.xml
-/system/usr/keyboard-config/languages/language_eng.xml
-/system/usr/keyboard-config/languages/language_esp.xml
-/system/usr/keyboard-config/languages/language_est.xml
-/system/usr/keyboard-config/languages/language_eus.xml
-/system/usr/keyboard-config/languages/language_fas.xml
-/system/usr/keyboard-config/languages/language_fin.xml
-/system/usr/keyboard-config/languages/language_fra.xml
-/system/usr/keyboard-config/languages/language_glg.xml
-/system/usr/keyboard-config/languages/language_heb.xml
-/system/usr/keyboard-config/languages/language_hrv.xml
-/system/usr/keyboard-config/languages/language_hun.xml
-/system/usr/keyboard-config/languages/language_ind.xml
-/system/usr/keyboard-config/languages/language_isl.xml
-/system/usr/keyboard-config/languages/language_ita.xml
-/system/usr/keyboard-config/languages/language_jav.xml
-/system/usr/keyboard-config/languages/language_kaz.xml
-/system/usr/keyboard-config/languages/language_lav.xml
-/system/usr/keyboard-config/languages/language_lit.xml
-/system/usr/keyboard-config/languages/language_mkd.xml
-/system/usr/keyboard-config/languages/language_msa.xml
-/system/usr/keyboard-config/languages/language_nld.xml
-/system/usr/keyboard-config/languages/language_nor.xml
-/system/usr/keyboard-config/languages/language_pol.xml
-/system/usr/keyboard-config/languages/language_por.xml
-/system/usr/keyboard-config/languages/language_ron.xml
-/system/usr/keyboard-config/languages/language_rus.xml
-/system/usr/keyboard-config/languages/language_slk.xml
-/system/usr/keyboard-config/languages/language_slv.xml
-/system/usr/keyboard-config/languages/language_sqi.xml
-/system/usr/keyboard-config/languages/language_srp.xml
-/system/usr/keyboard-config/languages/language_sun.xml
-/system/usr/keyboard-config/languages/language_swe.xml
-/system/usr/keyboard-config/languages/language_tgl.xml
-/system/usr/keyboard-config/languages/language_tha.xml
-/system/usr/keyboard-config/languages/language_tur.xml
-/system/usr/keyboard-config/languages/language_ukr.xml
-/system/usr/keyboard-config/languages/language_vie.xml
-/system/usr/keyboard-config/layouts/arabic.xml
-/system/usr/keyboard-config/layouts/azerty.xml
-/system/usr/keyboard-config/layouts/bopomofo.xml
-/system/usr/keyboard-config/layouts/cyrillic.xml
-/system/usr/keyboard-config/layouts/greek.xml
-/system/usr/keyboard-config/layouts/hebrew.xml
-/system/usr/keyboard-config/layouts/korean.xml
-/system/usr/keyboard-config/layouts/qwerty-br.xml
-/system/usr/keyboard-config/layouts/qwerty-cn-hk.xml
-/system/usr/keyboard-config/layouts/qwerty-en.xml
-/system/usr/keyboard-config/layouts/qwerty-jp.xml
-/system/usr/keyboard-config/layouts/qwerty-no-dk.xml
-/system/usr/keyboard-config/layouts/qwerty-se-fi.xml
-/system/usr/keyboard-config/layouts/qwertz.xml
-/system/usr/keyboard-config/layouts/thai.xml
+etc/firmware/touch_iyokan_ttsp.hex
#HDMI
-/system/bin/hdmid
-/system/lib/libhdmidisplay.so
-/system/app/SemcHdmiControlService.apk
-/system/framework/com.sonyericsson.privateapis_impl.jar
-/system/etc/permissions/com.sonyericsson.privateapis.xml
+bin/hdmid
+lib/libhdmidisplay.so
+app/SemcHdmiControlService.apk
+framework/com.sonyericsson.privateapis_impl.jar
+etc/permissions/com.sonyericsson.privateapis.xml
#ANT*
-/system/app/AntHalService.apk
-/system/etc/permissions/com.dsi.ant.antradio_library.xml
-/system/framework/com.dsi.ant.antradio_library.jar
-/system/lib/libanthal.so
+app/AntHalService.apk
+etc/permissions/com.dsi.ant.antradio_library.xml
+framework/com.dsi.ant.antradio_library.jar
+lib/libanthal.so
View
3  setup-makefiles.sh 100644 → 100755
@@ -24,7 +24,8 @@ MAKEFILE=../../../$OUTDIR/$DEVICE-vendor-blobs.mk
# Prebuilt libraries that are needed to build open-source libraries
PRODUCT_COPY_FILES := \\
- $OUTDIR/proprietary/lib/libcamera.so:obj/lib/libcamera.so
+ $OUTDIR/proprietary/lib/libcamera.so:obj/lib/libcamera.so \\
+ $OUTDIR/proprietary/lib/libaudioalsa.so:obj/lib/libaudioalsa.so
PRODUCT_COPY_FILES += \\
EOF

6 comments on commit 05fce50

@pedronveloso

I got this on my brand new Xperia PRO:

remote object '/system/etc/wifi/tiwlan.ini' does not exist
remote object '/system/etc/wifi/tiwlan_firmware.bin' does not exist
remote object '/system/etc/wifi/softap/tiwlan_firmware_ap.bin' does not exist

I'm guessing either these files don't actually exist, or they do in different versions. Mine is a MK16i , Compilation : 4.0.1.A.0.283

@defer
Collaborator

Extract-files will only work as is when extracting from CM.

@pedronveloso

Humm.. but I though the whole purpose of this script was to fetch the proprietary bits you need to compile CM. How do I extract from CM if I've not been able to compile CM to start with?

@defer
Collaborator

We are aware of the issue but in order to co-exist and be consistent with the way other devices, paths had to be different than what was defined in the stock rom. We could either break extract-files from CM or from the stock rom and we chose to keep it compatible with CM. If you flash CM you can then extract the files from there. It should be easy to write an unzip-files.sh too, which could grab the proprietaries from a precompiled cm build.

@pedronveloso

Ok I see. Humm.. where can I find a build then? :P . I've looked here : http://get.cm/ but there's no build for iyokan

@freexperia
Collaborator

use cm7 as base not semc rom

Please sign in to comment.
Something went wrong with that request. Please try again.