Nathan | 29 May 21:37 2014
Picon

How to disable hardware keyboard?

My device does not have a hardware keyboard, but for some reason Android still thinks it does.  The hardware keyboard appears in the Settings/Input Methods menu, and I have to manually disable it to get the software keyboards to appear.  Do I have to set a system property? or a build property? to disable the keyboard?  I am using Qualcomm's MSM8074 processor, and their default build for the MSM8974.

--
--
unsubscribe: android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Nathan | 29 May 21:39 2014
Picon

How do I turn off the phone app and related phone services?

My device does not have a phone radio, but for some reason Android still thinks it does.  The phone appears and all the options for tethering and data usage are there.  But this device only has WiFi.   So how do I disable the phone radio in Android?  Do I have to set a system property? or a build property?  I am using Qualcomm's MSM8074 processor, and their default build for the MSM8974.

--
--
unsubscribe: android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Yu Zhou | 28 May 08:00 2014
Picon

how to port my custom android

If i download android source 4.2,how do port it to my system,for which there is no wifi,communication module,bluetooth,camera!
Thanks for any suggesstions!

--
--
unsubscribe: android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Eyal Bellisha | 27 May 16:53 2014
Picon

"shared" key in platform

The platform has several keys that sign apps during build time (platform, shared, media, test . etc.)
One of those keys is the "shared" key.
For what purpose do apps like Dialer ,Contacts and the Launcher need to be signed with the same key? they don't share the same appId after all..
(Launcher and Contacts , for example, don't have a sharedUserId so I don't see why not use different keys for each)

Thanks

--
--
unsubscribe: android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Eyal Bellisha | 27 May 16:51 2014
Picon

"development" protectionLevel

Hi,
I have several questions concerning these "development" permissions.
What is the purpose of permissions with the "development" protectionLevel?
Can these permissions only be granted AFTER installation?
If their behaviour is similar to that of  signatureOrSystem, then why were they created in the first place?
What typical apps should be using these permissions?

Thanks

--
--
unsubscribe: android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
95A31 | 19 May 00:28 2014
Picon

WiFi Direct from ICS to KK

Hi all,
I am porting Sony Xperia 2012 line to AOSP 4.4.2 (https://github.com/androidopensourcexperia). Due Wi-Fi drivers limitations I can not create p2p0 for Wi-FI Direct, so I must use standard interface (wlan0) for both Wi-Fi and Wi-Fi Direct. I cherry-picked this workaround https://github.com/CyanogenMod/android_frameworks_base/commit/dbe2bcc1e5bbbe5b4a525c64d9e6f28888bfdbb2 but Wi-Fi Direct menù look like blocked.

Any ideas?

--
--
unsubscribe: android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Manivannan Palanisamy | 17 May 15:35 2014
Picon

virtual sdcard deamon service was not running in my android 3.4.72 board

Hi,

In my board (it uses eMMC card) the virtual sdcard service is not running during the bootup in my 3.4.72 based kernel kitkat board (porting from jb 3.4.46 to kk 3.4.72)

in my init.<boardfile>.rc file contains the following line but still it was not running.

# create virtual SD card at /storage/sdcard0, based on the /data/media directory
# daemon will drop to user/group system/media_rw after initializing
# underlying files in /data/media will be created with user and group media_rw (1023)
service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated
        class late_start

As a work around if i run this  virtual sdcard deamon process via adb shell it getting starts. following is the o/p after starts the sdcard deamon via adb.

shell <at> tablet:/ $ ps | grep sdcard
media_rw  800   796   3508   464   ffffffff 00000000 S /system/bin/sdcard

Can you please anyone share the inputs like what might causing this issue.

thanks.

--
--
unsubscribe: android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Jonathan Grundmann | 17 May 18:41 2014
Picon

Porting KitKat on Kernel 2.6.35.7 // Graphics

Hello android community, 
I'm actually porting Android 4.4.2 to the Samsung Galaxy Player 3.6 (YP-GS1) on kernel 2.6.35.7 (Please
don't tell me that this isn't working, 'cause I know that it works.)

I backported some things (xt_quota2, netfilter ipv6, dsscomp,...) and it boots fine.

Now I'm actually stuck at the graphics and got some questions.
Please answer them simple.

HW:
OMAP3630 
PowerVR SGX 530 (125)

1. I know that JellyBean works without a HWComposer. Does Kitkat also work without it?
2. Can I use the proprietary blobs (pvrsrvinit, gralloc.omap3.so, opengles1/2 and egl implementation)
from ginherbread, or do I have to backport the kernel driver and the userspace libs?
3. Am I able to disable HW acceleration (USE_OPENGL_RENDERER in BoardConfig.mk) ?

Thanks for your efforts to help me :)

Jonathan

-- 
--

-- 
unsubscribe: android-porting+unsubscribe@...
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscribe@...
For more options, visit https://groups.google.com/d/optout.

David | 16 May 11:47 2014
Picon

How to enable Android 4.4 whole disk encryption

I try to enable whole disk encryption in 4.4 but still don't figure how to make it work.

1. I see Nexus 7 has a partition use to hold encrypt footer

    MDA -> /dev/block/mmcblk0p8
 
    in fstab.grouper  

    wait,encryptable=/dev/block/platform/sdhci-tegra.3/by-name/MDA

    What is this partition for and what is its format and how large is required?

2. When I try encrypt my /data partition, I got the following kernel message:

   [  145.763294] device-mapper: table: 254:0: crypt: Device lookup failed
   [  145.769859] device-mapper: ioctl: error adding target to table

   Does this means some configs missing in my kernel?


Any help would be appreciated. 


--
--
unsubscribe: android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Katy Ma | 14 May 06:58 2014
Picon

Deadlock in libOpenSLES when end skype call

When using skype call, sometimes skype call cannot be end if press end call button, and such log will appear,

"W/libOpenSLES( 2355): frameworks/wilhelm/src/android/AudioRecorder_to_android.cpp:217: pthread 0x62471b80 (tid 2810) sees object 0x66a0d518 was locked by pthread 0x5fb4cc90 (tid 2377) at frameworks/wilhelm/src/itf/IObject.c:411"

I think when end skype call, 
1. libOpenSLES to destroy CAudioRecorder(object locked, later will unlock only in IObject_deinit after finish destroyed in 3.)
2. EVENT_MORE_DATA/EVENT_OVERRUN(etc.) happens and skype callback function will handle the event with a lock(requires lock in 1.).
3. After 1., ~AudioRecord will be called during destroy,it will wait for a lock only when mThreadExitedCondition.broadcast() after AudioRecordThread returns, however AudioRecordThread is blocked in processAudioBuffer when handle EVENT_MORE_DATA/EVENT_OVERRUN(etc.)(requires lock in 2.) However 1. cannot be finished if 3. is blocked. 

So dead lock happened.
It seems that when destroy CAudioRecoder, there's no need to handle the event, however it's hard to sync. And handling event with lock may cause deadlock when destroy CAudioRecorder.
So can we just remove the lock when handling event? Why we need lock here?

--
--
unsubscribe: android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
yakub khan | 8 May 23:00 2014
Picon

emulator kernel booting problems

android will not boot

kernel log
init: cannot open '/initlogo.rle'
yaffs: dev is 32505856 name is "mtdblock0"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.0, "mtdblock0"
yaffs: dev is 32505857 name is "mtdblock1"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.1, "mtdblock1"
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs_read_super: isCheckpointed 0
init: Unable to open persistent property directory /data/property errno: 2
init: cannot find '/system/bin/servicemanager', disabling 'servicemanager'
init: cannot find '/system/bin/vold', disabling 'vold'
init: cannot find '/system/bin/qemu-props', disabling 'qemu-props'
init: cannot find '/system/bin/netd', disabling 'netd'
init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'
init: cannot find '/system/bin/rild', disabling 'ril-daemon'
init: cannot find '/system/bin/surfaceflinger', disabling 'surfaceflinger'
init: cannot find '/system/bin/app_process', disabling 'zygote'
init: cannot find '/system/bin/drmserver', disabling 'drm'
init: cannot find '/system/bin/mediaserver', disabling 'media'
init: cannot find '/system/bin/installd', disabling 'installd'
init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
init: cannot find '/system/bin/keystore', disabling 'keystore'
init: cannot find '/system/bin/qemud', disabling 'qemud'
init: cannot find '/system/bin/logcat', disabling 'goldfish-logcat'
init: cannot find '/system/etc/init.goldfish.sh', disabling 'goldfish-setup'
init: cannot find '/system/bin/sh', disabling 'console'
init: untracked pid 30 exited

--
--
unsubscribe: android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Gmane