[MOD/ROM] PowerDroid - Xoom General

Hi there,
Before a time i took the idea to run ubuntu in a chroot env under android and begun with a script running around in the net.
http://forum.xda-developers.com/showthread.php?t=987740
It's nice, it gives many possibilities, but hell... it s***s.
In my eyes ubuntu in chroot is a workaround to make our sweet little powerless android... just more powerful. But for sure, i would like to have in android:
System V Runlevel
APT
Many liitle tools I'm common from my PC... not their busybox version
The ability to switch between Androids OpenGL ES Interface and a XServer
Simply the freedom to choose, the freedom to do everything I want.
I'm happy that android bases on linux, but until now it is not really what it is meant to be a linux.
In the next days I'll see whats needed to realize the first two points. If there want and can help me someone, you are welcome.
regards
Ralph

Related

Possibility of running ubuntu on the g1?

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

Which flavor of linux

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

So many question, so little time.

Hello all,
I am new to the Android scene and I wanted to find out if there are any good tutorials on app/rom development, what are the programming languages used, etc... I know learning from scratch is probably a long and bumpy road, but it is something I am interested in. I have already rooted and flashed my phone, good times that was. Thank you all for your help.
Th3Cap3
What's your existing programming experience? You could do worse than check out the anddev forums. App development is principally in Java though you can write parts of apps in C or even assembler.
My existing programming consist of very very very basic python, and some web stuff like HTML and CSS, I would basically have to learn how to program the ones you have mentioned from scratch, I have books for most of those though. I will go check out those forums and see what I can dig up Thanks for the info.
I bookmarked that page thank you, I just got a hold of their Eclipse software and all of their beginner tutorials I can't wait to dive into this stuff.
Me too. I know C, but only have a passing acquaintance with Java & Linux; Android I know even less about, not having encountered it till getting my Hero in February. I'm working my way through Thinking in Java (Eckel) to be followed by Professional Android 2 Application Development (Meier).
Even if your grasp of Python is basic it's still a start - you don't have to struggle again with fundamental procedural programming concepts like conditional execution, program flow control & so forth. Plus Python is an OOP language, aiui (I don't know Python) so you have a head start there too
I've installed Java, Eclipse & Android's SDK on this Windows box, but I'm thinking of dual booting Ubuntu as some things just work better in Linux, especially if one wants to cross compile ROMs. Aiui Cygwin, which I already use, can be a little problematic & when one is likely to be asking for help at times, it's useful to be using a similar set up to most devs.
I have been thinking about dual booting again, I just havent had to time to partition my drive and install some sort of linux release, UBuntu is the one I am most familiar with, which isnt very, but its a start.
I am going through those video tutorials from anddev.org right now, it seems to be similar to Python in the way the coding is done, I am excited.
I have also downloaded the Eclipse program, but I have the pulsar version, it seems to be geared more towards mobile development and I have gotten the Android toolkit installed and I have had the Android SDK from when I rooted my Hero (Which is awesome, running the newest Damage Control) good times.
I think I may have a java book on PDF somewhere as well, I will have to go look.
Atm I can't make up my mind between dual boot & Virtual Box, or maybe both, to see if I can wean myself off m$
I have been thinking about the dual boot option a lot since you mentioned it, not sure what to do, I may wait till this quarters class is over so that if something goes missing. it Sony be a big deal
Sent from my HERO200 using the XDA mobile application powered by Tapatalk

Arm Linux OS's with Linux Deploy

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

Question Linux OS for a new user

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!

Categories

Resources