yashsingh1/xdaforums huggingface dataset:
[General Topics] S0AndS0:
As Promissed...UPDATES

Completed a full sync with XDA posts for this guide. Check it out if you've not yet, added a little to section 3, more to sections in 7, moved things around a little for easier reading for mobile devices that are being taxed hard by duel-booting, and generally been working on the readability across the guide just to name a few of the changes.

Still working hard on getting some odd compatibilities sorted out with Debian and Java runtime and I'll be adding content to the google doc form of this guide though out the week on that topic.

Still working hard on gathering all the relevant packages and info on cloud computing but I'm forging my own path here so things are challenging.

I'll be kicking around and online though out the day so hit me up if there's something that needs answering or an issue with the guide sync process.

Next XDA sync to the guide I'll tentatively set for before Thursday of next week (05232013) this means that it could be as early as Saturday but will most assuredly be before the date ...unless something strange happens that is.

Edit: Added new content to split document section "7:4 Methods of installing or unpacking" these steps will soon lead you to installing Java for ARM from source files and run Java programs on your Android device.

Edit 05162013 ---

Almost done with installing java and linking it into the system manuely, see section 7:4* in the split document. Should be done and working on maptools and jmonkey by the end of tomorrow after I'm done with work. At this point though any reader should be able to follow along and start testing Java on their own devices, the directions should be useable for nearly any task involving installing from source instead of apt-get, however, please be inteligent and read the readme(s) that come with what ever you're trying to install.
[General Topics] S0AndS0:
NEW Content on Google Docs

Hello all readers again

I've been working like mad on getting new mini-guides written and debugged for us (new content to sections; 7:1:2-2.2, 7:4-4, 7:4-4.1, 7:4-4.3, 7:4:4.1) these at this point can be found on the split document on google doc's ((I'm going to have to have a better name for it than 'split document' I think, subjection welcome)) these new guides cover; connecting from your computer to your android device running the 'deb x' command on the same wifi network, unpacking files with command line commands, actually lots of folder and directory interaction commands for the command line have been added to those sections, installing files from source and best of all adding commands to your bash commands so that the installed package can be run easily.

Hope this all helps in your endeavors, what ever they may be, and as always comment if there's something amiss or you run into a problem.

Updates to XDA posts I'll try to get done today if I can...

Edit 05182013 - updates to XDA posts still pending. But I've been working all over the split guide, polishing here and there, adding links to specific places, adding intros to subsections so readers know where we're going, and adding content to section 7...
[General Topics] S0AndS0:
More Updates

So It may seem as though I'm talking to myself at this point but this serves as a bump every 2 to 3 days instead of the maximum allowed for someone to bump their own thread, which at last I knew was once a day...

That being said we'll move on...

Updates and re-sync to all Guide related posts have been updated here, I've retouched parts all over sense the last time I did this so look in the update section to check out the things worth mentioning.
​

On other notes that I've been brain storming; Google has a PayPal developer tip jar equivalent for people to donate to people and things, I'll be checking it out as someone that I help may have more money than time (where's I've the inverse) and want to say thanks that way, figures I don't know what I'm worth to strangers unless they've a way of saying something.

As always comments and suggestions are welcome as I'm here to help.
​

​

EDIT

05192013- Added some links to section 4. The commands in section 7 with red text in only one spot cannot be trusted and the commands right now are suspect right now, they'll be updated as I figure out what's wrong and this staitment will be struck though. Java suport with develpment tools and install instructions not far off now...in unrelated news, added new sections 1:5:* & 4:4:*, these right now are place holders for what is to come in the future, I'll be focusted on the Java thing that's a bit weird on my system and wrapping up the install from sorce as well, just bouncing round the other places we'll go.
[General Topics] p42:
In section 1 you've got a long line of apt command separated by ;'s - it might be a good idea to use && instead (albeit that might take a little longer depending on the keyboard); that way if one earlier breaks it won't scroll off with the output of another load of confused messages.

Maybe some notes on armel v armhf as well?

Dave
[General Topics] S0AndS0:
Was wondering what the '&&' thing did; thank you, I'll experiment with it and likely update it to the guide.

Ah yes that arm suffix thing... its actually a fuzzy thing to me. I've come to understand the hard float verses soft float as a deference in how instructions are handled within the processor. I've noticed a preference that leans towards the hard float side of the camp amongst the developer communities that I haunt. I myself prefer to try both and I've attached a link to an article that may help in understanding some of it http://www.memetic.org/raspbian-benchmarking-armel-vs-armhf/

There's plenty more out there and I'll be looking more up on it soon as the flavors of java now come in hard and soft float varieties and I'll post up my leanings as always.

Thanks for the feed back

In unrelated news I've updated my earlier post to include a snapshot of the update section from the google doc form of this guide.

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Or

https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
[General Topics] p42:
No problem; The ArmHardFloatPort page off the wiki at debian.org might be another appropriate link to add.

(I'd love to put the URL in there, but I've not posted enough on xda for it let me to use URLs :(

Unfortunately it's a rather complex situation; because not only do the armhf builds use the FP stuff differently,

they also seem to need certain kernel features. On my Nook ST, although the hardware is modern enough to

do armhf, the kernel supplied is too old to run either the Debian or Ubuntu armhf trees; although I'm not 100% sure why yet.

Dave
[General Topics] S0AndS0:
Indeed wiki is a fantastic resource for things like this, I'll see what I can do about adding more links in my previous response, in the mean time I added a section for you and others with those questions to section 5:10 of the guide on Google drive; updates to postings for the guide here on XDA is scheduled to happen this Wednesday.

I've run into compatibility wins and fails do to the arm differences between my devices that could be do to the armhf vs armel so I'll be looking into it and updating both here and on Google as I educate myself.

Furthermore I'll be adding guides for booting Linux on Android to section 1 so if anyone can't use Debian Kit on their device; there will eventually be two other well supported methods. And to further increase support across all devices; I'm getting into writing scripts that run on the Android side from the command line, this will one day include my own version of a Linux repo and repo for downloading packages (much like Debian Kit but including as much of the software packages that I reference in the guide as I'm legally allowed to host or link to. For now you can find an example script that can be set to run at boot, that will start the Debian Kit RDP server and SSH server, this means that if you trust the script and set it up properly; every time you restart your phone or tablet, Linux will automatically start up again. Currently it works but pops up a message as well, I'll be adding an auto shutdown script that runs right before device reboot or shutdown so corruption of the Linux install is avoided and adding a way to make the process not pop up pop ups, this will enable us to send reboot commands over the network and still reconnect without physical access to the device once it's set up correctly (a full mini-guide will be written for this too) hopefully that'll tickle some readers.

Oh and as far as links or making additions. If you've the time and inisheative; there is the publicly editable form of this guide on google docs. It's set up so anyone can add and edit, just comment the main guide if you do so I know I need to re-sync, speaking of re-syncing the public version; its not been done in a wile but will likely happen Wednesday as well. I'm not pushing work on your shoulders, just giving you an outlet/options for making life easier for yourself and others ;)

And back in the arm thing; I'll also be looking at interpreters that could make the differences between trees beigeable but slow. Could help with some of the issues between hardware differences.

Today though I've a full work shift for making money so updates to Google will be sporadic but present.

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Or

https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
[General Topics] BULLDOZE:
Awesome awesome guide very informative thanks!:silly:
[General Topics] S0AndS0:
Welcome most welcome

Your Welcome :)

I do try, still lots for me to fill in and add and researching but it'll get done some day

Stick around maybe if you get it up and running; maybe post the specs of the device's you're using to run it because I'll be opening up another section or sub section to compile a sported device's list.

TO ALL READERS-

There be some large updates happening on the Google doc version of this guide that will cause the title to change once more to include another way of running Linux on our Android devices. Been working from 7am my time to 4pm my time on the guide so check it out there if you want a preview of what will be here on XDA tomorrow.

Edited the time as I've not stopped working yet, functionally completed another section in Google docs (section 7:4:4:2 Installing jMonkey) this I can confirm as a working method of running jMonkey natively on Android with Debian Kit and Debian OS one note though; you'll want to use 'apt-get' to install the 'openjdk' family of packages before following this mini guide unless you've figured out how to install javaJDK another way.
[General Topics] S0AndS0:
As Promissed...UPDATES

Updates to forum postings here for XDA completed for guide on 05212013 9:00pm. Some of the posts containing section 8 dumps where sacrificed but I'm sure you'll find them on the google drive still in all their glory, no other section was sacrificed just split between postings to give me some breathing room on making more words fit here. Some sections are still under construction that are new but the bulk of the updates include functionally complete information and steps.

Edit 05232013- cleaned up and synced up all guides on Google docs, update to XDA forum posts set for Thursday of this upcoming week 05302013 I'll be working to have some fancy and possibly exciting content to share.

Edit 05242013- been doing some documentation and research related to section 7:1:5 and updating that section with my findings on the google "split" doc there are some warnings and things to be aware of, and I may have to take it out if it gets the wrong kind of attention... but the info is there and links to the experts that are already working on making things similar, so check it out and if ya want to work with me on it feel free to contact me and we may develop something powerful for the public to use ;)
[General Topics] oceandweller007:
Hi,

I'm having an issue with the installation. I went through the installation instructions (sven-ola.dyndns.org/repo/debian). When I got to step 8, following the autorun steps, I typed "ovpn" and then at the beginning of step 9, I get the following 3 errors when entering "deb" at the command line as root:

ln: /etc/mtab: Read-only file system

/data/local/deb/bootdeb: line 575: can't create /etc/resolv.conf: Read-only file system

/data/local/deb/bootdeb: exec: line 575: /bin/bash: not found

There is already an /etc/resolv.conf but I think the script is trying to append to it. I'm not sure what to do about the script not finding bash. Looking at "mount", rootfs is mounted to / and is read-only, which makes sense to me in order to protect the OS. So I'm not sure if I should be looking for a way to mount rootfs as read-write or if I need to edit the /data/local/deb/bootdeb script (I know very little about scripting).

My phone information:

No previous versions of Debian Kit

T-Mobile Samsung S3

OTA Jellybean 4.1.1 (rooted)

Thanks in advance
[General Topics] S0AndS0:
Try running

"/data/local/deb/deb"

My HTC device has similar protections in place and the above command should work at that stage of the guide. Think that step is in all guides encase of your system not allowing system links. It's normal, the Deb command is just a short cut to that file and path, in fact if you look within the guides (any of them for Debian Kit) there will be directions with "PATH" being a command you can use to set temporally links in bash.

I'll be adding links and better directions soon. Right now I'm camping and just drove a bit to get phone service and food and answer your question :p which is a bonus:)

Sent from either my SPH-D700 or myTouch3Gs

Debian Kit Install guide for all android devices that I'm writing:

http://xdaforums.com/showthread.php?t=2240397

Or

https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
[General Topics] p42:
I think I've just figured out the magic for armhf.

The thing is that armhf is compiled for newer CPUs than armel, and besides using the FP hardware differently, it also

requires the TLS (Thread local storage) register (CP15.r13) to be setup - otherwise it segs in ld.so; that requires

a kernel that knows to do that, and some of the older (Android 2.x 2.3.29) kernels don't.

The gotcha as described:

http://arowboat.wordpress.com/2011/08/10/android-linux-arm-and-tls-register-emulation/

is that just enabling kernel TLS register support breaks old Android 2.x userland and Android's init seg faults - not good.

That page links to a kernel patch which seems to do the trick, so that the kernel supports both the old

and new TLS mechanism at the same time.

Dave (with an armhf chroot on his Nook).
[General Topics] oceandweller007:
What are you doing checking the forum on your vacation!? :laugh: Have fun and tell us how much fun you had when you get back. I love camping

Using the full path gave me the same results. Also I don't think I have bash on my version of Android. I can't find it anywhere. Do you think I need to somehow install bash as well as manually make the changes to the files that the script alters and then delete those lines from the script?
[General Topics] oceandweller007:
I'm glad you had fun on your trip!

I'll give a shot at trying to figure out what's going on and see if I can come up with a solution. As I mentioned, I'm not familiar with Android or scripting so it's going to take me a while. I thought I knew how the files were laid out, but I just found out that rootfs is really a ramfs :laugh: Needless to say, I've got some learning to do. I already have a couple of different versions of Linux installed on my phone, but they're all running in VM's, which is why I wanted to get Debian Kit working to improve performance since my understanding is that it runs along side Android. I know we're not going to see the "Ubuntu on Android" software anytime soon since Canonical will probably delay the release for a while after they release their Ubuntu phones.

I look forward to your super script, but I think in order for it to work with all phones, these read-only filesystem problems needs to be figured out. Let us know when you've got something working and I'd be happy to test it on my phone.
[General Topics] kirtesh.k:
very informative thanks
[General Topics] oceandweller007:
Thank you for all the information. I just checked if my kernel supports loop devices and it does (looked at /proc/config.gz). You might want to put this check in your super script to check a user's kernel.

I'll look into some of the other info you posted, as well as a few ideas I have.
[General Topics] Sunight:
Thx

Hi all, i'm french and my english is bad , but my first post it's to thx a lot of the owner of this thread and more to the part to make an ISO with my choice of size. :)

The screen of my SGS2 has been broken and i use it only with Debian + XRDP / VNCserver (auto start on boot of the phone) this exploit gave a second life to my SGS2, exemple like a Squid proxy server, wireshark , monitoring network, ETC ....,

When we could make a complete installation in our devices ??
[General Topics] p42:
Ah kernel rebuilds are where the fun is :) It depends very much on your device though - some you can do kernel rebuilds and they happily boot from another device and you can't brick it (like my Nook) some you have to be more careful with.

Anyway, on anything with a more modern Android I suspect you don't need to do the hack I had to apply.
[General Topics] superdave42:
Link repo server is down

Hello, I downloaded Debian Kit formthe play store and was ready to setup my Nexus-10, but the entire website is down for a DNS error, sven-ola.dyndns org is there a mirror that I can download these files from.

I'm a complete Linux Noob so I wanted to follow the guide exactly.

does anyone have a copy of the Debian kit download image ?

I appreciate any help.

I'm trying to setup a stable linux environment on my Nexus-10 so that I cun run the Bitcraze ground station to fly the nano quadcopter ( CrazyFlie) from Bitcraze.se

Thank you

Dave
[General Topics] superdave42:
Right on !! Thanks for looking into that, It's great that the dev's site is back online, going to download everything when I get home from work.

The quadcopter project is neat, I'm just getting tired of busting out my ROG 17.3" laptop to use whenever I want to fly it. I use Ubuntu via Virtual Box on my win-7 machine to run the python projects. It will be very cool to see if my Galaxy Nexus or Nexus-10 can run it with minimal latency
[General Topics] S0AndS0:
:highfive: Hey no problem I'm glad that you had posted because now I know a little more about restoring/modifying how Linux installs with Debian Kit and how much we all need that site to be up; as it's the only place to find the developers source code. Good plan, I'll be doing much the same when I've got more bandwidth to make a full backup; though if you're already going though the trouble to download perhaps you'll have the time to put up a mirror? (Not a requirement just a request because data we care about should be in more than one place and on more than one server :D)

Oh you've my full agreement (and much of my attention now) on quadcopters being neat. Hopefully you'll be able to set it up without to much trouble; sounds like you've already got the process down for communicating with though PC :victory: the latency though with RDP could make things a bit difficult if the software being use "requires" a GUI, however, if the code is able to run and connect (ie PS3 controller to Android/Linux device to Quadcopter) is able to run without the use of the GUI; then latency should not be an issue. This is mainly dew to the enormousness of wasted processor cycles dealing with rendering the "pictures" that make up the desktop and windows... Mainly what this boils down to is; in my experience, if it runs on a terminal window than the operation being run is very comparable to having a PC, if it runs only in the GUI than operation can seem slower then a PC.

I've got the day off (from normal work) and the next 2 as well so I'll be looking into the information that I can find about achieving your goals for the next few hours (probably more than a few hours :)) so I can speak/write in the same "dialect" (because these different dev teams really do have their own language) and be of more help to you.

Some links that I've found to be cool and related somewhat:

https://www.youtube.com/watch?v=fcradVE9uts&feature=youtube_gdata_player
[General Topics] superdave42:
Your energy is awesome !! if you like Quads, I designed the Karbonic-X a couple years ago. I'm a multicopter fanatic :)
[General Topics] S0AndS0:
:cool: Glad that you enjoy it.

Indeed I do like them, it's why I jumped on board your bandwagon so quickly.

hmm, designer :fingers-crossed: well by chance have you seen the stuff called Graphene? Here is what I purpose:

Run parillel lines of the Graphene in cross layers ie

\\\\\ = layer 1

///// = layer 2

\\\\\ and so on..

between which a non-conductive ridged drying adhesive, think "2 ton epoxy" that doesn't let things go between layers or stripes

Then skin your next model with shaped "fenders" of the hardened skin, like the fenders that are on motorcycles or now on prosthetic limbs

Treat this skin like a "super compositor" and wire it up with the correct circuitry to allow a "trickle" to power the Quad (from what I've seen on this it's just a matter of having some resistors in there so you don't fry the brains and motors out)

Then to put a chary on top of this slice of "Epic Pie" we then put the induction charging mod that I ran across thanks to your questions ;)

Then mod the induction charging hack so that it'll "dump" as much "juice" into the graphene supercapacitor skin quickly but without it being to much as to over heat the system

Provided that the Quad is skinned or even built out of the stuff entirely it is conceivable to have a half hour of flight time with a better payload or maneuverability or better and have a charge time that would seem like seconds in comparison.

now if your down on trying to make something like this check out this how to guide that someone is making on youtube with a light scribe dvd writer and some other supplies that really aren't that much in cost.

Fanatics are what I'm looking for, as you can likely gather, I'm a bit of a fanatic of many things myself :D
[General Topics] superdave42:
That is cool idea for sure, innovative use of style and energy storage,

I just botched the unpacking of deb onto t0 my nexus 10, and ran out of time for tonight. will try again tomorrow, I had the font size messed up in connect bot to pick the install type.