Recompile help please - T-Mobile, Samsung Galaxy SIII

so i just decompiled Framwork-res.apk to modify a file inside it (i didnt mount it, i was doing a tethering modification). i tried to recompile the folder that everythings in but apktool just wont recompile it. some help would be greatly appreciated 
Sent from my SGH-T999 using xda premium

Are you using the latest version of apktool? If so, maybe try a previous version.
Do you have the latest sdk installed?
Are you just using apktool? Or one of the programs built around it (like apk multitool)?
Do you have a logfile?
Sent from my SGH-T999 using xda premium

Related

How to create a theme?

Hi,
I want to create my own Samsung Galaxy S I9000 theme, but how?
Is there any sort of software or can I edit excisting ones?
Ofcourse I will publish the theme for free on XDA
Anyway, Thanks!
Cheers,
Applefaq
Applefaq said:
Hi,
I want to create my own Samsung Galaxy S I9000 theme, but how?
Is there any sort of software or can I edit excisting ones?
Ofcourse I will publish the theme for free on XDA
Anyway, Thanks!
Cheers,
Applefaq
Click to expand...
Click to collapse
This is the guide i normally send when im asked this question:
First of all, get your framework-res.apk and twframework ,(they're located in system/framework). If you are on gingerbread you also need systemui.apk (in system/app)
Then, download 7zip in case you dont have it.
Right click on framework-res.apk and with 7zip click to extract to /framework-res
You will now have a new folder.
Open it, then open /res and then /drawable-hdpi (framework-res/res/drawable-hdpi)
There are most pngs you'll need to theme.
Edit them and when you've finished editing them, open framework-res.apk with 7zip, delete the res folder, and drag the res from framework-res folder onto it. (Make sure it has copied correctly)
You should now have a framework-res with a new theme
do this also for the other two apks.
There are too many pngs to tell you the function of each, but you can pm me about some
To copy it onto your phone, you can use root explorer or a cwm installable zip.
For cwm, you'll need an updater-script and update-binary or update-script. If you want, i'll make you one.
Damn thanks for your great reply, im gonna read this!
Thanks for the reply I will post my theme next week!
Cheers,
Applefaq
how can I modified the update-binary?
Thanks for the info on gingerbread theming. Is it also safe to swap one 2.33 framework for another while on your cell?
Or is this strictly pc based? I'd like to try exact one already made and replace mine.. Or is that gonna bootloop
Sent from my GT-I9000 using Tapatalk
Dont unzip. Use apkManager to decompile. This way you will decompile the 9patch png's too.
When compiling remember to say its a system file and delete the modified files from the keep folder.
And convert the 8 bit pngs to rgb 32 bit before editing. Then convert them back to 8bit before recompiling. Or find an editor that supports 8bit. But Adobe Photoshop does not!
Sent from my GT-I9000 using XDA Premium App
If the OP needs any help im glad to give it.
But one question for you other theme gurus:
When decompiling with dependencies do you use twframework or systemui? I always use tw but with gingerbread im getting some wierd errors.
Cheers
Sent from my GT-I9000 using XDA Premium App
and how to theme odex versions ... do u delete odex files before themes them or jyst decompiling with apk manager will work ?
Any help regarding changing text colours
Sent from my GT-I9003 using XDA App
ronhoover88 said:
Any help regarding changing text colours
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
Decompile twframeworkres.apk and change "twcolor3" in res/values/color.xml(should be close enough).
Frameworkres.apk res/color/zzz_tw_secondary_text_sub.xml
Sent from my GT-P1000 using XDA App
tids2k said:
and how to theme odex versions ... do u delete odex files before themes them or jyst decompiling with apk manager will work ?
Click to expand...
Click to collapse
________________________________________________________________
racerboy3801 said:
If the OP needs any help im glad to give it.
But one question for you other theme gurus:
When decompiling with dependencies do you use twframework or systemui? I always use tw but with gingerbread im getting some wierd errors.
Cheers
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
I dont understand the question. You decompile with the files it depends on. That's all. SystemUI.apk needs framework-res.apk for example.
racerboy3801 said:
Decompile twframeworkres.apk and change "twcolor3" in res/values/color.xml(should be close enough).
Frameworkres.apk res/color/zzz_tw_secondary_text_sub.xml
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
Thanks a lot does it change the text of all the frameworks...when i edit the xml my phone goes into bootloop
Sent from my GT-I9003 using XDA App
_JKay_ said:
I dont understand the question. You decompile with the files it depends on. That's all. SystemUI.apk needs framework-res.apk for example.
Click to expand...
Click to collapse
I mean that when you decompile frameworkres did you select either.twframeworkres or systemui for the dependancy.
Sent from my GT-I9000 using XDA Premium App
racerboy3801 said:
I mean that when you decompile frameworkres did you select either.twframeworkres or systemui for the dependancy.
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
No. framework-res.apk does not depend on any file.
tids2k said:
and how to theme odex versions ... do u delete odex files before themes them or jyst decompiling with apk manager will work ?
Click to expand...
Click to collapse
If you only want to change image files then just decompile the apk file and forget about the odex file.
ronhoover88 said:
Any help regarding changing text colours
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
If you want to know how to change the color of the clock in the statusbar then look at my thread. 3rd post.
http://forum.xda-developers.com/showthread.php?t=1037157
RobZarzecki said:
Thanks for the info on gingerbread theming. Is it also safe to swap one 2.33 framework for another while on your cell?
Or is this strictly pc based? I'd like to try exact one already made and replace mine.. Or is that gonna bootloop
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
Sent from my GT-I9000 using Tapatalk
RobZarzecki said:
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
You can make a cwm flash but that will require a reboot.
Sent from my GT-I9000 using XDA Premium App
racerboy3801 said:
You can make a cwm flash but that will require a reboot.
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
Thanks.. So it has to be flashed? Cannot just extract and switch one framework for another?? Not sure how to zip, sign a framework
Sent from my GT-I9000 using Tapatalk

parsing problem

can somebody help me to solve the parsing issue of *.apk files.......
thakzz in advance
Try redownloading the apk. I think it happens if the apk is not completely downloaded.
Sent from my GT-S5360 using XDA
Thats right. Apk is corrupted.
Sent from my GT-S5360 using xda premium
skylIne45 said:
Try redownloading the apk. I think it happens if the apk is not completely downloaded.
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
davidroid03 said:
Thats right. Apk is corrupted.
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
not that.i just tried to install some *.apk files( system UI and framework-res.apk , etc) from the ICS rom
Apk file is currupt re-download from other source or from playshop
Sent from my GT-S5360 using xda premium
sgy.creed said:
not that.i just tried to install some *.apk files( system UI and framework-res.apk , etc) from the ICS rom
Click to expand...
Click to collapse
You can't just install those files like normal apk's. Push them to system. Make sure those are correct files otherwise it would result in either a bootloop or force close galore.
Sent from my GT-S5360 using xda premium

Having problems in recompiling systemui.apk

Hey guys as the title says I have been having some problems while recompilling systemui.apk .
Well the decompiling and everything else goes well but when I try to recompile it it just gives some errors and says 11 more errors.
Please can someone help me .
For the note I didn't change even a single letter in any file just decompiled and tried to recompile.
Sent from my HTC Wildfire S A510e using XDA
I used to have this problem but fixed it easily, can you confirm what OS you are using? (Linux, windows, Mac OS X)
Sent from my Wildfire S using XDA
rohil surana said:
Hey guys as the title says I have been having some problems while recompilling systemui.apk .
Well the decompiling and everything else goes well but when I try to recompile it it just gives some errors and says 11 more errors.
Please can someone help me .
For the note I didn't change even a single letter in any file just decompiled and tried to recompile.
Sent from my HTC Wildfire S A510e using XDA
Click to expand...
Click to collapse
plz tell the code you used to compile
mostly it is becuz you wrote it in wrong syntax..
see this .. it will help
http://forum.xda-developers.com/showpost.php?p=27340150&postcount=2
if you are editing ics apk, try to decompile with apktool 1.4.2 and recompile with apktool 1.4.3 or vice versa, i read somewhere apktool has issues
with ics apks and that is the trick to make it work
Sent from my HTC Wildfire S
VigiDroid said:
I used to have this problem but fixed it easily, can you confirm what OS you are using? (Linux, windows, Mac OS X)
Sent from my Wildfire S using XDA
Click to expand...
Click to collapse
my OS is Windows 7
mhrsolanki2020 said:
plz tell the code you used to compile
mostly it is becuz you wrote it in wrong syntax..
see this .. it will help
http://forum.xda-developers.com/showpost.php?p=27340150&postcount=2
Click to expand...
Click to collapse
as I told I didn't even edit any code, then also its giving the errors
mstfkaratas said:
if you are editing ics apk, try to decompile with apktool 1.4.2 and recompile with apktool 1.4.3 or vice versa, i read somewhere apktool has issues
with ics apks and that is the trick to make it work
Sent from my HTC Wildfire S
Click to expand...
Click to collapse
Nope systemui.apk from stock DEODEXED ROM
Sent from my HTC Wildfire S A510e using XDA
Please see this post.
http://forum.xda-developers.com/showthread.php?p=27610101
It's just that I created a theme with transparent background and black colour notifications.
So the text is not visible on the notifications.I tried to change with the option in uot but it just doesn't change.
So I decided to recompile the apk gold the xml responsible and then edit and recompile it.
This is the story hope anyone can help.
Sent from my HTC Wildfire S A510e using XDA
You have to set the path, I'm not sure about windows if you can set the path in cmd. I will have a look when I get to my PC
Sent from my Wildfire S using xda app-developers app
What are you talking about I started command prompt in apk tool directory then
gave APk tool both the dependency files
Then decompiled then didn't edit anything just recompiled and got errors if any one could try please take the system UI apk from uot pack from the link in my last post.
Sent from my HTC Wildfire S A510e using XDA

Themeing

I wanted to theme my r800x stock rom but I was reading about it and it says you have to deodex it first. Is it possible to do that from the phone and can someone link me to a good guide for themeing and for deodexing? I know how to do it with a flashable zip but I don't have one for stock rom. So if somebody knows how to turn nandroid backups into flashable zips or has a guide on how to do so please share. Thank you.
Sent from my r800x using xda developers app
might not be what you need exactly but could help you, this helped me in most of the ICS rom that i customized http://forum.xda-developers.com/showthread.php?t=1598829:good:
Thanks but do you know how to deodex a ROM because I'm on stock gb (which I believe is odexed) so I can't use that theming guide.
Sent from my R800x using xda app-developers app
abdel12345 said:
Thanks but do you know how to deodex a ROM because I'm on stock gb (which I believe is odexed) so I can't use that theming guide.
Sent from my R800x using xda app-developers app
Click to expand...
Click to collapse
im not that familiar with r800at and cm,miui or aokp but this heres a very nice guide for stock roms or stock based one http://forum.xda-developers.com/showthread.php?t=1600805
Thanks again
Sent from my R800x using xda app-developers app
Try a stock based ROM like cola or gbtweaked those were costimized ROMs and well if those don't suit you then try cm7 as that's got full theming support
sent from my Sony Ericsson Xperia Play™(r800x) Running Slimbean 3.0 using Tapatalk 2™
abdel12345 said:
I wanted to theme my r800x stock rom but I was reading about it and it says you have to deodex it first. Is it possible to do that from the phone and can someone link me to a good guide for themeing and for deodexing? I know how to do it with a flashable zip but I don't have one for stock rom. So if somebody knows how to turn nandroid backups into flashable zips or has a guide on how to do so please share. Thank you.
Sent from my r800x using xda developers app
Click to expand...
Click to collapse
Nandroid》Zip
1. All sony stock roms are deodex.
2. Backup format is yaffs, and your backups are stored on sdcard/clockworkmod/backup.
3. You can extract those with programs like Yaffey, Flashtool and even with android apps.
4. You can make a zip from that.
Theming
1. Get an app that can decompile I reccomend Apk Multi Tools or APKTOOL
2. Extract your framework-res and get table codes.
Apk Multi Tools can do it with Adb automatically.
In APKTOOL it goes apktool if framework-res.apk
3.Decompile apk
Apktool d framework-res.apk
4.Make image changes.
5. Recompile then push with adb.
Sent from my GT-I9300 using xda app-developers app
sewer56lol said:
Nandroid》Zip
1. All sony stock roms are deodex.
2. Backup format is yaffs, and your backups are stored on sdcard/clockworkmod/backup.
3. You can extract those with programs like Yaffey, Flashtool and even with android apps.
4. You can make a zip from that.
Theming
1. Get an app that can decompile I reccomend Apk Multi Tools or APKTOOL
2. Extract your framework-res and get table codes.
Apk Multi Tools can do it with Adb automatically.
In APKTOOL it goes apktool if framework-res.apk
3.Decompile apk
Apktool d framework-res.apk
4.Make image changes.
5. Recompile then push with adb.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
havent tried Yaffey is there a possibility you can post where i can download that?
sewer56lol said:
Nandroid》Zip
1. All sony stock roms are deodex.
2. Backup format is yaffs, and your backups are stored on sdcard/clockworkmod/backup.
3. You can extract those with programs like Yaffey, Flashtool and even with android apps.
4. You can make a zip from that.
Theming
1. Get an app that can decompile I reccomend Apk Multi Tools or APKTOOL
2. Extract your framework-res and get table codes.
Apk Multi Tools can do it with Adb automatically.
In APKTOOL it goes apktool if framework-res.apk
3.Decompile apk
Apktool d framework-res.apk
4.Make image changes.
5. Recompile then push with adb.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Thanks
Sent from my r800x using xda developers app

Recompiling and signing app again

Hi there...........i used the smart apk tool to decompile the apk, i did all the necessary work that was to be done but know i have a prob. What the hell i have to do with decompiled folder to recompile it and then how to sign it....... I wan't some to guide me...... ^_^
Sent from my GT-N7100 using xda premium

Categories

Resources