Related
If Debian can run on the G1 (http://www.saurik.com/id/10) could this http://mojo.handhelds.org/hasty-armv6el-vfp mobile version of ubuntu work? According to this page (http://pdadb.net/index.php?m=cpu&id=a7201a) the G1 CPU is compatible with ARMv6. I don't know if I have enough linux knowledge to pull it off, but I got root on my g1 and would really like to try it out, especially if it can run alongside Android.
Any benefit to using Ubuntu over debian when you arent going to be able to use many/if any of the ubuntu specific differences due to a lack of GUI atm?
This is coming from a casual ubuntu user, but debian is still the daddy.
because its based of debian, and mabey s/he just likes having sudo make it so anyone can with an account can do anything they want on it..
possible
I found this a while back but cant verify. seems to be possible, hope someone experienced tries it out and reports back:
http://www.codeandroid.org/2009/05/05/ubuntu-jaunty-lxde-running-on-android/
ubuntu on my g1
I'm going to try installing it on my g1 tomorrow. I'll keep you guys updated. I got debian and lxde to work before but it was annoying so this time I'm going to follow slashdot and install either Enlightenment or maybe BlackBox or AfterEffects as guis. I think any of those would be a lot cooler looking on an arm phone. Lxde was too windows looking for me. Stay tuned...
please check out my thread on running native os's like debian, ubuntu, openmoko NATIVELY by dual booting
http://forum.xda-developers.com/showthread.php?t=624392&page=6
I'm about to dual boot my box again, since alot of the stuff on the forums is for linux to start with, then works its way to windows. It's been a while since i played with linux, recompiling kernels had me pulling my hair out going f*%$ this MS Dos is more user friendly lols. Just curious which distibution you developers and programmers are useing, if you think one is better than the others for whatever reason.
Thanks in advance,
N1
Not really a developer but I have a gentoo64 2008.0
Why gentoo?
because you know what stuff you have in since you start with almost nothing. xD
but all other distribution are the same :
-Package manager
-user friendly
-Good autodetection of almost all your devices.
If you're not really familiar with linux I would tell you to go with ubuntu.
The community is really active, and the packages are well maintened.
personally i use Ubuntu 8.10(intrepid) it is very user friendly and i have been using it for a while so i know how to develope my themes and i know a good number of commands that i can use on the comp and on the phone.
Thanks for the suggestions, got ubuntu installed yesterday, been pulling hair out ever since
Ah man... Ubuntu's a breeze. What's making you pull your hair out?
I picked Ubuntu because of its Mac OSXness. Easy to use and very functional. Completely switched all my computers to dual boot now. Windows is for Excel now and that's about it.
lol I use Puppy Linux
Namely because It's even more stripped down then gentoo. The full installer is around 100mb. I have the installer on my MicroSD card as a live distro. Throw the card+MicroSD reader in a USB slot, change bios to boot from usb and whalla! Easiest Dual-Boot ever.
The Installer for Puppy actually installs the OS to my laptop's RAM leaving my hard-drives completely untouched. Full installation takes about 5 minutes.
When I'm done in linux, I just reboot, yank the USB and I'm back in windows. (there's also options to save your settings and things that you have changed to the MicroSD so they'll be there next time you boot from the USB)
sorry to tell you this but in term of installer size you can't do less than gentoo
ftp://ftp.free.fr/mirrors/ftp.gentoo.org/releases/amd64/2008.0/installcd/
xDDD
My bad... "Namely because It's even more stripped down then gentoo. The full installer is around 100mb." thx for correcting me dixxa, 67mb is pretty small
Although you can go a bit smaller http://damnsmalllinux.org/ 50mb
but I've had no luck setting DSL up successfully :/
Check out http://www.ultimateedition.info. It's a modified and improved ubuntu. It's not small but it's very beginner friendly and well supported and full of eyecandy. I use Ultimate Edition 2.1 x64bit.
my 2 cents
If you're new to linux: ubuntu (I started on mandriva, which I think is also really good. Bonus: compiz can be selected as default during install )
If you want to learn the true unix core of linux: slackware
Once you know what you're doing: gentoo
Got all three on my machine right now to play around with, with a shared home partition
I use Ubuntu, which is a knock-off of Debian, and that is a GREAT thing because the "apt-get" tools (like the Synaptic Package Manager) are the best thing going for upgrading and maintaining the Linux system.
Thanks for all the replies, started with ubuntu which has come a long way since the last time i played with linux, that extreme edition is pretty sweet, i have to assume, that all of that can be added to your basic ubuntu install, once i figure out what im doing again
I want to do some Android development and I currently have access to a Vaio running Vista Home Premium and a MacBook Pro running Leopard. I was considering installing Linux or Ubuntu on my Vaio, is this a good idea? What are the perks to an open source OS (I can only imagine after seeing what Linux based Android OS is capable of)
jbraucht said:
I want to do some Android development and I currently have access to a Vaio running Vista Home Premium and a MacBook Pro running Leopard. I was considering installing Linux or Ubuntu on my Vaio, is this a good idea? What are the perks to an open source OS (I can only imagine after seeing what Linux based Android OS is capable of)
Click to expand...
Click to collapse
I don't think there's any as far as Android development is concerned. ADB and Eclipse run on Windows just as fine as they do on Linux, and if you need any GNU tools there's always Cygwin.
I develop under Linux myself, but that's just because it's my main OS (after you get around all the problems and learn how to use it basic tasks become quicker by a fair amount). If I were using Windows, I doubt I would bother putting Linux on my machine just for Android development.
Either way, it's up to you to try and see whichever is more comfortable for you.
I like the spirit of Linux. Microsoft is a soul sucking evil, not to mention Vista drains ungodly resources just to idle. If I load Ubuntu will it wipe my hd like any other OS? I don't have an external at the moment, is it possible to make a small storage partition that won't get touched?
Sent from your girlfriend's Captivate
jbraucht said:
I like the spirit of Linux. Microsoft is a soul sucking evil, not to mention Vista drains ungodly resources just to idle. If I load Ubuntu will it wipe my hd like any other OS? I don't have an external at the moment, is it possible to make a small storage partition that won't get touched?
Sent from your girlfriend's Captivate
Click to expand...
Click to collapse
It all depends on how you partition your HDD. If you have enough free space you can just shrink your Vista partition and install Ubuntu alongside it in a separate partition thus leaving your Windows untouched. Hit Google with something like "installing Ubuntu after Vista" and you'll get many useful guides.
Just note that after installing Ubuntu you might need a lot of coffee, many hours, or days, and lots of head bashing against the table before you will get everything to work as you'd like After that you'll be free again... totally free, until you decide to upgrade to a newer release
martino2k6 said:
Just note that after installing Ubuntu you might need a lot of coffee, many hours, or days, and lots of head bashing against the table before you will get everything to work as you'd like After that you'll be free again... totally free, until you decide to upgrade to a newer release
Click to expand...
Click to collapse
now you're scaring me. i have my vaio open in front of me and all i can think is "remember how much stumbling through freeing the captivate made you a crazy person? just wait."
Now I'm getting tempted to wipe my old XP computer and stick Linux on it. Could be fun to learn.
Sent from my SAMSUNG-SGH-I897 using XDA App
You can boot Ubuntu from CD-ROM or USB stick if you want to try it out. Of course it's a lot slower than a full installation but at least it won't touch your harddisc! Check out the Ubuntu site for instructions.
I have two laptops at home and in the meanwhile I'm running Ubuntu on both of them. The first one is dual booting with Windows 7 (in case I want to do some gaming) and on the second one I totally wiped out Windows!!!
I never did any Linux before but so far I didn't run into any problems at all. Ubuntu is working smooth directly after installation. No problem to connect to WLAN (just as easy as on Windows 7) and downloading apps, development tools, and whatever from Ubuntu software store is just as easy as on Android!
For Android app development you don't necessary need any Linux. But if you want to play with the NDK then you might want to know that there's no Google support for Windows, so Linux is recommended here. If you want to compile the Android OS itself then a Linux machine is more suitable as well.
On Windows there's still the possibilty to use some Cygwin emulation or whatever but I never tried it myself, instead I thought for myself: I want to do Linux or I don't want to do Linux?
If you are more comfortable with a Linux PC then you'll also get a better understanding on the way Android is working in case you are interested in the internals, file system, shell, etc.
jbraucht said:
now you're scaring me. i have my vaio open in front of me and all i can think is "remember how much stumbling through freeing the captivate made you a crazy person? just wait."
Click to expand...
Click to collapse
Haha, well maybe I was a bit too harsh. Really depends how anal you are about things working properly
I have faith in my ability to fix anything. I can't change the boot options on my vaio tho, I can't get to the right menu
Sent from your girlfriend's Captivate
I recommend ubuntu. Compared to earlier years, almost everything just works out of the box, very basic and easy. You can load up a live cd/usb, install along side your current os with a very small partition size [I use about 8g out of my 120g hdd] because ubuntu is smart enough to read ntfs file systems, so it will be able to read anything that is on the windows partition as well. It will automatically install grub, allowing you to pick between os's when you boot, and everything is swell. Though i would upgrade to windows 7 first, as vista = crap
If you don't understand what ssh or vnc is, please don't attempt this.
I am able to run Kali Linux armhf on the 13.3.1 by following this guide. It can run other distros too.
I can confirm it is working 100% and runs very smooth. Here is a link to the Linux Deploy app. You need a vnc app or a ssh app to interface with it. I recommend Real VNC Viewer. Instead of connecting to your private ip, just connect using your loopback 127.0.0.1 It is faster.
I hope this could be of some use towards cracking the bootloader. Comments, questions, discussion wanted.
Nice idea but what can you really do on Kali that you can't do via adb shell?
PS putty ftw!
Sent from my Nexus 4 using Tapatalk
Spec-Chum said:
Nice idea but what can you really do on Kali that you can't do via adb shell?
PS putty ftw!
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Install linux native applications, light server, supports many linux distros like gentoo arch debian ubuntu fedora. Aircrack-ng, reaver, sslstrip, metasploit. The fun stuff.
Faznx92 said:
Install linux native applications, light server, supports many linux distros like gentoo arch debian ubuntu fedora. Aircrack-ng, reaver, sslstrip, metasploit. The fun stuff.
Click to expand...
Click to collapse
Nice, I'm sold
Repurpose a device
I would really like to get a different OS on my device or even do a GRUB bootloader kind of thing which will allow Android or another OS. I want to repurpose a tablet for my car project and I don't want to use Android.
I have done the VNC thing in the past with Ubuntu and it was horribly slow. Anything emulating on top of an OS will be less than optimal. I have used VMPlayer and VirtualBox before on a regular desktop and they seem ok. But still I'd like another OS that will be fast on boot up and ready to go in the shortest amount of time.
chris
This is very interesting. Has anyone managed to get Mer working through Linux Deploy? Having Plasma Active running like that would be pretty awesome. Other DEs aren't really optimised for touch the way Plasma Active is.
EDIT: Actually, it might be possible to get Plasma Active running via Gentoo, as they have an overlay for it. Still experimental, but then what isn't experimental at this point
GreatEmerald said:
This is very interesting. Has anyone managed to get Mer working through Linux Deploy? Having Plasma Active running like that would be pretty awesome. Other DEs aren't really optimised for touch the way Plasma Active is.
EDIT: Actually, it might be possible to get Plasma Active running via Gentoo, as they have an overlay for it. Still experimental, but then what isn't experimental at this point
Click to expand...
Click to collapse
You use a vnc app on loobback address(127.0.0.1) to connect. It is the fastest emulation I ever had running on any device. This is perfect for me if i can get a keyboard working. If you lower the resolution of the linux guest with a ui like lxde it is very easy to use it as a touch interface.
Mr_Ada said:
I would really like to get a different OS on my device or even do a GRUB bootloader kind of thing which will allow Android or another OS. I want to repurpose a tablet for my car project and I don't want to use Android.
I have done the VNC thing in the past with Ubuntu and it was horribly slow. Anything emulating on top of an OS will be less than optimal. I have used VMPlayer and VirtualBox before on a regular desktop and they seem ok. But still I'd like another OS that will be fast on boot up and ready to go in the shortest amount of time.
chris
Click to expand...
Click to collapse
Try it out on the loopback address 127.0.0.1 It is blazing fast with ui like lxde or xfce. Fastest I ever seen on a tablet/android.
Faznx92 said:
You use a vnc app on loobback address(127.0.0.1) to connect. It is the fastest emulation I ever had running on any device. This is perfect for me if i can get a keyboard working. If you lower the resolution of the linux guest with a ui like lxde it is very easy to use it as a touch interface.
Click to expand...
Click to collapse
Yea, thanks. I'll read a bit more on Linux Deploy to see how it works. And I'm very familiar with Gentoo (have three Gentoo devices here), so setting it up shouldn't be a problem. I also asked on their IRC, and they said Plasma Active should theoretically compile on Gentoo ARM, but nobody ever tested it. Sounds like a good opportunity to do just that!
Got to run Gentoo, although it required a bit of effort. Since I want Plasma Active, I didn't choose any GUI (I need to set it up manually). However, the problem is that SSH wouldn't run, either, citing that OpenRC wasn't started itself, and that I had to execute touch /run/openrc/softlevel in order to get it to start. Which is nice and all, but it's a circular dependency: to create the file, I need to log in through ssh, and to log in through ssh I need to create the file. So I ended up doing this:
Create a bash script file with that line
Upload it to the device (I put it in the downloads directory)
Do a "chmod 777 /datamedia/media/0/Download/<myscriptfilename>.sh"
In Linux Deploy:
Enable Custom mount (leave the path default)
Enable Custom startup
Set Script file to "/mnt/0/Download/<myscriptfilename>.sh"
That allowed me to create that file and start sshd correctly. So now I can log in via ssh, yay!
It makes me wonder, though – is there a support forum for Linux Deploy in English? Their main forum seems to be Russian...
GreatEmerald said:
Got to run Gentoo, although it required a bit of effort. Since I want Plasma Active, I didn't choose any GUI (I need to set it up manually). However, the problem is that SSH wouldn't run, either, citing that OpenRC wasn't started itself, and that I had to execute touch /run/openrc/softlevel in order to get it to start. Which is nice and all, but it's a circular dependency: to create the file, I need to log in through ssh, and to log in through ssh I need to create the file. So I ended up doing this:
Create a bash script file with that line
Upload it to the device (I put it in the downloads directory)
Do a "chmod 777 /datamedia/media/0/Download/<myscriptfilename>.sh"
In Linux Deploy:
Enable Custom mount (leave the path default)
Enable Custom startup
Set Script file to "/mnt/0/Download/<myscriptfilename>.sh"
That allowed me to create that file and start sshd correctly. So now I can log in via ssh, yay!
It makes me wonder, though – is there a support forum for Linux Deploy in English? Their main forum seems to be Russian...
Click to expand...
Click to collapse
Great job! It looks like the original dev was russian and their github is in russian but use google translate. Hope this helps.
Android Terminal Emulator
Faznx92 said:
Great job! It looks like the original dev was russian and their github is in russian but use google translate. Hope this helps.
Click to expand...
Click to collapse
I actually took concepts from Linux Deploy and Complete(??) Linux Installer, and built a set of scripts to do all the chroot work without needing an Android app. Since I primarily use the terminal, running everything from the shell is much easier than using an app.
Using something like Android Terminal Emulator, you do not need ssh on the android side at all. You simply su to root and run a chroot command:
chroot <linux-mnt-pt> /bin/bash -i
or
chroot <linux-mnt-pt> /bin/su <user>
or
chroot <linux-mnt-pt> /bin/login <user>
The last option requires typing a password, but since it's a login, it sets up your environment correctly. The other two inherit your Android PATH (among other things), so you have to set PATH by hand or use an rc file which sets it from scratch.
Personally, I find even LXDE much too slow for regular use over vnc. Most of my interest revolves around emacs and gcc, which both work great in Android Terminal Emulator.
-Pie
Faznx92 said:
Great job! It looks like the original dev was russian and their github is in russian but use google translate. Hope this helps.
Click to expand...
Click to collapse
Ah, thanks for pointing that out. His issue list is in English, and that's exactly what I need!
I talked to people over at #systemd to see if it would be possible to have systemd launching things in a chroot, and unfortunately it seems to be impossible for the Kindle Fire HDX 7, because its kernel is not compiled with PID namespaces that systemd requires to function, and we don't have any means to compile custom kernels as far as I know. It's too bad, but I guess I can cope with OpenRC for now.
EatingPie said:
I actually took concepts from Linux Deploy and Complete(??) Linux Installer, and built a set of scripts to do all the chroot work without needing an Android app. Since I primarily use the terminal, running everything from the shell is much easier than using an app.
Using something like Android Terminal Emulator, you do not need ssh on the android side at all. You simply su to root and run a chroot command:
Click to expand...
Click to collapse
Interesting, although I do prefer an app (it's really quite convenient). Also, as far as ssh goes, I do prefer having that running over typing things into the terminal using the touchscreen.
Overall the experience of running Gentoo on ARM is interesting. The Snapdragon 800 is really quite a beast, but rather peculiar. There are often delays before my input starts to be processed, but once it does, it runs very fast, until it goes idle again. And the speed at which it compiles things is amazing. It's also nice that I can use all of those nice optimisations (I'm using -march=native and -mfpu=neon-vfpv4, with the neon USE flag enabled; I'd like to set -mcpu to something specific, but it doesn't seem to have Snapdragon as an option).
Ubuntu os
Maybe sometime we would be able to get Ubuntu os on our tabs.
zhable said:
Maybe sometime we would be able to get Ubuntu os on our tabs.
Click to expand...
Click to collapse
You already can, although it's limited to the desktop version (which isn't any good when it comes to touchscreens). Not sure if Ubuntu Touch will be available at some point. But eventually Ubuntu will ship Unity 8, which will be more touch-friendly.
This is all great news!
GreatEmerald said:
Overall the experience of running Gentoo on ARM is interesting. The Snapdragon 800 is really quite a beast, but rather peculiar. There are often delays before my input starts to be processed, but once it does, it runs very fast, until it goes idle again. And the speed at which it compiles things is amazing. It's also nice that I can use all of those nice optimisations (I'm using -march=native and -mfpu=neon-vfpv4, with the neon USE flag enabled; I'd like to set -mcpu to something specific, but it doesn't seem to have Snapdragon as an option).
Click to expand...
Click to collapse
I don't think -march=native is doing anything there buddy.
GCC doesn't officially "support" Krait (yet), nearest I can see would be Cortex-A9 which uses the same scheduling model (albeit with 3 less pipeline stages) as a Krait. Interestingly, LLVM/Clang has just patched in a krait -mcpu target, if you can use that. To be honest you'll not be gaining too much as, IIRC, the main difference between a Krait and an A9, in compiler specific terms, is vfp4, but you're setting that with the -mfpu option anyway.
My point after spouting that gibberish is to not sweat it, lose -march, change -mcpu to cortex-a9 and you're golden. At least until a krait mcpu target for GCC...
Spec-Chum said:
I don't think -march=native is doing anything there buddy.
GCC doesn't officially "support" Krait (yet), nearest I can see would be Cortex-A9 which uses the same scheduling model (albeit with 3 less pipeline stages) as a Krait. Interestingly, LLVM/Clang has just patched in a krait -mcpu target, if you can use that. To be honest you'll not be gaining too much as, IIRC, the main difference between a Krait and an A9, in compiler specific terms, is vfp4, but you're setting that with the -mfpu option anyway.
My point after spouting that gibberish is to not sweat it, lose -march, change -mcpu to cortex-a9 and you're golden. At least until a krait mcpu target for GCC...
Click to expand...
Click to collapse
Nope, -march=native sets -march to armv7-a, which is close enough. The point in using it is that as soon as GCC gets better optimisations, -march=native will use the more optimised choice, without manual intervention.
too slow download
very slow retrieving of files from server i have a 2 mb/s line
any idea how should i retrive it offline
---------- Post added at 06:24 PM ---------- Previous post was at 06:00 PM ----------
suit urself and paste any one link in mirror url in linux depoly settings for kali and other deployments
http://http.kali.org/README.mirrorlist
remove the readme when adding the url ... press thanks nd make me feel aprreciated
Hello users,
This question may be offtopic here, but i need your kind suggestions. I am now going to reinstall an operating system in my computer.
I had Windows 10 earlier. Now I am thinking to use Linux. I have not used it before so I have a few doubts.
Will it be difficult to use and understand Linux?
Will Linux be faster than Winodows 10?
Thanks
Xubuntu is pretty fast, faster than windows on idle. About the same on heavy load
bkdroid13 said:
Will it be difficult to use and understand Linux?
Will Linux be faster than Windows 10?
Thanks
Click to expand...
Click to collapse
1) It will be different to use, difficulty depends on how easily you pick up new user interface paradigms. There is no standardized UI among distributions, so you should pick one the you think you'll enjoy. Since you'd be new to Linux, I would suggest Xubuntu, or Ubuntu-Mate, as both have familiar-enough interfaces for Windows users who have never run a Linux system before. Beware, you WILL need to relearn ideas if you're looking to use the CLI for any reason, DOS commands ARE NOT in the Linux shells, and there are several other conventions that are different. That said, you can easily get away with not using the CLI at all if you're looking for just using GUI applications.
2) This is subjective and depends on your workload. For instance, I installed Borderlands2 from Steam on both Windows and Ubuntu and noticed the game ran significantly better on Ubuntu than Windows, however other programs may not and YMMV. Honestly, it depends on what UI you pick, what you do with the system, and your system specs.
Linux OS for a new use
ShadowEO said:
1) It will be different to use, difficulty depends on how easily you pick up new user interface paradigms. There is no standardized UI among distributions, so you should pick one the you think you'll enjoy. Since you'd be new to Linux, I would suggest Xubuntu, or Ubuntu-Mate, as both have familiar-enough interfaces for Windows users who have never run a Linux system before. Beware, you WILL need to relearn ideas if you're looking to use the CLI for any reason, DOS commands ARE NOT in the Linux shells, and there are several other conventions that are different. That said, you can easily get away with not using the CLI at all if you're looking for just using GUI applications.
2) This is subjective and depends on your workload. For instance, I installed Borderlands2 from Steam on both Windows and Ubuntu and noticed the game ran significantly better on Ubuntu than Windows, however other programs may not and YMMV. Honestly, it depends on what UI you pick, what you do with the system, and your system specs.
Click to expand...
Click to collapse
Thank you so much for your reply. I understand my point. Great
MINT and UBUNTU are good for new users. But If you have never had contact at the beginning will be a small haos but after a while it becomes great. The only drawback is the drivers sometimes with this problem. I use BackTrack and somehow it will stay longer. Has very useful tools )
I had forgotten to mention that if software packaging feels complex, you may wish to look into both Flatpak and AppImage, as both are alternative software packages that operate similarly to Windows executables (I guess a better parallel would be Apple's .app folder format).
Yes, Linux is faster
I will recommend you install Linux Mint or Ubuntu. Both are beginner friendly
In the world we're living in today, more and more alternatives to mainstream services should be used. Self-preservation should be a motto. Go with Ubuntu.
Good morning,
I am looking for a cheap laptop to start testing Linux, have any recommendations
bkdroid13 said:
Will it be difficult to use and understand Linux?
Will Linux be faster than Winodows 10?
Click to expand...
Click to collapse
linux is faster than windows, uses more CPU and less RAM. Linux mint is the easiest to start with. You can even run windows programs with wine software if you don't find any linux alternative. but not all hardware manufactures support linux so you might either miss some features or the connected device might not work at all.
I recomed using Linux Mint or Ubuntu if you never used linux before
Kali Linux in Kali undercover mode. It looks exactly like Windows 10 and it's Debian based so Ubuntu commands and resources will work
I was in a similar situation about a year ago. I had played around with all sorts of Linux distros in virtual machines just to get a taste of each one. Some looked more like Windows but didn't act the same. Some looked completely foreign to me but behaved well. I kept coming back to Linux Mint. It's Ubuntu-based, contains more applications you need than Windows comes with, the apt package management system is my choice because it seems to make the most sense, it has great hardware support, and it is actively maintained. I have older hardware so I chose the Mate desktop environment. It runs great on my old hardware, and doesn't get the fan kicking up the way Windows does.
It's different than Windows, so you'll be Googling how to do this and that until you get the hang of it, but it's not that hard and it gets easier all the time. You won't regret learning how a new OS works!