Related
At first I had a really hard time accepting pof's claim that the HTC-Shift could be run under Linux and indeed my first attempts at this turned into a blinding nightmare of installs & reinstalls and utter frustration.
Because I tried to install my Laptop's SuSE Linux on the box, which won't even boot below version 11.0.
And even so it does install OK with 11.0 SuSE and I had sound and graphic running, none of the other functions could be enabled no matter what.
Last not least I have to say that other SuSE distros either have a hard time booting right on the Shift (DSL, GParted distro) w/o safety kernel parameters set or get problems with the graphics HW (e.g. Knoppix).
I made those initial mistakes because dear old pof forgot to make clear that the drivers he collected should only run on (K/X)Ubuntu.
Because as I found out through my own research, specially the SD6868 driver was specifically developed by & for the Ubuntu project.
Many of the other distros didn't work right even after installation.
They either stalled during boot time or got the partition table all messed up.
Specially the boot via GRUB install (for dual boot with WinXP) turned out to be a pain in the ass with anything but Ubuntu.
Only Ubuntu booted right away (still had to disable edd, apm and acpi on the installation, but with it all went through fine the first time around).
So please dear pof update your Website to point out that only Ubuntu (or Kubuntu/Xubuntu) should be used on the Shift.
With that, pof's driver collection works out of the box.
But the Touchscreen needs calibration and the Touchpad's sensitivity is originally set way to low.
Once those two settings are corrected it all works fine (albeit the touchscreen is still a bit clunky, its good enough to move windows around, fill out input forms and highlight text).
The WiFi connection also worked right away and was even faster than under Windoze - BUT I can not connect to a standard WEP128 bit encrypted network.
Only unencrypted connections seem to work at this time.
Battery and sensor connections also work, as does the USB port.
I can also switch resolutions - but no longer with the screen button which now only tilts the desktops, I have to use the KDE screen resolution application for that.
The font rendering has way(!!) improved over Vista. I finally can read small texts even at higher resolution.
And overall responsiveness is almost to fast for me
No more coffee breaks between tasks and boot-up time is down to under 3 minutes!
Multimedia also works at blazing speeds now. I can watch large movies at real time and even do MultiMedia editing.
Best of all, that nasty Vista bug with the missing/dropping SD cards is gone.
So all in all it was a steep learning curve (as always /w Linux) but now I finally got a useful machine which is a real asset to my productivity!
pharao said:
So please dear pof update your Website to point out that only Ubuntu (or Kubuntu/Xubuntu) should be used on the Shift.
Click to expand...
Click to collapse
In my website it clearly states that the binary driver packages I published is for Ubuntu based distros only, because that's what I use on the shift. I also explain the "long way" to compile stuff etc, in case you want to run them in any other distro, because you can run any linux flavour on the shift as long as you have experience compiling your own kernel, and building some packages from source.
pof said:
In my website it clearly states that the binary driver packages I published is for Ubuntu based distros only, because that's what I use on the shift. I also explain the "long way" to compile stuff etc, in case you want to run them in any other distro, because you can run any linux flavour on the shift as long as you have experience compiling your own kernel, and building some packages from source.
Click to expand...
Click to collapse
But that's exactly it pof ... it just won't compile on most other systems.
On SuSE you'll have double trouble because first the darn install DVD don't boot with anything below 11.0 but then the kernel for 11.0 starts with release x.26.
That's one version number to high for your package and even so I tried to still compile it in there, the modules won't load.
Second, the GUIs of these distros are just to separate amongst the different packages.
DSL boots up all right, but has trouble installing itself on the Hard Drive, much more so with the Desktop setting and any attempt at switching resolution.
Knoppix works sometimes and then again it doesn't - was never able to figure out what that was all about.
And the SuSE 11.0 distro doesn't give any error messages when I call up the embeddec controller program - heck the damn thing even allows me to click all around. But nothing happens, not with any of them.
And don't even try to get me started on trying to install Debian packages under SuSE :-(
I'm not sure how much you are into Linux pof, but messing around with the kernel is the last thing you want to do unless you're sure its gonna work.
And I've found that K/X/Ubuntu is the only distro that works out of the box, even during the install phase.
So I think just stating "well the packages are for Debian/Ubuntu systems but you can compile them on other distros, too" is not quite sufficient - as those other distros did cost me a week of my life (time I'd like to have back ;-)
Fact is that Ubuntu doesn't just work on the Shift right away, but its also the fastest distro amongst the ones I've listed.
So for all these reasons Ubuntu should get a big highlight with the sidenote "all other distros at your own risk as your mileage will(!) vary"
Only encrypted WiFi still isn't working...
PS: The folks at SuSE seem to be contemplating their own SD6868 driver for their next 11.x Alpha release - found a note to that regard on a developer blog.
And External mouse doesn't work
pof said:
In my website it clearly states that the binary driver packages I published is for Ubuntu based distros only, because that's what I use on the shift. I also explain the "long way" to compile stuff etc, in case you want to run them in any other distro, because you can run any linux flavour on the shift as long as you have experience compiling your own kernel, and building some packages from source.
Click to expand...
Click to collapse
Dear Pof,
I used your custm drivers for ubuntu,Screen touch working great but external mouse has stopped wiorking.Is there anything wrong I have done ?
Thanks
I've been checking out the stuff on the web about Linux on the shift, found these, pretty interesting. This ubuntu even detects the motion rolling from left to right, and he makes the cursor move around the screen by tilting the unit. Also has csreen rotation working:
http://mobilitysite.com/2008/07/ubuntu-in-a-htc-shift/
another one:
http://pof.eslack.org/blog/2008/04/14/linux-on-htc-shift/
"Once Ubuntu is installed, you get a menu at boot time which lets you choose which operating system to boot, Vista or Ubuntu. Surprisingly most of the hardware is auto-detected by ubuntu, and almost everything works out of the box:
* Audio is working, mute and volume control works using the Fn keys.
* SD card reader is working.
* Adjusting the screen backlight works with the proper Fn keys.
* Webcam is working (you can test it with gstreamer-properties).
* CPU frequency scaling works by default too on the Intel Stealy 800Mhz CPU, you can monitor it by enabling the cpufreq gnome pannel.
* ACPI is working, you can get the CPU temperature using the sensors-applet.
* Screen resolution works at 800×480. I have not tried higher resolutions yet.
* Bluetooth is working.
However there are a few things that require some extra work in order to have them working properly."
http://forum.xda-developers.com/showthread.php?t=381915
its pof old work! it works only with 8.04 but once updated the system, most pof works will not work.
Hi
I installed Ubuntu last night as I can't get any other version of Windows (except the memory and space hogging Vista) to install at the moment.
I was very impressed with how much DID work without any fiddling and now I shall spend another few evenings reading exactly how to make the rest of it work.
I'm hoping to be able to then get rid of Vista (but not off the X partition JUST IN CASE!) and regain some space, but I think that I need Windows to run some software for my OU degree course... rather important given this was my excuse for buying a SHIFT (so I'd always be able to work on my degree regardless of where I was (or so my other half thinks!)).
However I know NOTHING about Linux and am somewhat daunted by it but also looking forward to getting a more "hands on" with the Shift and some more computing experience under my belt.
I am rather excited by the concept of actually being able to use things like the g-sensor. Why would HTC put it in then give you nothing to make it work under Vista? Kinda sums up their decision-process when creating the Shift, if you ask me...
Ubuntu on an external USB hard disk also works as described. Wireless doesn't work; this is noted elsewhere in this thread: the 8686 drivers need to be found, compiled, and installed; any detailed pointers would be much appreciated. 640x480 resolution (only) is a major drawback, as control panels come up with essential buttons off screen, and there doesn't seem to be any trick to move them on screen. It boots much faster and it is much more responsive than VISTA ... I would make Ubuntu permanent on the Shift platform if I could get wireless and the resolution control working.
cnbabbage said:
I would make Ubuntu permanent on the Shift platform if I could get wireless and the resolution control working.
Click to expand...
Click to collapse
If you go to POF's website (link in the second link in the first message of this thread I think) there is an installer packet that should make WIFI work although being a Linux novice, it doesn't for me! It seems to do what it's meant to do as I can see stuff happening in the terminal window but nothing actually happens or changes after it's done...
I agree that the resolution is a BIG problem at 800 x 640 or whatever it is under Ubuntu 8.04 and hope someone has a solution soon PLEASE!
for Resolution, you can go and reconfig your Xserver yourself. Never used to get it to work on ubuntu but on gentoo no problem at all.
All other pof stuff will work with smal adjustments !! just read the right threads.
Neutron83 said:
for Resolution, you can go and reconfig your Xserver yourself. Never used to get it to work on ubuntu but on gentoo no problem at all.
All other pof stuff will work with smal adjustments !! just read the right threads.
Click to expand...
Click to collapse
I think I did well to get as far as I did as a Noob actually (and a girl one at that!). I have no problem with people saying "search the forum" to people who ask simple questions like "how do I access SnapVue" but when someone's clearly done their research and is still struggling, it's very frustrating. I've just spent nearly ALL weekend on this forum (and google) and got as far as making Ubuntu 8.10 work as I wanted except Wifi and screen resolution, given no one else has mentioned any of these necessities working on 8.10 as far as I can remember and the fact I know nothing about Linux!! Proof in point; your first comment about the Xserver - I don't even know what that is (though I've probably been fiddling in it)
When I have the time I'll start a new thread with all my wonderful findings so it's all in one place - but I have to earn a living and feed the family so it's not high on my agenda this week. I'm due some time off work, so will aim to get it done then (like painting the kitchen and making curtains for my daughter's room...!)
I can upload older ubuntu 8.04 someplace. With this version all pofs configs and hacks work normally.
Hello together!
I'm also working on getting a current Linux up and running on the Shift (Arch Linux with kernel 2.6.28) and found these problems/"solutions":
- Display: I believe that's a combined hard- and software problem. The display doesn't report its correct capabilities and the driver doesn't handle interpolated resolutions that well (I modified the driver for this). I already mailed this to the xorg mailing list, but I didn't get an answer (perhaps I missed some information like driver version)
- Wifi: The old Marvell driver (from their website) isn't compatible with 2.6.28 anymore, but there is a new one in the kernel itself (called libertas), that only needs the firmware in /lib/firmware (check out this git repo if you need to). But at least in my case the chip is still not working, cause the SD controller is buggy and unknown. But I'm talking with some Devs who are willing to help.
- Touchscreen: You need this module to glue htcpen and the xserver together. Then it works like in Pof's manual.
All in all: I believe in having a fully working Linux on the Shift somewhen
Greetings,
Sven
Oaky guys:
Xserver = your grafical environment
Yea u're right the display doesnt send useable stuff to the Soft but you can hard overwrite the combinations of wich ModeLines are used, its a bit more advanced linux stuff but as far as you dont try to learn you wont get it .... i acctually use a 1024 x 600 is possible and i use it !
I Can give my x config to you here if you like to ! (When i am home
sorry for my roughness but i am not a linux pro just advanced PC user and i was able to do such stuff also !!
Greets
Appreciated!
If you could post your config when you have time I would be grateful (as would others!)
@Neutron83:
What version of the intel driver are you using? I'm using 2.4.1 (and newer) and I wasn't able to override the setting no matter what I did. But please share your config. I'd like to give it a chance.
Greeting,
Sven
please, can someone confirm me that ubuntu can do 1024x600 on htc shift?
i would like to buy one of them but i'm not sure about 1024x600 under linux.
thanks a lot
someone posted that xorg_conf can be modified in someway to get bigger resolution. no one have posted working config for this yet. If someone could post it, it would be great.
Shift's screen is 800x480 pixels (http://www.htc.com/europe/faqs.aspx?p_id=60&cat=0&id=45486.) Bundled software (~\htc\resolution.exe and ~\htc\ResolutioLauncher.exe) switches between native 800x480 and emulated 1024x600.
Any progress on a linux driver for the Marvell 8686 wifi card?
Hi @All,
maybe somewhere experts of you can build a script again for Ubuntu 9 users, the most of them I think can work with Linux, but the most are Windows users (like me) and are overstrained with modding aditional Hardware into Ubuntu ;-)
How's everyone going with Ubuntu on the Shift? Samstables?
I'm downloading and installing the current wubi to put ubuntu on with vista as a dual boot to see how much works out of the box and how much I can get working mucking around (low level linux user here )
hmm... my shift is a dustcover at the moment...
pls give me image iso ubuntu on a works drivers!!
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
Is it possible to develop a Slax NAND build for HD2?
Everything is possible, but someone needs to do it and this often depends on general or personal interest.. And as we see there isn't much interest even in Ubuntu.. Sadly..
I interested on this...
What's that? Linux? If yes, it should more easier to port it to the HD2...
WAIT! Where is the source code?
hopkinskong said:
I interested on this...
What's that? Linux? If yes, it should more easier to port it to the HD2...
WAIT! Where is the source code?
Click to expand...
Click to collapse
It's a tiny linux @ slax.org and
yehoo said:
It's a tiny linux @ slax.org and
Click to expand...
Click to collapse
and? and what?
hopkinskong said:
and? and what?
Click to expand...
Click to collapse
Oh God the suspense!!!
Looks like a 'normal' Linux distro..
We already have Ubuntu if you want KDE.
Well its small enough to be flashed to NAND.
yeah this would actually be interestingly enough to port its only 200 MBs not bad if only someone started getting interested into building it, does sound like quite a treat
I'd use it. Wish I could build. D:
I interested on this and i want to compile it, just can't find the source...
If i can find the source, i also don't know where to start... This is my first porting!
PS: Only SD Version lol, i don't like flashing HSPL on my phone
I don't know why people seem to think there is no interest in Ubuntu on the HD2 anymore, people have just switched to using the nand version of android so without the magldr version being released people can't use ubuntu on their phones, I personally have been waiting for the last few months for the magldr version to launch but it seems like the project is dead, some users have reported getting it working but no one seems willing to explain in detail how they did it, or upload a working version them selves. Back to the topic, I would love to have slax as well.
great idea
this Slax is actually the best idea i've seen so far, when it comes to linux distro's on our HD2. now i can see why ubuntu is popular for desktops and laptops, and it's nice that it comes with all that bloatware so you can just run it right out of the box. in fact i currently run linux mint on my laptop and desktop at home which is very similar to ubuntu. i enjoy it a lot.
however, when it comes to our phones we dont necessarily need all that extra stuff hogging space, processor etc. if we could get Slax going, then we could choose those programs we want through the repository and who doesn't like to customize?
above all, this would also increase performance, as we've all come to learn that when it comes to computing, less programs = better. if i was in charge of the whole operation, i would suspend all linux projects right now and focus all elements on the Slax project. get this running and then branch from it.
2 big selling points...
1. size, Ubuntu 3+ gigs - Slax 200MB
2. portability. Slax is designed to be a 'pocket operating system' as it says on it's home page.
hope this gets going +1 for bringing it to attention.
Slax - your pocket operating system
I have recently uploaded guides to running Ubuntu, Debian etc at good speed under Nandroid. Check the Ubuntu Dev Forum.
Great, a big bump first
Ok, i just tried, Slackware worked on HD2 via MAGLDR(I didn't get WM6.5, so i didn't test on HaRET)
I have boot into runlevel 3(multiuser mode, hardware btn work)
but when i switch to runlevel 4, i can't start my GDM/KDE,XDE, and i have searched halfday on the web i can't find any solution...
I tried GDM for i486, it returned:
Code:
gdm-binary:cannot execute binary file
And i can't find any GDM for ARM... Hmm Yes, i find a GDM for arm, but it is debian...
So any solution?
Things need to be do more research:
Make GUI back using GDM/KDE/XDE
touchscreen?
3G?
Wifi?
I can't continue if i can't solve the GDM problem!
btw, i know slackware would very fast it was only ~200 MB, it would be faster if i put this on NAND, but how?
have you tried grabing the source for the GDM from wither the backtrack or ubuntu repos? with the source alone, you should be able to compile it into SLAX (if the lack of a custom kernel will let you though, ive been having that problem frequently with the BT im working on.)
z3nful said:
have you tried grabing the source for the GDM from wither the backtrack or ubuntu repos? with the source alone, you should be able to compile it into SLAX (if the lack of a custom kernel will let you though, ive been having that problem frequently with the BT im working on.)
Click to expand...
Click to collapse
Will it be great just grab this?
http://git.gnome.org/browse/gdm/
Thanks
I was thinking the easyist way to get it is to boot up bt or Ubuntu, go to synaptic, and find the source in there. I thougt I saw it in bt, but I can't check, all my batteries are dead lol
Sent from my HD2 Pocket Laptop
z3nful said:
I was thinking the easyist way to get it is to boot up bt or Ubuntu, go to synaptic, and find the source in there. I thougt I saw it in bt, but I can't check, all my batteries are dead lol
Sent from my HD2 Pocket Laptop
Click to expand...
Click to collapse
I just clone the git, then i can't continue, i received this error:
Code:
[email protected]:~/Desktop/HD2Slackware/gdm/gdm$ ./autogen.sh
No such schema 'org.gnome.power-manager'
No such schema 'org.gnome.settings-daemon.plugins.media-keys'
**Error**: Script `./data/make-dconf-override-db.sh' failed
But i have installed Power Manager already
And because i can't find gdm-source/dev in the package manager, so i think the HD2 Ubuntu will have a same result...
So... What should i do?
Thanks
Update:
I just grabbed a tar.gz from their site and it already contains "configure" file, so i don't need to do autogen.sh
And now its the problem, how to cross compile that stuff?
make <-- No error, but where is the product?
make ARCH=arm CROSS_COMPILE=/path-of-toolchain <--- the result is same as running "make", i think it igroned my cross compile var lol
I felt sleepy, see your reply tomorrow... (Its 4:20 AM lol)
I got no idea, I've mainly just worked with debian/Ubuntu :/ I clouldnt find the right sources either
Sent from my HD2 Pocket Laptop
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