[ERROR] could you delete this thread - Galaxy A3, A5, A7, A8, A9 General

Bad category, sorry
my post is moved

Related

[Q] Problem with Android-ViewPagerIndicator

Hi, I try to import and this Library in Eclipse:
https://github.com/JakeWharton/Android-ViewPagerIndicator
But there is a problem with the Maven installer because
he cannot resolve all the Depencies. From the "issue" tab
on github I got the info that I have update the depencies
from r4 to r6 in the pom.xml of the project. I tried this
but everytime I try to install the Library with "mvn install"
I get the following error:
Code:
c:\JakeWharton-Android-ViewPagerIndicator-3db7585>mvn install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
com.viewpagerindicator:library:apklib:2.2.0
[WARNING] 'build.plugins.plugin.version' for com.jayway.maven.plugins.android.ge
neration2:maven-android-plugin is missing. @ line 36, column 12
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
com.viewpagerindicator:sample:apk:2.2.0
[WARNING] 'build.plugins.plugin.version' for com.jayway.maven.plugins.android.ge
neration2:maven-android-plugin is missing. @ line 48, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Android-ViewPagerIndicator (Parent)
[INFO] Android-ViewPagerIndicator
[INFO] Android-ViewPagerIndicator Sample
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Android-ViewPagerIndicator (Parent) 2.2.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ parent ---
[INFO] Installing c:\JakeWharton-Android-ViewPagerIndicator-3db7585\pom.xml to C
:\Users\Cracksoldier\.m2\repository\com\viewpagerindicator\parent\2.2.0\parent-2
.2.0.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Android-ViewPagerIndicator 2.2.0
[INFO] ------------------------------------------------------------------------
Downloading: http://r.jakewharton.com/maven/release/android/support/compatibilit
y-v4/r4/compatibility-v4-r4.pom
Downloading: http://repo1.maven.org/maven2/android/support/compatibility-v4/r4/c
ompatibility-v4-r4.pom
[WARNING] The POM for android.support:compatibility-v4:jar:r4 is missing, no dep
endency information available
Downloading: http://r.jakewharton.com/maven/release/android/support/compatibilit
y-v4/r4/compatibility-v4-r4.jar
Downloading: http://repo1.maven.org/maven2/android/support/compatibility-v4/r4/c
ompatibility-v4-r4.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Android-ViewPagerIndicator (Parent) ............... SUCCESS [0.204s]
[INFO] Android-ViewPagerIndicator ........................ FAILURE [1.636s]
[INFO] Android-ViewPagerIndicator Sample ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.953s
[INFO] Finished at: Thu Dec 22 18:29:20 CET 2011
[INFO] Final Memory: 10M/108M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project library: Could not resolve dependencie
s for project com.viewpagerindicator:library:apklib:2.2.0: Could not find artifa
ct android.support:compatibility-v4:jar:r4 in com.jakewharton (http://r.jakewhar
ton.com/maven/release) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :library
c:\JakeWharton-Android-ViewPagerIndicator-3db7585>
I am new to Maven and I cant get it working. I also tried to import
it as a normal Android Project and then assing the library to the
sample project but then I get 1053 error(s).
I changed the depencies in the pom.xml files so that it looks
likes this:
Code:
android.support
compatibility-v6
${android.support.version}
I also tried:
compatibility-r6
compatibility-v4-r6
and I also tried to change this:
Code:
r4
to this:
Code:
r6
But nothing worked.
I hope anybody can help me because I am desperated right now
I tried everything in the last 2 days.
Edit:// Problem is solved
Best Regards

[Q&A] [UTIL][Oct 5 2014] Apktool v2.0.0 RC2 - a tool for reverse engineering apk fil.

[Q&A] [UTIL][Oct 5 2014] Apktool v2.0.0 RC2 - a tool for reverse engineering apk fil.
Q&A for [UTIL][Oct 5 2014] Apktool v2.0.0 RC2 - a tool for reverse engineering apk files
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [UTIL][Oct 5 2014] Apktool v2.0.0 RC2 - a tool for reverse engineering apk files. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Great! Thank alot! :good:
chung cư linh đàm
When use on MIUI 6
I got errors like:
invalid resource directory name: D:\Android\ApkIDE\Work\android\res/values-mcc9460-mnc9000
invalid resource directory name: D:\Android\ApkIDE\Work\android\res/values-mcc9998-mnc9999
can help me?
jazchen.tw said:
When use on MIUI 6
I got errors like:
invalid resource directory name: D:\Android\ApkIDE\Work\android\res/values-mcc9460-mnc9000
invalid resource directory name: D:\Android\ApkIDE\Work\android\res/values-mcc9998-mnc9999
can help me?
Click to expand...
Click to collapse
mnc max value is 999. Those are invalid values, not to mention you have backslashes mixed with forward slashes. You could either remove the folders or change them to mnc900 and mnc999.
iBotPeaches said:
mnc max value is 999. Those are invalid values, not to mention you have backslashes mixed with forward slashes. You could either remove the folders or change them to mnc900 and mnc999.
Click to expand...
Click to collapse
Those directories are miui official added.
Probably used to distinguish china edition or international edition (global edition).
I understand the part about the backslash, remove these directories can be done properly.
Can anyone take a look and let me know what i need to do? Thank you.
C:\>cd \apktool\apktool
C:\Apktool\Apktool>apktool d app.apk
Destination directory (C:\Apktool\Apktool\app) already exists. Use -f switch if
you want to overwrite it.
C:\Apktool\Apktool>apktool d app.apk
I: Using Apktool 2.0.0-RC2 on app.apk
I: Loading resource table...
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\David Weidman\apktool\framework\1.
apk
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
touchscreenBlocksFocus, value=0xffffffff
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x0101048f
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:3
6)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
sourceParser.java:369)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
ecoder.java:83)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:141)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:33)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
07)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:9
1)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:322
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:123)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:102)
at brut.apktool.Main.cmdDecode(Main.java:170)
at brut.apktool.Main.main(Main.java:86)
C:\Apktool\Apktool>
Hello,
I'm modding APK's for a while but today, I got a problem with an APK. When I'm decompiling and recompiling the APK without making changes then signing, it just closes on Android (No FC error) It worked for months, but since today's update not. So how can I fix this? Is the APK protected? Please help!
dr_w said:
Can anyone take a look and let me know what i need to do? Thank you.
C:\>cd \apktool\apktool
C:\Apktool\Apktool>apktool d app.apk
Destination directory (C:\Apktool\Apktool\app) already exists. Use -f switch if
you want to overwrite it.
C:\Apktool\Apktool>apktool d app.apk
I: Using Apktool 2.0.0-RC2 on app.apk
I: Loading resource table...
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\David Weidman\apktool\framework\1.
apk
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
touchscreenBlocksFocus, value=0xffffffff
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x0101048f
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:3
6)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
sourceParser.java:369)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
ecoder.java:83)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:141)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:33)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
07)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:9
1)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:322
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:123)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:102)
at brut.apktool.Main.cmdDecode(Main.java:170)
at brut.apktool.Main.main(Main.java:86)
C:\Apktool\Apktool>
Click to expand...
Click to collapse
Did you install all the resources?
Errors in the apktool are always in the very first section.
Yours states it couldn't decode something, so if you haven't I would try installing all the resources again
Sent from my SM-N900T using Tapatalk 2
你发布这个版本的apktool 无法在 Android 5.0 上面使用,egg pain
lil' problem
hello there!
im not a newbie in theming, but i just wanna ask..
why i always need to copy both META-INF and the AndroidManifest in order install the stock app (like Settings)..
i always need a custom rom where i can edit apks without copying those both files,...
it gives me the creeps.. i hate doing that since it consumes a time..
i cant make changes for some of my deodexed stock apps..
i still wondering how the devs make some changes for some apps..
i hope you got my point..
Apktool rc3
HI
can anyone help me?
i want to change the navbar size of my n4
i decompile framework-res.apk and change some of thinks. :
what i did ?
--
1 java -jar apktool.jar if framework-res.apk
2 java -jar apktool.jar d framework-res.apk
3 change the size in apktool/framework-res/res/value/dimens.xml
4 java -jar apktool.jar b framework-res
5 change framework-res.apk to .zip and move framework-res/build/apk/Androidmanifest.xml to framework-res.zip
6 change framework-res.zip to apk
is this ok or not ?
sorry for my bad english
Hi,
I'm trying to use apktool as a library inside another app, but it seems (at first glance at least) that a lot of the processing depends on setting files and the process working to take the compressed data in the apk, decode it, and write the output to a directory structure.
Is there already a sort of "simple" way to pass in an APK (or better yet, an InputStream or byte array) and have that return an XML document or even just a text stream of a resources file (values files or AndroidManifest.xml)? Or am I basically on my own to setup the objects/change the source to be able to access this sort of functionality?
Thank you!
GI0\/\NNI said:
Hello,
I'm modding APK's for a while but today, I got a problem with an APK. When I'm decompiling and recompiling the APK without making changes then signing, it just closes on Android (No FC error) It worked for months, but since today's update not. So how can I fix this? Is the APK protected? Please help!
Click to expand...
Click to collapse
try to disable signature verification,.. i think it would help..
i have the same prob,..
im not newbie in theming but when i start modding system app from my deodexed stock rom .. i got that prob..
an hour ago,.. i found a solution,.. (not yet tried) . from Pyler's post ..
ee this thread
http://forum.xda-developers.com/xposed/modules/xposed-disablesignaturecheck-t2783480
hope it helped you
My rockchip rk3066 ft970 tab not boot i think its bricked. I don't have backup. How to recover by rkbatchtool i successfully installed driver in rkbatchtool green box appears but when i flash cwm.img error that firmware is missing. So how i get firmware for my tab please help I'm new to xda and all
Thanks in advance
Can anyone help me decompiling this apk ?
Dropbox.com/s/05kj2x4zie734b9/com.asobimo.iruna_en-1.apk?dl=0
I can decompile with a Lot of errors and then many smali files have no .end method which makes recompiling impossible.
Decompiling errors for Multiple resources
Hello there
I've tried to decompiling and evectually install some framework-res.apk, miui6, mine lenovo A806 framework, on three different so, ubuntu 64bit, bbqlinux and, last, win7, with the same results:
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x010e0047 integer/config_mobile_mtu, config=-mcc460
detail on:
pastebin.com/isMFnP0v
BBq and Ubuntu are 64bit with lib32 enabled.
apktool ver. 2.0.0 RC3
Other frameworks as mediatek-res works well
Any idea?
Thanks
S.
ultimacorsa said:
Hello there
I've tried to decompiling and evectually install some framework-res.apk, miui6, mine lenovo A806 framework, on three different so, ubuntu 64bit, bbqlinux and, last, win7, with the same results:
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x010e0047 integer/config_mobile_mtu, config=-mcc460
detail on:
pastebin.com/isMFnP0v
BBq and Ubuntu are 64bit with lib32 enabled.
apktool ver. 2.0.0 RC3
Other frameworks as mediatek-res works well
Any idea?
Thanks
S.
Click to expand...
Click to collapse
Solved!
Thanks
S.
Uncompressed unknown files becomes compressed.
Issue:
https://code.google.com/p/android-apktool/issues/detail?id=769&thanks=769&ts=1424960582
I believe it prevents monodroid/xamarin apk from working.
ultimacorsa said:
Solved!
Thanks a lotv1 e v2
S.
Click to expand...
Click to collapse
Thanks a lotv1 e v2
---------- Post added at 06:52 PM ---------- Previous post was at 06:44 PM ----------
ultimacorsa said:
Thanks a lotv1 e v2
Click to expand...
Click to collapse
I need to reach 10 posts
---------- Post added at 07:41 PM ---------- Previous post was at 06:52 PM ----------
Hello, decompile with apktool rc4, via dos cmd line or linux shell
insert value-xx (xx=lang)
Recompile with some warning about the default strings
Insert in the new lenovosettings.apk META-INF and AndroidManifest.xml, substituite the file in the priv-app, restart the phone...But the settings return an error message: the application blocked anomaly mode, more o less.
The courios is that the USB message is translate as the new apk laguage.
Any suggestion?
Thanks a lot
S.
Hello. I have a problem with APK tool.
I`m making localization for my phone (Motorola Razr M) since last year.
I made couple builds and its was fine. But when i did last one, i found a bug in my mod: Google Now cant launch - it just hangs screen (need to turn screen on\off to make it work)
I found out that problem is in framework-res.apk. if decompile and recompile it back even without any changes - bug persist. My previous builds was ok, and i used same Java version and same apktool version. Framework compiles without any errors. Tried different pc, different java versions (different builds of 7 and 8 java), even tried different phone.
Tried to use non-modified (original) framework-res.apk as framework, tried localized version.
Even tried to change file modification date.
Nothing helps. Dunno where to look.
sorry for bad english

[Q&A] [SOURCES][DEVONLY] CyanogenMod 11.0

Q&A for [SOURCES][DEVONLY] CyanogenMod 11.0
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [SOURCES][DEVONLY] CyanogenMod 11.0. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
CM11
Thank you for your efforts and hardwork. I look forward to running cm 11 on the alpha.
Congo from India. Pl. Check it and tell if all features working or not..
what about CM12 any news on that?
HELLO?
Hi. Nice to catch this thread.
I just wanna know... Can korean alpha get this cm11? Or...can get g850f only?
And i wanna talk to you. Cheer up!
Thank you for developing this alpha, modfunk!
Finally, good luck for my ss g alpha....
(i just wanna 'plus alpha' yeah!)
We will only know if you try. I don't know your hardware I only own a G850F
Hi there,
I can hardly wait to get CM11 on my device. Otherwise using this phone is pointelss for me. I would throw the whole Samsung stock ROM to somewhere that it can burn slowly and flawlessly to the ground.
Thanks guys for your efforts!
Can anybody show video hows cyano 11 on alpha ?
thnx
Simona Simmy said:
Can anybody show video hows cyano 11 on alpha ?
thnx
Click to expand...
Click to collapse
CM11 isn't ready for consuming yet on the alpha.
Yet this is called "Devonly" (developers only) and "source".
This means: get github access, get the source, get the tools, compile it, debug compilation process, fix compilation process, get a image.
Pray, push it on your device, hopefully you won't have softbricked your device.
Debug the features that are missing, fix the bugs, find solutions, recompile.
At the moment, modpunkt still has the following (major) issues:
http://forum.xda-developers.com/showpost.php?p=57233732&postcount=46
https://www.youtube.com/watch?v=1_H4AlQaNa0 seems to be a video that explains how to compile from source, it is not mine, but looks good from a first glance at google.
Simona Simmy said:
Can anybody show video hows cyano 11 on alpha ?
thnx
Click to expand...
Click to collapse
It's not useable. No network connection is working yet ...
Thank youu
Thanks to dev(s) from me too. It's interesting to follow your progress, it reminds me of the good old zte blade 1 ages where few devs hacked the **** out of that device.
How can I help ?
Hello guys, I have a Galaxy Alpha for over a week now... And just can't stand that touchwiz stock rom anymore..
So what can I do to help you guys ? I have no experience in porting roms, but I have SM-G850F and just want to help you guys.. For example I can test everything you give me and other things Just let me know
will try to help
Hello, @modpunk
Although I have no CM porting experience I know C and Java. I have set up my CM environment, built and deployed my own unofficial ROM to one of my other devices.
My SM-G850F should arrive this coming week and I just may try help with the TODO. I'm a little confused trying to find out what are your repos to place in my local manifests, can you please list and describe them?
TIA,
Nuno
nuno.f.ferreira said:
Hello, @modpunk
Although I have no CM porting experience I know C and Java. I have set up my CM environment, built and deployed my own unofficial ROM to one of my other devices.
My SM-G850F should arrive this coming week and I just may try help with the TODO. I'm a little confused trying to find out what are your repos to place in my local manifests, can you please list and describe them?
TIA,
Nuno
Click to expand...
Click to collapse
Everything is in the readme of the cm-11.0 rep
http://git.cryptomilk.org/projects/android/android_device_samsung_slte.git/tree/README?h=cm-11.0
Building CM11 for Samsung Galaxy Alpha
Hello,
Was trying to post in http://forum.xda-developers.com/galaxy-alpha/orig-development/sources-cyanogenmod-11-0-t2933305 but apparently need to do it here.
Building with this instructions http://git.cryptomilk.org/projects/android/android_device_samsung_slte.git/tree/README?h=cm-11.0 have the following error. Thought I ask before starting to dig...
<CONSOLE>
target thumb C++: hwcomposer.exynos5 <= hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp: In function 'bool hdmi_is_preset_supported(exynos5_hwc_composer_device_1_t*, int)':
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:462:32: error: aggregate 'hdmi_is_preset_supported(exynos5_hwc_composer_device_1_t*, int)::v4l2_dv_enum_preset enum_preset' has incomplete type and cannot be defined
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:469:45: error: 'VIDIOC_ENUM_DV_PRESETS' was not declared in this scope
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp: In function 'int hdmi_get_config(exynos5_hwc_composer_device_1_t*)':
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:577:27: error: aggregate 'hdmi_get_config(exynos5_hwc_composer_device_1_t*)::v4l2_dv_preset preset' has incomplete type and cannot be defined
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:578:32: error: aggregate 'hdmi_get_config(exynos5_hwc_composer_device_1_t*)::v4l2_dv_enum_preset enum_preset' has incomplete type and cannot be defined
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:586:39: error: 'VIDIOC_G_DV_PRESET' was not declared in this scope
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp: In function 'int hdmi_output(exynos5_hwc_composer_device_1_t*, hdmi_layer_t&, hwc_layer_1_t&, private_handle_t*, int, int*)':
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:1159:52: error: invalid conversion from '__u32 {aka unsigned int}' to 'v4l2_buf_type' [-fpermissive]
In file included from hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.h:52:0,
from hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:27:
./hardware/samsung_slsi/exynos/include/exynos_v4l2.h:76:5: error: initializing argument 2 of 'int exynos_v4l2_streamon(int, v4l2_buf_type)' [-fpermissive]
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp: At global scope:
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:4586:1: warning: missing initializer for member 'hw_module_t::dso' [-Wmissing-field-initializers]
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:4586:1: warning: missing initializer for member 'hw_module_t::reserved' [-Wmissing-field-initializers]
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp: In function 'int hdmi_get_config(exynos5_hwc_composer_device_1_t*)':
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:592:1: error: control reaches end of non-void function [-Werror=return-type]
cc1plus: some warnings being treated as errors
make: *** [/opt/android/system/out/target/product/slte/obj/SHARED_LIBRARIES/hwcomposer.exynos5_intermediates/ExynosHWC.o] Error 1
</CONSOLE>
TIA,
Nuno
nuno.f.ferreira said:
Hello,
Was trying to post in http://forum.xda-developers.com/galaxy-alpha/orig-development/sources-cyanogenmod-11-0-t2933305 but apparently need to do it here.
Building with this instructions http://git.cryptomilk.org/projects/android/android_device_samsung_slte.git/tree/README?h=cm-11.0 have the following error. Thought I ask before starting to dig...
<CONSOLE>
target thumb C++: hwcomposer.exynos5 <= hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp: In function 'bool hdmi_is_preset_supported(exynos5_hwc_composer_device_1_t*, int)':
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:462:32: error: aggregate 'hdmi_is_preset_supported(exynos5_hwc_composer_device_1_t*, int)::v4l2_dv_enum_preset enum_preset' has incomplete type and cannot be defined
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:469:45: error: 'VIDIOC_ENUM_DV_PRESETS' was not declared in this scope
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp: In function 'int hdmi_get_config(exynos5_hwc_composer_device_1_t*)':
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:577:27: error: aggregate 'hdmi_get_config(exynos5_hwc_composer_device_1_t*)::v4l2_dv_preset preset' has incomplete type and cannot be defined
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:578:32: error: aggregate 'hdmi_get_config(exynos5_hwc_composer_device_1_t*)::v4l2_dv_enum_preset enum_preset' has incomplete type and cannot be defined
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:586:39: error: 'VIDIOC_G_DV_PRESET' was not declared in this scope
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp: In function 'int hdmi_output(exynos5_hwc_composer_device_1_t*, hdmi_layer_t&, hwc_layer_1_t&, private_handle_t*, int, int*)':
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:1159:52: error: invalid conversion from '__u32 {aka unsigned int}' to 'v4l2_buf_type' [-fpermissive]
In file included from hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.h:52:0,
from hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:27:
./hardware/samsung_slsi/exynos/include/exynos_v4l2.h:76:5: error: initializing argument 2 of 'int exynos_v4l2_streamon(int, v4l2_buf_type)' [-fpermissive]
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp: At global scope:
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:4586:1: warning: missing initializer for member 'hw_module_t::dso' [-Wmissing-field-initializers]
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:4586:1: warning: missing initializer for member 'hw_module_t::reserved' [-Wmissing-field-initializers]
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp: In function 'int hdmi_get_config(exynos5_hwc_composer_device_1_t*)':
hardware/samsung_slsi/exynos5-insignal/libhwc/ExynosHWC.cpp:592:1: error: control reaches end of non-void function [-Werror=return-type]
cc1plus: some warnings being treated as errors
make: *** [/opt/android/system/out/target/product/slte/obj/SHARED_LIBRARIES/hwcomposer.exynos5_intermediates/ExynosHWC.o] Error 1
</CONSOLE>
TIA,
Nuno
Click to expand...
Click to collapse
seems you haven't applied this patch: http://review.cyanogenmod.org/#/c/78565/
Thanks for the reply.
Hmm, I have CyanogenMod/android_hardware_samsung_slsi_exynos5-insignal in my local manifest and repos are synced. Do you mean there are patch sets that have to be applied manually? If so, do you know if anymore besides this one?
nuno.f.ferreira said:
Thanks for the reply.
Hmm, I have CyanogenMod/android_hardware_samsung_slsi_exynos5-insignal in my local manifest and repos are synced. Do you mean there are patch sets that have to be applied manually? If so, do you know if anymore besides this one?
Click to expand...
Click to collapse
yes, you have to apply that patch manually. No more patches are needed to build cm at this moment.
Thanks. Did that.
Now I have this. Is this known?
<CONSOLE>
Package OTA: /opt/android/system/out/target/product/slte/cm_slte-ota-67a8ffa7a4.zip
MKBOOTIMG= \
./build/tools/releasetools/ota_from_target_files -v \
-p /opt/android/system/out/host/linux-x86 \
-k build/target/product/security/testkey \
--backup=true \
--override_device=auto \
\
\
/opt/android/system/out/target/product/slte/obj/PACKAGING/target_files_intermediates/cm_slte-target_files-67a8ffa7a4.zip /opt/android/system/out/target/product/slte/cm_slte-ota-67a8ffa7a4.zip
unzipping target target-files...
running: unzip -o -q /opt/android/system/out/target/product/slte/obj/PACKAGING/target_files_intermediates/cm_slte-target_files-67a8ffa7a4.zip -d /tmp/targetfiles-6wcH3r
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 1132, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 1075, in main
OPTIONS.info_dict = common.LoadInfoDict(input_zip)
File "/opt/android/system/build/tools/releasetools/common.py", line 155, in LoadInfoDict
d["fstab"] = LoadRecoveryFSTab(zip, d["fstab_version"])
File "/opt/android/system/build/tools/releasetools/common.py", line 227, in LoadRecoveryFSTab
raise ValueError("malformed recovery.fstab line: "%s"" % (line,))
ValueError: malformed recovery.fstab line: "/efs ext4 /dev/block/mmcblk0p3 flags=backup=1"
make: *** [/opt/android/system/out/target/product/slte/cm_slte-ota-67a8ffa7a4.zip] Error 1
</CONSOLE>

[Q&A] [GUIDE] Build Your Own Android Kernel{Easiest and Fastest Way] [Using The NDK]

[Q&A] [GUIDE] Build Your Own Android Kernel{Easiest and Fastest Way] [Using The NDK]
Q&A for [GUIDE] Build Your Own Android Kernel{Easiest and Fastest Way] [Using The NDK]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [GUIDE] Build Your Own Android Kernel{Easiest and Fastest Way] [Using The NDK]. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
will it work for MTK6589 ?
Hi,
Its nice post regarding android applications development. This app information will more beneficial for every user.I can download and use this app now.
need help
I followed the guide perfectly but when do the command to make give me an error that I could not find solution .
OSError: [Errno 2] No such file or directory
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
/home/manuel/android/kernel/GT-S6500D_EUR_Kernel/scripts/gcc-version.sh: line 25: /home/manuel/android/ndk/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: No such file or directory
/home/manuel/android/kernel/GT-S6500D_EUR_Kernel/scripts/gcc-version.sh: line 26: /home/manuel/android/ndk/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: No such file or directory
I have tried changing toolchain ten times and completely redo again.
i am on ubuntu 12:10 x64 8gb ram 4 cores .
if you can help me thank you in advance .
P.S. sorry for my english but I'm an Italian student
This is a great guide, thank you!
/home/username can be replaced with ~/ for brevity.
Hello everyone, I'm new to the kernel game. I've got everything situated until I get this:
make: rm: Command not found
Makefile:804: recipe for target 'include/config/kernel.release' failed
make: *** [include/config/kernel.release] Error 127
I'm completely stuck on this. Any help would be appreciated.

[NeedHelp] [AOSP] When I try to build AOSP from source code, it has the following error

```
clang: error: clang frontend command failed with exit code 139 (use -v to see invocation)
Android (7485623, based on r416183b1) clang version 12.0.7 (https://android.googlesource.com/toolchain/
llvm-project c935d99d7cf2016289302412d708641d52d2f7ee)
Target: armv7a-unknown-linux-android10000
Thread model: posix
InstalledDir: prebuilts/clang/host/linux-x86/clang-r416183b1/bin
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /home/logic/Android/out/soong/.temp/tree-236d56.c
clang: note: diagnostic msg: /home/logic/Android/out/soong/.temp/tree-236d56.sh
clang: note: diagnostic msg:
```
logic_f said:
```
clang: error: clang frontend command failed with exit code 139 (use -v to see invocation)
Android (7485623, based on r416183b1) clang version 12.0.7 (https://android.googlesource.com/toolchain/
llvm-project c935d99d7cf2016289302412d708641d52d2f7ee)
Target: armv7a-unknown-linux-android10000
Thread model: posix
InstalledDir: prebuilts/clang/host/linux-x86/clang-r416183b1/bin
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /home/logic/Android/out/soong/.temp/tree-236d56.c
clang: note: diagnostic msg: /home/logic/Android/out/soong/.temp/tree-236d56.sh
clang: note: diagnostic msg:
```
Click to expand...
Click to collapse
@logic_f
Welcome to XDA. I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A. Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator

Categories

Resources