[KITCHEN] Android Compiler VM x64 edition - Galaxy S I9000 Android Development

Android Compiler VM 3.0 x64
This is the third reincarnation of the Kernel Compiler VM, with the modification needed to support Gingerbread development (64-bit machine + Java 6)
The installation is simple.
1. Download the file (around 800MB!)
2. Extract using 7-zip
3. IMPORT the VM into VirtualBox (you have to import it, or else the HDD will be read only!)
4. Enjoy
I made some modifications to the default config, that will now allow one to use putty or any other SSH client (including WinSCP for file transfer) to connect to the VM without too much hassle. This was done by using two virtual LAN cards, from which one can connect to the internet, and the host computer can connect to the VM using the other one. Usually the IP changes, but it seems if you only have one VM it is: 192.168.56.101. Username/password is still kernel/kernel
Changes from 2.0:
debian squeeze_amd64 instead of lenny_x86
Codesourcery upgraded to 2010.09 (the directory name is still 2010q1 however)
Java 6 instead of Java 5
Important!
This is for Gingerbread! Froyo and earlier versions needed Java 5 (6 was not good), while Gingerbread needs Java 6 (and Java 5 is not good). For Froyo and Eclair the old, 32-bit version of Android Compiler is still avialable
This is a 64-bit machine! To run this inside VirtualBox (or any other VM that supports 64-bit guests) you need both a processor and motherboard with hardware virtualization support (simply having a 64-bit processor and a 64-bit OS is NOT enough). You don't need your host os to be 64-bit however (so a 32-bit windows xp is still good).
Hardware virtualization is present in:
Most multi-core AMD machines
Most Core 2 non-notebook Intel machines (there are some core 2 notebooks with intel-vt, but usually this feature is missing from them. Celeron, Core Solo, Atom and other budget Intel processors do not have this feature either)
All Core i3/i5/i7 machines
Having a VT-x/AMD-v capable processor is not enough, your BIOS needs to support it too. This is usually the case, but there are some Sony Vaio notebooks, with processors that support VT, but this functionality is disabled by the BIOS (Yeah, Sony did manage to *** this up too, besides X10 of course). Sometimes you have to enable this functionality in the BIOS by hand.
Download link: http://android.sztupy.hu/dl/AndroidCompilerVM-3.0_x64.7z (mirror if you can)
Mirror: http://www.multiupload.com/3US8BF7VO1

looks good

sztupy as always very innovative!

excellent work! took a minute to import but works excellent.

Mirror link : http://www.multiupload.com/3US8BF7VO1

Hope this become available to the vibrant.
sent using the WWW.psxforums.com app

thanks for ur work

As user of the 2.0 version, thanks for this upgrade !

@Stzupy,
good to see you back.

Thank you!
Sent from my GT-I9000 using XDA Premium App

Sine. said:
Mirror link : http://www.multiupload.com/3US8BF7VO1
Click to expand...
Click to collapse
Thank you!
rhonal89 said:
Hope this become available to the vibrant.
Click to expand...
Click to collapse
This is device independent.

But, where is the Gingerbread Kernel Source?!.. I thought Samsung has not yet released it.

hacksome said:
But, where is the Gingerbread Kernel Source?!.. I thought Samsung has not yet released it.
Click to expand...
Click to collapse
Nowhere. Nexus S source works a bit however.

Nice to see you back sztupy!
Sent from my GT-I9000 using XDA Premium App

jaju123 said:
Nice to see you back sztupy!
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
I agree. And I do hope very much that sztupy is going to use this kitchen by himself and didn't just ceate it for other devs
*Waiting eagerly*

Sorry but I think I missed something, it asks me a login and a password.

AnonymeLex said:
Sorry but I think I missed something, it asks me a login and a password.
Click to expand...
Click to collapse
kernel/kernel
read the first post m8

hensk said:
kernel/kernel
read the first post m8
Click to expand...
Click to collapse
O I didn't saw it !
Thanks

Related

Android NDK hits Release 3, brings OpenGL ES 2.0 access to devs

http://android-developers.blogspot.com/2010/03/android-ndk-r3.html
Posted by David Turner on 08 March 2010 at 11:25 AM
The third release of the Android Native Development Kit (NDK) is now available for download from the Android developer site.
It can be used to target devices running Android 1.5 and higher. In addition to a few bug fixes and improvements, this release includes the following new features:
Toolchain improvement
The toolchain binaries have been refreshed for this release with GCC 4.4.0, which should generate slightly more compact and efficient machine code than the previous one (4.2.1).
Note that the GCC 4.4.0 C++ frontend is more pedantic, and may refuse to compile certain rare and invalid template declarations that were accepted by 4.2.1. To alleviate the problem, this NDK still provides the 4.2.1 binaries, which can optionally be used to build your machine code.
OpenGL ES 2.0 support
Applications targeting Android 2.0 (API level 5) or higher can now directly access OpenGL ES 2.0 features. This brings the ability to control graphics rendering through vertex and fragment shader programs, using the GLSL shading language.
A new trivial sample, named "hello-gl2", demonstrates how to render a simple triangle using both shader types.
Name simplification
This NDK release is just called "r3", for "Revision 3", to indicate that it is not limited to a specific Android platform/API level. Some developers thought that the previous release's name (1.6_r1) was confusing and indicated that it could only be used to target Android 1.6, which was not true.
Enjoy!
So what does this mean? can we get all these bugs fixed i.e. 3d wallpaper and other open gl es 2 stuff?
Sorry im noob
ermacwins said:
So what does this mean? can we get all these bugs fixed i.e. 3d wallpaper and other open gl es 2 stuff?
Click to expand...
Click to collapse
Most Android applications are java applications that are interpreted by the Dalvik VM. The NDK allows you to create partially native code applications, so in theory can be much faster, though it does carry with it other issues such as limited access to Android APIs (see here for more details)
Essentially the OpenGL ES support in the NDK should allow for faster 3D applications, which for the most part is going to be games.
Regards,
Dave
can this be used to make live wallpapers to work on hero?
Downloading .. will test on aHero 0.5 ..
I hope this thing fixes our Hero
is it opengl that makes the iphone UI so fluid?
MaXo64 said:
Downloading .. will test on aHero 0.5 ..
I hope this thing fixes our Hero
Click to expand...
Click to collapse
your the man, please keep us updated on this thread and the other
MaXo64 said:
Downloading .. will test on aHero 0.5 ..
I hope this thing fixes our Hero
Click to expand...
Click to collapse
Not quite sure what you are expecting it to fix? It allows you to create applications (in conjuction with the SDK) that can include some native code elements rather than being 100% interpreted java.
Regards,
Dave
foxmeister said:
Not quite sure what you are expecting it to fix? It allows you to create applications (in conjuction with the SDK) that can include some native code elements rather than being 100% interpreted java.
Regards,
Dave
Click to expand...
Click to collapse
just downloaded the NDK .. BTW, the binaries and libraries are included and compiled for different architectures
now just reading the documentation to figure out which one is for "armeabi" or ARM5 .. which is compatible with the Hero..
I'll keep you updated..
Last I checked, the SoC in the Hero isn't capable of OpenGL ES 2.0.
There isn't much to see there other than for devs who want to make 3D accelerated apps for Snapdragon or OMAP3 chips.

Bringing "fiinixfox" (firefox) to WP7

Bringing firefox to wp7 (wince build)
- http://ftp.mozilla.org/pub/mozilla.org//firefox/releases/3.6rc1/
In the ftp there is a wince-arm build & source code. We do have c++ full access (compile, run, call, etc); where the whole firefox runs from within "taskhost.exe" (COM+) instead of the "firefox.exe" (due we cant launch our own exe's).
As of we have now (The Dllimport Project):
Code:
[ComImport, Guid("F0D5AFD8-DA24-4e85-9335-BEBCADE5B92A"), ClassInterface(ClassInterfaceType.None)]
public class FileSystemClass { }
[ComImport, Guid("2C49FA3D-C6B7-4168-BE80-D044A9C0D9DD"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public partial interface IFileSystemIO { ... }
- It would look something like this in the "fiinixfox" :
Code:
[ComImport, Guid("F0D5AFD8-DA24-4e85-9335-BEBCADE5B92A"), ClassInterface(ClassInterfaceType.None)]
public class FirefoxClass { }
[ComImport, Guid("2C49FA3D-C6B7-4168-BE80-D044A9C0D9DD"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public partial interface IFirefox { Start(string args) }
- Yep, one method "Start", which actually imitates the "mozilla.exe" exe entry point 0x00400000 (standard entry point address).
- Then from there taskhost is just a "host" with as little Silverlight code as possible (best if just App.xaml) (no MainPage.xaml, MainPage is actually started from App.xaml) (or no Silverlight at all).
We do have the full source (3.6) (wince-arm), so there is not much preventing us to replace (hehe) IE9.
Well, as said before, im on vocation and i don't have my desktop (just my phone ), so this is just speculations witch i will compile later on bringing "fiinixfox" to Microsoft Windows "locked down" Phone
Hope it sounds good
Oh that sounds totally awesome! Can't wait!
FF isn't the most mobile friendly in term of optimization and performance. You would have to do a lot of backend work to make it 'usable' on any ARM device. I hope you can get some blessing from mozilla, but most of them are anti-microsoft. So good luck with your effort.
stan2 said:
FF isn't the most mobile friendly in term of optimization and performance. You would have to do a lot of backend work to make it 'usable' on any ARM device. I hope you can get some blessing from mozilla, but most of them are anti-microsoft. So good luck with your effort.
Click to expand...
Click to collapse
Ever heard about fennec?
The mobile version of firefox produced and optimized by Mozilla themselves
ARMvX wince compatible.
i remember fennec being awfully slow and crashing :x
fiinix said:
Ever heard about fennec?
The mobile version of firefox produced and optimized by Mozilla themselves
ARMvX wince compatible.
Click to expand...
Click to collapse
And Fennec is the crappiest browser ever made. I am more interested in what Opera has to offer.
diboze said:
i remember fennec being awfully slow and crashing :x
Click to expand...
Click to collapse
On what device?
Did that device have 1GHz, 500MB ram~?
__
It probably crashed alot due incapability or unstable code, a browser does not just crash randomly if its valid code through out the whole program (valid method pointers)
- Invalid method pointers: Static compiled dll reference (method ptr) that is pointing to wrong ram method (due wrong ".lib" - contains the ptr's). = Crash
Relief2010 said:
And Fennec is the crappiest browser ever made. I am more interested in what Opera has to offer.
Click to expand...
Click to collapse
Is opera even open source?
From what i have read/searched its closed source :/
To be able to run any "other" browser i must have full source code.
Your idea sounds interesting, but we still have this Mango COM Block problem to solve without going back to NoDo. I'm wondering what the authors of TouchXplorer & Co will do about that.
Yet another problem is that Win CE was more like Windows as we know it from the Desktop. Point and Click, Hold Click for right click and so on. I doesn't exactly know how we can refit Firefox for newer Touch Devices with Gesture and Multitouch support. Wouldn't it not be easier, if we just use the rendering engine from Firefox and port it to an Silverlight app? Guess this won't work due to some WP7 limitations and we would end up rewriting it completely?
fiinix said:
Is opera even open source?
From what i have read/searched its closed source :/
To be able to run any "other" browser i must have full source code.
Click to expand...
Click to collapse
Opera is said to be releasing an official browser for WP7. They announced that a month ir so ago. I assume it will coincide with the release of Mango
Sent from my SGH-i917 using XDA Windows Phone 7 App
Aaron McCarthy said:
Opera is said to be releasing an official browser for WP7. They announced that a month ir so ago. I assume it will coincide with the release of Mango
Sent from my SGH-i917 using XDA Windows Phone 7 App
Click to expand...
Click to collapse
Actually, Opera did not said that.
fiinix said:
Is opera even open source?
From what i have read/searched its closed source :/
To be able to run any "other" browser i must have full source code.
Click to expand...
Click to collapse
Currently, the only two are available with source code.
Firefox for Windows CE: https://wiki.mozilla.org/Firefox/Projects/WindowsCE
and
WebKit for Windows CE: http://trac.webkit.org/wiki/WinCE
Aaron McCarthy said:
Opera is said to be releasing an official browser for WP7. They announced that a month ir so ago. I assume it will coincide with the release of Mango
Sent from my SGH-i917 using XDA Windows Phone 7 App
Click to expand...
Click to collapse
Seems pike the rumors got you; turned out to be "False alarm".
- http://m.wpcentral.com/opera-wp7-launching-ctia
> At the bottom: false alarm (also "next week we will see opera" < did never happen
Microsoft have protected their phone to only run IE :/
They don't want competitor's
- Only way is homebrew, sry
fiinix, I am wondering if it will be easier to port Firefox for CE or WebKit for CE to Windows Phone.
rudelm said:
Your idea sounds interesting, but we still have this Mango COM Block problem to solve without going back to NoDo. I'm wondering what the authors of TouchXplorer & Co will do about that.
Yet another problem is that Win CE was more like Windows as we know it from the Desktop. Point and Click, Hold Click for right click and so on. I doesn't exactly know how we can refit Firefox for newer Touch Devices with Gesture and Multitouch support. Wouldn't it not be easier, if we just use the rendering engine from Firefox and port it to an Silverlight app? Guess this won't work due to some WP7 limitations and we would end up rewriting it completely?
Click to expand...
Click to collapse
There is full touch support and multitouch support due some wm6 had touch screens
Mango.. yeah.. Im currently still running NoDo due i hate block. But im perfectly fine.
I did actually find a possible interop bypass in Mango (fake marketplace, OEM hijack)
day2die said:
fiinix, I am wondering if it will be easier to port Firefox for CE or WebKit for CE to Windows Phone.
Click to expand...
Click to collapse
Webkit is also a possible but i havent looked at it yet; maybe port Google Crome?
fiinix said:
Webkit is also a possible but i havent looked at it yet; maybe port Google Crome?
Click to expand...
Click to collapse
No, I mean WebKit was already ported to CE: http://trac.webkit.org/wiki/WinCE
It's also the base for Isis Browser.
day2die said:
No, I mean WebKit was already ported to CE: http://trac.webkit.org/wiki/WinCE
It's also the base for Isis Browser.
Click to expand...
Click to collapse
Yeah i know Webkit is already ported to CE; Chrome uses it too and combined it makes Chrome super fast if it would be used on WP7 (CE).
Well we cant only have Webkit, we need a Javascript engine too (witch google is combined with (V8 JS engine) + built in Webkit).
Maybe Chrome or Firefox, both are c++ and open source
Aaron McCarthy said:
Opera is said to be releasing an official browser for WP7. They announced that a month ir so ago. I assume it will coincide with the release of Mango
Sent from my SGH-i917 using XDA Windows Phone 7 App
Click to expand...
Click to collapse
Prooflink?
I wouldn't mind seeing Opera for WP7 - mainly because I was always impressed with the combination of speed, stability, and functionality it produces on other platforms (in particular WM6.x). Dolphin would be interesting as well.
As a Mango user, however, I must say I am thoroughly impressed at the speed and stability mobile IE9 produces (in beta, no less). At release it will undoubtedly be the superior mobile browser on the market.
And oh yeah, Firefox is buggy crap - in any form.

Mango 7720 reading zip files

No idea if this a new feature but I stumbled upon it today.
I downloaded a zip from my Dropbox account. IE9 opened the zip file adding number to the file. It's the [1] you see in the photo. After downloading the contents are made visible.
I could play the audio files and I think video will work too.
Nothing new, it can even open .exe files. I haven't got WP7 NDK so I can't try any native WP7 executable though.
OndraSter said:
Nothing new, it can even open .exe files. I haven't got WP7 NDK so I can't try any native WP7 executable though.
Click to expand...
Click to collapse
What? Seems like you have no idea (at all!) what are you talking about...
Well nice to know anyway.
Is this already in 7712?
sensboston said:
What? Seems like you have no idea (at all!) what are you talking about...
Click to expand...
Click to collapse
ok maybe I am stupid but please explane what is new here ?
and please explane to me what this has to do with 7720 ?
and if it is really 7720 then please tell me how to get that build because I still have the 7712 build and not the rtm.
Greetings Cees
What's new for me? %) I've never heard about WP7 NDK but of course know Android's NDK (and still have no idea what is the name of the official manufacturer's SDK for Windows Phone 7)
Oh sure there is NDK, just not publicly available =). I have a lot of things I should not be having, but WP7 NDK and HD2 BSP seems like impossible to get my hands on.
OndraSter said:
Oh sure there is NDK, just not publicly available =). I have a lot of things I should not be having, but WP7 NDK and HD2 BSP seems like impossible to get my hands on.
Click to expand...
Click to collapse
How do you know what Platform Builder for WP7 (probably but I don't know exact name!) called NDK??? Any prooflink? Or it's just your imagination? Are you working for Samsung/HTC/Nokia?
I am not working with anybody.
I think that OEMs might be having some (parts) of NDK - just take a look, they build apps like flashlight and since these things don't have their .NET API, they had to use something - NDK - to build native library that exposes these APIs .
NDK is not platformbuilder. Platformbuilder is tool, that builds system for the target platform from some parts (CE kernel, WP build, then you also need BSP for the target device containing drivers).
Seems that you are just messing a lot of different things... It calls Windows CE/Mobile SDK, not a NDK (NDK is a "Native Development Kit" from Google for Android platform). Windows CE (what is the WP7 based on) have ability to run not only native but also managed (.NET) code. You may build standalone executables for CE starting from Visual C++ Embedded 3.0 (just provide a correct libraries for linking).
There is no thing such a "top-secret magical NDK"
sensboston said:
You may build standalone executables for CE starting from Visual C++ Embedded 3.0 (just provide a correct libraries for linking).
Click to expand...
Click to collapse
Which is what they is called WP7 NDK. You develop native libraries with this kit.
//
Android has SDK which compiles stuff in Java into managed code.
Android has NDK which compiles stuff in C/C++ into native code.
Same stuff, different brand.
OndraSter said:
Which is what they is called WP7 NDK. You develop native libraries with this kit.
Click to expand...
Click to collapse
It's ridiculous, named by whom? By you? Sorry but you don't have enough authority and experience on my sight. BTW, you may call it whatever you want: NDK, DDK, WP7K but please not on xda-dev forum! Let's call things by real not imaginary names.
P.S. Just asked one of the WP7 developers from MS, he pointed me to http://msdn.microsoft.com/en-us/library/gg156052.aspx . Try to find NDK word on these pages!
ZIP from 7004...
Zip functionality was in 7004 already.
I've installed certificates for Chevron and for our exchange server zipped and sent to myself. I downloaded it through OWA (Outlook Web Access) in IE Mobile. It worked since from the beginning. Sure of it.
Regards, Cina.
@sensboston
You do realize that that link is for building WCE7 images and NOT building APPS for it, right? "Building, testing, tuning, and debugging a Windows Embedded Compact powered device".
And you don't need SDK or NDK for WCE7, you need SDK or NDK or whatever you want to call it for WP7. They do differ.
Listen, OndraSter, you can build native apps for WP7 (based on WEC7) using eVC 3.0, eVC 4.0, VS 2003, VS 2005 and VS 2008 (you need only WEC7 or what exactly running in WP7) SDK (yes, it calls SDK not NDK!). But you can't run "native" (how u called) application because it's not allowed by WP7 security. Very simple.
P.S. Are you trolling me?
You can build apps as long as they don't use anything with WP7 shell. (You surely know why.)
Oh and now you are saying that it is named SDK? Do you have proof?
I asked WithinRafael on twitter. Reply? "It is called Hybrid SDK in circles." It is still not official reply, but he is the closest one as I can get for now. And it is not NDK - sorry for that, but it is not SDK either.
OndraSter said:
And it is not NDK
Click to expand...
Click to collapse
Oh Lord I can't believe my eyes! Thanks!
OndraSter said:
Reply? "It is called Hybrid SDK in circles."
Click to expand...
Click to collapse
<skipped>
OndraSter said:
but it is not SDK either.
Click to expand...
Click to collapse
No more my comments on this topic, I'm too tired
sensboston said:
Oh Lord I can't believe my eyes! Thanks!
<skipped>
No more my comments on this topic, I'm too tired
Click to expand...
Click to collapse
WOW what a dev talk in here
so now that is all cleared could you please make us a wifi router (I want to donate to that if you want ) ?
you seem to be the right person to ask.
Greetings Cees Heim.
OndraSter, andoid's native SDK calls NDK, but WP's doesn't depend on it. Noone knows, how does it named, but every previous version of it for WM called SDK.
Sorry for my english, I hope u understood me.

[Q] Ubuntu on Surface RT using Bochs

Someone ported Bochs (x86 PC Emulator) to the Surface (h t t p://w w w.windows-arm.c o m/index.p h p/desktop-apps-for-windows-rt/697-bochs-for-windows-rt), and I want to know how to set up Ubuntu 12.10 with it.
It's too slow, just forget about it.
Would a different os work?
kitor said:
It's too slow, just forget about it.
Click to expand...
Click to collapse
I've seen people running Windows XP on their Android phones using Bochs. Could you use a Windows OS?
An old-enough version of either Windows or Linux (or any other OS that runs on x86) will work, but I don't think you realize how slow we're talking about. It's not that you *couldn't* run 12.10 (or the decade-older XP), it's just that they'd be too slow to be of any use. You'll be much better off using native-ported apps, or even Mamaich's emulation layer; unlike emulating a full PC using Bochs, the emu layer only has to translate the program's code; most of its work can be done by native (ARM) Windows code and there's no need to emulate an entire x86 processor (with memory management and so on). Even so, the emu layer struggles with anything newer than about a decade old...
Sent from my Samsung ATIV S SGH-T899M using XDA Windows Phone 7 App
GoodDayToDie said:
An old-enough version of either Windows or Linux (or any other OS that runs on x86) will work, but I don't think you realize how slow we're talking about. It's not that you *couldn't* run 12.10 (or the decade-older XP), it's just that they'd be too slow to be of any use. You'll be much better off using native-ported apps, or even Mamaich's emulation layer; unlike emulating a full PC using Bochs, the emu layer only has to translate the program's code; most of its work can be done by native (ARM) Windows code and there's no need to emulate an entire x86 processor (with memory management and so on). Even so, the emu layer struggles with anything newer than about a decade old...
Sent from my Samsung ATIV S SGH-T899M using XDA Windows Phone 7 App
Click to expand...
Click to collapse
Aw, man. Oh, well. Guess no Ubuntu any time soon.

android in win10mobile is hyper-v based

android in win10mobile is hyper-v based, some kind of virtual machine running under windows 10 mobile. if someone knows how that could be replaced let us know
JmanPT said:
android in win10mobile is hyper-v based, some kind of virtual machine running under windows 10 mobile. if someone knows how that could be replaced let us know
Click to expand...
Click to collapse
What do you mean by replicated? On PC you can use Hyper-V to run w10m's emulator - and I'm taking a shot in the dark here, but that should work with android too.
crowjob said:
What do you mean by replicated? On PC you can use Hyper-V to run w10m's emulator - and I'm taking a shot in the dark here, but that should work with android too.
Click to expand...
Click to collapse
Hi i wrote replaced. Like deleting microsoft sub-android and replacing it by a real android os. That would allow us to run all android apps on the virtual machine in windows 10 mobile. I have a note 3 sm-n9005 and a 1520 4g. I would love to be able to run all my note 3 loved apps in my awesome, beautifull yellow 1520 ?
JmanPT said:
Hi i wrote replaced. Like deleting microsoft sub-android and replacing it by a real android os. That would allow us to run all android apps on the virtual machine in windows 10 mobile. I have a note 3 sm-n9005 and a 1520 4g. I would love to be able to run all my note 3 loved apps in my awesome, beautifull yellow 1520
Click to expand...
Click to collapse
Sorry, I totally read that wrong. I'm no expert on this stuff, but I know that it's not as easy as dragging/dropping a new OS. They've built android into their OS (in a sense). The interactions between android and the hardware, and Windows 10 Mobile are built in. Technically if you felt like finding every android-related file, you could replace them all and try until you're successful, but it would be a very advanced task to complete.
tl;dr
This is not currently possible.
Il take a long shot here, THE ANDROID OS is in windows/system32/aow.wim if we can do some minor changes to this we will be good to go. Minor changes been getting gapps, su et some extra permission in there. I will try to extract it do that changes and then put it back in his place and have a go. Wish me luck ( hope it wont harm my lovely phablet)

Categories

Resources