How to change default theme in a Cyanogenmod Rom? - Android

Currently making a rom and would like to change the default theme to another theme. Any ideas?

Cyanbread and/or androidian. apk in system/app folder.
Press the thanks button
Sent from my HTC HD2 using xda premium

jonas2295 said:
Cyanbread and/or androidian. apk in system/app folder.
Press the thanks button
Sent from my HTC HD2 using xda premium
Click to expand...
Click to collapse
Wrong answer...
You could be right, but no...
That are not the default themes...
I think you should drag and drop the files from your theme into the framework file and compile and sign. That should do it.
Or do you mean a theme enabled by default but not default theme?
Greets!

mDroidd said:
Wrong answer...
You could be right, but no...
That are not the default themes...
I think you should drag and drop the files from your theme into the framework file and compile and sign. That should do it.
Or do you mean a theme enabled by default but not default theme?
Greets!
Click to expand...
Click to collapse
Really lol?
It worked for me when I tried my own cm7 rom but probably I simply gave the wrong answer sry!
Sent from my HTC HD2 using xda premium

ya I dont even have those apks in the rom
I'll try what he said

Hi guys,,,
I am cooking a new ROM for my galaxy tab 10.1 and I want to change the theme..
I fount the perfect one that consist of many files:
framework-res
systemui
system
fonts
bootanimation
when I put the files in my ROM I always get stuck at bootanimation screen.
but if I flash the them with recovery after I flash the ROM then everything boot correct.
please help me guys..

Check the updater script.
Sent from my HTC HD2 using xda premium

logic5 said:
Hi guys,,,
I am cooking a new ROM for my galaxy tab 10.1 and I want to change the theme..
I fount the perfect one that consist of many files:
framework-res
systemui
system
fonts
bootanimation
when I put the files in my ROM I always get stuck at bootanimation screen.
but if I flash the them with recovery after I flash the ROM then everything boot correct.
please help me guys..
Click to expand...
Click to collapse
Try wipe cache and dalvik, and sign correctly. I admit that it is strange.
Greets!

Edit: did you sign, compile?
Greets!

Hi,
check for what exactly ?
there is nothing special .. as I said .. if I flash the ROM and the theme separately then every thing is ok ...
all I did was replace the files in the zip..and then I get stucj at bootanimation.
I didn't sign or compile...
I have a theory : the SystemUI has a battery percentage and the apk has new files in it... could it be the problem ?

logic5 said:
Hi,
check for what exactly ?
there is nothing special .. as I said .. if I flash the ROM and the theme separately then every thing is ok ...
all I did was replace the files in the zip..and then I get stucj at bootanimation.
I didn't sign or compile...
I have a theory : the SystemUI has a battery percentage and the apk has new files in it... could it be the problem ?
Click to expand...
Click to collapse
First: to clarify;
you have a couple APKs for your Tab.
You place them in a flashable zip, flash, bootblock
you have a ROM for your Tab,
you grab the .zip, and replace the theme APKs, flash, and it works?
THat is really strange...

Hi,
thanks for answering me mDroidd ...
I found the problem.. it is the SystemUI.apk
I copied all the theme files to my ROM zip except that file and the device boot ok.
why does this file need to be flashed in a separate zip ?
is there another way ?

logic5 said:
Hi,
thanks for answering me mDroidd ...
I found the problem.. it is the SystemUI.apk
I copied all the theme files to my ROM zip except that file and the device boot ok.
why does this file need to be flashed in a separate zip ?
is there another way ?
Click to expand...
Click to collapse
Maybe it had something to do with permissions our something?
If you override the systemui manually, does it work? Can your send me you're updater script?
Greets!

Related

Everybody HELP !!!!! -cm7 ROM-

I encountered some problems and need some answers while making a cm7 rom.
( Be Prepared )
1.How to change the whole theme while making the rom? I downloaded a cm7 theme but it just gives an apk file (I need to boot so I can change it in theme chooser), but how can I change it from the start like Sonygenmod and ICS ROM !!?
2.Boot animation does not show up, I tried to put the bootanimation.zip in data/local does not work, tried in System/media where the ORIGINAL bootanimation.zip is but still nothing.
3.Lockscreen themes give something like wltheme.zip , where can I use them and change the lockscreen from the start like problem 1?
Please help if you can, cause I'm dying to finish this ROM
1) You need to edit framework-res.apk and systemui.apk
2)might be your boot animation have some problems.
3) idk sorry
What's IDK ?
Sorry2U said:
What's IDK ?
Click to expand...
Click to collapse
http://lmgtfy.com/?q=idk
Sorry2U said:
I encountered some problems and need some answers while making a cm7 rom.
( Be Prepared )
1.How to change the whole theme while making the rom? I downloaded a cm7 theme but it just gives an apk file (I need to boot so I can change it in theme chooser), but how can I change it from the start like Sonygenmod and ICS ROM !!?
2.Boot animation does not show up, I tried to put the bootanimation.zip in data/local does not work, tried in System/media where the ORIGINAL bootanimation.zip is but still nothing.
3.Lockscreen themes give something like wltheme.zip , where can I use them and change the lockscreen from the start like problem 1?
Please help if you can, cause I'm dying to finish this ROM
Click to expand...
Click to collapse
GO Here!!
scroll down a bit.. n search a heading "ROM COOKING". Hope i helped
terratrix said:
http://lmgtfy.com/?q=idk
Click to expand...
Click to collapse
nice site.... lmgtfy...
Sent from my LG-P500 using xda premium
terratrix said:
http://lmgtfy.com/?q=idk
Click to expand...
Click to collapse
EPIC!!!! XD
vj_dustin said:
EPIC!!!! XD
Click to expand...
Click to collapse
fundoozzz said:
nice site.... lmgtfy...
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
lol u guys dint knew about dis ??

Battary icon change like nokia....

Can any one change our galaxy y battary icon like nokia..i mean .bar type ...nokia
Sent from my GT-S5360 using xda premium
I think this wouldn't be difficult. Ask some devs.
Sent from my GT-S5360 Toaster
Do you have a screenie of what it looks so we can get an idea of it?
See this battary icon..its our camara shot.. I want it in my battary icon
Sent from my GT-S5360 using xda premium
See this.. Its our camera battary icon ..i want it in my battary icon in status bar
Sent from my GT-S5360 using xda premium
Decompile framework-res.apk
Its in /system/framework
After decompiling it
Go to res/drawable-ldpi
Replace all the
stat_battery_xx with ur nokia battery images
Note that don't change name and resolution of those images(.png)
Recompile framework-res.apk
Replace it set permission
I think u also have to edit framework-res.jar to make it work
P.s. this is juz for info I am a noob
And above info might be wrong
Copied signature
This is quite fun thing to do yourself! Takes sometime unless your really good, but well worth it in the end!
techno-update said:
This is quite fun thing to do yourself! Takes sometime unless your really good, but well worth it in the end!
Click to expand...
Click to collapse
Hey techno
Three things
1 I am a noob
2 I don't hav a pc
3 I don't knoe anything about roms n kernel
P.s. 1st one really matters
Copied signature
Why do you want to use the old nokia type icons? Make it a bit more stylish!
Check this thread. It got a lot of good looking battery icons, download the zip, extract the icons and replace them in framework-res.apk/res/drawable-ldpi and flash the apk back!
http://forum.xda-developers.com/showthread.php?t=724778
Thread moved to the Themes and Apps section. Please post in the correct sections.
Any ine give me battrary png..camera.apk
..i cant find ..
Sent from my GT-S5360 using xda premium
nirupom said:
Any ine give me battrary png..camera.apk
..i cant find ..
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Check it
Extract them
https://www.box.com/shared/982472ad40a69514c14d
Copied signature
Ok I was gonna post this 2 hours ago but power went down (damn storms)
So I've extracted the battery icons from the Camera file and have modified the framework file with them, even changed charging one. You can try it out but I cannot ensure that it will work fully and especially look good. I have not tested btw.
Download the attached file below and flash through Recovery mode.
Mitko said:
Ok I was gonna post this 2 hours ago but power went down (damn storms)
So I've extracted the battery icons from the Camera file and have modified the framework file with them, even changed charging one. You can try it out but I cannot ensure that it will work fully and especially look good. I have not tested btw.
Download the attached file below and flash through Recovery mode.
Click to expand...
Click to collapse
Sir u compiled it from pc?????
I tried making it frm mobile I just made one.
Don't whether it will work or not
Copied signature
alkesh95 said:
Sir u compiled it from pc?????
I tried making it frm mobile I just made one.
Don't whether it will work or not
Copied signature
Click to expand...
Click to collapse
To save all the hassle, I went to UOT Kitchen and didn't choose any mods but just uploaded the framework-res.apk and it generated a flashable zip.
Done it loads of times to make backups of my original apk's.
Mitko said:
To save all the hassle, I went to UOT Kitchen and didn't choose any mods but just uploaded the framework-res.apk and it generated a flashable zip.
Done it loads of times to make backups of my original apk's.
Click to expand...
Click to collapse
Actually I don't have a pc
And this was my first modding
So I will check my mod in the morning
Thnx 4 ur rply
Copied signature
Mitko said:
Ok I was gonna post this 2 hours ago but power went down (damn storms)
So I've extracted the battery icons from the Camera file and have modified the framework file with them, even changed charging one. You can try it out but I cannot ensure that it will work fully and especially look good. I have not tested btw.
Download the attached file below and flash through Recovery mode.
Click to expand...
Click to collapse
On my phone with usr v3 rom it makes bootloop.flashing succesfull then it start to homescreen so ive seen the icon and then it starts new into bootloop.
GREEEEEEEEEETZ!!!
CALIBAN666 said:
On my phone with usr v3 rom it makes bootloop.flashing succesfull then it start to homescreen so ive seen the icon and then it starts new into bootloop.
GREEEEEEEEEETZ!!!
Click to expand...
Click to collapse
Hmm guess a better way would be to have the flashable zip replace png's instead of replacing the whole apk. Sorry about causing you a bootloop.
I try the png.. But but bars not clear.. What to do
Sent from my GT-S5360 using xda premium
Mitko said:
Hmm guess a better way would be to have the flashable zip replace png's instead of replacing the whole apk. Sorry about causing you a bootloop.
Click to expand...
Click to collapse
no problem bro,i love to test some things on my phone,dont say sorry to me:good:

[Tutorial]Method to Change framework-res.apk via Recovery

I created this zip file.
--Fully Safe--
You need- Requirements
-Xrecovery or CWM Recovery Installed
1-Open the zip file
2-Open System/framework
3-Drag and drop the framework-res.apk to the framework folder
4-Choose compression method Store and Ok
5-Now Reboot in to a Recovery and flash it
6-Reboot
Now u have installed u'r framework-res.apk! enjoy
Ah, forget to tell one thing!
Before flash this in xrecovery, mount system and Flash
is it compatible for many android version ?? CM9 ? CM10 ??
Bejjo said:
is it compatible for many android version ?? CM9 ? CM10 ??
Click to expand...
Click to collapse
Yes. It's working for cm9. I tested it.
So It would work for cm10 too. I will test it soon and tell u.
not work :what:
my x8 bootloop brew
unsigned
this script can be change .xml files too? want change layout i mean..
-sorry for my bad english-
agungtem said:
not work :what:
my x8 bootloop brew
unsigned
Click to expand...
Click to collapse
It's not a bug of this bro.
Have u edited the apk properly?
I got the same problem when I edited the stock roms framework.
The bootloop due to your apk.
If u faced this, just get the framework-res.apk from ur roms Zip file and do it like instructions
Don't judge a book by it's cover
fjw0803 said:
this script can be change .xml files too? want change layout i mean..
-sorry for my bad english-
Click to expand...
Click to collapse
This is for flashing framework-res.apk
If u want to edit framework, do it via apkmanager
Don't judge a book by it's cover
okay.. .I will try it again :thumbup:
unsigned

[Q] how to modify status bar and status bar icons?

Hi all,
Someone can tell me which apk or framework i have to edit to modify status bat color , battery icon, Wi-Fi icon etc... ?
Thank you
SystemUI.apk and framework-res.apk
Sent from my awesome fridge
darxsen said:
Hi all,
Someone can tell me which apk or framework i have to edit to modify status bat color , battery icon, Wi-Fi icon etc... ?
Thank you
Click to expand...
Click to collapse
Can't remember exactly which one but you want to mod these apks - settings, framework, lidroid, system ui, & if I remember right from htc devices.... also the Rosie.apk too. You're know which one controls what when you start searching!
Hope this helps & if so.... Press that thanks button :thumbup:
sent from my super modded Samsung Galaxy S3
deanr1977 said:
Can't remember exactly which one but you want to mod these apks - settings, framework, lidroid, system ui, & if I remember right from htc devices.... also the Rosie.apk too. You're know which one controls what when you start searching!
Hope this helps & if so.... Press that thanks button :thumbup:
sent from my super modded Samsung Galaxy S3
Click to expand...
Click to collapse
Those aren't needed, just the one I posted above.
Sent from my awesome fridge
MaartenXDA said:
Those aren't needed, just the one I posted above.
Sent from my awesome fridge
Click to expand...
Click to collapse
Just pull the 1 zip or 2 zips from the rom, & explore for you're self, I think its the system ui but could be wrong, I'm not near my computer at the moment to check so I can't say exactly which one it is? If you're gonna mod the battery icons you're gonna look inside anyway & I takes like 10secs to extract & search the apk? If you don't wanna do that, there are various apps in the playstore you can download for free to look at the framework pics from inside the apks without opening them! Hope this helps.... press thanks if it did
sent from my super modded Samsung Galaxy S3
deanr1977 said:
Just pull the 1 zip or 2 zips from the rom, & explore for you're self, I think its the system ui but could be wrong, I'm not near my computer at the moment to check so I can't say exactly which one it is? If you're gonna mod the battery icons you're gonna look inside anyway & I takes like 10secs to extract & search the apk? If you don't wanna do that, there are various apps in the playstore you can download for free to look at the framework pics from inside the apks without opening them! Hope this helps.... press thanks if it did
sent from my super modded Samsung Galaxy S3
Click to expand...
Click to collapse
Is this post meant for me?
Sent from my awesome fridge
darxsen said:
Hi all,
Someone can tell me which apk or framework i have to edit to modify status bat color , battery icon, Wi-Fi icon etc... ?
Thank you
Click to expand...
Click to collapse
As Maarten already pointed out SystemUI.apk and framework-res.apk. And if you want to use them in apktool you'll also need com.htc.resources.apk.
Just out of curiosity: are you going to use UOT or apktool? Been trying to change status bar clock colour on half-sense and fulmix (see my post in his thread) with apktool but haven't succeeded yet.
What are your plans on theming?
Just pull the zips & open using winrar? Thts what I've been doing for around 4yrs now
sent from my super modded Samsung Galaxy S3
deanr1977 said:
Just pull the zips & open using winrar? Thts what I've been doing for around 4yrs now
sent from my super modded Samsung Galaxy S3
Click to expand...
Click to collapse
That's just image editing.
If you want to theme it even further, you need to decompile it and edit .xml's and .smali's.
Sent from my awesome fridge
I want to modify just some png , i would a complete BuuF theme on my desire X..
However i would use apktool, because i always used it, but i think i have to try something else, because when i try to debuild Rom's apk it says: "bad magic number" or something similar..
R: [Q] how to modify status bar and status bar icons?
darxsen said:
I want to modify just some png , i would a complete BuuF theme on my desire X..
However i would use apktool, because i always used it, but i think i have to try something else, because when i try to debuild Rom's apk it says: "bad magic number" or something similar..
Click to expand...
Click to collapse
It gives you this errors because there is classes.dex file on it. Delete it and than decompile.
Dex files are most of them added by phone's company; for us HTC.
Sent from my HTC Desire X using xda premium
fulmix said:
It gives you this errors because there is classes.dex file on it. Delete it and than decompile.
Dex files are most of them added by phone's company; for us HTC.
Click to expand...
Click to collapse
Ok, but if i delete dex files when i rebuild the package will it work ?
Is there any room that allow to edit it theme? With a simple apk?
I hate work on others apk, mostly if these apk are HTC's apk U.U
darxsen said:
Ok, but if i delete dex files when i rebuild the package will it work ?
Is there any room that allow to edit it theme? With a simple apk?
I hate work on others apk, mostly if these apk are HTC's apk U.U
Click to expand...
Click to collapse
Open with WinRAR or 7-Zip delete classes.dex and than decompile with apktool.
Note: you do not have to extract apk to delete classes.dex file.
fulmix said:
Open with WinRAR or 7-Zip delete classes.dex and than decompile with apktool.
Note: you do not have to extract apk to delete classes.dex file.
Click to expand...
Click to collapse
Why would there be a need of deleting classes.dex? I've decompiled lots of HTC apps and they all worked fine.
Sent from my awesome fridge
MaartenXDA said:
Why would there be a need of deleting classes.dex? I've decompiled lots of HTC apps and they all worked fine.
Sent from my awesome fridge
Click to expand...
Click to collapse
Bad Mugic Number error is usually for this file.
Samsung, HTC, etc. have different dex files.
fulmix said:
Bad Mugic Number error is usually for this file.
Samsung, HTC, etc. have different dex files.
Click to expand...
Click to collapse
have i to put back .dex files ? or not?
darxsen said:
have i to put back .dex files ? or not?
Click to expand...
Click to collapse
It's not necessary.
But deleting it avoid the Bad Magic Number errors.
People, cause my brother has my same account I have to create my new one, so your fulmix now is xpirt
Sent from my HTC Desire X using xda premium
fulmix said:
It's not necessary.
But deleting it avoid the Bad Magic Number errors.
Click to expand...
Click to collapse
Can you prove this ??
Make a SystemUI.apk without classes.dex and put that in you ROM and release to all users to test. If it works, I will resign from making ROMs.
---------- Post added at 04:27 PM ---------- Previous post was at 04:24 PM ----------
darxsen said:
I want to modify just some png , i would a complete BuuF theme on my desire X..
However i would use apktool, because i always used it, but i think i have to try something else, because when i try to debuild Rom's apk it says: "bad magic number" or something similar..
Click to expand...
Click to collapse
Use latest apktool, bad magic value errors fixed in new version.
Refer to this for more info : http://forum.xda-developers.com/showthread.php?t=1642224
BTW... if it just some icons png that you need to change, just replace the pngs, decompile/recompile is not needed.
---------- Post added at 04:28 PM ---------- Previous post was at 04:27 PM ----------
darxsen said:
have i to put back .dex files ? or not?
Click to expand...
Click to collapse
SystemUI must have classes.dex; there is where all the instructions (the smali files) come from for the apk to work. Like what to run for the EQS and many more.
As mentioned on the link given above
Code:
b) If you are using apkmanager, you can just export classes.dex, then delete classes inside the apk. Then decompile, edit, compile and add classes.dex back when ready.
MaartenXDA said:
That's just image editing.
If you want to theme it even further, you need to decompile it and edit .xml's and .smali's.
Sent from my awesome fridge
Click to expand...
Click to collapse
Yeah you're right you can edit the xmls & smalis, I have never got the hang of that yet? I just do it the other way
darxsen said:
I want to modify just some png , i would a complete BuuF theme on my desire X..
However i would use apktool, because i always used it, but i think i have to try something else, because when i try to debuild Rom's apk it says: "bad magic number" or something similar..
Click to expand...
Click to collapse
I have made wicked themed roms on the desire hd & now on the samsung galaxy s3! I just pull the res folder then mod the pngs with photoshop & then push back to the zip & flash.... ok its not perfect but I've made sum sweet looking ui & systems by doing it that way
sent from my super modded Samsung Galaxy S3

[Xperia U] UOT Kitchen?

Hi,
can anybody tell me if the Xperia U can be used with UOT Kitchen? The XU will get ICS in the next days, normal stock rom, rooted.
stm999999999 said:
Hi,
can anybody tell me if the Xperia U can be used with UOT Kitchen? The XU will get ICS in the next days, normal stock rom, rooted.
Click to expand...
Click to collapse
Yes.
You don't have ics yet I guess....
Sent from my Xperia Sola using xda app-developers app
Ics has been a very for months
Sent from my Android 4.2.2 Xperia S
Just to be clear. It is possible to modify the systemUI.apk and the framework-res.apk in the UOT Kitchen? In the devices list what I choose?
@[email protected] said:
Yes.
You don't have ics yet I guess....
Click to expand...
Click to collapse
it is a XU in my family. it was bought some days ago with GB and we will have a look at the phone before we decide to take it or not. Until this decision is made we do not want to change the firmware.
Meninw said:
Just to be clear. It is possible to modify the systemUI.apk and the framework-res.apk in the UOT Kitchen? In the devices list what I choose?
Click to expand...
Click to collapse
perhaps we have to upload our files manualy?
stm999999999 said:
it is a XU in my family. it was bought some days ago with GB and we will have a look at the phone before we decide to take it or not. Until this decision is made we do not want to change the firmware.
perhaps we have to upload our files manualy?
Click to expand...
Click to collapse
You can use to modify system.Apk and resource file using uot kitchen but that would require you to root your fone.....
Sent from my Xperia Sola using xda app-developers app
OK. I know that I have to be rooted and that I have to push files manualy, my question was, in the devices list we can't choose "Xperia" (see attach) or something like that so...how did you do to get it right?
Thanx in advance
Meninw said:
OK. I know that I have to be rooted and that I have to push files manualy, my question was, in the devices list we can't choose "Xperia" (see attach) or something like that so...how did you do to get it right?
Thanx in advance
Click to expand...
Click to collapse
select anything from there but you wont be able to flash it...... just make modifications upload both files and the download the .zip files and then extract the system.apk and resource file from the zip copy to sdcard and the use any root explorer to xopy both these files to their default location and then set permissions......
make sure to backup both the original files.......
One more thing just copy both the files you have extracted to system folder first then change permissions to rw-r--r-- and the move to app and framework folder respectively......
@[email protected] said:
select anything from there but you wont be able to flash it. [...] extract the system.apk and resource file from the zip copy to sdcard and the use any root explorer to xopy
Click to expand...
Click to collapse
whoops, we cannot flash such things on a Xperia? What is the technical issue?

Categories

Resources