Related
I have 2 questions regarding framework-res.apk (I think):
1. Where are the pngs for the on/off switches in settings located?
2. How to change the on/off text to I/O?
Vic. said:
1. Where are the pngs for the on/off switches in settings located?
Click to expand...
Click to collapse
drawable-hdpi.
Vic. said:
2. How to change the on/off text to I/O?
Click to expand...
Click to collapse
Decompile and edit strings.xml.
XperienceD said:
drawable-hdpi.
Click to expand...
Click to collapse
What are their filenames exactly? I searched through the whole drawable-hdpi earlier today but I didn't find them.
Vic. said:
What are their filenames exactly? I searched through the whole drawable-hdpi earlier today but I didn't find them.
Click to expand...
Click to collapse
Extract it then you can see what every image is.
XperienceD said:
Extract it then you can see what every image is.
Click to expand...
Click to collapse
I did that and looked through all the images, but I still couldn't find it. I'll try to find it again now.
I'm getting these errors when trying to compile it:
Code:
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) 64-Bit Server VM (build 22.0-b10, mixed mode)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Victor_2\AppData\Local\Temp\APKTOOL3913261807782211521.tmp, -x, -S, C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res, -M, C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Victor_2\AppData\Local\Temp\APKTOOL3913261807782211521.tmp, -x, -S, C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res, -M, C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/animator
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/drawable-sw600dp-hdpi
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/drawable-xlarge-nodpi
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/interpolator
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/layout-sw600dp
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/layout-w600dp
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/layout-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/mipmap-hdpi
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/mipmap-ldpi
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/mipmap-mdpi
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/mipmap-xhdpi
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-ar-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-bg-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-bn-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-bs-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-ca-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-cs-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-da-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-de-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-el-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-en-rGB-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-en-rUS-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-en-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-es-rES-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-es-rUS-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-es-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-et-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-eu-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-fa-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-fi-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-fr-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-gl-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-hi-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-hr-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-hu-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-in-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-is-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-it-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-iw-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-ja-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-jv-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-kk-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-ko-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-lt-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-lv-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-mk-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-ms-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-nb-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-nl-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-pl-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-pt-rPT-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-pt-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-ro-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-ru-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-sk-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-sl-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-sq-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-sr-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-su-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-sv-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-th-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-tl-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-tr-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-uk-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-vi-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-zh-rCN-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-zh-rHK-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/raw-zh-rTW-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/values-h720dp
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/values-sw600dp
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/values-sw600dp-land
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/values-sw600dp-w1024dp
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/values-sw600dp-w1280dp
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/values-w360dp
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/values-w480dp
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/values-w500dp
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/values-w600dp
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/values-w720dp
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/values-xlarge
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/values-xlarge-land
invalid resource directory name: C:\Users\Victor_2\Desktop\framework_flasher\files-to-edit\framework-res.apk\res/xml-xlarge
I found the pngs btw.
Which apktool are you using?
Sent from my Phone.
XperienceD said:
Which apktool are you using?
Sent from my Phone.
Click to expand...
Click to collapse
You mean which version? I tried like 3 different tools and all of them are giving me these errors.
Can anybody help me please? I'm using ICS 4.0.4 btw.
Vic. said:
Can anybody help me please?
Click to expand...
Click to collapse
Yes, but when asked a specific question don't respond with a vague answer. Try THIS.
XperienceD said:
Yes, but when asked a specific question don't respond with a vague answer. Try THIS.
Click to expand...
Click to collapse
Thanks, I'll try that when I get back at my computer. I hope it works, this thing is giving me headaches. I tried with SystemUI too, it didn't work for it either.
Not working, it doesn't even want to decompile now:
Code:
C:\Users\Victor_2\Desktop\apktool>apktool d -f SystemUI.apk
I: Baksmaling...
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78
0a 30 33 36 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:48)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
Is that with a stock apk? I don't get that issue.
Sent from my Phone.
XperienceD said:
Is that with a stock apk? I don't get that issue.
Sent from my Phone.
Click to expand...
Click to collapse
Not really stock, it's from the Ice Dark Ray theme.
Have you installed the 3 files first?
Sent from my Phone.
XperienceD said:
Have you installed the 3 files first?
Sent from my Phone.
Click to expand...
Click to collapse
Yes, I installed them.
Google the bad magic value line and see what it comes up with, it should be working as I've had no issue decompiling the same apk.
Sent from my Phone.
XperienceD said:
Google the bad magic value line and see what it comes up with, it should be working as I've had no issue decompiling the same apk.
Sent from my Phone.
Click to expand...
Click to collapse
I found a modded apktool, decompiling works but compiling doesn't.
Here's a part of the log, because I can't paste it all:
Code:
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:428: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim83 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:429: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim84 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:139: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim85 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:430: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim86 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:431: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim87 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:432: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim88 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:433: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim89 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:434: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim9 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:435: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim90 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:436: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim91 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:437: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim92 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:438: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim93 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:439: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim94 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:440: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim95 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:441: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim96 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:442: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim97 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:443: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim98 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:444: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim99 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:140: error: Pub
lic symbol drawable/stat_sys_data_bluetooth declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:141: error: Pub
lic symbol drawable/stat_sys_data_bluetooth_connected declared here is not defin
ed.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:142: error: Pub
lic symbol drawable/stat_sys_data_connected_1x declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:143: error: Pub
lic symbol drawable/stat_sys_data_connected_3g declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:144: error: Pub
lic symbol drawable/stat_sys_data_connected_4g declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:145: error: Pub
lic symbol drawable/stat_sys_data_connected_e declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:146: error: Pub
lic symbol drawable/stat_sys_data_connected_g declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:147: error: Pub
lic symbol drawable/stat_sys_data_connected_h declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:148: error: Pub
lic symbol drawable/stat_sys_data_connected_roam declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:149: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_1x declared here is not define
d.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:150: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_3g declared here is not define
d.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:151: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_4g declared here is not define
d.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:152: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_e declared here is not defined
.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:153: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_g declared here is not defined
.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:154: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_h declared here is not defined
.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:155: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_0 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:156: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_0_fully declared here is not defi
ned.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:157: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_1 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:158: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_1_fully declared here is not defi
ned.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:159: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_2 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:160: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_2_fully declared here is not defi
ned.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:161: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_3 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:162: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_3_fully declared here is not defi
ned.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:163: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_disconnected declared here is not
defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:164: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_idle declared here is not defined
.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:165: error: Pub
lic symbol drawable/stat_sys_gps_acquiring declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:47: error: Publ
ic symbol drawable/stat_sys_gps_acquiring_anim declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:166: error: Pub
lic symbol drawable/stat_sys_hac_on declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:167: error: Pub
lic symbol drawable/stat_sys_no_sim declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:168: error: Pub
lic symbol drawable/stat_sys_ringer_silent declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:169: error: Pub
lic symbol drawable/stat_sys_ringer_vibrate declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:170: error: Pub
lic symbol drawable/stat_sys_roaming_cdma_0 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:48: error: Publ
ic symbol drawable/stat_sys_roaming_cdma_flash declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:171: error: Pub
lic symbol drawable/stat_sys_roaming_cdma_flash_anim0 declared here is not defin
ed.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:172: error: Pub
lic symbol drawable/stat_sys_roaming_cdma_flash_anim1 declared here is not defin
ed.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:173: error: Pub
lic symbol drawable/stat_sys_signal_0 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:174: error: Pub
lic symbol drawable/stat_sys_signal_0_fully declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:175: error: Pub
lic symbol drawable/stat_sys_signal_1 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:176: error: Pub
lic symbol drawable/stat_sys_signal_1_fully declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:177: error: Pub
lic symbol drawable/stat_sys_signal_2 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:178: error: Pub
lic symbol drawable/stat_sys_signal_2_fully declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:179: error: Pub
lic symbol drawable/stat_sys_signal_3 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:180: error: Pub
lic symbol drawable/stat_sys_signal_3_fully declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:181: error: Pub
lic symbol drawable/stat_sys_signal_4 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:182: error: Pub
lic symbol drawable/stat_sys_signal_4_fully declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:183: error: Pub
lic symbol drawable/stat_sys_signal_flightmode declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:184: error: Pub
lic symbol drawable/stat_sys_signal_in declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:185: error: Pub
lic symbol drawable/stat_sys_signal_inout declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:49: error: Publ
ic symbol drawable/stat_sys_signal_null declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:186: error: Pub
lic symbol drawable/stat_sys_signal_out declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:187: error: Pub
lic symbol drawable/stat_sys_sync declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:188: error: Pub
lic symbol drawable/stat_sys_sync_error declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:189: error: Pub
lic symbol drawable/stat_sys_tty_mode declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:190: error: Pub
lic symbol drawable/stat_sys_wifi_in declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:191: error: Pub
lic symbol drawable/stat_sys_wifi_inout declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:192: error: Pub
lic symbol drawable/stat_sys_wifi_limited_signal_0 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:193: error: Pub
lic symbol drawable/stat_sys_wifi_limited_signal_1 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:194: error: Pub
lic symbol drawable/stat_sys_wifi_limited_signal_2 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:195: error: Pub
lic symbol drawable/stat_sys_wifi_limited_signal_3 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:196: error: Pub
lic symbol drawable/stat_sys_wifi_limited_signal_4 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:197: error: Pub
lic symbol drawable/stat_sys_wifi_out declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:198: error: Pub
lic symbol drawable/stat_sys_wifi_signal_0 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:199: error: Pub
lic symbol drawable/stat_sys_wifi_signal_1 declared here is not defined.
C:\Users\ViException in thread "main" ctor_2\Desktop\apktool\SystemUI\res\values
\public.xml:200: error: Public symbol drawable/stat_sys_wifi_signal_1_fully decl
ared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:201: error: Pub
lic symbol drawable/stat_sys_wifi_signal_2 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:202: error: Pub
lic symbol drawable/stat_sys_wifi_signal_2_fully declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:203: error: Pub
lic symbol drawable/stat_sys_wifi_signal_3 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:204: error: Pub
lic symbol drawable/stat_sys_wifi_signal_3_fully declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:205: error: Pub
lic symbol drawable/stat_sys_wifi_signal_4 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:206: error: Pub
lic symbol drawable/stat_sys_wifi_signal_4_fully declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:254: error: Pub
lic symbol drawable/stat_vibrate_off declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:255: error: Pub
lic symbol drawable/stat_wifi_off declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:256: error: Pub
lic symbol drawable/stat_wifi_on declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:62: error: Publ
ic entry identifier 0x7f0200ca entry index is larger than available symbols (ind
ex 202, total symbols 13).
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:62: error: Publ
ic symbol drawable/status_bar_background declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:50: error: Publ
ic symbol drawable/status_bar_bg declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:207: error: Pub
lic symbol drawable/status_bar_bg_tile declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:208: error: Pub
lic symbol drawable/status_bar_close_on declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:51: error: Publ
ic symbol drawable/status_bar_expand declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:209: error: Pub
lic symbol drawable/status_bar_expand_default declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:210: error: Pub
lic symbol drawable/status_bar_expand_pressed declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:211: error: Pub
lic symbol drawable/status_bar_hr declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:52: error: Publ
ic symbol drawable/status_bar_item_background declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:65: error: Publ
ic entry identifier 0x7f0200cd entry index is larger than available symbols (ind
ex 205, total symbols 13).
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:65: error: Publ
ic symbol drawable/status_bar_notification_row_background_color declared here is
not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:64: error: Publ
ic entry identifier 0x7f0200cc entry index is larger than available symbols (ind
ex 204, total symbols 13).
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:64: error: Publ
ic symbol drawable/status_bar_recents_app_thumbnail_background declared here is
not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:53: error: Publ
ic symbol drawable/status_bar_recents_background declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:63: error: Publ
ic entry identifier 0x7f0200cb entry index is larger than available symbols (ind
ex 203, total symbols 13).
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:63: error: Publ
ic symbol drawable/status_bar_recents_background_solid declared here is not defi
ned.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:54: error: Publ
ic symbol drawable/status_bar_settings_slider_disabled declared here is not defi
ned.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:55: error: Publ
ic symbol drawable/status_bar_ticker_background declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:56: error: Publ
ic symbol drawable/status_bar_toggle_button declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:57: error: Publ
ic symbol drawable/ticker_background declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:61: error: Publ
ic entry identifier 0x7f0200c9 entry index is larger than available symbols (ind
ex 201, total symbols 13).
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:61: error: Publ
ic symbol drawable/ticker_background_color declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:212: error: Pub
lic symbol drawable/title_bar_shadow declared here is not defined.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec comma
nd: [aapt, p, -F, C:\Users\Victor_2\AppData\Local\Temp\APKTOOL887194812350367839
4.tmp, -I, C:\Users\Victor_2\apktool\framework\1.apk, -S, C:\Users\Victor_2\Desk
top\apktool\SystemUI\res, -M, C:\Users\Victor_2\Desktop\apktool\SystemUI\Android
Manifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Victor_2\AppData\Local\Temp\APKTOOL8871948123503678394.tmp, -I, C:\Users\Vi
ctor_2\apktool\framework\1.apk, -S, C:\Users\Victor_2\Desktop\apktool\SystemUI\r
es, -M, C:\Users\Victor_2\Desktop\apktool\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
C:\Users\Victor_2\Desktop\apktool>
Use THIS apktool for compiling problem apks, I have two folders set up so do the same, use one for decompiling and this one for those that won't recompile.
XperienceD said:
Use THIS apktool for compiling problem apks, I have two folders set up so do the same, use one for decompiling and this one for those that won't recompile.
Click to expand...
Click to collapse
It still doesn't work :
Code:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec comma
nd: [aapt, p, -F, C:\Users\Victor_2\AppData\Local\Temp\APKTOOL215729143402500349
.tmp, -I, C:\Users\Victor_2\apktool\framework\1.apk, -S, C:\Users\Victor_2\Deskt
op\apktool-c\SystemUI\res, -M, C:\Users\Victor_2\Desktop\apktool-c\SystemUI\Andr
oidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Victor_2\AppData\Local\Temp\APKTOOL215729143402500349.tmp, -I, C:\Users\Vic
tor_2\apktool\framework\1.apk, -S, C:\Users\Victor_2\Desktop\apktool-c\SystemUI\
res, -M, C:\Users\Victor_2\Desktop\apktool-c\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Hello and welcome,
I have a HTC wildfire, Kernel 2.6.29-something.
I downloaded the offical NDK and the offical kernel version from htcdev.
I set the path variable for CROSS_COMPILE and started doing a make.
There are tons of errors ...
The original kernel does not seem to compile - I may post some errors:
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-arm
CALL scripts/checksyscalls.sh
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
CHK include/linux/compile.h
dnsdomainname: Name or service not known
CC drivers/i2c/chips/mt9t013.o
drivers/i2c/chips/mt9t013.c:33:28: error: mach/msm_iomap.h: No such file or directory
drivers/i2c/chips/mt9t013.c:34:32: error: mach/msm_rpcrouter.h: No such file or directory
drivers/i2c/chips/mt9t013.c:35:23: error: mach/vreg.h: No such file or directory
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_sensor_init':
drivers/i2c/chips/mt9t013.c:459: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:461: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:465: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:469: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:471: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:473: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:474: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:490: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:495: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:497: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:498: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_sensor_suspend':
drivers/i2c/chips/mt9t013.c:529: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_open':
drivers/i2c/chips/mt9t013.c:541: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_release':
drivers/i2c/chips/mt9t013.c:567: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_camif_pad_reg_reset':
drivers/i2c/chips/mt9t013.c:600: error: 'MSM_MDC_BASE' undeclared (first use in this function)
drivers/i2c/chips/mt9t013.c:600: error: (Each undeclared identifier is reported only once
drivers/i2c/chips/mt9t013.c:600: error: for each function it appears in.)
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_ioctl':
drivers/i2c/chips/mt9t013.c:689: error: 'MSM_MDC_BASE' undeclared (first use in this function)
drivers/i2c/chips/mt9t013.c:709: error: 'MSM_CLK_CTL_BASE' undeclared (first use in this function)
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_lens_power':
drivers/i2c/chips/mt9t013.c:821: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:823: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:825: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:826: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_remove':
drivers/i2c/chips/mt9t013.c:1301: warning: 'i2c_detach_client' is deprecated (declared at include/linux/i2c.h:435)
drivers/i2c/chips/mt9t013.c: At top level:
drivers/i2c/chips/mt9t013.c:1322: warning: 'struct platform_device' declared inside parameter list
drivers/i2c/chips/mt9t013.c:1322: warning: its scope is only this definition or declaration, which is probably not what you want
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_plat_probe':
drivers/i2c/chips/mt9t013.c:1326: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:1329: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c: At top level:
drivers/i2c/chips/mt9t013.c:1335: error: variable 'mt9t013_plat_driver' has initializer but incomplete type
drivers/i2c/chips/mt9t013.c:1336: error: unknown field 'probe' specified in initializer
drivers/i2c/chips/mt9t013.c:1336: warning: excess elements in struct initializer
drivers/i2c/chips/mt9t013.c:1336: warning: (near initialization for 'mt9t013_plat_driver')
drivers/i2c/chips/mt9t013.c:1337: error: unknown field 'driver' specified in initializer
drivers/i2c/chips/mt9t013.c:1337: error: extra brace group at end of initializer
drivers/i2c/chips/mt9t013.c:1337: error: (near initialization for 'mt9t013_plat_driver')
drivers/i2c/chips/mt9t013.c:1340: warning: excess elements in struct initializer
drivers/i2c/chips/mt9t013.c:1340: warning: (near initialization for 'mt9t013_plat_driver')
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_init':
drivers/i2c/chips/mt9t013.c:1345: error: implicit declaration of function 'platform_driver_register'
make[3]: *** [drivers/i2c/chips/mt9t013.o] Error 1
make[2]: *** [drivers/i2c/chips] Error 2
make[1]: *** [drivers/i2c] Error 2
make: *** [drivers] Error 2
Click to expand...
Click to collapse
Could someone please tell me how to get this kernel to work?
To be honest I only need the kernel to be compiled, so that my C-module can get compiled for this kernel.
Thanks for your help.
Kind regards
post this thing to androidstack website. may be there u can get better answers.
Sent from my HTC Wildfire using xda app-developers app
make 100% sure you have installed all the files needed to compile kernels. Look at a few kernel compiling guides and install everything.
Otherwise try a different cross compiler, such as GCC 4.4.3 as this is the safest option
Checking build tools versions...
/home/blackcat/cm11/out/target/product/ancora/obj/APPS/SignatureTest_intermediates
find: `src': No such file or directory
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/blackcat/cm11/out/target/product/ancora/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/blackcat/cm11/out/target/product/ancora/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/blackcat/cm11/out/target/product/ancora/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/blackcat/cm11/out/target/product/ancora/obj/include/qcom/display/copybit_priv.h'
error help me
Import includes file: /home/blackcat/cm11/out/target/product/ancora/obj/EXECUTABLES/vim_intermediates/import_includes
make: *** No rule to make target `vendor/cm/proprietary/Term.apk', needed by `/home/blackcat/cm11/out/target/product/ancora/system/app/Term.apk'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: external/vim/src/Android.mk -- /home/blackcat/cm11/out/target/product/ancora/obj/EXECUTABLES/vim_intermediates/export_includes
blackcat67 said:
Checking build tools versions...
/home/blackcat/cm11/out/target/product/ancora/obj/APPS/SignatureTest_intermediates
find: `src': No such file or directory
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/blackcat/cm11/out/target/product/ancora/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/blackcat/cm11/out/target/product/ancora/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/blackcat/cm11/out/target/product/ancora/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/blackcat/cm11/out/target/product/ancora/obj/include/qcom/display/copybit_priv.h'
error help me
Import includes file: /home/blackcat/cm11/out/target/product/ancora/obj/EXECUTABLES/vim_intermediates/import_includes
make: *** No rule to make target `vendor/cm/proprietary/Term.apk', needed by `/home/blackcat/cm11/out/target/product/ancora/system/app/Term.apk'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: external/vim/src/Android.mk -- /home/blackcat/cm11/out/target/product/ancora/obj/EXECUTABLES/vim_intermediates/export_includes
Click to expand...
Click to collapse
Code:
cd vendor/cm
./get-prebuilts
then start your build again
Vendor:
git clone git://github.com/arco/android_vendor_samsung_ancora.git -b cm-10.2 ancora
Device :
git clone git://github.com/hadidjapri/android_device_samsung_ancora.git -b cm-11 ancora
Display Legacy
git clone git://github.com/alviteri/android_hardware_qcom_display-legacy -b
display-legacy
Media Legacy
git clone git://github.com/alviteri/android_hardware_qcom_media-legacy -b
media-legacy
Is it true source _?
lunch
- cm_ancora-userdebug
make -j4
target thumb C: tc <= external/iproute2/tc/q_prio.c
external/iproute2/tc/q_prio.c: In function 'prio_parse_opt':
external/iproute2/tc/q_prio.c:35:9: warning: excess elements in struct initializer [enabled by default]
external/iproute2/tc/q_prio.c:35:9: warning: (near initialization for 'opt') [enabled by default]
external/iproute2/tc/q_prio.c:60:8: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
external/iproute2/tc/q_prio.c:64:8: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
external/iproute2/tc/q_prio.c:85:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/iproute2/tc/q_prio.c:31:46: warning: unused parameter 'qu' [-Wunused-parameter]
external/iproute2/tc/q_prio.c: In function 'prio_print_opt':
external/iproute2/tc/q_prio.c:133:30: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
make: *** [/home/blackcat/cm11/out/target/product/ancora/obj/EXECUTABLES/tc_intermediates/q_prio.o] Error 1
make: *** Waiting for unfinished jobs....
blackcat67 said:
target thumb C: tc <= external/iproute2/tc/q_prio.c
external/iproute2/tc/q_prio.c: In function 'prio_parse_opt':
external/iproute2/tc/q_prio.c:35:9: warning: excess elements in struct initializer [enabled by default]
external/iproute2/tc/q_prio.c:35:9: warning: (near initialization for 'opt') [enabled by default]
external/iproute2/tc/q_prio.c:60:8: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
external/iproute2/tc/q_prio.c:64:8: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
external/iproute2/tc/q_prio.c:85:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/iproute2/tc/q_prio.c:31:46: warning: unused parameter 'qu' [-Wunused-parameter]
external/iproute2/tc/q_prio.c: In function 'prio_print_opt':
external/iproute2/tc/q_prio.c:133:30: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
make: *** [/home/blackcat/cm11/out/target/product/ancora/obj/EXECUTABLES/tc_intermediates/q_prio.o] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
Same error did you fix it? and how?
Thank you
Which repos should i use for arco cm11 ?
Can some one help?
I get error
device/samsung/ancora/camerahal/cameraHAL.cpp:38:31: fatal error: ui/legacy/Overlay.h: No such file or directory
compilation terminated.
make: *** [/home/acc/cm11/out/target/product/ancora/obj/SHARED_LIBRARIES/camera.msm7x30_intermediates/cameraHAL.o] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
Madridii said:
Same error did you fix it? and how?
Thank you
Click to expand...
Click to collapse
Any fixes yet?
blackcat67 said:
target thumb C: tc <= external/iproute2/tc/q_prio.c
external/iproute2/tc/q_prio.c: In function 'prio_parse_opt':
external/iproute2/tc/q_prio.c:35:9: warning: excess elements in struct initializer [enabled by default]
external/iproute2/tc/q_prio.c:35:9: warning: (near initialization for 'opt') [enabled by default]
external/iproute2/tc/q_prio.c:60:8: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
external/iproute2/tc/q_prio.c:64:8: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
external/iproute2/tc/q_prio.c:85:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/iproute2/tc/q_prio.c:31:46: warning: unused parameter 'qu' [-Wunused-parameter]
external/iproute2/tc/q_prio.c: In function 'prio_print_opt':
external/iproute2/tc/q_prio.c:133:30: error: 'struct tc_prio_qopt' has no member named 'enable_flow'
make: *** [/home/blackcat/cm11/out/target/product/ancora/obj/EXECUTABLES/tc_intermediates/q_prio.o] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
Same error also how did you fix
Edit
I found way to fix by git revert to a earlier commit type this in terminal
Code:
cd ~/your/build/dir/external/iproute2
git revert 4c48963517f1569ce909ad2f8a4b7a675de5a1f6
Q&A for [GUIDE][Lollipop][D855] How to build your own Cyanogenmod 12
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][Lollipop][D855] How to build your own Cyanogenmod 12. 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!
manups4e said:
Hi there, since lots of you asked me how to build and how to solve errors, i decided to make this guide to help you.
I use Ubuntu 14.04 x64 since it's best for Lollipop (at least Google say this ).
Now we set the environment (you can copy and paste).
1) First of all install java, it must be openjdk-7 or the building environment will give you error.
In terminal type:
Code:
sudo apt-get update
sudo apt-get install openjdk-7-jdk
After that we must install the essential things
Code:
sudo apt-get install bison g++-multilib git gperf libxml2-utils
You can optionally tell the build to use the ccache compilation tool. Ccache acts as a compiler cache that can be used to speed-up rebuilds. This works very well if you do "make clean" often, or if you frequently switch between different build products.
Put the following in your .bashrc or equivalent.
Code:
export USE_CCACHE=1
In terminal (be sure to be in your home folder typing "cd") type:
Code:
mkdir -p ~/bin
mkdir -p ~/android/system
Enter the following to download the "repo" binary and make it executable (runnable):
Code:
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
2) Now we can download the cyanogenmod sources
In terminal type:
Code:
cd ~/android/system/
repo init -u https://github.com/CyanogenMod/android.git -b cm-12.0
Once you are ready to download lots of Gigabytes of data type
Code:
repo sync
Note: use the --jN option to run multiple downloads (default is 4) example: repo sync -j8 to run 8 parallel downloads.
you can use repo sync everytime you want to sync with latest cyanogenmod changes.
3) Once you have downloaded all the sources available just download our device repos (thanks @sooti):
create a folder called local_manifests under the .repo directory (in system folder), then create an XML file (text file with .xml extension) inside that directory. You can call the XML file anything you like, as long as it ends in .xml and rerun repo sync after you have created the relatives folders.
Put this inside the local_manifest.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/lge/g3-common" name="sooti/android_device_lge_g3-common" remote="github" revision="cm-12.0" />
<project path="device/lge/d855" name="sooti/android_device_lge_d855" remote="github" revision="cm-12.0" />
<project path="kernel/lge/g3" name="sooti/android_kernel_lge_g3" remote="github" revision="cm-12.0" />
<project path="device/qcomm_common" name="cyanogenmod/android_device_qcom_common" remote="github" revision="cm-12.0" />
</manifest>
4) Now we are ready to rock
do theese steps evertime you want to build
First build will take some time so while building you can relax doing other stuff like watch a movie or listen music
Open terminal and type:
Code:
cd android/system
. build/envsetup.sh
breakfast d855
brunch d855
and wait for build to finish
5) Once finished you should have a the update zip into the folder android/system/out/target/product/d855.
I don't know why but right now the zip is unflashable ^^ so now i will tell you how to make it flashable
Read and follow theese instructions carefully.
open the zip and delete everything except the "file_contexts" file
now take system folder and drag&drop it into the zip
take the boot.img and drag&drop it into the zip
download the META-INF zip down the post and copy the inside into the zip.
now you are ready to flash it with the gapps and the superSU Enjoy your personal Cyanogenmod 12
---------------------------------------------
If you liked my guide and found that is useful ^^ make me a little Christmas gift here with a donation ^^ :angel:
Click to expand...
Click to collapse
ciao manu(ti scrivo in italiano visto che siamo connazionali)innanzitutto ti stimo troppo per il lavoro svolto,la tua cm12 va che è una meraviglia,è la mia rom di tutti i giorni da quasi 1 settimana,poi ti volevo chiedere se hai intenzione di fare un video esplicativo per questo procedimento o di affidarlo ai ragazzi di androidblog.it.In ogni caso grazie 1000 del lavoro svolto e continua così'!!:good:
ahahahah grazie ^^ but here i think that for everyone's reading it's better speak english i don't know maybe i will do an explicative video let's see if more people ask for it
I can make on Windows? How?
I tried to build but get the below error, can someone help?
============================================
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
external/sepolicy/Android.mk:56: *** No sepolicy file found for app.te in device/qcom/sepolicy/msm8974. Stop.
Just wanted to say
This looks fantastic. I love custom ROMs and am a big fan of CM, but have never had time to figure out how to build it all myself. This guide looks like a godsend - Thank you!
Shouldn't there be one more
Code:
repo sync
after creating the local_manifests.xml and the related directories ?
do i need sign boot.img with bump?
Does GPU works properly
Just a heads up, I found that I needed to run the following command in order to get it to build on Xubuntu 64-bit
sudo apt-get install lib32z1
I was missing the 32-bit libraries for libpng which are apparently still needed. The error I was getting was: aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
DOUBLE POST - ONLY JUST FOUNF Q&A Thread
Finally got source fixed, repo fixed and now i get this build error.
Any Ideas ????
Install: /home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/mksnapshot
Gyp action: android_webview_android_webview_gyp_android_webvie w_pak_target_repack_android_webview_pack (/home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/android_webview_apk/assets/webviewchromium.pak)
acp: partial write to '/home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/mksnapshot' (4096 of 8192)
make: *** [/home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/mksnapshot] Error 1
make: *** Deleting file `/home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/mksnapshot'
make: *** Waiting for unfinished jobs....
[email protected]:~/android/system$
Hello, I'm trying to build CM12 for F400, which is korean G3, but everytime I try to build, it faces error.
So, I tried to build D855 to see whether it completes, but also it prints same error.
I re-repo the whole android source/local manifests, changed toolchain/java heap size, but nothing gets better.
Anyone got idea?
------------------------------------------------------------------------------------------------------------
external/chromium_org/v8/src/arm/lithium-arm.cc:1503: error: undefined reference to 'v8::internal::HValue::UseCount() const'
external/chromium_org/v8/src/arm/lithium-arm.cc:2079: error: undefined reference to 'v8::internal::HLoadGlobalCell::RequiresHoleCheck() const'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/arm/lithium-arm.cc:2185: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/arm/lithium-arm.cc:2454: error: undefined reference to 'v8::internal::HCapturedObject::ReplayEnvironment(v8::internal::HEnvironment*)'
external/chromium_org/v8/src/arm/lithium-arm.cc:2496: error: undefined reference to 'v8::internal::HSimulate::ReplayEnvironment(v8::internal::HEnvironment*)'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/arm/lithium-arm.h:2226: error: undefined reference to 'v8::internal::HStoreKeyed::NeedsCanonicalization()'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:5059: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckMaskAndTag(unsigned char*, unsigned char*)'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:5041: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckInterval(v8::internal::InstanceType*, v8::internal::InstanceType*)'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:3321: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:3287: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:2943: error: undefined reference to 'v8::internal::HLoadGlobalCell::RequiresHoleCheck() const'
external/chromium_org/v8/src/hydrogen-bce.cc:283: error: undefined reference to 'v8::internal::HValue::ReplaceAllUsesWith(v8::internal::HValue*)'
external/chromium_org/v8/src/hydrogen-bce.cc:257: error: undefined reference to 'v8::internal::HInstruction::Unlink()'
external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'
external/chromium_org/v8/src/hydrogen-bce.cc:283: error: undefined reference to 'v8::internal::HValue::ReplaceAllUsesWith(v8::internal::HValue*)'
external/chromium_org/v8/src/hydrogen-bce.cc:257: error: undefined reference to 'v8::internal::HInstruction::Unlink()'
external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'
external/chromium_org/v8/src/hydrogen-bce.cc:189: error: undefined reference to 'v8::internal::HInstruction::Unlink()'
external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:333: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:333: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:294: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:294: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:346: error: undefined reference to 'v8::internal::InductionVariableData::ChecksRelatedToLength::CloseCurrentBlock()'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-canonicalize.cc:29: error: undefined reference to 'v8::internal::HValue::HasAtLeastOneUseWithFlagAndNoneWithout(v8::internal::HValue::Flag) const'
external/chromium_org/v8/src/hydrogen-canonicalize.cc:26: error: undefined reference to 'v8::internal::HValue::HasAtLeastOneUseWithFlagAndNoneWithout(v8::internal::HValue::Flag) const'
external/chromium_org/v8/src/hydrogen-check-elimination.cc:474: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckMaskAndTag(unsigned char*, unsigned char*)'
external/chromium_org/v8/src/hydrogen-check-elimination.cc:470: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckInterval(v8::internal::InstanceType*, v8::internal::InstanceType*)'
external/chromium_org/v8/src/hydrogen-instructions.h:3234: error: undefined reference to 'vtable for v8::internal::HPhi'
external/chromium_org/v8/src/hydrogen-instructions.h:3412: error: undefined reference to 'vtable for v8::internal::HCapturedObject'
external/chromium_org/v8/src/hydrogen-instructions.h:3412: error: undefined reference to 'vtable for v8::internal::HCapturedObject'
collect2: ld returned 1 exit status
make: *** [/home/thenoface303/android/cm12/out/host/linux-x86/obj32/EXECUTABLES/v8_tools_gyp_mksnapshot_arm_host_gyp_intermediates/mksnapshot] error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/android/cm12$
-------------------------------------------------------------------------------------------------------------------------------
fprhqkrtk303 said:
Hello, I'm trying to build CM12 for F400, which is korean G3, but everytime I try to build, it faces error.
So, I tried to build D855 to see whether it completes, but also it prints same error.
I re-repo the whole android source/local manifests, changed toolchain/java heap size, but nothing gets better.
Anyone got idea?
------------------------------------------------------------------------------------------------------------
external/chromium_org/v8/src/arm/lithium-arm.cc:1503: error: undefined reference to 'v8::internal::HValue::UseCount() const'
external/chromium_org/v8/src/arm/lithium-arm.cc:2079: error: undefined reference to 'v8::internal::HLoadGlobalCell::RequiresHoleCheck() const'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/arm/lithium-arm.cc:2185: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/arm/lithium-arm.cc:2454: error: undefined reference to 'v8::internal::HCapturedObject::ReplayEnvironment(v8::internal::HEnvironment*)'
external/chromium_org/v8/src/arm/lithium-arm.cc:2496: error: undefined reference to 'v8::internal::HSimulate::ReplayEnvironment(v8::internal::HEnvironment*)'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/arm/lithium-arm.h:2226: error: undefined reference to 'v8::internal::HStoreKeyed::NeedsCanonicalization()'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:5059: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckMaskAndTag(unsigned char*, unsigned char*)'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:5041: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckInterval(v8::internal::InstanceType*, v8::internal::InstanceType*)'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:3321: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:3287: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:2943: error: undefined reference to 'v8::internal::HLoadGlobalCell::RequiresHoleCheck() const'
external/chromium_org/v8/src/hydrogen-bce.cc:283: error: undefined reference to 'v8::internal::HValue::ReplaceAllUsesWith(v8::internal::HValue*)'
external/chromium_org/v8/src/hydrogen-bce.cc:257: error: undefined reference to 'v8::internal::HInstruction::Unlink()'
external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'
external/chromium_org/v8/src/hydrogen-bce.cc:283: error: undefined reference to 'v8::internal::HValue::ReplaceAllUsesWith(v8::internal::HValue*)'
external/chromium_org/v8/src/hydrogen-bce.cc:257: error: undefined reference to 'v8::internal::HInstruction::Unlink()'
external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'
external/chromium_org/v8/src/hydrogen-bce.cc:189: error: undefined reference to 'v8::internal::HInstruction::Unlink()'
external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:333: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:333: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:294: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:294: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:346: error: undefined reference to 'v8::internal::InductionVariableData::ChecksRelatedToLength::CloseCurrentBlock()'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-canonicalize.cc:29: error: undefined reference to 'v8::internal::HValue::HasAtLeastOneUseWithFlagAndNoneWithout(v8::internal::HValue::Flag) const'
external/chromium_org/v8/src/hydrogen-canonicalize.cc:26: error: undefined reference to 'v8::internal::HValue::HasAtLeastOneUseWithFlagAndNoneWithout(v8::internal::HValue::Flag) const'
external/chromium_org/v8/src/hydrogen-check-elimination.cc:474: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckMaskAndTag(unsigned char*, unsigned char*)'
external/chromium_org/v8/src/hydrogen-check-elimination.cc:470: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckInterval(v8::internal::InstanceType*, v8::internal::InstanceType*)'
external/chromium_org/v8/src/hydrogen-instructions.h:3234: error: undefined reference to 'vtable for v8::internal::HPhi'
external/chromium_org/v8/src/hydrogen-instructions.h:3412: error: undefined reference to 'vtable for v8::internal::HCapturedObject'
external/chromium_org/v8/src/hydrogen-instructions.h:3412: error: undefined reference to 'vtable for v8::internal::HCapturedObject'
collect2: ld returned 1 exit status
make: *** [/home/thenoface303/android/cm12/out/host/linux-x86/obj32/EXECUTABLES/v8_tools_gyp_mksnapshot_arm_host_gyp_intermediates/mksnapshot] error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/android/cm12$
-------------------------------------------------------------------------------------------------------------------------------
Click to expand...
Click to collapse
I just reinstalled Ubuntu. I think something just went wrong during installing or updating system.
Hello Guys.
I am new at developing for android.
Have some problems compiling the TWRP for this device. I know that the recovery is already compiled, but I am doing this for learning purpose.
Device Tree: https://github.com/E5-CyanogenMod/android_device_samsung_e5ltexx
Kenel: https://github.com/E5-CyanogenMod/android_kernel_samsung_e5ltexx
The problem is when i use TWRP. I am using branch "android-5.1"
This is the error message:
Code:
bootable/recovery/minui/graphics_overlay.c: In function 'alloc_ion_mem':
bootable/recovery/minui/graphics_overlay.c:151:17: error: 'struct ion_allocation_data' has no member named 'heap_id_mask'
ionAllocData.heap_id_mask =
^
bootable/recovery/minuitwrp/graphics_overlay.c: In function 'alloc_ion_mem':
bootable/recovery/minuitwrp/graphics_overlay.c:163:17: error: 'struct ion_allocation_data' has no member named 'heap_id_mask'
ionAllocData.heap_id_mask =
^
bootable/recovery/minuitwrp/graphics_overlay.c: In function 'allocate_overlay':
bootable/recovery/minuitwrp/graphics_overlay.c:205:5: warning: implicit declaration of function 'isDisplaySplit' [-Wimplicit-function-declaration]
if (!isDisplaySplit()) {
^
bootable/recovery/minuitwrp/graphics_overlay.c:231:9: warning: implicit declaration of function 'getFbXres' [-Wimplicit-function-declaration]
float xres = getFbXres();
^
bootable/recovery/minuitwrp/graphics_overlay.c:232:9: warning: implicit declaration of function 'getLeftSplit' [-Wimplicit-function-declaration]
int lSplit = getLeftSplit();
^
target Executable: erase_image (/home/eabz/cm12/out/target/product/e5lte/obj/RECOVERY_EXECUTABLES/erase_image_intermediates/LINKED/erase_image)
make: *** [/home/eabz/cm12/out/target/product/e5lte/obj/STATIC_LIBRARIES/libminui_intermediates/graphics_overlay.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/home/eabz/cm12/out/target/product/e5lte/obj/SHARED_LIBRARIES/libminuitwrp_intermediates/graphics_overlay.o] Error 1
If someone knows how to fix?
eabz2000 said:
Hello Guys.
I am new at developing for android.
Have some problems compiling the TWRP for this device. I know that the recovery is already compiled, but I am doing this for learning purpose.
Device Tree: https://github.com/E5-CyanogenMod/android_device_samsung_e5ltexx
Kenel: https://github.com/E5-CyanogenMod/android_kernel_samsung_e5ltexx
The problem is when i use TWRP. I am using branch "android-5.1"
This is the error message:
Code:
bootable/recovery/minui/graphics_overlay.c: In function 'alloc_ion_mem':
bootable/recovery/minui/graphics_overlay.c:151:17: error: 'struct ion_allocation_data' has no member named 'heap_id_mask'
ionAllocData.heap_id_mask =
^
bootable/recovery/minuitwrp/graphics_overlay.c: In function 'alloc_ion_mem':
bootable/recovery/minuitwrp/graphics_overlay.c:163:17: error: 'struct ion_allocation_data' has no member named 'heap_id_mask'
ionAllocData.heap_id_mask =
^
bootable/recovery/minuitwrp/graphics_overlay.c: In function 'allocate_overlay':
bootable/recovery/minuitwrp/graphics_overlay.c:205:5: warning: implicit declaration of function 'isDisplaySplit' [-Wimplicit-function-declaration]
if (!isDisplaySplit()) {
^
bootable/recovery/minuitwrp/graphics_overlay.c:231:9: warning: implicit declaration of function 'getFbXres' [-Wimplicit-function-declaration]
float xres = getFbXres();
^
bootable/recovery/minuitwrp/graphics_overlay.c:232:9: warning: implicit declaration of function 'getLeftSplit' [-Wimplicit-function-declaration]
int lSplit = getLeftSplit();
^
target Executable: erase_image (/home/eabz/cm12/out/target/product/e5lte/obj/RECOVERY_EXECUTABLES/erase_image_intermediates/LINKED/erase_image)
make: *** [/home/eabz/cm12/out/target/product/e5lte/obj/STATIC_LIBRARIES/libminui_intermediates/graphics_overlay.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/home/eabz/cm12/out/target/product/e5lte/obj/SHARED_LIBRARIES/libminuitwrp_intermediates/graphics_overlay.o] Error 1
If someone knows how to fix?
Click to expand...
Click to collapse
Enrique change TW_NEW_ION_HEAP to Flag to false ??