[android-porting] screenshots during android startup

2009-02-05 Thread Billy Maron
I see a corrupted image of an android on the LCD. The colours are weird and skipping every other line. Is there a site which has pictures of what the boot images supposed to look like? I can see "System UIDs Inconsistent" from the corrupted image and some other text. I removed /data but still the

[android-porting] Re: difference in the android kernel

2009-02-05 Thread do well
download linux kernel,also download android kernel,then use the linux comand diff,you will find what's the diffrenent On Thu, Feb 5, 2009 at 2:43 PM, vivekananda wrote: > > Hi All, > > I am new to this Android world, can any one here give some information > about the changes made in the Android

[android-porting] keypad and Touchscreen Not working on IMX31 with Android SDK1.0

2009-02-05 Thread Eric Michael
Hi all, I previously ported android on IMX31 with Android SDK release mcr20 and everything was working fine including keypad and touchscreen. Later when I updated with Android patch from SDK 1.0 release with IMX kernel from freescale linx-2.6.24 with android patch. Keypad and touchscreen

[android-porting] Re: ADB over TCP IP on OMAP Board.

2009-02-05 Thread divya
Hi vishal, I am still having some problem with this.I checked my init.rc but the above line isnt present in it.And what is this ip "192.168.0.202 ". Can you share ur init.rc script file. And this you are able to work on windows systemright? Regards, Divya On Jan 22, 10:47 am, vishal bh

[android-porting] Re: Unable to open connection to wpa_supplicant error

2009-02-05 Thread >> Jith911
Hi, I previously got similar error. But that was a problem with permission. This is not the c On Feb 5, 7:46 pm, pavan savoy wrote: > Humn, Didn't you get the same error earlier > > Is the local unix domain sockets being created. Last time I checked on Wifi, > it checks for a path called /

[android-porting] Re: Unable to open connection to wpa_supplicant error

2009-02-05 Thread pavan savoy
Look up, wpa_ctrl.c:static const char *local_socket_dir = "/data/misc/wifi/sockets"; & does your init.rc have this path created ? The error really does mislead regards, Pavan On Thu, Feb 5, 2009 at 5:43 PM, >> Jith911 wrote: > > Hi, > > I previously got similar error. But that was a prob

[android-porting] Re: ADB over TCP IP on OMAP Board.

2009-02-05 Thread vishal bhoj
Divya, I am using a linux host machine, That ip is for network over USB (not sure ).I din't modify my initrc file. I hope 3430sdp has a ethernet port . Can you ping to ur board ? I mean is your network up ? if not try this setprop net.dns1 $netcfg eth0 up $netcfg eth0 dhcp After this try to pi

[android-porting] Re: keypad and Touchscreen Not working on IMX31 with Android SDK1.0

2009-02-05 Thread Rajesh N
Hi Eric, Few mins back I enabled touch screen on Imx31 from freescale, plz apply this patch to u r source code , it will work !, there is a small problem in this patch as co-ordinates r wrongly mapped ,I mean to say it is in reverse , so it need to be rectified!!! kindly update u r status after ap

[android-porting] Re: Unable to open connection to wpa_supplicant error

2009-02-05 Thread >> Jith911
Hi Savoy, I got a similar error before. but that has to do with file permissions. This time its different. File has all the required permissions. In supplicant i have mentioned the control interface as /data/misc/ wifi/. And wpa_supplicant creates a socket file eth0 there which has all the requi

[android-porting] Re: Unable to open connection to wpa_supplicant error

2009-02-05 Thread pavan savoy
Humn, Didn't you get the same error earlier Is the local unix domain sockets being created. Last time I checked on Wifi, it checks for a path called /data/misc/wifi/sockets directory to create local sockets & the below mentioned path to the remote socket. look in wpa_ctrl_open function, or _

[android-porting] Re: Unable to open connection to wpa_supplicant error

2009-02-05 Thread pavan savoy
See, 2 interfaces right, the wpa_supplicant daemon has to communicate with the GUI, this happens over the remote socket [it is just what I call, there could be a better name I agree..] This has to be mentioned in 2 places, wpa_supp...conf & the wifi.c file in hardware/libhardware... However if you

[android-porting] Re: ADB over TCP IP on OMAP Board.

2009-02-05 Thread pavan savoy
Does this help anymore than having telnetd running on board ? I mean what could a adb shell do, which cannot be done by say a normal shell ? Just curious !! On Thu, Feb 5, 2009 at 5:47 PM, vishal bhoj wrote: > Divya, > > > I am using a linux host machine, That ip is for network over USB (not su

[android-porting] Re: Unable to open connection to wpa_supplicant error

2009-02-05 Thread pavan savoy
Not a problem, happy to help. Are you on OMAP platform ? Just curious On Thu, Feb 5, 2009 at 6:28 PM, >> Jith911 wrote: > > Hi Savoy, > > Sorry.. as you said, i browsed through the code.. I understood.. > Thanks a lot Savoy.. I am so sorry.. > > Thanks, > > JJ. > > > On Feb 5, 9:25 pm, pava

[android-porting] Re: Unable to open connection to wpa_supplicant error

2009-02-05 Thread >> Jith911
Hi Savoy, Sorry.. as you said, i browsed through the code.. I understood.. Thanks a lot Savoy.. I am so sorry.. Thanks, JJ. On Feb 5, 9:25 pm, pavan savoy wrote: > See, 2 interfaces right, > the wpa_supplicant daemon has to communicate with the GUI, this happens over > the remote socket [it

[android-porting] Tools to Profile Surface Flinger and Audio Flinger !

2009-02-05 Thread gulshan karmani
Hi All, Which tools can be used in Android to profile surface flinger and Audio Flinger components ? Do we have Oprofile or something else ? Rgds, Gulshan --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://

[android-porting] Unable to open connection to wpa_supplicant error

2009-02-05 Thread >> Jith911
I am getting the following error D/WifiHW ( 63): Unable to open connection to supplicant on "/data/ misc/wifi/e th0": No such file or directory : 2 " But the socket exists at the above said location. And i have given all permissions for that. Also i checked the path in /hardware/libhardware/

[android-porting] Re: ADB over TCP IP on OMAP Board.

2009-02-05 Thread divya
Vishal, I am able to ping to my board ..But the lines with is suggested by Sean and you is not present in my init.rc file. Can you just share ur init.rc file. Actually my requirement is to use both the linux and windows system. Just trying with the windows system first. Do you use minicom

[android-porting] Re: ADB over TCP IP on OMAP Board.

2009-02-05 Thread vishal bhoj
Divya, The lines which i have typed should be typed thru ur hyperterminal when android kernel boots . you can add these lines in init.rc file. what Sean suggested is for emulating ethernet over USB like RNDIS. I have not tried on windows. intrc scriptloglevel 3 loglevel 3 # setup the global e

[android-porting] Re: keypad and Touchscreen Not working on IMX31 with Android SDK1.0

2009-02-05 Thread सरोज
Hi Eric, Its really nice to hear that you have ported android on IMX31 board. I am also trying to port android on IMX31 board, but still no success. It would be nice if you share with us your details porting steps of android on IMX31 board. Also it would be great if you share with your your androi

[android-porting] Text entry through mobile numeric keypad

2009-02-05 Thread Kieran Bingham
Hi Guys, We've been pondering about how to tie all these android things together, and we're wondering how to deal with text entry. How would we (or does android already) deal with input from the number keys, as in writing text messages on the old nokia's, or would android require a full qwert

[android-porting] Re: Text entry through mobile numeric keypad

2009-02-05 Thread Dianne Hackborn
There is some old code that allows for text input with a 12-key keypad, though who knows if it still works. This is certainly something that -can- be made to work, but as an official part of the platform, but there are no plans to do so at this point. You can look at MultiTapKeyListener for some

[android-porting] Re: how to get the source code of HTC G1

2009-02-05 Thread Dima Zavin
You should probably resolve the problem of why you can't access those pages. Having access to the source.android.com site will be crucial for you to do anything with android at the platform level. Just my $0.02 --Dima On Wed, Feb 4, 2009 at 7:24 PM, android linux wrote: > I mean the commands po

[android-porting] FallbackCheckinService

2009-02-05 Thread Dave
Looking at the implementation of SystemServer and FallbackCheckinService, it appears that the implementation of masterClear() and each of the other methods in this service is just a no-op. Is each OEM expected to implement a custom version of this to integrate with their specific hardware (aka a

[android-porting] Re: FallbackCheckinService

2009-02-05 Thread Dianne Hackborn
This has nothing to do with hardware, it's for doing device checkins with a remote server. This is used on the G1 to check in with Google servers to check for updates etc. If you don't want such a feature, you don't need an implementation. On Thu, Feb 5, 2009 at 3:03 PM, Dave wrote: > > Lookin

[android-porting] Re: FallbackCheckinService

2009-02-05 Thread Dave
The Settings application (masterClear.java) is doing nothing other than calling the checkin service's masterClear method. How does masterClear get to the point of deleting the /data partition if FallbackCheckinService's implementation of masterClear() is empty? On Feb 5, 5:35 pm, Dianne Hackborn

[android-porting] Re: FallbackCheckinService

2009-02-05 Thread Dianne Hackborn
Ah sorry, I didn't realize about that. The implementation just calls com.android.internal.os.RecoverySystem.rebootAndWipe(), after checking the appropriate permission: public void masterClear() { if (checkCallingOrSelfPermission("android.permission.MASTER_CLEAR") !=

[android-porting] Re: Unable to open connection to wpa_supplicant error

2009-02-05 Thread >> Jith911
Thanks.. on msm platform now..:) was on pxa, previous time.. On Feb 5, 10:06 pm, pavan savoy wrote: > Not a problem, happy to help. > Are you on OMAP platform ? Just curious > > On Thu, Feb 5, 2009 at 6:28 PM, >> Jith911 wrote: > > > Hi Savoy, > > > Sorry.. as you said, i browsed through t

[android-porting] Re: FallbackCheckinService

2009-02-05 Thread Dave
Thanks Dianne, is this com.android.internal.os.RecoverySystem.rebootAndWipe() something that also needs to be created? I don't see that in my repo On Feb 5, 6:14 pm, Dianne Hackborn wrote: > Ah sorry, I didn't realize about that.  The implementation just calls > com.android.internal.os.Recove

[android-porting] Re: FallbackCheckinService

2009-02-05 Thread Dianne Hackborn
Ah it was added very recently. It will be in the repo at some point, sorry about that. On Thu, Feb 5, 2009 at 4:32 PM, Dave wrote: > > Thanks Dianne, > is this com.android.internal.os.RecoverySystem.rebootAndWipe() > something that also needs to be created? I don't see that in my repo > > > >

[android-porting] Re: Android USB connectivity

2009-02-05 Thread Brian Swetland
The 1.0/cupcake sources do not have specific tethering support included, but in general this could be done by using any number of transports (ethernet over usb, ethernet over bluetooth, ppp over bluetooth, wifi, etc) and the usual facilities in the linux kernel for routing/ NATing/etc. The conn

[android-porting] touch screen calibration?

2009-02-05 Thread chueh8
How does Android process the "touch event" from the linux kernel /dev/ input/eventX ? Does it use the tslib like Qtopia? There are some "touch" related info in "MotionEvent" in the documents... Well, I don't know how it get the "raw" touch data, or how it perform the calibration to the touch devic

[android-porting] Re: touch screen calibration?

2009-02-05 Thread Dianne Hackborn
All our devices at this point use capacitive touch screens, which don't need calibration. On Thu, Feb 5, 2009 at 7:34 PM, chueh8 wrote: > > How does Android process the "touch event" from the linux kernel /dev/ > input/eventX ? > Does it use the tslib like Qtopia? > There are some "touch" relate

[android-porting] Re: touch screen calibration?

2009-02-05 Thread Billy Maron
On Fri, Feb 6, 2009 at 12:38 AM, Dianne Hackborn wrote: > All our devices at this point use capacitive touch screens, which don't > need calibration. whoa? what? --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://group

[android-porting] Re: ADB over TCP IP on OMAP Board.

2009-02-05 Thread vishal bhoj
Divya , Did it help ? Why wre you trying it on windows? On Thu, Feb 5, 2009 at 9:03 AM, vishal bhoj wrote: > Divya, > > The lines which i have typed should be typed thru ur hyperterminal when > android kernel boots . you can add these lines in init.rc file. what Sean > suggested is for emulati

[android-porting] Re: touch screen calibration?

2009-02-05 Thread Dianne Hackborn
Er which part of that is surprising? :} On Thu, Feb 5, 2009 at 10:07 PM, Billy Maron wrote: > > > On Fri, Feb 6, 2009 at 12:38 AM, Dianne Hackborn wrote: > >> All our devices at this point use capacitive touch screens, which don't >> need calibration. > > > whoa? what? > > > > > > > -- Dianne