Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP dastin1015

1st March 2012, 12:26 PM   |  #211  
mazen912's Avatar
Senior Member
Thanks Meter: 512
 
286 posts
Join Date:Joined: Jul 2011
More
Quote:
Originally Posted by dastin1015

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
1st March 2012, 05:43 PM   |  #212  
Senior Member
Thanks Meter: 19
 
145 posts
Join Date:Joined: Jun 2010
Quote:
Originally Posted by dastin1015

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.
1st March 2012, 10:30 PM   |  #213  
dastin1015's Avatar
OP Recognized Developer / Contributor
Flag Chula Vista, CA
Thanks Meter: 10,494
 
3,802 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Quote:
Originally Posted by anthony062991

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から送信される。
2nd March 2012, 03:46 AM   |  #214  
cdesai's Avatar
Recognized Developer
Flag IN YOUR HEAD
Thanks Meter: 4,012
 
2,283 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Quote:
Originally Posted by dastin1015

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
The Following User Says Thank You to cdesai For This Useful Post: [ View ]
4th March 2012, 12:18 AM   |  #215  
Senior Member
Thanks Meter: 19
 
145 posts
Join Date:Joined: 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?
Last edited by anthony062991; 4th March 2012 at 12:30 AM.
7th March 2012, 04:57 PM   |  #216  
mazen912's Avatar
Senior Member
Thanks Meter: 512
 
286 posts
Join Date:Joined: Jul 2011
More
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
Last edited by mazen912; 7th March 2012 at 06:04 PM.
7th March 2012, 05:04 PM   |  #217  
dastin1015's Avatar
OP Recognized Developer / Contributor
Flag Chula Vista, CA
Thanks Meter: 10,494
 
3,802 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Quote:
Originally Posted by anthony062991

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から送信される。
9th March 2012, 01:57 AM   |  #218  
imheroldman's Avatar
Senior Member
Flag Chico
Thanks Meter: 119
 
641 posts
Join Date:Joined: Apr 2011
More
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...
Last edited by imheroldman; 9th March 2012 at 02:28 PM.
10th March 2012, 01:18 PM   |  #219  
mazen912's Avatar
Senior Member
Thanks Meter: 512
 
286 posts
Join Date:Joined: Jul 2011
More
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)
11th March 2012, 09:05 AM   |  #220  
bmfc187's Avatar
Senior Member
Flag Austin, TX
Thanks Meter: 6
 
419 posts
Join Date:Joined: Feb 2009
More
Quote:
Originally Posted by cdesai

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

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes