Linux distro - problem to choose - Android Q&A, Help & Troubleshooting

Which distro for android development could you suggest to try, other than Ubuntu?
Will Arch, Slackware, Backtrack, Mint, Fedora work?
I'm using Backtrack, but just in case of tools included, its based on ubuntu too but this one isn't best for everyday use.
I have Mint on CD, Ubuntu via Wubi, Arch via VirtualBox, and just downloaded Slack, now waiting for new Fedora too and I'm cofused of all of this distroch, which would be good for everyday use to switch from Windows7.
I used Fedora 12 on old PC and I had problems with drivers, where Ubuntu was just fine.
Ubuntu now has Unity which I hate, thats the main reason why I want change.
Arch, I've installed it just on VirtualBox as I can't describe myself as complete Linux expert, nor beginner (I dont want to mess up partitions) but its working pretty fast and need a lot of time to set it up, but everyone tells its nice and I can't feel really why its better than another distros, most linux are the same but Pacman here is nice tool.
I've used Mint but there most confusing problem for me is that it's based on Ubuntu so its 2nd remake (mean Debian>Ubuntu>Mint), which can be unstable, because first Ubuntu days wasn't best and its young distro and I don't want to switch in a month to another distro due to unstability or errors but I really enjoyed using it.

Well, since you said other than Ubuntu, I'll have to recommend Fedora.

Oh I forgot that if other GUI is viable for development I can also switch to Kubuntu or other KDE/LXDE/XFCE desktop distro - I hate Unity the most in Ubuntu.

Related

linux distros?

What can be run on the hero?I have tried fedora and ubuntu as wwell as yellow dog on my ps3 and wondered if ubuntu could be installed on my hero
i have run several flavors of ubuntu with success. basically you can run every distro that has an arm compiled release...
ok thanks! how did they run? which do you prefer and where do i start lol i have read i need a kernel with loopbaack support is this true?
http://www.villainrom.co.uk/viewtopic.php?f=24&t=327
here is a very nice writeup how to do it with bind mounts and ext partitions on your sdcard.
tbh, it is all painfully slow. expect five to ten minutes startup time for a graphical desktop. all the graphical stuff is more like a proof of concept. the interesting part is with the command line tools, all those you know are there. i haven't tested it very extensivly, can't say anything about performance. i did get a gnome desktop via vnc from my phone

[How To] Running Linux on a Windows Machine

A lot of the development that has (is) taken place for our Nook's is performed by the developers in Linux. As such there are a few posts in the development thread that offer "Linux Only" solutions.
We already have the Original ClockWorkMod (CWM) installation instructions, AdamOutlers Ubuntu Recovery and others.
People have also been recommended to re-format their bootable SD Cards using a program in Linux called Gparted. I can verify that this program works great but I'm sure I'm in the minority with having access to a Linux Machine. This thread is here to offer some suggestions.
To my knowledge you have these options:
1. Run Linux in a Virtual Machine (VM)
2. Create and boot from a Live CD/DVD
3. Create and boot from a USB Stick
4. Install Linux on a separate machine
5. Dual Boot
I personally run a MAC and run Linux in a VM. I use a program called Parallels. This is NOT a free solution but if any of you run a MAC I can recommend this program highly. However this thread is dedicated to those Windoze Users so let's press on.
Virtual Machines
VM's are great tools that allow you to try almost all available OS's on your machine with no damage being done to the actual file system of the "Host" operating system which in this case is your windows machine. The "Guest" operating system is typically contained in one single file or a single folder so the entire machine can be backed up easily. This method may be a little more advanced then the method's I will outline below but in my opinion it is well worth it. VM's are fun and once you get the hang of them you will be installing a bunch of new operating systems just to "fiddle".I have a version of Dos 6 running in a VM just because I can. LOL
Virtual Box is a free VM for Windows and I believe they even offer pre-built Linux Distro's that you simply download and open once the main VM software is installed.
VMware Player is also free.
Live CD's/DVD's
Live CD's are great for a quick format job's such as those found here in the Forum's. The downside is that they are a little slower and changes you make while the system is running are lost.
Knoppix
Ubuntu is the distribution recommend most. This link brings you to a download page where you can select either a Full Install Version, a Live CD Version or a Flash Drive version.
The LiveCD List Too many to mention. Check it out.
USB Stick
Advantages to a USB stick is that you can make the file system mountable and changes you make to the system can be made persistent meaning the next time you boot your changes will be saved. It is also a tad bit faster then the live CD but a little more difficult to make. Not much though
Ubuntu same link as above.
Linux Live USB Creator is a cool application that you install and it talks you through the steps. Once Installed I believe it will even provide you with a list of available distributions and download it for you. It will then use the download to create a bootable USB stick.
PenDriveLinux is the same premise as Linux Live. It will talk you through the steps.
Full Installation
This method is obviously for more advanced users and requires a computer that you will dedicate to running linux. If you fit these qualifications it is a rather fun experience and a great learning tool.
Ubuntu I'm linking this again because it is the same area you would obtain the Full Version of the software to download.
Linux Distro Watch contains a complete list of the most recent Linux Distro's. Pick a flavor and read up on how to install.
Dual Boot
AdamOutler has suggested that this Section be added. Dual booting is an option that replaces your boot loader with an "option" screen allowing you to select which OS you wish to boot. I honestly can't recommend this to beginners and even though I consider myself more of an advanced user, I have experienced issues with this in the past. Simply put if that boot-loader somehow gets corrupted you can render the entire machine inaccessible. Mind you it has been a LONG time since I used a dual-boot solution and I'm sure the methods have improved significantly over the years. Adam has mentioned that the Live-CD and USB-Stick versions offer you the option to install the boot-loader now. Like I said, once I went to VM's I haven't looked back but this IS a viable option if you are so inclined. The advantage would be that your Linux Distro would run at full speed and would be just like having your own Linux workstation without the need to purchase or obtain additional hardware. Simply select the OS you wish to run (Windows, Linux, ETC.) and boot into that OS. Adam's post can be viewed HERE. Thanks Adam!
User Suggestions
Wubi was recommended by Veronica (Lavero.Burgos). It looks like it may be a pretty easy (and Cool) option. Give it a shot! Thanks Veronica!
Know-Fear has offer some additional Instructions in This Post. Good Information there. Give him a thanks!
Birdsbeaks recommends NOT taking the easy road if you are truly interested in "learning" Linux. He suggests that you start with a distro that has a "steeper learning curve". One of his recommendations was Slackware. He also prefers MINT over Ubuntu as he feels it is less "proprietary". You can read his full comment HERE.
By no means is this list even close to complete. I simply wanted to give you a starting point and the rest is up to you. I have tried a few of these solutions in the past but since moving to a VM solution that is where I stand. Since it has been awhile, your mileage may vary (YMMV) but this should get you started.
If you have questions feel free to post them and I will do my best to help you along but the best way to learn is to experiment on your own.
If anybody has tried other versions or solutions feel free to post them and I will update the Original Post (OP).
Have fun and good luck!
****Reserved*******
I choose to dual boot windows 7 and Ubuntu.
All the options you mentioned work. Probably a live CD or USB would be the best bet for most people, since most probably wont spend alot of time on it.
@LandMaster you forgot Wubi, also have anyone tested Ubuntu 12.04 LTS alpha? So far im researching about Cinnamon Linux Mint 12 which looks promising .
~ Veronica
lavero.burgos said:
@LandMaster you forgot Wubi, also have anyone tested the new 12.04 LTS alpha of Ubuntu? So far im researching about Cinnamon Linux Mint 12 which looks promising .
~ Veronica
Click to expand...
Click to collapse
Added. Thanks!! Looks cool. I had never heard of it
What is this Windows you speak of.
don't forget to add in the full installation that most Live CDs and USB sticks will give you the option to run "side-by-side" or "Dual-boot". Personally, I'd just wipe Windows from the computer, if you need it back for some reason just use your quick restore disks.
I run a dual boot on my netbook because I have some hardware that requires Windows. Other than that, I can run about 3 separate virtual machines at the same time within Linux and everything works fine... Windows xp, Windows 7 and OS-X Lion all run fine in virtual machines within Linux. With guest additions, you can make them full-screen or share your desktop with the virtual machine so "Windows" windows appear in the same space as the Linux windows.
AdamOutler said:
don't forget to add in the full installation that most Live CDs and USB sticks will give you the option to run "side-by-side" or "Dual-boot". Personally, I'd just wipe Windows from the computer, if you need it back for some reason just use your quick restore disks.
I run a dual boot on my netbook because I have some hardware that requires Windows. Other than that, I can run about 3 separate virtual machines at the same time within Linux and everything works fine... Windows xp, Windows 7 and OS-X Lion all run fine in virtual machines within Linux. With guest additions, you can make them full-screen or share your desktop with the virtual machine so "Windows" windows appear in the same space as the Linux windows.
Click to expand...
Click to collapse
I added a dual-boot section to the OP. I'm out of thanks for the day. I'll hook you up later.
Totally agree about Windoze. I have a really good laptop that runs Win 7 and it would take me about an hour just to clean the dust off of it.
As this guide is for "beginners" I didn't really want to tell them to forego windows and wipe their boxes. Hopefully they will come around once they have a chance to experiment with Linux.
AdamOutler said:
don't forget to add in the full installation that most Live CDs and USB sticks will give you the option to run "side-by-side" or "Dual-boot". Personally, I'd just wipe Windows from the computer, if you need it back for some reason just use your quick restore disks.
I run a dual boot on my netbook because I have some hardware that requires Windows. Other than that, I can run about 3 separate virtual machines at the same time within Linux and everything works fine... Windows xp, Windows 7 and OS-X Lion all run fine in virtual machines within Linux. With guest additions, you can make them full-screen or share your desktop with the virtual machine so "Windows" windows appear in the same space as the Linux windows.
Click to expand...
Click to collapse
Nice!. Adam i have a question for you, i have a netbook as well HP110CA(that gave to bf) 1GB of ram and im having issues with linux on it. It came with windows XP off course and i had to format it twice because it got viruses while in Canada, so i just wiped out and put ubuntu 10.10 in that time. At first was running ok but eventually it started to freeze, later on upgraded to 11.04 and it messed things up so i decided to try other "light" distro and i put Jolicloud(based on ubuntu) again started running fine but keeps freezing and more often, now i don't know what else to put in i was thinking on Puppy linux lol but im not sure why it freezes that much. When i had it with windows it never froze though but i don't want to go back to windows only if its my last resource. What would you recommend? im starting to think its a hardware failure and that linux is too much for that poor machine .
~ Veronica
Hell yeah but I think I messed up bc i. Put the disk in and restarted and it to me to a black screen with cursor so i even up have to goto bios or cmos one of those and change first boot to dvd so hopefully after I'm done with this I. Can get back to windows hopefully my drive order is correct
___________________________________________
Sent from my PG86100-EVO3D-using Tapatalk Born Jan 5th 84 and still getting it in eeee
Anon9mouz said:
Hell yeah but I think I messed up bc i. Put the disk in and restarted and it to me to a black screen with cursor so i even up have to goto bios or cmos one of those and change first boot to dvd so hopefully after I'm done with this I. Can get back to windows hopefully my drive order is correct
___________________________________________
Sent from my PG86100-EVO3D-using Tapatalk Born Jan 5th 84 and still getting it in eeee
Click to expand...
Click to collapse
Yup... When booting from a USB drive or CD the boot order must be set in the bios. I recommend just leaving it as:
1. DVD/CD Rom
2. USB
3. C drive
This way here if 1 & 2 are not attached it will boot from the "C Drive"
I would unplug the hard drive if I were the noobs just in case. That way the noobs wont accidentally wipe their Hard drive
My recommendation for "beginners" would be to try Ubuntu in a Virtual machine ( i use Vmware and love it, has never let me down) and you can still work in your Windows interface, it is also easy to share files between windows and your virtual machine.
It is enough for all the sdcard mods and even adb if you want to set it up there too. I prefer this way rather than Wubi because i can work faster that way, i don't need to reboot to boot into windows, i have all i need in the same place .
~ Veronica
I prefer running either zen-mini or pclos gnome in virtualbox myself
Anon9mouz said:
Hell yeah but I think I messed up bc i. Put the disk in and restarted and it to me to a black screen with cursor so i even up have to goto bios or cmos one of those and change first boot to dvd so hopefully after I'm done with this I. Can get back to windows hopefully my drive order is correct
___________________________________________
Sent from my PG86100-EVO3D-using Tapatalk Born Jan 5th 84 and still getting it in eeee
Click to expand...
Click to collapse
This happens when you use a 64 bit Linux on a 32 bit system. Also when you have a bad copy. Burn at a lower speed. Try redownloading.
AdamOutler said:
...
I can run about 3 separate virtual machines at the same time within Linux and everything works fine... Windows xp, Windows 7 and OS-X Lion all run fine in virtual machines within Linux.
...
Click to expand...
Click to collapse
It's been a couple years since I tried running OSX on non-apple hardware / in a vm. Can you point me to a good resource for this?
I don't always use virtual machines, but when I do, I use VirtualBox. Mostly because it's free.
I have ubuntu 11.10 on my netbook and, while I like the interface, it seems like things get a little slugish at times. Anybody out there know of a good distro for netbooks?
RadicalAns said:
I don't always use virtual machines, but when I do, I use VirtualBox. Mostly because it's free.
I have ubuntu 11.10 on my netbook and, while I like the interface, it seems like things get a little slugish at times. Anybody out there know of a good distro for netbooks?
Click to expand...
Click to collapse
I don't always drink beer, but when I do... Oh wait .... getting sidetracked..
I just did a quick search and believe it or not Ubuntu leads the ranking's on This Page
I remember putting the "Netbook Remix" on an older netbook and it ran OK but not great from what I recall. From quickly glancing at this article it sounds like that version has been merged with the main distribution. You may be able to locate a copy of it though and try it out.
Yeah I really like 11.10 for my netbook. I think I may end up just upgrading the ram on the little bugger. It's nice having a Linux machine that I can muck around on while watching TV w/ the wife.
lavero.burgos said:
Nice!. Adam i have a question for you, i have a netbook as well HP110CA(that gave to bf) 1GB of ram and im having issues with linux on it. It came with windows XP off course and i had to format it twice because it got viruses while in Canada, so i just wiped out and put ubuntu 10.10 in that time. At first was running ok but eventually it started to freeze, later on upgraded to 11.04 and it messed things up so i decided to try other "light" distro and i put Jolicloud(based on ubuntu) again started running fine but keeps freezing and more often, now i don't know what else to put in i was thinking on Puppy linux lol but im not sure why it freezes that much. When i had it with windows it never froze though but i don't want to go back to windows only if its my last resource. What would you recommend? im starting to think its a hardware failure and that linux is too much for that poor machine .
~ Veronica
Click to expand...
Click to collapse
Can someone help me with this one plz i don't know what else to install it lol oh well maybe i end up going back to windows XP.. sigh
~ V

[Q] Switching from Windows to Linux environment for developing

Recently I have been having to use Linux more and more, I was thinking about just switching to Linux in general and for Android development. I have some general questions;
1. OpenJDK or Oracle JDK?
2. I know how to use Linux but have never attempted to use Android SDK and Eclipse in Linux, is it pretty straight forward/similar to Windows?
3. I recall in the past having trouble with dex2jar in Linux, maybe I was naive then but are there any issues/useful tips I should know or read up on before making the switch?
4. Is there a recommended distro that I should use? By that I mean is there one used by more of the android development community and thus easier to find/ask support for? I was thinking of just sticking to Ubuntu because of its large support community.
It doesn't matter, actually.
Yes.
-
Any distro will be ok, if you like Ubuntu, the use it (personally, I prefer Linux Mint or Arch Linux).

Full linux operating systems

Hello, I am looking to install an OS on my HP Touchpad but I'm thinking of possibly Linux desktop OS. I have seen Ubuntu run on it but I would like to know if anyone has been able to get Arch Linux (Created within the past few years) to run and working properly? If Arch Linux is not an option I will take any Linux OS that will run on it.
Dudefoxlive said:
Hello, I am looking to install an OS on my HP Touchpad but I'm thinking of possibly Linux desktop OS. I have seen Ubuntu run on it but I would like to know if anyone has been able to get Arch Linux (Created within the past few years) to run and working properly? If Arch Linux is not an option I will take any Linux OS that will run on it.
Click to expand...
Click to collapse
All the information is on here and also videos on how it works. Is a full arm Ubuntu 18.04 LTS Bionic Beaver been run in a chroot environment.
How to install Ubuntu 18.04 LTS Bionic Beaver, armhf on the HP Touchpad

Native Arch Linux

I'm looking for a way to install arch Linux NATIVELY on the touchpad, I tried with kexec and the images available for it and it's all broken, it won't even complete the installation, I also tried this install guide with this image because the install guide uses images that are no longer available to download, but also no luck, there is also this post but the guy said it's really old and the txt file that is in his archive keeps repeating that it's "hacky".
So I really need a nice and modern approach, I know a lot about Linux, just not about porting so if someone wants to try and make a new port and a new installation method I could try to help.
We should really try to do this because it would bring a new life to the TP, imagine running i3-gaps on this beautiful piece of hardware.
Hope you guys can help me and before I post this I gotta say: "Btw, I use Arch".
arrudagates said:
I'm looking for a way to install arch Linux NATIVELY on the touchpad,
That will require a new Kernel and drivers for WiFI, Sound, Touch Screen and any other hardware.
I tried with kexec and the images available for it and it's all broken, it won't even complete the installation, I also tried this install guide with this image because the install guide uses images that are no longer available to download, but also no luck, there is also this post but the guy said it's really old and the txt file that is in his archive keeps repeating that it's "hacky".
So I really need a nice and modern approach, I know a lot about Linux, just not about porting so if someone wants to try and make a new port and a new installation method I could try to help.
We should really try to do this because it would bring a new life to the TP, imagine running i3-gaps on this beautiful piece of hardware.
Hope you guys can help me and before I post this I gotta say: "Btw, I use Arch".
Click to expand...
Click to collapse
The only way that I know that is reliable and works using the lastes Ubuntu, Debian or Arch in a chroot environment.
Click HERE for how to How to install Ubuntu 18.04 LTS Bionix Beaver, armhf on the HP Touchpad Desktop Environment XFCE and LXDE on a partition as chroot.
HP_TOUCHPAD said:
The only way that I know that is reliable and works using the lastes Ubuntu, Debian or Arch in a chroot environment.
Click HERE for how to How to install Ubuntu 18.04 LTS Bionix Beaver, armhf on the HP Touchpad Desktop Environment XFCE and LXDE on a partition as chroot.
Click to expand...
Click to collapse
I mean, that would work, but would require Android and wouldn't be native, I want to have arch and webos, both running native.
arrudagates said:
I mean, that would work, but would require Android and wouldn't be native, I want to have arch and webos, both running native.
Click to expand...
Click to collapse
The kernel is what makes the OS works by providing support for the hardware. WebOS Kernel is OLD and not supported by any current Linux, even LuneOS use the Android Kernel.
Android can be install and keep WebOS, it was a great OS but not nothing current will run on it.
Using the method posted, the most up to date and current Linux distribution of Arch, Debian, Ubuntu and more can all be install on the same Tablet running Android and use any Linux flavor without rebooting.
Android provides a very stable newer kernel that will share the resources with any listed Linux flavors and those built are native arm, runs super fast. If you want it to have all that done natively and not using Android, then the Kernel must be modified and all the "private drivers" ported to the most current version of Linux. The OS can not be updated as Linux will modify the Kernel, breaking everything. But everything is possible, is up to the user how much time and dedication plus the knowledge required to make it work.
HP_TOUCHPAD said:
The kernel is what makes the OS works by providing support for the hardware. WebOS Kernel is OLD and not supported by any current Linux, even LuneOS use the Android Kernel.
Android can be install and keep WebOS, it was a great OS but not nothing current will run on it.
Using the method posted, the most up to date and current Linux distribution of Arch, Debian, Ubuntu and more can all be install on the same Tablet running Android and use any Linux flavor without rebooting.
Android provides a very stable newer kernel that will share the resources with any listed Linux flavors and those built are native arm, runs super fast. If you want it to have all that done natively and not using Android, then the Kernel must be modified and all the "private drivers" ported to the most current version of Linux. The OS can not be updated as Linux will modify the Kernel, breaking everything. But everything is possible, is up to the user how much time and dedication plus the knowledge required to make it work.
Click to expand...
Click to collapse
I don't mind running old kernel/package versions, I am actually trying to run the old projects but most have the Images down and unavailable and the ones that don't just straight won't work.
arrudagates said:
I don't mind running old kernel/package versions, I am actually trying to run the old projects but most have the Images down and unavailable and the ones that don't just straight won't work.
Click to expand...
Click to collapse
I never installed any native Linux Os on the Tablet. The Ubuntu Touch was promising but never took off. The system must be stable for anything to be use otherwise is just experimental as most of those builds were. Running Linux in a Chroot environment is somewhat, not the same, as a Linux guest virtual machine and Android as a host.
That is the only way I know of, that is stable and current.
Ok so right now I have two more options available to try but they are probably not gonna work, in that case I'll start to look about making my own port of ArchLinuxARM
arrudagates said:
Ok so right now I have two more options available to try but they are probably not gonna work, in that case I'll start to look about making my own port of ArchLinuxARM
Click to expand...
Click to collapse
I did search for a working native linux OS for the Tablet, but did not found any.
It can surely be done, take a look at this video and the source at GitHub.
Youtube
https://www.youtube.com/watch?v=vx8_u1jhXJY
GitHub
https://github.com/CalcProgrammer1/kernel_tenderloin_debian
The Tablet uses LVM and can easily be partition in any way. It can also boot directly into Linux. The only thing to do is rename the file in /boot uImage.moboot to the Linux uImage ( example ) uImage.ArchLinux.
If any help, let me know.
Have fun!
I'm making some progress
arrudagates said:
I'm making some progress
Click to expand...
Click to collapse
Congratulations !
You did it ! once it boots is all it matters.
This is an idea, a chroot Arch can be built inside Android
A partition can be created in LVM Arch_Linux ( any size )
Inside Android with the App I posted, create the Chroot Arch Linux ( up to date )
Then modify the Ramdisk to direct at the partition Arch_Linux ( same it was use in the Chroot )
Then it should boot up ( some other changes will need to happen I guess)
Arch armv7l as chroot in Android 8.1 with HpTp_MAX
Testing the new kernel settings in Android and installed the latest version of Linux Arch using Linux Deploy.
It is fast and it would be even better running native!
Attached are the screenshots.

Categories

Resources