This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

diff-mooncake-files

By: a guest on Aug 13th, 2012  |  syntax: Diff  |  size: 46.86 KB  |  views: 50  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff -r deadlink_mooncake_files/Android.mk elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/Android.mk
  2. 15,17c15,16
  3. < ifeq ($(TARGET_BOOTLOADER_BOARD_NAME),mooncake)
  4. <     include $(call all-named-subdir-makefiles, recovery libaudio libril libcamera libgralloc libcopybit libsensors RacerParts liblights)
  5. < endif
  6. ---
  7. >
  8. > include $(call all-named-subdir-makefiles, recovery libaudio libril libcamera libgralloc libcopybit libsensors)
  9. Only in deadlink_mooncake_files/: apns-conf.xml
  10. diff -r deadlink_mooncake_files/BoardConfig.mk elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/BoardConfig.mk
  11. 26d25
  12. < #BUILD_TSLIB := true    
  13. 28,33c27
  14. < ##################
  15. < # sorry.. but its not work. so need to use prebuilded
  16. < BUILD_NETD := false
  17. < BUILD_VOLD := false
  18. < BUILD_VOLD2 := false
  19. < #################
  20. ---
  21. > BOARD_HAS_FLIPPED_SCREEN := true
  22. 35c29
  23. < BOARD_HAS_FLIPPED_SCREEN := false
  24. ---
  25. > BOARD_NO_RGBX_8888 := true
  26. 41c35
  27. < BOARD_KERNEL_CMDLINE := androidboot.hardware=mooncake console=null
  28. ---
  29. > BOARD_KERNEL_CMDLINE := androidboot.hardware=mooncake console=null g_android.product_id=0x1354 g_android.serial_number=mooncake-CM7
  30. 54,56c48,49
  31. < BOARD_HAVE_FM_RADIO := true
  32. < BOARD_GLOBAL_CFLAGS += -DHAVE_FM_RADIO
  33. < BOARD_FM_DEVICE := si4708
  34. ---
  35. > #BOARD_HAVE_FM_RADIO := true
  36. > #BOARD_GLOBAL_CFLAGS += -DHAVE_FM_RADIO
  37. 72a66,68
  38. > # No fallback font by default (space savings)
  39. > #NO_FALLBACK_FONT:=true
  40. >
  41. 77,79c73,75
  42. < BOARD_GPS_LIBRARIES := libloc
  43. < BOARD_USES_GPSSHIM := true
  44. < BOARD_GPS_NEEDS_XTRA := true
  45. ---
  46. > BOARD_USES_QCOM_GPS := true
  47. > BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := mooncake
  48. > BOARD_VENDOR_QCOM_GPS_LOC_API_AMSS_VERSION := 1240
  49. 81d76
  50. < # for gen2
  51. 82a78
  52. > #BOARD_PAGE_SIZE := 0x00000800
  53. 87c83,84
  54. < BOARD_CUSTOM_USB_CONTROLLER := ../../device/zte/mooncake/UsbController.cpp
  55. ---
  56. > BOARD_USE_USB_MASS_STORAGE_SWITCH := true
  57. > TARGET_USE_CUSTOM_LUN_FILE_PATH := /sys/devices/platform/msm_hsusb/gadget/lun
  58. 91,107c88,103
  59. < #for gen2!!!
  60. < # cat /proc/mtd
  61. < #dev:    size   erasesize  name
  62. < #mtd0: 00500000 00020000 "recovery"
  63. < #mtd1: 00500000 00020000 "boot"
  64. < #mtd2: 00180000 00020000 "splash"
  65. < #mtd3: 00080000 00020000 "misc"
  66. < #mtd4: 02580000 00020000 "cache"
  67. < #mtd5: 0dc00000 00020000 "system"
  68. < #mtd6: 0a280000 00020000 "userdata"
  69. < #mtd7: 01500000 00020000 "oem"
  70. < #mtd8: 00180000 00020000 "persist"
  71. <
  72. < BOARD_BOOTIMAGE_PARTITION_SIZE     := 0x00500000
  73. < BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00500000
  74. < BOARD_SYSTEMIMAGE_PARTITION_SIZE   := 0x0dc80000
  75. < BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x0a280000
  76. ---
  77. > # # cat /proc/mtd
  78. > # dev:    size   erasesize  name
  79. > # mtd0: 00480000 00020000 "recovery"
  80. > # mtd1: 00480000 00020000 "boot"
  81. > # mtd2: 00180000 00020000 "splash"
  82. > # mtd3: 00060000 00020000 "misc"
  83. > # mtd4: 02940000 00020000 "cache"
  84. > # mtd5: 0cf80000 00020000 "system"
  85. > # mtd6: 0d020000 00020000 "userdata"
  86. > # mtd7: 00180000 00020000 "persist"
  87. >
  88. >
  89. > BOARD_BOOTIMAGE_PARTITION_SIZE     := 0x00480000
  90. > BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00480000
  91. > BOARD_SYSTEMIMAGE_PARTITION_SIZE   := 0x0cf80000
  92. > BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x0d020000
  93. 111d106
  94. < TARGET_RECOVERY_INITRC := device/zte/mooncake/recovery/recovery.rc
  95. diff -r deadlink_mooncake_files/device_mooncake.mk elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/device_mooncake.mk
  96. 29c29
  97. < #PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/ldpi
  98. ---
  99. >
  100. 33,34c33
  101. < PRODUCT_MODEL := Racer
  102. < PRODUCT_MANUFACTURER := ZTE
  103. ---
  104. > PRODUCT_MODEL := ZTE mooncake
  105. 46a46,47
  106. >     gralloc.mooncake \
  107. >     copybit.mooncake \
  108. 48d48
  109. <     lights.mooncake \
  110. 52,57c52
  111. <     FM \
  112. <     abtfilt \
  113. <     RacerParts \
  114. <     dexpreopt
  115. < #    gralloc.mooncake \
  116. < #    copybit.mooncake \
  117. ---
  118. >     dexpreopt
  119. 95a91
  120. >     frameworks/base/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
  121. 101a98,99
  122. >     device/zte/mooncake/prebuilt/cifs.ko:system/lib/modules/2.6.32.9-perf/cifs.ko \
  123. >     device/zte/mooncake/prebuilt/zram.ko:system/lib/modules/2.6.32.9-perf/zram.ko \
  124. 114,131d111
  125. < #gralloc & copybit
  126. < PRODUCT_COPY_FILES += \
  127. <     device/zte/mooncake/prebuilt/copybit.mooncake.so:system/lib/hw/copybit.mooncake.so \
  128. <     device/zte/mooncake/prebuilt/gralloc.mooncake.so:system/lib/hw/gralloc.mooncake.so
  129. <
  130. < # vold & netd
  131. < PRODUCT_COPY_FILES += \
  132. <     device/zte/mooncake/prebuilt/vold:system/bin/vold \
  133. <     device/zte/mooncake/prebuilt/netd:system/bin/netd
  134. <    
  135. < # ldpi bootanimation
  136. < PRODUCT_COPY_FILES += \
  137. <     device/zte/mooncake/prebuilt/bootanimation.zip:system/media/bootanimation.zip
  138. <
  139. < # apns
  140. < PRODUCT_COPY_FILES += \
  141. <     device/zte/mooncake/apns-conf.xml:system/etc/apns-conf.xml
  142. <
  143. 137d116
  144. <     rild.libargs=-d /dev/smd0 \
  145. 149d127
  146. <     debug.sf.hw=0 \
  147. 152,154c130,131
  148. <
  149. < PRODUCT_LOCALES += mdpi ldpi
  150. < #PRODUCT_LOCALES := ldpi mdpi en_US ru_RU
  151. ---
  152. > # mooncake uses high-density artwork where available
  153. > PRODUCT_LOCALES += hdpi
  154. 161c138
  155. <     qemu.sf.lcd_density=120    
  156. ---
  157. >     qemu.sf.lcd_density=120
  158. diff -r deadlink_mooncake_files/extract-files.sh elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/extract-files.sh
  159. 60a61,63
  160. > #lights
  161. > adb pull /system/lib/hw/lights.msm7k.so ../../../vendor/zte/$DEVICE/proprietary/lights.msm7k.so
  162. >
  163. 93,96c96
  164. < #GPS
  165. < adb pull /system/lib/libloc.so ../../../vendor/zte/$DEVICE/proprietary/libloc.so
  166. < adb pull /system/lib/libloc-rpc.so ../../../vendor/zte/$DEVICE/proprietary/libloc-rpc.so
  167. < adb pull /system/lib/libcommondefs.so ../../../vendor/zte/$DEVICE/proprietary/libcommondefs.so
  168. ---
  169. >
  170. 115c115
  171. < # All the blobs necessary for blade
  172. ---
  173. > # All the blobs necessary for racer
  174. 126d125
  175. <     vendor/zte/__DEVICE__/proprietary/akmd2:system/bin/netd \\
  176. 145a145
  177. >     vendor/zte/__DEVICE__/proprietary/lights.msm7k.so:system/lib/hw/lights.msm7k.so \\
  178. 175,179c175,177
  179. <     vendor/zte/__DEVICE__/proprietary/libomx_sharedlibrary.so:system/lib/libomx_sharedlibrary.so \\
  180. <     vendor/zte/__DEVICE__/proprietary/libloc.so:system/lib/libloc.so \\
  181. <     vendor/zte/__DEVICE__/proprietary/libloc.so:obj/lib/libloc.so \\
  182. <     vendor/zte/__DEVICE__/proprietary/libloc-rpc.so:system/lib/libloc-rpc.so \\
  183. <     vendor/zte/__DEVICE__/proprietary/libcommondefs.so:system/lib/libcommondefs.so
  184. ---
  185. >     vendor/zte/__DEVICE__/proprietary/libomx_sharedlibrary.so:system/lib/libomx_sharedlibrary.so
  186. >
  187. >
  188. diff -r deadlink_mooncake_files/init.mooncake.rc elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/init.mooncake.rc
  189. 1a2,5
  190. >
  191. >
  192. >
  193. >
  194. 12,13c16,17
  195. < #    write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 245760
  196. < #    write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand
  197. ---
  198. >     write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 245760
  199. >     write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand
  200. 18,19d21
  201. < # Setup charging
  202. <     chown system system /sys/module/msm_battery/parameters/usb_chg_enable
  203. 29a32,33
  204. >     chown bluetooth bluetooth /dev/ttyHS0
  205. >     chmod 0660 /dev/ttyHS0
  206. 33,35d36
  207. < # Setup android gadget
  208. <    write /sys/module/g_android/parameters/serial_number CM7-Blade
  209. <    write /sys/module/g_android/parameters/product_id 0x1351
  210. 46a48,58
  211. > # Permission for ril
  212. >    chown radio system /dev/pm_monitor
  213. >    chmod 0770 /ddev/pm_monitor
  214. >    chown radio system /dev/oncrpc/30000016:9c95bb4d
  215. >    chown radio system /dev/oncrpc/30000000:dd7fe79a
  216. >    chown radio system /dev/oncrpc/30000019:821a1945
  217. >    chown radio system /dev/oncrpc/3000003c:beb78360
  218. >    chown radio system /dev/oncrpc/30000003:d03123cc
  219. >    chown radio system /dev/oncrpc/3000000e:00060000
  220. >    chown radio system /dev/oncrpc/30000012:00010000
  221. >    chmod 0777 /dev/oncrpc/3000000e:00060000
  222. 57a70,80
  223. >     chown radio system /dev/pm_monitor
  224. >
  225. > # Sensors
  226. >     chmod 0777 /dev/akm8973_aot
  227. >     chmod 0777 /dev/akm8973_dev
  228. >     chmod 0777 /dev/taos
  229. >     mkdir /data/misc/prox 0777 radio radio
  230. >
  231. > # radio
  232. >     chmod 0777 /dev/si4708
  233. >
  234. 87,93d109
  235. < on property:init.svc.bluetoothd=running
  236. <     write /sys/devices/virtual/bluetooth/hci0/idle_timeout 7000
  237. <     start abtfilt
  238. <
  239. < on property:init.svc.bluetoothd=stopped
  240. <     stop abtfilt
  241. <
  242. 124,126c140,142
  243. < service abtfilt /system/bin/abtfilt -c -d -z -n
  244. <     disabled
  245. <     oneshot
  246. ---
  247. > #service abtfilt /system/bin/abtfilt -c -d -z -n
  248. > #    disabled
  249. > #    oneshot
  250. 129a146,151
  251. >
  252. > on property:persist.sys.charging.disable=1
  253. >     write /sys/module/msm_battery/parameters/usb_chg_enable 0
  254. >
  255. > on property:persist.sys.charging.disable=0
  256. >     write /sys/module/msm_battery/parameters/usb_chg_enable 1
  257. Binary files deadlink_mooncake_files/kernel and elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/kernel differ
  258. diff -r deadlink_mooncake_files/libaudio/AudioHardware.cpp elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/libaudio/AudioHardware.cpp
  259. 112c112
  260. <     mFmRadioEnabled(false),mFmPrev(false),mFmVolume(0),fmfd(-1)
  261. ---
  262. >     mFmRadioEnabled(false),mFmPrev(false),mFmVolume(0)
  263. 188a189,191
  264. > #ifdef HAVE_FM_RADIO
  265. >     fmfd = open("/dev/si4708", O_RDWR);
  266. > #endif
  267. 1155,1156d1157
  268. <       if(fmfd < 0)
  269. <           fmfd = open("/dev/si4708", O_RDWR);
  270. 1164,1165d1164
  271. <         close(fmfd);
  272. <         fmfd = -1;
  273. diff -r deadlink_mooncake_files/libaudio/AudioPolicyManager.cpp elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/libaudio/AudioPolicyManager.cpp
  274. 127,133d126
  275. <         device = mAvailableOutputDevices & AudioSystem::DEVICE_OUT_SPEAKER;
  276. <         if (device == 0) {
  277. <             LOGE("getDeviceForStrategy() speaker device not found");
  278. <         }
  279. <         // The second device used for sonification is the same as the device used by media strategy
  280. <         // FALL THROUGH
  281. <
  282. 134a128
  283. >
  284. 137c131
  285. <         if (mPhoneState == AudioSystem::MODE_IN_CALL) {
  286. ---
  287. >         if ((mPhoneState == AudioSystem::MODE_IN_CALL) || (mPhoneState == AudioSystem::MODE_RINGTONE)) {
  288. 140a135,140
  289. >         device = mAvailableOutputDevices & AudioSystem::DEVICE_OUT_SPEAKER;
  290. >         if (device == 0) {
  291. >             LOGE("getDeviceForStrategy() speaker device not found");
  292. >         }
  293. >         // The second device used for sonification is the same as the device used by media strategy
  294. >         // FALL THROUGH
  295. diff -r deadlink_mooncake_files/libaudio/msm_audio.h elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/libaudio/msm_audio.h
  296. 1,11c1,16
  297. < /****************************************************************************
  298. <  ****************************************************************************
  299. <  ***
  300. <  ***   This header was automatically generated from a Linux kernel header
  301. <  ***   of the same name, to make information necessary for userspace to
  302. <  ***   call into the kernel available to libc.  It contains only constants,
  303. <  ***   structures, and macros generated from the original header, and thus,
  304. <  ***   contains no copyrightable information.
  305. <  ***
  306. <  ****************************************************************************
  307. <  ****************************************************************************/
  308. ---
  309. > /* include/linux/msm_audio.h
  310. >  *
  311. >  * Copyright (C) 2008 Google, Inc.
  312. >  * Copyright (c) 2009, Code Aurora Forum. All rights reserved.
  313. >  *
  314. >  * This software is licensed under the terms of the GNU General Public
  315. >  * License version 2, as published by the Free Software Foundation, and
  316. >  * may be copied, distributed, and modified under those terms.
  317. >  *
  318. >  * This program is distributed in the hope that it will be useful,
  319. >  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  320. >  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  321. >  * GNU General Public License for more details.
  322. >  *
  323. >  */
  324. >
  325. 18a24,25
  326. > /* PCM Audio */
  327. >
  328. 21,26c28,33
  329. < #define AUDIO_START _IOW(AUDIO_IOCTL_MAGIC, 0, unsigned)
  330. < #define AUDIO_STOP _IOW(AUDIO_IOCTL_MAGIC, 1, unsigned)
  331. < #define AUDIO_FLUSH _IOW(AUDIO_IOCTL_MAGIC, 2, unsigned)
  332. < #define AUDIO_GET_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 3, unsigned)
  333. < #define AUDIO_SET_CONFIG _IOW(AUDIO_IOCTL_MAGIC, 4, unsigned)
  334. < #define AUDIO_GET_STATS _IOR(AUDIO_IOCTL_MAGIC, 5, unsigned)
  335. ---
  336. > #define AUDIO_START        _IOW(AUDIO_IOCTL_MAGIC, 0, unsigned)
  337. > #define AUDIO_STOP         _IOW(AUDIO_IOCTL_MAGIC, 1, unsigned)
  338. > #define AUDIO_FLUSH        _IOW(AUDIO_IOCTL_MAGIC, 2, unsigned)
  339. > #define AUDIO_GET_CONFIG   _IOR(AUDIO_IOCTL_MAGIC, 3, unsigned)
  340. > #define AUDIO_SET_CONFIG   _IOW(AUDIO_IOCTL_MAGIC, 4, unsigned)
  341. > #define AUDIO_GET_STATS    _IOR(AUDIO_IOCTL_MAGIC, 5, unsigned)
  342. 28,34c35,41
  343. < #define AUDIO_SET_ADRC _IOW(AUDIO_IOCTL_MAGIC, 7, unsigned)
  344. < #define AUDIO_SET_EQ _IOW(AUDIO_IOCTL_MAGIC, 8, unsigned)
  345. < #define AUDIO_SET_RX_IIR _IOW(AUDIO_IOCTL_MAGIC, 9, unsigned)
  346. < #define AUDIO_SET_VOLUME _IOW(AUDIO_IOCTL_MAGIC, 10, unsigned)
  347. < #define AUDIO_PAUSE _IOW(AUDIO_IOCTL_MAGIC, 11, unsigned)
  348. < #define AUDIO_PLAY_DTMF _IOW(AUDIO_IOCTL_MAGIC, 12, unsigned)
  349. < #define AUDIO_GET_EVENT _IOR(AUDIO_IOCTL_MAGIC, 13, unsigned)
  350. ---
  351. > #define AUDIO_SET_ADRC     _IOW(AUDIO_IOCTL_MAGIC, 7, unsigned)
  352. > #define AUDIO_SET_EQ       _IOW(AUDIO_IOCTL_MAGIC, 8, unsigned)
  353. > #define AUDIO_SET_RX_IIR   _IOW(AUDIO_IOCTL_MAGIC, 9, unsigned)
  354. > #define AUDIO_SET_VOLUME   _IOW(AUDIO_IOCTL_MAGIC, 10, unsigned)
  355. > #define AUDIO_PAUSE        _IOW(AUDIO_IOCTL_MAGIC, 11, unsigned)
  356. > #define AUDIO_PLAY_DTMF    _IOW(AUDIO_IOCTL_MAGIC, 12, unsigned)
  357. > #define AUDIO_GET_EVENT    _IOR(AUDIO_IOCTL_MAGIC, 13, unsigned)
  358. 42c49,50
  359. < #define AUDIO_GET_SND_DEVICES _IOWR(AUDIO_IOCTL_MAGIC, 21,   struct msm_snd_device_list)
  360. ---
  361. > #define AUDIO_GET_SND_DEVICES _IOWR(AUDIO_IOCTL_MAGIC, 21, \
  362. >                               struct msm_snd_device_list)
  363. 45c53,54
  364. < #define AUDIO_ROUTE_STREAM _IOW(AUDIO_IOCTL_MAGIC, 24,   struct msm_audio_route_config)
  365. ---
  366. > #define AUDIO_ROUTE_STREAM _IOW(AUDIO_IOCTL_MAGIC, 24, \
  367. >                               struct msm_audio_route_config)
  368. 48,59c57,72
  369. < #define AUDIO_SWITCH_DEVICE _IOW(AUDIO_IOCTL_MAGIC, 32, unsigned)
  370. < #define AUDIO_SET_MUTE _IOW(AUDIO_IOCTL_MAGIC, 33, unsigned)
  371. < #define AUDIO_UPDATE_ACDB _IOW(AUDIO_IOCTL_MAGIC, 34, unsigned)
  372. < #define AUDIO_START_VOICE _IOW(AUDIO_IOCTL_MAGIC, 35, unsigned)
  373. < #define AUDIO_STOP_VOICE _IOW(AUDIO_IOCTL_MAGIC, 36, unsigned)
  374. < #define AUDIO_REINIT_ACDB _IOW(AUDIO_IOCTL_MAGIC, 39, unsigned)
  375. < #define AUDIO_OUTPORT_FLUSH _IOW(AUDIO_IOCTL_MAGIC, 40, unsigned short)
  376. < #define AUDIO_SET_ERR_THRESHOLD_VALUE _IOW(AUDIO_IOCTL_MAGIC, 41,   unsigned short)
  377. < #define AUDIO_GET_BITSTREAM_ERROR_INFO _IOR(AUDIO_IOCTL_MAGIC, 42,   struct msm_audio_bitstream_error_info)
  378. <
  379. < #define AUDIO_SET_STREAM_CONFIG _IOW(AUDIO_IOCTL_MAGIC, 80,   struct msm_audio_stream_config)
  380. < #define AUDIO_GET_STREAM_CONFIG _IOR(AUDIO_IOCTL_MAGIC, 81,   struct msm_audio_stream_config)
  381. ---
  382. > #define AUDIO_SWITCH_DEVICE  _IOW(AUDIO_IOCTL_MAGIC, 32, unsigned)
  383. > #define AUDIO_SET_MUTE       _IOW(AUDIO_IOCTL_MAGIC, 33, unsigned)
  384. > #define AUDIO_UPDATE_ACDB    _IOW(AUDIO_IOCTL_MAGIC, 34, unsigned)
  385. > #define AUDIO_START_VOICE    _IOW(AUDIO_IOCTL_MAGIC, 35, unsigned)
  386. > #define AUDIO_STOP_VOICE     _IOW(AUDIO_IOCTL_MAGIC, 36, unsigned)
  387. > #define AUDIO_REINIT_ACDB    _IOW(AUDIO_IOCTL_MAGIC, 39, unsigned)
  388. > #define AUDIO_OUTPORT_FLUSH  _IOW(AUDIO_IOCTL_MAGIC, 40, unsigned short)
  389. > #define AUDIO_SET_ERR_THRESHOLD_VALUE _IOW(AUDIO_IOCTL_MAGIC, 41, \
  390. >                                       unsigned short)
  391. > #define AUDIO_GET_BITSTREAM_ERROR_INFO _IOR(AUDIO_IOCTL_MAGIC, 42, \
  392. >                              struct msm_audio_bitstream_error_info)
  393. > /* Qualcomm extensions */
  394. > #define AUDIO_SET_STREAM_CONFIG   _IOW(AUDIO_IOCTL_MAGIC, 80, \
  395. >                               struct msm_audio_stream_config)
  396. > #define AUDIO_GET_STREAM_CONFIG   _IOR(AUDIO_IOCTL_MAGIC, 81, \
  397. >                               struct msm_audio_stream_config)
  398. 61,65c74,80
  399. < #define AUDIO_GET_STREAM_INFO _IOR(AUDIO_IOCTL_MAGIC, 83,   struct msm_audio_bitstream_info)
  400. < #define AUDIO_SET_PAN _IOW(AUDIO_IOCTL_MAGIC, 84, unsigned)
  401. < #define AUDIO_SET_QCONCERT_PLUS _IOW(AUDIO_IOCTL_MAGIC, 85, unsigned)
  402. < #define AUDIO_SET_MBADRC _IOW(AUDIO_IOCTL_MAGIC, 86, unsigned)
  403. < #define AUDIO_SET_VOLUME_PATH _IOW(AUDIO_IOCTL_MAGIC, 87,   struct msm_vol_info)
  404. ---
  405. > #define AUDIO_GET_STREAM_INFO   _IOR(AUDIO_IOCTL_MAGIC, 83, \
  406. >                              struct msm_audio_bitstream_info)
  407. > #define AUDIO_SET_PAN       _IOW(AUDIO_IOCTL_MAGIC, 84, unsigned)
  408. > #define AUDIO_SET_QCONCERT_PLUS       _IOW(AUDIO_IOCTL_MAGIC, 85, unsigned)
  409. > #define AUDIO_SET_MBADRC       _IOW(AUDIO_IOCTL_MAGIC, 86, unsigned)
  410. > #define AUDIO_SET_VOLUME_PATH   _IOW(AUDIO_IOCTL_MAGIC, 87, \
  411. >                                    struct msm_vol_info)
  412. 67,120c82,133
  413. < #define AUDIO_ENABLE_AUDPRE _IOW(AUDIO_IOCTL_MAGIC, 89, unsigned)
  414. < #define AUDIO_SET_AGC _IOW(AUDIO_IOCTL_MAGIC, 90, unsigned)
  415. < #define AUDIO_SET_NS _IOW(AUDIO_IOCTL_MAGIC, 91, unsigned)
  416. < #define AUDIO_SET_TX_IIR _IOW(AUDIO_IOCTL_MAGIC, 92, unsigned)
  417. < #define AUDIO_GET_BUF_CFG _IOW(AUDIO_IOCTL_MAGIC, 93, struct msm_audio_buf_cfg)
  418. < #define AUDIO_SET_BUF_CFG _IOW(AUDIO_IOCTL_MAGIC, 94, struct msm_audio_buf_cfg)
  419. <
  420. <
  421. < #define AUDIO_SET_ACDB_BLK _IOW(AUDIO_IOCTL_MAGIC, 95, struct msm_acdb_cmd_device)
  422. < #define AUDIO_GET_ACDB_BLK _IOW(AUDIO_IOCTL_MAGIC, 96, struct msm_acdb_cmd_device)
  423. <
  424. < #define AUDIO_MAX_COMMON_IOCTL_NUM 100
  425. <
  426. < #define HANDSET_MIC 0x01
  427. < #define HANDSET_SPKR 0x02
  428. < #define HEADSET_MIC 0x03
  429. < #define HEADSET_SPKR_MONO 0x04
  430. < #define HEADSET_SPKR_STEREO 0x05
  431. < #define SPKR_PHONE_MIC 0x06
  432. < #define SPKR_PHONE_MONO 0x07
  433. < #define SPKR_PHONE_STEREO 0x08
  434. < #define BT_SCO_MIC 0x09
  435. < #define BT_SCO_SPKR 0x0A
  436. < #define BT_A2DP_SPKR 0x0B
  437. < #define TTY_HEADSET_MIC 0x0C
  438. < #define TTY_HEADSET_SPKR 0x0D
  439. <
  440. < #define DEFAULT_TX 0x0E
  441. < #define DEFAULT_RX 0x0F
  442. <
  443. < #define BT_A2DP_TX 0x10
  444. <
  445. < #define HEADSET_MONO_PLUS_SPKR_MONO_RX 0x11
  446. < #define HEADSET_MONO_PLUS_SPKR_STEREO_RX 0x12
  447. < #define HEADSET_STEREO_PLUS_SPKR_MONO_RX 0x13
  448. < #define HEADSET_STEREO_PLUS_SPKR_STEREO_RX 0x14
  449. <
  450. < #define I2S_RX 0x20
  451. < #define I2S_TX 0x21
  452. <
  453. < #define ADRC_ENABLE 0x0001
  454. < #define EQ_ENABLE 0x0002
  455. < #define IIR_ENABLE 0x0004
  456. < #define QCONCERT_PLUS_ENABLE 0x0008
  457. < #define MBADRC_ENABLE 0x0010
  458. <
  459. < #define AGC_ENABLE 0x0001
  460. < #define NS_ENABLE 0x0002
  461. < #define TX_IIR_ENABLE 0x0004
  462. < #define FLUENCE_ENABLE 0x0008
  463. <
  464. < #define VOC_REC_UPLINK 0x00
  465. < #define VOC_REC_DOWNLINK 0x01
  466. < #define VOC_REC_BOTH 0x02
  467. ---
  468. > #define AUDIO_ENABLE_AUDPRE  _IOW(AUDIO_IOCTL_MAGIC, 89, unsigned)
  469. > #define AUDIO_SET_AGC        _IOW(AUDIO_IOCTL_MAGIC, 90, unsigned)
  470. > #define AUDIO_SET_NS         _IOW(AUDIO_IOCTL_MAGIC, 91, unsigned)
  471. > #define AUDIO_SET_TX_IIR     _IOW(AUDIO_IOCTL_MAGIC, 92, unsigned)
  472. >
  473. > #define       AUDIO_MAX_COMMON_IOCTL_NUM      100
  474. >
  475. >
  476. > #define HANDSET_MIC                   0x01
  477. > #define HANDSET_SPKR                  0x02
  478. > #define HEADSET_MIC                   0x03
  479. > #define HEADSET_SPKR_MONO             0x04
  480. > #define HEADSET_SPKR_STEREO           0x05
  481. > #define SPKR_PHONE_MIC                        0x06
  482. > #define SPKR_PHONE_MONO                       0x07
  483. > #define SPKR_PHONE_STEREO             0x08
  484. > #define BT_SCO_MIC                    0x09
  485. > #define BT_SCO_SPKR                   0x0A
  486. > #define BT_A2DP_SPKR                  0x0B
  487. > #define TTY_HEADSET_MIC                       0x0C
  488. > #define TTY_HEADSET_SPKR              0x0D
  489. >
  490. > /* Default devices are not supported in a */
  491. > /* device switching context. Only supported */
  492. > /* for stream devices. */
  493. > /* DO NOT USE */
  494. > #define DEFAULT_TX                    0x0E
  495. > #define DEFAULT_RX                    0x0F
  496. >
  497. > #define BT_A2DP_TX                    0x10
  498. >
  499. > #define HEADSET_MONO_PLUS_SPKR_MONO_RX         0x11
  500. > #define HEADSET_MONO_PLUS_SPKR_STEREO_RX       0x12
  501. > #define HEADSET_STEREO_PLUS_SPKR_MONO_RX       0x13
  502. > #define HEADSET_STEREO_PLUS_SPKR_STEREO_RX     0x14
  503. >
  504. > #define I2S_RX                                0x20
  505. > #define I2S_TX                                0x21
  506. >
  507. > #define ADRC_ENABLE           0x0001
  508. > #define EQ_ENABLE             0x0002
  509. > #define IIR_ENABLE            0x0004
  510. > #define QCONCERT_PLUS_ENABLE  0x0008
  511. > #define MBADRC_ENABLE         0x0010
  512. >
  513. > #define AGC_ENABLE            0x0001
  514. > #define NS_ENABLE             0x0002
  515. > #define TX_IIR_ENABLE         0x0004
  516. >
  517. > #define VOC_REC_UPLINK                0x00
  518. > #define VOC_REC_DOWNLINK      0x01
  519. > #define VOC_REC_BOTH          0x02
  520. 123,130c136,143
  521. <  uint32_t buffer_size;
  522. <  uint32_t buffer_count;
  523. <  uint32_t channel_count;
  524. <  uint32_t sample_rate;
  525. <  uint32_t type;
  526. <  uint32_t meta_field;
  527. <  uint32_t bits;
  528. <  uint32_t unused[3];
  529. ---
  530. >       uint32_t buffer_size;
  531. >       uint32_t buffer_count;
  532. >       uint32_t channel_count;
  533. >       uint32_t sample_rate;
  534. >       uint32_t type;
  535. >       uint32_t meta_field;
  536. >       uint32_t bits;
  537. >       uint32_t unused[3];
  538. 134,135c147,148
  539. <  uint32_t buffer_size;
  540. <  uint32_t buffer_count;
  541. ---
  542. >       uint32_t buffer_size;
  543. >       uint32_t buffer_count;
  544. 139,141c152,154
  545. <  uint32_t byte_count;
  546. <  uint32_t sample_count;
  547. <  uint32_t unused[2];
  548. ---
  549. >       uint32_t byte_count;
  550. >       uint32_t sample_count;
  551. >       uint32_t unused[2];
  552. 145,146c158,159
  553. <  int fd;
  554. <  void *vaddr;
  555. ---
  556. >       int fd;
  557. >       void *vaddr;
  558. 150,154c163,167
  559. <  void *buf_addr;
  560. <  uint32_t buf_len;
  561. <  uint32_t data_len;
  562. <  void *private_data;
  563. <  unsigned short mfield_sz;
  564. ---
  565. >       void *buf_addr;
  566. >       uint32_t buf_len;
  567. >       uint32_t data_len;
  568. >       void *private_data;
  569. >       unsigned short mfield_sz; /*only useful for data has meta field */
  570. 157,160c170
  571. < struct msm_audio_buf_cfg{
  572. <       uint32_t        meta_info_enable;
  573. <       uint32_t        frames_per_buf;
  574. < };
  575. ---
  576. > /* Audio routing */
  577. 165c175
  578. < #define SND_MUTE_MUTED 1
  579. ---
  580. > #define SND_MUTE_MUTED   1
  581. 168,169c178,179
  582. <  uint32_t mute;
  583. <  uint32_t path;
  584. ---
  585. >       uint32_t mute;
  586. >       uint32_t path;
  587. 173,174c183,184
  588. <  uint32_t vol;
  589. <  uint32_t path;
  590. ---
  591. >       uint32_t vol;
  592. >       uint32_t path;
  593. 178c188
  594. <  uint32_t rec_mode;
  595. ---
  596. >       uint32_t rec_mode;
  597. 182,184c192,194
  598. <  uint32_t device;
  599. <  uint32_t ear_mute;
  600. <  uint32_t mic_mute;
  601. ---
  602. >       uint32_t device;
  603. >       uint32_t ear_mute;
  604. >       uint32_t mic_mute;
  605. 192,194c202,204
  606. <  uint32_t device;
  607. <  uint32_t method;
  608. <  uint32_t volume;
  609. ---
  610. >       uint32_t device;
  611. >       uint32_t method;
  612. >       uint32_t volume;
  613. 198a209,210
  614. > /* Returns the number of SND endpoints supported. */
  615. >
  616. 202,203c214,215
  617. <  int id;
  618. <  char name[64];
  619. ---
  620. >       int id; /* input and output */
  621. >       char name[64]; /* output only */
  622. 205a218,224
  623. > /* Takes an index between 0 and one less than the number returned by
  624. >  * SND_GET_NUM_ENDPOINTS, and returns the SND index and name of a
  625. >  * SND endpoint.  On input, the .id field contains the number of the
  626. >  * endpoint, and on exit it contains the SND index, while .name contains
  627. >  * the description of the endpoint.
  628. >  */
  629. >
  630. 207a227
  631. >
  632. 209a230
  633. > #define SND_SET_AUDIO_LOOPBACK _IOW(SND_IOCTL_MAGIC, 8, unsigned *)
  634. 212,214c233,236
  635. <  uint32_t pcm_feedback;
  636. <  uint32_t buffer_count;
  637. <  uint32_t buffer_size;
  638. ---
  639. >       uint32_t pcm_feedback;  /* 0 - disable > 0 - enable */
  640. >       uint32_t buffer_count;  /* Number of buffers to allocate */
  641. >       uint32_t buffer_size;   /* Size of buffer for capturing of
  642. >                                  PCM samples */
  643. 220c242
  644. < #define AUDIO_EVENT_READ_DONE 3
  645. ---
  646. > #define AUDIO_EVENT_READ_DONE   3
  647. 228,233c250,255
  648. <  uint32_t codec_type;
  649. <  uint32_t chan_info;
  650. <  uint32_t sample_rate;
  651. <  uint32_t bit_stream_info;
  652. <  uint32_t bit_rate;
  653. <  uint32_t unused[3];
  654. ---
  655. >       uint32_t codec_type;
  656. >       uint32_t chan_info;
  657. >       uint32_t sample_rate;
  658. >       uint32_t bit_stream_info;
  659. >       uint32_t bit_rate;
  660. >       uint32_t unused[3];
  661. 237,239c259,261
  662. <  uint32_t dec_id;
  663. <  uint32_t err_msg_indicator;
  664. <  uint32_t err_type;
  665. ---
  666. >       uint32_t dec_id;
  667. >       uint32_t err_msg_indicator;
  668. >       uint32_t err_type;
  669. 243,246c265,268
  670. <  struct msm_audio_aio_buf aio_buf;
  671. <  struct msm_audio_bitstream_info stream_info;
  672. <  struct msm_audio_bitstream_error_info error_info;
  673. <  int reserved;
  674. ---
  675. >       struct msm_audio_aio_buf aio_buf;
  676. >       struct msm_audio_bitstream_info stream_info;
  677. >       struct msm_audio_bitstream_error_info error_info;
  678. >       int reserved;
  679. 250,252c272,274
  680. <  int event_type;
  681. <  int timeout_ms;
  682. <  union msm_audio_event_payload event_payload;
  683. ---
  684. >       int event_type;
  685. >       int timeout_ms;
  686. >       union msm_audio_event_payload event_payload;
  687. 260,262c282,284
  688. <  uint32_t dev_id;
  689. <  uint32_t dev_cap;
  690. <  char dev_name[64];
  691. ---
  692. >       uint32_t dev_id;
  693. >       uint32_t dev_cap; /* bitmask describe capability of device */
  694. >       char dev_name[64];
  695. 266,267c288,289
  696. <  uint32_t num_dev;
  697. <  struct msm_snd_device_info *list;
  698. ---
  699. >       uint32_t  num_dev; /* Indicate number of device info to be retrieved */
  700. >       struct msm_snd_device_info *list;
  701. 271,277c293,299
  702. <  uint16_t path;
  703. <  uint16_t dtmf_hi;
  704. <  uint16_t dtmf_low;
  705. <  uint16_t duration;
  706. <  uint16_t tx_gain;
  707. <  uint16_t rx_gain;
  708. <  uint16_t mixing;
  709. ---
  710. >       uint16_t path;
  711. >       uint16_t dtmf_hi;
  712. >       uint16_t dtmf_low;
  713. >       uint16_t duration;
  714. >       uint16_t tx_gain;
  715. >       uint16_t rx_gain;
  716. >       uint16_t mixing;
  717. 283c305
  718. < #define AUDIO_ROUTE_STREAM_REC 3
  719. ---
  720. > #define AUDIO_ROUTE_STREAM_REC      3
  721. 286,288c308,310
  722. <  uint32_t stream_type;
  723. <  uint32_t stream_id;
  724. <  uint32_t dev_id;
  725. ---
  726. >       uint32_t stream_type;
  727. >       uint32_t stream_id;
  728. >       uint32_t dev_id;
  729. 294,299c316,321
  730. <  uint16_t band_idx;
  731. <  uint32_t filter_type;
  732. <  uint32_t center_freq_hz;
  733. <  uint32_t filter_gain;
  734. <
  735. <  uint32_t q_factor;
  736. ---
  737. >       uint16_t     band_idx; /* The band index, 0 .. 11 */
  738. >       uint32_t     filter_type; /* Filter band type */
  739. >       uint32_t     center_freq_hz; /* Filter band center frequency */
  740. >       uint32_t     filter_gain; /* Filter band initial gain (dB) */
  741. >                       /* Range is +12 dB to -12 dB with 1dB increments. */
  742. >       uint32_t     q_factor;
  743. 303,305c325,327
  744. <  uint32_t enable;
  745. <  uint32_t num_bands;
  746. <  struct msm_audio_eq_band eq_bands[AUDIO_MAX_EQ_BANDS];
  747. ---
  748. >       uint32_t        enable; /* Number of consequtive bands specified */
  749. >       uint32_t        num_bands;
  750. >       struct msm_audio_eq_band        eq_bands[AUDIO_MAX_EQ_BANDS];
  751. 307,317d328
  752. <
  753. < struct msm_acdb_cmd_device {
  754. <         uint32_t     command_id;
  755. <         uint32_t     device_id;
  756. <         uint32_t     network_id;
  757. <         uint32_t     sample_rate_id;     /* Actual sample rate value */
  758. <         uint32_t     interface_id;       /* See interface id's above */
  759. <         uint32_t     algorithm_block_id; /* See enumerations above */
  760. <         uint32_t     total_bytes;        /* Length in bytes used by buffer */
  761. <         uint32_t     *phys_buf;          /* Physical Address of data */
  762. < };
  763. diff -r deadlink_mooncake_files/libaudio/msm_audio_voicememo.h elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/libaudio/msm_audio_voicememo.h
  764. 1,11c1,29
  765. < /****************************************************************************
  766. <  ****************************************************************************
  767. <  ***
  768. <  ***   This header was automatically generated from a Linux kernel header
  769. <  ***   of the same name, to make information necessary for userspace to
  770. <  ***   call into the kernel available to libc.  It contains only constants,
  771. <  ***   structures, and macros generated from the original header, and thus,
  772. <  ***   contains no copyrightable information.
  773. <  ***
  774. <  ****************************************************************************
  775. <  ****************************************************************************/
  776. ---
  777. > /* Copyright (c) 2009, Code Aurora Forum. All rights reserved.
  778. >  *
  779. >  * Redistribution and use in source and binary forms, with or without
  780. >  * modification, are permitted provided that the following conditions are
  781. >  * met:
  782. >  *     * Redistributions of source code must retain the above copyright
  783. >  *       notice, this list of conditions and the following disclaimer.
  784. >  *     * Redistributions in binary form must reproduce the above
  785. >  *       copyright notice, this list of conditions and the following
  786. >  *       disclaimer in the documentation and/or other materials provided
  787. >  *       with the distribution.
  788. >  *     * Neither the name of Code Aurora Forum, Inc. nor the names of its
  789. >  *       contributors may be used to endorse or promote products derived
  790. >  *       from this software without specific prior written permission.
  791. >  *
  792. >  * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
  793. >  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  794. >  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
  795. >  * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
  796. >  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  797. >  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  798. >  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
  799. >  * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  800. >  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
  801. >  * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
  802. >  * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  803. >  *
  804. >  */
  805. >
  806. 15c33
  807. < #include "msm_audio.h"
  808. ---
  809. > #include <linux/msm_audio.h>
  810. 17,18c35,38
  811. < #define AUDIO_GET_VOICEMEMO_CONFIG _IOW(AUDIO_IOCTL_MAGIC,   (AUDIO_MAX_COMMON_IOCTL_NUM+0), unsigned)
  812. < #define AUDIO_SET_VOICEMEMO_CONFIG _IOR(AUDIO_IOCTL_MAGIC,   (AUDIO_MAX_COMMON_IOCTL_NUM+1), unsigned)
  813. ---
  814. > #define AUDIO_GET_VOICEMEMO_CONFIG  _IOW(AUDIO_IOCTL_MAGIC, \
  815. >       (AUDIO_MAX_COMMON_IOCTL_NUM+0), unsigned)
  816. > #define AUDIO_SET_VOICEMEMO_CONFIG  _IOR(AUDIO_IOCTL_MAGIC, \
  817. >       (AUDIO_MAX_COMMON_IOCTL_NUM+1), unsigned)
  818. 19a40
  819. > /* rec_type */
  820. 21,25c42,46
  821. <  RPC_VOC_REC_NONE,
  822. <  RPC_VOC_REC_FORWARD,
  823. <  RPC_VOC_REC_REVERSE,
  824. <  RPC_VOC_REC_BOTH,
  825. <  RPC_VOC_MAX_REC_TYPE
  826. ---
  827. >       RPC_VOC_REC_NONE,
  828. >       RPC_VOC_REC_FORWARD,
  829. >       RPC_VOC_REC_REVERSE,
  830. >       RPC_VOC_REC_BOTH,
  831. >       RPC_VOC_MAX_REC_TYPE
  832. 27a49
  833. > /* capability */
  834. 29,32c51,54
  835. <  RPC_VOC_CAP_IS733 = 4,
  836. <  RPC_VOC_CAP_IS127 = 8,
  837. <  RPC_VOC_CAP_AMR = 64,
  838. <  RPC_VOC_CAP_32BIT_DUMMY = 2147483647
  839. ---
  840. >       RPC_VOC_CAP_IS733 = 4,
  841. >       RPC_VOC_CAP_IS127 = 8,
  842. >       RPC_VOC_CAP_AMR = 64,
  843. >       RPC_VOC_CAP_32BIT_DUMMY = 2147483647
  844. 34a57
  845. > /* Rate */
  846. 36,50c59,73
  847. <  RPC_VOC_0_RATE = 0,
  848. <  RPC_VOC_8_RATE,
  849. <  RPC_VOC_4_RATE,
  850. <  RPC_VOC_2_RATE,
  851. <  RPC_VOC_1_RATE,
  852. <  RPC_VOC_ERASURE,
  853. <  RPC_VOC_ERR_RATE,
  854. <  RPC_VOC_AMR_RATE_475 = 0,
  855. <  RPC_VOC_AMR_RATE_515 = 1,
  856. <  RPC_VOC_AMR_RATE_590 = 2,
  857. <  RPC_VOC_AMR_RATE_670 = 3,
  858. <  RPC_VOC_AMR_RATE_740 = 4,
  859. <  RPC_VOC_AMR_RATE_795 = 5,
  860. <  RPC_VOC_AMR_RATE_1020 = 6,
  861. <  RPC_VOC_AMR_RATE_1220 = 7,
  862. ---
  863. >       RPC_VOC_0_RATE = 0,
  864. >       RPC_VOC_8_RATE,
  865. >       RPC_VOC_4_RATE,
  866. >       RPC_VOC_2_RATE,
  867. >       RPC_VOC_1_RATE,
  868. >       RPC_VOC_ERASURE,
  869. >       RPC_VOC_ERR_RATE,
  870. >       RPC_VOC_AMR_RATE_475 = 0,
  871. >       RPC_VOC_AMR_RATE_515 = 1,
  872. >       RPC_VOC_AMR_RATE_590 = 2,
  873. >       RPC_VOC_AMR_RATE_670 = 3,
  874. >       RPC_VOC_AMR_RATE_740 = 4,
  875. >       RPC_VOC_AMR_RATE_795 = 5,
  876. >       RPC_VOC_AMR_RATE_1020 = 6,
  877. >       RPC_VOC_AMR_RATE_1220 = 7,
  878. 52a76
  879. > /* frame_format */
  880. 54,56c78,80
  881. <  RPC_VOC_PB_NATIVE_QCP = 3,
  882. <  RPC_VOC_PB_AMR,
  883. <  RPC_VOC_PB_EVB
  884. ---
  885. >       RPC_VOC_PB_NATIVE_QCP = 3,
  886. >       RPC_VOC_PB_AMR,
  887. >       RPC_VOC_PB_EVB
  888. 60,68c84,92
  889. <  uint32_t rec_type;
  890. <  uint32_t rec_interval_ms;
  891. <  uint32_t auto_stop_ms;
  892. <  uint32_t capability;
  893. <  uint32_t max_rate;
  894. <  uint32_t min_rate;
  895. <  uint32_t frame_format;
  896. <  uint32_t dtx_enable;
  897. <  uint32_t data_req_ms;
  898. ---
  899. >       uint32_t rec_type;
  900. >       uint32_t rec_interval_ms;
  901. >       uint32_t auto_stop_ms;
  902. >       uint32_t capability;
  903. >       uint32_t max_rate;
  904. >       uint32_t min_rate;
  905. >       uint32_t frame_format;
  906. >       uint32_t dtx_enable;
  907. >       uint32_t data_req_ms;
  908. 71c95
  909. < #endif
  910. ---
  911. > #endif /* __MSM_AUDIO_VOICEMEMO_H */
  912. diff -r deadlink_mooncake_files/libcamera/msm_camera.h elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/libcamera/msm_camera.h
  913. 5a6
  914. > #ifdef MSM_CAMERA_BIONIC
  915. 6a8
  916. > #endif
  917. 9a12
  918. > #ifdef MSM_CAMERA_GCC
  919. 10a14,16
  920. > #else
  921. > #include <linux/time.h>
  922. > #endif
  923. diff -r deadlink_mooncake_files/libcamera/QualcommCameraHardware.cpp elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/libcamera/QualcommCameraHardware.cpp
  924. 4026,4031c4026
  925. <       mParameters.set(CameraParameters::KEY_EXPOSURE_COMPENSATION, expcomp);
  926. <
  927. <       if(!strcmp(sensorType->name, "3mp"))
  928. <         expcomp+=4;
  929. <       else
  930. <         expcomp+=2;
  931. ---
  932. >           mParameters.set(CameraParameters::KEY_EXPOSURE_COMPENSATION, expcomp);
  933. 4032a4028
  934. >         expcomp+=2;
  935. diff -r deadlink_mooncake_files/libcamera/QualcommCameraHardware.h elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/libcamera/QualcommCameraHardware.h
  936. 74c74
  937. < #define CAMERA_MIN_EXPOSURE_COMPENSATION -2
  938. ---
  939. > #define CAMERA_MIN_EXPOSURE_COMPENSATION 0
  940. 78c78
  941. < #define CAMERA_MAX_EXPOSURE_COMPENSATION 2
  942. ---
  943. > #define CAMERA_MAX_EXPOSURE_COMPENSATION 8
  944. 82,83c82,83
  945. < #define CAMERA_DEF_EXPOSURE_COMPENSATION "0"
  946. < #define CAMERA_EXPOSURE_COMPENSATION_STEP 1
  947. ---
  948. > #define CAMERA_DEF_EXPOSURE_COMPENSATION "2.0"
  949. > #define CAMERA_EXPOSURE_COMPENSATION_STEP 2
  950. diff -r deadlink_mooncake_files/libcopybit/Android.mk elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/libcopybit/Android.mk
  951. 21,35c21,30
  952. <     include $(CLEAR_VARS)
  953. <     ifeq ($(TARGET_GRALLOC_USES_ASHMEM),true)
  954. <          LOCAL_CFLAGS += -DUSE_ASHMEM
  955. <          LOCAL_CFLAGS += -DTARGET_7x27
  956. <     endif
  957. <
  958. <     LOCAL_MODULE_TAGS := optional
  959. <     LOCAL_PRELINK_MODULE := false
  960. <     LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
  961. <     LOCAL_SHARED_LIBRARIES := liblog
  962. <     LOCAL_SRC_FILES := copybit.cpp
  963. <     LOCAL_MODULE := copybit.mooncake
  964. <     LOCAL_C_INCLUDES += device/zte/mooncake/libgralloc
  965. <     LOCAL_CFLAGS += -DCOPYBIT_MSM7K=1
  966. <     include $(BUILD_SHARED_LIBRARY)
  967. ---
  968. > include $(CLEAR_VARS)
  969. > LOCAL_MODULE_TAGS := optional
  970. > LOCAL_PRELINK_MODULE := false
  971. > LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
  972. > LOCAL_SHARED_LIBRARIES := liblog
  973. > LOCAL_SRC_FILES := copybit.cpp
  974. > LOCAL_MODULE := copybit.mooncake
  975. > LOCAL_C_INCLUDES += hardware/msm7k/libgralloc
  976. > LOCAL_CFLAGS += -DCOPYBIT_MSM7K=1
  977. > include $(BUILD_SHARED_LIBRARY)
  978. diff -r deadlink_mooncake_files/libcopybit/copybit.cpp elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/libcopybit/copybit.cpp
  979. 22c22
  980. < #include "msm_mdp.h"
  981. ---
  982. > #include <msm_mdp.h>
  983. 122,130c122,130
  984. <     case HAL_PIXEL_FORMAT_RGB_565:       return MDP_RGB_565;
  985. <     case HAL_PIXEL_FORMAT_RGBX_8888:     return MDP_RGBX_8888;
  986. <     case HAL_PIXEL_FORMAT_RGB_888:       return MDP_RGB_888;
  987. <     case HAL_PIXEL_FORMAT_RGBA_8888:     return MDP_RGBA_8888;
  988. <     case HAL_PIXEL_FORMAT_BGRA_8888:     return MDP_BGRA_8888;
  989. < //    case HAL_PIXEL_FORMAT_YCrCb_422_SP:  return MDP_Y_CBCR_H2V1;
  990. <     case HAL_PIXEL_FORMAT_YCrCb_420_SP:  return MDP_Y_CBCR_H2V2;
  991. <     case HAL_PIXEL_FORMAT_YCbCr_422_SP:  return MDP_Y_CRCB_H2V1;
  992. < //    case HAL_PIXEL_FORMAT_YCbCr_420_SP:  return MDP_Y_CRCB_H2V2;
  993. ---
  994. >     case COPYBIT_FORMAT_RGB_565:       return MDP_RGB_565;
  995. >     case COPYBIT_FORMAT_RGBX_8888:     return MDP_RGBX_8888;
  996. >     case COPYBIT_FORMAT_RGB_888:       return MDP_RGB_888;
  997. >     case COPYBIT_FORMAT_RGBA_8888:     return MDP_RGBA_8888;
  998. >     case COPYBIT_FORMAT_BGRA_8888:     return MDP_BGRA_8888;
  999. >     //case COPYBIT_FORMAT_YCrCb_422_SP:  return MDP_Y_CBCR_H2V1;
  1000. >     case COPYBIT_FORMAT_YCrCb_420_SP:  return MDP_Y_CBCR_H2V2;
  1001. >     case COPYBIT_FORMAT_YCbCr_422_SP:  return MDP_Y_CRCB_H2V1;
  1002. >     //case COPYBIT_FORMAT_YCbCr_420_SP:  return MDP_Y_CRCB_H2V2;
  1003. 143,151c143,156
  1004. <     #if defined(COPYBIT_MSM7K)
  1005. <         #if defined(USE_ASHMEM) && (TARGET_7x27)
  1006. <              img->memory_id = hnd->fd;
  1007. <         #else //USE_ASHMEM not defined
  1008. <              img->memory_id = hnd->fd;
  1009. <         #endif //end USE_ASHMEM
  1010. <     #else
  1011. <         img->memory_id  = hnd->fd;
  1012. <     #endif
  1013. ---
  1014. > #if defined(COPYBIT_MSM7K)
  1015. >     if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_GPU) {
  1016. >         img->offset += hnd->map_offset;
  1017. >         img->memory_id = hnd->gpu_fd;
  1018. >         if (img->format == MDP_RGBA_8888) {
  1019. >             // msm7201A GPU only supports BGRA_8888 destinations
  1020. >             img->format = MDP_BGRA_8888;
  1021. >         }
  1022. >     } else {
  1023. >         img->memory_id = hnd->fd;
  1024. >     }
  1025. > #else
  1026. >     img->memory_id  = hnd->fd;
  1027. > #endif
  1028. 158,160c163
  1029. <                       const struct copybit_rect_t *scissor,
  1030. <                       uint32_t padding
  1031. < ) {
  1032. ---
  1033. >                       const struct copybit_rect_t *scissor) {
  1034. 188,192c191
  1035. <         if (dev->mFlags & COPYBIT_TRANSFORM_ROT_90) {
  1036. <             e->src_rect.x = e->src.width - (e->src_rect.x + e->src_rect.w) - padding;
  1037. <         }else{
  1038. <             e->src_rect.y = e->src.height - (e->src_rect.y + e->src_rect.h);
  1039. <         }
  1040. ---
  1041. >         e->src_rect.y = e->src.height - (e->src_rect.y + e->src_rect.h);
  1042. 194d192
  1043. <
  1044. 196,200c194
  1045. <         if (dev->mFlags & COPYBIT_TRANSFORM_ROT_90) {
  1046. <             e->src_rect.y = e->src.height - (e->src_rect.y + e->src_rect.h);
  1047. <         }else{
  1048. <             e->src_rect.x = e->src.width - (e->src_rect.x + e->src_rect.w) - padding;
  1049. <         }
  1050. ---
  1051. >         e->src_rect.x = e->src.width  - (e->src_rect.x + e->src_rect.w);
  1052. 205c199
  1053. < static void set_infos(struct copybit_context_t *dev, struct mdp_blit_req *req, int flags) {
  1054. ---
  1055. > static void set_infos(struct copybit_context_t *dev, struct mdp_blit_req *req) {
  1056. 208,211c202
  1057. <     req->flags = dev->mFlags | flags;
  1058. < #if defined(COPYBIT_QSD8K)
  1059. <     req->flags |= MDP_BLEND_FG_PREMULT;
  1060. < #endif
  1061. ---
  1062. >     req->flags = dev->mFlags;// | MDP_BLEND_FG_PREMULT;
  1063. 369,372c360,363
  1064. <                 case HAL_PIXEL_FORMAT_RGBA_8888:
  1065. <                 case HAL_PIXEL_FORMAT_BGRA_8888:
  1066. <                 case HAL_PIXEL_FORMAT_RGBA_5551:
  1067. <                 case HAL_PIXEL_FORMAT_RGBA_4444:
  1068. ---
  1069. >                 case COPYBIT_FORMAT_RGBA_8888:
  1070. >                 case COPYBIT_FORMAT_BGRA_8888:
  1071. >                 case COPYBIT_FORMAT_RGBA_5551:
  1072. >                 case COPYBIT_FORMAT_RGBA_4444:
  1073. 397,399c388
  1074. <             int flags = 0;
  1075. <
  1076. <             set_infos(ctx, req, flags);
  1077. ---
  1078. >             set_infos(ctx, req);
  1079. 402c391
  1080. <             set_rects(ctx, req, dst_rect, src_rect, &clip, 0);//src->padding);
  1081. ---
  1082. >             set_rects(ctx, req, dst_rect, src_rect, &clip);
  1083. diff -r deadlink_mooncake_files/libcopybit/msm_mdp.h elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/libcopybit/msm_mdp.h
  1084. 4c4
  1085. <  * Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved.
  1086. ---
  1087. >  * Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved.
  1088. 44,51d43
  1089. < #define MSMFB_OVERLAY_BLT       _IOWR(MSMFB_IOCTL_MAGIC, 142, \
  1090. <                                               struct msmfb_overlay_blt)
  1091. < #define MSMFB_OVERLAY_BLT_OFFSET     _IOW(MSMFB_IOCTL_MAGIC, 143, unsigned int)
  1092. < #define MSMFB_HISTOGRAM_START _IO(MSMFB_IOCTL_MAGIC, 144)
  1093. < #define MSMFB_HISTOGRAM_STOP  _IO(MSMFB_IOCTL_MAGIC, 145)
  1094. <
  1095. < #define MSMFB_OVERLAY_3D       _IOWR(MSMFB_IOCTL_MAGIC, 146, \
  1096. <                                               struct msmfb_overlay_3d)
  1097. 70,71d61
  1098. <       MDP_Y_CR_CB_H2V2,  /* Y, Cr and Cb, planar */
  1099. <       MDP_Y_CB_CR_H2V2,  /* Y, Cb and Cr, planar */
  1100. 101,107d90
  1101. < #define MDP_BLIT_SRC_GEM                0x04000000
  1102. < #define MDP_BLIT_DST_GEM                0x02000000
  1103. < #define MDP_BLIT_NON_CACHED           0x01000000
  1104. < #define MDP_OV_PIPE_SHARE             0x00800000
  1105. < #define MDP_DEINTERLACE_ODD           0x00400000
  1106. < #define MDP_OV_PLAY_NOWAIT            0x00200000
  1107. <
  1108. 134d116
  1109. <       uint32_t priv;
  1110. 153,159d134
  1111. < /* The version of the mdp_blit_req structure so that
  1112. <  * user applications can selectively decide which functionality
  1113. <  * to include
  1114. <  */
  1115. <
  1116. < #define MDP_BLIT_REQ_VERSION 2
  1117. <
  1118. 176,177d150
  1119. < #define MSMFB_DATA_VERSION 2
  1120. <
  1121. 182,183d154
  1122. <       uint32_t flags;
  1123. <       uint32_t priv;
  1124. 210,221d180
  1125. < };
  1126. <
  1127. < struct msmfb_overlay_3d {
  1128. <       uint32_t is_3d;
  1129. <       uint32_t width;
  1130. <       uint32_t height;
  1131. < };
  1132. <
  1133. <
  1134. < struct msmfb_overlay_blt {
  1135. <       uint32_t enable;
  1136. <       struct msmfb_data data;
  1137. Only in deadlink_mooncake_files/: liblights
  1138. diff -r deadlink_mooncake_files/libsensors/Android.mk elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/libsensors/Android.mk
  1139. 35a36
  1140. >                               TaosSensor.cpp                  \
  1141. diff -r deadlink_mooncake_files/libsensors/nusensors.cpp elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/libsensors/nusensors.cpp
  1142. 31a32
  1143. > #include "TaosSensor.h"
  1144. 46c47,48
  1145. <         akm             = 0,
  1146. ---
  1147. >         taos            = 0,
  1148. >         akm             = 1,
  1149. 63c65,68
  1150. <               break;
  1151. ---
  1152. >             case ID_P:
  1153. >             case ID_L:
  1154. >                 return taos;
  1155. >             break;
  1156. 72a78,82
  1157. >     mSensors[taos] = new TaosSensor();
  1158. >     mPollFds[taos].fd = mSensors[taos]->getFd();
  1159. >     mPollFds[taos].events = POLLIN;
  1160. >     mPollFds[taos].revents = 0;
  1161. >
  1162. diff -r deadlink_mooncake_files/libsensors/nusensors.h elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/libsensors/nusensors.h
  1163. 73,74c73,74
  1164. < #define EVENT_TYPE_LIGHT            ABS_MISC
  1165. < #define EVENT_TYPE_PROXIMITY        ABS_DISTANCE
  1166. ---
  1167. > #define EVENT_TYPE_LIGHT            ABS_X
  1168. > #define EVENT_TYPE_PROXIMITY        ABS_Y
  1169. diff -r deadlink_mooncake_files/libsensors/sensors.c elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/libsensors/sensors.c
  1170. 45a46,55
  1171. >         { "Taos Proximity sensor",
  1172. >                 "Taos Inc.",
  1173. >                 1, SENSORS_HANDLE_BASE+ID_P,
  1174. >                 SENSOR_TYPE_PROXIMITY,
  1175. >                 5.0f, 5.0f,
  1176. >                 0.5f, 0, { } },
  1177. >         { "Taos Light sensor",
  1178. >                 "Taos Inc.",
  1179. >                 1, SENSORS_HANDLE_BASE+ID_L,
  1180. >                 SENSOR_TYPE_LIGHT, 27000.0f, 1.0f, 0.5f, 0, { } },
  1181. 68,69c78,79
  1182. <         .name = "ZTE Racer Sensors Module",
  1183. <         .author = "Tom Giordano, deadlink",
  1184. ---
  1185. >         .name = "ZTE Blade Sensors Module",
  1186. >         .author = "Tom Giordano",
  1187. Only in elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/libsensors: taos_common.h
  1188. Only in elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/libsensors: TaosSensor.cpp
  1189. Only in elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/libsensors: TaosSensor.h
  1190. Only in deadlink_mooncake_files/overlay/frameworks/base/core/res/res: drawable-ldpi
  1191. Only in deadlink_mooncake_files/overlay/frameworks/base/core/res/res: layout
  1192. diff -r deadlink_mooncake_files/overlay/frameworks/base/core/res/res/values/config.xml elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/overlay/frameworks/base/core/res/res/values/config.xml
  1193. 25c25
  1194. <     <bool name="config_automatic_brightness_available">false</bool>
  1195. ---
  1196. >     <bool name="config_automatic_brightness_available">true</bool>
  1197. 67,71d66
  1198. <         <item>255</item>
  1199. <         <item>255</item>
  1200. <         <item>-1</item>
  1201. <         <item>0</item>
  1202. <         <item>0</item>
  1203. 127d121
  1204. <         <item>"usb\\d"</item>
  1205. 152,164d145
  1206. <
  1207. <     <!-- Configure rotary bottom margin -->
  1208. <     <integer name="config_rotaryMarginBottomDIP">0</integer>
  1209. <
  1210. <     <!-- Configure lense unlock time label offset -->
  1211. <     <integer name="config_lenseTimeLabelOffsetDIP">40</integer>
  1212. <
  1213. <     <!-- Configure ring lockscreen bottom margin -->
  1214. <     <integer name="config_ringBaselineBottomDIP">110</integer>
  1215. <
  1216. <     <!-- Configure ring lockscreen center ring offset -->
  1217. <     <integer name="config_ringCenterOffsetDIP">18</integer>
  1218. <    
  1219. Only in deadlink_mooncake_files/overlay/frameworks/base/core/res/res/values: dimens.xml
  1220. Only in deadlink_mooncake_files/overlay/frameworks/base/packages: SystemUI
  1221. Only in deadlink_mooncake_files/overlay/packages/apps: ADWLauncher
  1222. Only in deadlink_mooncake_files/overlay/packages/apps: Calendar
  1223. Only in deadlink_mooncake_files/overlay/packages/apps: CMParts
  1224. Only in deadlink_mooncake_files/overlay/packages/apps: CMWallpapers
  1225. Only in deadlink_mooncake_files/overlay/packages/apps: Contacts
  1226. Only in deadlink_mooncake_files/overlay/packages/apps: DeskClock
  1227. Only in deadlink_mooncake_files/overlay/packages/apps: Email
  1228. Only in deadlink_mooncake_files/overlay/packages/apps: FM
  1229. Only in elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/overlay/packages/apps: Launcher2
  1230. Only in deadlink_mooncake_files/overlay/packages/apps: Music
  1231. Only in deadlink_mooncake_files/overlay/packages/apps: PackageInstaller
  1232. Only in deadlink_mooncake_files/overlay/packages/apps/Phone/res: drawable-ldpi
  1233. Only in deadlink_mooncake_files/overlay/packages/apps/Phone/res: layout
  1234. Only in deadlink_mooncake_files/overlay/packages/apps/Phone/res: layout-finger
  1235. Only in deadlink_mooncake_files/overlay/packages/apps/Phone/res: layout-mdpi
  1236. diff -r deadlink_mooncake_files/overlay/packages/apps/Phone/res/values/config.xml elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/overlay/packages/apps/Phone/res/values/config.xml
  1237. 106c106
  1238. <     <bool name="allow_back_key_to_reject_incoming_call">false</bool>
  1239. ---
  1240. >     <bool name="allow_back_key_to_reject_incoming_call">true</bool>
  1241. 112c112
  1242. <     <bool name="config_show_onscreen_dial_button">false</bool>
  1243. ---
  1244. >     <bool name="config_show_onscreen_dial_button">true</bool>
  1245. Only in deadlink_mooncake_files/overlay/packages/apps/Phone/res/values: styles.xml
  1246. Only in deadlink_mooncake_files/overlay/packages/apps: Settings
  1247. Only in deadlink_mooncake_files/overlay/packages/inputmethods/LatinIME: java
  1248. Only in deadlink_mooncake_files/prebuilt: bootanimation.zip
  1249. Only in elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/prebuilt: cifs.ko
  1250. Only in deadlink_mooncake_files/prebuilt: copybit.mooncake.so
  1251. Only in deadlink_mooncake_files/prebuilt: gralloc.mooncake.so
  1252. Only in deadlink_mooncake_files/prebuilt: netd
  1253. Only in deadlink_mooncake_files/prebuilt: vold
  1254. Only in elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/prebuilt: zram.ko
  1255. diff -r deadlink_mooncake_files/qwerty.kl elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/qwerty.kl
  1256. 32,33c32,33
  1257. < key 115   VOLUME_UP         WAKE
  1258. < key 114   VOLUME_DOWN       WAKE
  1259. ---
  1260. > key 115   VOLUME_UP         WAKE_DROPPED
  1261. > key 114   VOLUME_DOWN       WAKE_DROPPED
  1262. Only in deadlink_mooncake_files/: RacerParts
  1263. Only in deadlink_mooncake_files/: README
  1264. Only in deadlink_mooncake_files/recovery: recovery.rc
  1265. diff -r deadlink_mooncake_files/ueventd.mooncake.rc elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/ueventd.mooncake.rc
  1266. 8,9d7
  1267. < /dev/si4708               0777   root       root
  1268. < /dev/msm_preproc_ctl      0660   system audio
  1269. diff -r deadlink_mooncake_files/unzip-files.sh elgomes-CyanogenMod_ZTE_Mooncake-35f8cf1/device/zte/mooncake/unzip-files.sh
  1270. 17c17
  1271. < DEVICE=blade
  1272. ---
  1273. > DEVICE=racer
  1274. 57a58,60
  1275. > #lights
  1276. > unzip -j -o ../../../${DEVICE}_update.zip system/lib/hw/lights.msm7k.so -d ../../../vendor/zte/$DEVICE/proprietary/
  1277. >
  1278. 90,93c93,94
  1279. < #GPS
  1280. < unzip -j -o ../../../${DEVICE}_update.zip system/lib/libloc.so -d ../../../vendor/zte/$DEVICE/proprietary/
  1281. < unzip -j -o ../../../${DEVICE}_update.zip system/lib/libloc-rpc.so -d ../../../vendor/zte/$DEVICE/proprietary/
  1282. < unzip -j -o ../../../${DEVICE}_update.zip system/lib/libcommondefs.so -d ../../../vendor/zte/$DEVICE/proprietary/
  1283. ---
  1284. >
  1285. >
  1286. 112c113
  1287. < # All the blobs necessary for blade
  1288. ---
  1289. > # All the blobs necessary for racer
  1290. 141a143
  1291. >     vendor/zte/__DEVICE__/proprietary/lights.msm7k.so:system/lib/hw/lights.msm7k.so \\
  1292. 171,175c173,174
  1293. <     vendor/zte/__DEVICE__/proprietary/libomx_sharedlibrary.so:system/lib/libomx_sharedlibrary.so \\
  1294. <     vendor/zte/__DEVICE__/proprietary/libloc.so:system/lib/libloc.so \\
  1295. <     vendor/zte/__DEVICE__/proprietary/libloc.so:obj/lib/libloc.so \\
  1296. <     vendor/zte/__DEVICE__/proprietary/libloc-rpc.so:system/lib/libloc-rpc.so \\
  1297. <     vendor/zte/__DEVICE__/proprietary/libcommondefs.so:system/lib/libcommondefs.so
  1298. ---
  1299. >     vendor/zte/__DEVICE__/proprietary/libomx_sharedlibrary.so:system/lib/libomx_sharedlibrary.so
  1300. >
  1301. Only in deadlink_mooncake_files/: UsbController.cpp
clone this paste RAW Paste Data