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

Search This thread

luvher

Member
Dec 1, 2013
25
8
Hello,
hope I can help with something following:
The used (internal) mke2fs didn't make the 2GB installation for me.

So change the following in the bold files:
"iom-functions" (add an "busybox" bevore the mke2fs):
in line 503 to
Code:
busybox mkfs.ext2 -F $IMG_PATH/$IMG_NAME && info FORMIMG "$IMG_NAME formated $fs_type" || error 1 FORMIMG "unable to format %s to $fs_type" "$IMG_NAME" 1>>$IOM_LOG
and line 508
Code:
busybox mke2fs -F $IMG_PATH/$IMG_NAME && info FORMIMG "$IMG_NAME formated $fs_type" || error 1 FORMIMG "unable to format %s to $fs_type" "$IMG_NAME" 1>>$IOM_LOG

"iom" (change every 2048 to 4095 - so the 2GB option isn't there anymore, but I dont use 2GB, only 4GB instead)
line 567 AND 586
Code:
  IMG_SIZE=4095

"./locales/en_text.conf"
line 54
Code:
set_imgsize_4='4) 4   gig'
line 59
Code:
sel_imgsize_4=4095

after that changes you can directely create a 4GB - image, worked faster than resizing...;)

And the error

went away (had the same problems), bacause the image was created, but not formatted, and the next thing was trying mount, what failed.


By the way:
Thanks to userdelroot for your working script - i tried 2 days to find a working one! Thanks!!!

GT-I9305
Android 4.4.2
Omni 4.4.2-20140429-9305
Kernel 3.0.101-CM (Boeffla 2.2-20140327)
on 64BG external SD

greetings, Quantenkosmos.
P.S.: Screenshots available if you want (after setting up everything in my saucy).

Damn.. that's it!! Now i can create images in the size that i want :) tested up to 8GB will test more these days..

Anyone ever succesfully installed "Ubuntu Software Center" or something familiar? get bunches of errors after installing..

And someone tried to use Google Chrome (Chromium) with Chromecast? Was able to mirror Tabs :) but when i try to mirror the whole screen i get an error message??

Thx again to userdelroot for the script and Quantenkosmos for the tip with the imagesizes :)

Sent from my LG-D802 using XDA Free mobile app
 
  • Like
Reactions: userdelroot

lionking8600

Member
May 13, 2014
20
2
Okay this is what I keep getting
9y8a9uhu.jpg

More permission errors

Sent from my SM-G900F using Tapatalk
 

userdelroot

Senior Member
Aug 7, 2010
331
157
Florida
Okay this is what I keep getting
9y8a9uhu.jpg

More permission errors

Sent from my SM-G900F using Tapatalk


I can not read that picture as it gets distorted when I zoom.in.
Can you copy and paste the error?

Also did you go through the install process first? like what steps did you take to get that error?


Sent from my Nexus 5 using XDA Free mobile app
 
Last edited:

lionking8600

Member
May 13, 2014
20
2
Does anyone know where I can get the stock kernel? Switching kernels means I loose all the Se goodies, including private mode and all the files in it.

Sent from my SM-G900F using Tapatalk
 

lionking8600

Member
May 13, 2014
20
2
HELP
I'M TRYING TO USE LINUX DEPLOY TO RUN KALI AND I KEEP GETTING THIS
1:06:23] + sed -i s|^#!.*|#!/data/local/linux/bin/sh|g /data/local/linux/bin/linuxdeploy
[11:06:23] + sed -i s|^DEBUG_MODE=.*|DEBUG_MODE="y"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^TRACE_MODE=.*|TRACE_MODE="y"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^IMG_TARGET=.*|IMG_TARGET="/storage/emulated/0/linux.img"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^IMG_SIZE=.*|IMG_SIZE="0"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^FS_TYPE=.*|FS_TYPE="auto"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^DEPLOY_TYPE=.*|DEPLOY_TYPE="file"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^DISTRIB=.*|DISTRIB="kali"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^ARCH=.*|ARCH="armel"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^SUITE=.*|SUITE="kali"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^MIRROR=.*|MIRROR="http://http.kali.org/kali"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^USER_NAME=.*|USER_NAME="android"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^SERVER_DNS=.*|SERVER_DNS=""|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^LOCALE=.*|LOCALE="en_US.UTF-8"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^DESKTOP_ENV=.*|DESKTOP_ENV="lxde"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^COMPONENTS=.*|COMPONENTS="vnc desktop ssh"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^STARTUP=.*|STARTUP="ssh vnc"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^CUSTOM_SCRIPTS=.*|CUSTOM_SCRIPTS=""|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^CUSTOM_MOUNTS=.*|CUSTOM_MOUNTS=""|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^SSH_PORT=.*|SSH_PORT="22"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^VNC_DISPLAY=.*|VNC_DISPLAY="0"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^VNC_DEPTH=.*|VNC_DEPTH="16"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^VNC_DPI=.*|VNC_DPI="75"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^VNC_GEOMETRY=.*|VNC_GEOMETRY="1080x1920"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^VNC_ARGS=.*|VNC_ARGS=""|g /data/local/linux/etc/deploy.conf
[11:06:24] + sed -i s|^XSERVER_DISPLAY=.*|XSERVER_DISPLAY="0"|g /data/local/linux/etc/deploy.conf
[11:06:24] + sed -i s|^XSERVER_HOST=.*|XSERVER_HOST="127.0.0.1"|g /data/local/linux/etc/deploy.conf
[11:06:24] + sed -i s|^FB_DISPLAY=.*|FB_DISPLAY="0"|g /data/local/linux/etc/deploy.conf
[11:06:24] + sed -i s|^FB_DPI=.*|FB_DPI="100"|g /data/local/linux/etc/deploy.conf
[11:06:24] + sed -i s|^FB_DEV=.*|FB_DEV="/dev/graphics/fb0"|g /data/local/linux/etc/deploy.conf
[11:06:24] + sed -i s|^FB_INPUT=.*|FB_INPUT="/dev/input/event2"|g /data/local/linux/etc/deploy.conf
[11:06:24] + sed -i s|^FB_ARGS=.*|FB_ARGS=""|g /data/local/linux/etc/deploy.conf
[11:06:24] + sed -i s|^FB_FREEZE=.*|FB_FREEZE="none"|g /data/local/linux/etc/deploy.conf
[11:06:24] + [ 0 -eq 0 ]
[11:06:24] + exit 0
[11:06:24] done
[11:06:24] + /data/local/linux/bin/linuxdeploy install
[11:06:24] + cd /data/local/linux
[11:06:24] + umask 0022
[11:06:24] + msg >>> begin: install
[11:06:24] + echo >>> begin: install
[11:06:24] >>> begin: install
[11:06:24] + install_system
[11:06:24] + prepare_system
[11:06:24] + msg -n Checking mount points ...
[11:06:24] + echo -n Checking mount points ...
[11:06:24] Checking mount points ... + cat /proc/mounts
[11:06:24] /data/local/linux/bin/linuxdeploy: line 1: cat: Permission denied
[11:06:24] + grep /data/local/linux/mnt
[11:06:24] /data/local/linux/bin/linuxdeploy: line 1: grep: Permission denied
[11:06:24] done
[11:06:24] Checking installation path ... done
[11:06:24] + is_mnt=
[11:06:24] + [ -z ]
[11:06:24] + msg done
[11:06:24] + echo done
[11:06:24] + msg -n Checking installation path ...
[11:06:24] + echo -n Checking installation path ...
[11:06:24] + [ file == file ]
[11:06:24] + [ -e /storage/emulated/0/linux.img -a ! -f /storage/emulated/0/linux.img ]
[11:06:24] + [ file == partition ]
[11:06:24] + msg done
[11:06:24] + echo done
[11:06:24] + [ file == file ]
[11:06:24] + [ 0 -eq 0 ]
[11:06:24] + [ -f /storage/emulated/0/linux.img ]
[11:06:24] + FILE_SIZE=0
[11:06:24] + dirname /storage/emulated/0/linux.img
[11:06:24] /data/local/linux/bin/linuxdeploy: line 1: dirname: Permission denied
[11:06:24] + DIR_NAME=
[11:06:25] + stat -c %s -f
[11:06:25] /data/local/linux/bin/linuxdeploy: line 1: stat: Permission denied
[11:06:25] + BLOCK_SIZE=
[11:06:25] + stat -c %a -f
[11:06:25] /data/local/linux/bin/linuxdeploy: line 1: stat: Permission denied
[11:06:25] Making new disk image (0 MB) ... + AVAILABLE_SIZE=
[11:06:25] + let AVAILABLE_SIZE=(*)+0
[11:06:25] /data/local/linux/bin/linuxdeploy: let: line 1: arithmetic syntax error
[11:06:25] + let IMG_SIZE=(-/10)/1048576
[11:06:25] /data/local/linux/bin/linuxdeploy: let: line 1: arithmetic syntax error
[11:06:25] + [ 0 -gt 4095 ]
[11:06:25] + msg -n Making new disk image (0 MB) ...
[11:06:25] + echo -n Making new disk image (0 MB) ...
[11:06:25] + set -e
[11:06:25] + dd if=/dev/zero of=/storage/emulated/0/linux.img bs=1048576 seek=0 count=0
[11:06:25] /data/local/linux/bin/linuxdeploy: line 1: dd: Permission denied
[11:06:25] + dd if=/dev/zero of=/storage/emulated/0/linux.img bs=1048576 count=0
[11:06:25] fail
[11:06:25] <<< end: install
[11:06:25] /data/local/linux/bin/linuxdeploy: line 1: dd: Permission denied
[11:06:25] + [ 126 -eq 0 ]
[11:06:25] + msg fail
[11:06:25] + echo fail
[11:06:25] + return 1
[11:06:25] + [ 1 -ne 0 ]
[11:06:25] + return 1
[11:06:25] + msg <<< end: install
[11:06:25] + echo <<< end: install
[11:06:25] + exit



Sent from my SM-G900F using Tapatalk
 

userdelroot

Senior Member
Aug 7, 2010
331
157
Florida
HELP
I'M TRYING TO USE LINUX DEPLOY TO RUN KALI AND I KEEP GETTING THIS
1:06:23] + sed -i s|^#!.*|#!/data/local/linux/bin/sh|g /data/local/linux/bin/linuxdeploy
[11:06:23] + sed -i s|^DEBUG_MODE=.*|DEBUG_MODE="y"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^TRACE_MODE=.*|TRACE_MODE="y"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^IMG_TARGET=.*|IMG_TARGET="/storage/emulated/0/linux.img"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^IMG_SIZE=.*|IMG_SIZE="0"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^FS_TYPE=.*|FS_TYPE="auto"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^DEPLOY_TYPE=.*|DEPLOY_TYPE="file"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^DISTRIB=.*|DISTRIB="kali"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^ARCH=.*|ARCH="armel"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^SUITE=.*|SUITE="kali"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^MIRROR=.*|MIRROR="http://http.kali.org/kali"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^USER_NAME=.*|USER_NAME="android"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^SERVER_DNS=.*|SERVER_DNS=""|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^LOCALE=.*|LOCALE="en_US.UTF-8"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^DESKTOP_ENV=.*|DESKTOP_ENV="lxde"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^COMPONENTS=.*|COMPONENTS="vnc desktop ssh"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^STARTUP=.*|STARTUP="ssh vnc"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^CUSTOM_SCRIPTS=.*|CUSTOM_SCRIPTS=""|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^CUSTOM_MOUNTS=.*|CUSTOM_MOUNTS=""|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^SSH_PORT=.*|SSH_PORT="22"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^VNC_DISPLAY=.*|VNC_DISPLAY="0"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^VNC_DEPTH=.*|VNC_DEPTH="16"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^VNC_DPI=.*|VNC_DPI="75"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^VNC_GEOMETRY=.*|VNC_GEOMETRY="1080x1920"|g /data/local/linux/etc/deploy.conf
[11:06:23] + sed -i s|^VNC_ARGS=.*|VNC_ARGS=""|g /data/local/linux/etc/deploy.conf
[11:06:24] + sed -i s|^XSERVER_DISPLAY=.*|XSERVER_DISPLAY="0"|g /data/local/linux/etc/deploy.conf
[11:06:24] + sed -i s|^XSERVER_HOST=.*|XSERVER_HOST="127.0.0.1"|g /data/local/linux/etc/deploy.conf
[11:06:24] + sed -i s|^FB_DISPLAY=.*|FB_DISPLAY="0"|g /data/local/linux/etc/deploy.conf
[11:06:24] + sed -i s|^FB_DPI=.*|FB_DPI="100"|g /data/local/linux/etc/deploy.conf
[11:06:24] + sed -i s|^FB_DEV=.*|FB_DEV="/dev/graphics/fb0"|g /data/local/linux/etc/deploy.conf
[11:06:24] + sed -i s|^FB_INPUT=.*|FB_INPUT="/dev/input/event2"|g /data/local/linux/etc/deploy.conf
[11:06:24] + sed -i s|^FB_ARGS=.*|FB_ARGS=""|g /data/local/linux/etc/deploy.conf
[11:06:24] + sed -i s|^FB_FREEZE=.*|FB_FREEZE="none"|g /data/local/linux/etc/deploy.conf
[11:06:24] + [ 0 -eq 0 ]
[11:06:24] + exit 0
[11:06:24] done
[11:06:24] + /data/local/linux/bin/linuxdeploy install
[11:06:24] + cd /data/local/linux
[11:06:24] + umask 0022
[11:06:24] + msg >>> begin: install
[11:06:24] + echo >>> begin: install
[11:06:24] >>> begin: install
[11:06:24] + install_system
[11:06:24] + prepare_system
[11:06:24] + msg -n Checking mount points ...
[11:06:24] + echo -n Checking mount points ...
[11:06:24] Checking mount points ... + cat /proc/mounts
[11:06:24] /data/local/linux/bin/linuxdeploy: line 1: cat: Permission denied
[11:06:24] + grep /data/local/linux/mnt
[11:06:24] /data/local/linux/bin/linuxdeploy: line 1: grep: Permission denied
[11:06:24] done
[11:06:24] Checking installation path ... done
[11:06:24] + is_mnt=
[11:06:24] + [ -z ]
[11:06:24] + msg done
[11:06:24] + echo done
[11:06:24] + msg -n Checking installation path ...
[11:06:24] + echo -n Checking installation path ...
[11:06:24] + [ file == file ]
[11:06:24] + [ -e /storage/emulated/0/linux.img -a ! -f /storage/emulated/0/linux.img ]
[11:06:24] + [ file == partition ]
[11:06:24] + msg done
[11:06:24] + echo done
[11:06:24] + [ file == file ]
[11:06:24] + [ 0 -eq 0 ]
[11:06:24] + [ -f /storage/emulated/0/linux.img ]
[11:06:24] + FILE_SIZE=0
[11:06:24] + dirname /storage/emulated/0/linux.img
[11:06:24] /data/local/linux/bin/linuxdeploy: line 1: dirname: Permission denied
[11:06:24] + DIR_NAME=
[11:06:25] + stat -c %s -f
[11:06:25] /data/local/linux/bin/linuxdeploy: line 1: stat: Permission denied
[11:06:25] + BLOCK_SIZE=
[11:06:25] + stat -c %a -f
[11:06:25] /data/local/linux/bin/linuxdeploy: line 1: stat: Permission denied
[11:06:25] Making new disk image (0 MB) ... + AVAILABLE_SIZE=
[11:06:25] + let AVAILABLE_SIZE=(*)+0
[11:06:25] /data/local/linux/bin/linuxdeploy: let: line 1: arithmetic syntax error
[11:06:25] + let IMG_SIZE=(-/10)/1048576
[11:06:25] /data/local/linux/bin/linuxdeploy: let: line 1: arithmetic syntax error
[11:06:25] + [ 0 -gt 4095 ]
[11:06:25] + msg -n Making new disk image (0 MB) ...
[11:06:25] + echo -n Making new disk image (0 MB) ...
[11:06:25] + set -e
[11:06:25] + dd if=/dev/zero of=/storage/emulated/0/linux.img bs=1048576 seek=0 count=0
[11:06:25] /data/local/linux/bin/linuxdeploy: line 1: dd: Permission denied
[11:06:25] + dd if=/dev/zero of=/storage/emulated/0/linux.img bs=1048576 count=0
[11:06:25] fail
[11:06:25] <<< end: install
[11:06:25] /data/local/linux/bin/linuxdeploy: line 1: dd: Permission denied
[11:06:25] + [ 126 -eq 0 ]
[11:06:25] + msg fail
[11:06:25] + echo fail
[11:06:25] + return 1
[11:06:25] + [ 1 -ne 0 ]
[11:06:25] + return 1
[11:06:25] + msg <<< end: install
[11:06:25] + echo <<< end: install
[11:06:25] + exit



Sent from my SM-G900F using Tapatalk

Ask in Linux deploy thread. this is not Linux deploy

Sent from my Nexus 5 using XDA Free mobile app
 

JayjohnX

Member
Jul 13, 2014
31
1
can not mount image

Hello,

I am trying to get it running on my s4 mini.

Anyhow always when I try to mount the linux.img it says: mount: permission denied (are you root?)
(please see the attached screenshot)

You probably first recommend me to check if I have my phone properly rooted and if I have the root privileges. Yes I have both.
For rooting I used this: http://xdaforums.com/showthread.php?t=2364980
It worked successfully. The App RootChecker says, Phone successfully rooted, the App SuperSU also.
I installed Terminal Emulator for the Install or Mount and also BusyBox X+ for some missing commands. Both are in the list of SuperSU and when I am starting Terminal Emulator and typing "su" a message tells me that I have SuperUser rights.
Also the installation of Install or Mount was without any error - except at the end when it was trying to mount the linux.img.

I searched the forum and google for this problem - but all solutions are concerning problems when the users didn't type su or haven't properly rooted or something similar.

Thanks
 

Attachments

  • Screenshot_2014-07-13-08-38-48.png
    Screenshot_2014-07-13-08-38-48.png
    38.8 KB · Views: 287

JayjohnX

Member
Jul 13, 2014
31
1
Yes. Installation ran until it is trying to mount, then it has shown the same error like when I try to start it (shown in Screenshot).
 

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    [Tool][chroot] Install or Mount (IOM) [create chroot on device in minutes ] | Update 03-11-2014 | Version 0.8 gui


    Install or Mount
    6ElpJDfH

    IOM for short

    Code:
    [CENTER]
    [COLOR="Red"]DISCLAIMER[/COLOR]
    I am not responsible for you, your device, families devices
     if you use this script. You use at your own risk.

    Install or Mount Stable
    The install-or-mount script (iom) will build a chroot environment, on the device.
    It will create the proper image and download the necessary packages for the image.
    (Approximately 200megs



    Ubuntu GUI on device using VNC
    xxe96pE8

    PC to Ubuntu GUI on device using VNC
    AH0cLXSg

    Kali GUI on device using VNC
    KIyqI0g7

    Terminal View on device
    11CZdbm6



    FAQ
    [Q] What distro's can we use?
    [A] Currently, Ubuntu precise - saucy, Kali.

    [Q] I want xyz distro can we get it?
    [A] Yes, if users would like it and it is possible I will add upon request.

    [Q] Can you I access the VNC GUI from my PC?
    [A] Yes, you can See post http://xdaforums.com/showpost.php?p=49995584&postcount=149

    [Q] Can I ssh from my PC to the device?
    [A] Yes, but it depends what Ubuntu version. Ubuntu saucy does work. Ubuntu precise does not

    [Q] Can I just use the busybox included in IOM?
    [A] No, the busybox included is a stripped down version to be compatible with most Android versions.

    [Q] Can I connect to the GUI from the device
    [A] Yes, using VNC, I use https://play.google.com/store/apps/details?id=com.realvnc.viewer.android&hl=en

    [Q] Can I compile arm binary's to run on an Android device.
    [A] Yes, the apt-get install make gcc. Will install the arm compilers no need to setup a cross-compiler. This is limited however as some android libs would be missing

    [Q] Will there be an APP on the Google Play Store.
    [A] No, probably not. This is for others to learn also, If an app was created it would make things simpler then they are.

    [Q] Is this project under source control.
    [A] Yes, on my local system, however, I do have a github, but I have not pushed anything to it as of yet. Maybe in the future.

    [Q] How can I help?
    [A] Maybe, Send me a private message ?

    [Q] Why was this project made when there are other projects that are similar?
    [A] I initially started this for another project to help out, but it seems that project has died.


    [Q] LXDE no longer installs automatically why?
    [A] The depend packages fail, which is out of my control manually install with sudo sh /root/install-lxde-packages

    Install / Using
    extract the zip to /data/local
    open a terminal or adb shell

    get root access
    su

    help for command line
    sh iom --help

    GUI
    sh iom
    [/CENTER]

    Install chroot
    Code:
    sh iom --install --size=1 --distro=1 /data/local/linux.img /data/local/chroot
    Code:
    sh iom --auto=1
    GUI
    Code:
    sh iom

    mount chroot
    Code:
    sh iom --mountonly /data/local/linux.img /data/local/chroot
    GUI
    Code:
    sh iom

    Credits
    debootstrap developers
    busybox creators
    If i missed anyone let me know

    Logo by http://sbco.cz

    Youtube video by: paxy97

    Supported Distro's

    ubuntu-orange-on-white.gif

    kali-tm.png





    DOWNLOAD

    UPDATE: 03-11-2014
    Release: 0.8 gui color
    md5: 3b3b574ecb4f5d4eefa605272b86a6a1
    install-or-mount-v0.8-gui.zip

    UPDATE: 03-01-2014
    Release: 0.7.6 gui stable
    md5: 8c05c0e050cf1c43935966fc73ccd837
    install-or-mount-v0.7.6-gui.zip

    ChangeLog
    Changelog

    XDA:DevDB Information
    install-or-mount | iom for short, a Tool/Utility for the Android General

    Contributors
    userdelroot

    Version Information
    Status: Stable
    Current Stable Version: 0.8
    Stable Release Date: 2014-03-11

    Created 2014-01-28
    Last Updated 2014-03-11
    2
    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
    2
    Would somebody be able to make a video of this running Linux on a tablet or phone. It would be cool to see how this works

    Sent from my C6903 using Tapatalk

    I might have the time to do it in two hours, if not then tomorrow
    2
    more than 2GB - 4GB

    Hello,
    hope I can help with something following:
    The used (internal) mke2fs didn't make the 2GB installation for me.

    So change the following in the bold files:
    "iom-functions" (add an "busybox" bevore the mke2fs):
    in line 503 to
    Code:
    				busybox mkfs.ext2 -F $IMG_PATH/$IMG_NAME && info FORMIMG "$IMG_NAME formated $fs_type" || error 1 FORMIMG "unable to format %s to $fs_type" "$IMG_NAME" 1>>$IOM_LOG
    and line 508
    Code:
    				busybox mke2fs -F $IMG_PATH/$IMG_NAME && info FORMIMG "$IMG_NAME formated $fs_type" || error 1 FORMIMG "unable to format %s to $fs_type" "$IMG_NAME" 1>>$IOM_LOG

    "iom" (change every 2048 to 4095 - so the 2GB option isn't there anymore, but I dont use 2GB, only 4GB instead)
    line 567 AND 586
    Code:
    				  IMG_SIZE=4095

    "./locales/en_text.conf"
    line 54
    Code:
    set_imgsize_4='4) 4   gig'
    line 59
    Code:
    sel_imgsize_4=4095

    after that changes you can directely create a 4GB - image, worked faster than resizing...;)

    And the error
    Error was:

    "ERROR: Can not mount /data/local/chroot rootfs"

    ...So I ran the old version and all was well [stock nexus5]!

    However I tried the old version on my Kurio7s [running stock 4.4.2] and I get the same error. I have not yet tried 0.8.0 on the Kurio7s

    And thank you for the info on changing the resolution!
    went away (had the same problems), bacause the image was created, but not formatted, and the next thing was trying mount, what failed.


    By the way:
    Thanks to userdelroot for your working script - i tried 2 days to find a working one! Thanks!!!

    GT-I9305
    Android 4.4.2
    Omni 4.4.2-20140429-9305
    Kernel 3.0.101-CM (Boeffla 2.2-20140327)
    on 64BG external SD

    greetings, Quantenkosmos.
    P.S.: Screenshots available if you want (after setting up everything in my saucy).

    That strange problem is because the nand has issues when you delete and create in the exact same place.

    This has happened to me several times when debugging and took me a bit to figure out.

    If you do the following:
    Create 800meg image and install or install fails for whatever reason.
    Then delete that image and create a 2gig image at the same location as the 800meg image
    The image will be 800 megs.
    As the device storage almost caches or doesn't properly delete the sectors from the nand. Probably same with external SD also.

    I'm not sure if that is a bug in the OS or an issue with nand in general.

    I noticed this on fail install. I would fix code delete image and reinstall.
    Install seemed fine.
    But mounting would fail, and the image would only contain files from where install failed.

    To correct this problem when yoi create a new image, don't use the same name for the image or change the image path.
    That fixes that issue.


    Sent from my Nexus 5 using xda app-developers app
    2
    Coming soon

    Lil teaser, it isn't much but it will make things a little simpler. It will also begin to create a config for each image created.

    QJ8Jr3eS