maemo.org - Talk

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

6sicSIX 2010-06-08 10:20

Re: [Android] NITDroid V2 Development Topic
 
Erm I have another noob question, shall I start a new thread or does one exist already?

CrckMc 2010-06-08 12:08

Re: [Android] NITDroid V2 Development Topic
 
1 Attachment(s)
i have copy&pasted a install script which does almost all the steps from page 30. You only have to get your bluetoothmac and the devicenode (ex. /dev/sde/ ) of your sd card on the pc.

to find out the dev node i use gparted. it has a nice gui and it lists all available devices with their devnode and size (so you don't pick the hdd ;) )
to find out your bt mac just use the command on page 30 or look under phone information in settings.

the script needs two parameters:
1. dev node
2. bt mac
and also the latest rootfs from DJ_steve (page:72) and kernel from page (30)

then just put everything in the directory where you extracted the script and start it like "sudo ./myscript.sh sdf 03ffca2228" where sdf is the dev node and 03ff... is your mac

so it formats the device sdf and edits the file with the bt mac.

EDIT #2: I forgot to mention that you have to flash Dj_steves kernel manually( ! ) it can be built in the script but i think it is not necessary.


DISCLAIMER:
i tried it on my pc and it worked, but i can not guarantee that it won't screw something up. so as always: USE AT YOUR OWN RISK.

if you try it please let me know if it works for you, thanks.

dj_steve 2010-06-08 16:55

Re: [Android] NITDroid V2 Development Topic
 
sweet that looks helpful :)


Quote:

Originally Posted by CrckMc (Post 705267)
i have copy&pasted a install script which does almost all the steps from page 30. You only have to get your bluetoothmac and the devicenode (ex. /dev/sde/ ) of your sd card on the pc.

to find out the dev node i use gparted. it has a nice gui and it lists all available devices with their devnode and size (so you don't pick the hdd ;) )
to find out your bt mac just use the command on page 30 or look under phone information in settings.

the script needs two parameters:
1. dev node
2. bt mac
and also the latest rootfs from DJ_steve (page:72) and kernel from page (30)

then just put everything in the directory where you extracted the script and start it like "sudo ./myscript.sh sdf 03ffca2228" where sdf is the dev node and 03ff... is your mac

so it formats the device sdf and edits the file with the bt mac.

EDIT #2: I forgot to mention that you have to flash Dj_steves kernel manually( ! ) it can be built in the script but i think it is not necessary.


DISCLAIMER:
i tried it on my pc and it worked, but i can not guarantee that it won't screw something up. so as always: USE AT YOUR OWN RISK.

if you try it please let me know if it works for you, thanks.


6sicSIX 2010-06-08 17:25

Re: [Android] NITDroid V2 Development Topic
 
Will the script work if fdisk doesn't? I just get cannot open /dev/sdd

dj_steve 2010-06-08 17:37

Re: [Android] NITDroid V2 Development Topic
 
you need to find the device node of your mem card

6sicSIX 2010-06-08 17:44

Re: [Android] NITDroid V2 Development Topic
 
oh, Is /dev/sdd not it then? It says it is in gparted and dmesg..

CrckMc 2010-06-08 18:13

Re: [Android] NITDroid V2 Development Topic
 
maybe it is mounted? try umount /dev/sdd or unmount in your filemanager

6sicSIX 2010-06-08 18:18

Re: [Android] NITDroid V2 Development Topic
 
I'm pretty sure that it wasn't, but i'll try again when I get home. Thanks.
By the way, how does that script partition the MicroSD? Also, has anyone tried it yet?

CrckMc 2010-06-08 18:22

Re: [Android] NITDroid V2 Development Topic
 
i think only i tried it but it should do the steps described in page 30 and parses fdisk the list of commands. you can also open up the script in a editor and look what it does.

kingoddball 2010-06-09 00:22

Re: [Android] NITDroid V2 Development Topic
 
The steps on pg30 are simple anyhow.
Use 'GParted' on linux (ubuntu/debian/mint and others). You can even use GParted on N900.

michalurban 2010-06-09 03:31

Re: [Android] NITDroid V2 Development Topic
 
Its /dev/mmcblk1 on my N900 for the device and /dem/mmcblk1p1 for first partiton (second partiton p2 ... etc)

el95090 2010-06-09 08:45

Re: [Android] NITDroid V2 Development Topic
 
How you should roll-back to maemo after flashing android?
Any procedure

CrckMc 2010-06-09 12:21

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by el95090 (Post 706789)
How you should roll-back to maemo after flashing android?
Any procedure

extract the original zImage from PR 1.2 image


Code:

flasher-3.5 -F RX-51_2009SE_10.2010.19-1_PR_COMBINED_MR0_ARM.bin -u
and then flash the original kernel

i think like

Code:

flasher-3.5 -k zImage -f -R

dj_steve 2010-06-09 12:24

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by CrckMc (Post 707078)
extract the original zImage from PR 1.2 image


Code:

flasher-3.5 -F RX-51_2009SE_10.2010.19-1_PR_COMBINED_MR0_ARM.bin -u
and then flash the original kernel

i think like

Code:

flasher-3.5 -k zImage -f -R

or just do

Code:

flasher-3.5 -f -F RX-51_2009SE_10.2010.19-1_PR_COMBINED_MR0_ARM.bin --flash-only=kernel -R

Magik 2010-06-09 13:32

Re: [Android] NITDroid V2 Development Topic
 
My first post in this threat. Just wanted to tell all dev's: Thanks!

Quote:

ok folks what should i work on next ... dont say phone because kit going to be a challenge
Maybe sound, android market and then phone? :)

ac007 2010-06-09 14:27

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by dj_steve (Post 702307)
ok youtube video http://www.youtube.com/watch?v=Cn4hAjIczAI . may take a bit to process before its watchable though

edit: rootfs will be available at http://www.loadsofspace.net/NITDroid...WiFi-N900.tbz2 in about 2 hours or so - instructions and kernel on page 30 will run it

hii dj_steve you are awesome man,..btw i'd really curious about instaling NitDroid onto my N900 device, i've been tried to follow your instruction in the http://talk.maemo.org/showthread.php?t=49811&page=30 and using this rootfs file on the the http://talk.maemo.org/showthread.php?t=49811&page=72, but i always failed and getting a freeze screen which mean the bootloader is in R&D mode.....would you help to solve this problem? i mean i need your guide step by step on howto correctly install this stuff,...thanks!!

dj_steve 2010-06-09 14:28

Re: [Android] NITDroid V2 Development Topic
 
if you pay a trip to the irc room ill help out

ac007 2010-06-09 14:31

Re: [Android] NITDroid V2 Development Topic
 
ok, i'll installing irc client first on my pc now,...which server and channel dj??

ac007 2010-06-09 15:45

Re: [Android] NITDroid V2 Development Topic
 
i repeated all step and get the blank screen said,

VPS:cannot open root device "b302" or unknown-block(179.2)
please append a correct "root=" boot option, here are the available partition:
b300 3870720 mmcblk0 driver :mmcblk
b301 3870712 mmcblk0p1
b308 31264768 mmcblk1p1
b309 28315648 mmcblk1p1
b30a 2097152 mmcblk1p2
b30b 786432 mmcblk1p3
kernel panic - not syncing:VPS:unable to mount root fs on unknown-block(179.2)


is there any body could help me with this problem???

6sicSIX 2010-06-09 18:00

Re: [Android] NITDroid V2 Development Topic
 
Thats the same error i got, i'm going to try again later tonight.
Stupid computer operator errors lol

touchtop 2010-06-10 11:49

Re: [Android] NITDroid V2 Development Topic
 
hi,dj and everyone
i installed the nitdroid on my N800,it's runing ok,but,how can i intsll applictions?when i clicked the apk files in astro,it always says out of space,
what should i do?thanks for your help

dj_steve 2010-06-10 11:51

Re: [Android] NITDroid V2 Development Topic
 
it shouldn say out of space, unless your using a very small sd card, other way to install is to copy apks into the /system/app folder and android will auto install them

e-yes 2010-06-10 15:27

Re: [Android] NITDroid V2 Development Topic
 
Proud to announce that we have wi-fi working on Android Eclair.

for everyone, who uses rootfs from post #732 (android7.tar.gz)
without 'wifi-happiness':
edit init.nokia.rc file, line started service wpa_supplicant (and next few lines), it should look like:
Code:

service wpa_supplicant /system/bin/wpa_supplicant -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf -dd -K -Dwext
    group wifi inet
    disabled
    oneshot

Known issue: random MAC-address: just disable MAC filter on AP.

Successful (or not) reports will be useful. Reports from category 'or not' will be useful with boot.log attached (from android root).

airjaff 2010-06-10 15:34

Re: [Android] NITDroid V2 Development Topic
 
when is this software predictied to be downloaded to the mass public?

dj_steve 2010-06-10 15:53

Re: [Android] NITDroid V2 Development Topic
 
1 Attachment(s)
worked after 2 reboots (wifi i mean)

boot log attached for ya e-yes

Reffyyyy 2010-06-10 16:36

Re: [Android] NITDroid V2 Development Topic
 
I'm getting "permission denied" in the opening console. Probably did something wrong.

dj_steve 2010-06-10 16:38

Re: [Android] NITDroid V2 Development Topic
 
where at lol

Reffyyyy 2010-06-10 16:40

Re: [Android] NITDroid V2 Development Topic
 
Cannot execve (/system/bin/mediaserver) : permission denied
Cannot execve (/system/bin/dbus-daemon) : permission denied

???

lol

dj_steve 2010-06-10 16:43

Re: [Android] NITDroid V2 Development Topic
 
def permissions lol try chmod 777 /system/bin/*

also for everyone not following me on youtube heres a video i did couple hours back (first of 3 ill have to upload tonight :) )

http://www.youtube.com/watch?v=nuwzL884J8I - still processing so be patient

Nipperoid 2010-06-10 16:55

Re: [Android] NITDroid V2 Development Topic
 
steve its looking better by the day!

i cant wait until this gets even better

dj_steve 2010-06-10 16:56

Re: [Android] NITDroid V2 Development Topic
 
howto video is gettin uploaded tonight to but it'll be 2 videos (18min long lol)

Reffyyyy 2010-06-10 17:07

Re: [Android] NITDroid V2 Development Topic
 
Ok, it's working now. Is it possible to mount the N900 internal storage in this version?

dj_steve 2010-06-10 17:08

Re: [Android] NITDroid V2 Development Topic
 
i dont think it has the file to do it no

Mateus 2010-06-10 17:12

Re: [Android] NITDroid V2 Development Topic
 
I am stucked @install Maemo SDK :/ WHERE to install it? :o What is .sh extension? :confused:

juandp77 2010-06-10 17:38

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by e-yes (Post 708949)
Proud to announce that we have wi-fi working on Android Eclair.

for everyone, who uses rootfs from post #732 (android7.tar.gz)
without 'wifi-happiness':
edit init.nokia.rc file, line started service wpa_supplicant (and next few lines), it should looks like:
Code:

service wpa_supplicant /system/bin/wpa_supplicant -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf -dd -K -Dwext
    group wifi inet
    disabled
    oneshot

Known issue: random MAC-address (please confirm): disable MAC filter on AP.

Successful (or not) reports will be useful.

wifi works fine for me, what about the sd notification? could you do something

dj_steve 2010-06-10 18:01

Re: [Android] NITDroid V2 Development Topic
 
the sd notification is because the mounting of sd/emmc is not setup properly yet]

Reffyyyy 2010-06-10 18:05

Re: [Android] NITDroid V2 Development Topic
 
Wi-fi working fine after a reboot.

Also, it's WPA.

dj_steve 2010-06-10 18:07

Re: [Android] NITDroid V2 Development Topic
 
thats 2 :) im uploading last video of howto now, then just gotta edit the descriptions and sorted :)

dj_steve 2010-06-10 20:58

Re: [Android] NITDroid V2 Development Topic
 
UPDATE TIME:

this rootfs is eclair the how-to videos were done before wifi was fixed for eclair

ok to keep up with the recent changes and progress i decided to put up new rootfs and kernel images and also a howto video is now on youtube.


links to files are below as are youtube links:

files:
http://www.loadsofspace.net/NITDroid...lair-WiFi.tbz2
http://www.loadsofspace.net/zImage-0.0.3

youtube videos:
part 1:
http://www.youtube.com/watch?v=V7YPDufJc88
part 2:
http://www.youtube.com/watch?v=hbjJ6_uarmA

flasher command needed is :

Code:

flasher-3.5 --enable-rd-mode --set-rd-flags=no-lifeguard-reset,no-ext-wd -f -k zImage-0.0.3 -R
edit: changed RootFS link to newer version, added below changelog for 0.0.3-1

ChangeLog For 0.0.3-1 Release
Battery Reporting is partially working, inaccurate and potentially totaly wrong but it should be accurate enough to give you a rough idea of battery.

added few apps which are listed below:
AndAppStore
SlideMe AppStore
Twidget Lite (Twitter Widget)
E-Buddy IM
AndChat IRC Client
Snake Demo Game (nokia retro gaming at its best ! )

eMMC Mounting May Work this is so far untested

maxximuscool 2010-06-10 21:14

Re: [Android] NITDroid V2 Development Topic
 
Good work guys. But when will we see any Android 2.1 dual boot?


All times are GMT. The time now is 13:06.

vBulletin® Version 3.8.8