nexus-one-

Epic 4G vs. Nexus One Speed Comparison

Epic 4G vs. Nexus One Speed Comparison

Frustrated Nexus One owner sues Google over "sporadic" 3G speed

Imagine that your name is Nathan Nabors and that you live in the sunny climes of Orlando, Florida. Imagine further that, back when Google announced its own Android phone and called it the Nexus One , you realized that your Orlando-based life would only be complete with the purchase of this shiny new gadget. So you bought one, paying the full unlocked price of $563.38 from Google’s online store …
Read More

Sizzled Core

%content%

Awaz Apni :Google Nexus One: Android 2.2 Froyo Build FRG33 Leaks

CNET Analysis: If you have installed Android 2.2 on your Nexus One you probably think things can’t get much better, however it seems as if Google aren’t totally satisfied and have been working on a new firmware version. This firmware version is called FRG33, a version of this has recently leaked, it comes with a new radio, however no other new features or apps seem to have been included. Users who have installed FRG33 say that it makes the devices a little snappier, other than that there are no real noticeable changes. If you understand the risks associated with flashing your smartphone you can download the leaked firmware version here , please ensure that you take all of the necessary precautions beforehand. Have you installed this firmware version? If so, feel free to add your opinions in the comments section below. Source: IntoMobile More On: Android 2.2 , Google Android , Nexus One For more coverage: Follow Product Reviews on Twitter Become a Fan on Facebook

Build Custom Images for Nexus One

The boot.img including the customized Linux kernel works well currently. Now it’s time to change the system.img in the Nexus One.

Notice!!! This method do not guarantee anything at all. Use this at your own risk.

1) UDEV

The file – /etc/udev/rules.d/51-nexus_one.rules is created to use adb and fastboot. The adb should be started with a root privilege. After that, you can use adb as a normal user in a Linux machine. The contents are shown below:

SUBSYSTEM==”usb|usb_device”, SYSFS{idVendor}==”18d1″, MODE=”0660″, GROUP=”plugdev”
SUBSYSTEM==”usb|usb_device”, SYSFS{idVendor}==”0bb4″, MODE=”0660″, GROUP=”plugdev”
SUBSYSTEM==”usb|usb_device”, ATTR{idVendor}==”18d1″, ATTR{idProduct}==”4e12″, SYMLINK+=”android_adb”
SUBSYSTEM==”usb|usb_device”, ATTR{idVendor}==”0bb4″, ATTR{idProduct}==”0fff”, SYMLINK+=”android_fastboot”

2) DDMS

The DDMS tool is not connected well with the Nexus One. That’s because of the IPv4 and IPv6 setting in my Linux system. This behavior can happen in the Eclipse IDE. If your DDMS or Eclipse IDE cannot access a network or have a connection problem, launch the Java VM with with -Djava.net.preferIPv4Stack=”true” option.

$ vi ddms

exec “$javaCmd” -Xmx256M $os_opts $java_debug -Djava.ext.dirs=”$frameworkdir” -Dcom.android.ddms.bindir=”$progdir” -Djava.net.preferIPv4Stack=”true” -jar “$jarpath” “$@

3) Build

I patched current passion build scripts on Froyo and added a script to extract APKs. These steps can be used after the patches are applied. The extract-xxx.sh files can be used after connecting the PC with the Nexus One.

$ patch -p1 < kt_passion-yyyymmdd.patch

$ cd device/htc/passion/
$ ./extract-files.sh
$ ./extract-apks.sh

Copy the custom kernel and module to the vendor directory.

$ cd ../../../
$ cp zImage bcm4329.ko vendor/htc/passion/

Build images.

$ . build/envsetup.sh
$ lunch kt_passion-userdebug
$ make -j8 2>&1 | tee kt_passion-build.log

Flash the boot and system images.

$ fastboot flash boot boot.img
$ fastboot flash system system.img

Wipe data and cache partition in the recovery mode. I’m not using the stock recovery image currently. See the previous articles.

4) Patch Points

I need to mention about some points regarding override packages, signing packages, apns, gps, IME, partition, bootanimation, and additional properties.

Some packages in Froyo are replaced with proprietary packages. So they are extracted from the target device and should be included on building the system image with override directives. I guess that they are already signed with their own key, thus I assume those packages as PRESIGNED packages.

To access 3G network, the apns-conf.xml which including KT and SKT configuration should be extracted and copied into the system image. When you use the PRODUCT_COPY_FILES directive, care with the leading “/” in the destination path. The destination path should not be leaded by “/” like /path/from/apns-conf.xml:system/etc/apns.conf because a pattern matching is used for overriding the destination path in makefiles.

The asian configuration is used for this system image build regarding the GPS. The default is for USA.

The KoreanIME package is shipped for the Korean Nexus One. It must be injected into the system image for writing something in Korean.

The bootanimation.zip in /system/media is used for the boot splash image. Just copying the file in the location makes it work.

The partition information is passed to the Linux kernel by the boot loader with ATAG interface and the Nexus One in Korea have a different partition information from the ones in Froyo.

The last things – additional properties are one of the most important things which can make a phone call, reading IMEI and phone number, and adjust the layout. These parameters will be explained later.

5) Patch

diff -x .git -uprN froyo-orig/device/htc/passion/AndroidProducts.mk froyo/device/htc/passion/AndroidProducts.mk
— froyo-orig/device/htc/passion/AndroidProducts.mk 2010-08-01 18:54:14.000000000 +0900
+++ froyo/device/htc/passion/AndroidProducts.mk 2010-08-20 15:57:35.000000000 +0900
@@ -19,4 +19,5 @@

PRODUCT_MAKEFILES :=
$(LOCAL_DIR)/generic_passion.mk
- $(LOCAL_DIR)/full_passion.mk
+ $(LOCAL_DIR)/full_passion.mk
+ $(LOCAL_DIR)/kt_passion.mk
diff -x .git -uprN froyo-orig/device/htc/passion/BoardConfig.mk froyo/device/htc/passion/BoardConfig.mk
— froyo-orig/device/htc/passion/BoardConfig.mk 2010-08-01 18:54:14.000000000 +0900
+++ froyo/device/htc/passion/BoardConfig.mk 2010-08-20 15:57:35.000000000 +0900
@@ -25,11 +25,11 @@
# against the traditional rules of inheritance).
USE_CAMERA_STUB := true

-# inherit from the proprietary version
–include vendor/htc/passion/BoardConfigVendor.mk
-
# Get the generic variables that are common between all versions
# of passion
include device/htc/passion-common/BoardConfigCommon.mk

+# inherit from the proprietary version
+-include vendor/htc/passion/BoardConfigVendor.mk
+
TARGET_RECOVERY_UI_LIB := librecovery_ui_passion librecovery_ui_htc
diff -x .git -uprN froyo-orig/device/htc/passion/extract-apks.sh froyo/device/htc/passion/extract-apks.sh
— froyo-orig/device/htc/passion/extract-apks.sh 1970-01-01 09:00:00.000000000 +0900
+++ froyo/device/htc/passion/extract-apks.sh 2010-08-20 16:12:25.000000000 +0900
@@ -0,0 +1,128 @@
+#!/bin/sh
+
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the “License”);
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an “AS IS” BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+DEVICE=passion
+
+# OVERRIDES APKS
+EXTRACTED_OVERRIDES_APKS=”CalendarGoogle
+ CameraGoogle
+ DeskClockGoogle
+ EmailGoogle
+ Gallery3DGoogle
+ LatinImeGoogle
+ MusicGoogle
+ GoogleQuickSearchBox
+ SetupWizard”
+
+# APKS
+EXTRACTED_APKS=”CarHomeGoogle
+ CarHomeLauncher
+ Facebook
+ GenieWidget
+ Gmail
+ GoogleBackupTransport
+ GoogleCalendarSyncAdapter
+ GoogleContactsSyncAdapter
+ GoogleFeedback
+ GooglePartnerSetup
+ GoogleServicesFramework
+ HtcCopyright
+ HtcEmailPolicy
+ HtcSettings
+ KoreanIME
+ KoreanImeTutorial
+ LatinImeTutorial
+ Maps
+ MarketUpdater
+ MediaUploader
+ NetworkLocation
+ PassionQuickOffice
+ Street
+ Talk
+ Twitter
+ Vending
+ VoiceSearch
+ YouTube
+ kickback
+ soundback
+ talkback”
+
+# make a directory and Andnroid.mk for the prebuilt packages
+PREBUILT_PACKAGES=../../../vendor/htc/$DEVICE/overlay/packages/apps/PrebuiltPackages
+
+mkdir -p $PREBUILT_PACKAGES
+
+# create a makefile
+(cat << EOF) | sed s/__DEVICE__/$DEVICE/g > $PREBUILT_PACKAGES/Android.mk
+# Copyright (C) 2010 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the “License”);
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an “AS IS” BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# This file is generated by device/htc/__DEVICE__/extract-apks.sh
+
+# extracted APKs which override the existing package.
+LOCAL_PATH := $(call my-dir)
+EOF
+
+extract_and_add_rules () {
+for PKG in $1
+do
+ echo -n “Extracting $PKG …”
+ adb pull /system/app/$PKG.apk $PREBUILT_PACKAGES/$PKG.apk
+
+ if [ "$2" = "Override" ]; then
+ if [ "$PKG" = "SetupWizard" ]; then
+ OVERRIDE_RULE=”LOCAL_OVERRIDES_PACKAGES := Provision”
+ else
+ STRIP_GOOGLE=`echo “$PKG” | sed s/Google//g`
+ OVERRIDE_RULE=”LOCAL_OVERRIDES_PACKAGES := $STRIP_GOOGLE”
+ fi
+ else
+ OVERRIDE_RULE=”"
+ fi
+
+ (cat << EOF) | sed s/__LocalModuleName__/$PKG/g
+ | sed s/__OverrideRule__/”$OVERRIDE_RULE”/g
+ >> $PREBUILT_PACKAGES/Android.mk
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := __LocalModuleName__
+LOCAL_MODULE_TAGS := optional
+LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
+LOCAL_MODULE_CLASS := APPS
+LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
+LOCAL_CERTIFICATE := PRESIGNED
+__OverrideRule__
+include $(BUILD_PREBUILT)
+EOF
+done
+}
+
+# add make rules which have packages to override
+extract_and_add_rules “$EXTRACTED_OVERRIDES_APKS” “Override”
+
+# add make rules for the normal packages
+extract_and_add_rules “$EXTRACTED_APKS”
diff -x .git -uprN froyo-orig/device/htc/passion/extract-files.sh froyo/device/htc/passion/extract-files.sh
— froyo-orig/device/htc/passion/extract-files.sh 2010-08-01 18:54:14.000000000 +0900
+++ froyo/device/htc/passion/extract-files.sh 2010-08-21 11:59:41.000000000 +0900
@@ -44,7 +44,6 @@ adb pull /system/lib/libgps.so ../../../
adb pull /system/lib/libgsl.so ../../../vendor/htc/$DEVICE/proprietary/libgsl.so
adb pull /system/lib/libhtc_acoustic.so ../../../vendor/htc/$DEVICE/proprietary/libhtc_acoustic.so
adb pull /system/lib/libhtc_ril.so ../../../vendor/htc/$DEVICE/proprietary/libhtc_ril.so
-adb pull /system/lib/liblvmxipc.so ../../../vendor/htc/$DEVICE/proprietary/liblvmxipc.so
adb pull /system/lib/libmm-omxcore.so ../../../vendor/htc/$DEVICE/proprietary/libmm-omxcore.so
adb pull /system/lib/liboemcamera.so ../../../vendor/htc/$DEVICE/proprietary/liboemcamera.so
adb pull /system/lib/libOmxCore.so ../../../vendor/htc/$DEVICE/proprietary/libOmxCore.so
@@ -53,6 +52,16 @@ adb pull /system/lib/libOmxVidEnc.so ../
adb pull /system/lib/libopencorehw.so ../../../vendor/htc/$DEVICE/proprietary/libopencorehw.so
adb pull /system/lib/libqcomm_omx.so ../../../vendor/htc/$DEVICE/proprietary/libqcomm_omx.so
adb pull /system/lib/libstagefrighthw.so ../../../vendor/htc/$DEVICE/proprietary/libstagefrighthw.so
+adb pull /system/lib/libinterstitial.so ../../../vendor/htc/$DEVICE/proprietary/libinterstitial.so
+adb pull /system/lib/libspeech.so ../../../vendor/htc/$DEVICE/proprietary/libspeech.so
+adb pull /system/lib/libzxing.so ../../../vendor/htc/$DEVICE/proprietary/libzxing.so
+adb pull /system/lib/libjni_koreanime.so ../../../vendor/htc/$DEVICE/proprietary/libjni_koreanime.so
+adb pull /system/etc/apns-conf.xml ../../../vendor/htc/$DEVICE/proprietary/apns-conf.xml
+adb pull /system/media/bootanimation.zip ../../../vendor/htc/$DEVICE/proprietary/bootanimation.zip
+adb pull /system/framework/com.google.android.maps.jar ../../../vendor/htc/$DEVICE/proprietary/com.google.android.maps.jar
+adb pull /system/etc/permissions/com.google.android.maps.xml ../../../vendor/htc/$DEVICE/proprietary/com.google.android.maps.xml
+adb pull /system/etc/contributors.css ../../../vendor/htc/$DEVICE/proprietary/contributors.css
+adb pull /system/etc/permissions/features.xml ../../../vendor/htc/$DEVICE/proprietary/features.xml

(cat << EOF) | sed s/__DEVICE__/$DEVICE/g > ../../../vendor/htc/$DEVICE/$DEVICE-vendor-blobs.mk
# Copyright (C) 2010 The Android Open Source Project
@@ -102,7 +111,6 @@ PRODUCT_COPY_FILES += \
vendor/htc/__DEVICE__/proprietary/libgsl.so:/system/lib/libgsl.so \
vendor/htc/__DEVICE__/proprietary/libhtc_acoustic.so:/system/lib/libhtc_acoustic.so \
vendor/htc/__DEVICE__/proprietary/libhtc_ril.so:/system/lib/libhtc_ril.so \
- vendor/htc/__DEVICE__/proprietary/liblvmxipc.so:/system/lib/liblvmxipc.so \
vendor/htc/__DEVICE__/proprietary/libmm-omxcore.so:/system/lib/libmm-omxcore.so \
vendor/htc/__DEVICE__/proprietary/liboemcamera.so:/system/lib/liboemcamera.so \
vendor/htc/__DEVICE__/proprietary/libOmxCore.so:/system/lib/libOmxCore.so \
@@ -110,7 +118,17 @@ PRODUCT_COPY_FILES += \
vendor/htc/__DEVICE__/proprietary/libOmxVidEnc.so:/system/lib/libOmxVidEnc.so \
vendor/htc/__DEVICE__/proprietary/libopencorehw.so:/system/lib/libopencorehw.so \
vendor/htc/__DEVICE__/proprietary/libqcomm_omx.so:/system/lib/libqcomm_omx.so \
- vendor/htc/__DEVICE__/proprietary/libstagefrighthw.so:/system/lib/libstagefrighthw.so
+ vendor/htc/__DEVICE__/proprietary/libstagefrighthw.so:/system/lib/libstagefrighthw.so \
+ vendor/htc/__DEVICE__/proprietary/libinterstitial.so:system/lib/libinterstitial.so \
+ vendor/htc/__DEVICE__/proprietary/libspeech.so:system/lib/libspeech.so \
+ vendor/htc/__DEVICE__/proprietary/libzxing.so:system/lib/libzxing.so \
+ vendor/htc/__DEVICE__/proprietary/libjni_koreanime.so:system/lib/libjni_koreanime.so \
+ vendor/htc/__DEVICE__/proprietary/apns-conf.xml:system/etc/apns-conf.xml \
+ vendor/htc/__DEVICE__/proprietary/bootanimation.zip:system/media/bootanimation.zip \
+ vendor/htc/__DEVICE__/proprietary/com.google.android.maps.jar:system/framework/com.google.android.maps.jar \
+ vendor/htc/__DEVICE__/proprietary/com.google.android.maps.xml:system/etc/permissions/com.google.android.maps.xml \
+ vendor/htc/__DEVICE__/proprietary/contributors.css:system/etc/contributors.css \
+ vendor/htc/__DEVICE__/proprietary/features.xml:system/etc/permissions/features.xml

EOF

diff -x .git -uprN froyo-orig/device/htc/passion/kt_passion.mk froyo/device/htc/passion/kt_passion.mk
— froyo-orig/device/htc/passion/kt_passion.mk 1970-01-01 09:00:00.000000000 +0900
+++ froyo/device/htc/passion/kt_passion.mk 2010-08-20 18:22:22.000000000 +0900
@@ -0,0 +1,77 @@
+# Copyright (C) 2009 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the “License”);
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an “AS IS” BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#
+# This file is the build configuration for a full Android
+# build for passion hardware. This cleanly combines a set of
+# device-specific aspects (drivers) with a device-agnostic
+# product configuration (apps).
+#
+
+# Use custom kernel
+TARGET_PREBUILT_KERNEL := vendor/htc/passion/zImage
+
+# Use custom modules
+PRODUCT_COPY_FILES +=
+ vendor/htc/passion/bcm4329.ko:system/lib/modules/bcm4329.ko
+
+# Inherit from those products. Most specific first.
+$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
+$(call inherit-product, device/htc/passion/passion_as.mk)
+$(call inherit-product, $(SRC_TARGET_DIR)/product/full.mk)
+
+# Discard inherited values and use our own instead.
+PRODUCT_NAME := kt_passion
+PRODUCT_DEVICE := passion
+PRODUCT_MODEL := Full Android on Passion for the carrier KT
+
+# Add addtional build properties for the KT Passion
+PRODUCT_PROPERTY_OVERRIDES :=
+ ro.ril.oem.ecclist=911,112,999,000,08,118,120,122,110,119,995,111,113,125,127
+ ro.ril.oem.nosim.ecclist=911,112,999,000,08,118,120,122,110,119,995,111,113,125,127
+ ro.com.google.clientidbase=android-kt-kr
+ persist.sys.language=ko
+ persist.sys.country=KR
+ ro.com.android.dateformat=yyyy-MM-dd
+ ro.com.android.dataroaming=false
+ ro.camera.sound.forced=1
+ ro.config.ringtone=Ring_Synth_04.ogg
+ ro.config.notification_sound=pixiedust.ogg
+ keyguard.no_require_sim=true
+ ro.setupwizard.mode=OPTIONAL
+ ro.ril.oem.nosim.ecclist=911,112,999,000,08,118,120,122,110,119,995
+ ro.ril.emc.mode=2
+ ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
+ ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
+ ro.config.ringtone=CaribbeanIce.ogg
+ ro.com.google.clientidbase=android-google
+ ro.config.notification_sound=OnTheHunt.ogg
+ ro.config.alarm_alert=Alarm_Classic.ogg
+ media.stagefright.enable-player=true
+ media.stagefright.enable-meta=true
+ media.stagefright.enable-scan=true
+ media.stagefright.enable-http=true
+ ro.com.android.wifi-watchlist=GoogleGuest
+ ro.error.receiver.system.apps=com.google.android.feedback
+ ro.setupwizard.enterprise_mode=1
+ ro.sf.lcd_density=240
+ rild.libpath=/system/lib/libhtc_ril.so
+ wifi.interface=eth0
+ wifi.supplicant_scan_interval=15
+ ro.telephony.default_network=0
+ ro.opengles.version=131072
+ dalvik.vm.heapsize=24m
+ media.a1026.nsForVoiceRec=0
+ media.a1026.enableA1026=1
+
diff -x .git -uprN froyo-orig/device/htc/passion/setup-makefiles.sh froyo/device/htc/passion/setup-makefiles.sh
— froyo-orig/device/htc/passion/setup-makefiles.sh 2010-08-01 18:54:14.000000000 +0900
+++ froyo/device/htc/passion/setup-makefiles.sh 2010-08-20 15:57:35.000000000 +0900
@@ -41,7 +41,47 @@ PRODUCT_PACKAGES := \
LiveWallpapersPicker \
MagicSmokeWallpapers \
VisualizationWallpapers \
- librs_jni
+ librs_jni \
+ CalendarGoogle \
+ CameraGoogle \
+ DeskClockGoogle \
+ EmailGoogle \
+ Gallery3DGoogle \
+ LatinImeGoogle \
+ MusicGoogle \
+ GoogleQuickSearchBox \
+ CarHomeGoogle \
+ CarHomeLauncher \
+ Facebook \
+ GenieWidget \
+ Gmail \
+ GoogleBackupTransport \
+ GoogleCalendarSyncAdapter \
+ GoogleContactsSyncAdapter \
+ GoogleFeedback \
+ GooglePartnerSetup \
+ GoogleServicesFramework \
+ HtcCopyright \
+ HtcEmailPolicy \
+ HtcSettings \
+ KoreanIME \
+ KoreanImeTutorial \
+ LatinImeTutorial \
+ Maps \
+ MarketUpdater \
+ MediaUploader \
+ NetworkLocation \
+ PassionQuickOffice \
+ SetupWizard \
+ Street \
+ Talk \
+ Twitter \
+ Vending \
+ VoiceSearch \
+ YouTube \
+ kickback \
+ soundback \
+ talkback

# Publish that we support the live wallpaper feature.
PRODUCT_COPY_FILES := \
@@ -73,6 +113,24 @@ EOF
BOARD_GPS_LIBRARIES := libgps

USE_CAMERA_STUB := false
+
+#
+# Product-specific compile-time definitions.
+#
+
+# Override the partition infromation in BoardConfigCommon.mk
+# dev: size erasesize name
+# mtd0: 000e0000 00020000 “misc”
+# mtd1: 00400000 00020000 “recovery”
+# mtd2: 00380000 00020000 “boot”
+# mtd3: 09100000 00020000 “system”
+# mtd4: 05f00000 00020000 “cache”
+# mtd5: 0c440000 00020000 “userdata”
+BOARD_BOOTIMAGE_PARTITION_SIZE := 0×00380000
+BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0×00400000
+BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0×09100000
+BOARD_USERDATAIMAGE_PARTITION_SIZE := 0×0c440000
+BOARD_FLASH_BLOCK_SIZE := 131072
EOF

mkdir -p ../../../vendor/htc/passion/overlay/packages/apps/Launcher2/res/layout
diff -x .git -uprN froyo-orig/device/htc/passion/unzip-files.sh froyo/device/htc/passion/unzip-files.sh
— froyo-orig/device/htc/passion/unzip-files.sh 2010-08-01 18:54:14.000000000 +0900
+++ froyo/device/htc/passion/unzip-files.sh 2010-08-20 15:57:35.000000000 +0900
@@ -17,7 +17,7 @@
DEVICE=passion

mkdir -p ../../../vendor/htc/$DEVICE/proprietary
-unzip -j -o ../../../${DEVICE}_update.zip system/bin/akmd system/bin/mm-venc-omx-test system/bin/parse_radio_log system/etc/01_qcomm_omx.cfg system/etc/AdieHWCodecSetting.csv system/etc/AudioBTID.csv system/etc/firmware/bcm4329.hcd system/etc/firmware/default.acdb system/etc/firmware/default_att.acdb system/etc/firmware/default_france.acdb system/etc/firmware/fw_bcm4329_apsta.bin system/etc/firmware/fw_bcm4329.bin system/etc/firmware/yamato_pfp.fw system/etc/firmware/yamato_pm4.fw system/etc/vpimg system/lib/egl/libEGL_adreno200.so system/lib/egl/libGLESv1_CM_adreno200.so system/lib/egl/libGLESv2_adreno200.so system/lib/egl/libq3dtools_adreno200.so system/lib/libcamera.so system/lib/libgps.so system/lib/libgsl.so system/lib/libhtc_acoustic.so system/lib/libhtc_ril.so system/lib/liblvmxipc.so system/lib/libmm-omxcore.so system/lib/liboemcamera.so system/lib/libOmxCore.so system/lib/libOmxVdec.so system/lib/libOmxVidEnc.so system/lib/libopencorehw.so system/lib/libqcomm_omx.so system/lib/libstagefrighthw.so -d ../../../vendor/htc/$DEVICE/proprietary
+unzip -j -o ../../../${DEVICE}_update.zip system/bin/akmd system/bin/mm-venc-omx-test system/bin/parse_radio_log system/etc/01_qcomm_omx.cfg system/etc/AdieHWCodecSetting.csv system/etc/AudioBTID.csv system/etc/firmware/bcm4329.hcd system/etc/firmware/default.acdb system/etc/firmware/default_att.acdb system/etc/firmware/default_france.acdb system/etc/firmware/fw_bcm4329_apsta.bin system/etc/firmware/fw_bcm4329.bin system/etc/firmware/yamato_pfp.fw system/etc/firmware/yamato_pm4.fw system/etc/vpimg system/lib/egl/libEGL_adreno200.so system/lib/egl/libGLESv1_CM_adreno200.so system/lib/egl/libGLESv2_adreno200.so system/lib/egl/libq3dtools_adreno200.so system/lib/libcamera.so system/lib/libgps.so system/lib/libgsl.so system/lib/libhtc_acoustic.so system/lib/libhtc_ril.so system/lib/libmm-omxcore.so system/lib/liboemcamera.so system/lib/libOmxCore.so system/lib/libOmxVdec.so system/lib/libOmxVidEnc.so system/lib/libopencorehw.so system/lib/libqcomm_omx.so system/lib/libstagefrighthw.so -d ../../../vendor/htc/$DEVICE/proprietary
chmod 755 ../../../vendor/htc/$DEVICE/proprietary/akmd
chmod 755 ../../../vendor/htc/$DEVICE/proprietary/mm-venc-omx-test
chmod 755 ../../../vendor/htc/$DEVICE/proprietary/parse_radio_log
@@ -70,7 +70,6 @@ PRODUCT_COPY_FILES += \
vendor/htc/__DEVICE__/proprietary/libgsl.so:/system/lib/libgsl.so \
vendor/htc/__DEVICE__/proprietary/libhtc_acoustic.so:/system/lib/libhtc_acoustic.so \
vendor/htc/__DEVICE__/proprietary/libhtc_ril.so:/system/lib/libhtc_ril.so \
- vendor/htc/__DEVICE__/proprietary/liblvmxipc.so:/system/lib/liblvmxipc.so \
vendor/htc/__DEVICE__/proprietary/libmm-omxcore.so:/system/lib/libmm-omxcore.so \
vendor/htc/__DEVICE__/proprietary/liboemcamera.so:/system/lib/liboemcamera.so \
vendor/htc/__DEVICE__/proprietary/libOmxCore.so:/system/lib/libOmxCore.so \
diff -x .git -uprN froyo-orig/device/htc/passion/vendorsetup.sh froyo/device/htc/passion/vendorsetup.sh
— froyo-orig/device/htc/passion/vendorsetup.sh 2010-08-01 18:54:14.000000000 +0900
+++ froyo/device/htc/passion/vendorsetup.sh 2010-08-20 15:57:35.000000000 +0900
@@ -21,3 +21,4 @@
# function: add_lunch_combo generic-eng

add_lunch_combo full_passion-userdebug
+add_lunch_combo kt_passion-userdebug
diff -x .git -uprN froyo-orig/device/htc/passion-common/passion.mk froyo/device/htc/passion-common/passion.mk
— froyo-orig/device/htc/passion-common/passion.mk 2010-08-01 18:54:15.000000000 +0900
+++ froyo/device/htc/passion-common/passion.mk 2010-08-20 15:57:35.000000000 +0900
@@ -49,12 +49,11 @@ PRODUCT_COPY_FILES +=
device/htc/passion-common/h2w_headset.kl:system/usr/keylayout/h2w_headset.kl
device/htc/passion-common/vold.fstab:system/etc/vold.fstab

+ifeq ($(TARGET_PREBUILT_KERNEL),)
+LOCAL_KERNEL := device/htc/passion-common/kernel

PRODUCT_COPY_FILES +=
device/htc/passion-common/bcm4329.ko:system/lib/modules/bcm4329.ko
-
-ifeq ($(TARGET_PREBUILT_KERNEL),)
-LOCAL_KERNEL := device/htc/passion-common/kernel
else
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif

[How to] Change fonts on Nexus One

Few days back, I had rooted my Nexus One using the article I had posted about rooting the Nexus One. One of the main reasons behind that move was the inability of Android to render the text in my mother tongue (Tamil). The plain vanilla Android 2.2 does support only a limited set of fonts and it has no support for Unicode yet. DroidSans is the default font used on Android devices. Fonts are placed inside /system/fonts folder of the Android system. After rooting my device, I tried installing few fonts which support Unicode char-set and my Nexus One is able to render Tamil characters now. However, some special glyphs of the Tamil language are not getting rendered properly. This is something to do with the position of the characters. Anyways, now I can read my favorite Tamil blogs on my dearest Nexus One.

Tamil text being transliterated

One-Click root for Nexus One

If you are a tech savvy person, probably the first thing you will try to do on your Android is rooting it. Rooting is the process of gaining root privileges on your Android device. It enables an user to override protected features of the Android Operating System. After rooting the device, one can install the unofficial firmware images. There are different ways of rooting the device. The common method is to unlock the boot loader using the fastboot command. Remember, this will void the warranty. You will even see a warning from Google before doing this. Our friends at XDA have developed lots of tools to ease the rooting process. Quick rooter for Android 2.2 is one such popular tool. It does not install a full ROM, but, meant to be flashed over an existing Froyo installation. Rooting gets further easier with the new application “Universal Androot”

One-Click root

  • Universal Androot is the application which does the magic. The beta version of it can be downloaded from the developers site. Open the application after installing it.
  • Just click on the “Root :-) ” button to unlock your device. Kudos to the developer. It works. “SuperUser” application will also be installed after you root your device. This is used to allow / deny when someone request for root access.
  • The application also provides an option to unroot your device. It is working with minor issues.

Universal Androot Super User application getting request from a shell

Supported devices
Google Nexus One (2.2), HTC Hero (2.1), HTC Magic (1.5), Dell Streak (2.1), Motorola Milestone (2.1), Motorola XT701, Motorola XT800 (2.1), Motorola ME511, Sony Ericsson X10 (1.6), Sony Ericsson X10 Mini Pro (1.6), Acer Liquid (2.1), Vibo A688 (1.6)

Disclaimer: I am not responsible if you mess up your phone trying this application.

(via xda-developers)

– Varun

3 Reasons Why The Nexus One Is NOT a Failure.

The Nexus One

Google latest attempt at penetrating the mobile phone market was met with dismay with the final Nexus One phone being sold from it’s web store in May. There are varying opinions as to why the “superphone” did not last the so called ‘Phone Wars’. Obviously the phone has already been labelled a failure and branded as another Google mistake. However, as a user of the said device and an a rather avid technophile, it is my opinion that the Nexus One is indeed a success story in its own right. Here’s why –

The Face of Android
Every major mobile app has three distinct flavors; an iPhone (or iTouch) version, a Blackberry version and an Android version. Now the first two are pretty easy to spot. I mean there is only one iPhone model out there! And the

Good Mobile Wallpapers HTC Google Nexus One

Good Mobile Wallpapers HTC Google Nexus One

Adobe Air demo running on Google Nexus One

Adobe Air demo running on Google Nexus One