Any developer using Windows 8 have trouble with apktool when modding apk's?
I ask because a friend in the I9100 forum can't compile an apk and is wondering if it is because the framework-res is install here:
C:\Windows\system32\config\systemprofile\apktool\f ramework\1.apk
Here is his post with error
I gave him the latest builds for apktool and it still does that. So if you have any solutions or answers it will be greatly appreciated thanks in advance.
Edit: He has it working, but I think any experiences with Win8 and apktool errors and fixes will benefit others so feel free to share yours please
Одг: [Q] Win8 and apktool....
bobfrantic said:
Any developer using Windows 8 have trouble with apktool when modding apk's?
I ask because a friend in the I9100 forum can't compile an apk and is wondering if it is because the framework-res is install here:
C:\Windows\system32\config\systemprofile\apktool\f ramework\1.apk
Here is his post with error
I gave him the latest builds for apktool and it still does that. So if you have any solutions or answers it will be greatly appreciated thanks in advance.
Click to expand...
Click to collapse
He got answer. He compiled apk to apk. When he use apktool b mms.apk he will get error. Just instead mms.apk, he should use mms.
Sent from Galaxy S Advance
shut_down said:
He got answer. He compiled apk to apk. When he use apktool b mms.apk he will get error. Just instead mms.apk, he should use mms.
Sent from Galaxy S Advance
Click to expand...
Click to collapse
thought maybe something simple like that. i always use apktool b mms mms1.apk so i can copy to original apk what i changed... thanks for the answer... (clicked) When confirmed it is working, I change this to solved.
Still interested hearing from Win8 users and experiences with apktool if possible please....
R: [Q] Win8 and apktool....
bobfrantic said:
Still interested hearing from Win8 users and experiences with apktool if possible please....
Click to expand...
Click to collapse
Apktool works without problem on my Windows 8 professsional 64 bit
Sent from my GT-I9070 using xda premium
KINGbabasula said:
Apktool works without problem on my Windows 8 professsional 64 bit
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
Mine too
Related
I'm trying to decompile the systemUI.apk to get into the xml files, but I'm getting errors from both APKtool and APK Manager. Is there a special trick to getting system files to decomp?
Try this
bigrushdog said:
Try this
Click to expand...
Click to collapse
Noob alert: What do I do with those? Just put them in the folder with everything else?
arrtoodeetoo said:
Noob alert: What do I do with those? Just put them in the folder with everything else?
Click to expand...
Click to collapse
It's a custom apktool patched for honeycomb. Use the .jar file with dependencies just just you would with apktool. It currently will not recompile though due to the decompile causing some anomalies. BigRushDog is working on a fix for that.
I actually got a build that works from someone else.
XOOM'd from the XDA app.
Quick tip. When you solve your own problem, you may want to share the solution with others
^^^this
Sent from my Xoom using XDA Premium App
Here is the dsixda kitchen edify file I have been using for Nexus 4 (mako).
If using cygwin copy mako file to your cygwin\home\username\tools\edify_defs folder.
Thanks to mskip for mount points
UPDATE:
As promised download the dsixda_JB42.zip and copy the files to the appropriate folder. This will help with Deodexing and by help I mean it will allow all files to be deodexed.
Hi goldfingerfif, first of all thanks a lot for the file, then I would like to use this to build a rom with latest dsixda kitchen release (0.214) but when I’m trying to deodex core.odex I’m getting an error, only with this file, the others works fine. Did you have the same problem? How do you solve it? I tried to do it with api level 16 and 15 but I have the same error. Maybe you did it manually? Or using the kitchen?
Thanks in advance
I'll upload the other changes...I forgot I changed api to 17 and updated smali and baksmali and the version to use file.
Sent from my Nexus 4 using xda app-developers app
Was about to say about updating the smali/baksmali files - I did all that but it was this file I was missing so thanks a lot!
EddyOS said:
Was about to say about updating the smali/baksmali files - I did all that but it was this file I was missing so thanks a lot!
Click to expand...
Click to collapse
Updated OP
goldfingerfif said:
Updated OP
Click to expand...
Click to collapse
Thanks so much!!
Edit: I'm Having troubles with wifi like you with my dsixda's rom, can you tell me how you solved it please?
nitsuajd said:
Thanks so much!!
Edit: I'm Having troubles with wifi like you with my dsixda's rom, can you tell me how you solved it please?
Click to expand...
Click to collapse
I haven't found the script file to add some things that it misses. You can compare the updater-script against mine or I'll post the lines you have to add.
Sent from my Nexus 4 using xda app-developers app
goldfingerfif said:
I haven't found the script file to add some things that it misses. You can compare the updater-script against mine or I'll post the lines you have to add.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Thanks dude, you're right!
Exactly these two lines:
Code:
symlink("/data/misc/wifi/WCNSS_qcom_cfg.ini", "/system/vendor/firmware/wlan/prima/WCNSS_qcom_cfg.ini");
symlink("/data/misc/wifi/WCNSS_qcom_wlan_nv.bin", "/system/vendor/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin");
nitsuajd said:
Thanks dude, you're right!
Exactly these two lines:
Code:
symlink("/data/misc/wifi/WCNSS_qcom_cfg.ini", "/system/vendor/firmware/wlan/prima/WCNSS_qcom_cfg.ini");
symlink("/data/misc/wifi/WCNSS_qcom_wlan_nv.bin", "/system/vendor/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin");
Click to expand...
Click to collapse
Were you guys using Cygwin when you saw this issue? I know that Cygwin sometimes messes up the symlinks that are not under /system/bin; whereas Linux / OS X are sometimes nicer. In other words, I try not to recommend Cygwin due to these kinds of issues.
@goldfingerfif - thanks for the edify_defs file. I've updated the kitchen to add Nexus 4 support in version 0.216.
I've just added this to the Nexus 4 Complete Index
Sent from my GT-I9100 using xda premium
dsixda said:
Were you guys using Cygwin when you saw this issue? I know that Cygwin sometimes messes up the symlinks that are not under /system/bin; whereas Linux / OS X are sometimes nicer. In other words, I try not to recommend Cygwin due to these kinds of issues.
Click to expand...
Click to collapse
I was using Cygwin
goldfingerfif said:
I was using Cygwin
Click to expand...
Click to collapse
The Windows application that is used to extract the files from the rom has an issue because it removes the symlinks. You will not see this happen in Linux or OS X. However, I have fixed your problem for those specific files in Cygwin.
dsixda said:
The Windows application that is used to extract the files from the rom has an issue because it removes the symlinks. You will not see this happen in Linux or OS X. However, I have fixed your problem for those specific files in Cygwin.
Click to expand...
Click to collapse
Yes I just picked up a 120gb ssd and going to dual boot with Linux as it will make life with android so much easier.
Sent from my Nexus 4 using xda app-developers app
Well hi everyone,
I think that several users of you have seen my theme for stock Sammy, but CM themed.
My question here is:
I tried XML editing in Notepad++ and in Editix. But when I open a XML file, I only see strange squares instead of lines of text.
Does anybody know what I can do about this? Because I need it for my upcoming release....
Thanks in Advance
Jeroenvk94 said:
Well hi everyone,
I think that several users of you have seen my theme for stock Sammy, but CM themed.
My question here is:
I tried XML editing in Notepad++ and in Editix. But when I open a XML file, I only see strange squares instead of lines of text.
Does anybody know what I can do about this? Because I need it for my upcoming release....
Thanks in Advance
Click to expand...
Click to collapse
Those files are encrypted, use apktool for decompiling it first
Sent from my GT-I9070 using xda app-developers app
frapeti said:
Those files are encrypted, use apktool for decompiling it first
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Oh lol, I just unpacked it with 7Zip, but I didn't know I needed to decompile it.
Every time i try to recompile or decompile i get this error it looks like a java error but i have tried reinstalling in and on other computers so i dont know what it is if anybody could help that would be great.
You need to install the framework-res.apk and tw-framework.apk both of them in the framework folder. Google how to install framework for apktool.
Sent from my SM-N900A
RErick said:
You need to install the framework-res.apk and tw-framework.apk both of them in the framework folder. Google how to install framework for apktool.
Sent from my SM-N900A
Click to expand...
Click to collapse
Will try and report back thanks for the reply
Musgrove99 said:
Will try and report back thanks for the reply
Click to expand...
Click to collapse
i am still getting the same error. I thought it might be the rom so i downloaded a new stock rom and a new systemui.apk and try to decompile it and and i am i getting the same error but i decompiles it i dont know if it is missing something or not.
Musgrove99 said:
i am still getting the same error. I thought it might be the rom so i downloaded a new stock rom and a new systemui.apk and try to decompile it and and i am i getting the same error but i decompiles it i dont know if it is missing something or not.
Click to expand...
Click to collapse
Tell me the steps you're doing
It's because your using an old version of apktool. Don't use the automated programs they suck. Do it manually with aptool.jar just Google how to use it properly. Should have no issues. And make sure java is installed properly.
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
drakeymcmb said:
It's because your using an old version of apktool. Don't use the automated programs they suck. Do it manually with aptool.jar just Google how to use it properly. Should have no issues. And make sure java is installed properly.
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Not necessarily. I use an outdated apktool only has api up to 4.3 works fine. You can clearly see that its not getting framework info from the screenshot he took
RErick said:
Not necessarily. I use an outdated apktool only has api up to 4.3 works fine. You can clearly see that its not getting framework info from the screenshot he took
Click to expand...
Click to collapse
I have tried apktool.jar it does same thing.
Musgrove99 said:
I have tried apktool.jar it does same thing.
Click to expand...
Click to collapse
Yeah I know. It doesn't matter. What are your exact steps?
RErick said:
Yeah I know. It doesn't matter. What are your exact steps?
Click to expand...
Click to collapse
I download java files and installed I got the systemui.apk and put in in the put files and I put twframework.apk in framework I opened .bat file and tried to decompile it and I get that error but I get a systemui decompile but I think it is missing something
Yep. You have to install both frameworks. Framework-res.apk AND tw-framework.apk. They also have to be installed. See this website
http://bit.ly/LLKRja look for a YouTube video or a guide and THEN try decompiling
Edit: the second hit that comes up there will help you a lot
Sent from my SM-N900A
RErick said:
Yep. You have to install both frameworks. Framework-res.apk AND tw-framework.apk. They also have to be installed. See this website
http://bit.ly/LLKRja look for a YouTube video or a guide and THEN try decompiling
Edit: the second hit that comes up there will help you a lot
Sent from my SM-N900A
Click to expand...
Click to collapse
Will try this afternoon and report back thanks
I did the command for the framework and it installed the framework but i am getting the same result.
Did you put the java path in the correct environmental path? for your apk tool?
tankxx said:
Did you put the java path in the correct environmental path? for your apk tool?
Click to expand...
Click to collapse
I did.
It is only when i try to do systeyui.apk i get a error
Whats the proper Advance Apktool for the note 5 running MM? like version files i need to decompile apks
_TechGuy_ said:
Whats the proper Advance Apktool for the note 5 running MM? like version files i need to decompile apks
Click to expand...
Click to collapse
I think latest is 2.1.2, you should check out the tickle my android app here on xda, also the thread has a link to latest apktool on nearly the last page...sorry i don't have a link atm...
Sent from my SM-N920T using Tapatalk
Rx8Driver said:
I think latest is 2.1.2, you should check out the tickle my android app here on xda, also the thread has a link to latest apktool on nearly the last page...sorry i don't have a link atm...
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
Thanks mate
Rx8Driver said:
I think latest is 2.1.2, you should check out the tickle my android app here on xda, also the thread has a link to latest apktool on nearly the last page...sorry i don't have a link atm...
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
one question how can i add extended menu to a rom and include it in it?
_TechGuy_ said:
one question how can i add extended menu to a rom and include it in it?
Click to expand...
Click to collapse
Well it depends exactly which menu and where the worshiper apk file is...it could be in framework-res or in systemui or it could be in an individual app apk...so you need to know the name and location of whatever file is needed so you can edit and recompile
Sent from my SM-N920T using Tapatalk
Rx8Driver said:
Well it depends exactly which menu and where the worshiper apk file is...it could be in framework-res or in systemui or it could be in an individual app apk...so you need to know the name and location of whatever file is needed so you can edit and recompile
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
well im talking about the extended reboot menu for the note 5 so i could add it into a rom but dont know how can you help me?
_TechGuy_ said:
well im talking about the extended reboot menu for the note 5 so i could add it into a rom but dont know how can you help me?
Click to expand...
Click to collapse
I would suggest downloading a few custom roms compatible with your device and looking under the good to see the ways in which the dev's have done this. That's a very common mod, I'm sure there's lots of guides that will demonstrate step by step, with slight variations for different devices...
Sent from my SM-N920T using Tapatalk
Rx8Driver said:
I would suggest downloading a few custom roms compatible with your device and looking under the good to see the ways in which the dev's have done this. That's a very common mod, I'm sure there's lots of guides that will demonstrate step by step, with slight variations for different devices...
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
thanks