maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Android (https://talk.maemo.org/forumdisplay.php?f=54)
-   -   [Android] Guide to getting NITdroid to run. (https://talk.maemo.org/showthread.php?t=25736)

munkimatt 2009-01-10 16:56

Re: Guide to getting NITdroid to run.
 
Yes I keep trying to do that but it keeps comign up command not found, very confusing

jakemaheu 2009-01-10 17:59

Re: Guide to getting NITdroid to run.
 
Quote:

Originally Posted by munkimatt (Post 256159)
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

munkimatt 2009-01-10 18:16

Re: Guide to getting NITdroid to run.
 
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?

jakemaheu 2009-01-10 19:37

Re: Guide to getting NITdroid to run.
 
Quote:

Originally Posted by munkimatt (Post 256182)
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.

munkimatt 2009-01-12 20:58

Re: Guide to getting NITdroid to run.
 
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.

Quote:

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.

qole 2009-01-12 21:45

Re: Guide to getting NITdroid to run.
 
Wow, I've never seen a script echo every line to the console like that. Weird!

BrentDC 2009-01-12 21:48

Re: Guide to getting NITdroid to run.
 
Hey, download the script to your desktop, then run in the terminal:

cd /home/$USER/Desktop/
chmod +x nitdroid_complete.sh
./nitdroid_complete.sh

munkimatt 2009-01-12 21:52

Re: Guide to getting NITdroid to run.
 
Quote:

Originally Posted by BrentDC (Post 256976)
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 :o

BrentDC 2009-01-12 21:54

Re: Guide to getting NITdroid to run.
 
Quote:

Originally Posted by munkimatt (Post 256977)
That's what I'm doing mate. Gonna give it one more shot and then I think I'm going to admit defeat :o

Then ditto to what qole said :o

munkimatt 2009-01-12 22:15

Re: Guide to getting NITdroid to run.
 
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


All times are GMT. The time now is 03:03.

vBulletin® Version 3.8.8