[android-porting] Re: Android porting on Qemu

2009-02-18 Thread indra dutt
No issues Avtar... I understand that.

On Wed, Feb 18, 2009 at 11:26 AM, Avtar Singh s.av...@gmail.com wrote:


  It would be really great if you can forward any e-book on
  that.
 I don't have any. You should be able to get started with the details
 on the Android website.

  I thought I asked a very specific question as you can see my subject line
  too Android porting on Qemu.
 Your questions seemed unclear to me atleast.

 



-- 
Thanks
-Indra

--~--~-~--~~~---~--~~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~--~~~~--~~--~--~---



[android-porting] Re: Android porting on Qemu

2009-02-17 Thread indra dutt
Yes David,
I was thinking of making Android system running on QEMU. Like you said, HW
changes have been made to make Android run.
So it seems like there is no way, It can be done on QEMU or any of its
derivative platform.

On Tue, Feb 17, 2009 at 4:06 PM, David Turner di...@android.com wrote:

 Indra,

 I still don't have a clue as to what you really want to do. The terms
 you're using are rather vague, it would be very helpful if you could
 describe what you intend to do in more practical terms, as in:

 - I want to port Android to run on a stock Linux distribution (won't happen
 without kernel changes)
 - I want to run the Android system on a stock QEMU (won't happen for lack
 of proper HW support)
 - I want to look at the source code and modify it and run my modifications
 (you can already do that from the open-source tree, after a build, just type
 emulator to launch your new system image)

 etc...


 On Tue, Feb 17, 2009 at 10:14 AM, indra dutt indrad...@gmail.com wrote:

 Hi David,

 Thanks for your notes. Definitely that clarifies a lots of things.
 It means we can not build emulator the way I was taking it, but still I am
 interested in putting the things together.
 Do you think that can be done? If that is so, what procedures do I have to
 follow?
 Thanks for all your help!!


 On Tue, Feb 17, 2009 at 1:34 PM, David Turner di...@android.com wrote:

 I fear you don't understand much how Android works, but I'll try to give
 a few hints:

 Android requires its own kernel, because it includes a few drivers that
 are specific to the platform (e.g. the Binder driver used to implement
 inter-process communication) or specific configuration settings. You thus
 can't run Android properly on a stock Linux kernel, even one compiled for
 ARM. For the record, Android currently uses 2.6.27 and there are chances
 that trying to use 2.6.24 is not going to work at all, even if you try to
 integrate Android-specific changes into it.

 The Android kernel sources are available from android.kernel.org. This
 includes a virtual platform named goldfish corresponding to an ARM-based
 virtual machine that can be run in the Android emulator, which is a
 derivative of QEMU that includes goldfish hardware emulation. In other words
 you cannot use a stock QEMU to run this kernel because it doesn't include
 the necessary hw support.

 Apart from that, the SDK contains the emulator plus some files in the
 tools/lib/images directory that are:

 - kernel-qemu: a prebuilt image of the Android kernel built for the
 goldfish platform (ARM-based)
 - ramdisk.img: the ramdisk image used to boot the system (which includes
 Android-specific /init and config files)
 - system.img: a YAFFS2 image mounted as / when the emulated system starts
 - userdata.img: another YAFFS2 image mounted as /data when the emulated
 system starts.

 Actually, system.img and userdata.img are not mounted directly, they are
 copied into either a temporary file or one in ~/.android/userdata-qemu.img
 when the emulator starts up, so should only be considered as initial version
 of the corresponding filesystems.

 These already contain an ARM-based Android system, including an ARM-based
 Dalvik.

 You can download the Android SDK from this page:
 http://developer.android.com/sdk/1.1_r1/index.html

 The emulator sources are available here too:
 http://code.google.com/p/android/downloads/list
 (note: the emulator in the 1.1 SDK is the same one than in the 1.0r2 SDK)

 The sources of most of the Android platform (i.e. everything that has
 been open-sourced) are available from: source.android.com

 I still don't understand what you mean by reverse-engineering, but so be
 it.

 Hope this helps

 On Tue, Feb 17, 2009 at 7:35 AM, indra dutt indrad...@gmail.com wrote:

 Ok. perhaps let me put it like, Suppose I do not have android emulator
 and I want to make that,
 We know on Qemu there is Linux 2.6.23 and on top of that there are
 android images and Goldfish FS, then there is Dalvik VM ported.
 Does that make sense?
 Any help??

 On Tue, Feb 17, 2009 at 11:01 AM, Avtar Singh s.av...@gmail.comwrote:


  On my windows environment, I am installing 2.6.24 kernel, and on that
 I plan
  to port Middleware ( Android file-system, ARM file-simulation), on
 then
  Dalvik VM, finally I wish to run any android application on that.
  I am sure you now have clue what I intend to do.
 Absolutely no clue.

  I am planning to make my
  own android emulator and to play with it later.
  I am seeking help on that.
 Do you plan to use/build on QEMU source or not? Have you tried
 installing Android source code and looking at its emulator code?





 --
 Thanks
 -Indra









 --
 Thanks
 -Indra




 



-- 
Thanks
-Indra

--~--~-~--~~~---~--~~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~--~~~~--~~--~--~---



[android-porting] Re: Android porting on Qemu

2009-02-17 Thread indra dutt
Thanks Avtar, It would be really great if you can forward any e-book on
that.
I thought I asked a very specific question as you can see my subject line
too Android porting on Qemu.
Since I was not aware, what it takes to achieve that, I posted this query.
David really gave a good insight on that. Thanks a ton for that.


On Tue, Feb 17, 2009 at 6:21 PM, Avtar Singh s.av...@gmail.com wrote:


  Yes David,
  I was thinking of making Android system running on QEMU. Like you said,
 HW
  changes have been made to make Android run.
  So it seems like there is no way, It can be done on QEMU or any of its
  derivative platform.

 I guess you should try to setup Android and run it in emulator. You
 will also become more aware of how Android is structured and would be
 able to ask specific questions then.

 



-- 
Thanks
-Indra

--~--~-~--~~~---~--~~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~--~~~~--~~--~--~---



[android-porting] Re: Android porting on Qemu

2009-02-16 Thread David Turner
Hmmm, maybe you could try the Android emulator, which is a QEMU derivative,
with full source code available under the GPL ?

On Mon, Feb 16, 2009 at 3:23 PM, indra indrad...@gmail.com wrote:


 Hi all,

 I am planning to do some reverse engineering on Android.
 Can somebody explain me what does it take to port the Android
 application on QEMU.

 1. How to extract Android FS.
 2. How to port ARM FS on it.
 3. How to build and port Dalvik VM on it.

 I would really appreciate if you can tell me some step-by-step
 approach.

 Thanks and Regards,
 Indra
 


--~--~-~--~~~---~--~~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~--~~~~--~~--~--~---



[android-porting] Re: Android porting on Qemu

2009-02-16 Thread indra dutt
Yes that's logical, but I want to port the whole customized system by
myself. It would be great if you can provide help on that.


On Mon, Feb 16, 2009 at 8:01 PM, David Turner di...@android.com wrote:

 Hmmm, maybe you could try the Android emulator, which is a QEMU derivative,
 with full source code available under the GPL ?


 On Mon, Feb 16, 2009 at 3:23 PM, indra indrad...@gmail.com wrote:


 Hi all,

 I am planning to do some reverse engineering on Android.
 Can somebody explain me what does it take to port the Android
 application on QEMU.

 1. How to extract Android FS.
 2. How to port ARM FS on it.
 3. How to build and port Dalvik VM on it.

 I would really appreciate if you can tell me some step-by-step
 approach.

 Thanks and Regards,
 Indra



 



-- 
Thanks
-Indra

--~--~-~--~~~---~--~~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~--~~~~--~~--~--~---



[android-porting] Re: Android porting on Qemu

2009-02-16 Thread David Turner
Hmmm, just using lunch generic-eng should generate system images that are
directly runnable on the emulator.
I really don't understand what you want when you say you want to perform
reverse engineering and port it to QEMU ?

On Mon, Feb 16, 2009 at 3:42 PM, indra dutt indrad...@gmail.com wrote:

 Yes that's logical, but I want to port the whole customized system by
 myself. It would be great if you can provide help on that.


 On Mon, Feb 16, 2009 at 8:01 PM, David Turner di...@android.com wrote:

 Hmmm, maybe you could try the Android emulator, which is a QEMU
 derivative, with full source code available under the GPL ?


 On Mon, Feb 16, 2009 at 3:23 PM, indra indrad...@gmail.com wrote:


 Hi all,

 I am planning to do some reverse engineering on Android.
 Can somebody explain me what does it take to port the Android
 application on QEMU.

 1. How to extract Android FS.
 2. How to port ARM FS on it.
 3. How to build and port Dalvik VM on it.

 I would really appreciate if you can tell me some step-by-step
 approach.

 Thanks and Regards,
 Indra







 --
 Thanks
 -Indra


 


--~--~-~--~~~---~--~~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~--~~~~--~~--~--~---



[android-porting] Re: Android porting on Qemu

2009-02-16 Thread Avtar Singh

 On my windows environment, I am installing 2.6.24 kernel, and on that I plan
 to port Middleware ( Android file-system, ARM file-simulation), on then
 Dalvik VM, finally I wish to run any android application on that.
 I am sure you now have clue what I intend to do.
Absolutely no clue.

 I am planning to make my
 own android emulator and to play with it later.
 I am seeking help on that.
Do you plan to use/build on QEMU source or not? Have you tried
installing Android source code and looking at its emulator code?

--~--~-~--~~~---~--~~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~--~~~~--~~--~--~---