General :: Linker Error When Compiling CM 10.2 For LG E970
Nov 20, 2013
I get this weird linker error when trying to compile CyanogenMod 10.2 for the LG Optimus G (e970 [AT&T]):
Code:
make[1]: Leaving directory `/home/greg/android/system/kernel/lge/gproj'
mdpath=`find /home/greg/android/system/out/target/product/e970/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`;
for i in $ko; do /home/greg/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/greg/android/system/out/target/product/e970/system/lib/modules/; done; fi
[URL] .....
I can't figure out which library or object file I'm missing that would resolve this reference. Btw, I've tried building it a couple ways: typical "brunch", and lunch / mka. Both produce the same error.
View 1 Replies
Apr 11, 2014
Downloaded all the sources of cyanogenmod for 4 and a half days, until then all right, when I tried the commands "brunch" and "breakfast" had some errors telling me you wouldn't find the repositories to the Galaxy Fame codenamed nevis ...
[URL] .....
View 1 Replies
View Related
May 22, 2014
kernel compiling with GCC 4.8 google toolcahin:
Got this error during generating bcmdhd module:
Quote:
CC [M] drivers/net/wireless/bcmdhd/wl_cfgp2p.o
drivers/net/wireless/bcmdhd/wl_cfgp2p.c: In function 'wl_cfgp2p_act_frm_search':
drivers/net/wireless/bcmdhd/wl_cfgp2p.c:769:31: error: array subscript is above array bounds [-Werror=array-bounds][code].....
View 3 Replies
View Related
Apr 1, 2013
I am trying to decompile contacts.apk from my micromax a52. I tried from apk manager and apk multi tools but it is giving error.
Code:
can't find framework resources for package of id:2.you must install proper framework files.
now i installed framework files to my computer and also by using "pull dependencies from device".
but still couldn't decompile it properly.it is also giving error during recompiling if i ignore those error and mod it.
Code:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:UsersamanAppDataLocalTempAPKTOOL2048703324560073052.tmp, -0, arsc, -I, C:Usersamanapktoolframework1.apk, -S, C:APK-Multi-Toolother..projectsContacts.apk
[Code] .........
View 7 Replies
View Related
Feb 26, 2010
I am using droid pdf reader in ndk. I am unable to generate libpdfreader.so file. while compiling i am getting following errors. code...
View 2 Replies
View Related
Dec 28, 2013
I am very new to custom ROMs. I have just installed a custom ROM from Clockworkmod for my LG e970 4.0.4
After installing whenever I try to open Google Play Store it displays the message "unfortunately, google play store has stopped"
So I searched and tried deleting cache, deleting data for Play Storeand rebooting the phone. But those haven't worked for me.
I am thinking of Restoring the backup I took using CWM prior to the custom ROM.
View 1 Replies
View Related
Aug 9, 2010
Currently I am trying to compile native code for Android. The code is from the OpenCV port for Android. I pasted all the code correctly in my project and edited my make files accordingly. When I set android:debuggable to false everything works fine and I get my native library. When I try while android:debuggable is set to true I get an error.
Here is a part of the log:
CODE:....................
From what I have found on the internet this is caused by the optimization level of the compilation. As long as the code isn't compiled so that is is debuggable afterwards everything should be fine.
Now apparently it is possible to avoid this by setting APP-OPTIM := release in the Application.mk or adding -O2 to LOCAL_CFLAGS. I have tried both and still I get this error.
Right now I don't really care that much about debugging my native code, but I would like to have basic debugging enabled. And I don't want to keep switching android:debuggable in my manifest every time I want to compile. I'm not even sure if it is okay at all if I just set android:debuggable to false pre compiling and to true post compiling, but I am sure I will forget it every second run.
View 1 Replies
View Related
Mar 26, 2013
i came across a word related to android "compiling". What does compiling exactly mean?
View 9 Replies
View Related
Sep 2, 2012
If I have the source code compatible with the Zenithink ZT282 but its based on Android 2.3.4 can I use it to compile cm7.2 2.3.7 with the cm7 source.
View 1 Replies
View Related
Jun 6, 2012
I'm trying to compile CM9 for my Galaxy Mini, but I always get these errors:
Code:
frameworks/base/core/java/android/view/inputmethod/InputMethodManager.java:1485: cannot find symbol
symbol : variable config_symKeyShowsImePicker
location: class com.android.internal.R.bool
if (context.getResources().getBoolean(com.android.internal.R.bool.config_symKeyShowsImePicker)) {
[Code] .......
View 2 Replies
View Related
May 31, 2014
Cannot find symbol when compiling cm 11.0 on debian.
Code:
packages/apps/Settings/src/com/android/settings/hardware/DisplayColor.java:109: cannot find symbol
symbol : method getDefValue()
location: class org.cyanogenmod.hardware.DisplayColorCalibration
int defaultValue = DisplayColorCalibration.getDefValue();
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
View 3 Replies
View Related
Apr 18, 2014
I'm very familiar with using APKTool and Compiling/Decompiling Apps. I've run into a problem with the framework-res and SystemUI apps.
Current ROM/App info:
Samsung Galaxy Tab 3 8.0
Android 4.2.2 (Samsung Touchwiz)
Framework Installed in APKTool: framework-res.apk, twframework-res.apk and SystemUI.apk
APKTool Version: 2.0 (I've tried almost every version of APKTool and AAPT)
Java Version: 1.7 (as required by APKTool 2.0)
OS: Windows and Linux (same results on each OS)
The framework and SystemUI apps decompile fine. No errors and all the XML/Smali files are perfect. The problem is that I can not recompile either of them. Each time I attempt, I get the same error regarding the Android Manifest file....
Code:
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: c
rut_util_Jar_8264547236691306049.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --
me, 4.2.2-T310UEUAMH2, -F, C:UsersAdamAppDataLocalTempAPKTOOL3953045592385201216.tmp, -0
:UsersAdamDesktopProject_Tab3_4.15OriginalFilesSystemUI
es, -M, C:UsersAdamDesktopP
xml]
[code]...
I know some dev's have been able to sucessfully compile these apps .
FYI - I have even tried compiling the stock apps without any mods and I get the same errors.
View 9 Replies
View Related
Aug 25, 2012
I'm trying to get my status bar transparent following this guide [URL] .....
I'm using wanams apk manager, I make the changes to the statusbar.smali file and the xml files, I compile and it doesn't work on my phone, so I decompiled the modified apk, and the changes to the xml files went through but the smali files go back to the originals.
when compiling I use yes on Is this a system apk, yes to copy additional files, go to keep, delete resources.arsc and finish.
It happens with any smali file when I compile, I use notepad++ to edit the files.
So what I ended up doing since my xml files were saving but my smali files weren't, I didn't realize that when compiling it asks to copy over files and the classes.dex file was overwriting all my changes to the smali files, so I compiled and when it asks to delete files from the keep folder I took the classes.dex from that folder, decompiled it seperatly made the changes to the smali files there. I still deleted my resources.arsc, then I finished making the apk opened the apk and replaced the classes.dex there with my modified one. pushed to my phone and everything works perfectly.
View 3 Replies
View Related
Mar 8, 2014
I'm compiling android from source. After compilation I have following output:
See attachment for output message. (could not post it here)
Did it compile? I suspect not. So, Why?
View 1 Replies
View Related
May 2, 2014
I am trying to compile a kernel for my device(kyleprods or GT-S7582 or Galaxy S duos 2) because I havent found any custom kernel out here. Im compiling from source. I tried compiling WITHOUT any tweaks or such, just plain compile after downloading the source, and it compiled successfully. I tried adding smartassv2 but I got these errors after running "make -j1" twice.
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
Creating rdb link for Hawaii
CALL scripts/checksyscalls.sh
[Code] .....
cc1: some warnings being treated as errors
make[2]: *** [drivers/cpufreq/cpufreq_smartass2.o] Error 1
make[1]: *** [drivers/cpufreq] Error 2
make: *** [drivers] Error 2
View 3 Replies
View Related
Oct 16, 2012
I'm having bit of a strange issue. I've been editing a Mms.apk by decompling it with apktool and then chaning png, editing xml files ( I Use dreamwaver cs6, but have tried with notepad++ too) and the likes.
But when I then recompile the apk something strange happens to the data stored in the xml files, like it gets encrypted or messed up somehow. They still work tho since Ive pushed the Mms.apk to my system/app and the changes I've made are clearly shown+working.
But it makes it difficult incase I want to redo some changes in the XML files by decompiling the new Mms.apk. I've uploaded one xml file with the changes ive made, and then the same after it has been recompiled to my dropbox.
[URL] ......
View 1 Replies
View Related
Jul 22, 2013
I installed android SDK and the apis
I use APK Tool
Galaxy Nexus on MIUI 3.7.12
I was trying to enable carrier logo
When decompiling, i install the 2 frameworks (framework-res.apk and framework-miui-res.apk)
View 1 Replies
View Related
May 20, 2012
I have a device labelled Superpad VI. everything was okay but when i tried firmware update, its wifi stopped working and started giving "error" when i try to turn it on. Now I have just figured out that the original superpad VI has ralink wifi chipset whereas this device has realtek rtl8188cus chipset. so when i try to install superpad VI firmware, everything else works but wifi doesn't. Now how do I need to install the drivers for wifi? I have found the Linux/Android drivers from Realtek website but they need to be compiled. I know nothing about compiling/programming and Linux itself.
The un-compiled drivers can be found here (under rtl8188cus) [URL] ....
View 4 Replies
View Related
Nov 3, 2012
I've started compiling AOKP roms for Toroplus and Maguro recently and I'd like to start including Trinity Kernel in my Rom.
I know it can be flashed after the rom but I'd like to have it come installed with it.
View 1 Replies
View Related
Apr 8, 2013
I've been trying to compile the original code for the power control widget from the "settings" app, but it won't because of the missing / hidden / internal classes,I remember with a modified Settings apk with more or modified buttons in the widget.
View 1 Replies
View Related
Jun 8, 2014
was trying to build cm11 byt was never been able to get the final zip file. It happened over 7 times. My pc reboots in the middle of the process every time. Is there a way to check what is causing this reboot?
View 2 Replies
View Related
Aug 12, 2011
I'm writing an application that requires a custom USB driver, and i need LibUSB to be able to do it. I downloaded the following:
android.git.kernel.org Git - platform/external/libusb.git/summary
My problem is that when i try to cross compile using ./configure this lib, i get the error: unsupported operating system. I've been trying to configure like this:
Code:
./configure --host=arm-eabi CC=arm-linux-androideabi-gcc CPPFLAGS="-I$NDK_ROOT/platforms/android-3/arch-arm/usr/include/" CFLAGS="-nostdlib" LDFLAGS="-Wl,-rpath-link=$NDK_ROOT/platforms/android-3/arch-arm/usr/lib/ -L$NDK_ROOT/platforms/android-3/arch-arm/usr/lib/" LIBS="-lc"
The main aim is to be able to use the library with the Android NDK.
View 10 Replies
View Related
Apr 9, 2009
I want to add a new src folder to android project,but there are so many file "android.mk",so are my src folder.I have no ideas how these make files are connected with each other while compiling, how could I do ?
View 2 Replies
View Related
Feb 25, 2010
I'm compiling the android platform on my desktop. But, i have a problem:
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=AOSP
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=MASTER
============================================
/bin/bash: bison: command not found
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version of java.
Your version is: java version "1.6.0".
The correct version is: 1.5. Please follow the machine setup
instructions at: http://source.android.com/download
*********************************
build/core/main.mk:111: ** stop. Stop.
I don't know exactly how to compile it. my environment is Centos5. If it can't use java 1.6, how to be parallel between java1.6 and java1.5?
View 4 Replies
View Related
Jul 21, 2010
The last couple of weeks, my app is very slow compiling changes when the resources are modified in the project. Doesn't matter if it's strings or layout. Sometimes it takes as long as 30 seconds for the changes to apply. Compiling just the .java files are as fast as ever.
I used to have slowdowns after I having Eclipse open for the whole day, but restarting Eclipse always fixed that. Not this time. All my Eclipse and Android software is up-to-date. Has anyone experience this or have any suggestion as to what could be causing this and a fix? It's really cutting into my productivity.
View 2 Replies
View Related
Jul 30, 2010
I am going mad trying obfuscating my projects on Netbeans and it's not reasonable at the moment for me to switch to Eclipse I need a command line script that let me build and obfuscate my APK. Is there some example script, or some tutorial that could help me in this "intent"?
View 24 Replies
View Related
Sep 3, 2010
While compiling android project in eclipse 3.4.2, am getting The project cannot be built until the build path errors are resolved. I got a temporary solution from the blog http://www.scottdstrader.com/blog/ether_archives/000921.html
The resolution was to force a resave of the selected projects (and their .classpath files):
Open the project properties
Select Java Build Path > Libraries
Add a new, arbitrary library (to be deleted later) > OK
Wait for the workspace to refresh (or force a refresh of the project)
The error(s) will go away
Remove the dummy library
The only other references I could find were to make minor alterations of contents of the .classpath file.
View 1 Replies
View Related
Apr 29, 2009
I want to compile my application with full android source code. Its because If I compile it alone then I need different library with it and so .apk size will increase. So please tell me in which make file or configuration file should I do the change. I have placed my application inside ..mydroid/package/app . My application is developed in Eclipse and is compilable in eclipse.If there is other way by which .apk size can kept smaller please elaborate. Your help is highly appreciated.
View 2 Replies
View Related
Jun 23, 2009
Are there any android focused tutorials for developing a plugin for the browser? I can find examples for webkit plugins but I want to try developing a plugin that will access resources on the phone so there is more to it than generic webkit requirements. Also, after compiling a plugin how can I install it into the browser on my phone?
View 2 Replies
View Related
Sep 30, 2009
Could someone help me? I want to compile a android code on a server with a script, so without eclipse. Could you give me some explanations to do this?
View 3 Replies
View Related