Hi I am tring to add a file to Roise.apk
...\Rosie.apk\res\values-iw
The new file is strings.xml
I recompiled it and i get Force Close evey Time
Can i give to some one thr original apk and the strings.xml
and he will recompile it for me without FC?
tnx
Related
Hey all, have yet another question. Is it possible to recompile xml files that have been decompiled using AXMLPrinter2? I tried to use aapt but it wouldn't work (got a lot of 'no resource identifier found for ...' errors).
Thanks.
u can't recompile xml pre-compiled files.
M
...
Try apktool.
Hi all,
I'm French, so apologize for my bad english, anyway, i try my best to post an understable question.
Sine i got my Arc S i play with rom, kernel and theme without no problem.
Actually, i set dpi to 180, and everything is allright wi GO launcher.
Now, i moded SemcPhone.apk so that it fill the screnn resolutution, and here is my question.
What i do :
- decompile semcphone
- modify the dimens.xml found in the /res/value/ decompiled file, and set all the dip values to fil the screen,(using factor of 1,33)
- recompiled file and push it on the phone.
At this step all is ok, only the panel where are the 4 button (mute, keypad, contact and speaker) not fit the screen.
Then, i tried to modify the androidmanifest.xml in the support-screen section, recompiled and pushed, no work, got error.
Tried the seme thing with the other xml in the layout folder of the decompiled file and the same error.
So my question is, how can i do.
If i want to modify the layout xml file, is there another way to do.
Actually i use DoomKernel V18 and Acronium 7b2.
Oh a last thing, thanks all for you job.
Thank you for the help.
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
im trying to edit the settings.apk to add/remove entries from it.
My question is, can this be done through decompiling the apk and editing xmls, or do i need to edit the source code/java files?
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