5,597,647 Members 34,110 Now Online
XDA Developers Android and Mobile Development Forum
Announcement from userdelroot: Install or Mount (IOM) version 0.8 recoded gui for nicer look and feel

[Tool][chroot] Install or Mount (IOM) [create chroot on device in minutes ] | Update 03-11-2014 | Version 0.8 gui

Tip us?
 
Crysis2
Old
#351  
Senior Member
Thanks Meter 20
Posts: 131
Join Date: Dec 2012
Location: tehran
Quote:
Originally Posted by userdelroot View Post
no idea what your saying

Sent from my Nexus 5 using xda app-developers app
Nothing at all.ignore it.

Отправлено с моего HTC One S через Tapatalk
 
userdelroot
Old
#352  
Senior Member - OP
Thanks Meter 139
Posts: 296
Join Date: Aug 2010
Location: Florida

 
DONATE TO ME
Quote:
Originally Posted by Crysis2 View Post
Pc version please.

Отправлено с моего HTC One S через Tapatalk
You need to follow the directions... vnc 127.0.0.1
is not going to work.

search this thread or look at the q&a thread or look at the main thread.
I'll give you a hint.
you gotta download the vnc viewer app in android or on your pc

Sent from my Nexus 5 using xda app-developers app

Install or Mount (IOM)
IOM will create a chroot linux environment in android.
IOM will mount a chroot linux environment in android.



If you like my work please Donate
The Following 2 Users Say Thank You to userdelroot For This Useful Post: [ Click to Expand ]
 
Lihis
Old
(Last edited by Lihis; 14th April 2014 at 07:19 PM.)
#353  
Junior Member
Thanks Meter 10
Posts: 19
Join Date: Oct 2013
Quote:
Originally Posted by userdelroot View Post
the 192.* depends on your WiFi network.
It may or may not work connecting to carrier as they usually block inbound connections.


Sent from my Nexus 5 using xda app-developers app
Yes. I admit, instructions was too user specific. EDIT: Previous post fixed..
The Following User Says Thank You to Lihis For This Useful Post: [ Click to Expand ]
 
S0AndS0
Old
#354  
S0AndS0's Avatar
Senior Member
Thanks Meter 70
Posts: 258
Join Date: May 2012

 
DONATE TO ME
I've had good luck with the following app for viewing local and remote Linux GUI with VNC
https://play.google.com/store/apps/d...viewer.android
And for XRDP I found the following app to be the best for my usages;
https://play.google.com/store/apps/d...remote.rdpdemo
VNC must be enabled on your Linux side for the VNC app to connect to. This is a server client relationship and one you'll see again and again as you dive into Linux.
First start up the server on your Linux command line.
Then if connecting locally you can usually use the IP "127.0.0.1" or "localhost"
Or if connecting through wifi use the following command to grab your wlan0 IP address
Code:
ifconfig
_Or to just grab that IP and save to a variable; such as if you where writing a script for connections:
 

Code:
IP_inet_addr=`/sbin/ifconfig | grep -E 'inet addr' | grep -v '127.0.0.1' | awk '{gsub("addr:",""); print $2}'`

Or if connecting from across the internet you can find your device's external IP and save it to a variable with the following;
Code:
IP_exteral=`wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'`
_Note though that many cellular service providers don't allow you to connect over 3G/4G so its kinda hit and miss here on XDA on if that is possible.

From there you just have to input the port that you are connecting to, usually VNC will be on 5801 or 5901, but this can be set by whatever server you are using manually so if you do so pick a higher number like 7831 because the ones lower than 2000 (for most of my devices) are already taken by Android and other services.

If you find that the IP address on your wifi network changed and you don't want to physically go over to it to check it you can save the following as a script and run it on your remote device under either Android or Linux terminals:
 

Code:
#!/bin/bash
PATH=/bin:/usr/bin:/usr/local/bin ; export PATH 
IP_inet_addr=`/sbin/ifconfig | grep -E 'inet addr' | grep -v '127.0.0.1' | awk '{gsub("addr:",""); print $2}'`
IP_Bcast_addr=`/sbin/ifconfig | grep -E 'Bcast' | grep -v '127.0.0.1' | awk '{gsub("Bcast:",""); print $3}'`
trimIP=`$IP_Bcast_addr | sed 's/...$//'`
trimRoute=`route -n | grep -E 'UG' | awk '{print $2}'`
IPmin=1
IPmax=254
customPinger=`for ip in $(seq $IPmin $IPmax) ;do (ping -c 1 -w 5 $trimIP$ip >/dev/null && echo "$trimIP$ip" &) ; done`
fLive_IPs=`$customPinger | grep -v '$trimRoute' | grep -v '$IP_inet_addr'`
fLive_IPs=`$customPinger | grep -v '$trimRoute' | grep -v '$IP_inet_addr'`
echo "$trimRoute : is your access point's IP address for your WiFi network"
echo "$IP_inet_addr : is your internet IP on your WiFi network"
echo "______"
echo "The IP addresses of other devices sharing the same WiFi network that can be connected to are bellow..."
echo "______"
echo "$fLive_IPs"
exit

Just save the above to a file called fWifi_IPs.sh and run to see the IP address that you can connect to. Note if running on Android terminal you'll likely need to modify the first two lines to point to busy box instead, but this works for me. Also most devices have an option for setting a "static IP" so it doesn't change on ya.

Back to VND vs RDP; I prefer RDP but have had issues with it not connecting on the first attempt, but it has low latency for mouse controls. VNC on the other hand can be frustrating when a connection dies and reconnecting throws errors and the mouse latency is palpable.

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/show....php?t=2240397
Or
https://docs.google.com/document/d/1...?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.
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/show....php?t=2240397
Or
https://docs.google.com/document/d/1...?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.
The Following User Says Thank You to S0AndS0 For This Useful Post: [ Click to Expand ]
 
Crysis2
Old
#355  
Senior Member
Thanks Meter 20
Posts: 131
Join Date: Dec 2012
Location: tehran
Quote:
Originally Posted by S0AndS0 View Post
I've had good luck with the following app for viewing local and remote Linux GUI with VNC
https://play.google.com/store/apps/d...viewer.android
And for XRDP I found the following app to be the best for my usages;
https://play.google.com/store/apps/d...remote.rdpdemo
VNC must be enabled on your Linux side for the VNC app to connect to. This is a server client relationship and one you'll see again and again as you dive into Linux.
First start up the server on your Linux command line.
Then if connecting locally you can usually use the IP "127.0.0.1" or "localhost"
Or if connecting through wifi use the following command to grab your wlan0 IP address
Code:
ifconfig
_Or to just grab that IP and save to a variable; such as if you where writing a script for connections:
 

Code:
IP_inet_addr=`/sbin/ifconfig | grep -E 'inet addr' | grep -v '127.0.0.1' | awk '{gsub("addr:",""); print $2}'`

Or if connecting from across the internet you can find your device's external IP and save it to a variable with the following;
Code:
IP_exteral=`wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'`
_Note though that many cellular service providers don't allow you to connect over 3G/4G so its kinda hit and miss here on XDA on if that is possible.

From there you just have to input the port that you are connecting to, usually VNC will be on 5801 or 5901, but this can be set by whatever server you are using manually so if you do so pick a higher number like 7831 because the ones lower than 2000 (for most of my devices) are already taken by Android and other services.

If you find that the IP address on your wifi network changed and you don't want to physically go over to it to check it you can save the following as a script and run it on your remote device under either Android or Linux terminals:
 

Code:
#!/bin/bash
PATH=/bin:/usr/bin:/usr/local/bin ; export PATH 
IP_inet_addr=`/sbin/ifconfig | grep -E 'inet addr' | grep -v '127.0.0.1' | awk '{gsub("addr:",""); print $2}'`
IP_Bcast_addr=`/sbin/ifconfig | grep -E 'Bcast' | grep -v '127.0.0.1' | awk '{gsub("Bcast:",""); print $3}'`
trimIP=`$IP_Bcast_addr | sed 's/...$//'`
trimRoute=`route -n | grep -E 'UG' | awk '{print $2}'`
IPmin=1
IPmax=254
customPinger=`for ip in $(seq $IPmin $IPmax) ;do (ping -c 1 -w 5 $trimIP$ip >/dev/null && echo "$trimIP$ip" &) ; done`
fLive_IPs=`$customPinger | grep -v '$trimRoute' | grep -v '$IP_inet_addr'`
fLive_IPs=`$customPinger | grep -v '$trimRoute' | grep -v '$IP_inet_addr'`
echo "$trimRoute : is your access point's IP address for your WiFi network"
echo "$IP_inet_addr : is your internet IP on your WiFi network"
echo "______"
echo "The IP addresses of other devices sharing the same WiFi network that can be connected to are bellow..."
echo "______"
echo "$fLive_IPs"
exit

Just save the above to a file called fWifi_IPs.sh and run to see the IP address that you can connect to. Note if running on Android terminal you'll likely need to modify the first two lines to point to busy box instead, but this works for me. Also most devices have an option for setting a "static IP" so it doesn't change on ya.

Back to VND vs RDP; I prefer RDP but have had issues with it not connecting on the first attempt, but it has low latency for mouse controls. VNC on the other hand can be frustrating when a connection dies and reconnecting throws errors and the mouse latency is palpable.

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/show....php?t=2240397
Or
https://docs.google.com/document/d/1...?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.
Can't download from Googleplay.
How I can backup the Linux?(i wanna re install my phone Rom)
Also the androidvnc gives me error:Click image for larger version

Name:	uploadfromtaptalk1397576628096.jpg
Views:	40
Size:	40.6 KB
ID:	2687981Click image for larger version

Name:	uploadfromtaptalk1397576649127.jpg
Views:	36
Size:	41.9 KB
ID:	2687982


Отправлено с моего HTC One S через Tapatalk
 
S0AndS0
Old
(Last edited by S0AndS0; 16th April 2014 at 07:00 PM.)
#356  
S0AndS0's Avatar
Senior Member
Thanks Meter 70
Posts: 258
Join Date: May 2012

 
DONATE TO ME
Quote:
Originally Posted by Crysis2 View Post
Can't download from Googleplay.
How I can backup the Linux?(i wanna re install my phone Rom)
Also the androidvnc gives me error:Attachment 2687981Attachment 2687982

Try un-mounting (shutting down) Linux when downloading apps; I've had issues with; out of space, unable to connect, and refusal to download; errors when Linux is doing something in the background.

Others have covered this with the "tar" command; search "how to backup and restore Linux with tar command" and read up on it. Or you can check out the script I wrote (under the Danger directory of my github) and see if that works. Mainly with backups and restores you'll want to "exclude" the file you are backing everything up to, and, your device's sdcard, and, any Android file systems, and, any Linux files/folders not necessary to backup. Or you could just copy the image file that Linux uses and paste it onto another storage (hard drive) or directory.

Be sure the VNC server has been started on the Linux side first, then double check the ports.

I'll be back in a few minuets (have the day "off" ) to add a bit more help if needed.

Отправлено с моего HTC One S через Tapatalk


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/show....php?t=2240397
Or
https://docs.google.com/document/d/1...?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.
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/show....php?t=2240397
Or
https://docs.google.com/document/d/1...?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.
 
Crysis2
Old
#357  
Senior Member
Thanks Meter 20
Posts: 131
Join Date: Dec 2012
Location: tehran
Quote:
Originally Posted by S0AndS0 View Post
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/show....php?t=2240397
Or
https://docs.google.com/document/d/1...?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.
Unmount when downloading app?
Didn't got your point?

Отправлено с моего HTC One S через Tapatalk
 
S0AndS0
Old
#358  
S0AndS0's Avatar
Senior Member
Thanks Meter 70
Posts: 258
Join Date: May 2012

 
DONATE TO ME
Quote:
Originally Posted by Crysis2 View Post
Unmount when downloading app?
Didn't got your point?

Отправлено с моего HTC One S через Tapatalk
Unmount as in shut Linux down when ya get those errors and try the market place download again. Sometimes they seem to step on each others toes.

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/show....php?t=2240397
Or
https://docs.google.com/document/d/1...?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.
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/show....php?t=2240397
Or
https://docs.google.com/document/d/1...?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.

The Following User Says Thank You to S0AndS0 For This Useful Post: [ Click to Expand ]
Tags
android, chroot, install or mount, install-or-mount, linux on android
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes