Hi. I would love to see Native linux on my Sensation, but nobody did it yet, and I'm maybe high level user, but hardly developer. First I was thinking about porting HD2 Ubuntu, but then I realized... There is one very expensive device on the internet. Device with Android phone specs. but Native linux on it. Pandora Handheld Device. If someone could help me with porting pandora system (Or just do it yourway) it would be great, not only for me, but for the whole community. The big advantage is that, Pandora system is the most (I think) developed ARM Linux in the world. It means we just need to get it work, and the rest is already done.
Here you go with some links:
Porting
Booting
Files
Sorry for my English and I please you to help me. Will be waiting.
(Sorry if it should be in General)
LEGOracer69 said:
Hi. I would love to see Native linux on my Sensation, but nobody did it yet, and I'm maybe high level user, but hardly developer. First I was thinking about porting HD2 Ubuntu, but then I realized... There is one very expensive device on the internet. Device with Android phone specs. but Native linux on it. Pandora Handheld Device. If someone could help me with porting pandora system (Or just do it yourway) it would be great, not only for me, but for the whole community. The big advantage is that, Pandora system is the most (I think) developed ARM Linux in the world. It means we just need to get it work, and the rest is already done.
Here you go with some links:
Porting
Booting
Files
Sorry for my English and I please you to help me. Will be waiting.
(Sorry if it should be in General)
Click to expand...
Click to collapse
I'm On it.
Are there any changes?
Related
Now I'm completely sure that this thread isn't quite the sort of thing that's intended for this Development forum but in this case I'd like you to make an exception as it's intention is for future development and I'm seeking the input from the current great bunch of developers that we have.
I wouldn't mind having an attempt at putting together my own ROM or at least hacking an existing close to stock ROM and making it my own, I have no plans to release my creation to the mass market (if I ever get that far) but, just want to go through the process in order to give me a better understanding of how it all hangs together so that I can put more into the community and assist more in this section and not just the general one with basic problems.
Any pointers that anyione can give will be gratefully appreciated.
I'm not seeking to build a thin Senseless ROM as there are are already some fine examples of these already (MIUI and CM etc), as I'm new to Android and have come here from Windows Mobile so I've already made HTC my choice mainly as I like Sense its functionality, integration, even though I do believe it could be slimmed downed by a decent degree and loose many unnecessary components and elements from the start. I'd also like to only build a WWE ROM as it would be intended for just my use.
As you may know already or can see from signature (or my many previous posts) my current favorite custom ROM is LBC so I'd like to have a go at creating my own version of something similar, I'll probably only end up using LBC still as my daily ROM as I've loved it since I first moved to it and have no intention of going elsewhere.
I have JDK and ADK installed on both my PC's, I've been a programmer although quite some years ago, but, still have a reasonable amount of IT knowledge and still work in a IT related job. So configuration, UNIX scripting etc isn't a problem although Java programming may well be!
Just looking for some basic pointers even if they are to websites or resource threads here in XDA for further reading. Many thanks for all the pointers offered and any time spent helping me, I'm also sure that anything you guys put together will then prove useful for others if they are in my position.
I've also very recently just done my back in and am suffering from awful sciatica, so can see myself spending some time off work, bizarrely sitting at the computer on certain chairs for medium lengths of times, is one of the few things that I can do without experiencing much pain, so I'm trying to keep my self busy, amused and avoid (further) insanity so this seemed like the best option!
Thanks in advance (again) I appreciate that the people in this forum are exceptionally busy, what with their own life's, their families, their jobs not to mention their relentless dedication to the cause that is Desire S ROM porting and development!
You need first to set up a Linux environment.
1. For personal use, and only for modding, I recommend you installing Cygwin if you are a Windows user.
2. Download Dsixda Kitchen and follow the steps from there.
3. Get a copy of your favourite ROM, or a base of your ROM in a .zip format.
4. Modify it, tweak it, zip it again and enjoy !
If you have any more questions, I am here to answer them.
badeaioan said:
You need first to set up a Linux environment.
1. For personal use, and only for modding, I recommend you installing Cygwin if you are a Windows user.
2. Download Dsixda Kitchen and follow the steps from there.
3. Get a copy of your favourite ROM, or a base of your ROM in a .zip format.
4. Modify it, tweak it, zip it again and enjoy !
If you have any more questions, I am here to answer them.
Click to expand...
Click to collapse
Genuine Question: (Not one of those how fast is your PC ones?....But)
At home I have a very new i7 laptop running windows 7 - 64 and a just under ten year old dual Xeon based workstation still running XP both with 8Gb. which of the two would be the best base O/S machine for creating the linux environment on? I imagine that the new laptop will have much fast CPUs but the workstation has many more faster SCSI disks. Although both have NAS available storage.
It doesn't matter. It's your choice. For example I have only Win7 32-bit both on PC and Notebook. I also have native Ubuntu on Notebook as a dual boot, but I use it only on modifying apps.
I never used the kitchen to make own rom, but its the fast way
and you can run linux on a virtual machine if you want
superkid said:
I never used the kitchen to make own rom, but its the fast way
and you can run linux on a virtual machine if you want
Click to expand...
Click to collapse
I'd seriously appreciate a LINK to a linux disto VM that I could download and get started with. As I'm currently starting with an empty page!?
What O/S or linux flavour/distro do the other chiefs use (a URL or link would be magic)?
LBC?
MaryLandCookie
proxuser?
superkid?
NeoLojik?
(dont feel bad if I missed you out - we've finally too many Cooks to remember!)
etc
As always any assistance much appreciated.
and regarding the Development INDEX thread -I've heard back from the MOD but am still awaiting him to action the change of owner for the thread. SO post any needed updates or ideas into the thread and I'll action them as soon as I can!
Ben, start with this, you won't need anything else for personal use: http://forum.xda-developers.com/showthread.php?t=633246
You will find out here how to set up Cygwin and everything else you need.
Virtual machine here
Linux distro
Use with dsixda's kitchen, you can't go wrong. Although I prefer dual boot.
lol i use debian, but i dont have a vm
superkid said:
lol i use debian, but i dont have a vm
Click to expand...
Click to collapse
I don't use vm myself, but for those not wanting to make big system changes a vm is a good way to go. Never did like cygwin either, but its all about personal preferences I guess
Sent from my HTC Desire S
ben_pyett said:
Now I'm completely sure that this thread isn't quite the sort of thing that's intended for this Development forum but in this case I'd like you to make an exception as it's intention is for future development and I'm seeking the input from the current great bunch of developers that we have.
I wouldn't mind having an attempt at putting together my own ROM or at least hacking an existing close to stock ROM and making it my own, I have no plans to release my creation to the mass market (if I ever get that far) but, just want to go through the process in order to give me a better understanding of how it all hangs together so that I can put more into the community and assist more in this section and not just the general one with basic problems.
Any pointers that anyione can give will be gratefully appreciated.
I'm not seeking to build a thin Senseless ROM as there are are already some fine examples of these already (MIUI and CM etc), as I'm new to Android and have come here from Windows Mobile so I've already made HTC my choice mainly as I like Sense its functionality, integration, even though I do believe it could be slimmed downed by a decent degree and loose many unnecessary components and elements from the start. I'd also like to only build a WWE ROM as it would be intended for just my use.
As you may know already or can see from signature (or my many previous posts) my current favorite custom ROM is LBC so I'd like to have a go at creating my own version of something similar, I'll probably only end up using LBC still as my daily ROM as I've loved it since I first moved to it and have no intention of going elsewhere.
I have JDK and ADK installed on both my PC's, I've been a programmer although quite some years ago, but, still have a reasonable amount of IT knowledge and still work in a IT related job. So configuration, UNIX scripting etc isn't a problem although Java programming may well be!
Just looking for some basic pointers even if they are to websites or resource threads here in XDA for further reading. Many thanks for all the pointers offered and any time spent helping me, I'm also sure that anything you guys put together will then prove useful for others if they are in my position.
I've also very recently just done my back in and am suffering from awful sciatica, so can see myself spending some time off work, bizarrely sitting at the computer on certain chairs for medium lengths of times, is one of the few things that I can do without experiencing much pain, so I'm trying to keep my self busy, amused and avoid (further) insanity so this seemed like the best option!
Thanks in advance (again) I appreciate that the people in this forum are exceptionally busy, what with their own life's, their families, their jobs not to mention their relentless dedication to the cause that is Desire S ROM porting and development!
Click to expand...
Click to collapse
Well in my opinion you are alone here because i dont know what the level here it is that anyone helps someone who dares to port a rom. Like i think i am from a specific country or dont know what only few are here who helps me in porting a rom otherwise all have a very good excuse that he is not ready to help anyone. I would like to mention the names who help me in porting the rom and they are mike1986 and one of his team members otherwise majority are here in a race to become number 1 in a specific forum etc. So brother try to see the above mentioned tutorial of how to port a sense rom and try yourself otherwise i had a bitter experience.
This is an excellent place to start, some excellent support from dsixda, dastin1015 among others.
Basically with their help I built my first AOSP ROM for the DS and further.
Well worth a look.
Peace
Just one thing, AOSP means compiled from cm or Google source. Actually it's not possible to compile from Google sources only from CM.
trismegistos said:
Just one thing, AOSP means compiled from cm or Google source. Actually it's not possible to compile from Google sources only from CM.
Click to expand...
Click to collapse
Android Open Source Project to me is google, without sense or any other "knobs". You can compile a pure rom from these sources, I produced one with help from members on other forums.
Getting it to work fully is another matter, lol.
It's definitely an easier route - but none less valid - to take a stock rom & tweak it with dsixda's excellent kitchen.
Sent from my HTC Desire S
Is there an easy way to change things like default wallpaper, desktop icons, widgets layout and so?
I've been reading and using kitchens but can't find the answer
fosco_ said:
Is there an easy way to change things like default wallpaper, desktop icons, widgets layout and so?
I've been reading and using kitchens but can't find the answer
Click to expand...
Click to collapse
try uot kitchen
http://uot.dakra.lt/
its quite easy to use
you can read this guide to get started
So in this thread it tells you how to install pc operating systems like windows and linux on the Evo 3D.
http://forum.xda-developers.com/showthread.php?t=1459153
This, is freaking awesome. This one is a big breakthrough.
----
Here is the thread in the Nook Color forums for ubuntu on the device:
http://forum.xda-developers.com/showthread.php?t=1055954
----
These two threads are native installs, not using some client to access the installation, the device itself is the client as it should be.
This is not some chrooted virtual OS simulation, but the real deal installed to the device.
----
In the back of my mind i've wanted to play with ubuntu installed on the MT4GS, but not a virtual installation I want it installed and running on the device natively.
I definitely don't have the time to do this and a lot i'm trying to do around here even if I wasn't in my busy season for work.
Dropping this information so I can find it later when I do get to trying to get ubuntu (and now windows XP looks like a possibility) installed on this device.
If anyone else feels like looking into this, here's a good place to start. If anyone comes across any other projects that are the real deal and not virtual installs please post links here.
Have fun!
Blue6IX said:
So in this thread it tells you how to install pc operating systems like windows and linux on the Evo 3D.
http://forum.xda-developers.com/showthread.php?t=1459153
This, is freaking awesome. This one is a big breakthrough.
----
Here is the thread in the Nook Color forums for ubuntu on the device:
http://forum.xda-developers.com/showthread.php?t=1055954
----
These two threads are native installs, not using some client to access the installation, the device itself is the client as it should be.
This is not some chrooted virtual OS simulation, but the real deal installed to the device.
----
In the back of my mind i've wanted to play with ubuntu installed on the MT4GS, but not a virtual installation I want it installed and running on the device natively.
I definitely don't have the time to do this and a lot i'm trying to do around here even if I wasn't in my busy season for work.
Dropping this information so I can find it later when I do get to trying to get ubuntu (and now windows XP looks like a possibility) installed on this device.
If anyone else feels like looking into this, here's a good place to start. If anyone comes across any other projects that are the real deal and not virtual installs please post links here.
Have fun!
Click to expand...
Click to collapse
Regardless of what impression you may have, it is ABSOLUTELY IMPOSSIBLE to run MSWin on ARM hardware natively. The reason for this is that MSWin is x86 and ARM is... ARM. The approach used in the first link is to use BOCHS (pronounced "Box"), which is a VIRTUAL HARDWARE EMULATOR. It requires a host operating system to be functioning in the background, in this case Linux.
As for Ubuntu... well sure. No problem. Its Linux and the phone runs Linux. Not that big of a stretch to replace the Android parts with GNU.
Note that NONE of this is any kind of "great breakthrough". Bochs has been around for a VERY long time. First OPEN SOURCED in early 2000. Yeah, 12 years ago. As for Ubuntu... well I suppose that the main reason that most people aren't making a native android replacement out of ubuntu, is that not many people are all that interested in it. Cute in theory, but not practical.
What would be a more worthy project would be to upgrade android to GNU libraries and utilities. This would afford us an actually USEFUL balance between the two. Also the ability to run X *through* android without having to do stupid things like VNC. Have the proper interface ***AS AN ANDROID APPLICATION***, leaving Android to work (i.e., phone calls, etc.) while simultaneously offering the standard Linux applications.
My thought though, is that this is becoming less and less important. Firefox is on Android now, the Document foundation has announced LibreOffice for Android -- supposed to be by late 2012 to early 2013... GIMP has no place on Android... That certainly covers the basics.
Appreciate the post. I didn't have time to dig into it too deeply, so took it at face value for the impression I got. Happened to come across it in passing and didn't want to lose track of something vital to the future dev of a project like this on the doubleshot. (but definitely this doesn't belong in the dev section at this time - just clutter there.)
I was hoping people would add to it, especially the way you have, who had more of an understanding of what's going on there - I didn't realize that it was a virtual environment for the windows stuff, but it did seem to good to be true.
Even if no one responded I figured the thread would get pushed down out of the way, but still be here when I got the time to come back to it.
----
My reason for running native linux on the device itself is to be able to use the Android SDK and tools without needing a computer to do so. I have 2 of these phones and a Nook Color. The NC has USB host support, so I could plug the doubleshot into it without frying either device. (yes, i'm blending android and linux concepts here - but usb host support in android shows that it's capable of doing it)
Even from one doubleshot to the other I could use wifi adb for a lot of stuff without plugging them into each other through USB and frying the phones. So that would be a victory as well.
The lack of a hardware charging circuit in the doubleshot makes the worry of frying the phones a big deal, power transfer through USB is a big hurdle to jump in management.
Beyond that - the doubleshot is powerful enough on hardware specs to be able to compile a kernel, but that's not gonna happen through a virtual linux install because the overhead is too much. A native install might just be able to do it though. Won't know until I try, but it's worth the work to get to the point of trying, even if it doesn't work out.
The Nook Color probably won't be able to compile a kernel - it's asking too much from a device not really able to handle that.
Getting what I mentioned above to work would mean I could do all my dev work with what fits in my pocket, and let me keep working wherever I am.
I do like the idea of an app to work with this through Android itself - but I don't see how I could use the SDk and variety of user-created tools without a native linux install. Worth pursuing either way though.
If anyone has anything to add, i'd be welcome to hear it. Just understand this is not a project i'm working on or actively pursuing right now - but fully intend to down the line.
Actually blue. There is a thread somewhere that has a step by step on installing ubuntu on gingerbread. I meant to add it when I added the backtrack link. For some reason I didn't, I probably forgot, I actually think the link for it is in the backtrack thread in the sticky.
If I do find it ill let you know.
Sent from my ICS Splashed using Tapatalk
Experts, Developers, Fellow Gentlemen (& perhaps, some Lassey?),
PURPOSE:
To request, collect, organize, and clearly present 3 types of information related to BOTH android application development (for sale on the market) and ROM cooking (using scripts, kitchens, etc.).
INFO REQUESTED:
(1) Compare the relative the PROs and CONs of Android Dev. using:
Windows with Cygwin and Eclipse
Windows with a Linux VM (Eclipse installed on the VM)
Mac with Eclipse
Mac with a Linux VM (Eclipse installed on the VM)
Linux on bare metal (using Eclipse, of course, or the NDK)
(2) If you have used two or more of the above for Android Dev., please describe your experiences and insights, the primary differences, similarities, tips and pitfalls, etc.
(3) Given a fairly large budget to buy your own laptop for use in Android application development and ROM cooking, please RANK the above 5 choices in order from your 1st (best and most desirable) choice to your 5th (last and least desirable) configuration.
Best Regards,
Paul
Honestly your best bet if you want to do android ROM development, and not developing apks, then your best bet is to dual boot your laptop with widows and ubuntu. I thouhgt that you were wanting to develop apks, since you mentioned the SDK and eclipse, that is really more for app development, rather than ROMS and android open source it self.
The reason for ubuntu is that all the of utilities all work with ubuntu, they can work with other distros, but ubuntu seems to be the one most flock to.
The reason not to use a VM is because it can have issues connecting to the USB connection with your phone attached.
Mac will work, if you really want to go down that path, but it is more cumbersome to get things to work "well" as BSD is the underlying kernel, but you have to install an Xwindows environment to use most of the Android utilities, and that can be a pain to get working for someone not really experienced with linux AND OS X.
Windows with cygwin is a possibility, but again, more of a pain that just dual booting ubuntu.
+1 for dualboot
I'm definitely not a developer but I do know PC's. Jim's right you won't get any odd b.s. if you partition and install Ubuntu.
For the small amount of rom tweaking/developing I have done I use windows with cygwin. With baksmali and smali for decompiling dex files.
Sent from my MB865 using xda premium
Me too. I get by with Windows7 and Cygwin...
I know that I will eventually have to at least set up dual-boot with Ubuntu if I want to get involved in "real" development (even that would freak out my wife though - having options at boot on our shared family computer... gonna need a separate dev machine I guess)
Sent from my mind using XDA
I have worked through both windows and linux (ubuntu mostly), and I can give you some info about macs too, but I don't have actual experience there.
Windows
Pros:
More software for things other than android development, so if you want just one OS it may be the way to go.
If you are familiar with it already, it will make your life easier as you won't have to learn about a new OS.
Not much more really.
Cons:
most developers use linux, so you will be a bit alone i the android dev world meaning possible less support.
Not as well supported officially or not.
Overall:
Windows will probably be just fine for app development, as the sdk and eclipse both run fine.
You will have trouble with rom development. Android is based on the linux kernel, so it does not play well with windows.
You can use Cygwin, but you will have mixed results. It is not perfect. Some things just won't work unless you have linux, and quite honestly it is probably easier to get ubuntu working right.
Ubuntu
Pros:
It's FREE!!!!!
most official support
It's what most devs use, so unofficial support is good
Most utilities are built for it.
Cons:
Can be tough to learn if you are used to windows
not as many apps for other things, but that is getting better.
Over all:
By far the best for development. you are just gonna be better off in general. your best bet is to dual boot, which is really easy, and you can always use windows when you want. A virtual machine is an option, but you will have issues with certain things, like usb support. A VM will also require more cpu power to do everything so it is not a good idea on low power machines.
Hardware
Linux is much lighter than windows, so a low power computer will be better off with it.
You should be fine with anything that is not total crap for app development. Basic rom development should be fine in the mid to low end. If you are getting into more serious stuff like building up android source you will want some serious power. I have 4GB or ram and an intel i3 processor (2.13 gHZ dual core 4 thread) and that barely cuts it. compiling cm7 takes a couple hours and it runs at 100% cpu usage the whole time and gets hotter than hell.
You will need a pretty big hard drive for some stuff. The AOSP source is huge. all my android stuff takes about 28GB.
Over all
your best bet is to dual boot windows and Ubuntu Linux on at least a decent PC. you will be happier with something with a slightly higher end CPU.
I use 64-bit Ubuntu, it's just so much better and everything just runs natively! I mean some of those kitchens and tools are only for windows, but it doesn't really bother me because I dont use them
If you want to learn to write code, get ubuntu and jump head first into it.
hello comunity,
thank you for taken me into your community.
my question might is weird but i was always wondering why android ROMS are always just made for specific devices.
As known from the Personal Computers you just get an installation media like DVD or USB Drive packed with the OS and all the driver the computer might have. the installation routine just figures out the the device needs and installs acordingly.
why this is not possible for the ARM-devices to install android OS like this? or is there already projects who invented? i think almost everybody (especially those who owns a not anymore supported device by the manufacturer) would appreciate if he/she could upgrade by using an autonomous installer.
I am not a hardware architecture nerd thats why i would appreciate and kindly ask for an easy to understand explanation
Hi there, not sure if I'm on the right forum, but this seemed like the safest place to ask.
I have this project in my head that I would like to try, but I have no idea if it is even possible.
I'm currently doing a bachelors in computer science and as a way to learn, I would like to take on a big project.
As will soon become clear, I am a linux noob and know nothing about android development, but that's what I'm trying to change here.
Some time ago I bought a Chinese ereader (rebranded BOOX C67ML - using a rockchip rk3026 SoC, don't know how important that is -) and it's decent but it also kind of sucks. It runs android which overkill for a device like this if you ask me. When I look at the kindle or kobo ereaders, they have their proprietary os that is also Linux based, but much more streamlined without unnecessary features. This device doesn't even have wifi, so what am I going to do with full android on an e-ink screen? It only drains my battery more than it has to.
My question is, how feasible is it to create my own 'OS' for this device that is also Linux based and lightweight? I know that android devices can run gnu/linux in a sort of vm on top, but is it also possible to install this directly on the device? Wipe android and install a custom linux distro as you would a custom ROM.
Is this possible? Where do I begin? Any information on how the linux kernel underneath android functions and differs from a standard linux kernel would be great. I'm not asking for an easy solution served on a platter, I just want to know if it is possible and why or why not? Where do I go to learn about how to do this, point me in the right direction?
In searching around I came across postmarketOS, from what I understand they are trying to do something similar, only completely open source. No proprietary drivers for anything. For this project that is not a goal for me. If I can reuse parts of the android rom that it is running right now, I have no problem with that. Updating and keeping it up to date are not really a priority, I just need this to run a single application that works. Could also be that I completely don't understand what they are trying to do and I'm way off, but if so, please tell me what I don't understand and where I go to learn.
TLDR: Lightweight 'desktop' linux instead of android on an ereader, is it possible? Where do I start? Point me in the right direction please.
PS: If there is a better solution for this problem entirely, please do explain.
For anyone interested or with a similar idea, I'll just post what extra information I find here.
I stumbled upon Halium and Libhybris today. From what I understand, libhybris provides a compatibility layer between the android kernel and posix compatible applications. Halium uses libhybris and tries to create a common base that can be used to develop a non-android os for an android device. Please correct me if I'm wrong.