[Galaxy S II General] crlogic:
dsixda - running into an issue extracting the proprietary files.

Error I am encountering

Extracting /system/bin/immvibed ...

343 KB/s (80156 bytes in 0.227s)

Extracting /system/bin/bridgemgrd ...

273 KB/s (33516 bytes in 0.119s)

Extracting /system/bin/ds_fmc_appd ...

349 KB/s (52508 bytes in 0.146s)

Extracting /system/bin/btnvtool ...

remote object '/system/bin/btnvtool' does not exist

Any ideas?

---------- Post added at 12:25 PM ---------- Previous post was at 12:10 PM ----------

:(

. build/envsetup.sh

brunch cm_celoxhd-eng

including vendor/cm/vendorsetup.sh

build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/celoxhd/cm.mk]]: "device/samsung/msm8660-common/msm8660.mk" does not exist. Stop.

Device celoxhd not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).

Repository for celoxhd not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml.

build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/celoxhd/cm.mk]]: "device/samsung/msm8660-common/msm8660.mk" does not exist. Stop.

I'll post my entire walkthrough next if that will help

---------- Post added at 12:28 PM ---------- Previous post was at 12:25 PM ----------

Installed Ubuntu - 'nuff said

Installed the Android SDK

apt-get install ia32-libs eclipse default-jdk

tar zxvf android-sdk_r20.0.3-linux.tgz

Installed the Eclipse Plugin (http://developer.android.com/sdk/installing/installing-adt.html)

Reload Eclipse & install the "Android SDK Platform-tools" via wizard

export PATH=${PATH}:/root/android-sdk-linux/tools:/root/android-sdks/platform-tools

Exported PATHs for later

echo export PATH=${PATH}:/root/android-sdk-linux/tools:/root/android-sdks/platform-tools >> ~/.bashrc

Installed other needed packages

Apt-get install git-core gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dev:i386 g++-multilib mingw32 openjdk-6-jdk pngcrush schedtool tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386

Setup UDEV

1)	Connect phone in each of the three modes: Normal, debug & Recovery

a.	Please note that debug mode is found in settings » applications » development » USB debugging. Even though adb only works in debug mode, you *must* include normal mode for the udev rules work work correctly. Make sure you run lsusb in both 'normal' and 'debug' modes.

2)	Run lsusb to find ID numbers

3)	Create rules in /etc/udev/rules.d/51-android.rules

SUBSYSTEMS=="usb", ATTRS{idVendor}=="18D1", ATTRS{idProduct}=="4E22", MODE="0666", OWNER="cm" # Debug

SUBSYSTEMS=="usb", ATTRS{idVendor}=="18D1", ATTRS{idProduct}=="4E21", MODE="0666", OWNER="cm" #Normal

SUBSYSTEMS=="usb", ATTRS{idVendor}=="04E8", ATTRS{idProduct}=="685D", MODE="0666", OWNER="cm" #Recovery​

4)	chmod a+r /etc/udev/rules.d/51-android.rules

Sync CM9 Repo

1)	mkdir ~/android/system

2)	cd ~/android/system

3)	curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

4)	chmod a+x ~/bin/repo

5)	export PATH=${PATH}:/root/bin

6)	~/bin/repo init -u git://github.com/CyanogenMod/android.git -b ics

7)	Repo sync –j4

Include the file .repo/local_manifest.xml to allow these additional repositories to be synced - remove any duplicate lines.

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<remote fetch="http://github.com/" name="gh" revision="master" />

<project name="CyanogenMod/android_device_samsung_msm8660-common" path="device/samsung/msm8660-common" remote="github" revision="ics" />

<project name="dsixda/android_device_samsung_celoxhd" path="device/samsung/celoxhd" revision="ics" />

<project name="dsixda/android_kernel_samsung_msm8660-common" path="kernel/samsung/msm8660-common" revision="ics" />

<project name="dsixda/android_vendor_samsung_celoxhd" path="vendor/samsung/celoxhd" revision="ics" />

</manifest>

Copy Proprietary Files

NOTE: This only needs to be run once. If these steps have already been performed, skip to Download Prebuilts.

This step requires possession of the Maguro with a working copy of CyanogenMod 9 installed and ADB working on the computer. This script will copy the proprietary files from the device.

Connect the device to the computer and run the following commands:

cd ~/android/system/device/samsung/celoxhd

./extract-files.sh

NOTE: If some hardware isn't functioning properly, this script may need to be run again in case there are updated proprietary files.

Errors as noted in above post.

Download Prebuilts needed by the build:

~/android/system/vendor/cm/get-prebuilts

Check for updates in the source:

cd ~/android/system/

repo sync –j4

Update cross-compiler path

1)	Open up ~/android/system/kernel/samsung/msm8660-common/Makefile

2)	Edit the line starting with 'CROSS-COMPILE' to point to:

a.	~/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-

Optimize for future rebuilds

echo "export USE_CCACHE=1" >> ~/.bashrc

prebuilt/linux-x86/ccache/ccache -M 20G

source ~/.bashrc

Build

. build/envsetup.sh

time brunch cm_celoxhd-eng

Errors noted in above post.

Ideas?