5,600,483 Members 32,971 Now Online
XDA Developers Android and Mobile Development Forum

[Tutorial][Oct. 19, 2011] Compile AOSP Gingerbread on Ubuntu

Tip us?
 
mazen912
Old
#211  
mazen912's Avatar
Senior Member
Thanks Meter 510
Posts: 286
Join Date: Jul 2011
Quote:
Originally Posted by dastin1015 View Post
Exactly what the error says. You need to change the LOCAL_MODULE_TAGS to optional or add it if it is not present.

私のEVO 3Dから送信される。
i tried but it is still

Tablets
Galaxy 10.1 (JB 4.1.2 Slim Bean )
MK808 tv ( JB 4.1.2 )

Phones
Galaxy s2 i9100 Dual-Boot CM10 & AOSP
 
anthony062991
Old
#212  
Senior Member
Thanks Meter 19
Posts: 145
Join Date: Jun 2010
Quote:
Originally Posted by dastin1015 View Post
Your error is that your environment is not allowing for the use of 'make otapackage' not the docs errors. I've actually never had that problem.

私のEVO 3Dから送信される。

Well actually I created another build and everything else was fine. I have a few waning but no errors except trying to find the framework. How would I create a zip myself? All of my stuff is in the out directory. Thanks for your help.
 
dastin1015
Old
#213  
dastin1015's Avatar
Recognized Developer / Contributor - OP
Thanks Meter 10009
Posts: 3,699
Join Date: Dec 2010
Location: Chula Vista, CA

 
DONATE TO ME
Quote:
Originally Posted by anthony062991 View Post
Well actually I created another build and everything else was fine. I have a few waning but no errors except trying to find the framework. How would I create a zip myself? All of my stuff is in the out directory. Thanks for your help.
Take the system.img and boot.img and put them into a zip folder. Then use dsixda's kitchen to modify it and make it flashable.

私のEVO 3Dから送信される。
 
cdesai
Old
#214  
cdesai's Avatar
Recognized Developer
Thanks Meter 3969
Posts: 2,272
Join Date: Jan 2011
Location: IN YOUR HEAD

 
DONATE TO ME
Quote:
Originally Posted by dastin1015 View Post
Take the system.img and boot.img and put them into a zip folder. Then use dsixda's kitchen to modify it and make it flashable.

私のEVO 3Dから送信される。
Or boot into recovery, format /system and then push system via adb

Also, that otapackage error comes due to your device not having custom release tools

Sent from my fingerz 2 ur eyez
CyanogenMod Maintainer | SGT7 | TeamBBQ

 
BBQLinux - An Arch based Linux distribution for Android developers
Website: http://www.bbqlinux.org | Downloads: [url]http://sourceforge.net/projects/bbqlinux/files//url]
IRC: #bbqlinux on freenode
The Following User Says Thank You to cdesai For This Useful Post: [ Click to Expand ]
 
anthony062991
Old
(Last edited by anthony062991; 3rd March 2012 at 11:30 PM.)
#215  
Senior Member
Thanks Meter 19
Posts: 145
Join Date: Jun 2010
thanks for the info, but there is no boot.img to packup? there is a system.img though. Doesn't it need the new kernel in order for it to boot up? Do you think if I had the packages in step 2 it will make everything properly? I tried installing those packages and I get:
E: Unable to locate package lib64ncurses5-dev
E: Unable to locate package lib64readline5-dev
E: Unable to locate package lib64z-dev

So I tried manually install them and still a no go.. Where can I find the right packages? I'm running Linux Mint 64bit thanks again.

Also when I try to run source build/envsetup.sh it says:
anthony@anthony ~/WORKING_DIRECTORY $ source build/envsetup.sh
including device/htc/passion/vendorsetup.sh
including device/samsung/crespo4g/vendorsetup.sh
including device/samsung/crespo/vendorsetup.sh

I have a zte device and It is not listed?
So I skip all those and type in "make" and everything builds with no errors.. I have no idea what is going?
 
mazen912
Old
(Last edited by mazen912; 7th March 2012 at 05:04 PM.)
#216  
mazen912's Avatar
Senior Member
Thanks Meter 510
Posts: 286
Join Date: Jul 2011
new hard problem
make: *** No rule to make target `system/bluetooth/data/network.conf', needed by `out/target/product/galaxysplus/system/etc/bluetooth/network.conf'. Stop.

please help

solved

Tablets
Galaxy 10.1 (JB 4.1.2 Slim Bean )
MK808 tv ( JB 4.1.2 )

Phones
Galaxy s2 i9100 Dual-Boot CM10 & AOSP
 
dastin1015
Old
#217  
dastin1015's Avatar
Recognized Developer / Contributor - OP
Thanks Meter 10009
Posts: 3,699
Join Date: Dec 2010
Location: Chula Vista, CA

 
DONATE TO ME
Quote:
Originally Posted by anthony062991 View Post
thanks for the info, but there is no boot.img to packup? there is a system.img though. Doesn't it need the new kernel in order for it to boot up? Do you think if I had the packages in step 2 it will make everything properly? I tried installing those packages and I get:
E: Unable to locate package lib64ncurses5-dev
E: Unable to locate package lib64readline5-dev
E: Unable to locate package lib64z-dev

So I tried manually install them and still a no go.. Where can I find the right packages? I'm running Linux Mint 64bit thanks again.

Also when I try to run source build/envsetup.sh it says:
anthony@anthony ~/WORKING_DIRECTORY $ source build/envsetup.sh
including device/htc/passion/vendorsetup.sh
including device/samsung/crespo4g/vendorsetup.sh
including device/samsung/crespo/vendorsetup.sh

I have a zte device and It is not listed?
So I skip all those and type in "make" and everything builds with no errors.. I have no idea what is going?
You need to add your device repo. If just issue make you are creating a generic build.

私のEVO 3Dから送信される。
 
imheroldman
Old
(Last edited by imheroldman; 9th March 2012 at 01:28 PM.)
#218  
imheroldman's Avatar
Senior Member
Thanks Meter 119
Posts: 641
Join Date: Apr 2011
Location: Chico
Quote:
Question:

EVO 4g - htc supersonic

When I issue $ make it returns with:

Quote:
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
build/core/base_rules.mk:78: *** Module name: gps.supersonic
build/core/base_rules.mk:79: *** Makefile location: hardware/qcom/gps/loc_api/libloc_api
build/core/base_rules.mk:80: *
build/core/base_rules.mk:81: * Each module must use a LOCAL_MODULE_TAGS in its
build/core/base_rules.mk:82: * Android.mk. Possible tags declared by a module:
build/core/base_rules.mk:83: *
build/core/base_rules.mk:84: * optional, debug, eng, tests, samples
build/core/base_rules.mk:85: *
build/core/base_rules.mk:86: * If the module is expected to be in all builds
build/core/base_rules.mk:87: * of a product, then it should use the
build/core/base_rules.mk:88: * "optional" tag:
build/core/base_rules.mk:89: *
build/core/base_rules.mk:90: * Add "LOCAL_MODULE_TAGS := optional" in the
build/core/base_rules.mk:91: * Android.mk for the affected module, and add
build/core/base_rules.mk:92: * the LOCAL_MODULE value for that component
build/core/base_rules.mk:93: * into the PRODUCT_PACKAGES section of product
build/core/base_rules.mk:94: * makefile(s) where it's necessary, if
build/core/base_rules.mk:95: * appropriate.
build/core/base_rules.mk:96: *
build/core/base_rules.mk:97: * If the component should be in EVERY build of ALL
build/core/base_rules.mk:98: * products, then add its LOCAL_MODULE value to the
build/core/base_rules.mk:99: * PRODUCT_PACKAGES section of
build/core/base_rules.mk:100: * build/target/product/core.mk
build/core/base_rules.mk:101: *
build/core/base_rules.mk:102: *** user tag detected on new module - user tags are only supported on legacy modules. Stop.
I understand that it is looking for those specified files, though I don't know how to obtain them...

Sent from my Evo using xda premium
Simply followed the instructions for editing Android.mk file and build went through! Still had errors with frameworks files, so we will see how that goes!

It builds, and does throw file in the out folder, but I have no system.img...

I get this at the end of the build dialog:

Quote:
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_intermediates/RefBase.o] Error 1
Figured I would continue to edit as i resolve this...

simply copy and pasted the error into google and found the fix right away!

also, had to delete device/htc/supersonic/overlay/packages/apps/camera
-this was from CM overlay

I finally got it to compile and made a .zip, bootloop on flash...
Sent by SGH-T999

ROM: Cyanogenmod 10 7/14
Kernel: Stock

My blog: Tech review... In review...
 
mazen912
Old
#219  
mazen912's Avatar
Senior Member
Thanks Meter 510
Posts: 286
Join Date: Jul 2011
hello
after rom compiled i got bootloop
i attatched logcat

please help
Attached Files
File Type: txt logcat_i9001.txt - [Click for QR Code] (14.8 KB, 1 views)

Tablets
Galaxy 10.1 (JB 4.1.2 Slim Bean )
MK808 tv ( JB 4.1.2 )

Phones
Galaxy s2 i9100 Dual-Boot CM10 & AOSP
 
bmfc187
Old
#220  
bmfc187's Avatar
Senior Member
Thanks Meter 2
Posts: 406
Join Date: Feb 2009
Location: Austin, TX
Quote:
Originally Posted by cdesai View Post
Also, that otapackage error comes due to your device not having custom release tools
I'm getting this error with 'make otapackage' as well, how do I go about getting custom release tools? Please explain...thanks...

-BMFC

Sent from my SPH-M930 using XDA
Sprint Samsung Transform Ultra SPH-M930
ROM: Stock for now, Custom In The Works!

Tags
32bit, android, aosp, ubuntu
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes