maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Android (https://talk.maemo.org/forumdisplay.php?f=54)
-   -   [HOW-TO] Compile nitdroid gingerbread and ics in ubuntu 64 bit 11.10 (https://talk.maemo.org/showthread.php?t=79704)

vakkov 2012-02-09 18:56

Re: [HOW-TO] Compile Nitdroid and sync with N900 on Ubuntu 11.10
 
I wrote it but it gave remote object '/system/lib/libcamera.so' does not exist

probably because the android on my n900 is 2.3.4

blackjack4it 2012-02-09 19:03

Re: [HOW-TO] Compile Nitdroid and sync with N900 on Ubuntu 11.10
 
1 Attachment(s)
Quote:

Originally Posted by vakkov (Post 1162776)
I wrote it but it gave remote object '/system/lib/libcamera.so' does not exist

probably because the android on my n900 is 2.3.4

Try that method:
1) Extract libcamera.zip files from zip in the attachment (I've copied them from my 2.3.7 nitdroid)
2) Boot into Maemo and copy them in /home/system/lib/
3) Try again with "adb pull /system/lib/libcamera.so proprietary/libcamera.so" from nitdroid

;)

vakkov 2012-02-09 21:34

Re: [HOW-TO] Compile Nitdroid and sync with N900 on Ubuntu 11.10
 
I just copied the file where the error says and it's compiling for about an hour now - the funny thing is that the machine is a windows machine running ubuntu az a VM. Hope it doesn't give an error again.

EDIT: my bad - didn't type lunch n900-userdebug so the problem persists - will try with adb tomorrow

vakkov 2012-02-10 18:01

Re: [HOW-TO] Compile Nitdroid and sync with N900 on Ubuntu 11.10
 
Target system fs image: out/target/product/n900/obj/PACKAGING/systemimage_intermediates/system.img
Install system fs image: out/target/product/n900/system.img
Installed file list: out/target/product/n900/installed-files.txt
root@ubuntu:/home/user/Documents/nitdroid#


I think it's ready now - i also have ramdisk.img and usersdata.img

blackjack4it 2012-02-10 19:08

Re: [HOW-TO] Compile Nitdroid and sync with N900 on Ubuntu 11.10
 
Thanks for testing the solution vakkov, guide updated ;)

blackjack4it 2012-03-14 10:31

Re: [HOW-TO] Compile Nitdroid and sync with N900 on Ubuntu 11.10
 
Guide updated with steps for ics source compile..but I suggest to keep compiling gingerbread branch because the changes that e-yes submit sometimes are in this branch, not ics ;)

EDIT: Guide updated again, removed manual installation of Android SDK and added automatic SDK installation through Eclipse ADT Plugin

pigeond 2012-03-20 23:22

Re: [HOW-TO] Compile nitdroid gingerbread and ics in ubuntu 64 bit 11.10
 
Hi all,

Is it possible to build only a small part?
For example, if I only want to build the kernel, or a particular application?
Thanks.

blackjack4it 2012-03-22 07:59

Re: [HOW-TO] Compile nitdroid gingerbread and ics in ubuntu 64 bit 11.10
 
If with "a small part" you mean a driver that you wants to let nitdroid use it you have two ways to do that:
1) compile inside the kernel
2) compile that driver as a module (and load it with the commands insmod)
for both choices you can find a lot of tutorials by googling..for example, to compile a driver as a module here there is a little guide:
http://android-jotting.blogspot.it/2...driver-as.html

pigeond 2012-03-30 06:28

Re: [HOW-TO] Compile nitdroid gingerbread and ics in ubuntu 64 bit 11.10
 
Hi,

I'm trying to follow the full compile process now, but:

For step 15:
15) gedit external/mesa3d/src/glsl/linker.cpp and add this:
#include <stddef.h>
after the other #include

I don't actually have external/mesa3d/ at all.

Similar problems for step 16, there is no libpp under external/oprofile


Step 18, I do not have external/llvm either.


Ideas?

Thanks.

blackjack4it 2012-03-30 08:05

Re: [HOW-TO] Compile nitdroid gingerbread and ics in ubuntu 64 bit 11.10
 
Are you compiling ics or gingerbread branch? :)


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

vBulletin® Version 3.8.8