[android-porting] Re: android rootfs optimization

2012-01-11 Thread ヘマント
Hi, You could start off by identifying the largest items. du -ah path to rootfs | sort -rh Then depending on the output you can start by working on the larger items. 1. Try to identify duplicate copies of items (pictures, executables etc) and eliminate redundancy 2. See if you can move some of

[android-porting] Re: How to change static Opening Logo kernel Android

2012-01-08 Thread ヘマント
This will be easy, if you are building your own kernel. See: http://forum.xda-developers.com/archive/index.php/t-443431.html You'll need to create a 565 image and pack it with your rootfs. On Jan 7, 8:24 am, skywalker vc.adr...@gmail.com wrote: Hi, I want to change Opening logo in kernel

[android-porting] Re: Disabling WiFi on boot

2012-01-08 Thread ヘマント
Look for your interface name in your init.xx and disable starting by default. (You could change it to use a system property trigger instead) On Jan 8, 3:15 am, Samuh samuh.va...@gmail.com wrote: We are experimenting with a custom hardware which is running Gingerbread 2.3.4 version of Android.

[android-porting] Re: compile time flag triggered by build variant

2012-01-04 Thread ヘマント
I thought the previous build config was compared and 'installclean' was run when the variant was changed. From cleanbuild.mk # Since products and build variants (unfortunately) share the same # PRODUCT_OUT staging directory, things can get out of sync if different # build configurations are

[android-porting] Re: Touch Driver Porting on ICS

2011-12-12 Thread ヘマント
Hi, Please take a look at: http://source.android.com/tech/input/input-device-configuration-files.html There are some other related pages that are very useful for debugging input events. Also are you sure that you are getting the touch events from the driver? You can check this by using getevent

[android-porting] Re: Finding config_voice_capable

2011-12-05 Thread ヘマント
You can see it in frameworks/base/core/res/res/values/config.xml Ex: bool name=config_voice_capabletrue/bool On Dec 4, 2:53 am, Lynx516 james.graves...@gmail.com wrote: I am trying to find where ( which file) this setting is defined. Can anyone help? The full name of the setting is:

[android-porting] Re: Disable Hardware Composition

2011-12-02 Thread ヘマント
You could do it by setting the system property debug.sf.hw to 0, I guess. See: /frameworks/base/services/surfaceflinger/DisplayHardware/ DisplayHardware.cpp if (property_get(debug.sf.hw, property, NULL) 0) { if (atoi(property) == 0) { LOGW(H/W composition disabled); : On Dec 2,

[android-porting] Re: Zygote failed in Gingerbread on am3703 board

2011-11-20 Thread ヘマント
132 8294 S /sbin/adbd root 802 0 0 c01217e8 S flush-ubifs_0_0 root 149 62852320 afd0b45c R ps media 150 1 1380 548 b000111c R /system/bin/mediaserver 2011/11/17 Hemanth(ヘマント) hemanth

[android-porting] Re: Zygote failed in Gingerbread on am3703 board

2011-11-17 Thread ヘマント
Check out the kernel log to see if there are some errors. You could also try to do an adb stop and manually start zygote from a shell to see what is happening at that time. On Nov 16, 1:57 pm, venkat k raju kvraju@gmail.com wrote: Hi all please suggest me where i go wrong. logcat

[android-porting] Re: bluescreen issue

2011-11-17 Thread ヘマント
Do check the changes in your display and overlay code. A blue screen could be because of an underfill. The symptom definitely matches. (Just an example) From:

[android-porting] Re: how to set screen timeout from adb shell command on GingerBread?

2011-08-25 Thread ヘマント
You could change it in the settings database using Ex: to change it to one minute sqlite3 /data/data/com.android.providers.settings/databases/ settings.db INSERT INTO system VALUES (null,'screen_off_timeout','60'); or sqlite3 /data/data/com.android.providers.settings/databases/ settings.db

[android-porting] Re: Urgent: Android Emulator keypad not working properly

2011-08-25 Thread ヘマント
to write out of memory On Aug 17, 11:31 am, Hemanth(ヘマント) hemanth@gmail.com wrote: Hi, Some of the keymapping stuff is documented here:http://www.kandroid.org/online-pdk/guide/keymaps_keyboard_input.html From the kcm file there (which is the default), it looks like the fn

[android-porting] Re: Urgent: Android Emulator keypad not working properly

2011-08-17 Thread ヘマント
Hi, Some of the keymapping stuff is documented here: http://www.kandroid.org/online-pdk/guide/keymaps_keyboard_input.html From the kcm file there (which is the default), it looks like the fn mapping for 'W' is indeed '1' # keycode basecapsfn caps_fn number display_label E

[android-porting] Re: How see the INFO,NOTICE log in the logcat ?

2011-07-19 Thread ヘマント
Hi, Changing the loglevel is the right way to go. Have you checked the kernel logs? Try the -show-kernel option. From: http://developer.android.com/guide/developing/devices/emulator.html On Jul 12, 5:04 pm, tony.xuan jituo...@gmail.com wrote: Hi,all, I am now debugging the full-source ,can

[android-porting] Re: device configuration information

2011-07-19 Thread ヘマント
Hi, To just check out how your icons look, you can change qemu.sf.lcd_density if you are using an emulator. It actually overrides a read-only system property ro.sf.lcd_density, which you can also change, if you have buildable code/root for your device. See:

[android-porting] Re: Replace the booting command line with customized flash image

2011-06-08 Thread ヘマント
Hello, To create an rle file from a normal image file you can use the rgb2565 in your build tree under build/tools along with imagemagick. The steps are detailed here: http://forum.xda-developers.com/showthread.php?t=456071 In some phones the bootlogo is part of the boot.img, and you could

[android-porting] Re: Key Map issue while porting from Android 2.3 to 3.1

2011-06-08 Thread ヘマント
Hi, Try checking your logcat log, in case loading the expected keylayout fails and we fallback to the generic layout there should be a print that shows the error and the expected name. Also, To easily get the input device name, you can try getevent -c 1 to get a listing of the available devices.

[android-porting] Re: How to fix booting up in SAFE MODE with android-2.2.1

2011-01-05 Thread ヘマント
Hi, Looks like there are multiple things that can cause the phone to enter safe mode. 1. D-pad center key (if d-pad is present) 2. Menu key 3. S key (if hard keyboard is present) 4. Mouse (Not sure when this event is triggered, probably when a hid device is connected?) A restart gets the phone