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
Hi everyone,
I will like to know when you decompile ics apk especially systemui ,do you get in public.xml some resources id as : apktool dummy ?
If yes what does at means? It appears to me on some drawable and string id,so how should I know with id correspond to drawable ?
Thanks in advance
zozor said:
Hi everyone,
I will like to know when you decompile ics apk especially systemui ,do you get in public.xml some resources id as : apktool dummy ?
If yes what does at means? It appears to me on some drawable and string id,so how should I know with id correspond to drawable ?
Thanks in advance
Click to expand...
Click to collapse
ignore the apktool dummy stuff, just treat them like any other existing resources
Okay ,another question if an id with ''APKTOOL_DUMMY'' is involve in smali,how should I know what specific object is to perform editing ?
workaround ?
maybe I should really ignore some of them.
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
Hi...
I need help into editing SemcGenericUxpRes.apk ...
I want to change theme accent color and applications background but i dont know how to...
so plz help me...
I have attached the file that I'm working on...
this is fromBDFreak Theme Accent Changer...
Hello
any can help me with change BaiduNetworkLocation.apk to NetworkLocation.apk in MIUI6 and edit framework-res.apk ?
i try edit framework-res.apk in APKTools but i have error when building apk file
Thanks