Best way to Run Ubuntu I've found - Galaxy Tab 2 Themes and Apps

I like trying to run Ubuntu/Debian apps on my tablet. Having emacs/gcc etc. is very useful to me on flights, especially with a bluetooth keyboard case and mouse -- it is basically a little netbook.
I would suggest a big sdcard and overclock to get this to work.
Here's the best I have found so far.
http://sven-ola.dyndns.org/repo/debian-kit-en.html
Note the download link there is wrong:
Grab the 1.5 shar file from here:
http://sven-ola.dyndns.org/repo
I used the manual install because I wanted it on my sdcard:
Code:
mk-debian -d precise -s 2047 -i /storage/extSdCard/ubuntu.img -D 8.8.8.8
You need to do a few things to make it useful. For one thing, the permissions on /storage are such that you can't get to it as a normal user and that is annoying. I added my user to media_rw (it is already in sdcard_rw) but that wasn't enough.
Code:
adduser YOUR_USER_NAME media_rw
Also, the group file needs to be world readable
Code:
chmod 644 /etc/group
This has to be done on every reboot (as root or under sudo)
Code:
chmod 555 /storage
Also, if you install lxde, there are two issues (at least).
1) Not all the rdp clients seem to work well. Most have keyboard or font issues. The one from Ericom on the Play Store worked well for me IF you change the settings to "use key codes" -- that fixes the keyboard problems.
https://play.google.com/store/apps/details?id=com.ericom.accesstogobyericom
2) If you try to use Chromium (good luck, it runs out of memory and crashes) you need to do the following first on each boot (as root)
Code:
mkdir /dev/shm
chmod 1777 /dev/shm
If you don't do this, Chromium won't work at all.
3) Chrome is great, but I'd suggest Midora -- light weight but nice features. Seems to work well. Dillo works but isn't as full featured. Use apt-get to install either.
Unlike other solutions, this one pretty much runs the Debian/Ubuntu system "along with" the Android system so if you get the permissions right you can access all your Android files along with the ones in /home etc. It does chew up memory, so you can kind of expect to slip into Ubuntu and then you really ought to slip out before you start using your tablet "normally" (although you don't have to, you will want to). External mouse and keyboard highly recommended.
Note this is not my work at all, I just wanted to document the quirks I found setting it up for the Galaxy Tab 2.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

interesting. but it's hard for noob like me. I am waiting for stable Ubuntu Touch. thanks
Sent from my GT-P3100 using xda premium

A little update.
This has been working great other than some experiments with a native X server off the market boinked xrdp to the point that I had to reinstall.
As a ham radio operator I have some software I like to use that runs on my desktop. Opening a remote desktop to it is hard because I have 3 large monitors, and all the usual desktop trappings.
So instead, I boot Ubuntu as described in the OP. Then I log into my desktop using SSH with X forwarding:
ssh -X [email protected]
From that shell, I start my ham radio software which dutifully displays on the tablet but continues to use the sound gear on the desktop machine. See figure below.

Related

Live Mesh

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Anyone try out the new Live Mesh yet? I just read about a few days back, so don't know how "new" it is, but it's still in beta.
But, after trying it, it is f'n sweet!!!
It's a web server, similar to Live Workspace, but you can upload any file you like. If you don't know what Live Workspace is, it's a web server used to exchange, edit, and upload Office documents.
With Mesh, you can upload anything you would like from your computer, then sync your device with the MOBILE APPLICATION !
You can upload from your device as well, and check them out later on your desktop. Not to mention, any files you load up from your desktop, that are synced to your device automatically get stored to your SD Card, which is kind of a downside, but it beats main memory.
Anyways, I've found it to be pretty cool, since I can quickly sync any file of my choice, from any computer, and have it on my Touch in a few seconds without cables or e-mail. All I have to do is login and upload, and I believe it's similar to Workspace in the sense you can share the "Desktop."
Check it yourself, it's of course FREE!
www.mesh.com
I have to throw in an update here! I link my Pictures folder, where photos from my camera are stored, I took two quick pics, and after just closing the camera and opening Mesh, they were starting to sync! I forgot to mention it's syncs like Windows Live, you can set manual, auto every xx minutes, or as your local folders are updated.
Needs to be running to sync, at least for the "push" type option, don't plan on trying the auto sync at all. Sits in memory @ 951kb.
It says Mobile Coming Soon. You have it working?
?Its work, already. but you need to have the sqlce 3.1 not the 2.0, or 3.0 or 3.5. specific 3.1, something almost no one have. ..
Yu can download to instal the sql 3.1, BUT change a system library just because one software.. NOOOOO
LOL!
Go here:
http://blogs.msdn.com/livemesh/
You'll see the link to download the .cab file.
downloaded the "fixed" cab from that blog, still getting a dependency error on install.
Can't wait for this service though. Very cool.

[2011-05-01] Improved HTC-clone Swype Skin

So I got fed up with the look of Swype on top of Sense on my DZ, and the only mod I could find just didn't quite cut it (and didn't quite match the current keylayout either), so I put on my OCD hat, fired up the GIMP, and started aligning pixels.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It's a close to pixel-perfect as is possible - keys sizes are aligned exactly to the Swype stock keyboard, but are in every other way identical to HTC_IME.. even down to the jpeg noise on the background radial gradient.
The package is from cypis' mod, but with my own images, and the batch file modified to give you a chance to Ctrl+C out before adb goes blindly uninstalling swype on you even after something fails...
Currently WVGA Portrait QWERTY only, sorry - I'll probably get to doing a landscape version soon, but can't promise any other variants I'm afraid (OTOH I've got the text style in photoshop pretty much passing pixel-for-pixel like HTC_IME, so different character layouts with the same physical key setup should be something of a snap).
Goes without saying that you must be rooted with Swype installed for this to work - I can verify that it works with the latest official beta Swype on the Desire Z/G2, can't say for anything else however. Also, make sure adb.exe AND java.exe are available in the %PATH% of whatever environment the batch file is run from.
PSD sources also attached, do whatever with them long as you put a link back here. They're not the most well-formed of psds I've ever made, sorry; some keyboards have only raster type layers as I switched to Photoshop from the GIMP halfway through. You should be able to grab one of the newer keyboards (the symbolic one I think is pretty sanely-formed) with fully dynamic text and edit it pretty easily - you'll need to install the Droid Sans font though.
any change this will get updated for landscape?
Very nice skin!
I've already searched for such a skin but didnt find it.
How to install it?
When i start the Swype.bat it doesnt work.. My device runs in usb-debugging mode..
This is awesome!! I just themed my CM7 to Sense and installed the Swype beta, so this would be perfect for me! But how about us Linux users - any way we could adapt this to our OS? Or at least a manual way of editing the Swype APK? I took a look at the .bat file, and it looks like it's just replacing the image files and re-signing the apk, correct? Doesn't look like it should be too difficult, but I'm a bit worried I wouldn't do it right
how do i use this? will this work in desire hd?
This is really good, thanks.
yeah might do a landscape update over my holidays (next couple of weeks). Re: linux, the batch file should translate pretty much literally a shell script, as long as adb and java are in your path. 7za can be replaced with zip and unzip (you'll need to double check their syntax though), and %dp0 is just a batchism for $(pwd). Rmdir /S = rm -rf.
Take3r07, what happens when you run the batch file?
Akdor 1154 said:
Take3r07, what happens when you run the batch file?
Click to expand...
Click to collapse
cant really remember..
there is a new swype version out now, so i cant test it anymore.
Could you maybe update your skin for the new Swype v.3.5 ? this would be awesome!
Thank you for your good job, I take it !

[TOOL] Android Master v0.2.5

I take no credit for this, I'm just spreading the love.
Credit goes to nightshack0 of XDA
New major release! (ANDROID MASTER v0.2)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Changes:
++Completely remade program
++Completely remade and reworked better UI (User interface) for the program
++Website launched
++Checks for updates automatically and can download and install the new version
++.apk file Association, Double click an .apk anywhere and Android Master's apk tool will open to install any apk really fast and easy.
++Batch APK installer, place a lot of .apk's in a folder and install all of them with just a click
++Reworked how the program starts
++Reworked how the program handles the ADB Server
++Now you can kill or start the server double clicking the "ON"/"off" label
++Clicking the android now will only expand the window instead of starting the server or killing it
++Now checks if ADB Server is started, and disables all buttons if the ADB Server is turned off, or if there's no device connected to avoid errors.
++Added "Open file" on the Zip flasher
++Reorganized the tabs and removed unnecessary ones to merge some.
++Added Menu bar for using the program without expanding the window.
++Added links to the website, to XDA-Developers and the Donate button.
++Now uses an installer to make things easier and to associate the .apk files
++New name and new logo.
Hope you like it, he spent a week doing all of that. (He remade the program completely)
PLEASE DONATE TO HIM AND SUGGEST SOME NEW THINGS YOU WANT ADDED!!
Website: http://androidmaster.weebly.com
Where are you supposed to find the IP of the device?
Just for Windows I see but that's cool I'm going to put it on my girls computer to helP her do some stuff more easily. I wish I knew how to break down components that make up .exe's and recompile them for LINUX.that is along the lines of the types of fun stuff I'm striving to learn in my LINUX journey.
Sent from my DROID BIONIC using my gear SHIFT3R and xda premium
abuttino said:
Where are you supposed to find the IP of the device?
Click to expand...
Click to collapse
I'd like to know what ip you want too... because it definitely didn't want the LAN address of my phone.
The UI is deceptive. You don't need to click the connect to button (and I'm not sure it even works properly). Just click on the Android (like you would when you setup the phone) and it will extend the UI and open up the options. They work and they are pretty useful. I think if the guy wrote up a nice little how to I'd probably kick him a few bucks.
!!!
This is actually a phenomenal package, and works great w/ the Bionic. Thank you for posting this, didn't expect this in the dev section and glad I found it.

[APP] NookCalc

NookCalc is a basic, four function calculator designed from the ground up for the Nook Simple Touch. It is optimized for the e-ink display. I wrote this app. The top right page button acts as a dedicated clear button, in addition to the on screen clear button and clear option in the menu.
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
That looks nice, but 840 kB is way too big an .apk file for what this does.
It should be somewhere in the neighborhood of 10-20 kB.
You have included android.support.v4 and android.support.v7 when they are not used in the least.
You can delete those from your project.
Nice! It's good to see apps written for the nook.
The calculator looks nice and the e-ink optimization is great,
however, since I don't have anything to calculate just now I just did a bit of stress testing to find that:
a) there seems to be an int overflow on really large nubers, it either crashes or warps to negative.
b) I'm not sure what pressing '=' repeatedly is supposed to do (if anything at all) as it gives weird and inconsistent results.
c) it crashes on division by zero (I HAD to try that )
d) Also, to have a useful division function you really need to use floating point numbers.
It's a nice project, but needs some working on before being a useful calculator
Thanks for the feedback guys, I appreciate it. Renate NST I removed the android.support.v7 and it significantly reduced the size of the apk from 837KB to 60.4KB, a 776.6KB difference. I didn't see android.support.v4 in my project. I didn't add any support libraries myself, Android Studio seems to put the support library in new projects and there doesn't seem to be a way to make a new project without the support library.
sega dude said:
Thanks for the feedback guys, I appreciate it. Renate NST I removed the android.support.v7 and it significantly reduced the size of the apk from 837KB to 60.4KB, a 776.6KB difference. I didn't see android.support.v4 in my project. I didn't add any support libraries myself, Android Studio seems to put the support library in new projects and there doesn't seem to be a way to make a new project without the support library.
Click to expand...
Click to collapse
how do i close this program ?
Many thanks
I just rooted my nook touch and will try this app

Setting SElinux boolean may unlock Amazon tablets

Guys. Everyone I need your undivided attention please. This might be it. This may be the key we have been seeking. However a once wise man said "these aren't the keys you're looking for" A true geek knows the reference. Now serious business.
Ok I did some research. So this Boolean folder is important. In fact this may be the jem we need.
In /system/bin you have two executables getsebool and setsebool. I'm going to explain this as easy as possible.
An*SELinux boolean*is a single string (hopefully sufficiently interpretable) that changes how SELinux reacts. With*getsebool*you can get a list of booleans and their current value. Changing SELinux booleans can be done through*setsebool*(where you add the desired state of the boolean, such as*on*or*off) or*togglesebool*(which flips the current value of a boolean).
Click to expand...
Click to collapse
Let's play a little game. Unfortunately for this to do anything, you need to be root already i think.
Code:
getsebool -a
This will list any booleans set in the SElinux policy and their values (on or off). On the HD 10, there is one boolean present. At the moment, this device is the only one I have run into that has anything set in the booleans. I own about a dozen different devices (phones and tablets) all of them work and are either rooted or boot loader unlocked (only my Moto E4 isnt). Not a single one of them have anything in the booleans in this folder, except for this HD 10. It is wiped clean on every other device. HD 10 boolean:
Code:
$ su
# getsebool -a
device_unlocked --> off
Here's the fun part:
Code:
# setsebool device_unlocked on
# getsebool device_unlocked
device_unlocked --> on
However there is a problem with changing this value, even being root:
When you do this, the changed value will take effect immediately but only for the duration that the current loaded policy is active. That means, if the system reboots, you loose the changes. Or when you explicitly would reload the SELinux policy, you loose the changes. On the other hand, switching booleans this way is fast and helps you to debug problems.
Click to expand...
Click to collapse
There is a way to change this, running a simple command. However I'm certain the bin file or files have been modified and the commands removed from the policy.
Code:
setsebool -P device_unlocked on
In a normal world, the above command would make the value we set persist upon a reboot. So why alter the policy? That doesn't make sense to me. I know as an OEM you can write said policy, but why go through the massive effort if only to leave this boolean in place? Now given this potential massive discovery, what does this now mean? Did I just do what I think I did? Was this really that easy?
I was not able to find the single log entry of the event on my HD 10. However the Fire 7, even with the custom ROM by @ggow, has the same boolean and value. I did the same steps on that tablet and I was able to get the single log entry. Can we get excited and jump...or cry for joy yet? I am totally lost in this neck of the woods.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
References:
https://wiki.gentoo.org/wiki/SELinux/Tutorials/Using_SELinux_booleans
https://www.thegeekdiary.com/understanding-selinux-booleans/

Categories

Resources