Hello,
I'm in Integration a GPS driver into my Android (2.1) and always get
the following error message:
"Permission denied" from:
do {
state->fd = open( /dev/s3c2410_serial0, O_RDWR );
} while (state->fd < 0 && errno == EINTR);
if (state->fd < 0) {
LOGE("could not open gps
Hello,
how it is possible to build only one libary and not the whole system?
--> like: "make libgps.so"
Is it also possible to develope a hal implementation without the
complete android build system -> NDK?
And my last question is which possibilities are there to test a new
hal implementation?
m/lib/libcamera_client.so
> Install: out/target/product/blaze/system/lib/libmedia.so
> Install: out/target/product/blaze/system/lib/libvorbisidec.so
> Install: out/target/product/blaze/system/lib/libstagefright_amrnb_common.so
> Install: out/target/product/blaze/system/lib/libstagefright_avc_com
Hello,
I do not understand why I can not find the "libgps.so" at "/system/
lib" in the emulator (Eclair 2.1 with GPS support enabled).
The gps test app GPSStatus works well and receives the NMEA-Messages
via Telnet...
Does the emulator not require this libary?
Best Regards,
Andreas
--
unsubs
# just run this command ;-)
This is so nice - just few seconds till the libary is built !
Greetz
Andreas Hornsteiner
On 24 Nov., 13:50, Dudero wrote:
> Hello Deva,
>
> thanks for your advise!
>
> To my last question:
>
> Yes, I mean how to test a hal implementation o
Hello Guys,
I have to understand is how I compile native code correctly.
My target is an ARM11-Platform and I use the following Cross-
Toolchain:
CodeSourcery: arm-none-linux-gnueabi-4.3.2 (arm-2008q3) for compiling
the kernel.
This works with no problems, when I set the make params:
"ARCH=ar
On 9 Dez., 11:30, Dudero wrote:
> Hello Guys,
>
> I have to understand is how I compile native code correctly.
>
> My target is an ARM11-Platform and I use the following Cross-
> Toolchain:
>
> CodeSourcery: arm-none-linux-gnueabi-4.3.2 (arm-2008q3) for compiling
>
Thanks guys for your advice!
But now I have another problem with native code ;-)
Accessing a shared libary by an C executable:
I have built a simple library: "libhello.so"
"hello.h"
extern void hello(void);
"hello.c"
---
rom LOCAL_SHARED_LIBRARIES and try
> again.
> This is for creating executable or for creating shared lib ? I believe
> its for generating exe.
> Reg, robin.
>
> On Dec 12, 4:33 am, Dudero wrote:
>
>
>
>
>
>
>
> > Thanks guys for your advice!
>
> > But now I
Hi,
I have a question about the android open source project:
Android has its own boot-loader, or is it necessary to take someone
like U-Boot?
Greetz
dudero
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
y the AOSP?
Greetz
dudero
On 14 Dez., 19:09, Ashwin Bihari wrote:
> Android is based on the Linux Kernel, so you need to determine what it
> takes to load the Kernel. U-Boot is traditionally is used to boot
> Linux. I know Motorola has a custom boot loader for the Droid (as an
> example).
Hello Guys,
does anybody know a way to get the kernel console output?
Or need I only read from a /dev/ttySX device?
On the emulator I only found "sh", but I want tab-completion - do I
have therefore build al shell binary for the goldfish like "ash" or is
there an easier
th MMU are also needed?
Greetz
Dudero
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
U are also important?
Greetz
Dudero
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
art the adb-server with root-
privileges, but I do not think this is a good solution...
Any suggestions?
Greetz dudero
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
t.rc"-file?
In addition it would be a nice feature if it is possible to swich the
orientation by using a adb-shell-command?
Greetz dudero
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
:
static{
System.load("/system/lib/libmokoid_runtime.so");
}
Why come the other Android own hardware-services without this?
Which is the offical way to integrate new Hardware into the HAL?
Greetz dudero
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://grou
Hello,
I don't understand the sense of the kernel-debugger addtions in the
android-linux-kernel. Is it only to debug the kernel for the porting
procedure?
Greetz
dudero
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
Hey,
I want to add new Hardware Services to the Application Framework of my
Android port.
What must I do to get SDK support for this new Services in Eclipse?
Build and add a new android.jar?
Greetz
dudero
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http
I have found out that I have to update the api description and build a
new sdk with the following cmds:
1. make update-api
2. make sdk
I will tell you, if it works...
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
Hello,
which are the native supported processor architecures of official
AOSP.
Is it an ARM with ARMv5TE or ARMv7-A instruction set - or is it just
an issue of optimization, so that generally all ARM processors >=ARM9
are supported?
Greetz dudero
--
unsubscribe: android-porting+unsub
Dudero
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
I found on a presentation the following:
Android Linux Kernel
1.5 - Cupcake - 2.6.27
1.6 - Donout - 2.6.29
2.0/2.1 Eclair - 2.6.29
2.2 - Froyo - 2.6.32
2.3 - Gingerbread - 2.6.35
Can anybody approve this?
--
unsubscribe: android-porting+unsubscr...@goog
- just for porting steps.
Greetz
Dudero
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
Hello,
I want to change the group of my device node form "root" to "system",
but if I run:
"chgrp system /dev/mynode"
chgrp sasy that the group "system" is unknown.
I don't understand this, because "chown system /dev/mynode" works
fine?!
ister this into libhardware?
Greetz
Dudero
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
thank you freakingtux, you made my day!
On 6 Apr., 11:04, freakingtux wrote:
> Hi
>
> On Tuesday, April 5, 2011 5:44:53 PM UTC+2, Dudero wrote:
>
> > Hello,
>
> > I want to change the group of my device node form "root" to "system",
> > but if
Hello,
I have added my own service+manager into the android framework. I'm
just in debugging, but I can't see any logcat messages which are sent
from my manager.
My manager is locatet at frameworks/base/core/java/android/os/
MyManager.java
And my test application can get an instance of it (the r
orks/base/services/java/com/android/server/SystemServer.java
For more details look at the existing Services, like HardwareService.
Greetz
Dudero
On 8 Apr., 09:22, Srinidhi K V wrote:
> Hi,
>
> I have a Thermal management code written in C for a custom EVM board. I want
> to add this as a
Hello,
I have added a new kernel module in my Android Eclair 2.1 which is
loaded in init.rc and makes a device node at /dev/mynode.
My problem is about setting the permission of this node:
If I do it by myself: "chmod 0777 /dev/mynode" the rights will be set,
till next reboot - but if I do this
started by init.rc:
service setPermission /system/bin/sh myscript.sh
oneshot
But I also would like to know why this is so a crux - does it give any
possibility to "debug" the init.rc execution without rewriting init?
Greetz
Dudero
--
unsubscribe: android-porting+unsubscr...@google
?!
Greetz
Dudero
On 8 Apr., 17:57, Pankaj Bharadiya wrote:
> Hi,
> Please try with the following.
>
> create a script somewhere, for example, /system/bin/mymod.rc
> #!/system/bin/sh
> chmod 0777 /dev/mynode
>
> - add the following in /init.rc:
> service mymod /system/
rting site on
source.android.com
Does anybody now some good background information about this topic?
Greetz
Dudero
On 8 Apr., 10:24, Dudero wrote:
> Hello,
>
> I have added my own service+manager into the android framework. I'm
> just in debugging, but I can't see any log
?
Greetz
Dudero
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
and "mSync" lock-
objects: which is for what?
Greetz
Dudero
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
I think "sSync" is for new Service-connection (by
ServiceManager.getService(String name))
and "mSync" is for Managers that already have a Service-connection.
Right?
On 24 Apr., 13:53, Dudero wrote:
> Hello,
>
> I want to add my Manager into the Appl
e are only speaking about "libril.so" and
"rild"...
Greetz
Dudero
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
Thank you Ravi!
I would like to get more background for the "vchanneld"-daemon - what
is the benefit of virual-channels?
Is a "vchanneld"-daemon optional or is the "rild"-daemon alone not
enough?
Greetz
Dudero
On 25 Apr., 08:54, ravi thati wrote:
> On Sun
t;
> On Sun, Apr 24, 2011 at 4:53 AM, Dudero wrote:
> > Hello,
>
> > I want to add my Manager into the ApplicationContext, to get it via
> > getSystemService(Context.MY_SERVICE).
>
> > /frameworks/base/core/java/android/app/ApplicationContext.java
>
> > So
the
"init.rc"-file is no good style -> better to outsource it...
Where can I set the "hardware-platform"-variable, which is used by
init to find the appropiate init..rc file?
Is it perhaps set in the kernel-source, and not in the android-
platform-source?
Greetz
Dudero
-
...
Are the differences from esp. Eclair->Froyo->Gingerbread so big? I
always thought this must be an easy task, also because of the most
changes are in Java and not really depending on the speciffic
hardware?!
Greetz
Dudero
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
w
?!
Greetz dudero
On 2 Mai, 15:44, Hamilton Vera wrote:
> "also because of the most changes are in Java and not really depending
> on the speciffic hardware?"
>
> Not true, basic the hard work is made in kernel level and lots of
> "rework" in libs (written in
n have the values 0 or 1.
Greetz
Dudero
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
Thank you!
On 4 Mai, 17:47, Matthias Kaehlcke wrote:
> El Wed, May 04, 2011 at 08:18:37AM -0700 Dudero ha dit:
>
> > can somebody explain me for what the variable: "prefix" in the
> > following struct is used for:
>
> > Android-sources/system/ini
This is not the device name: "ro.product.device". You mean the .
I think this number is hardcoded in the platform sources - you can
look at the adb deamon sources: /system/core/adb,
esp. on "adb.c" from where the command "adb devices" get the serial
numbers
Gr
Right: in the adb kernel-module at: kernel/drivers/usb/android.c
On 5 Mai, 15:22, hedwin wrote:
> It is in the linux kernel.
>
> Hedwin
>
>
>
>
>
>
>
> On Thu, May 5, 2011 at 3:15 PM, Dudero wrote:
> > This is not the device name: "ro.product.device&q
46 matches
Mail list logo