Apktool Fail Compile - Huawei Ascend P7

Hello there, I'm trying to compile SystemUI.apk but always gives me an error.
I have tried to load but I also framework.apk error:
Config flags size > 38. Exceeding bytes: 0x2400.
W: Invalid config flags detected. Dropping resources: string-ERR0
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ERR1
W: Config flags size > 38. Exceeding bytes: 0x2A02.
W: Invalid config flags detected. Dropping resources: string-ERR2
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ERR3
W: Config flags size > 38. Exceeding bytes: 0x8801.
W: Invalid config flags detected. Dropping resources: string-ERR4
W: Config flags size > 38. Exceeding bytes: 0xE703.
W: Invalid config flags detected. Dropping resources: string-ERR5
W: Config flags size > 38. Exceeding bytes: 0xDE00.
W: Invalid config flags detected. Dropping resources: string-ERR6
W: Config flags size > 38. Exceeding bytes: 0x5401.
W: Invalid config flags detected. Dropping resources: string-ERR7
W: Config flags size > 38. Exceeding bytes: 0xE401.
W: Invalid config flags detected. Dropping resources: string-ERR8
W: Config flags size > 38. Exceeding bytes: 0x4F00.
W: Invalid config flags detected. Dropping resources: string-ERR9
W: Config flags size > 38. Exceeding bytes: 0x4803.
W: Invalid config flags detected. Dropping resources: string-ERR10
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ERR11
W: Config flags size > 38. Exceeding bytes: 0x4803.
W: Invalid config flags detected. Dropping resources: string-ERR12
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x0104005f string/needPuk, config=[DEFAULT]
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:63)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:193)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:162)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:128)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:103)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:607)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
at brut.androlib.Androlib.getResTable(Androlib.java:52)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:94)
at brut.apktool.Main.cmdDecode(Main.java:169)
at brut.apktool.Main.main(Main.java:85)
The SystemUI.apk descompile is https://www.dropbox.com/s/1p9u168j5gdv6jz/SystemUI.rar?dl=0
Thanks.

spoolk said:
Hello there, I'm trying to compile SystemUI.apk but always gives me an error.
I have tried to load but I also framework.apk error:
Config flags size > 38. Exceeding bytes: 0x2400.
W: Invalid config flags detected. Dropping resources: string-ERR0
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ERR1
W: Config flags size > 38. Exceeding bytes: 0x2A02.
W: Invalid config flags detected. Dropping resources: string-ERR2
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ERR3
W: Config flags size > 38. Exceeding bytes: 0x8801.
W: Invalid config flags detected. Dropping resources: string-ERR4
W: Config flags size > 38. Exceeding bytes: 0xE703.
W: Invalid config flags detected. Dropping resources: string-ERR5
W: Config flags size > 38. Exceeding bytes: 0xDE00.
W: Invalid config flags detected. Dropping resources: string-ERR6
W: Config flags size > 38. Exceeding bytes: 0x5401.
W: Invalid config flags detected. Dropping resources: string-ERR7
W: Config flags size > 38. Exceeding bytes: 0xE401.
W: Invalid config flags detected. Dropping resources: string-ERR8
W: Config flags size > 38. Exceeding bytes: 0x4F00.
W: Invalid config flags detected. Dropping resources: string-ERR9
W: Config flags size > 38. Exceeding bytes: 0x4803.
W: Invalid config flags detected. Dropping resources: string-ERR10
W: Config flags size > 38. Exceeding bytes: 0x9C00.
W: Invalid config flags detected. Dropping resources: string-ERR11
W: Config flags size > 38. Exceeding bytes: 0x4803.
W: Invalid config flags detected. Dropping resources: string-ERR12
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x0104005f string/needPuk, config=[DEFAULT]
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:63)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:193)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:162)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:128)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:103)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:607)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
at brut.androlib.Androlib.getResTable(Androlib.java:52)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:94)
at brut.apktool.Main.cmdDecode(Main.java:169)
at brut.apktool.Main.main(Main.java:85)
The SystemUI.apk descompile is https://www.dropbox.com/s/1p9u168j5gdv6jz/SystemUI.rar?dl=0
Thanks.
Click to expand...
Click to collapse
You're not alone with this issue. Huawei are using software engineering tools that are not readily available. So trying to decompile these apk's invariably fails.
However, I have had some success with their Settings.apk. I used the framework-res.apk from the MIUI V5 ROM that was ported to the P7. This framework installs and decompiles without error. Using this framework I was able to successfully modify Chinese language strings in the Settings.apk from a customised ROM. Decompiling produces no errors although recompiling produces a number of warnings. The Settings.apk still functions correctly in spite of the warnings so I guess the warnings aren't critical.
If you want, you can download the framework here:
https://drive.google.com/folderview?id=0B6QnIbFOPM4pc0JpS1l2dGRuOWc&usp=sharing
I've had no success with the SystemUI.apk however.
My phone: P7-L07 Custom ROM:HRT-P7-L05/L07-V3.0-B125

Thanks for the info , I'll try your framework.
A greeting .

spoolk said:
Thanks for the info , I'll try your framework.
A greeting .
Click to expand...
Click to collapse
Hi, you had access to decompile SystemUi.apk with this framework?

Related

Battery Percentage Mod?

Hi,
I am looking for Battery Percentage mod if there is any. It shows the percentage of rest of battery on the notification place instead of that green tube. No I dont want to use any widget as almost all of them are power greedy.
My Vivid is bootloader unlocked, Rooted.
aaho said:
Hi,
I am looking for Battery Percentage mod if there is any. It shows the percentage of rest of battery on the notification place instead of that green tube. No I dont want to use any widget as almost all of them are power greedy.
My Vivid is bootloader unlocked, Rooted.
Click to expand...
Click to collapse
There's always the UOT kitchen (http://uot.dakra.lt). It can be fun creating your own, and the kitchen makes it pretty painless (unless they're full, then it can be a painful wait). On the "Files" tab of the kitchen, select System Files, and upload the files requested (SystemUI.apk, framework-res.apk, and com.htc.resources.apk - found in /system/app/ and /system/framework/ in the .zip of the ROM you flashed). Click the battery tab, choose your mods, let the kitchen cook it, and you're done. It'll give you a .zip to flash in Recovery (obviously this requires that you have custom recovery, otherwise you'll have to manually push back the modded files that the kitchen gives you in the .zip).
Use the UOT Kitchen. You'll need to pull your framework-res.apk (in /system/framework), SystemUI.apk (in /system/app) and com.htc.resources.apk (in /system/framework) from the phone to upload, and when you're done you'll have a ZIP you can flash from recovery.
Follow the instructions and it's a piece of cake.
Edit: beaten!
Wouldn't ROM toolbox from the market work? I haven't tried the battery mod but the text mod worked fine.
Sent from my HTC PH39100 using XDA App
megatronisabeast said:
Wouldn't ROM toolbox from the market work? I haven't tried the battery mod but the text mod worked fine.
Sent from my HTC PH39100 using XDA App
Click to expand...
Click to collapse
Maybe..jrummy's stuff is usually pretty good...haven't got to play with the toolbox though
Try this, it was made with the stock Velocity apk's, backup before you flash it.
I was trying to get an update zip to put battery percentage in my stock icon. HTC Velocity with WCX illuminati Telstra Rom.
I selected the icon, uploaded the three files (SystemUI.apk, framework-res.apk and com.htc.resources.apk).
When it finished cooking i got this error log..
Can someone let me know what i did wrong?
Its the first time ive used the UOT kitchen.
Error log: UOT-05-21-05-57-1-SHTF.txt
Decompiling framework-res.apk UOT-05-21-05-57-1
I: Loading resource table...
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-hdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rCN-hdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected. Dropping resources: dimen-zh-rTW-hdpi-ERR11
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Decompiling SystemUI.apk UOT-05-21-05-57-1
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-hdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-hdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-hdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-hdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR11
I: Framework installed to: /root/apktool/framework/1.apk
resources.apk found
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-hdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-hdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-hdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-hdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR11
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: integer-hdpi-ERR12
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-hdpi-ERR13
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-hdpi-ERR14
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-hdpi-ERR15
I: Framework installed to: /root/apktool/framework/2.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.(DexFile.java:377)
at org.jf.dexlib.DexFile.(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)
Compiling framework-res.apk UOT-05-21-05-57-1
W: Could not find sources
I: Building resources...
aapt: /usr/lib/libz.so.1: no version information available (required by aapt)
I: Building apk file...
aapt: /usr/lib/libz.so.1: no version information available (required by aapt)
Compiling SystemUI.apk UOT-05-21-05-57-1
I: Framework installed to: /home/uotftp/apktool/framework/1.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
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.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
The kitchen doesnt play well with the resources and SystemUI from ICS. In order for them to fix this issue they'll have to use the ICS version of apktool to decompile and recompile with an older version. That's how i do it and it has never failed.
use a rom
you could use uot kitchen, but why not use a rom that offers it. like holics or something like that?
uot kitchen
upload only the framework-res.apk, systemui.apk and com.htc-res...apk is not needed when using the UOT kitchen for battery mod

[Q] help with decompiling ics apks?

can someone help me with the correct process to decompiling a stock deodexed apk...i cant even install framework properly
i keep getting this when installing the framework:
Code:
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-hdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-hdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-hdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-hdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR11
I: Framework installed to: C:\Users\Mikey Gutierrez\apktool\framework\1.apk
i then try and decompile and i get the same thing...and when i try and recompile with no edits i get this:
Code:
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\apktools\framework-res\res\values\anims.xml:3: error: Found tag anim where it
em is expected
C:\apktools\framework-res\res\values\public.xml:6576: error: Public symbol anim/
htc_ime_decelerate_interpolator declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\MIKEYG~1\AppData\Local\Tem
p\APKTOOL2407349169427975423.tmp, -x, -S, C:\apktools\framework-res\res, -M, C:\
apktools\framework-res\AndroidManifest.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\MIKEYG~1\AppData\Local\Temp\APKTOOL2407349169427975423.tmp, -x, -S, C:\apkt
ools\framework-res\res, -M, C:\apktools\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
i really wanna get into the dev scene for this phone but if i cant even figure out how to decompile the apks then i wont be able to...ive tried this with many difrent apktools included 1.4.3, modded ones for ics, some other modded ones...i keep getting the same thing...
so if someone can point me in the right direction for the correct apktool to use as well as any special steps i would appreciate it...i know the commands for installing, decompiling and recompiling already...apktool if, apktool d , apktool b
i am on windows 7, i have the newest jdk installed "jdk 7u5"
ive also tried under ubuntu with jdk 6...got the same problems...
any and all help is appreciated...like i said i wanna get into the dev scene
Anyone? Has anybody personally installed or decompiled framework-res.apk?
I'm open for any help...
Sent from my HTC PH39100 using XDA
never mind...im selling this phone...as much as i wanna love it, i hate it...too many problems, have to pull bettery every other day just so i can listen to audio through headphone, dev section seems slow (not the devs fault...can blame htc for that)...it just doesnt support my flashaholic needs...
Htc vivid at&t wont boot stuck on blanks screen
Hello im a newbe and would like some insight im trying to find out what the problem is with my vivid X710a its stuck on blank screen and dim light behind it ...when plug into computer it reads QHSUSB/DLOAD I am stumped i dont no were to go the phone is like new never droped and no water ....if anyone has ideas to help would be greatly appreciated thanks
TalJag2000 said:
Hello im a newbe and would like some insight im trying to find out what the problem is with my vivid X710a its stuck on blank screen and dim light behind it ...when plug into computer it reads QHSUSB/DLOAD I am stumped i dont no were to go the phone is like new never droped and no water ....if anyone has ideas to help would be greatly appreciated thanks
Click to expand...
Click to collapse
might wanna post your own thread with that problem to get better help from everyone...

[Q] Edit Settings.apk

Hi,
I would like to know how I could change the settings.apk background to another color. Ex: From the stock black to white
Is it just change a .png image (like on the SGSII) or I must do something else?
I'm asking because I'm not finding (assuming it's a .png) the correct one to edit.
Thank you in advance for your time and answer.
Necr6phag1st said:
Hi,
I would like to know how I could change the settings.apk background to another color. Ex: From the stock black to white
Is it just change a .png image (like on the SGSII) or I must do something else?
I'm asking because I'm not finding (assuming it's a .png) the correct one to edit.
Thank you in advance for your time and answer.
Click to expand...
Click to collapse
Did you look in the htc-resources.apk. I may be wrong but im sure its there or maybe i'm thinking of the sony devices that keep the backgrounds in SemcGenericUpRes.apk
Hi, are you find any answer? I need thi one too..
Sent from my HTC Sensation XL with Beats Audio X315e using xda app-developers app
Its in framework-res in sense 4 on 3.6 dont remember but can be this same. When i back home i will write more.
EDIT:
This is for Samsung Epic 4G Touch but this give you a point to work.
Sent from my HTC One V using xda premium
stona175 said:
Its in framework-res in sense 4 on 3.6 dont remember but can be this same. When i back home i will write more.
EDIT:
This is for Samsung Epic 4G Touch but this give you a point to work.
Sent from my HTC One V using xda premium
Click to expand...
Click to collapse
Can you please post a link with the files you use to decompile or tell me wich apktool build you use...because I tried every possible tutorial in where, but I always have errors when decompiling the framework-res.
:good:
Necr6phag1st said:
Can you please post a link with the files you use to decompile or tell me wich apktool build you use...because I tried every possible tutorial in where, but I always have errors when decompiling the framework-res.
:good:
Click to expand...
Click to collapse
to decompile and edit i'm using Virtuous Ten Studio.
this is working apktool.
put framework-res and com.htc.resources
install it and than decompile something
Than you
stona175 said:
to decompile and edit i'm using Virtuous Ten Studio.
this is working apktool.
put framework-res and com.htc.resources
install it and than decompile something
Click to expand...
Click to collapse
Thanks for the link, i tried it but still getting the same error as i get with other version of apktools.. what are other software requirements? like jdk & stuff?
C:\Users\apk>apktool d Settings.apk
I: Baksmaling...
testI: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Loading resource table from file: C:\Users\Shami\apktool\framework\1.apk
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-hdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-hdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-hdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-hdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR11
I: Loaded.
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\Shami\apktool\framework\2.apk
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-hdpi-ERR12
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-hdpi-ERR13
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-hdpi-ERR14
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-hdpi-ERR15
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR16
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR17
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR18
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR19
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR20
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR21
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR22
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR23
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: integer-hdpi-ERR24
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-hdpi-ERR25
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-hdpi-ERR26
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-hdpi-ERR27
I: Loaded.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\apk>apktool b Settings
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'accessibility_power_button_ends_call' has no default translation in C:\Users\Shami\apk\Settings\res; found: ca in rm tl
aapt: warning: string 'accessibility_power_button_ends_call_summary' has no default translation in C:\Users\Shami\apk\Settings\res; found: ca in rm tl
aapt: warning: string 'bluetooth_disconnect_pan_profile' has no default translation in C:\Users\Shami\apk\Settings\res; found: ca in tl
aapt: warning: string 'bluetooth_pan_profile_summary_connected' has no default translation in C:\Users\Shami\apk\Settings\res; found: ca in rm tl
aapt: warning: string 'bluetooth_tethering_connected_subtext' has no default translation in C:\Users\Shami\apk\Settings\res; found: ca in rm tl
aapt: warning: string 'user_dict_settings_title' has no default translation in C:\Users\Shami\apk\Settings\res; found: ca in rm tl
aapt: warning: string 'wifi_tether_settings_subtext' has no default translation in C:\Users\Shami\apk\Settings\res; found: ca in rm tl
aapt: warning: string 'wifi_tether_settings_text' has no default translation in C:\Users\Shami\apk\Settings\res; found: ca in rm tl
I: Building apk file...
Yes, the framework-res from your rom doesn't decompile. Use the UOL kitchen to build it again. Then you can decompile and recompile it again without errors. At least that worked for me. By the way great rom you made.
Sent from my HTC Desire S using xda premium
Send me the file i will decompile and compile for you
Sent from my HTC One X using xda premium

apktool framework...

I looked around a bit, saw that there is an issue with framework being recognized with apktool. Was wondering if anyone had any success decompiling or recompiling apks? I would like to change some of the icons on the HTC launcher.
I've had no problems with apktool.
From My TweakedOut ONE
dased14 said:
I've had no problems with apktool.
What you use to set up your frame work?
Click to expand...
Click to collapse
With proprietary UIs, you need to load the UI specific framework in addition to the framework-res.apk
For HTC you need to install the com.htc.resources.apk too
Sent from my S3 on Sense 5 (you jelly?)
CNexus said:
With proprietary UIs, you need to load the UI specific framework in addition to the framework-res.apk
For HTC you need to install the com.htc.resources.apk too
Sent from my S3 on Sense 5 (you jelly?)
Click to expand...
Click to collapse
Thanks bud, that is what I figured, but I am getting a whole slew of errors when I install com.htc.resources.apk. Framework-res installs fine.
Did a search and saw that something similar happened with sense 4. Any ideas?
Running apktool v1.5.2 on Win7 32bit
Code:
C:\Android\apktool>apktool if com.htc.resources.apk
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-hdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-hdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-hdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-hdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-xhdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-xhdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-xhdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-xhdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-xxhdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-xxhdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-xxhdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-xxhdpi-ERR11
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR12
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR13
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR14
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-ja-hdpi-ERR15
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ja-xhdpi-ERR16
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ja-xhdpi-ERR17
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ja-xhdpi-ERR18
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-ja-xhdpi-ERR19
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ja-xxhdpi-ERR20
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ja-xxhdpi-ERR21
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ja-xxhdpi-ERR22
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-ja-xxhdpi-ERR23
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR24
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR25
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR26
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-ko-hdpi-ERR27
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ko-xhdpi-ERR28
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ko-xhdpi-ERR29
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ko-xhdpi-ERR30
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-ko-xhdpi-ERR31
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-ko-xxhdpi-ERR32
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-ko-xxhdpi-ERR33
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-ko-xxhdpi-ERR34
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-ko-xxhdpi-ERR35
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR36
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR37
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR38
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR39
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-xhdpi-ERR40
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-xhdpi-ERR41
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-xhdpi-ERR42
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-zh-rCN-xhdpi-ERR43
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-xxhdpi-ERR44
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-xxhdpi-ERR45
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-xxhdpi-ERR46
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-zh-rCN-xxhdpi-ERR47
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR48
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR49
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR50
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR51
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-xhdpi-ERR52
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-xhdpi-ERR53
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-xhdpi-ERR54
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-zh-rTW-xhdpi-ERR55
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-xxhdpi-ERR56
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-xxhdpi-ERR57
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-xxhdpi-ERR58
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: dimen-zh-rTW-xxhdpi-ERR59
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-hdpi-ERR60
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-hdpi-ERR61
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-hdpi-ERR62
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: integer-hdpi-ERR63
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-xhdpi-ERR64
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-xhdpi-ERR65
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-xhdpi-ERR66
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: integer-xhdpi-ERR67
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-xxhdpi-ERR68
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-xxhdpi-ERR69
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-xxhdpi-ERR70
W: Config flags size > 36. Exceeding bytes: 0x6000000.
W: Invalid config flags detected: integer-xxhdpi-ERR71
I: Framework installed to: C:\Users\Dad\apktool\framework\2.apk
fallnSaint said:
Thanks bud, that is what I figured, but I am getting a whole slew of errors when I install com.htc.resources.apk. Framework-res installs fine.
Did a search and saw that something similar happened with sense 4. Any ideas?
Running apktool v1.5.2 on Win7 32bit
Click to expand...
Click to collapse
What exactly are you trying to do? As in, do you need the smali or the resources? If you don't need the resources, just pass the option to not decompile it
I'm not sure what you're doing so I'm just giving blind suggestions
CNexus said:
What exactly are you trying to do? As in, do you need the smali or the resources? If you don't need the resources, just pass the option to not decompile it
I'm not sure what you're doing so I'm just giving blind suggestions
Click to expand...
Click to collapse
Trying to decompile system and user apks (need some access to the resources apks too), so I can swap out png files, I have yet to play with smali. I would like to add a custom icon set to my phone without breaking any of the certs. Seems like just dropping in pngs with 7zip can break things.
fallnSaint said:
Trying to decompile system and user apks (need some access to the resources apks too), so I can swap out png files, I have yet to play with smali. I would like to add a custom icon set to my phone without breaking any of the certs. Seems like just dropping in pngs with 7zip can break things.
Click to expand...
Click to collapse
Have you tried virtuous ten studios program to decompile ? That tool works perfectly for HTC devices. I've decompiled a bunch of HTC apks and they all build after I have edited them.
Sent from my HTCONE using xda premium
for some reason, I can't run the framework-res.apk in apktool. I get this error
Code:
W: Config flags size > 36. Exceeding bytes: 0xFFFF.
W: Invalid config flags detected: style-v17-ERR0
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:562)
at brut.androlib.Androlib.installFramework(Androlib.java:473)
at brut.apktool.Main.cmdInstallFramework(Main.java:250)
at brut.apktool.Main.main(Main.java:81)
Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000103
at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:222)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:182)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:170)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:135)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:110)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 5 more
I am using a sprint stock 4.4.2 ROM. is there a solution.
edit
because of 4.4 i need a 2.0 beta. will try
so I tried using apktool 2.0 beta 9, and framework-res.apk installed fine. now com.htc.resources.apk won't install. is a known problem with beta so I went back to 1.5.2 to run com.htc.resources.apk. now it works. I try decompileing SystemUI.apk with both 2.0.0 and 1.5.2 and I get the same error.
Code:
W: Could not decode attr value, using undecoded value instead: ns=android, name=paddingEnd, value=0x0205000c
I: Decoding values */* XMLs...
I: Loading resource table from file: /home/tyler/apktool/framework/2.apk
Cleaning up unclosed ZipFile for archive /home/tyler/apktool/framework/2.apk
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x020500c0 dimen/title_primary_xs, config=-hdpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:63)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:193)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:162)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:128)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:103)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:604)
at brut.androlib.res.AndrolibResources.loadFrameworkPkg(AndrolibResources.java:108)
at brut.androlib.res.data.ResTable.getPackage(ResTable.java:76)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:59)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:60)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:47)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:45)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:49)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:553)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:309)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:116)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:169)
at brut.apktool.Main.main(Main.java:85)
I have looked but have found nothing on xda. am I the only one with this problem.

[Q] How to mod SystemUI on Marshmallow?

I know hoy to use APK Tool and all that stuff, I've extracted framework-res and SystemUI and I want to do some modding, but I can't deompile the SystemUI with APK Tool... I got an error when trying to install the framework.
C:\Users\Jona\Desktop\Nueva carpeta>apktool if framework-res.apk
W: Config flags size > 52. Exceeding bytes: 0x16662214.
W: Invalid config flags detected: string-mcc204-mnc04-ERR0
W: Config flags size > 52. Exceeding bytes: 0x16662214.
W: Invalid config flags detected: array-mcc204-mnc04-ERR1
W: Config flags size > 52. Exceeding bytes: 0x16662214.
W: Invalid config flags detected: bool-mcc204-mnc04-ERR2
I: Framework installed to: C:\Users\Jona\apktool\framework\1.apk
C:\Users\Jona\Desktop\Nueva carpeta>
Do I have to deodex my ROM? And if so, how can I do it?
Any ideas please?
Moto X 2014 Marshmallow, Rooted, Xposed, etc etc etc...

Categories

Resources