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)

nielsvg 2010-06-17 17:48

Re: [Android] NITDroid V2 Development Topic
 
i formatted my mem card after i installed with steven nitdroid on it but now when i format it it only has 6MB free?

dj_steve 2010-06-17 17:48

Re: [Android] NITDroid V2 Development Topic
 
im assuming you want to return card to standard one partition layout ?

nielsvg 2010-06-17 17:49

Re: [Android] NITDroid V2 Development Topic
 
yes how do i do that?

dj_steve 2010-06-17 17:51

Re: [Android] NITDroid V2 Development Topic
 
redo fdisk and run o (for clean partition table) then n,p,1,enter,enter,t,1,c,w and then format it

nielsvg 2010-06-17 17:51

Re: [Android] NITDroid V2 Development Topic
 
in vmware?

dj_steve 2010-06-17 17:52

Re: [Android] NITDroid V2 Development Topic
 
yep

remeber sudo :)

nielsvg 2010-06-17 17:53

Re: [Android] NITDroid V2 Development Topic
 
yes thanks a lot steven without your help i would have screwed up my phone.

dj_steve 2010-06-17 17:54

Re: [Android] NITDroid V2 Development Topic
 
cud of sworn you did once already niel lol joking

nielsvg 2010-06-17 18:00

Re: [Android] NITDroid V2 Development Topic
 
thanks it worked

nielsvg 2010-06-17 18:01

Re: [Android] NITDroid V2 Development Topic
 
hehe not really always thought that i screwed up my phone but it always came back after flash:) never paniced;)

lifenexus 2010-06-17 18:11

Re: [Android] NITDroid V2 Development Topic
 
ok i need help now again. its abt the app store. i tried all i could still i get out of space. i reformatted and reinstalled around 4 times now. ive changed the permissions of /data and /system/app (chmod 777) i also tried -R 777 and still no luck. i have a 4gb card and partitioned abour 260mb for fat and the rest ext. also i dont have some "problems" like some. my first android boot happens instantly and does not take a long time. my app store update also happens in a few mins. (i, being in india, dont have a very fast connection)

dj_steve 2010-06-17 18:14

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by lifenexus (Post 719570)
ok i need help now again. its abt the app store. i tried all i could still i get out of space. i reformatted and reinstalled around 4 times now. ive changed the permissions of /data and /system/app (chmod 777) i also tried -R 777 and still no luck. i have a 4gb card and partitioned abour 260mb for fat and the rest ext. also i dont have some "problems" like some. my first android boot happens instantly and does not take a long time. my app store update also happens in a few mins. (i, being in india, dont have a very fast connection)

quick quote from my post few pages back :

Quote:

firstly i need the boot.log of someone who cant install (mount microsd on pc delete the boot.log file in root of partition then umount it and boot nitdroid then try to install something after it fails shutdown and link the bootlog to me.

lifenexus 2010-06-17 18:16

Re: [Android] NITDroid V2 Development Topic
 
@steve sorry didnt see that. give me sometime

e-yes 2010-06-17 18:27

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by gsever (Post 719497)
Do you use temperature or battery level control for the limit of over-clocking as described in this wiki entry?

Wiki describes userland scripts, only thing from kernel that is involved - bq27x00_battery.ko module. It can be found under /system/lib/modules (Android rootfs).

lifenexus 2010-06-17 18:40

Re: [Android] NITDroid V2 Development Topic
 
1 Attachment(s)
Quote:

Originally Posted by dj_steve (Post 719574)
quick quote from my post few pages back :

done. i deleted boot.log, started android, opened appstore, tried to install an app, got out of space error. shut down android and now uploading boot.log

i do all this from my phone itself. if u want to avoid unplugging card,
do this to mount ext.
run sfdisk -l to see ur partition name. usually its mmcb1k1p1 or mmcb1k1p2
run sudo mount /dev/mmcb1k1p2 /mnt

to unmount
sudo umount /mnt

i also formatted and partitioned my mmc on phone itself. if any one needs instructions, ill post later as i have no time to write a tutorial now.
@steve, if u knew this, sorry for pointing. if u didnt. hope it helps u

kylepsp 2010-06-17 20:58

Re: [Android] NITDroid V2 Development Topic
 
I think troubleshooters need to leave this thread and leave it for developing purposes only, we dont want to get in their way.

dj_steve 2010-06-17 20:59

Re: [Android] NITDroid V2 Development Topic
 
well their is a bugtracker @ bugs.nitdroid.com :)

JackyBoy 2010-06-17 21:57

Re: [Android] NITDroid V2 Development Topic
 
@dj_steve: you didn't answer my question (previous post) about kexec. As it seems that kexec works with maemo, wouldn't it be easier to run android on a separate kernel rather than on maemo's one?

kingoddball 2010-06-17 22:02

Re: [Android] NITDroid V2 Development Topic
 
Thanks e-yes! Also thanks Siggen for the offer!!
Of course, thanks DJ_Steve!

Quote:

kylepsp
I think troubleshooters need to leave this thread and leave it for developing purposes only, we dont want to get in their way.
I agree with you, but we all do need help with things. I think we should start a new thread for installation (this thread is very overwhelming) and help.

DJ_Steve: If you want: I can start a new thread and try keep help out with it. I'm sure many of us here will have no problem to help.
I'm only asking as maybe you want to keep all the info in this thread.
Just let us know and we will try get all help requests from flooding here.

soredawg 2010-06-17 22:38

Re: [Android] NITDroid V2 Development Topic
 
Thanks LifeNexus. I had problems using Tar on the file as it said --J invalid. Could you point in the right direction.

Many thanks

ToJa92 2010-06-17 22:39

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by kingoddball (Post 719881)
DJ_Steve: If you want: I can start a new thread and try keep help out with it. I'm sure many of us here will have no problem to help.
I'm only asking as maybe you want to keep all the info in this thread.
Just let us know and we will try get all help requests from flooding here.

IMO the bugtracker should be a perfect place, it would be easily searchable and you can report more technical problems there too.

Its found @ bugs.nitdroid.com

e-yes 2010-06-18 00:32

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by lifenexus (Post 719605)
done. i deleted boot.log, started android, opened appstore, tried to install an app, got out of space error. shut down android and now uploading boot.log

i do all this from my phone itself. if u want to avoid unplugging card,
do this to mount ext.
run sfdisk -l to see ur partition name. usually its mmcb1k1p1 or mmcb1k1p2
run sudo mount /dev/mmcb1k1p2 /mnt

to unmount
sudo umount /mnt

i also formatted and partitioned my mmc on phone itself. if any one needs instructions, ill post later as i have no time to write a tutorial now.
@steve, if u knew this, sorry for pointing. if u didnt. hope it helps u

AppStore use "system-wide" Android download service (looks like icon with down arrow with animation). What is said "out of space" actually, AppStore or dl service?

Also, need more info. Run terminal and type df and mount, what'em said?

lifenexus 2010-06-18 02:45

Re: [Android] NITDroid V2 Development Topic
 
@steve, did u check my boot.log?

lifenexus 2010-06-18 04:23

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by soredawg (Post 719910)
Thanks LifeNexus. I had problems using Tar on the file as it said --J invalid. Could you point in the right direction.

Many thanks

ill do a tutorial tomorrow. in the meantime, maemo has no option for tar -j or fdisk etc to use tar -j, u have to download tar-gnu

Code:

sudo apt-get install tar-gnu
then to extract

Code:

gtar xjvvpf ../home/user/MyDocs/NITdroid.tar.bz2 (any bz2 archive)

lifenexus 2010-06-18 04:26

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by e-yes (Post 719988)
AppStore use "system-wide" Android download service (looks like icon with down arrow with animation). What is said "out of space" actually, AppStore or dl service?

Also, need more info. Run terminal and type df and mount, what'em said?

yes the andappstore and whats out of space is the memory for installation. it has 2 options, manage applications or cancel.
ill post more on mounting etc tomorrow. no time for tutorial today

Africa 2010-06-18 04:27

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by e-yes (Post 719988)
AppStore use "system-wide" Android download service (looks like icon with down arrow with animation). What is said "out of space" actually, AppStore or dl service?

Also, need more info. Run terminal and type df and mount, what'em said?

E-yes i can answer the first part, what gives the out of space error is actually the appstore, and not the dl service. the dl completes successfully.

m0da 2010-06-18 04:45

Re: [Android] NITDroid V2 Development Topic
 
i just want to give thanks to dj_steve and e-yes.

i just booted android. can't believe you've done such a great job here.

please, keep it up, and cheers to you two. i'll be following very closely.

g0dzilla 2010-06-18 06:07

Re: [Android] NITDroid V2 Development Topic
 
As after the firmware
Quote:

flasher-3.5 - enable-rd-mode - set-rd-flags = no-lifeguard-reset, no-ext-wd-f-k zImage-0.0.3-R
get everything back to normal state?

flasher-3.5 ??? RX-51_2009SE_10.2010.19-1_PR_COMBINED_MR0_ARM.bin ???

dj_steve 2010-06-18 06:21

Re: [Android] NITDroid V2 Development Topic
 
kingoddball if you wish to start a thread to help people wil installain issues please do i have no objections. but for any other problems a bug report needs filing

kingoddball 2010-06-18 07:16

Re: [Android] NITDroid V2 Development Topic
 
Quickie: Does the current kernel have kexec support (to use kexec-tools)?

I remember there being something about it, I just don't remember what it was. I'm asking as I'd like to boot up Meego this weekend (just because I can).

ToJa92 2010-06-18 09:32

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by lifenexus (Post 720095)
ill do a tutorial tomorrow.

Actually, I have already hacked together a pretty much complete N900 tutorial. It's found here: http://wiki.nitdroid.com/index.php?title=N900-install
:D

lifenexus 2010-06-18 09:46

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by ToJa92 (Post 720281)
Actually, I have already hacked together a pretty much complete N900 tutorial. It's found here: http://wiki.nitdroid.com/index.php?title=N900-install
:D

no no, i wanted to do a tutorial on how to partition, install etc on the n900 itself. well except for the kernel.

kingoddball 2010-06-18 09:48

Re: [Android] NITDroid V2 Development Topic
 
I did the same....

http://talk.maemo.org/showthread.php...291#post720291

:eek:

ToJa92:
On your tutorial, it's great, at the bottom you mentioned RD mode will kill your battery. Please add this, that way people can disable the RD keyboard flashing. I've had RD on for 7 days now, no keyboard flash (backlights work as normal)

Crack open xTerm:

Code:

root
cd ..

cd etc

nano pmconfig

Change "sleep_ind 1" to "sleep_ind 0".

sleep_ind 1 is generally the last line of pmconfig.

You do not need to use nano, I just like it's simplicity

gsever 2010-06-18 09:50

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by ToJa92 (Post 720281)
Actually, I have already hacked together a pretty much complete N900 tutorial. It's found here: http://wiki.nitdroid.com/index.php?title=N900-install
:D

Good job ToJa. I like El_Poochino's steps at reply 937

His is just the facts mom type of instructions :D You have lots of pictures in yours. I would suggest adding code tags for the commands.

lifenexus 2010-06-18 09:53

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by kingoddball (Post 720298)

i meant all the steps u meant but instead of using a pc, doint it on ur phone. in easy debian. formatting the mmc in phone, mounting and editing files, permissions etc in phone. not on pc but on the phone. the only thing i dunno is how to flash kernel on phone

kingoddball 2010-06-18 09:57

Re: [Android] NITDroid V2 Development Topic
 
You can't flash kernel on the phone.
Just install fdisk on your n900 (It's on there already I think).
Use same instructions, just replace sfdisk /dev/sdb with /dev/mmcblk1

lifenexus 2010-06-18 10:00

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by kingoddball (Post 720306)
You can't flash kernel on the phone.
Just install fdisk on your n900 (It's on there already I think).
Use same instructions, just replace sfdisk /dev/sdb with /dev/mmcblk1

there is no fdisk and sfdisk cant use the same commands as fdisk rt.. best done using easy debian

kingoddball 2010-06-18 10:04

Re: [Android] NITDroid V2 Development Topic
 
...........


Code:

umount /dev/mmcblk1p1 # unmount the mmc for partitioning

sfdisk -uM /dev/mmcblk1
,512,C # 512mb partition for FAT32
,,L # the rest of the mmc is LINUX83
,, # empty
,,

Next, to prepare the new partitions for Android installation, run the following and then reboot you device; this will format the first partition in vfat, and the second in ext3:

Code:

mkdosfs /dev/mmcblk1p1
mke2fs -j /dev/mmcblk1p2 -m0

After formatting the partitions and rebooting the device, you can mount the ext3 partition with the following:

Code:

mkdir -p /mnt/
mount /dev/mmcblk1p2 /mnt/

ramoncio 2010-06-18 10:07

Re: [Android] NITDroid V2 Development Topic
 
Steve's video tutorial is great, I have followed it and installed nitdroid in a moment.
Well, maybe someone (non-native english speakers) can have some trouble with his accent. :D

It lacks explaining how to configure boot-menu, but I read about it here:
http://www.gadgetpilipinas.net/2010/...clair-on-n900/

This is a nice tutorial too!

At first boot there was a problem with the wifi connection, but after rebooting everything seems to work quite well, nice work Steve!!

One more thing, I changed

ITEM_FSOPTIONS=”noatime”

to

ITEM_FSOPTIONS=”noatime,rw”

as I thought the partition should be writable, am I wrong?

lifenexus 2010-06-18 10:09

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by kingoddball (Post 720314)
...........


Code:

umount /dev/mmcblk1p1 # unmount the mmc for partitioning

sfdisk -uM /dev/mmcblk1
,512,C # 512mb partition for FAT32
,,L # the rest of the mmc is LINUX83
,, # empty
,,

Next, to prepare the new partitions for Android installation, run the following and then reboot you device; this will format the first partition in vfat, and the second in ext3:

Code:

mkdosfs /dev/mmcblk1p1
mke2fs -j /dev/mmcblk1p2 -m0

After formatting the partitions and rebooting the device, you can mount the ext3 partition with the following:

Code:

mkdir -p /mnt/
mount /dev/mmcblk1p2 /mnt/


!!!!!!!!!

ok. didnt know it could be done with sfdisk. whats with the "!!!!!!!!!"?


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

vBulletin® Version 3.8.8