[android-porting] system/bin/dhcpcd not working

2011-01-24 Thread extrapedestrian
hi all, i have android running on mips platform, and I have my dhcpcd setting network configuration. android browser works fine, it can see internet, but I can't download market applications. now im trying to start androids dhcpcd from console, but when I type /system/bin/dhcpcd eth0 nothing happ

[android-porting] Re: system/bin/dhcpcd not working

2011-01-27 Thread extrapedestrian
I found the problem... when dhcp is started from init.rc it gives more info cause it uses logger to print out. it was expecting directory structure /data/misc/dhcp to exist where it could create the file dhcp-eth0.pid but my download is still not working... On Jan 24, 6:10 pm, extrapedestrian

[android-porting] init.rc service script echo

2011-02-02 Thread extrapedestrian
how can I get echo messages from various scripts started from init.rc printed to console? for example, dhcpcd service runs dhcpcd-run-hooks script and echo from there is not printed. also, when i run my custom script.sh like service from init.rc, echo is not printed. thanks, Petar -- unsubscrib

[android-porting] Re: init.rc service script echo

2011-02-02 Thread extrapedestrian
this problem... On Feb 2, 2:38 pm, Joerie de Gram wrote: > Hi, > > Try running the binary/script using /system/bin/logwrapper and then > check the logs using logcat. > > Joerie > > On Wed, Feb 2, 2011 at 11:59 AM, extrapedestrian > > > > > > > > wro

[android-porting] Re: system/bin/dhcpcd not working

2011-02-04 Thread extrapedestrian
service, and it fails because of permissions. (dhcpcd user is not root for some reason) now dhcpcd sets ethernet ip and dns properly, but download is still not working... On Jan 27, 4:37 pm, extrapedestrian wrote: > I found the problem... > when dhcp is started from init.rc it gives more info ca

[android-porting] logging from java not appearing in logcat

2011-02-07 Thread extrapedestrian
I run logcat from init.rc Android boots and displays log to console, but all the log comes from cpp files. For example: LOGI("SurfaceFlinger is starting"); Logs from java files are not displayed. I tried putting Log.d and Log.e to various Java files and functions Im pretty sure they are called, bu

[android-porting] Re: logging from java not appearing in logcat

2011-02-09 Thread extrapedestrian
rebuild of android. On Feb 7, 6:03 pm, extrapedestrian wrote: > I run logcat from init.rc > Android boots and displays log to console, but all the log comes from > cpp files. > For example: LOGI("SurfaceFlinger is starting"); > > Logs from java files are not displaye

[android-porting] multi platformed android native apps

2011-02-14 Thread extrapedestrian
all applications with native code are stuck to ARM platform. since android is being ported to other platforms, and there are NDK kits for other platforms available (i.e. MIPS), there will soon be Android applications available with native support for more then ARM platform. Is there effort from Goo

[android-porting] Re: multi platformed android native apps

2011-02-14 Thread extrapedestrian
27;s you > support. > > On Feb 14, 6:09 am, extrapedestrian > wrote: > > > > > > > > > all applications with native code are stuck to ARM platform. > > since android is being ported to other platforms, and there are NDK > > kits for other platf

[android-porting] when switch to 32 bit graphics icons go black

2011-03-15 Thread extrapedestrian
Hi Im working on MIPS Froyo port, and we had 16bit Framebuffer working, and now I switched to 32bit RGBA format, and all Icons and some GUI elements are completely black. Homescreen background, browser content, jpg images are looking good. Any ideas? -- unsubscribe: android-porting+unsubscr...@

[android-porting] Re: when switch to 32 bit graphics icons go black

2011-03-17 Thread extrapedestrian
tate pixel buffer, I added fix to load_store.cpp file and got some better results. My background and browser content look fine now. But Icons and some GUI elements are all black. Any help on this issue is appreciated. On Mar 15, 2:41 pm, extrapedestrian wrote: > Hi Im working on MIPS Froyo por

[android-porting] Re: when switch to 32 bit graphics icons go black

2011-04-14 Thread extrapedestrian
us if pixel formats are better supported in next releases? On Apr 3, 5:48 am, Cat wrote: > Hello, I am having exactly the same problem. > Did you find any solution? > > On Mar 17, 10:25 pm, extrapedestrian > wrote: > > > > > > > > > Here is more info

[android-porting] Re: when switch to 32 bit graphics icons go black

2011-05-04 Thread extrapedestrian
this is fixed, I still have wrong colors with new format, and Im not sure if problem is big endian, or new color format or both. On Apr 14, 9:37 am, extrapedestrian wrote: > No. > > I found some more info on this > thread:https://groups.google.com/group/android-porting/browse_t

[android-porting] Froyo graphics hardware acceleration: libhgl or not?

2011-05-23 Thread extrapedestrian
How do you go about implementing graphics hardware acceleration on Froyo? I suppose libagl is implementing functions from some header file (which one?), and I need to make my libhgl.so which will implement these functions through hardware drivers. But I read here that libhgl is not used anymore: h

[android-porting] Re: Froyo graphics hardware acceleration: libhgl or not?

2011-05-25 Thread extrapedestrian
I found out I should get EGL OpenGLES1.X and OpenGLES2.0 driver for my graphic chip and copy it to system/lib/egl Then create egl.cfg fajl that points to my drivers and Android will load my drivers dynamically. Anyone confirming this would be splendid. On May 23, 11:36 am, extrapedestrian

[android-porting] Re: SurfaceFlinger implementation

2011-05-25 Thread extrapedestrian
What version of Android? in Froyo 2.2 there is FramebufferNativeWindow::queueBuffer and FramebufferNativeWindow::dequeueBuffer called in SwapBuffers before flip(). I think you can access native buffer there. On May 24, 8:28 pm, drjunior wrote: > I've been digging around SurfaceFlinger service i

[android-porting] Froyo directfb fails to open /dev/mem with Linux 2.6.32

2011-06-06 Thread extrapedestrian
I switched from Linux 2.6.29 which works fine to Linux 2.6.32, and DirectFB fails to initialize. Im using DirectFB with Froyo and it opens /dev/mem to access video memory. But with 2.6.32 it reports file open error on /dev/mem Permission denied. File has full permissions available... though. -- u

[android-porting] Re: Froyo directfb fails to open /dev/mem with Linux 2.6.32

2011-06-08 Thread extrapedestrian
These android groups suck. I never get any answers and now I event get more questions. To answer my own question first, /dev/mem open permission was denied because file owner was 'root', and process that tries to open it (system_server) owner is 'system'. It worked on 2.6.29. because someone hacke

[android-porting] Re: D/DHCP ( 1636): socket() failed: Permission denied

2011-06-08 Thread extrapedestrian
maybe it has something to do with capabilities? link: http://www.friedhoff.org/posixfilecaps.html link excerpt: HowTo - Detection of needed capabilities - strace strace is a diagnostic tool, which intercepts and records called system calls by a process and the signals which are received by this p

[android-porting] Re: service 'SurfaceFlinger' died

2011-06-22 Thread extrapedestrian
doesn't seem like SurfaceFlinger problem.. you have System server: starting Android runtime. and after that all is shutting down. Do you have enough RAM and disk space? is android fs mounted to /system ? On Jun 22, 6:35 am, Liu Xin wrote: > i don't know your platform. So just suggest you to tr

[android-porting] android alarm driver

2011-09-08 Thread extrapedestrian
Im porting Froyo to mips board, and I have trouble building alarm driver. I added source to kernel, it builds and I have driver log, but I don't have device. device node is not created: /dev/alarm I also don't have /dev/rtc and I think this might be causing problem. When does 'rtc_alarm_add_device'

[android-porting] Re: android alarm driver

2011-09-09 Thread extrapedestrian
.  our kernel gives the value from RTC intial > value. if it is 0, or (other uninitialized value), it's possible to crash > AlarmManagerService later. > > thanks, > --lx > > On Thu, Sep 8, 2011 at 11:48 PM, extrapedestrian > > > > > > > > wrote: >

[android-porting] Re: android alarm driver

2011-09-12 Thread extrapedestrian
do you have /dev/rtc on your platform? On Sep 9, 4:30 pm, Xin Liu wrote: > I don't think so . Android alarm doesn't assume that your CPUs have RTC. we > use timer to do the same job. > > --lx > > 在 2011-9-9,下午3:41, extrapedestrian 写道: > > > > > &g

[android-porting] Re: android alarm driver

2011-09-13 Thread extrapedestrian
efer to  java API JNI: > dalvik/vm/native/java_lang_System.c > > or android API JNI: > frameworks/base/core/jni/android_os_SystemClock.cpp > which calls SystemClock.cpp & Timers.cpp > > thanks > --lx > On Mon, Sep 12, 2011 at 9:24 PM, extrapedestrian > > > > &

[android-porting] Re: android alarm driver

2011-09-14 Thread extrapedestrian
m. Did you do > that in .config? > CONFIG_RTC_INTF_ALARM=y > > kernel/driver/rtc/Makefile > rtc-core-$(CONFIG_RTC_INTF_ALARM) += alarm.o > > --lx > > On Tue, Sep 13, 2011 at 9:19 PM, extrapedestrian > > > > > > > > wrote: > > im not saying android use

[android-porting] D/SntpClient: request time failed: java.net.SocketException: Address family not supported by protocol

2011-09-20 Thread extrapedestrian
I work on Mips Froyo port, time/date is not set automatically from network, I get this log: D/SntpClient: request time failed: java.net.SocketException: Address family not supported by protocol Any hints? -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.c

[android-porting] Re: android alarm driver

2011-09-22 Thread extrapedestrian
rService but I can't find how these functions get called after getting time from the net. On Sep 14, 10:31 am, extrapedestrian wrote: > Yes, I have slightly different: > > CONFIG_ANDROID_POWER_ALARM=y > > In kernel\drivers\staging\android\Makefile > obj-$(CONFIG_AN

[android-porting] Froyo gmail account autodiscover error?

2011-10-11 Thread extrapedestrian
Im working on Froyo Mips port, when I start Calendar or Email app it prompts me to login with gmail account, I enter user and pass, click next but it fails connecting with error: "Unable to connect to server." In logcat I see this error: D/AbstractSyncService( 2065): Posting autodiscover to: https

[android-porting] chromecast on aosp

2014-09-05 Thread extrapedestrian
is it possible to add chromecast lib to aosp build and use its api from custom android app? -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "an

[android-porting] Re: how to build Android for Galaxy S2?

2014-09-09 Thread extrapedestrian
I would check these sites http://www.xda-developers.com/ http://www.cyanogenmod.org/ http://xda-university.com/as-a-developer/getting-started-building-android-from-source http://forum.xda-developers.com/galaxy-s2/development-derivatives sorry no precise answer, i never built for this device. On

[android-porting] Re: chromecast on aosp

2014-10-08 Thread extrapedestrian
Id like to access chromecast device from aosp device, is that possible? On Friday, September 5, 2014 9:53:23 AM UTC+2, extrapedestrian wrote: > > is it possible to add chromecast lib to aosp build and use its api > from custom android app? > -- -- unsubscribe: android-port