Errors in building cm14 mondrianwifi - Android Q&A, Help & Troubleshooting

Hi there!
I'm having some trouble with building android cm14 for mondrianwifi. Have already tried a few things, but none of them works. Anyone who can help me?
Here are the errors:
- SoftAMRNBEncoder.o: file is empty in out/target/product/mondrianwifi/obj/SHARED_LIBRARIES/libstagefright_soft_amrnbenc_intermediates/
- error: undefined reference to '***'
- and recipe failed.
Here is my log: http://pastebin.com/n0KjLLBd
Regards Indy

Could you post your local manifest?

http://hastebin.com/exajigexef.xml I finished the build successfull but with the '-k' flag for make. I don't know if it has something to do with video streaming, but I can't watch videos in youtube or any browser. BTW I'm trying to get bluetooth and the camera working.

Hello i just upgrade mine too.. Android 7.0 and bluetooth not working/camera/ and any video keep crashing browser.
Do you have any fix?

Related

[Q] Porting Cyanogenmod 10.1 to Hyundai T7S

Hello all,
I am trying to port Cyanogendmod 10.1 to a new device - Hyundai T7S.(smdk4412 based).
I have successfully compiled CWM recovery image and it work good on the tablet.
But when I try to build the whole ROM I receive the following errors:
android-dev/cm10.1/out/target/product/t7s/system/app/Exchange2.apk
frameworks/base/core/java/android/app/admin/DeviceAdminInfo.java:411: error 101: Unresolved link/see tag "#USES_POLICY_ENFORCE_MMAC" in android.app.admin.DeviceAdminInfo
frameworks/base/core/java/android/app/admin/DeviceAdminInfo.java:411: error 101: Unresolved link/see tag "#USES_POLICY_ENFORCE_SELINUX" in android.app.admin.DeviceAdminInfo
DroidDoc took 251 sec. to write docs to /home/steals/android-dev/cm10.1/out/target/common/docs/doc-comment-check
make: *** [/home/steals/android-dev/cm10.1/out/target/common/docs/doc-comment-check-timestamp] Error 45
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
I've tried to find some solutions, but haven't found anything.
Could you please help me to resolve the errors?
Thanks.
The error is fixed by adding '$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)' into device configuration file.
steals said:
The error is fixed by adding '$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)' into device configuration file.
Click to expand...
Click to collapse
Hi I'm trying to compile cm 10.1 for another phone, samsung galaxy mini 2, but I get that same error. I used the solution you describe but didn't work. Did you found that solution yourself, or found another forum/thread/whetever that this is discussed? If so, could you poin it to me, because google searching gave me nothing:/

[Q] Help compiling rom for Find 7a

Hey all!
Trying to build my first rom using AOKP as source. I got everything setup correctly (i think so atleast), but after syncing the repo I keep getting an error.
When I try to lunch, breakfast, or brunch it keeps giving me the error below:
Code:
Which would you like? [aosp_arm-eng] 21
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[vendor/aokp/products/find7.mk]]: "device/oppo/find7/full_find7.mk" does not exist. Stop.
** Don't have a product spec for: 'aokp_find7'
** Do you have the right repo manifest?
Any idea? I know it's because /oppo/find7/ files aren't in the device folder, but how do I get them there? I have searched and tried multiple things and am not having any luck. Any help is appreciated!

[Q] Error While Downloading CM12 Source

Hey Guys i am downloading CM12 Source ..Everything is fetched..I just need to sync when i start syncing i get an error .
Code:
error: in `sync`: [Errno 2] No such file or directory: u'/home/humaid/cm12/cts/.git/HEAD'
error: manifest missing or unreadable -- please run init
I have tried many time but i am still stuck .I am running Ubuntu 14 directly on my pc
KIndly help
DONE
Deleated the file from directory and retried and it worked!

Troubles while building custom CM(13) for kccat6xx

Ok so I searched for quite a while now and fixed few issues but I don't seem to be able to fix this one.
I'm trying to build a custom CM for kccat6xx(roughly a Samsung Galaxy S5+), beeing my first time I'd assume I'll run into some problems but I think I got more than enough to post here.
Lil' summary:
I followed normal CM guide for klte(since those devices works more or less the same way I'd assume the guide would be more or less the same), I synced and all, got android SDK, OpenJDK(which was quite annoying since first sync was detecting my computer as a MAC while running Gentoo Linux, got fixed in a sync the day after tho) made custom local manifest and made the pre-build thingies
I ran into a first issue at that point, considering libinit_msm or so that was removed from qcom_common in latest commits, had to reverse it to make the build works(dirty but eh, works at least) and after that got several issues that I won't list here that I, for the most fixed.
Then I ran on the issue I'm stuck in for about a day now
Code:
make: *** No rules to make target «*/home/govanify/android/system/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/R.stamp*», needed for «*/home/govanify/android/system/out/target/common/obj/APPS/BasicDreams_intermediates/src/R.stamp*»
I tried to edit out BasicDreams, just in case, but then Bluetooth would block. Knowing it is just after BasicDreams in the alphabet I figured out it'll do it for all packages. So then I tried to manually build vendor/cmsdk/cm/res and got this issue:
Code:
make: *** No rules to make target «*/home/govanify/android/system/out/host/linux-x86/bin/acp*», needed for «*/home/govanify/android/system/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/R.stamp*»
I continued then by trying to compile frameworks/base, but of course:
Code:
make: *** No rules to make target «*/home/govanify/android/system/out/host/linux-x86/bin/aidl*», needed for «*/home/govanify/android/system/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/accessibilityservice/IAccessibilityServiceConnection.java*»
So I finally tried to build aidl manually, but then again:
Code:
make: *** No rules to make target «*/home/govanify/android/system/out/host/linux-x86/obj/lib/libc++.so*», needed for «*/home/govanify/android/system/out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl*»
I figured out it'll be endless so I stopped here and tried to do a global make of Cyanogen, maybe it'll integrate dependencies after all
But as you already imagined:
Code:
make: *** Aucune règle pour fabriquer la cible «*/home/govanify/android/system/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar*», nécessaire pour «*/home/govanify/android/system/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes-full-debug.jar*». Arrêt.
So yeah, help would be very much appreciated, if you want to replicate the issue grab my manifest here: githubDOTcom/GovanifY/main_kccat6xx/blob/master/kccat6xx.xml (I have less than 10 post so unfortunatelly no link) repo sync and a brunch kccat6xx should do the work. You don't need afaik vendor bins since the bin step is not even started at that point, so I guess build should run into the issue smoothly.
Thanks a lot for any help once again, I'm really running out of ideas on that one
Seems like this got fixed by a mma -B in res folder, thanks ciwrl and Decad3nce from #cyanogen-dev for pointing me out!
Edit: res builds correctly but build still fails so issue still open
Last answer to this post: Issue was with a multi-thread error of CyanogenMod build system itself. Getting on a clean ubuntu install fixed this issue(got others in the meanwhile but I was able to build the ROM at the end, still having major issues tho)
I have cyanogen 13 on samsung s5 i have these problems..Help me to fix them
1.When i unistall a app it reboots with out permision or anything and the app is not deleted
2. When i press security settings it says'Unfortunately,Settings has stopped.'

How to get Amlogic source code?

Hey Guys,
Could you please tell me where / how to get source code for Amlogic devices? I am specifically interested in S912 for my Beelink GT1 Ultimate. The recent firmware updates have made the device performance so bad. Being an octa core device with 3G DDR4 ram, this not what the device deserves. All Beelink does is download their source and just change the logo.
I have made my mind and decided to build a better firmware myself. Who is with me to help?
I have read that Nexbox revealed the source for its tv box but its very old. Tried asking the same in freaktab forum but none bothered.
To download the source from Amlogic website we need to be authorized. i.e., We need to send our ssh key to them so that we can sync the source. I mailed the amlogic team but no response for over a week.
I see some guys like Megandanz ported stock Android TV to these devices... If you are a one of the ROM devs, It would be great if you could add some notes on this.
This is my last effort asking here! Looking with some hope!
No chance..
Ricky Divjakovski said:
No chance..
Click to expand...
Click to collapse
Thanks, still worth a short
I hope someone will help
irfanjunaid said:
Thanks, still worth a short
I hope someone will help
Click to expand...
Click to collapse
Not gonna put anything out there but the mbox is opensource, i also have confidential information on the future of the source code, patience is key
irfanjunaid said:
I hope someone will help
Click to expand...
Click to collapse
neh, only android tv box producers have access , and they signed a document for not giving the source code to others
You can get source to most of it via the Khadas VIM2 github.
Some parts are still just binary blobs though.
https://github.com/khadas
Hi there,
Recently, I was curious to know and learn how to build Android from source code.
I have AceMax M8S+ and I want to install stock Android TV os in it.
I have done the research and found a few repositories that have Amlogic build tools and etc.
I downloaded the manifest, update to the proper revisions and old packages and still got an error after 1 hour of building.
Code:
device/amlogic/n200/overlay/packages/apps/DeskClock/AndroidManifest.xml:39: error: Error: No resource found that matches the given name (at 'theme' with value '@style/DeskClock').
device/amlogic/n200/overlay/packages/apps/DeskClock/AndroidManifest.xml:179: error: Error: No resource found that matches the given name (at 'theme' with value '@style/ScreensaverSettingsActivityTheme').
device/amlogic/n200/overlay/packages/apps/DeskClock/AndroidManifest.xml:194: error: Error: No resource found that matches the given name (at 'theme' with value '@style/TimerAlertFullScreenTheme').
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1
make: Leaving directory `/home/t1000/android'
#### make failed to build some targets (01:47:50 (hh:mm:ss)) ####
Here are the sources that I found
amlogic_android_manifest -> github/firmanjml
android_device_amlogic -> github/Android-Amlogi

Categories

Resources