maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Android] NITDroid V2 Help/Tutorial Topic - Updated (https://talk.maemo.org/showthread.php?t=56524)

dj_steve 2010-06-29 17:47

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
answers are in bold inside your quote :)

Quote:

Originally Posted by tuzk (Post 734389)
Hi,
I have few questions and I'm sorry if this is wrong section to put them up, this seemed to be the one to me.


Q; If i install NITDroid, is there a chance to brick my device?
no, the n900 is near enough impossible to brick as it can always be recovered using flasher. only major system edit is flashing the nitdroid kernel anyway, other than that all edits are confined to memory card

Q; Is the "brick" revertable? If yes, how?
flasher can flash back to stock maemo kernel


Q; If newer version of NITDroid get released, I have to format my SD to get rid of the old one and re-apply the procedure to install it?
usually requires a reformat of just the ext3 partition on mem card to update

Thanks and sorry if this is wrong section once more. :)


tuzk 2010-06-29 17:59

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Thank you Steve,
Your answers are very clear and now I can install NITDroid without doubt.

I admire your hard work and effort on this project.

dj_steve 2010-06-29 19:02

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
ok anyone feeling brave today want to test a autoinstaller script ? should be safe but also possible it could screw up maemo to point of needin a reflash. need testers tho

ToJa92 2010-06-29 19:09

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Quote:

Originally Posted by dj_steve (Post 734470)
ok anyone feeling brave today want to test a autoinstaller script ? should be safe but also possible it could screw up maemo to point of needin a reflash. need testers tho

Do you want to deprecate my instructions already? Just kidding ;)

I'll try it, just joined on IRC :)

bunanson 2010-06-29 19:24

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Quote:

Originally Posted by dj_steve (Post 734470)
ok anyone feeling brave today want to test a autoinstaller script ? should be safe but also possible it could screw up maemo to point of needin a reflash. need testers tho

YES, I am brave, show me :) , I'll be your tester,

bun

dj_steve 2010-06-29 19:25

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
http://downloads.nitdroid.com/Autoin...r/installer.sh

run in rootsh and chmod +x installer.sh before ya try :)

dj_steve 2010-06-29 19:28

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
run ./installer <size> where size is the size you want fat32 partition to be eg. ./installer.sh 2048 would make 2048mb fat32

Pavol 2010-06-29 20:07

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
permission denied
sudo gainroot
chmod +x installer.sh
./installer.sh

dj_steve 2010-06-29 20:08

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
that should work aslong as you change perms first move it to a linux partition too (mv installer.sh /

Pavol 2010-06-29 20:11

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
ok, thanks

Ugly-Wan 2010-06-29 20:15

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
okay i don't want to sound stupid but is "NITDroid-N900-0.0.4-2.tbz2 " froyo or do i need to use "nitdroid-0.0.4-1-froyo.tar.bz2"

dj_steve 2010-06-29 20:17

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
all the 0.0.4 is froyo

Ugly-Wan 2010-06-29 20:21

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Thank you i wanted to be sure

hstende 2010-06-29 20:45

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
I'm trying the installer script now.
It comes to the flasher part
Looks lie it hangs on the flasher part.


unmounting android partition
umount: cannot umount /and: Device or resource busy
rmdir: '/and': Device or resource busy
Preparing to flash Kernel
Version 0.4.4 started
Waiting for messages

dj_steve 2010-06-29 20:47

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
yep thats a crash, i dont think kernel world work neway as i dontthink its possible to active r&d on device, a better ver of the script is being worked on though

hstende 2010-06-29 21:20

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
After running the script that stopped with the flashing, I did a flash from my pc with:
flasher-3.5 --enable-rd-mode --set-rd-flags=no-lifeguard-reset,no-ext-wd -f -k NIT-zImage -R

I had to create the bootmenu file. It wasn't created with the script.
Android came up on first boot. I thought I saw something about it had to reboot a couple of times before it would start....
The wifi worked and connected to my WLAN.
I tried youtube but always got the message cannot play video...

dj_steve 2010-06-29 21:22

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
yea youtubeis slightly dodgy, builds not perfect but good to see the main part works - as i said theirs an edited ver coming soon

ToJa92 2010-06-29 22:07

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Announcing...
NITDroid Auto installer!

DJ_Steve has now written a script, which is now in a usable state.
(I made a few edits to make it work though)

Please read the entire post before doing anything.

NOTES:

Note about flashing, here's how to install flasher(on Windows):
Quote:

Originally Posted by ToJa92
Now, you should download Flasher. Go here and download maemo_flasher-3.5_2.5.2.2.exe. Run it, and install the flasher to a path without spaces. A valid name would be "C:\Maemo\", a non-valid name would be "C:\Program files\Maemo".

Short instructions:
(Commands are quoted, you should not type the quotes however)
  • Enable extras-devel
  • Open App manager, install rootsh
  • Open Xterm, type "root" then "cd /"
  • Now type "apt-get install wget"
  • Then type "wget http://downloads.nitdroid.com/autoinstaller/installer.sh"
  • Then you need to type "chmod 777 installer.sh"
  • At last, type "./installer.sh <size of FAT32 partition in MB>"
  • Read warnings in terminal, and wait!
  • Flash
  • Reboot with keyboard slid out
  • Choose the "Android" item
  • (Hopefully) Enjoy NITDroid.

Now, if you're happy with NITDroid and want to aid development, please consider donating:

Please feel free to donate to my(DJ_Steve's) work - GBP Donate(£)/USD($) Donate

PS: this post is made on behalf of DJ_Steve
PS#2: Hope you aren't annoyed with the colored title text :D

IzzehO 2010-06-30 00:50

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
./installer.sh gives the error:
-sh: ./installer.sh: not found
(For the record, its there.. and I even opened in leafpad and changed an error in the script)

If I don't apply chmod 777 I simply get a Permission Denied error. What on Earth is going on :S

"sh installer.sh" also doesn't work, echos the first few lines then gives a crapload of errors

bunanson 2010-06-30 01:16

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Quote:

Originally Posted by ToJa92 (Post 734671)
Announcing...
NITDroid Auto installer!
...[*]Flash
...

I read the post, have some questions about the part Flash.

1) mind to post the link for the latest image, http://downloads.nitdroid.com/Autoin...-zImage-latest or http://newsycat.com/android/n900/zImage-0.0.3-a ?
2) I have a windowXP box. I also have a linux Mint box, which one is less prone to fail? I am a windowXP boy :)

Edit: I take a look at the script, apparantly all the files need to be flashed will be dl and stored in MyDocs. Do I just flash the 3 files from MyDocs will take care of it?

TIA,

bun

tom047 2010-06-30 02:52

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
guys i had to post somewhere but didnt wanna clutter the dev thread. not really needing help (yet) because havent had the time, or drive, really, to install android to my phone.

having said that, i want to give the most incredible amount of kudos to all the lads behind this project (and ladies, if there are any?)
im not that aware of who is heavily involved (only a couple of really obvious names like djsteve and e-yes stick out) but im sure there are loads of people helping out (such as toja with his guide above).

to all you guys (apologies to the ones i havent mentioned because im sure there are heaps of you:( ), thanks a hell of a lot. not only are you doing a massive, incredible thing for the community, youre also supporting people who may not have the same experience you do. pretty rare to find a community of people who are that willing to help out other members. again sorry for cluttering up this thread with a semi-irrelevant post but i had to say it. i appreciate all the time effort and hard work that has gone into this project and its one of those things that makes me so glad i chose the n900.

cheers guys, keep up the fantastic work, were all loving it so far :)

F2thaK 2010-06-30 04:18

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
great work guys, silly Q:

does the phone work?

Edit: no

wifi does! (after a few boots)

plus the net is fast!

edit: I go to play music, but it says i have no sd card?

i really dont like having to use the keyboard 'up' button to close apps either

ToJa92 2010-06-30 06:25

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Quote:

Originally Posted by bunanson (Post 734841)
I read the post, have some questions about the part Flash.

1) mind to post the link for the latest image, http://downloads.nitdroid.com/Autoin...-zImage-latest or http://newsycat.com/android/n900/zImage-0.0.3-a ?
2) I have a windowXP box. I also have a linux Mint box, which one is less prone to fail? I am a windowXP boy :)

Edit: I take a look at the script, apparantly all the files need to be flashed will be dl and stored in MyDocs. Do I just flash the 3 files from MyDocs will take care of it?

TIA,

bun

Just run the script, then you will need to flash zImage manually as I wrote in my previous post.

This is what you want to flash via your computer: http://downloads.nitdroid.com/Autoin...-zImage-latest
It's only the kernel so it's small. Also take a look at the flashing section in my guide, you'll need to add a few commands

Omega180984 2010-06-30 06:54

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
i downloaded the autoinstaller.sh and give 777 rights.
autoinstaller.sh have -rwxrwxrwx rigts now.
But if i start the script with "./ autoinstaller.sh 128" the shell give me out "-sh: ./: Permission denied"
what is the problem?

mfg

dj_steve 2010-06-30 08:28

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
you have a space between ./ and the file command should be like below

Code:

./installer.sh

Omega180984 2010-06-30 09:01

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
if i type without space it show me:
-sh: ./installer.sh: not found :(

PS: i have the installer.sh in / where ist the bin or etc Folder, thats correct or?

dj_steve 2010-06-30 09:03

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
try this >

Code:

/bin/ash /installer.sh

Omega180984 2010-06-30 09:04

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Quote:

try this >

Code:

/bin/ash /installer.sh

your my hero, thanks, it works ;)


EDIT, after he show the warned message it shown a error.

: not foundsh: line 18:

dj_steve 2010-06-30 09:10

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
try opening the fiile in nano or something and find out whats on line 18 (dont include blank lines)

6sicSIX 2010-06-30 09:25

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Erm.. I'm sorry if this has been answered already but, When android boots and the wallpaper appears no icons appear and the menu bar isn't there either. It used to start working when I pressed sym&shift but now nothing...

ToJa92 2010-06-30 09:33

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Quote:

Originally Posted by 6sicSIX (Post 735148)
Erm.. I'm sorry if this has been answered already but, When android boots and the wallpaper appears no icons appear and the menu bar isn't there either. It used to start working when I pressed sym&shift but now nothing...

Press the Ctrl button a couple of times, it should "come back".

6sicSIX 2010-06-30 09:42

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
I've tried that too and nothing happens at all.. Except holding the power button I get the status menu.. =/ I think I remember someone having the same problem and deleting the contents of a certain folder helped, but I can't find the post grrr

Omega180984 2010-06-30 10:00

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
this is line 18: "read -p "Press any key to Continue or CTRL-C to terminate Script" msg"

if i continue the script it show me:

Quote:

not foundsh: line 18:
Press any key to Continue or CTRL-C to Terminate Script
: bad variable name: line 19: msg
:not foundsh: line 20:
:not foundsh: line 21: clear
:not foundsh: line 22:
OK, so you must be the brave one. Continuing installation...
/installer.sh: line 141: syntax error: end of file unexpected (expecting "then")
line 141 doesn't exist and the "then" is line 25 and not 141

avinashsonee 2010-06-30 10:10

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Quote:

Originally Posted by Omega180984 (Post 735191)
this is line 18: "read -p "Press any key to Continue or CTRL-C to terminate Script" msg"

if i continue the script it show me:



line 141 doesn't exist and the "then" is line 25 and not 141

i get the same error

IzzehO 2010-06-30 10:33

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Same as above. Even doing all the steps in the script manually I couldn't get the damned thing to work. Ah well.

6sicSIX 2010-06-30 10:53

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
I just reformatted and extracted back to MicroSD.. All good now :)

IzzehO 2010-06-30 11:27

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Well. I officially give up.... 4 different MicroSD cards, 3 different Android version, 2 different computers, 2 different kernels, 3 different installation guides, 3 different formatting programs...

and still.... not working.

dj_steve 2010-06-30 11:29

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
ill let TOJa have a look at those errors as he heavily edited script to get it working ;)

ToJa92 2010-06-30 11:33

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Would be great if one of you with errors could join #NITDroid-help @freenode, you can use the web irc client, here: http://nitdroid.com/index.php?title=Irc
Please note I'm not in there yet, you'll probably have to wait an hour or two, but you can just keep it open and do something else while you wait :)

EDIT: A newer version of the installer is available from the same url: http://downloads.nitdroid.com/autoin...r/installer.sh

ivsu 2010-06-30 15:34

Re: [Android] NITDroid V2 Help/Tutorial Topic
 
Very good job!
I'm doing the process now and seems to be perfect. This is the best way to port Android to the N900.
Thanks!


All times are GMT. The time now is 17:11.

vBulletin® Version 3.8.8