New to terminal in linux mint need help with commands to install jdk7.Anyone care to assist me in this endeavor ?
Sent from my N9510 using xda app-developers app
lamike said:
New to terminal in linux mint need help with commands to install jdk7.Anyone care to assist me in this endeavor ?
Sent from my N9510 using xda app-developers app
Click to expand...
Click to collapse
You can likely use the scripts I've writen with a little modification
https://github.com/S0AndS0/Debian-Kit-Mods
Curently the scripts for java are set up for debian ARM bassed distros but if you mod the download address for your system's cpu it should work ok. There's also links to where I found the info required to install java's JDK to linux in the scripts or readme.
Does your system use the apt-get and sudo commands?
Sent from either my SPH-D700 or myTouch3Gs or M470BSA
Debian Kit Install guide for all android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
I am having problem with linux mint about permission s,and I think I mention that linux is total new for me.Wish I have started earlier.
Sent from my N9510 using Tapatalk
lamike said:
I am having problem with linux mint about permission s,and I think I mention that linux is total new for me.Wish I have started earlier.
Sent from my N9510 using Tapatalk
Click to expand...
Click to collapse
OK well if it is something like permission denied when trying to extract the source file then a "chmod" command might help. I'll see about finding some guides to the command line and post them in this post..
[UBUNTU][DEBIAN]Common Commands used in Linux
http://forum.xda-developers.com/showthread.php?t=2387695
Here is a guide for java's 64bit jdk and it's for your distro
http://community.linuxmint.com/tutorial/view/1372
Note for your system you'll need to be sure of the processor version; currently there is 32bit 64bit and arm(hf/sf); if installing on a PC then 32 or 64 and if installing on android arm hf or sf. The commands in the guide you will have to expand (hit the "tab" key to have bash auto complete along the way) but it looks like it should work.
Oh and try "sudo" or "login root" to elevate your user permissions to avoid permission denied errors
If you're new to Linux then perhaps you're new to the command line? If so I'm willing to help as I've been new myself; few two years ago I dived in deep and now have scripts that save me time to show for it.
Most command line programs such as; tar, make, man, wget, mkdir, chmod, chown, and more have help documents and manuals for how to use and these docs can be read from the command line with the following:
Code:
man <some-program>
<some-program> --help
Just replace the "<some-program>" part with tar or whatever program you want to know more about.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
Thank you very much! I am new to the command line,been using Windows seem like forever but already like linux mint and the terminal.I want to develop my own android app and download it on my phone understand that using terminal or at lease knowing how is a big + .
Sent from my N9510 using xda app-developers app
lamike said:
Thank you very much! I am new to the command line,been using Windows seem like forever but already like linux mint and the terminal.I want to develop my own android app and download it on my phone understand that using terminal or at lease knowing how is a big + .
Sent from my N9510 using xda app-developers app
Click to expand...
Click to collapse
Glad I can help know almost what you're going through with adjusting to the plethora of options/power Linux gives to the same hardware. Be sure to check out the tutorial script I wrote because it will give you a detailed crash course in command line and bash scripting (linked below)
https://github.com/S0AndS0/Debian-Kit-Mods/blob/master/Examples/findNetworking_IPs
And feel free to suggest what I should script up in the future because I plan to have more scripts to help people new to Linux get started quickly.
If you're planning on app building I can suggest the Android app "AIDE" it's free for small progects and the pro version has some nice guided tutorials too. And if building on PC; I've seen some really nice stuff from the "jMonkey" team; jMonkey can also be run on Android through duel-booting Linux but I've yet to get Android SDK on ARM Linux so jMonkey on Android is only capable of editing you basic Java projects.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
There's a app-get to that
Enviado desde mi GT-I9300 mediante Tapatalk
mannyvzla said:
There's a app-get to that
Enviado desde mi GT-I9300 mediante Tapatalk
Click to expand...
Click to collapse
Do you mean the open JDK? If so I've had some Java dependent software not able to use the apt-get('ble) versions of Java and for software that can use it; there is a speed difference that causes me to still prefer installing from source.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
No. I think it's Oracle's. As soon as I get near my computer I will post the link. This is the java I am using both for Eclipse an AS.
Enviado desde mi GT-N8013 mediante Tapatalk
---------- Post added at 07:33 PM ---------- Previous post was at 07:22 PM ----------
This is the page I used to install the JDK via apt: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html. It worked like a charm
mannyvzla said:
No. I think it's Oracle's. As soon as I get near my computer I will post the link. This is the java I am using both for Eclipse an AS.
Enviado desde mi GT-N8013 mediante Tapatalk
---------- Post added at 07:33 PM ---------- Previous post was at 07:22 PM ----------
This is the page I used to install the JDK via apt: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html. It worked like a charm
Click to expand...
Click to collapse
Ah indeed; I remember running across this when it was Java 7u21, thanks for reposting because it looks like it's up to date with current Java 7u51. Though when I last tried it I received download errors (bad cookie header in wget command) but since then I and likely they too have fixed this bug with the new cookie header.
One question; do you know if this repo supports arm processors? If so I'll have to do some rewriting of my own script to include their repo as an option.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
Apparently they do support installs in ARM http://www.webupd8.org/2013/12/oracle-java-ppa-updated-with-arm-support.html
Enviado desde mi GT-N8013 mediante Tapatalk
If you have a hard time installing JDK,
Use goormIDE.
You can easily and simply build a Java development environment with cloudIDE service that provides Docker-based containers.
Related
Ive got a 4g upgraded 32gb Xoom. i saw that it is possible to run linux on the tablet but i had a few questions. i know i have to be rooted (i have a droid x that i rooted) but once i do that, is it still possible to run the android o.s. also? can i choose which to boot in? also how reliable is it on a tablet and is it worth it? Thanks!
You have vastly misunderstood the Linux on Android concept.
You download the Linux image to your tablet. While Android is running, you execute a script that then "boots" the Linux image. You can then access it via terminal or VNC. You aren't natively running Linux.
Sent from my MB860 using xda premium
d3athsd00r said:
You have vastly misunderstood the Linux on Android concept.
You download the Linux image to your tablet. While Android is running, you execute a script that then "boots" the Linux image. You can then access it via terminal or VNC. You aren't natively running Linux.
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
Other devices do although, xoom has just been left out for some reason
Sent from my ADR6425LVW using Tapatalk
Hi,
Im also interested in linux on xoom, opensuse for example ...
i ve seen backtrack running on xoom but like it was mentioned b4 its only a image or accessed via VNC but whats the point running backtrack linux if network card is not supported....
Any way if you ve heard of any linux concept since just let us know
Surely it must be possible if the advent vega can handle it!
http://android.modaco.com/topic/332887-ubuntu-linux-1104-natty-on-vega-update-134/
this has already been done. try search....
http://forum.xda-developers.com/showthread.php?t=1138661
try Linux Installer from the google play store. its a very nice app and free, allows you to setup linux in a chrooted environment. i also have tried the paid ubuntu installer app but not as many options. there is a way to run it outside of android as well, but im not planning on ever doing this, not at least until ubuntu makes a touch tablet input feature
Im having a hell of a time figuring out how to configure git in Ubuntu 11.10. I am very new to the Linux environment and was wondering if someone could help me get my foot in the door and at least get the my work environment set up properly and the proper source code downloaded. Im really only interested in modifying the kernel so if you can help me set up and understand whats going on Id be greatly appreciative.
Thanks...
oh dude dont even get me started on linux ive literally just spent the past 2hrs trying to get flash to work on kubuntu i got so pissed i uninstalled and am switching back to ubu as we speak lol. ubuntu should have an irc help channel i know xubuntu did when i was playing around with it.
i just looked and there channel is #ubuntu
huzza!!!!!!!!!!!!!!!!! freakin a i finally got flash to work properly on kde shell i completly uninsulated kubuntu installed ubuntu downloaded flash from adobe not from the software center then put it in mozilla/ plugins folder and reinstalled kde on ubuntus terminal and all my settings stook. sorry for the rambling but yall have no idea of how stoked i am im probably going to make kde my default desktop now lol
I'm just having trouble getting ADB to recognize my phone. Also it seems Samsung didn't include a config file for the kernel to add things like overclocking etc.. Unless its hidden somewhere else?
Sent from my SCH-I400 using XDA
jaizero said:
I'm just having trouble getting ADB to recognize my phone. Also it seems Samsung didn't include a config file for the kernel to add things like overclocking etc.. Unless its hidden somewhere else?
Sent from my SCH-I400 using XDA
Click to expand...
Click to collapse
U building from source?
Sent from my SCH-I400 using xda premium
I have the source just not too sure how to utilize it in Ubuntu, like I said I'm learning as I go. I tried doing an adb pull from my phone for the config file in windows and I get the error "file or directory does not exist" however it did work when I tried it with my Acer A500...
Is there a config.gz included in the source somewhere? I've been reading about something called defconfig but there are numerous references to that within the source.
If I can find that file I feel like building our own kernel would be infinitely easier... Maybe I'm too optimistic..
i actually recocmend installing linux mint first a lot more stuff works out of the box with it but if you like unity just search for ubuntu in the software manager and u can install it over mint.
Just as an FYI, you are likely not going to be able to use Ubuntu 11.10 to build the Continuum kernel. You'll need to use either 10.04 (LTS) or 10.10 to get the proper build tools. Also, getting git to work should be as simple as installing it. I believe it is under git-core or similar. You should have a look at the page for setting up a build environment for AOSP on what to install and such, as it is a pretty good starting point.
Minty Fresh
I tried installing Mint over Unity with no success. All of the other desktop environments work, but not Mint. I wonders why.
u need to install the mint live cd first then one youve got everything update install ubuntu u can search for it in the package manage or get it in terminal
i believe the command is sudo apt-get ubuntu-desktop
Bierce22 said:
u need to install the mint live cd first then one youve got everything update install ubuntu u can search for it in the package manage or get it in terminal
i believe the command is sudo apt-get ubuntu-desktop
Click to expand...
Click to collapse
Will this erase windows like you too? Jk
Sent from my SCH-I400 using xda premium
10chr
Bierce22 said:
10chr
Click to expand...
Click to collapse
Cheer up chuck. I was just pwaying
Sent from my SCH-I400 using xda premium
Found this today. Came out today lol
http://rootzwiki.com/_/articles/the...or-setting-up-adb-and-transferring-files-r592
Sent from my SCH-I400 using xda premium
Anyone know what defconfig the Continuum uses? There are about 100 different defconfigs within the kernel source. Does the Continuum have a codename or something?
P.S. everything seems to be working fine in Ubuntu 11.10.
jaizero said:
Anyone know what defconfig the Continuum uses? There are about 100 different defconfigs within the kernel source. Does the Continuum have a codename or something?
P.S. everything seems to be working fine in Ubuntu 11.10.
Click to expand...
Click to collapse
Not sure., you might check the fascinate forums. I'd bet its the same.
Sent from my SCH-I400 using Tapatalk 2
jaizero said:
Anyone know what defconfig the Continuum uses? There are about 100 different defconfigs within the kernel source. Does the Continuum have a codename or something?
P.S. everything seems to be working fine in Ubuntu 11.10.
Click to expand...
Click to collapse
It should be listed in the readme with the source, but it should be something like "garnett_defconfig"
Hey guys I know I have posted some other similar programs, but hopefully this will raise the bar on how people use Android Debug Bridge.
So To start off, this program will not root any phone, but can easily break a phone if used improperly.
Secondly, If you need to ask what a button in the program THEN DO NOT USE IT!
I will only answer questions if they involve drivers or programming bugs, NOT for something like "What is Sync?" because If you do not know, then you do not need to know now.
SEE LINKS BELOW FOR MORE RECENT UPDATES!
This program has some built in ADB functions:
Rebooting- Recovery/Bootloader/Fastboot.
Sync from a folder (If you don't know or have to ask do not use!)
Use logcat
Start up a shell instance (With root if possible.)
Remount (Needs root also)
Flash(Recovery/Boot.img)
Root SOME devices(Using Bin4ry Script Credit to him)
Auto Download Root script
adb shell built in now
cmd shell built in
automatic updates
push files
install apks
get misc system information
Download ODIN for Samsung devices
Detect HTC device correctly for once lol
Application Manager
ADB Learning Center (Under Construction but not beta)
4.0-4.3 Backup Manager (Using adb backup NOT Nandroid)
0Nandroid intergration
Build.PROP veiwer (Soon to be editor too!)
Free device ram and kill background process
MORE TO COME!
___________________________________________________________________
Also a BIG thing for this program is the ability to install ADB and Fastboot into Windows as a command in Command Prompt.
This would allow one to use adb as a normal command from CMD.
E.G "C:\Users\Lab\>adb shell"
Instead of having to CD to C:\android\and all that.
Download the program: Version 5.0.2.26:New Download link[/COLOR]
As far as the newest huge feature in ADBGUI goes, the Application Manager is to be considered Pre-beta and should be used with extreme caution.
Requirements for the Application Manager:
> You need root
> It only works with 3rd Party (Downloaded from google play or other source)
> It does not work with all devices and has some major bugs.
Come on guys give some feed back!
Well enjoy!
Have questions or maybe want to report an issue?
Check out my Discussions Forum here otherwise you can post here at XDA Forums
About ClickOnce:
The core principle of ClickOnce is to ease the deployment of Windows applications. In addition, ClickOnce aims to solve three other problems with conventional deployment models: the difficulty in updating a deployed application, the impact of an application on the user's computer, and the need for administrator permissions to install applications.
ClickOnce-deployed applications are considered 'low impact', in that they are installed per-user, not per-machine. No administrator privileges are required to install one of these applications. Each ClickOnce application is isolated from the other. This means one ClickOnce application is not able to 'break' another. ClickOnce employs Code Access Security (CAS) to ensure that system functions cannot be called by a ClickOnce application from the web, ensuring the security of data and the client system in general.
Some other thinks about ClickOnce:
My ClickOnce application is personally signed, so windows will tell you the publisher is "Unknown" but that is OK. It will install just fine.
[UPDATE Nov. 21st 2013]
Hey guys!!
Just wanted to share some news for all you linux users!
I will be starting a linux conversion for ADBGUI to be fully compatible with Ubuntu/Debian/Arch Linux Distros!
Details: Click Here!
Looks great! Will try as quickly as possible.
Sent from my U20i using xda app-developers app
Is this ADB GUI project open source?
I think this is a really cool idea. Might also help get more users into ADB and willing to learn what things do. (sometimes it's scary when thinking of command line)
Shifted from the bottom of the rabbit hole
thronnos said:
Is this ADB GUI project open source?
I think this is a really cool idea. Might also help get more users into ADB and willing to learn what things do. (sometimes it's scary when thinking of command line)
Shifted from the bottom of the rabbit hole
Click to expand...
Click to collapse
I will be posting the source on github but it is written in VB.NET. I am also happy to answer questions about the source code.
Required program for the source is
visual studio 2012.
Sent from my SCH-R530U using xda premium
Just updated to version 2
Read about it at urgero.org/node/5
Sent from my SCH-R530U using xda premium
Hey guys!!
Just fixed a bug in ADBGUI about a file not found.
Download Fix
Can also be found Here
Fixed bug with version 2.1:
Would still try to download, even if you selected no.
and added Android Device Discovery
currently working on adding an option to browse sd card and to get device information and battery levels.
Tonight around 11pm central time I will be uploading the source code for this project.
Sent from my SCH-R530U using xda premium
UPDATE:
Check out the new updates at http://urgero.org/node/5!!
Added rooting scripts!!
With downloader (No need to hunt down the scripts!!)
Just updated to 2.4!
added:
Automatic updates!!
Over 400 dpwnloads and no one has anything to comment about?
Sent from my SCH-R530U using xda premium
sandix said:
Over 400 dpwnloads and no one has anything to comment about?
Sent from my SCH-R530U using xda premium
Click to expand...
Click to collapse
Sorry, bro, I thought the same after releasing my first few works... Sadly, that how it seems to be.
To the tool: I think its awesome, haven't had any problems so far. Don't give up!
Sent from my U20i using xda app-developers app
Thank you!
Does anyone have any feature requests?
Sent from my SCH-R530U using xda premium
Just Updated to V2.6:
Added F-Droid for all you Open Source fans!
Also fixed a bug where applications would not install correctly for some devices(Still does not fix all of them)
Download: http://urgero.org/node/5
If you already have 2.4 or higher, just launch the program as administrator and it will prompt you to update, otherwise download 2.4 aat the link above to upgrade to 2.6!
sandix said:
Thank you!
Does anyone have any feature requests?
Sent from my SCH-R530U using xda premium
Click to expand...
Click to collapse
Can you add a file manager to see from your tool all the folders and modify them and files
Inviato dal mio GT-I9070 con Tapatalk 2
I am currently in the process of doing so yes.
Sent from my SCH-R530U using xda premium
Does not work on mine. Dont know why.
it says: "is not valid s Win32."
Please help.
i have winxp 32 bit.
Make sure you run as administrator and that all the files are extracted from the archive. Also make sure they are all in the same folder.
If you could post a screenshot that would be great help
Sent from my SCH-R530U using xda premium
mr_itou said:
Does not work on mine. Dont know why.
it says: "is not valid s Win32."
Please help.
i have winxp 32 bit.
Click to expand...
Click to collapse
I for got to add:
You NEED .NET Framework 4.5, download from microsoft here
This is a simple script written in Python for Android devices. I'm just learning Python but I hope this simple demonstration will inspire others to learn how to program. This has some XML mixed in with it.
This website will give more information on running Python with Android:
http://code.google.com/p/android-scripting/
Here is the link for the script:
http://db.tt/xbZwabUk
Here are some screenshots of the program in action but remember the screen brightness was turned all the way to 100% (or 255) by the script. The shot showing the console was initially a mistake I came across by typing a wrong value for the color but I liked it so it stayed. Now I'm working on a calculator program.
What did you use to compile the script
Into an app?
Sent from my SGH-T999 using xda premium
Ninosmaxima said:
What did you use to compile the script
Into an app?
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
After installing the app you have sl4a/scripts folder on sdcard.
Sorry let me rephrase...
OK so I make websites and I occasionally script.
How did you turn that script into an app, from a txt file to apk. is there a guide you followed?
Sent from my SGH-T999 using xda premium
I haven't converted this script yet for an .apk file. There is an easy way to convert it but it would require the user to install the Python 4 Android app in addition to the .apk of the script. There is also a way to compile the interpreter and script in one .apk for easy distribution.
This site will provide more info and Google also has a wealth of knowledge
http://code.google.com/p/android-scripting/wiki/SharingScripts#Scripts_as_APKs
I tried to install an application for a raspberry pi on my nexus 7. I extracted it, but when I tried to run it, it failed with:
No such file or directory
Any solutions?
Sounds like it is meant to be run on the pi. Not the Nexus 7.
Sent from my Nexus 7 using xda premium
you can't just arbitrarily run any application. it needs to be an android app.
Pirateghost said:
you can't just arbitrarily run any application. it needs to be an android app.
Click to expand...
Click to collapse
What he said, and usually the system says that when the file is not marked as an executable.
Even if the binary was designed to run on ARM-based processors, it needs to be compiled for that operating system.
For example you cannot take a console binary made for Mac OSX (identifier Mach-O), and run it on a FreeBSD system even though OSX was originally based on FreeBSD4 (much the same as how Android was originally based on linux variations, and is still technically linux, but technically not).
I mean unless someone wants to write some kind of binary compatibility setup, much like how I can run *some* linux binaries on FreeBSD using the Linux Binary Compatibility port. But out of the box, not going to happen unless it was written for Android.
PS: Easier Analogy... trying to run a windows EXE on Android.
So how do I install the proper libraries? My device has the stock rom and it is rooted.
You learn how to code and port it.
Sent from my Nexus 7 using xda premium
monster860 said:
So how do I install the proper libraries? My device has the stock rom and it is rooted.
Click to expand...
Click to collapse
Wtf? You should read up on how applications work. Installing libraries is the least of your concerns. If the application had not been compiled to run on android it won't run. Period. Its not a difficult concept to comprehend.
Sent from my Nexus 7 using Tapatalk HD
monster860 said:
So how do I install the proper libraries? My device has the stock rom and it is rooted.
Click to expand...
Click to collapse
Doesn't work that way, differnet binary code won't run on a system it's not compiled for, choice is to recode I yourself or hope someone has a battery sucking emulator for android.
Sent from my Nexus 7 using XDA Premium HD app