How to remove recent apps? Sense 2.1 ODEX - HTC Wildfire S

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..?

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

Deodexing

Hi folks, I want to install something on my cm7 by alquez. It says the rom is not deodexed. There's no odex files in the rom. I think framework - Res isn't deodexed. Could someone help me with the process? Or has someone successfully deodexed the rom? I have android kitchen installed. Can I deodexed it in that?
Thanks.
Sent from my Wildfire S using xda premium
What do you want to install?
Thrawed said:
What do you want to install?
Click to expand...
Click to collapse
Ics layouts by achep.
Sent from my Wildfire S using xda premium

How to decompile and compile framework

Hi, i have problem with compiling GB framework-res.apk. Im using APK Multi Tool 1.0.6 and i decompile and compile stock framework without any problem's and i dont change anythink just to test. But rom allways got bootloop. I change compression to 0, didnt help. Stock framework have 9.5MB , and signed (with no changes, compressio 0) has 6.6MB. I allways remove resources.arsc from keep folder then continue. Any solution ? :/ i can't solve this problem, i rly dont touch anythink inside framework.
System apks such as framework should be signed. Apk tool compiles unsigned apks. You have to sign it manually.
Sent from my LT18i using xda app-developers app
popthosegaskets said:
System apks such as framework should be signed. Apk tool compiles unsigned apks. You have to sign it manually.
Sent from my LT18i using xda app-developers app
Click to expand...
Click to collapse
did you noticed what i write ? "Stock framework have 9.5MB , and signed (with no changes, compressio 0) has 6.6MB" i signed using apk tool
What commands did you use? If I am not mistaken, framework had some other ones to be used.
Sent from my Xperia Arc S using xda premium
default in apk multi tool
OmenHTX said:
did you noticed what i write ? "Stock framework have 9.5MB , and signed (with no changes, compressio 0) has 6.6MB" i signed using apk tool
Click to expand...
Click to collapse
You did push it into system/framework with permissions set? rw-r--r--
Sent from my LT18i using xda app-developers app
popthosegaskets said:
You did push it into system/framework with permissions set? rw-r--r--
Sent from my LT18i using xda app-developers app
Click to expand...
Click to collapse
i set permission moving to system, then i copied this framework to ZIP and flash rom by CWM. Full wipe > install rom > and bootloop
OmenHTX said:
i set permission moving to system, then i copied this framework to ZIP and flash rom by CWM. Full wipe > install rom > and bootloop
Click to expand...
Click to collapse
Maybe I can have a look at your framework or zip file?
Sent from my LT18i using xda app-developers app
popthosegaskets said:
Maybe I can have a look at your framework or zip file?
Sent from my LT18i using xda app-developers app
Click to expand...
Click to collapse
http://www.4shared.com/dir/P81lXwiQ/NeoV_402A0.html
Im using clean framework from .62 rom. I only decompile and compile without change's and i allways get bootloop.
Maybe i should use older version apkmanager and replace it on apk multi tool ?
o change apktool to 1.4.3,1.4.5,1.4.9 = allways bootloop, allways diference size of file
OmenHTX said:
http://www.4shared.com/dir/P81lXwiQ/NeoV_402A0.html
Im using clean framework from .62 rom. I only decompile and compile without change's and i allways get bootloop.
Maybe i should use older version apkmanager and replace it on apk multi tool ?
o change apktool to 1.4.3,1.4.5,1.4.9 = allways bootloop, allways diference size of file
Click to expand...
Click to collapse
Ok, I'll have a look at it tonight.
Sent from my LT18i using xda app-developers app
OmenHTX said:
I change compression to 0, didnt help. Stock framework have 9.5MB , and signed (with no changes, compressio 0) has 6.6MB. I allways remove resources.arsc from keep folder then continue. Any solution ? :/ i can't solve this problem, i rly dont touch anythink inside framework.
Click to expand...
Click to collapse
Extract the resources.arsc from the compiled framework-res then add it back using store as the compression method.
XperienceD said:
using store as the compression method
Click to expand...
Click to collapse
sry, i dont understand this part :/
OmenHTX said:
sry, i dont understand this part :/
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1374394

[HELP] EQDKP-Sense3.5 V 5.0 Battery icon

some1 pls help he to change the battery icon of [ROM] EQDKP-Sense3.5 V 5.1 {odexed/deodexed} (update: 18 Sept, 2012) to EQDKP V 5.0
I need this 1
http://forum.xda-developers.com/attachment.php?attachmentid=1297075&d=1346558257
Just change your systemui. Apk from the old version of your rom
U liked by root explorer>>> set permission rw-r-r...
But if your old ver is odex (from which you are taking)and new is also odex than replace odex too.
Or
Easy way just replace systemui. Apk and odex in rom zip in system/app than flash.
Or
Use uot kitchen .. choose battery icon.
Sent from my HTC Wildfire S A510e using xda app-developers app
smartboy0668 said:
Just change your systemui. Apk from the old version of your rom
U liked by root explorer>>> set permission rw-r-r...
But if your old ver is odex (from which you are taking)and new is also odex than replace odex too.
Or
Easy way just replace systemui. Apk and odex in rom zip in system/app than flash.
Or
Use uot kitchen .. choose battery icon.
Sent from my HTC Wildfire S A510e using xda app-developers app
Click to expand...
Click to collapse
:thumbup:
Sent from my HTC Wildfire S A510e using xda app-developers app
flash this, basically u need to upload framework-res.apk, systemUI.apk and com.htc.framework to theme via UOT kitchen.
For battery Icon just put framework-res.apk to replace older battery icons, in sense 3.5.
Hi
Please can anyone tell out here how to install 4*4 app drawer for this theme?
Please help me out
Sent from my HTC Wildfire S A510e using xda premium
Rahul2929 said:
Hi
Please can anyone tell out here how to install 4*4 app drawer for this theme?
Please help me out
Click to expand...
Click to collapse
Try dis www.mediafire.com/?vkvhkesbkngqncx
Sent from my HTC Wildfire S A510e using xda app-developers app
Using this rom bt facing some issues with stock mail app....
Whenever I tries to reply to a mail and discard the message the app force closes.....
Please help me in this I am using EQKDA v5.1
Sent from my HTC Wildfire S A510e using xda premium
Rahul2929 said:
Using this rom bt facing some issues with stock mail app....
Whenever I tries to reply to a mail and discard the message the app force closes.....
Please help me in this I am using EQKDA v5.1
Sent from my HTC Wildfire S A510e using xda premium
Click to expand...
Click to collapse
I don't understand why random apps forceclosing in random devices. Maybe u didn't wipe dalvik cache.
Sent from my HTC Wildfire S A510e using Xparent ICS Tapatalk 2
I always wipe it when I install custom Rom's....then 2 its happening...
Sent from my HTC Wildfire S A510e using xda premium

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

Categories

Resources