GT-I9000 development limitations without Windows? - Galaxy S I9000 Android Development

Hello
I've been trying to figure out (by googling a *lot*) what the limitations are for non-Windows developers with the GT-I9000. Samsung's SDK is Windows only, but maybe it's not the end of the road?
Some concrete questions:
* Do you need Windows to get an adb session?
* Do you need Windows to root the device?
* Do you need Windows to cross compile native code?
* Does the stock Android SDK from Google work?
* What do you actually loose without Samsung's SDK? E.g. the BONDI API's?
I really want to buy this shiny monster, but I also *never* again want to suffer Windows, and especially not for development.
Best regards / Klas

AFAIK there is no "Samsung SDK"
check this http://developer.android.com/sdk/index.html
the sdk is available for windows, osx & linux
hope this helps

My mistake, it's called "Bada SDK". And at least for the GT-I9000 it's for Windows only. Apparently the Bada Linux platform includes support for some novelty API's such as BONDI (to access e.g. device file system from web apps) and these have no support in the regular Android SDK.
I can live without these device specific API's, I just don't want to have to use the Bada SDK to do anything *else*.

Google's SDK is eclipse based and is available for windows, linux and osx like stated above. I'm running it in 64 bit ubuntu (lucid lynx) and have little problems doing so.
Sent from my GT-I9000 using XDA App

How about just running Windows in VirtualBox for the neccessary parts.

Darkstriker said:
How about just running Windows in VirtualBox for the neccessary parts.
Click to expand...
Click to collapse
I had much problems with trying this under mac os x.
VMware and VirtualBox dont show the i9000 as USB-Device...

My experiences with connecting USB devices to virtualized environments are also poor. Not that it matters much: I am curious what development capabilities you *loose* if you can't/won't use Windows -- not how to run the Bada SDK in a virtualized environment. No one seems to be overly concerned about this (a good sign so I'll go ahead and order the phone.

Klasa said:
My mistake, it's called "Bada SDK". And at least for the GT-I9000 it's for Windows only. Apparently the Bada Linux platform includes support for some novelty API's such as BONDI (to access e.g. device file system from web apps) and these have no support in the regular Android SDK.
I can live without these device specific API's, I just don't want to have to use the Bada SDK to do anything *else*.
Click to expand...
Click to collapse
You don't need the Bada SDK at all, because Bada is a different platform used on other Samsung phones like the Samsung Wave S8500. It's not Android or related to Android, other than both (potentially, in Bada's case) being based on Linux.

the galaxy is running android os from google - the wave is running the bada os from samsung.
as such i think the OP has confused the above fact and thinks the galaxy is running bada hence referring to a "samsung sdk". galaxy s GT-I9000 runs google android, for which google has released a multi platform SDK

The poster may need to be aware that the descriptor for usb detection is broken for it currently, and has been for a little while. It's not really plug and go.
You'll need to follow the usual instructions to setup your android dev, then possibly compile a adb with support for the galaxy s. I hope I can be proven wrong for that though.

Superroach said:
The poster may need to be aware that the descriptor for usb detection is broken for it currently, and has been for a little while. It's not really plug and go.
You'll need to follow the usual instructions to setup your android dev, then possibly compile a adb with support for the galaxy s. I hope I can be proven wrong for that though.
Click to expand...
Click to collapse
Compile abd, why? The old sdk does not see galaxy S but the latest one does. And if you have problems on linux with adb not seeing your phone try running adb with root user.

Thank you guys.
I havn't checked again, but I was under the impression that Bada is the underpinning of Android on I9000.
The only thing left to understand about the vendor's platforms underneath Android is why Google didn't set it all up with Debian packages. A common repo could keep vendor specific variants of components neatly isolated; Isolated and distributable without the fuss of trying to figure out what is compatible with what. I just want to run something like
Code:
apt-get install android-gti9000-dev android-sdk --rootdir=$MY_CHOICE
on my workstation and have the SDK, device sources, other host tools, and IDE plugins installed to some working directory of my choice. That would be great

Related

android or iphone based rom for the vogue?

why doesn't anybody consider making a android based rom for the touch vogue? heck id even be up for a iphone cloned based rom, we need something different! the problem with most iphone themes are that they just mask windows, what we need is a true overall, complete system theme!
anybody up for the challenge?
Accidental Double post
android is already out their through a linux boot loader Iphone I drought it our vouge's cant handle that
theoneownz said:
android is already out their through a linux boot loader Iphone I drought it our vouge's cant handle that
Click to expand...
Click to collapse
yeah but why can't we just make a rom so we can run android natively? as far as the iphone, i mean our version of the iphone, not the actual apple software!
fixxxer2008 said:
yeah but why can't we just make a rom so we can run android natively? as far as the iphone, i mean our version of the iphone, not the actual apple software!
Click to expand...
Click to collapse
If it's so easy, why don't you do it
It's very difficult to do... nobody has figured out how yet.
i just wish android would just be able to load from one file instead of multiple files on the sd's root
Android is linux...
jnrbshp said:
i just wish android would just be able to load from one file instead of multiple files on the sd's root
Click to expand...
Click to collapse
Let Me start of By saying you have a great idea.. you probably know that android was developed by Google, Microsoft's current largest competitor. Las Week Google Announced That Th Chromium Project is working out so greatly that they plan on makeing a full on desktop replacement operating system based on the linux kernel. Currently The Only Other Operating System Google Has Made Is andriod, No let me explain why this is hard to set up on our phones. The Manufactuer Prudoced a ROM with a windows CE bootloader using thwe files NK.exe. for the boot process, for more info on this process google windows CE boot process. however the entire process is difrent in linux. In linux instead of having NK (CE loader) as part of the windows OS we have a seprate program called a bootloader, the two mos common ones are the LILO or LInux LOader and the GRUB or GRand Unified Boot loader niter of wich anyone knows how to get the HTC phone to recoginse without an external windows CE aplication. Running The Application Is The Abutal Process Of The Bootloader, The COnfigration file is simalar to the windows XP boot.ini. esentialy your copy of android is just another application.
To ths date no one has be able to figure out how to create a rom that can edit the factory bootloadre to male it use GRUB or LILO, however if you wanted to chose one or the other i'd develop it to run a mobile version of GRUB bcause then you can dual boot windows mobile as if you were on a PC .
hope this answered your questions as to why an android ROM isn't out there yet.
Honestly, if there was a version of android and chrome i would switch all my devices over to Google Linux right now, i'm tired of the microsoft way of computing, paying another $150 every two to five years.
in theory you can have both andriod and iphone
android is open source, you should be able to use it as a base foundation and skin it with an iphone interface

[Q] Making roms

what i must know for makin my own roms?
Where to start!!! There is so much to know, i think if you are interested in this you should get googling and searching the forums, here isn't a bad place to start http://forum.xda-developers.com/forumdisplay.php?f=611. You can easily modify the ringtones and apps in a pre-built rom by unzipping the androidinstall.tar and deleting the apks you don't use from /system/app/ and ringtones you don't want from /media/ and re-zipping using 7zip but i get the feeling you want to do more then that. Get searching and hopefully see some of your work on the forums sometime!!!
Nees i linux? or i can do it under Windows?
Michga said:
Nees i linux? or i can do it under Windows?
Click to expand...
Click to collapse
Linux is very handy for compiling from git repositories etc... and it is also easy to set up the eclipse IDE for android developing in linux. People also seem to have more sucess with setting up ADB in linux which is very handy when developing. That being said the android kitchens will also run in windows and 7zip is for windows when it comes to creating the final tar installer so it's certainly not impossible. I think you will find most of the developers will have used linux for one thing or another. You can always run it in a virtual machine using virtualbox from within windows.
working ADB on linux (Ubuntu or Suse) with Kaiser?
Must I know Java for developing??
i dont using Virtualbox, but VMWare..
Michga said:
working ADB on linux (Ubuntu or Suse) with Kaiser?
Must I know Java for developing??
i dont using Virtualbox, but VMWare..
Click to expand...
Click to collapse
VMWare is fine, Virtualbox is just an opensource alternative. ADB works fine on ubuntu with Kaiser, i'm guessing it works on Suse too but i don't use it. Look here for more information : http://forum.xda-developers.com/showthread.php?t=502010. If you want to develop apps then you need to know java, a lot of the source code (i.e. libs and the kernel) are written in C.
so its bad for me.. when im 16 year old and i dont know Java and C i cant developing it.. but thanks for advice
At 16 you have a lot of time to learn, start now, I regret not taking the opportunity to learn coding when I was younger, do it, and do it soon

[APP] Linux Deploy

Smooth debian linux with and without GUI.
I am not linked in any way to this App or its developer. But I have been searching for an out of the box linux that works on the SGS3. Out of the several I tried this was the only functioning one,
called Linux Deploy (playstore link here).
Its installs a variety of debian distros by loop method and then chrooting in VNC (or SSH). ( i use bVNC)
- may sound complicated but the app does it all . just select what you want to try and how big you want the image file and where you want to place it (internal or external SD). default settings are fine for most except if Gnome and KDE will need increase image to 1.5Gb otherwise fails)
It also gives a variety of GUI, I tried XFCE and KDE
It runs on top of Android so you can still call and receive messages etc.
The only thing I would suggest is that you unmount the loop before killing app or rebooting android. I think it will remain running in memory even if the app is killed.
Linux Deploy 1.2.7
The new Linux Deploy version, programs for automation of installation process and start of GNU/Linux of distribution kits on devices with the Android platform is available. Application creates an image of a disk on a flash card, mounts it and sets there the selected distribution kit of GNU/Linux. Also distribution kit installation directly on the card section is supported.
Applications from new Linux-system are launched in a chroot-surrounding parallely with standard operation of the Android platform. Installation of a distribution kit is carried out on a network from official mirrors on the Internet. For operation to application privileges of the superuser (ROOT) are required. Access to Linux-system is carried out through SSH, VNC or X Window System. The code of the utility is available under the license GPLv3, ready assemblies are placed in the directory Google Play.
Characteristics:
Supported OS: Debian, Ubuntu;
Assembly under architecture of armel and armhf;
Installation type: loop-file, SD card;
Supported file system: ext2, ext4;
Management interface: SSH, VNC, X;
Possibility of use of surroundings of a desktop: XTerm, LXDE, Xfce, GNOME, Unity, KDE;
Supported language: Russian, English.
Main changes in Linux Deploy 1.2.7:
X Window System support (GUI start via the X-server);
Automatic configuration of DNS;
Support of a surrounding of a desktop of Unity;
The error of start of session of GNOME in Ubuntu is corrected.
Is on GitHub, 4PDA, PlayMarket! (can't post links)
play . google . com/store/apps/details?id=ru.meefik.linuxdeploy
github . com/meefik/linuxdeploy
4pda . ru/forum/index.php?showtopic=378043
is this something like ubuntu for linux where the vnc connection(although local) becomes the bottleneck?
exge said:
is this something like ubuntu for linux where the vnc connection(although local) becomes the bottleneck?
Click to expand...
Click to collapse
not, it is ubuntu on your device
Sound
Is it possible to get the sound working this way?
linux deploy
hi can i use it on a note2
Very nicely done.
This app works really great!
At the moment I am using "Ubuntu precise" with KDE. Ist works quite well. What do you use ?
I just installed Fedora 18 with Gnome on my Nexus 10 using this app.
I am having trouble to mount the USB flash drive to it ( using an OTG usb adapter)
I don;t know enough about linux to mount the USB drive
when I plug in the drive in android the path is
/storage/sdcard0/usbStorage
This application is awesome. Everything works perfectly. Well, not everything, but I guess that is chroot's fault. Anyway, can I somehow make digitizer work? I am successfully controlling my phone through x2x, although it would be merrier if I could use my phone's digitizer for input. I'd be grateful for any kind of help.
P.S. superdave42, try custom mounting that path in Linux Deploy's settings.
linux deploy to samsung galaxy tab 2 P5100
I have the Samsung Galaxy Tab 2 P5100BUDLL1
Kernel 3.0.31-1121627
version Build jz054k.p5100BUDMD1
i have installed Linux Deploy by following the steps I was able to install Kali
I proceeded to install kali-full
but 'I still have problems with postgresql 9.1
and the wifi
wireshark with no problem only with airmon-ng does not recognize the wifi
and tells me to install 'iw-3.10.tar.bz2
I downloaded the 'iw-3.10.tar.bz2
I tried to install it in every way possible but nothing some advice
thanks to all
sorry I'm wrong the page post
It's okay. You are posting in the right thread as there's no official thread for this application in the Applications section, or at least I am not aware of it. Anyway, as far as my knowledge reaches, the reason why you can't mess with WiFi in a chrooted Linux installation is mainly because it is running in a chroot jail (feel free to correct me if I am wrong). In order to make Kali Linux (or any other Linux distribution installed through this application) able to manage WiFi state, I think you need to do some mounts that I'm not aware of at the moment, unfortunately.
EDIT: Try typing this command line (credit to Robertozzz for this post, check out the rest of it too) either from adb shell with superuser permissions or by connection to the SSH client run by Linux Deploy:
Code:
mount -o bind /dev /data/local/mnt/dev
Tapatalk seriously needs some text formatting, otherwise I need to type BBCode myself... and an option to preview.
hello nice to see someone using this beautiful app as well! there should be an official thread for this..
I manage to use both vnc uaing bvnc as well and framebuffer method.. vnc got that slight lag especially when scrolling image dense content on chromium, but framebuffer is buttery smooth!
I'm thinking of upgrading this GTN 8000 (I got the same processor as you mate exynos 4 quad 1,4ghz 2gb ram) to something with snapdragon 600 or even better 800.
anyone here with snapdragon 600 got experience with Linux Deploy? how much boost might I get from those beast? :cyclops:
thanks
Android 4.3 Supported
Just an FYI for anyone using this app. It does work in Android 4.3 with Debian. Not sure if it XVNC or Framebuffer work (download of Gnome failed), but I was able to get a chroot and shell to Debian. Looks like the developer himself hosts the downloads for the supported distros (the "MIRROR" variable in prefs), and I'm not totally thrilled about that... Nothing personal, I just like to be careful.
But on that note, the code is Open Source, and available at:
https://github.com/meefik/linuxdeploy
You don't actually need the github download. All of the real work is done with a shell script(s). After installing the app, you can find the workhorse script linuxdeploy in "/data/local/linux/bin" and this handles almost everything. Some pretty nifty code in there, a couple of cool recursion tricks I might use later.
If you're handy with the command line, you can forego the UI after initial setup/distro download.
Code:
<android> % su -
<android> # export MNT_TARGET=/data/local/linux/mnt
<android> # cd /data/local/linux
...To see the settings file
<android> # cat etc/deply.conf
.... To start the distro you already downloaded (Debian)
<android> # bin/linuxdeploy start
... To get into the now-running distro (this can be done from multiple windows in Android Terminal!)
<android> # bin/linuxdeploy shell
.... If the prompt ain't enough, test it out (hostname isn't standard on Android)
debian # hostname
localhost
...
Now, I totally hate that it downloads everything piecemeal after selecting a distro, but it may be that I just have the settings wrong. Not all distros worked for me. I got failures on finding "apt-get" when installing Ubuntu -- probably easy to fix, but I didn't look into it because I was new to chroot. I notice that there are updates in the github from just 3 days ago, so it's actively supported.
I liked his competitor Complete Linux Installer better in Android 4.2, because it's super newb friendly and explains every single step very clearly, and it worked the first time I used it. Unfortunately it failed on my Nexus 7 (2013) / Android 4.3, so I moved to Linux Deploy. Not regretting the change because I've learned a lot, but I hope to see both options on Android 4.3 soon.
-Pie
I'm having difficulties installing it on a Galaxy S4 I9500. Here's what I get as an output: /data/local/linux/bin/linuxdeploy: line 1411: dd: Permission denied I tried changing the size of the image, but that didn't help either. For what it's worth, I'm running a stock ROM as well as CWM. Also, I read somewhere that Busybox is required, so that's already installed. Could it be because I'm trying to install it on my external SD card, and not my internal memory?
Kali Linux working with "Linux Deploy" app on S4 i9505
I've found this interesting post about Kali Linux working with "Linux Deploy" app on S4 i9505
http://forum.xda-developers.com/showthread.php?t=2400638
Another suggestion I would like to make you is to consider some alternative remote session that would speed up the interface like for example:
- xrdp (much faster than vnc)
- teamviewer or Splashtop for easier access even from another computer/phone in another network. Splashtop video performance and real-time interface is really impressive
With Splashtop you can just have your own Linux PC and connect to it anytime. You could avoid to to install ARM Linux on your mobile...
[
QUOTE=delstam;44843172]I'm having difficulties installing it on a Galaxy S4 I9500. Here's what I get as an output: /data/local/linux/bin/linuxdeploy: line 1411: dd: Permission denied I tried changing the size of the image, but that didn't help either. For what it's worth, I'm running a stock ROM as well as CWM. Also, I read somewhere that Busybox is required, so that's already installed. Could it be because I'm trying to install it on my external SD card, and not my internal memory?[/QUOTE]
First of all, awesome app! Takes a lot of the steps out of getting a desktop OS working on our portable computers....
I am asking this here because I dont know where else I can ask it. So if there is a support/discussion forum specifically for the app somewhere my apologies for posting here.
Is there any way to do an install from ISO image? Kali is giving me a "failed getting release" error at the moment no matter how I put the path in (cross checked it on the site, but welcome to suggestions if anyone elses is working).
Thanks in advance.
heavylildude said:
hello nice to see someone using this beautiful app as well! there should be an official thread for this..
I manage to use both vnc uaing bvnc as well and framebuffer method.. vnc got that slight lag especially when scrolling image dense content on chromium, but framebuffer is buttery smooth!
I'm thinking of upgrading this GTN 8000 (I got the same processor as you mate exynos 4 quad 1,4ghz 2gb ram) to something with snapdragon 600 or even better 800.
anyone here with snapdragon 600 got experience with Linux Deploy? how much boost might I get from those beast? :cyclops:
thanks
Click to expand...
Click to collapse
I cant figure out how to get ssh and or vnc client connected to the linux deploy app... can you help me please?
Move Linux Deploy to MicrSD
Hi guys,
i would like to move the linux deploy application to microSD card, i have a GT-i9505, With root privilege, and foldermount installed, but i don't find the installation path of this application.
Someone can help me please ?
Bye
Cristian
SonneKonig said:
I cant figure out how to get ssh and or vnc client connected to the linux deploy app... can you help me please?
Click to expand...
Click to collapse
Hello have you tried using changeme as password?

[Q] Android 4.4 kitkat on Galaxy w?

Google says android 4.4 kitkat is available for everyone. So is it means we can flash it directly to our galaxy w?
Now our smartphones become a mini computers.
in dekstop computers we can install a new os(linux or windows) directly. The OS recognize the drivers then install them directly or from the web. Maybe some of hardwares drivers cant find but its very rare issue.
So why android doesnt like this. Thats everybody install new version of android and its install the phones drivers directly or from the internet.
The smartphones hardware manufacturers less than dekstop computers hardware manufacturers but dekstop computers OS can do it well and avaliable for every kind of computer.
Why Android OS install like dekstop computers OS.
pharatlil said:
Google says android 4.4 kitkat is available for everyone. So is it means we can flash it directly to our galaxy w?
Click to expand...
Click to collapse
No, it needs to be ported.
pharatlil said:
in dekstop computers we can install a new os(linux or windows) directly. The OS recognize the drivers then install them directly or from the web. Maybe some of hardwares drivers cant find but its very rare issue.
So why android doesnt like this. Thats everybody install new version of android and its install the phones drivers directly or from the internet.
The smartphones hardware manufacturers less than dekstop computers hardware manufacturers but dekstop computers OS can do it well and avaliable for every kind of computer.
Why Android OS install like dekstop computers OS.
Click to expand...
Click to collapse
This is just partially true. Windows and Linux for desktop PCs already come with most of the drivers directly on the CD or DVD or at least with hardware IDs for the drivers they can download and install via internet.
Your ROM simply isn´t about the same size like a Linux or Windows DVD It also doesn´t have a 100GB HD, a DVD drive and at least 4GB RAM installed.
So if you want an Android that is about as easy to install on all devices, you would have to make it about that big in size like a Linux or a Windows installation DVD which most of the devices couldn´t handle.
That´s why it needs to be ported with just the drivers for your specific device. And this is also the advantage to keep it as small and slick as possible.
Most of linux os about 1gb.
Windows is about 1-2 gn. Not about 100gb.
İ ha ve a galaxy s3 and stock rom about 900mb.
İf google want to give latest firmwares every device They can make a pc program and it finds devices specs automatically.
Samsung, htc, lg...etc.. maybe dont want to give newest firmwares to older devices for selling new devices.
But why google dont make roms for every device. Android is a linux based os and linuxs difference is its avaliable for everyone. So i think googles s strategy about android isnt true. İt must be same way with linux.
pharatlil said:
Most of linux os about 1gb.
Windows is about 1-2 gn. Not about 100gb.
İ ha ve a galaxy s3 and stock rom about 900mb.
İf google want to give latest firmwares every device They can make a pc program and it finds devices specs automatically.
Samsung, htc, lg...etc.. maybe dont want to give newest firmwares to older devices for selling new devices.
But why google dont make roms for every device. Android is a linux based os and linuxs difference is its avaliable for everyone. So i think googles s strategy about android isnt true. İt must be same way with linux.
Click to expand...
Click to collapse
A totally fresh installed Windows 7 already is taking about 4GB on your HD and needs a way bigger partition to get installed at all.
Android is not a linux based rom. It´s a Java based ROM. Only the kernel is linux and this needs to be compiled first and match your hardware to make it able for the rom to work at.
Google only offers the basic code for a ROM but the rest must be added by the manufacturers. Beside this linux also wasn´t that userfriendly like it is now. The very first releases even didn´t use an UI. All had to be done on command line. Was meant to be used on servers but not for end users and though it was open source it took about 20 years from this stage to become an userfirendly OS for endusers like Windows.
So this is like comparing apples with pears. Best you ask Google and see what they will answer you.
İm disagree with you. or i couldnt explain well.
There in not more hardware manufacterers than PCs. But dekstop computers OS can handle it. For example i have got a hp compaq nx8220 notebook. its very old pc but i intalled windows 8 and its running very well. There is no drivers for windows 8 but windows have a feature for it. İ install many drivers in compatibility mode. ( Yes HP didnt publish a driver for it but windows's this compatibility feature solve the problem.)
Im not a developer but i know programming dialectic (i wrote programs in q basic and gw basic but i stay away from programming because of my job.) im interested about java and c++ and im learning. im seeing that developers main problem to porting Android to a device is hardware drivers. İf manufacterer give codes they port it easier.
İ want to say my hp compaq nx8220 is very old device but its runs with windows 8 very stable.
But my old phone and and my wifes phone galaxy w isnt a old device but they r saying your device cant runs properly with android's newest OS. It has 512 mb ram and 1,4ghz processor.??? (my notebook worst but runs w8)
Maybe one day some developers agree with my opinion and work with hardware drivers than making alot of custom roms. So maybe one day we enter a web page (for example cyanogenmod web page)and flash newest rom like installing a newest OS to a PC.
You may agree or disagree. No problem with that. It´s just you are comparing apples with pears. An Android Phone isn´t the same like a PC. Doesn´t have a HD or something equial to this in its capacity and so on. Neither Android, Firefox OS or Ubuntu Touch do have such an installer included that will install the Operating System on all devices. They all need to be ported. The same even for Windows Phone. So rather than arguing with me, go out and ask all the big players like Google, Ubuntu, Firefox or Microsoft why this isn´t the same like fo a PC.

[Question]Is it possible to install windows 10 on mi6?

Since windows can already run on snapdragon 835,i want to try it out on my mi6.
Is it possible and if so how to do it?
xpirad said:
Since windows can already run on snapdragon 835,i want to try it out on my mi6.
Is it possible and if so how to do it?
Click to expand...
Click to collapse
We need to have bios for our devices to boot it directly and since we don't have one, our best choice is to wait for a project on xda (I don't remember the name well but I'm pretty sure you can find easily if you search for it) that ports bios for android devices.
But to be honest even if you can run windows on mi 6 there are 2 bad news for you:
1) The vast majority of windows applications are written for x86 architecture and we have arm architecture, so to run them you should emulate either os or run the app in an emulated sandbox - so no good performance.
2) As I said in 1st one, emulation is a must (if you aren't planning to compile all those apps for arm architecture). Also windows 10's capability of running x86 apps on arm is based on that very emulation method, it runs them on a WoW (Windows on Windows) so there's clearly a hit on performance.
I suggest you to not to expect to have a decent windows system running on your arm device but if you need/want to run more basic windows apps, you can try Limbo PC Emulator. That way you can run some older or stripped down versions of windows with no heavy performance loss. For most of the basic things I find MicroXP project enough but don't expect to be able to run Photoshop on that I hope this answers your question.
I see, thank you ccelik97 for your clear answer.

Categories

Resources