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)

kingoddball 2010-06-18 10:11

Re: [Android] NITDroid V2 Development Topic
 
I had all that in a PM.
Just copied the entire thing.
It actually had Fedora everywhere. Had to edit and change it to Adnroid.. ;)
The !!!'s are nothing I believe.

lifenexus 2010-06-18 10:14

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by kingoddball (Post 720322)
I had all that in a PM.
Just copied the entire thing.
It actually had Fedora everywhere. Had to edit and change it to Adnroid.. ;)
The !!!'s are nothing I believe.

oh. i thought that was an angry quote. i guess i dont have to write a detailed easy debian tutorial now. there is a way to flash kernel from device. i remember reading that in the overclocking thread plus titans package does flash the kernel rt

ramoncio 2010-06-18 12:33

Re: [Android] NITDroid V2 Development Topic
 
Hi Steve, I've been reading through most of the thread, I have NITDroid working, but also some thoughts and a few questions.

I think it would be HUGE to have Android as an option for our N900, who wouldn't anyway?

That's why I am quite surprised there aren't many more devs joining you and e-yes in this, maybe they are focusing on Meego? Too much work? Few chances of success? Not many N900 users?

Anyway, how does this hacking work? Reverse engeenering?
Might Nokia's Meego closed drivers help you with your hackig too?

Any chance of having at least a properly working phone, data, and camera anytime soon? I have also read that you are even working on 3D acceleration, this is great! If you get those three working properly many people could even start thinking about using Android as primary OS.

One last thing, once you get a working driver, can you compile it against newer kernels without much trouble or you need to redo all your hacking for every new Android version?

Thanks for such a great effort, guys!!!

ToJa92 2010-06-18 13:40

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by gsever (Post 720300)
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.

I'll see if the wiki software has some kind of code tags later ;)

soredawg 2010-06-18 14:20

Re: [Android] NITDroid V2 Development Topic
 
Kinda have a major hiccup as I've tried reflashing to normal state. After reflashing using the normal "flasher-3.5 -F RX-51_2009SE_2.2009.51-1_PR_COMBINED_MR0_ARM.bin -f -R" I am getting some corruption in hildon making it freeze. Strange that flashing has not returned it to its normal state. Any help would be appreciated.

soredawg 2010-06-18 14:54

Re: [Android] NITDroid V2 Development Topic
 
Also I'm not getting the nokia hand shake on boot..

e-yes 2010-06-18 16:04

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by kingoddball (Post 720180)
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).

Yes, kexec is enabled in config, patches (kexec.diff) are applied.
I tried kexec-utils without success, unfortunately.

Btw, if someone experienced with kexec can review... what I tried was something like:
Code:

/usr/sbin/kexec -u
/usr/sbin/kexec -l /mnt/new_root/system/lib/modules/zImage --append="root=b302 console=ttyMTD,log console=tty0 snd-soc-rx51.hp_lim=42 snd-soc-tlv320aic3x.hp_dac_lim=6"
sync && sync && sync
/usr/sbin/kexec -e

WE REALLY STUCK ON KEXEC PROBLEM FOR NOW.
It's most important problem. Solution of the problem opens doors for futher faster development && merging updates from upstream.

imperiallight 2010-06-18 16:12

Re: [Android] NITDroid V2 Development Topic
 
Might be an idea to drop a post in somewhere like or elsewhere for the KEXEC problem. I have seen other developers do that (putting the same post in many different sites).

Descalzo 2010-06-18 16:48

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by soredawg (Post 720578)
Kinda have a major hiccup as I've tried reflashing to normal state. After reflashing using the normal "flasher-3.5 -F RX-51_2009SE_2.2009.51-1_PR_COMBINED_MR0_ARM.bin -f -R" I am getting some corruption in hildon making it freeze. Strange that flashing has not returned it to its normal state. Any help would be appreciated.

Shouldn't it be RX-51_2009SE_10.2010.19-1.002_PR_COMBINED_002_ARM
?

If you were ever on PR1.2, then flashing as you did might cause some problems, as I understand PR1.2 upgraded some firmware.

dj_steve 2010-06-18 17:27

Re: [Android] NITDroid V2 Development Topic
 
answers are in bold inside quote :)

Quote:

Originally Posted by ramoncio (Post 720455)
Hi Steve, I've been reading through most of the thread, I have NITDroid working, but also some thoughts and a few questions.

I think it would be HUGE to have Android as an option for our N900, who wouldn't anyway?

That's why I am quite surprised there aren't many more devs joining you and e-yes in this, maybe they are focusing on Meego? Too much work? Few chances of success? Not many N900 users?

alot of users feel android is not 'open' enough i think due to its dependancy on kernel features and non standard librarys(bionic)

Anyway, how does this hacking work? Reverse engeenering?
Might Nokia's Meego closed drivers help you with your hackig too?

mostly modifiying code, porting drivers etc but meegos drivers probalby wont work as they will be designed for a os using a standard libc implementation which android doesnt use

Any chance of having at least a properly working phone, data, and camera anytime soon? I have also read that you are even working on 3D acceleration, this is great! If you get those three working properly many people could even start thinking about using Android as primary OS.

3D is going to require a lot of work i think due to it being deisnged to work on 2.6.29 kernels and above and the n900 only being 2.6.28 at the moment. camera will need dsp first (the cam driver trys to use dsp to process the images) phone/data is being looked at by another dev whos orig from XDA :)

One last thing, once you get a working driver, can you compile it against newer kernels without much trouble or you need to redo all your hacking for every new Android version?

if your talking about new android versions (i.e froyo) its not too hard to port over provided goog dont change the underlying code totally (like they did with quite a lot between 1.6 - 2.0) if you mean kernels than usually its doable

Thanks for such a great effort, guys!!!


hstende 2010-06-18 17:44

Re: [Android] NITDroid V2 Development Topic
 
What about using the meego-kernel, its based on 2.6.33.?

dj_steve 2010-06-18 17:55

Re: [Android] NITDroid V2 Development Topic
 
and if i recall correctly doesnt have phone support or sound yet, and i doubt its capable of booting maemo

hstende 2010-06-18 18:11

Re: [Android] NITDroid V2 Development Topic
 
Here are something about kexec

http://wiki.meego.com/ARM/N900/Install/kexec

ramoncio 2010-06-18 19:10

Re: [Android] NITDroid V2 Development Topic
 
Hi Steve, thanks for the answers!

I'm fighting now with apps installation, at the moment it doesn't work, and I'm having some strange errors using chmod from dev console (Bad mode?¿)

By the way, is there a way to increase that tiny terminal font size?
I have tried to change preferences, but they don't get saved.

What about changing keymap to Spanish? I also have small trouble avoiding to hit the backspace key. :)

Descalzo 2010-06-18 19:29

Re: [Android] NITDroid V2 Development Topic
 
Yeah I'm having trouble with installing apps in Android as well. I tried some chmods but it doesn't seem to have worked. I know it's being worked on, because some people have uploaded logs and stuff.

Right now I'm trying to figure out the difference. I have a suspicion it's something basic that I did wrong with the rootfs or something like that.

ToJa92 2010-06-18 19:41

Re: [Android] NITDroid V2 Development Topic
 
It works on mine so it's probably something wrong on your end.

Anyway, these posts should be in the help topic, not in the development topic: http://talk.maemo.org/showthread.php?t=56524

dj_steve 2010-06-18 22:36

Re: [Android] NITDroid V2 Development Topic
 
toja any way you could recursivly list the perms of every file on your mem card?

Descalzo 2010-06-18 22:41

Re: [Android] NITDroid V2 Development Topic
 
I just shrunk my partition to just under 2GB. I can install just fine.

Descalzo 2010-06-18 23:06

Re: [Android] NITDroid V2 Development Topic
 
This guy (see post #9) says he got the Market app onto his phone that didn't come with it. And there's an app in the AndApp Store that says it can emulate a SIM that allows the Market App to run, but it requires root, which seems to require Market.

But I don't know much about this stuff, I admit.

hackfanatic 2010-06-19 00:48

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by dj_steve (Post 721096)
toja any way you could recursivly list the perms of every file on your mem card?

Code:

ls -a -l -R > output.txt
^this should list all files dirs/subdirs in a folder with perms and store it in a file

I dunno what your talking about :confused:.. so sorry if it doesn't apply..
Just read your post and replied :D

gsever 2010-06-19 05:17

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by Descalzo (Post 721116)
This guy (see post #9) says he got the Market app onto his phone that didn't come with it. And there's an app in the AndApp Store that says it can emulate a SIM that allows the Market App to run, but it requires root, which seems to require Market.

But I don't know much about this stuff, I admit.

Smart trick. Where is the original App Market located in Android?

ToJa92 2010-06-19 11:19

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by dj_steve (Post 721096)
toja any way you could recursivly list the perms of every file on your mem card?

I'll do it later today... @ my summerjob right now :cool:

Descalzo 2010-06-19 15:07

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by gsever (Post 721276)
Smart trick. Where is the original App Market located in Android?

No clue. It would be fun to play with this. I don't know what I'm doing, but I can still be a monkey on a typewriter.


Oh, BTW, I read somewhere that the reason I had to shrink my partition to under 2GB was because the kernel demands it be so.

dj_steve 2010-06-19 15:48

Re: [Android] NITDroid V2 Development Topic
 
at min the proper market wont work, have mentioned it before

kingoddball 2010-06-19 22:47

Re: [Android] NITDroid V2 Development Topic
 
dj_steve:
Is the 2GB partition issue that Descalzo mentioned something that should be noted?
ToJa is using over 5GB. My partitions are always around 1.8GB, so I have never noticed this.

imperiallight 2010-06-19 22:58

Re: [Android] NITDroid V2 Development Topic
 
The speed of this coming out was really quick compared to some of the Android ports I have followed at XDA!

Is it almost certain that Android will never be a windowed within Maemo like
Easy Debian because of dependencies of resources that you mentioned earlier? Or is somewhere on the to do list

Alister 2010-06-19 23:38

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by kingoddball (Post 722173)
dj_steve:
Is the 2GB partition issue that Descalzo mentioned something that should be noted?

Hi, I can confirm the 2 GB issue (n8x0 version). Tried twice installing Nitdroid, on a 2,4 GB data partition, but I couldn't install any apps. The third installation on a 1,9 GB data partition went fine, I could install a few apk files.

dj_steve 2010-06-20 06:36

Re: [Android] NITDroid V2 Development Topic
 
hmm can anyone give me a rought tutorial on what to do to get this error so i can try and look at it.

Alister 2010-06-20 07:25

Re: [Android] NITDroid V2 Development Topic
 
Steve, you don't need that. I followed your tutorial step by step on http://blog.nitdroid.com, except I used the windows version of the flasher (3.5) in all of my tries (failed and successful too). I used a 8 Gb sdhc card, and used gparted and paragon partition manager too in my failed attempts.
I tried "chmod 777 -R" (recursive) on both ext3 partition root too, with no success.

ToJa92 2010-06-20 09:56

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by imperiallight (Post 722183)
Is it almost certain that Android will never be a windowed within Maemo like
Easy Debian because of dependencies of resources that you mentioned earlier? Or is somewhere on the to do list

My guess is that the speed would be crappy, and it would probably drink battery juice for breakfast. But I guess DJ_Steve would know better.

lifenexus 2010-06-20 10:45

Re: [Android] NITDroid V2 Development Topic
 
steve what abt charging in android? and why is the cpu stuck at minimum frequency = 500mhz? it doesnt go below that

dj_steve 2010-06-20 14:13

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by imperiallight (Post 722183)
The speed of this coming out was really quick compared to some of the Android ports I have followed at XDA!

Is it almost certain that Android will never be a windowed within Maemo like
Easy Debian because of dependencies of resources that you mentioned earlier? Or is somewhere on the to do list

very likey this ios the case and as said in a later post the pure cpu grunt needed to run android at a usable spped would probably not only require an overclocked device but also eat battery like it was going out of fashion.


charging i think im going to have alooksie at shortly, am on nioghtshifts at work until tomorrow mornign so not getting much time at min

badboyuk 2010-06-21 16:08

Re: [Android] NITDroid V2 Development Topic
 
can we install other apps for android?

dj_steve 2010-06-21 16:10

Re: [Android] NITDroid V2 Development Topic
 
you can but their seems to be an issue if the android partition of microsd is over 2gb. other than that their is 2 app stores in the current root fs for apps. the official androdi market is not wokring yet so not included

edit: to answer you q in old post : you cannot partition int mem at min nor is it recomended to attempt as for the moment android is not that production ready

badboyuk 2010-06-21 16:38

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by dj_steve (Post 723791)
you can but their seems to be an issue if the android partition of microsd is over 2gb. other than that their is 2 app stores in the current root fs for apps. the official androdi market is not wokring yet so not included

edit: to answer you q in old post : you cannot partition int mem at min nor is it recomended to attempt as for the moment android is not that production ready

alright I see. So I take it that I should just grab a 2gb mem card then? was thinking of going for a 4gb.
Do you think the issue of the size will be resolved in future versions or is it that android is just built that way?

dj_steve 2010-06-21 16:40

Re: [Android] NITDroid V2 Development Topic
 
it should be resloved, ive not seen said issue myself yet but its been reported enough to be something of interest. any size card will work as long as you keep the ext3 partition under 2gb

ToJa92 2010-06-21 16:51

Re: [Android] NITDroid V2 Development Topic
 
Mine works with a ~8GB partition, but most other guys seem to have issues with the app store. I'd go for the 4GB(or what size you want), you can partition it to 2GB if it's not working properly and partition back to 4GB once DJ_Steve solves this issue ;)

dj_steve 2010-06-21 16:53

Re: [Android] NITDroid V2 Development Topic
 
im still awaiting someone explaing what they try to do to get error soi can test

ToJa92 2010-06-21 16:59

Re: [Android] NITDroid V2 Development Topic
 
Quote:

Originally Posted by dj_steve (Post 723852)
im still awaiting someone explaing what they try to do to get error soi can test

From what I can gather they follow the same procedure as me... Maybe you can ask one of them for a perm dump and compare them to each other?

dj_steve 2010-06-21 17:00

Re: [Android] NITDroid V2 Development Topic
 
possibly as i cant imagine its gonna be disk size, ext3 supports upwars of 10TB


All times are GMT. The time now is 08:50.

vBulletin® Version 3.8.8