argongold | 25 Mar 00:26 2014
Picon

BOOT TIMEOUT: forcing display enabled

 Hello,

I am facing a longer bootup time issue after removing the packages and some services from android os.
I have checked for Package Manager, it is taking less time to scan the packages in the phone but overall bootup time has increased. In the logcat I get "BOOT TIMEOUT: forcing display enabled" but could not find what is happing ? 

Is there any boot timeout process?

Can anyone point out where I should look to fix this issue?

Thanks in Advance
argongold

--
--
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.
Andrei | 24 Mar 21:53 2014
Picon

Implementing a custom setting

I've implemented a custom feature inside AudioFlinger that I want to be able to turn on and off. I am currently able to do it by reading a custom system properties (property_get()) and setting it from adb when running adb as root.

If I understand things correctly, Android security architecture does not allow me to modify these properties (property_set()) from an app, e.g. Setting or a custom app, even if I compile the app with the system UID and sign it the system signing identity. The reason is that I need to be root, not system, in order to set them for AudioFlinger to see. (Can someone confirm this?) So I'm abandoning this strategy.

Instead, I'm thinking for using a named semaphore in the OS which would wait for the app the toggle a switch and then set the appropriate setting. This seems like a bit of an overkill.

What is the way to implement this correctly? Is there an event API that the OS code itself could listen to, similar to BroadcastListener in Dalvik? Any feedback is much 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.
vasu devan | 22 Mar 19:31 2014
Picon

GPRS is not getting .

Please help me. I have attached the logcat -b radio from Cubie when trying to connect with  UC20 Modem.

: [AT send -->> MT] AT+CRSM=192,28438,0,0,15
D/RILJ    (  317): [0081]< SIM_IO IccIoResponse sw1:0x90 sw2:0x0
D/RILJ    (  317): [0095]> iccIO: SIM_IO 0xb0 0x6f38  path: 3F007F20,0,0,13
D/AT      (   88): [AT Receive <<-- TE] +CME ERROR: 21
I/RIL     (   88): [requestSIM_IO]: send +CRSM error

E/RIL     (   88): requestSIM_IO error
D/RIL     (   88): onRequest: SIM_IO
I/RIL     (   88): [requestSIM_IO]: p_args->data is NULL

D/AT      (   88): [AT send -->> MT] AT+CRSM=192,28437,0,0,15
D/RILJ    (  317): [0082]< SIM_IO error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/AT      (   88): [AT Receive <<-- TE] +CME ERROR: 21
I/RIL     (   88): [requestSIM_IO]: send +CRSM error

E/RIL     (   88): requestSIM_IO error
D/RIL     (   88): onRequest: GET_SIM_STATUS
D/AT      (   88): [AT send -->> MT] AT+CPIN?
D/RILJ    (  317): [0083]< SIM_IO error: com.android.internal.telephony.CommandException: GENERIC_FAILURE
E/GSM     (  317): Exception in fetching EF_CSP data com.android.internal.telephony.CommandException: GENERIC_FAILURE
D/AT      (   88): [AT Receive <<-- TE] +CPIN: READY
D/AT      (   88): [AT Receive <<-- TE] OK
D/RIL     (   88): onRequest: QUERY_FACILITY_LOCK
D/RIL     (   88): onRequest: QUERY_FACILITY_LOCK
D/RIL     (   88): onRequest: REPORT_STK_SERVICE_IS_RUNNING
D/RIL     (   88): onRequest: SIM_IO
I/RIL     (   88): [requestSIM_IO]: p_args->data is NULL

--
--
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.
Ajitabh Saxena | 21 Mar 15:18 2014

OMX Question

Hi All,

 

      I am having a strange problem in my OpenMAX codec  implementation.  Basically when the ANativeWindow renderer queues the decoded frame to the native window, I was expecting it to hit the HWComposer and then I can display that video frame in HW Composer. The problem that I am facing is that when I do mNativeWindow.get()->queueBuffer, the Buffer is never passed on to the HWCOMPOSER.

      I am sure that the ANtaiveWindow is setup is some way which is not passing the buffer to HWCOMPOSER. Can someone please explain that

what am I missing here.

 

   I am on KitKat

 

Thanks

Ajitabh

 

--
--
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.

Aashish Patel | 19 Mar 14:20 2014
Picon

Enabling USB Mass Storage in Android Kitkat 4.4.2

Hi,

I am running android 4.4.2 on pandaboard and I am not getting any popup when usb cable is connected for Mass storage.

How to enable Mass storage ?

Thanks in Advance.

--
--
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.
paldan | 17 Mar 10:32 2014
Picon

CDMA requests in GSM phone

Hello,

I'm porting the native RIL driver for supporting a new UMTS modem. It seems that all is working fine except the following issue.

The phone is correctly recognized as a GSM phone:

I/PHONE   (  558): Creating GSMPhone

however the system tries to send CDMA requests like the following ones:

D/RILJ    (  558): [0002]> RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE : 1
D/RILJ    (  558): [0016]> RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE

and the signal quality has the cdma bit

D/AT      (  106): AT> AT+CSQ
D/AT      (  106): AT< +CSQ: 4,99
D/AT      (  106): AT< OK
D/RILJ    (  558): [0069]< SIGNAL_STRENGTH SignalStrength: 4 99 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 cdma
D/RILJ    (  558): [0070]> SIGNAL_STRENGTH

while only the GSM fiels have been filled.

How can I move out all the things related to CDMA tech?

Thanks,
Daniele

--
--
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.
Mohan Kumar | 14 Mar 09:31 2014
Picon

Issue with FastMixer while playing short tones

I seeing issues when I use fastmixer for output while I play short Tones by pressing volume button, The output is having extra zeroes inserted between the actual output which makes glitches in the output.

How can we solve this issue?

--
--
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.
Uday Gupta | 14 Mar 00:05 2014
Picon

Issue playing .mxmf file

hi,

I have issue playing the attached .mxmf file.

Sonivox EAS XMF parser returns EAS_ERROR_FILE_FORMAT.

The file seems to be correct in the beginning. Looks like some issue with meta data information.

Does somebody know about how to fix this?

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.
Attachment (Escape.mxmf): application/octet-stream, 3497 bytes
Anand R | 12 Mar 01:16 2014
Picon

External Sd card support in Kitkat 4.4.2

Hi All,

I am facing a issue when i try to mount a external sdcard in a custom device which is running on Kitkat 4.4.2.
Below is the error which i am getting whenever sdcard mount happens.

03-11 23:25:32.229: E/cutils(553): Failed to mkdir(/mnt/shell/emulated/0): Read-only file system
03-11 23:25:32.229: E/dalvikvm(553): cannot mountExternalStorage(): Read-only file system

My init.device.rc is as follows:

# no emmc file systems mounted at this point (system, data, pds, etc.)
# runs after "on early-init" and before "on early-fs"
# runs in charge-only-mode
on init
    export PATH /system/sbin:/system/bin:/system/xbin:/sbin:/vendor/bin

    write /sys/class/graphics/fbcon/cursor_blink 0

    mkdir /mnt/shell 0777 shell shell
    mkdir /mnt/shell/emulated 0700 shell shell

    #mkdir /storage 0550 system sdcard_r
    mkdir /storage/emulated 0555 root root

    mkdir /mnt/media_rw 0777 media_rw media_rw
    mkdir /mnt/media_rw/sdcard1 0700 media_rw media_rw
    mkdir /storage/sdcard1 0775 root root

    export EXTERNAL_STORAGE /storage/emulated/legacy
    export SECONDARY_STORAGE /storage/sdcard1
    export EMULATED_STORAGE_SOURCE /mnt/shell/emulated
    export EMULATED_STORAGE_TARGET /storage/emulated

    #symlink /storage/emulated/legacy /sdcard
    #symlink /storage/emulated/legacy /mnt/sdcard
    #symlink /storage/emulated/legacy /storage/sdcard0
    #symlink /mnt/shell/emulated/0 /storage/emulated/legacy
    #symlink /storage/sdcard1 /extSdCard
    #symlink /storage/sdcard1 /mnt/extSdCard

fstab.device is as follows

# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
/dev/block/system /system ext4 ro,noatime wait
/dev/block/cache /cache ext4 nosuid,nodev,noatime,nodelalloc,barrier=1,data=ordered wait,check
#/dev/block/panic /panic raw defaults wait
/dev/block/userdata /data ext4 nosuid,nodev,noatime,nodelalloc,barrier=1,data=ordered wait,check,encryptable=footer
/dev/block/pds /pds ext4 nosuid,nodev,noatime,nodelalloc,barrier=1,data=ordered wait,check
/devices/pci0000:00/0000:00:04.0/mmc_host/mmc1 auto vfat defaults voldmanaged=sdcard1:auto

Whether i comment or uncomment the creation of symlinks to "/sdcard", "/mnt/sdcard/", the behavior is the same.

When i explicitly mount sdcard from shell prompt using "mount" commnd, it is able to mount.
Please help me to resolve this issue.


Thanks in Advance,
Anand.

--
--
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.
Guennadi Liakhovetski | 11 Mar 09:55 2014
Picon
Picon

x86 goldfish kernel anyone?

Hi all

Is anyone able to run recent kernels with the goldfish emulator for x86? 
I'm not even getting a single line of output from the kernel with the 
"-show-kernel" option, so, it's a problem with the kernel (android 
support) itself or with the emulator ABI... Using the prebuilt compiler 
from the AOSP with the -fno-PIC option - as instructed on an Intel Android 
page.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/

-- 
--

-- 
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.

mansoor vm | 11 Mar 11:45 2014

Why system.img/system filesystem size is always fixed?

i am trying to build a custom rom, in which system.img size is always 550mb i know we can change that in board config using "BOARD_SYSTEMIMAGE_PARTITION_SIZE := 576716800" but to how much?From some post i read we can see exact size by following command in adb shell

cat proc/mtd

mtd0: 22600000 00008000 "system" 

mtd1: 0c800000 00008000 "userdata" 

mtd2: 04200000 00008000 "cache"

the above output is always same even i removed some packages in successive builds .. Please help

--
--
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