Active Topics

 


Reply
Thread Tools
Posts: 14 | Thanked: 0 times | Joined on Jul 2007 @ Barrow-in-Furness, england
#31
Yes I keep trying to do that but it keeps comign up command not found, very confusing
 
Posts: 62 | Thanked: 35 times | Joined on Mar 2008 @ Fort Gratiot, Michigan
#32
Originally Posted by munkimatt View Post
Yes I keep trying to do that but it keeps comign up command not found, very confusing
In that case, maybe I'm doing this wrong-- try:
Code:
sudo ./flasher-3.0-static -f -k yourimage.bin --disable-rd-mode -R
 
Posts: 14 | Thanked: 0 times | Joined on Jul 2007 @ Barrow-in-Furness, england
#33
Just a quick one Jake, I'm now using your full script, when the line comes up saying 'read action1' how long should that take?
 
Posts: 62 | Thanked: 35 times | Joined on Mar 2008 @ Fort Gratiot, Michigan
#34
Originally Posted by munkimatt View Post
Just a quick one Jake, I'm now using your full script, when the line comes up saying 'read action1' how long should that take?
well, it should ask you to type something, and that becomes a variable, in this case it's "$action1". it uses this for unmounting and stuff. once you enter it though, it should ask another question or two.
 
Posts: 14 | Thanked: 0 times | Joined on Jul 2007 @ Barrow-in-Furness, england
#35
Sorry to keep bugging you Jake, but I'm getting nowhere. I'm copying in what I'm getting in terminal to see if you have any idea as to what's the issue.

matt@matt-desktop:~/Desktop/nitdroid$ #! /bin/bash
matt@matt-desktop:~/Desktop/nitdroid$ #this is a script to completely install NITdroid on an internet tablet
matt@matt-desktop:~/Desktop/nitdroid$ echo Welcome to the NITdroid downloader/installer script.
Welcome to the NITdroid downloader/installer script.
matt@matt-desktop:~/Desktop/nitdroid$ echo This program will do all of the following:
This program will do all of the following:
matt@matt-desktop:~/Desktop/nitdroid$ echo *Download the nescessary files.
*Download the nescessary files.
matt@matt-desktop:~/Desktop/nitdroid$ echo *Create the proper filesystems and partitions.
*Create the proper filesystems and partitions.
matt@matt-desktop:~/Desktop/nitdroid$ echo *Install the rootfs and flash the proper kernel.
*Install the rootfs and flash the proper kernel.
matt@matt-desktop:~/Desktop/nitdroid$ echo Before beginning, please remove the external SD card and plug the USB cable into the computer.
Before beginning, please remove the external SD card and plug the USB cable into the computer.
matt@matt-desktop:~/Desktop/nitdroid$ echo Downloads will begin in 30 seconds...Downloads will begin in 30 seconds...
matt@matt-desktop:~/Desktop/nitdroid$ echo NOTE: This program should NOT be run as root.
NOTE: This program should NOT be run as root.
matt@matt-desktop:~/Desktop/nitdroid$ echo It has specific parts that need to run as root.
It has specific parts that need to run as root.
matt@matt-desktop:~/Desktop/nitdroid$ sleep 30
matt@matt-desktop:~/Desktop/nitdroid$ #beginning of downloader script
matt@matt-desktop:~/Desktop/nitdroid$ cd /home/$USER/Desktop/
matt@matt-desktop:~/Desktop$ mkdir nitdroid
mkdir: cannot create directory `nitdroid': File exists
matt@matt-desktop:~/Desktop$ mkdir adb
mkdir: cannot create directory `adb': File exists
matt@matt-desktop:~/Desktop$ cd nitdroid
matt@matt-desktop:~/Desktop/nitdroid$ echo Beginning downloads...
Beginning downloads...
matt@matt-desktop:~/Desktop/nitdroid$ wget http://www.jakemaheu.com/flasher-3.0-static
--2009-01-12 20:39:18-- http://www.jakemaheu.com/flasher-3.0-static
Resolving www.jakemaheu.com... 67.18.18.74
Connecting to www.jakemaheu.com|67.18.18.74|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 492816 (481K) [text/plain]
Saving to: `flasher-3.0-static.4'

100%[======================================>] 492,816 48.0K/s in 9.0s

2009-01-12 20:39:28 (53.7 KB/s) - `flasher-3.0-static.4' saved [492816/492816]

matt@matt-desktop:~/Desktop/nitdroid$ wget http://guug.org/nit/nitdroid/rootfs-nitdroid.tar.bz2
--2009-01-12 20:39:28-- http://guug.org/nit/nitdroid/rootfs-nitdroid.tar.bz2
Resolving guug.org... 200.9.255.30
Connecting to guug.org|200.9.255.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 34106260 (33M) [application/octet-stream]
Saving to: `rootfs-nitdroid.tar.bz2.5'

100%[======================================>] 34,106,260 43.3K/s in 11m 55s

2009-01-12 20:51:24 (46.6 KB/s) - `rootfs-nitdroid.tar.bz2.5' saved [34106260/34106260]

matt@matt-desktop:~/Desktop/nitdroid$ wget http://guug.org/nit/nitdroid/zImage-nitdroid-n8x0
--2009-01-12 20:51:24-- http://guug.org/nit/nitdroid/zImage-nitdroid-n8x0
Resolving guug.org... 200.9.255.30
Connecting to guug.org|200.9.255.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1752836 (1.7M) [application/octet-stream]
Saving to: `zImage-nitdroid-n8x0.5'

100%[======================================>] 1,752,836 36.7K/s in 52s

2009-01-12 20:52:16 (32.9 KB/s) - `zImage-nitdroid-n8x0.5' saved [1752836/1752836]

matt@matt-desktop:~/Desktop/nitdroid$ cd ../adb
matt@matt-desktop:~/Desktop/adb$ wget http://guug.org/nit/nitdroid/adb.bz2
--2009-01-12 20:52:16-- http://guug.org/nit/nitdroid/adb.bz2
Resolving guug.org... 200.9.255.30
Connecting to guug.org|200.9.255.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 61068 (60K) [application/octet-stream]
Saving to: `adb.bz2.3'

100%[======================================>] 61,068 59.3K/s in 1.0s

2009-01-12 20:52:18 (59.3 KB/s) - `adb.bz2.3' saved [61068/61068]

matt@matt-desktop:~/Desktop/adb$ wget http://guug.org/nit/nitdroid/Internal_keypad.kl
--2009-01-12 20:52:18-- http://guug.org/nit/nitdroid/Internal_keypad.kl
Resolving guug.org... 200.9.255.30
Connecting to guug.org|200.9.255.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 409 [application/octet-stream]
Saving to: `Internal_keypad.kl.4'

100%[======================================>] 409 --.-K/s in 0s

2009-01-12 20:52:18 (33.2 MB/s) - `Internal_keypad.kl.4' saved [409/409]

matt@matt-desktop:~/Desktop/adb$ bunzip2 adb.bz2
bunzip2: Output file adb already exists.
matt@matt-desktop:~/Desktop/adb$ chmod a+x adb
matt@matt-desktop:~/Desktop/adb$ cd ../nitdroid
matt@matt-desktop:~/Desktop/nitdroid$ #beginning of partitioning
matt@matt-desktop:~/Desktop/nitdroid$ echo Files acquired.
Files acquired.
matt@matt-desktop:~/Desktop/nitdroid$ echo Creating filesystems...
Creating filesystems...
matt@matt-desktop:~/Desktop/nitdroid$ echo [************************************************** ************]
[************************************************** ************]
matt@matt-desktop:~/Desktop/nitdroid$ mount|grep -e /dev/sd
/dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro)
/dev/sdf1 on /media/disk type vfat (rw,nosuid,nodev,uhelper=hal,shortname=mixed,uid=1 000,utf8,umask=077,flush)
matt@matt-desktop:~/Desktop/nitdroid$ echo What is the last entry on that list?
What is the last entry on that list?
matt@matt-desktop:~/Desktop/nitdroid$ echo It should look like '/dev/sd*1'.
It should look like /dev/sd*1.
matt@matt-desktop:~/Desktop/nitdroid$ echo Enter the answer in lowercase, with the number included.
Enter the answer in lowercase, with the number included.
matt@matt-desktop:~/Desktop/nitdroid$ echo [************************************************** ************]
[************************************************** ************]
matt@matt-desktop:~/Desktop/nitdroid$ read action1
$action1
matt@matt-desktop:~/Desktop/nitdroid$ .
I've typed in $action1 but it just goes back to the directory. I've also tried action1 (without the $ sign) and /dev/sdf1 (as it's the last one in the list, but every time it just goes back to the directory.

Last edited by munkimatt; 2009-01-12 at 21:06.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#36
Wow, I've never seen a script echo every line to the console like that. Weird!
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#37
Hey, download the script to your desktop, then run in the terminal:

cd /home/$USER/Desktop/
chmod +x nitdroid_complete.sh
./nitdroid_complete.sh
 
Posts: 14 | Thanked: 0 times | Joined on Jul 2007 @ Barrow-in-Furness, england
#38
Originally Posted by BrentDC View Post
Hey, download the script to your desktop, then run in the terminal:

cd /home/$USER/Desktop/
chmod +x nitdroid_complete.sh
./nitdroid_complete.sh
That's what I'm doing mate. Gonna give it one more shot and then I think I'm going to admit defeat
 
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#39
Originally Posted by munkimatt View Post
That's what I'm doing mate. Gonna give it one more shot and then I think I'm going to admit defeat
Then ditto to what qole said
 
Posts: 14 | Thanked: 0 times | Joined on Jul 2007 @ Barrow-in-Furness, england
#40
Well it's got further this time, I'm now getting the NITdroid logo up but it's just frozen on the screen...not gonna give up...lol
 
Reply

Tags
android, nitdroid


 
Forum Jump


All times are GMT. The time now is 18:08.