Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
THREAD CLOSED
Tip us?
 
taaviu
Old
#101  
taaviu's Avatar
Senior Member
Thanks Meter 633
Posts: 1,864
Join Date: Jan 2010
Location: Tallinn
interesting how hard is make "button" or "app" what does

su
cd /sdcard/ubuntu
sh ubuntu.sh



 
zacthespack
Old
#102  
zacthespack's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 1562
Posts: 2,682
Join Date: Oct 2009
Location: Colchester

 
DONATE TO ME
Quote:
Originally Posted by taaviu View Post
interesting how hard is make "button" or "app" what does

su
cd /sdcard/ubuntu
sh ubuntu.sh



this would be the next step, but im not completely sure how to do it, to Google i go :P



 
Code:
question = 2*b || !(2*b)
"The Internet: where men are men, women are men, and children are FBI agents."

Code:
class Luke extends Jedi {
    function checkFather($father) {
        if ($father-]name == 'Darth Vader')
            die('NOOOOO!!');
    }
}

 
cwhitney24
Old
#103  
cwhitney24's Avatar
Recognized Themer / Contributor
Thanks Meter 3975
Posts: 3,376
Join Date: Jun 2011
Location: Hoover, AL

 
DONATE TO ME
The newer sh and lite file works on the HTC inspire 4g using a cm7 based rom. This weekend ill try the larger one again. No wifi at work.



I got your 10 char right here

abso Bacon Mod
 
roy_lt
Old
#104  
roy_lt's Avatar
Junior Member
Thanks Meter 1
Posts: 16
Join Date: Apr 2008
Location: Lawton
I get this when I run the script in terminal: (what can I try next)

Phone: HTC AMAZE 4G

sh-3.2$ export PATH=/data/local/bin:$PATH
sh-3.2$ su
sh-3.2# cd /sdcard/ubuntu
sh-3.2# sh ubuntu.sh
mount: Invalid argument
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: mounting /sdcard on /data/local/mnt/sdcard failed: No such file or directory
mount: mounting /sdcard/external_sd on /data/local/mnt/external_sd failed: No such file or directory
net.ipv4.ip_forward = 1
ubuntu.sh: line 31: /data/local/mnt/etc/resolv.conf: No such file or directory
ubuntu.sh: line 32: /data/local/mnt/etc/resolv.conf: No such file or directory
ubuntu.sh: line 33: /data/local/mnt/etc/hosts: No such file or directory
Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: No such device
chroot: can't execute '/root/init.sh': No such file or directory
Shutting down Ubuntu ARM
failed.
failed.
failed.
failed.
losetup: /dev/loop7: Device or resource busy
sh-3.2#
 
zacthespack
Old
#105  
zacthespack's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 1562
Posts: 2,682
Join Date: Oct 2009
Location: Colchester

 
DONATE TO ME
Quote:
Originally Posted by cwhitney24 View Post
The newer sh and lite file works on the HTC inspire 4g using a cm7 based rom. This weekend ill try the larger one again. No wifi at work.



I got your 10 char right here

abso Bacon Mod
Glad to hear it!



 
Code:
question = 2*b || !(2*b)
"The Internet: where men are men, women are men, and children are FBI agents."

Code:
class Luke extends Jedi {
    function checkFather($father) {
        if ($father-]name == 'Darth Vader')
            die('NOOOOO!!');
    }
}

The Following User Says Thank You to zacthespack For This Useful Post: [ Click to Expand ]
 
taaviu
Old
#106  
taaviu's Avatar
Senior Member
Thanks Meter 633
Posts: 1,864
Join Date: Jan 2010
Location: Tallinn
Quote:
Originally Posted by roy_lt View Post
I get this when I run the script in terminal: (what can I try next)

Phone: HTC AMAZE 4G

sh-3.2$ export PATH=/data/local/bin:$PATH
sh-3.2$ su
sh-3.2# cd /sdcard/ubuntu
sh-3.2# sh ubuntu.sh
mount: Invalid argument
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: mounting /sdcard on /data/local/mnt/sdcard failed: No such file or directory
mount: mounting /sdcard/external_sd on /data/local/mnt/external_sd failed: No such file or directory
net.ipv4.ip_forward = 1
ubuntu.sh: line 31: /data/local/mnt/etc/resolv.conf: No such file or directory
ubuntu.sh: line 32: /data/local/mnt/etc/resolv.conf: No such file or directory
ubuntu.sh: line 33: /data/local/mnt/etc/hosts: No such file or directory
Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: No such device
chroot: can't execute '/root/init.sh': No such file or directory
Shutting down Ubuntu ARM
failed.
failed.
failed.
failed.
losetup: /dev/loop7: Device or resource busy
sh-3.2#
This larger one give me to something error. Tried lite and after reboot device was all ok.


Sent from my MT15i
 
zacthespack
Old
#107  
zacthespack's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 1562
Posts: 2,682
Join Date: Oct 2009
Location: Colchester

 
DONATE TO ME
Quote:
Originally Posted by taaviu View Post
This larger one give me to something error. Tried lite and after reboot device was all ok.


Sent from my MT15i
Interesting that the larger image dosnt work...I guess something to do with the file size or something, i shall look into this!



 
Code:
question = 2*b || !(2*b)
"The Internet: where men are men, women are men, and children are FBI agents."

Code:
class Luke extends Jedi {
    function checkFather($father) {
        if ($father-]name == 'Darth Vader')
            die('NOOOOO!!');
    }
}

 
or.green
Old
#108  
Member
Thanks Meter 5
Posts: 84
Join Date: Feb 2011
Quote:
Originally Posted by zacthespack View Post
This means sadly your kernel does not support loop devices, this is the case with most stock kernels, I used to have the milestone 1 which was also locked and could never get it working, so sadly you won't beable to get it working on your device
Bummer... but how come I have a bunch of loopxxx (where xxx is numbers from 1 to 20) files under /dev/block/ if my kernel doesn't support loop devices?

Thanks for the quick response.
Sent from my MotoA953 using Tapatalk
 
zacthespack
Old
#109  
zacthespack's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 1562
Posts: 2,682
Join Date: Oct 2009
Location: Colchester

 
DONATE TO ME
Quote:
Originally Posted by or.green View Post
Bummer... but how come I have a bunch of loopxxx (where xxx is numbers from 1 to 20) files under /dev/block/ if my kernel doesn't support loop devices?

Thanks for the quick response.
Sent from my MotoA953 using Tapatalk
Hmmmm interesting, are you using app2SD



 
Code:
question = 2*b || !(2*b)
"The Internet: where men are men, women are men, and children are FBI agents."

Code:
class Luke extends Jedi {
    function checkFather($father) {
        if ($father-]name == 'Darth Vader')
            die('NOOOOO!!');
    }
}

 
D_one
Old
#110  
Senior Member
Thanks Meter 18
Posts: 294
Join Date: Mar 2009
Location: Toronto

 
DONATE TO ME
Do I have to extract it on my computer? Or what app are people using to extract it. Also is there a different ubuntu.sh for the small file?

Sent from my MB860 using XDA App

THREAD CLOSED
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...