Apktool cannot find sources please help - HTC One V

What's the problem?? I'm following the steps step by step and its always telling cannot find sources what I'm doing is
Opening a cmd on apktool folder
Type
Apktool if framework-res.apk(works normal)
Apk tool d framework-res.apk frameworkres(extracts the folder but doesn't show all lines like in the tutorial)
Then i edit some photos in drawable-hdpi
Apktool b frameworkres framework1.apk
Then it tells me it can't find sources
And types about 50 lines of errors
What should I do??
I followed tutorials exactly what they did and didn't work with me
Please help
Y U WANNA KNOW FROM WHERE SENT??

Thankyou all guys for your help
thanks for your support
y u wanna know from where sent??

Related

porting i9100 themes to i9100g

Hi All,
Please guide me on how to port i9100 themese to i9100g... I really miss all the themes that keep coming for the internation version so wanted to learn porting so that i can make dem for myself
Rough guide:
Decompile framework-res, systemui using apktool
Change png files
patch edited .9.png files
re-compile and sign
place on phone
Maybe somebody else will go into more detail. That is all I have time to say.

help, hide nav bar / apktool

Hey,
I'm really desperate for help
If someone has a Framework-res.apk Edited and without the NAVIGATION BAR
It would really help.
my cell: galaxy nexus, 4.0.3, Open Kang 21
I was awake all night trying to remove the navigation bar on GALAXY NEXUS.
I searched every possible forum for a month and found no mods on that subject.
I found only a short guide that shows how to edit the FRAMEWORK-RES.APK
But after editing it, I could not RECOMPILE it.
I used APKTOOL
Maybe I'm missing something here (for the first time I was dealing with these files)
1. I copied the folder framework-res.apk
2. apktool if framework-res.apk
3. apktool d framework-res.apk
4. I edited in a word within a file folder and kept
5. apktool b framework-res
it did not build the file again and showed me "invalid resource directory name:" for many paths
Any ideas?
do I need to do something more before recompiling it?
if someone has already the Edited file or Mod in this topic it would help a lot!
Thank you.

[Q] Themes & Roms Developers i need your help plz

Hi everyone
sorry for posting the same theard twice
I posted my question here couz it is not a normal question
I have xperia arc 2.3.4 rooted
I am trying to make my own theme and here is what i done
1- i copied the framework-res.apk from my system
2- i decompile it useing Apktool last version
3- i changed a lot of pictures inside it with the same name and type (.png all)
4- i edit a xml file by adding more lines ( the battery xml )
5- i complied it useing apktool without any problems
6- i signed it with apksign without any problems
7- i replaced it with the one in my system with root explorer and it forcedclose and then i restart the phone
The phone booted to the locke screen and it was new with my new pictures and the new battery also was new with my pictures
But when i unlock the phone and type the pin code EVERY THING FORCED CLOSE ! And the phone rebooted with the same problem
Now what the f... I did wrong what is the problem ? I have been working all day on it with a big fail !!!!!!! Plz help plz plz
Are the permissions correct?
sinkster©
sinkster said:
Are the permissions correct?
sinkster©
Click to expand...
Click to collapse
yes
Mr.Smile said:
4- i edit a xml file by adding more lines ( the battery xml )
6- i signed it with apksign without any problems
Click to expand...
Click to collapse
Those are your problems right there...
Firstly, you cannot add anything to an apk, without adding a unique id in public.xml.
Secondly, you don't need to sign system apps.
iridaki said:
Those are your problems right there...
Firstly, you cannot add anything to an apk, without adding a unique id in public.xml.
Secondly, you don't need to sign system apps.
Click to expand...
Click to collapse
So what to do now ? How i maked work
i have used winrar to replace images and it work but without replaceing the xml
for xml i decompiled the file and edit the xml by adding few lines then i compile it and took the xml from it to the file i edit with winrar but it does't work i think the problem that i have edit the xml but did't add a unique id in public.xml couz i don't know how to do it
Mr.Smile said:
for xml i decompiled the file and edit the xml by adding few lines then i compile it and took the xml from it to the file i edit with winrar but it does't work i think the problem that i have edit the xml but did't add a unique id in public.xml couz i don't know how to do it
Click to expand...
Click to collapse
You need to count in hex and add the new drawables, being careful not to have duplicate ids.
Also you need to edit the battery display and animation files so that the new images are used.
I recommend UOT Kitchen if you are not that experienced.
iR¡[email protected]!* via Tapatalk 2

Resource.arcs

how can i edit Resource.arsc framework/res file plz help me any easy way.:angel:
You need to decomplie the apk resource.arsc is in.. Do the edits to values and the things you want.. Then recompiling the apk .. Use apktool .. Search the tutorials .. Its not too easy
Sent from my GT-N7100

Need help decompiling apk to java

Hello.
Sorry if this is not an appropriate post in this forum.
I have been trying to decompile the whatsapp apk however I am not in possesion of a computer and I have not been able to decompile it with my phone nor with any of the online services available. I would very much appreciate it if somebody could decompile it for me to java code, with jadx or whatever decompiler you prefer. Here is a link to the apk: db.tt/EnFIGCZq
Thank you!

Categories

Resources