Liu Xin | 29 Mar 18:45 2014
Picon

Fwd: Re: Porting AOSP to new device - Help needed



---------- Forwarded message ----------
From: Liu Xin <navy.xliu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: Sun, Mar 30, 2014 at 1:43 AM
Subject: Re: [android-porting] Re: Porting AOSP to new device - Help needed
To: jvcmazda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org


if you confirm that your kernel boot successfully and you can not see boot animation, you should check out GPU driver first. 
your ROM may ship with wrong GLES/EGL driver .

thanks,
--lx



On Sat, Mar 29, 2014 at 5:25 PM, Tox1c1ty75 <jvcmazda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Thanks for your answer.

The problem I am facing is that when I compile a ROM with manufacturer's kernel source, the ROM won't even get to bootanimation. But the recovery compiled with those sources works perfectly.

What is wrong with what I'm doing?

Le vendredi 28 mars 2014 16:57:54 UTC+1, harsh panchal a écrit :
Kernel is not that much important for bringing up newer android version. Some legacy devices still uses 2.x kernel for JB and higher.

But still if you want to upgrade your kernel that apply incremental patches. For major difference in kernel version, grab kernel source from board manufacturer (like qualcomm) & port your board files.

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


--
--
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.
harsh panchal | 28 Mar 16:52 2014
Picon

Shrinked data partition

I'm compiling AOSP jellybean (4.1.2_r2) build for my device (GT-i9070). I was able to boot it but i can
notice that my data partition is only few MBs now (original size is 2GB). Rest of the partitions are ok. df
command also shows 300 MB where as cat  /proc/partitions shows size of mmcblk0p5 (mounted as /data) 2GB.

I also noticed one more thing that after every reboot, my data on /data is lost so every reboot is acting like a
hard reset.

Any ideas?
Am i missing anything?

-- 
--

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

Tox1c1ty75 | 28 Mar 15:52 2014
Picon

Porting AOSP to new device - Help needed

Hi everyone,

I'm currently trying to port AOSP to a device already running Android (though not AOSP), and I need a little help to do so.

Said device configuration is pretty generic overall (uses Snapdragon S600 and qcom hardware), and there is kernel source available from manufacturer.

My problem is that kernel source from manufacturer is for Android 4.1.2 and I would like to have 4.4.2. Also, there is no device configuration (android_device_manufacturer_model) so I created them myself.

What do I need to do to port 4.1.2 kernel sources to 4.4.2? Are there things to update, to modify, and so on?

Thanks for your answers, any help is really 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.
matadeen mishra | 28 Mar 06:42 2014
Picon

Getting Black Screen in Chrome browser

I am getting following log while running the browser :

Please help me out.




D/WebViewTimersControl( 3466): onBrowserActivityResume
D/WebViewTimersControl( 3466): Resuming webview timers, view=com.android.browser.BrowserWebView{5281be20 VFEDHVCL .F....I. 0,0-0,0}
W/AwContents( 3466): nativeOnDraw failed; clearing to background color.
I/ActivityManager(  461): Displayed com.android.browser/.BrowserActivity: +217ms
D/dalvikvm( 3466): GC_FOR_ALLOC freed 3190K, 33% free 9443K/13980K, paused 8ms, total 8ms
W/AwContents( 3466): nativeOnDraw failed; clearing to background color.
W/AwContents( 3466): nativeOnDraw failed; clearing to background color.
I/chromium( 3466): [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported
I/chromium( 3466): [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported
 
===================

W/linker  ( 3858): libcutils.so has text relocations. This is wasting memory and is a security risk. Please fix.
E/browser ( 3466): Console: Not allowed to load local resource: file:///android_asset/webkit/android-weberror.png data:text/html,chromewebdata:12
E/IMGSRV  ( 3466): :0: gralloc_module_map: Mismatching lock usage bits 0xP...FHWR=0x00000033 vs requested usage bits 0xP...FHWR=0x00000100
E/IMGSRV  ( 3466): :0: MapBufferObtainParams: Mapping buffer failed
E/IMGSRV  ( 3466): :0: WSEGL_GetDrawableParameters: Failed to obtain buffer parameters
E/chromium( 3466): [ERROR:gl_image_egl.cc(59)] Error creating EGLImage: 12300
E/IMGSRV  ( 3466): :0: gralloc_module_map: Mismatching lock usage bits 0xP...FHWR=0x00000033 vs requested usage bits 0xP...FHWR=0x00000100
E/IMGSRV  ( 3466): :0: MapBufferObtainParams: Mapping buffer failed
E/IMGSRV  ( 3466): :0: WSEGL_GetDrawableParameters: Failed to obtain buffer parameters
E/chromium( 3466): [ERROR:gl_image_egl.cc(59)] Error creating EGLImage: 12300
E/IMGSRV  ( 3466): :0: gralloc_module_map: Mismatching lock usage bits 0xP...FHWR=0x00000033 vs requested usage bits 0xP...FHWR=0x00000100
E/IMGSRV  ( 3466): :0: MapBufferObtainParams: Mapping buffer failed
E/IMGSRV  ( 3466): :0: WSEGL_GetDrawableParameters: Failed to obtain buffer parameters
E/chromium( 3466): [ERROR:gl_image_egl.cc(59)] Error creating EGLImage: 12300
E/IMGSRV  ( 3466): :0: gralloc_module_map: Mismatching lock usage bits 0xP...FHWR=0x00000033 vs requested usage bits 0xP...FHWR=0x00000100
E/IMGSRV  ( 3466): :0: MapBufferObtainParams: Mapping buffer failed
E/IMGSRV  ( 3466): :0: WSEGL_GetDrawableParameters: Failed to obtain buffer parameters
E/chromium( 3466): [ERROR:gl_image_egl.cc(59)] Error creating EGLImage: 12300
E/IMGSRV  ( 3466): :0: gralloc_module_map: Mismatching lock usage bits 0xP...FHWR=0x00000033 vs requested usage bits 0xP...FHWR=0x00000100
E/IMGSRV  ( 3466): :0: MapBufferObtainParams: Mapping buffer failed
E/IMGSRV  ( 3466): :0: WSEGL_GetDrawableParameters: Failed to obtain buffer parameters
E/chromium( 3466): [ERROR:gl_image_egl.cc(59)] Error creating EGLImage: 12300


-----------------------------


E/IMGSRV  ( 3466): :0: gralloc_module_map: Mismatching lock usage bits 0xP...FHWR=0x00000033 vs requested usage bits 0xP...FHWR=0x00000100
E/IMGSRV  ( 3466): :0: MapBufferObtainParams: Mapping buffer failed
E/IMGSRV  ( 3466): :0: WSEGL_GetDrawableParameters: Failed to obtain buffer parameters
E/chromium( 3466): [ERROR:gl_image_egl.cc(59)] Error creating EGLImage: 12300
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(10191)] [.ChromiumCompositor-0xb8e82620]GL ERROR :GL_INVALID_OPERATION : glBindTexImage2DCHROMIUM: no image found with the given ID
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(5758)] [.ChromiumCompositor-0xb8e82620]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(5758)] [.ChromiumCompositor-0xb8e82620]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(10191)] [.ChromiumCompositor-0xb8e82620]GL ERROR :GL_INVALID_OPERATION : glBindTexImage2DCHROMIUM: no image found with the given ID
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(5758)] [.ChromiumCompositor-0xb8e82620]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(10191)] [.ChromiumCompositor-0xb8e82620]GL ERROR :GL_INVALID_OPERATION : glBindTexImage2DCHROMIUM: no image found with the given ID
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(5758)] [.ChromiumCompositor-0xb8e82620]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(5758)] [.ChromiumCompositor-0xb8e82620]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(5758)] [.ChromiumCompositor-0xb8e82620]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(5758)] [.ChromiumCompositor-0xb8e82620]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(5758)] [.ChromiumCompositor-0xb8e82620]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(5758)] [.ChromiumCompositor-0xb8e82620]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(5758)] [.ChromiumCompositor-0xb8e82620]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(5758)] [.ChromiumCompositor-0xb8e82620]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
E/browser ( 3466): Console: Not allowed to load local resource: file:///android_asset/webkit/android-weberror.png data:text/html,chromewebdata:12
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(5758)] [.ChromiumCompositor-0xb8e82620]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(5758)] [.ChromiumCompositor-0xb8e82620]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(5758)] [.ChromiumCompositor-0xb8e82620]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(10191)] [.ChromiumCompositor-0xb8e82620]GL ERROR :GL_INVALID_OPERATION : glBindTexImage2DCHROMIUM: no image found with the given ID
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(5758)] [.ChromiumCompositor-0xb8e82620]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(10191)] [.ChromiumCompositor-0xb8e82620]GL ERROR :GL_INVALID_OPERATION : glBindTexImage2DCHROMIUM: no image found with the given ID
E/chromium( 3466): [ERROR:gles2_cmd_decoder.cc(5758)] [.ChromiumCompositor-0xb8e82620]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'
W/linker  ( 3871): libcutils.so has text relocations. This is wasting memory and is a security risk. Please fix.

--
--
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.
Vishwanath Chandapur | 27 Mar 20:39 2014
Picon

OMX Enoder Poring Kitkat

Hi

I am facing issues related recording on kitkat,
When I click record button it start recording,
 But when I am trying to play the same recorded video it shows blank screen ,tried play on PC also but shows same blank screen
 

Using Hardware encoders, but same encoders works perfectly   in jelly bean

Using same kernel for both Jelly Bean and Kitkat


Any input greatly appreciated.


Thanks in advance
Vishwa 

--
--
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.
Dave McLaughlin | 27 Mar 06:21 2014
Picon

DS1338 RTC detected but no rtc0 in sys/class/rtc

I have added a DS1338 to my custom header board and I have included the RTC DS1307 driver in the kernel and on bootup the system detects the RTC on the bus but there is no rtc0 in sys/class/rtc

I removed the sun7i rtc driver from the kernel so that my DS1338 would be the main source as it has battery backup attached. The following appears in the dmesg output.

    i2c-core: driver [rtc-ds1307] registered

How do I get the system to create rtc0?

--
--
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 | 27 Mar 04:07 2014
Picon

Getting Sensor information from Audio HAL

Hi,

I am working on some audio algorithm in audio HAL. This audio algorithm needs to get the information from the sensors. What would be the best way to get this information?

1. Directly call the kernel sensor interface.
2. Use the sensor service.

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.
User002 | 25 Mar 23:25 2014
Picon

Bluez under android

Hi,
I m trying to port Bluez 5.12 API under android 4.0.3.
I updated bluetooth subsystem  from backports project (I used for that backports-3.10.19-1) .
I have succeeded to compile and install bluez under linux but i can't found any documentation to do the same under android 
Anyone have an idea how to install bluez under android  ? 

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

Gmane