[Q] terminal emulator - Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin

FIRST OF PLEASE EXPLAIN ME THAT WHAT IS TERMINAL EMULATOR WHICH IS PREINSTALLED IN CYANOGENMOD WHEN I FLASHED IT??
AND PLEASE EXPLAIN ME THAT HOW IT IS USEFUL FOR ME ??
AND HOW CAN OPERATE IT AND FOR WHAT PURPOSE IT IS USED??

Its a simply an app that directly handles and interacts with the device via specific set of codes...its useful and handy if you know few commands...
U can delete a file..create 1....create user..and these examples are short then what actual powerful tool it is...simply type reboot and it will reboot...its just an example...its like a window in which u type commands and code will be interpreted and executed.... U can see more on Google about its codes ...
Hope i helped
developers are like gods

Please don't write with caps lock.
Terminal Emulator is like command line in Windows (cmd.exe) or terminal in most Linux distros.
Some common Linux commands can be used on Terminal Emulator because Android is technically based on Linux kernel.

naufalhadyan said:
Please don't write with caps lock.
Terminal Emulator is like command line in Windows (cmd.exe) or terminal in most Linux distros.
Some common Linux commands can be used on Terminal Emulator because Android is technically based on Linux kernel.
Click to expand...
Click to collapse
Yes...and that's English conversion of what i said in latin above ...
developers are like gods

raghavsharmaxda said:
Yes...and that's English conversion of what i said in latin above ...
developers are like gods
Click to expand...
Click to collapse
lol....:laugh:

Related

[Q] Making roms

what i must know for makin my own roms?
Where to start!!! There is so much to know, i think if you are interested in this you should get googling and searching the forums, here isn't a bad place to start http://forum.xda-developers.com/forumdisplay.php?f=611. You can easily modify the ringtones and apps in a pre-built rom by unzipping the androidinstall.tar and deleting the apks you don't use from /system/app/ and ringtones you don't want from /media/ and re-zipping using 7zip but i get the feeling you want to do more then that. Get searching and hopefully see some of your work on the forums sometime!!!
Nees i linux? or i can do it under Windows?
Michga said:
Nees i linux? or i can do it under Windows?
Click to expand...
Click to collapse
Linux is very handy for compiling from git repositories etc... and it is also easy to set up the eclipse IDE for android developing in linux. People also seem to have more sucess with setting up ADB in linux which is very handy when developing. That being said the android kitchens will also run in windows and 7zip is for windows when it comes to creating the final tar installer so it's certainly not impossible. I think you will find most of the developers will have used linux for one thing or another. You can always run it in a virtual machine using virtualbox from within windows.
working ADB on linux (Ubuntu or Suse) with Kaiser?
Must I know Java for developing??
i dont using Virtualbox, but VMWare..
Michga said:
working ADB on linux (Ubuntu or Suse) with Kaiser?
Must I know Java for developing??
i dont using Virtualbox, but VMWare..
Click to expand...
Click to collapse
VMWare is fine, Virtualbox is just an opensource alternative. ADB works fine on ubuntu with Kaiser, i'm guessing it works on Suse too but i don't use it. Look here for more information : http://forum.xda-developers.com/showthread.php?t=502010. If you want to develop apps then you need to know java, a lot of the source code (i.e. libs and the kernel) are written in C.
so its bad for me.. when im 16 year old and i dont know Java and C i cant developing it.. but thanks for advice
At 16 you have a lot of time to learn, start now, I regret not taking the opportunity to learn coding when I was younger, do it, and do it soon

pascal / c++ compiler for xperia x1

It would be sweet to have both of them ('cuz the qwerty keyboard and the large display). With a compiler i could be set on debug mode while i'd be waiting for the bus.
If you need a pascal compiler. Take a look at larazus project.
It's possible to cross compile to ARM
i tried lazarus project but without any progress.
nigh7ang3l said:
i tried lazarus project but without any progress.
Click to expand...
Click to collapse
DId you install the cross compiler package?
no, i didn't install anything. could u guide me ?
nigh7ang3l said:
no, i didn't install anything. could u guide me ?
Click to expand...
Click to collapse
How can you say that you tried larazus if you did not install it?
well .. wich part of it ? there r a lot of files in it.
For pascal i use pocket dos and old borland pascal for dos. It run great. For c++ i don't know how to do this
i didn't think about that. can you upload the files please?
try this one
(i cant post links....yet)
google it "smorgasbordet" and "Pelles C"
"Pelles C is a complete development kit for Windows and Windows Mobile. It contains among other things an optimizing C compiler, a macro assembler, a linker, a resource compiler, a message compiler, a make utility and install builders for both Windows and Windows Mobile. "
thanks mate, i apreciate. but speaking of pascal compiler?

[Q] Java Emulator For T-Mobile G2?

Guys As we know we can run java apps/games using java emulator in our device, but i am not able to find one yet, if you give me link or name of any good and populator emulator? i also found one in this forum but thats in htc legend section (Java Emulator for running Java Apps)...but not sure it will work with g2 or not...
Thanks in Advance

[APP] Linux Deploy

Smooth debian linux with and without GUI.
I am not linked in any way to this App or its developer. But I have been searching for an out of the box linux that works on the SGS3. Out of the several I tried this was the only functioning one,
called Linux Deploy (playstore link here).
Its installs a variety of debian distros by loop method and then chrooting in VNC (or SSH). ( i use bVNC)
- may sound complicated but the app does it all . just select what you want to try and how big you want the image file and where you want to place it (internal or external SD). default settings are fine for most except if Gnome and KDE will need increase image to 1.5Gb otherwise fails)
It also gives a variety of GUI, I tried XFCE and KDE
It runs on top of Android so you can still call and receive messages etc.
The only thing I would suggest is that you unmount the loop before killing app or rebooting android. I think it will remain running in memory even if the app is killed.
Linux Deploy 1.2.7
The new Linux Deploy version, programs for automation of installation process and start of GNU/Linux of distribution kits on devices with the Android platform is available. Application creates an image of a disk on a flash card, mounts it and sets there the selected distribution kit of GNU/Linux. Also distribution kit installation directly on the card section is supported.
Applications from new Linux-system are launched in a chroot-surrounding parallely with standard operation of the Android platform. Installation of a distribution kit is carried out on a network from official mirrors on the Internet. For operation to application privileges of the superuser (ROOT) are required. Access to Linux-system is carried out through SSH, VNC or X Window System. The code of the utility is available under the license GPLv3, ready assemblies are placed in the directory Google Play.
Characteristics:
Supported OS: Debian, Ubuntu;
Assembly under architecture of armel and armhf;
Installation type: loop-file, SD card;
Supported file system: ext2, ext4;
Management interface: SSH, VNC, X;
Possibility of use of surroundings of a desktop: XTerm, LXDE, Xfce, GNOME, Unity, KDE;
Supported language: Russian, English.
Main changes in Linux Deploy 1.2.7:
X Window System support (GUI start via the X-server);
Automatic configuration of DNS;
Support of a surrounding of a desktop of Unity;
The error of start of session of GNOME in Ubuntu is corrected.
Is on GitHub, 4PDA, PlayMarket! (can't post links)
play . google . com/store/apps/details?id=ru.meefik.linuxdeploy
github . com/meefik/linuxdeploy
4pda . ru/forum/index.php?showtopic=378043
is this something like ubuntu for linux where the vnc connection(although local) becomes the bottleneck?
exge said:
is this something like ubuntu for linux where the vnc connection(although local) becomes the bottleneck?
Click to expand...
Click to collapse
not, it is ubuntu on your device
Sound
Is it possible to get the sound working this way?
linux deploy
hi can i use it on a note2
Very nicely done.
This app works really great!
At the moment I am using "Ubuntu precise" with KDE. Ist works quite well. What do you use ?
I just installed Fedora 18 with Gnome on my Nexus 10 using this app.
I am having trouble to mount the USB flash drive to it ( using an OTG usb adapter)
I don;t know enough about linux to mount the USB drive
when I plug in the drive in android the path is
/storage/sdcard0/usbStorage
This application is awesome. Everything works perfectly. Well, not everything, but I guess that is chroot's fault. Anyway, can I somehow make digitizer work? I am successfully controlling my phone through x2x, although it would be merrier if I could use my phone's digitizer for input. I'd be grateful for any kind of help.
P.S. superdave42, try custom mounting that path in Linux Deploy's settings.
linux deploy to samsung galaxy tab 2 P5100
I have the Samsung Galaxy Tab 2 P5100BUDLL1
Kernel 3.0.31-1121627
version Build jz054k.p5100BUDMD1
i have installed Linux Deploy by following the steps I was able to install Kali
I proceeded to install kali-full
but 'I still have problems with postgresql 9.1
and the wifi
wireshark with no problem only with airmon-ng does not recognize the wifi
and tells me to install 'iw-3.10.tar.bz2
I downloaded the 'iw-3.10.tar.bz2
I tried to install it in every way possible but nothing some advice
thanks to all
sorry I'm wrong the page post
It's okay. You are posting in the right thread as there's no official thread for this application in the Applications section, or at least I am not aware of it. Anyway, as far as my knowledge reaches, the reason why you can't mess with WiFi in a chrooted Linux installation is mainly because it is running in a chroot jail (feel free to correct me if I am wrong). In order to make Kali Linux (or any other Linux distribution installed through this application) able to manage WiFi state, I think you need to do some mounts that I'm not aware of at the moment, unfortunately.
EDIT: Try typing this command line (credit to Robertozzz for this post, check out the rest of it too) either from adb shell with superuser permissions or by connection to the SSH client run by Linux Deploy:
Code:
mount -o bind /dev /data/local/mnt/dev
Tapatalk seriously needs some text formatting, otherwise I need to type BBCode myself... and an option to preview.
hello nice to see someone using this beautiful app as well! there should be an official thread for this..
I manage to use both vnc uaing bvnc as well and framebuffer method.. vnc got that slight lag especially when scrolling image dense content on chromium, but framebuffer is buttery smooth!
I'm thinking of upgrading this GTN 8000 (I got the same processor as you mate exynos 4 quad 1,4ghz 2gb ram) to something with snapdragon 600 or even better 800.
anyone here with snapdragon 600 got experience with Linux Deploy? how much boost might I get from those beast? :cyclops:
thanks
Android 4.3 Supported
Just an FYI for anyone using this app. It does work in Android 4.3 with Debian. Not sure if it XVNC or Framebuffer work (download of Gnome failed), but I was able to get a chroot and shell to Debian. Looks like the developer himself hosts the downloads for the supported distros (the "MIRROR" variable in prefs), and I'm not totally thrilled about that... Nothing personal, I just like to be careful.
But on that note, the code is Open Source, and available at:
https://github.com/meefik/linuxdeploy
You don't actually need the github download. All of the real work is done with a shell script(s). After installing the app, you can find the workhorse script linuxdeploy in "/data/local/linux/bin" and this handles almost everything. Some pretty nifty code in there, a couple of cool recursion tricks I might use later.
If you're handy with the command line, you can forego the UI after initial setup/distro download.
Code:
<android> % su -
<android> # export MNT_TARGET=/data/local/linux/mnt
<android> # cd /data/local/linux
...To see the settings file
<android> # cat etc/deply.conf
.... To start the distro you already downloaded (Debian)
<android> # bin/linuxdeploy start
... To get into the now-running distro (this can be done from multiple windows in Android Terminal!)
<android> # bin/linuxdeploy shell
.... If the prompt ain't enough, test it out (hostname isn't standard on Android)
debian # hostname
localhost
...
Now, I totally hate that it downloads everything piecemeal after selecting a distro, but it may be that I just have the settings wrong. Not all distros worked for me. I got failures on finding "apt-get" when installing Ubuntu -- probably easy to fix, but I didn't look into it because I was new to chroot. I notice that there are updates in the github from just 3 days ago, so it's actively supported.
I liked his competitor Complete Linux Installer better in Android 4.2, because it's super newb friendly and explains every single step very clearly, and it worked the first time I used it. Unfortunately it failed on my Nexus 7 (2013) / Android 4.3, so I moved to Linux Deploy. Not regretting the change because I've learned a lot, but I hope to see both options on Android 4.3 soon.
-Pie
I'm having difficulties installing it on a Galaxy S4 I9500. Here's what I get as an output: /data/local/linux/bin/linuxdeploy: line 1411: dd: Permission denied I tried changing the size of the image, but that didn't help either. For what it's worth, I'm running a stock ROM as well as CWM. Also, I read somewhere that Busybox is required, so that's already installed. Could it be because I'm trying to install it on my external SD card, and not my internal memory?
Kali Linux working with "Linux Deploy" app on S4 i9505
I've found this interesting post about Kali Linux working with "Linux Deploy" app on S4 i9505
http://forum.xda-developers.com/showthread.php?t=2400638
Another suggestion I would like to make you is to consider some alternative remote session that would speed up the interface like for example:
- xrdp (much faster than vnc)
- teamviewer or Splashtop for easier access even from another computer/phone in another network. Splashtop video performance and real-time interface is really impressive
With Splashtop you can just have your own Linux PC and connect to it anytime. You could avoid to to install ARM Linux on your mobile...
[
QUOTE=delstam;44843172]I'm having difficulties installing it on a Galaxy S4 I9500. Here's what I get as an output: /data/local/linux/bin/linuxdeploy: line 1411: dd: Permission denied I tried changing the size of the image, but that didn't help either. For what it's worth, I'm running a stock ROM as well as CWM. Also, I read somewhere that Busybox is required, so that's already installed. Could it be because I'm trying to install it on my external SD card, and not my internal memory?[/QUOTE]
First of all, awesome app! Takes a lot of the steps out of getting a desktop OS working on our portable computers....
I am asking this here because I dont know where else I can ask it. So if there is a support/discussion forum specifically for the app somewhere my apologies for posting here.
Is there any way to do an install from ISO image? Kali is giving me a "failed getting release" error at the moment no matter how I put the path in (cross checked it on the site, but welcome to suggestions if anyone elses is working).
Thanks in advance.
heavylildude said:
hello nice to see someone using this beautiful app as well! there should be an official thread for this..
I manage to use both vnc uaing bvnc as well and framebuffer method.. vnc got that slight lag especially when scrolling image dense content on chromium, but framebuffer is buttery smooth!
I'm thinking of upgrading this GTN 8000 (I got the same processor as you mate exynos 4 quad 1,4ghz 2gb ram) to something with snapdragon 600 or even better 800.
anyone here with snapdragon 600 got experience with Linux Deploy? how much boost might I get from those beast? :cyclops:
thanks
Click to expand...
Click to collapse
I cant figure out how to get ssh and or vnc client connected to the linux deploy app... can you help me please?
Move Linux Deploy to MicrSD
Hi guys,
i would like to move the linux deploy application to microSD card, i have a GT-i9505, With root privilege, and foldermount installed, but i don't find the installation path of this application.
Someone can help me please ?
Bye
Cristian
SonneKonig said:
I cant figure out how to get ssh and or vnc client connected to the linux deploy app... can you help me please?
Click to expand...
Click to collapse
Hello have you tried using changeme as password?

Linux - capabilities

Hey Gemini-owners,
I am looking to find a suitable device for WLAN engineers, and this PDA seems like the ideal candidate.
Before I recommend this device to my bosses, I need to make one thing sure though, and for that, I need your help.
When running GNU/Linux, can this device's WLAN nic be set to monitor mode?
Could someone please try this out for me? I don't have the device myself, but I'll be happy to help if needed.
Thanks in advance.
Bart.sch said:
Hey Gemini-owners,
I am looking to find a suitable device for WLAN engineers, and this PDA seems like the ideal candidate.
Before I recommend this device to my bosses, I need to make one thing sure though, and for that, I need your help.
When running GNU/Linux, can this device's WLAN nic be set to monitor mode?
Could someone please try this out for me? I don't have the device myself, but I'll be happy to help if needed.
Thanks in advance.
Click to expand...
Click to collapse
I can try it out if you know the debian cmds to set it that way and change it back ? or you might try looking or asking in this forum https://www.oesf.org
bled82 said:
I can try it out if you know the debian cmds to set it that way and change it back ? or you might try looking or asking in this forum https://www.oesf.org
Click to expand...
Click to collapse
Hey Bled82,
Great to get a response so soon!
I'll list the commands here below:
( These commands assume you have sudo rights on the device )
$sudo apt install aircrack-ng ==> I know, it sounds a bit shady, but that's the name of the software suite, nothing I can change about that. :-/
$sudo airmon-ng ==> use this command to see the list of devices airmon-ng can detect. Your wi-fi card should show up in the form of wlan0 or something similar.
$sudo airmon-ng start wlan0
And that's all to it, if all of the above give no errors, then it should be OK.
You should now have an interface called wlan0mon, meaning the change to monitor mode was succesful.
EDIT ** If you want to undo the above commands just type sudo airmon-ng stop wlan0mon ***
Can you try these out?
Thanks in advance!
Bart.sch said:
Hey Bled82,
Great to get a response so soon!
I'll list the commands here below:
( These commands assume you have sudo rights on the device )
$sudo apt install aircrack-ng ==> I know, it sounds a bit shady, but that's the name of the software suite, nothing I can change about that. :-/
$sudo airmon-ng ==> use this command to see the list of devices airmon-ng can detect. Your wi-fi card should show up in the form of wlan0 or something similar.
$sudo airmon-ng start wlan0
And that's all to it, if all of the above give no errors, then it should be OK.
You should now have an interface called wlan0mon, meaning the change to monitor mode was succesful.
EDIT ** If you want to undo the above commands just type sudo airmon-ng stop wlan0mon ***
Can you try these out?
Thanks in advance!
Click to expand...
Click to collapse
Doesn't work out of box on the debian Technical preview 2 , Maybe on the sailfish release it has available currently ? The debian build is still not fully baked FYI .
[email protected]:~$ sudo airmon-ng
Found phy0 with no interfaces assigned, would you like to assign one to it? [y/n] y
ERROR adding monitor mode interface: command failed: Operation not supported (-95)
Found phy1 with no interfaces assigned, would you like to assign one to it? [y/n] n
PHY phy1 will remain lost.
PHY Interface Driver Chipset
ethtool failed...
Only mac80211 devices on kernel 2.6.33 or higher are officially supported by airmon-ng.
[email protected]:~$ sudo airmon-ng
Found phy0 with no interfaces assigned, would you like to assign one to it? [y/n] n
PHY phy0 will remain lost.
Found phy1 with no interfaces assigned, would you like to assign one to it? [y/n] y
ERROR adding monitor mode interface: command failed: Operation not supported (-95)
PHY Interface Driver Chipset
ethtool failed...
Only mac80211 devices on kernel 2.6.33 or higher are officially supported by airmon-ng.
[email protected]:~$
Hi Bled82
That was to be expected, I suppose.
Could I ask for one more test with an external adapter, should you have one?
I believe the Gemini does support external USB-devices, no?
Bart.sch said:
Hi Bled82
That was to be expected, I suppose.
Could I ask for one more test with an external adapter, should you have one?
I believe the Gemini does support external USB-devices, no?
Click to expand...
Click to collapse
Yes it does , I have connected multiple devices and usb hubs that work well in android , mixed results in Debian , which is not a big surprised they are still working to provide a fully baked distro on debian , sailfish 3 is in the works also and looks promising .

Categories

Resources