Having problems in recompiling systemui.apk - HTC Wildfire S

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

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

[Q] How to modify the background of settings,contacts etc??

The usual method posted in kurotsugi's thread doesnt work for me... it gives an error when compiling framework-res.apk... so is there any work around?
http://forum.xda-developers.com/showthread.php?t=1678241
Click to expand...
Click to collapse
View here.
CLoSe.
Instead of compiling and decompiling just rename the framework-res.apk to zip open up and follow the stuff told by kurotsugi and instead of compiling just rename back to apk and replace it back ur done ....atleast worked for me dnt know about other try it out and tell if it works then it will be officially posted on xda...
Sent from my GT-S5360 using xda premium
Or u can download the xml file from kurotsugi use it....
Another thing copy ur roms framework-res.apk to username/apktool and over there backup the 1.apk if u use apktool or skip this step if using apkmanager
Backup 1.apk and paste ur framework.apk and rename it to 1.apk and then do the remaining steps as in tut it works perfectly for me atleast...
Sent from my GT-S5360 using xda premium
SSSidGGG said:
Or u can download the xml file from kurotsugi use it....
Another thing copy ur roms framework-res.apk to username/apktool and over there backup the 1.apk if u use apktool or skip this step if using apkmanager
Backup 1.apk and paste ur framework.apk and rename it to 1.apk and then do the remaining steps as in tut it works perfectly for me atleast...
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Thanks buddy.. i will use ur method tomorrow..
Sent from my GT-S5360 using xda premium

How to remove recent apps? Sense 2.1 ODEX

I found many guides but all are modifying the 'classes.dex' inside the SystemUI.apk. But in my ROM there is no 'classes.dex' inside the apk. Instead a SystemUI.odex along the SystemUI.apk. I heard that .dex and .odex are internally different and cannot be interchanged direclty.
How can I edit SystemUI.odex and save back to SystemUI.odex itself. Do I need to deodex the apk to make any changes to .smali? Or can I simply decompile the SystemUI.odex , edit .smali, and compile back to SystemUI.odex?
Anyone please help to remove recent apps from notification bar, get me a modified SystemUI.odex for my Stock Sense 2.1 ROM
You should deodex your rom by dsixda kitchen.. . Then make change than re-odex it by script(search it is available)... Then install.....
Sent from my HTC Wildfire S A510e using xda app-developers app
smartboy0668 said:
You should deodex your rom by dsixda kitchen.. . Then make change than re-odex it by script(search it is available)... Then install.....
Sent from my HTC Wildfire S A510e using xda app-developers app
Click to expand...
Click to collapse
I couldn't find the 'StausBarFlag.smali' file when I de-compiled the 'SystemUI.apk' file with apktool.
I followed this guide:
http://androidforums.com/wildfire-s...cation-bar-wildfire-s-need-rooted-device.html
I'm using HTC Stock ROM 2.3.5 Gingerbread. All files are ODEXed.
Any idea..... on how to remove the 'recent apps'....?
Bcz u have odex rom as source... U need the file from deodex then it will be incuded(smali file)...
Sent from my HTC Wildfire S A510e using xda app-developers app
smartboy0668 said:
Bcz u have odex rom as source... U need the file from deodex then it will be incuded(smali file)...
Sent from my HTC Wildfire S A510e using xda app-developers app
Click to expand...
Click to collapse
How to convert the ODEX into DEODEX..?

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

Recompile help please

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

Categories

Resources