Issue with Recompiling using apktool - Sprint HTC EVO 4G LTE

I appear to have an issue with recompiling apks in apktool. Decompile works fine. Bkwbim getting an error about a missing yml file. I took a look in the decompiled files, and it does appear to be there, so I'm unsure as to what's causing this. Will post logs in second post.
Sent from my EVO using xda premium

Related

[Q]How to change the sense version number in the about screen

Which apk, or lib, or whatever is this found in (Changed the sense version from 2.1.. to 3.0.. in rosie.apk and didnt fix the issue)? Its bugging the crap out of me as im working on my own pyramid/kingdom mashup rom for the desire hd/inspire 4g.
This is one of the items on my list of things I still need to address, and i'd rather not waste time on such a mundane thing as its apparently already been fixed in both the rcmix port and the new unity port.
I just need someone to steer me in the right direction.
As far as finding it in the code... i'll do that myself.
It is not found in a apk or lib file, but rather in an xml file. Let me search which.
Edit: After looking through xml files in the Sense 2.1 ROM I'm running I couldn't find it. I'll try again tomorrow once I got my Linux box on and I get some sleep.
Sent from my Hero that never dies! ;D
dastin1015 said:
It is not found in a apk or lib file, but rather in an xml file. Let me search which.
Edit: After looking through xml files in the Sense 2.1 ROM I'm running I couldn't find it. I'll try again tomorrow once I got my Linux box on and I get some sleep.
Sent from my Hero that never dies! ;D
Click to expand...
Click to collapse
Thanks mate, I havent found it in any of the xml's that are just lying about in the builds, I havent started using the kitchen yet myself (just setting it up now on ubuntu 11.04), so far its all been using apk manager, and just parsing code, and familiarizing myself with nitty gritty, parsing and editing code. I've already gotten a few gray hairs from frustration. lol
Have a look in strings.xml in Settings.apk
I don't have the phone or a ROM as a reference on me, but you should be able to work out how to set it by starting from strings.xml in Settings and working backwards, if you know what I mean.
If not, upload the file (Settings.apk) for me and I'll have a look for you.
will check it out, thnx
Its a build.prop edit look in system/build.prop
Sent from my HTC Vision using XDA Premium App
I can't seem to locate the file mentioned above. Do I need to use a specific program in order to view/edit the file.
Sent from my Synergized 3.0 EVO using Tapatalk
Blowpot said:
I can't seem to locate the file mentioned above. Do I need to use a specific program in order to view/edit the file.
Sent from my Synergized 3.0 EVO using Tapatalk
Click to expand...
Click to collapse
Prop editor
Sent from my Inspire 4G using XDA Premium App

Apktool help

Hi,
I can decompile/compile/sign/zipalign fine using apktool, but when i have decompiled framework/systemui all the xml files come out with huge gaps between the coding. im using notepad++ to view/edit xml.
It doesn't affect the compiling but its hard to find code to change.
example: a normal xml with 5 lines of code will come out with about 20-30 lines.
Am i doing something wrong or is it apktool?
thanks.
stealo said:
Hi,
I can decompile/compile/sign/zipalign fine using apktool, but when i have decompiled framework/systemui all the xml files come out with huge gaps between the coding. im using notepad++ to view/edit xml.
It doesn't affect the compiling but its hard to find code to change.
example: a normal xml with 5 lines of code will come out with about 20-30 lines.
Am i doing something wrong or is it apktool?
thanks.
Click to expand...
Click to collapse
Its an APKtool issue, emmm I got alot of errors using apk manager and apktool, I dont know whats the problem and still didnt find a solution. Everytime I use it I have to have errors... and its annoying
I could do many stuff if it would work !!
do you want my apktool folder? i can try and help if its the same as my setup. its a bit messy but works.
Sent from my GT-I9100 using xda app-developers app
stealo said:
do you want my apktool folder? i can try and help if its the same as my setup. its a bit messy but works.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
check the link below ma8, even though its a mod tutorial thread, u have some usefull info regarding APK tool and also about decompile/recompile subject's over there, which might help u with ur issue
http://forum.xda-developers.com/showthread.php?p=29020343&posted=1#post29020343
Sun90 said:
check the link below ma8, even though its a mod tutorial thread, u have some usefull info regarding APK tool and also about decompile/recompile subject's over there, which might help u with ur issue
http://forum.xda-developers.com/showthread.php?p=29020343&posted=1#post29020343
Click to expand...
Click to collapse
cheers.
i saw that this mornong. i got sweet [email protected]#k all done at work today. playin around with all that stuff. ive switched back to cm9 stable. still got issues with the xml's, a door knob probably knows more than me though.
Sent from my GT-I9100 using xda app-developers app

Aapt.exe crash when compiling SystemUI

Hey all,
New to the Prime forums, but have recently gotten a tf201 and started theming some. But I'm running into an issue I've never seen before. When I try to compile SystemUI(even untouched) windows pops up an error message after a bit saying Aapt.exe has stopped. Framework-res doesn't seem to have the issue. Anyone else seen that before? My sdk and Aapt are all up to date. Thx
Sent from my SPH-D710 using xda premium
delete "private.xml"
sleshepic said:
Hey all,
New to the Prime forums, but have recently gotten a tf201 and started theming some. But I'm running into an issue I've never seen before. When I try to compile SystemUI(even untouched) windows pops up an error message after a bit saying Aapt.exe has stopped. Framework-res doesn't seem to have the issue. Anyone else seen that before? My sdk and Aapt are all up to date. Thx
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Hi,
just delete public.xml in SystemUI/res/values/.
I found the solution today in one of these threads: http://forum.xda-developers.com/showthread.php?t=1814441 or http://forum.xda-developers.com/showthread.php?t=1755243.
Anyway, it did the decompiling trick for me. My recompiled SystemUI.apk keeps crashing though ;(
Cheers
Viper.MK said:
Hi,
just delete private.xml in SystemUI/res/values/.
I found the solution today in one of these threads: http://forum.xda-developers.com/showthread.php?t=1814441 or http://forum.xda-developers.com/showthread.php?t=1755243.
Anyway, it did the decompiling trick for me. My recompiled SystemUI.apk keeps crashing though ;(
Cheers
Click to expand...
Click to collapse
Thanks! Gonna try this, got wrapped up doin stuff on my phone and missed this. Gonna be making a JB theme soon
Sent from my SPH-D710 using xda premium

What should happen when you decompile a apk

I'm using apk multi tools can anyone tell me what should happen when I chose apk then decompile.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
You will get decompiled sources or resources or both. Sources may be difficult to compile into working APK but resources are useful to change some images or text.

Apktool problems

I used apktool to decompile the whatsapp apk but as soon as I try to recompile (with or without changes), I get a lot of errors..
Sent from my GT-I9070 using XDA Premium 4 mobile app
Exact error? Have you tried searching?
GermainZ said:
Exact error? Have you tried searching?
Click to expand...
Click to collapse
Hello, attached is a screenshot of the exact error I've encountered. I tried searching but no relevant answers were found.
RazaVakil7995 said:
Hello, attached is a screenshot of the exact error I've encountered. I tried searching but no relevant answers were found.
Click to expand...
Click to collapse
You didn't attach anything.. Make sure that you have your frameworks installed via apktool before recompiling.. best thing to do is copy/paste your cmd prompt of the apktool process of it trying to compile.. then we will go from there
Sorry the screenshot I took wasn't getting uploaded because it was in bmp format. Actually when I decompiled and recompiled flappy bird's apk it works. I used myappsharer to send whatsapp but I sent the flappy bird's apk natively through file manager. Can this be the reason for it not working
Sent from my GT-I9070 using XDA Premium 4 mobile app
RazaVakil7995 said:
Sorry the screenshot I took wasn't getting uploaded because it was in bmp format. Actually when I decompiled and recompiled flappy bird's apk it works. I used myappsharer to send whatsapp but I sent the flappy bird's apk natively through file manager. Can this be the reason for it not working
Sent from my GT-I9070 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Could be.. Try just pulling it from your sdcard or wherever you downloaded it too..

Categories

Resources