Here is the deal I have taken the cm9 git repository from thepasto and then dropped the kernel, device/acer/salsa, vendor/acer/salsa and made some changes to cm10 and I was able to compile an image on cm10 for the liquid. I have flashed the image on to my liquid. Guess what happened.....:-) You want the good news or the bad news?
Well, the good news is I didn't brick my phone :-P and I was able to boot to the android shell. Now the bad news is that the UI did not come up. When I saw logcat I saw that there was a segfault in liblights. I did not have time to take a deeper look into this. I will when I have time but please all you guys don't keep your hopes up. Maybe some other dev can help me or I canhelp them. I did not contact thepasto for help yet because I wanted to take a initial look before seeking his help. Anyway here is what I did to compile the image. Let me know if I am doing something wrong or need any more infromation. Good luck to us!
# checkout cm10 JB
repo init -u git://github.com/CyanogenMod/android.git -b jellybean
# compilation commandes
- copy device/acer/salsa, vendor/acer/salsa and the kernel from cm9
- run the get_GooMan.sh - obsolete, get from market. Change the shell to bash in the first line of this script
- ./vendor/cm/get-prebuilts
- . ./build/envsetup.sh && brunch salsa 2>&1 | tee ./build.log
#changes:
Added to frameworks/base/cmds/servicemanager/service_manager.c line 30.
{ AID_COMPASS, "yamaha.hardware.sensors" },
---
changed: frameworks/av/media/libmediaplayerservice/StagefrightRecorder.cpp line 1443
if (0 && mIsMetaDataStoredInVideoBuffers) {
---
changed: libstagefright//MPEG4Writer.cpp line 1983
if (!mIsAudio && 0) {
---
In /device_salsa.mk replace frameworks/base with frameworks/native
---
In device/acer/salsa/overlay/frameworks/base/core/res/res/values/config.xml:88
changed config_networkLocationProvider to config_networkLocationProviderPackageName
In device/acer/salsa/overlay/frameworks/base/core/res/res/values/config.xml:91
changed config_geocodeProvider to changed config_geocodeProviderPackageName
---
Got the msm_rotator.h from
http://code.google.c...erloin&name=ics
./bionic/libc/kernel/common/linux/msm_rotator.h
---
In device/acer/salsa/libaudio/AudioPolicyManager.cpp change return type for getDeviceForStrategy to audio_devices_t
and the declaration also to audio_devices_t.
---
Change all LOG* to ALOG* in libaudio as well as liblights
---
In
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'void overlay::mdp_wrapper::dump(char const*, const msm_rotator_data_info&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:250:5: error: 'const struct msm_rotator_data_info' has no member named 'version_key'
hardware/qcom/display/liboverlay/mdpWrapper.h:254:28: error: 'const struct msm_rotator_data_info' has no member named 'src_chroma'
hardware/qcom/display/liboverlay/mdpWrapper.h:255:28:
Commented all these lines
---
Added to /device/acer/salsa/BoardConfig.mk
# disable errors from msm_rotator driver
QCOM_NO_SECURE_PLAYBACK := true
TARGET_NO_HW_VSYNC := true
Changed
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x0c800000
to
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x0ca00000
---
Comment lines 204, 205 in kernel/acer/salsa/include/linux/netfilter/x_tables.h
// const struct xt_match *match;
// const void *matchinfo;
---
ToDo:
Remove the definition in hardware/qcom/display/liboverlay/overlayRotator.cpp
#define QCOM_NO_SECURE_PLAYBACK 1
Remove in /device/acer/salsa/BoardConfig.mk
# disable errors from msm_rotator driver
QCOM_NO_SECURE_PLAYBACK := true ??
TARGET_NO_HW_VSYNC := true ??
---
Need to Check if these work:
- BT A2DP (music, ring while listening )
Thanks to thepasto for the personal chat over gtalk. Hoping to get more things to clarify in the coming future.
Edited by parvata, 16 August 2012 - 04:36 AM.







Sign In
Create Account



Back to top











