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)

dj_steve 2010-07-06 17:14

Re: [Android] NITDroid V2 Development Topic
 
yes and yes but not yet

e-yes 2010-07-06 18:05

Re: [Android] NITDroid V2 Development Topic
 
Accelerator support (FroYo).

http://slil.ru/29437454
sensors.nokia.so
MD5: 589154a1f7a3ebf3109b9a14fa2a36dc

Copy it to /system/lib/hw. Enjoy!

It's alpha! Eats a lot of cpu time!
Rename file after playing:)

P. S. add
insmod /system/lib/modules/lis302dl.ko to /system/bin/load_modules.sh
(or whatever script that loads modules)

Nokia7Linux 2010-07-06 18:10

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by e-yes (Post 742805)
Accelerator support (FroYo).

http://slil.ru/29437454
sensors.nokia.so
MD5: 589154a1f7a3ebf3109b9a14fa2a36dc

Copy it to /system/lib/hw. Enjoy!

It's alpha! Eats a lot of cpu time!
Rename file after playing:)

Thanks alot

But what do you mean by "Rename file after playing" ?

dj_steve 2010-07-06 18:12

Re: [Android] NITDroid V2 Development Topic
 
he means rename the file to something else after testing ti as it could cause weird problems due to its instability

e-yes 2010-07-06 18:15

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by Nokia7Linux (Post 742813)
But what do you mean by "Rename file after playing" ?

Once tired slow system rename or remove the file sensors.nokia.so

maemosboy 2010-07-06 18:25

Re: [Android] NITDroid V2 Development Topic
 
I'll wait untill you get all new things together and update the first post, but want say hudge thanks dj_steve and e_yes.

Jay-C 2010-07-06 18:55

Re: [Android] NITDroid V2 Development Topic
 
Folks, here's something new to test. Completely rewritten bootmenu, looks a bit like the old, accepts the old config files. Very simple, but does the job.

http://downloads.nitdroid.com/Jay-c/...2.beta3.tar.gz

This will eventually go into my initfs bootloader/rescue system, so testing would be very much appreciated!

Howto install:
- copy over to the device
- cd /
- tar xzvf .../bootmenu2.beta3.tar.gz

There is a README file in /etc/bootmenu.d/. Please read it!

Key commands:

0/enter - boots OS in the flash, usually your Maemo
1..9 - items from /etc/bootmenu.d/<item>
x - poweroff
b - fallback boot (use old init script to boot maemo)
d - test/debug your own boot script /sbin/preinit_debug
s - starts a shell

Enjoy! :D

EDIT: beta2 uploaded 9:08pm 6/7/2010
EDIT: beta3 uploaded 4:49pm 7/7/2010
EDIT: read the README file :eek:

Descalzo 2010-07-06 18:57

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by cpate99 (Post 742722)
Sorry for dumb question, but what will the emmc you aretlking about above do?? This stuff is just interesting to me...

I believe that this refers to mounting the N900's internal memory as an SD card.

dj_steve 2010-07-06 19:12

Re: [Android] NITDroid V2 Development Topic
 
update again folks:

just been busy busy today so not had alot of time to do much BUT
just got my froyo build running WITH full google apps that work.

ill be putting this rootfs up soon oncei ve checked other things

ear0wax 2010-07-06 19:26

Re: [Android] NITDroid V2 Development Topic
 
absolutely no one tell google..... lol.

cpate99 2010-07-06 19:45

Re: [Android] NITDroid V2 Development Topic
 
Ive had no success yet. When the new build is released I will try again. My bootup freezes when loading android.

*Sonic* 2010-07-06 20:30

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by ear0wax (Post 742890)
absolutely no one tell google..... lol.

Gwhoogle ?

geneven 2010-07-06 20:48

Re: [Android] NITDroid V2 Development Topic
 
I installed using Jay-C's menu from #2127. It works! This is my first time in Android. I had to use menu item 3 to get in, though 2 was supposedly Android.

Plus, I just got a 32 gig card in the mail for my N900 and I don't want to install it now that I have androd properly running!

geneven 2010-07-06 21:27

Re: [Android] NITDroid V2 Development Topic
 
I can't get on the Internet. I see from the FAQ that I need to reboot Android to get connected. The only way to reboot I have found so far is to pull the battery, but that doesn't get me on the Net so far. Is there a better way to reboot?

dj_steve 2010-07-06 21:28

Re: [Android] NITDroid V2 Development Topic
 
press power button it will bring up menu

nielsvg 2010-07-06 21:34

Re: [Android] NITDroid V2 Development Topic
 
i installed nitdroid with autoinstaller. i just flashed my phone but when i choose android partition 2 it gets:

getbootstate: invalid selection
choose bootup option:
2) mmc
9) start a shell

but i cannot enter any digits

what do i do?

dj_steve 2010-07-06 21:35

Re: [Android] NITDroid V2 Development Topic
 
try the new bootmenu (look back a page or 2)

nielsvg 2010-07-06 21:37

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by dj_steve (Post 743016)
try the new bootmenu (look back a page or 2)

do you mean this?

http://downloads.nitdroid.com/Jay-c/...2.beta2.tar.gz

This will eventually go into my initfs bootloader/rescue system, so testing would be very much appreciated!

Howto install:
- copy over to the device
- cd /
- tar xzvf .../bootmenu2.beta1.tar.gz

Config files are in /etc/bootmenu.d/<x>.item, in bootmenu compatible format.
New config file /etc/power.conf for configuring CPU power (overclocking).

Also, bootmenu2 can load your kernel modules. Add file <ROOT>/etc/modules.initrd , with the normal /etc/modules format.

Key commands:

0/enter - boots OS in the flash, usually your Maemo
1..9 - items from /etc/bootmenu.d/<item>
x - poweroff
b - fallback boot (use old init script to boot default maemo)
d - test/debug your own boot script /sbin/preinit.debug
s - starts a shell


i can install this easily without removing something i installed with autoinstaller?

DaSilva 2010-07-06 21:45

Re: [Android] NITDroid V2 Development Topic
 
Maybe these steps could be included in the AutoInstaller script!?

nielsvg 2010-07-06 21:45

Re: [Android] NITDroid V2 Development Topic
 
but the link doenst work? what is the correct link?

geneven 2010-07-06 21:49

Re: [Android] NITDroid V2 Development Topic
 
dj_steve: If I press the power button it doesn't bring up a menu. It brings up an Android screen with the sound icon and an unlocked lock.

dj_steve 2010-07-06 21:51

Re: [Android] NITDroid V2 Development Topic
 
new rootfs linked now which has working wifi, thanks to hstende for helping test and fix this :)

::UPDATE TIME:: :)
This will be added to first post tomorrow also

New RootFS: http://downloads.nitdroid.com/NITDro...-Fixed.tar.bz2 | http://files2.nitdroid.com/NITDroid-...-Fixed.tar.bz2
Kernel Required: 2.6.28.NIT.02(http://downloads.nitdroid.com/Jay-c/....NIT.02.tar.gz | http://files2.nitdroid.com/zImage-2.6.28.NIT.02.tar.gz)
Kernel Modules Required For Maemo: 2.6.28.NIT.02(http://downloads.nitdroid.com/Jay-c/....NIT.02.tar.gz | http://files2.nitdroid.com/modules-2.6.28.NIT.02.tar.gz)
Recommended Additional Items: Beta3 Bootmenu but Jay-C: http://downloads.nitdroid.com/Jay-c/...2.beta3.tar.gz | http://files2.nitdroid.com/bootmenu2.beta3.tar.gz


Their is a small howto below for getting this running as it is not as simple as previous roots due to Google APPs

--CHANGELOG--
Froyo(2.2) Based
Battery Reporting Broken Currently
FULL GOOGLE APPS INCLUDING MARKET THAT CAN DOWNLOAD/INSTALL THINGS
Calibrated Touchscreen driver (Thanks again Jay-C)
Flash Player IS NOT included by default but should be downloadable from http://www.adobe.com/go/getfp10android after activating device with google account (to enable market access)

All in all this is VERY stable, google apps give no reduction in speed nor do they crash (except once at first boot- see below)

ok now for the howto:

All these steps should be performed on N900
Start off with a open xterm window at root shell or an open ssh connection(ssh is easier to typ in)

1. Install new bootmenu if you chose to use it (highly recommended)

Code:

cd /
wget http://downloads.nitdroid.com/Jay-c/bootmenu2.beta3.tar.gz
tar xzvf bootmenu2.beta3.tar.gz
rm bootmenu2.beta3.tar.gz

2. Download And Install new Kernel Modules
Code:

cd /lib/modules
wget http://downloads.nitdroid.com/Jay-c/modules-2.6.28.NIT.02.tar.gz
tar xzvf modules-2.6.28.NIT.02.tar.gz
rm modules-2.6.28.NIT.02.tar.gz
rm current
ln -fs 2.6.28.NIT.02 current
depmod -a 2.6.28.NIT.02

3. Mount your android partition and install rootfs (this will wipe out previous data so backup anything you want)
Code:

cd /
mkdir and
mount -o noatime,rw /dev/mmcblk1p2 /and
cd /home/user/MyDocs
wget http://downloads.nitdroid.com/NITDroid-N900-0.0.5-1FroYo-GAPPS-Fixed.tar.bz2
bzip2 -d NITDroid-N900-0.0.5-1FroYo-GAPPS-Fixed.tar.bz2
cd /and
tar xvf /home/user/MyDocs/NITDroid-N900-0.0.5-1FroYo-GAPPS-Fixed.tar
cd ..
umount /and
rmdir /and

4. flash new kernel:
Code:

cd /home/user/MyDocs
wget http://downloads.nitdroid.com/Jay-c/zImage-2.6.28.NIT.02.tar.gz
tar xzvf zImage-2.6.28.NIT.02.tar.gz
rm System.map-2.6.28.NIT.02

** open up a second xterm window as root and run this **
Code:

softupd -vv -s --local
** switch back to other xterm and continue **
Code:

flasher --local -f -k /home/user/MyDocs/zImage-2.6.28.NIT.02
close both xterm windows once flash completes.

thats the install done. now reboot into your new os :)

few things to mention about this build:

1. On first boot you will get a prompt of what to use to do something, pick setupwizard
2. it will take a short while for device to load far enough to select the item above so be patient
3. once into setup wizard click skip > skip and next all the way. then when it loads up the add account wizard skip that also.
4. SetupWizard will now crash, click close and the android desktop will return.
5. Go setup your wifi (will very likely require a reboot to work)
6. once wifi is up go into market app and wait, the add accoutn wizard will appear and you can now continue through and setup your google account. once it is setup wait and the market will load after a short time


hopefully this is nice and clear and simple :)

sorry for mega post again

dj_steve 2010-07-06 21:52

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by geneven (Post 743034)
dj_steve: If I press the power button it doesn't bring up a menu. It brings up an Android screen with the sound icon and an unlocked lock.

sorry hold power button :)

dj_steve 2010-07-06 21:53

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by nielsvg (Post 743017)
do you mean this?

http://downloads.nitdroid.com/Jay-c/...2.beta2.tar.gz

This will eventually go into my initfs bootloader/rescue system, so testing would be very much appreciated!

Howto install:
- copy over to the device
- cd /
- tar xzvf .../bootmenu2.beta1.tar.gz

Config files are in /etc/bootmenu.d/<x>.item, in bootmenu compatible format.
New config file /etc/power.conf for configuring CPU power (overclocking).

Also, bootmenu2 can load your kernel modules. Add file <ROOT>/etc/modules.initrd , with the normal /etc/modules format.

Key commands:

0/enter - boots OS in the flash, usually your Maemo
1..9 - items from /etc/bootmenu.d/<item>
x - poweroff
b - fallback boot (use old init script to boot default maemo)
d - test/debug your own boot script /sbin/preinit.debug
s - starts a shell


i can install this easily without removing something i installed with autoinstaller?

check this post : http://talk.maemo.org/showpost.php?p...postcount=2142 nice easy howto :)

giannoug 2010-07-06 22:09

Re: [Android] NITDroid V2 Development Topic
 
New rootfs etc is also uploaded on the mirror :)

http://files2.nitdroid.com/

*Sonic* 2010-07-06 22:11

Re: [Android] NITDroid V2 Development Topic
 
Quick question Steve, does the above (post 2142) install instructions assume you already have Android installed ? or sd card setup etc prior

dj_steve 2010-07-06 22:14

Re: [Android] NITDroid V2 Development Topic
 
it assumes sd is configured previous that is all, it also assumes your not in r&d mode

kingoddball 2010-07-06 22:17

Re: [Android] NITDroid V2 Development Topic
 
Hi Steve,
I take it that the files I dumped helped with the Google Marketplace? :D

dj_steve 2010-07-06 22:21

Re: [Android] NITDroid V2 Development Topic
 
yep along with info dragged off my old g1

kingoddball 2010-07-06 22:27

Re: [Android] NITDroid V2 Development Topic
 
Excellent!
Seems like the NITdroid build is better than the Sony Ericsson build!
I'm having paid/protected marketplace app issues.. Can't view/download many, many protected and paid apps..

maxximuscool 2010-07-06 22:28

Re: [Android] NITDroid V2 Development Topic
 
can this work on a desktop as a virtual desktop?

dj_steve 2010-07-06 22:29

Re: [Android] NITDroid V2 Development Topic
 
id expect that on nitdroid it likely hasnt got the drm folders android wants, but it should be good for free apps

dj_steve 2010-07-06 22:29

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by maxximuscool (Post 743078)
can this work on a desktop as a virtual desktop?

not sure what you mean

Dousan 2010-07-06 22:33

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by dj_steve (Post 743065)
it assumes sd is configured previous that is all, it also assumes your not in r&d mode

So what to do when in RnD mode, wich i'm in to boot nitdroid?

dj_steve 2010-07-06 22:38

Re: [Android] NITDroid V2 Development Topic
 
disable rnd using pc flasher..
Code:

flasher-3.5 --disable-rd-mode -R

Nipperoid 2010-07-06 22:52

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by dj_steve (Post 743038)
::UPDATE TIME:: :)
mega post

do we do all this on the device?

maxximuscool 2010-07-06 22:58

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by dj_steve (Post 743080)
not sure what you mean

I meant, if I want to install this on my computer instead of on my N900, is it possible? I want to test it out before moving to my n900 :)

So if i install this on my N900, will it erase my already Maemo5 OS and settings? If I install it on to my memory card that is. I want to dual boot but without eleminate my old OS.

Nipperoid 2010-07-06 23:01

Re: [Android] NITDroid V2 Development Topic
 
Quote:

cd /
wget http://downloads.nitdroid.com/Jay-c/...2.beta2.tar.gz
tar xzvf bootmenu2.beta2.tar.gz
rm bootmenu2.beta2.tar.gz
if i put the files in MyDocs/nt

then run it like

cd /
tar xzvf /home/user/MyDocs/nt/bootmenu2.beta2.tar.gz

would this work?

dj_steve 2010-07-06 23:03

Re: [Android] NITDroid V2 Development Topic
 
nitdroid built to dual boot so no it wont wipe out os, just wipe the contents of microsd.

Heman1310 2010-07-06 23:03

Re: [Android] NITDroid V2 Development Topic
 
Steve, how do i mount my android partition? :D


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

vBulletin® Version 3.8.8