[Q] Restore Cognition default theme - SOLVED - Galaxy S II Q&A, Help & Troubleshooting

Hello,
I installed the Coginition ROM v1.08 and changed the theme for one of my friend but now he wants to go back. He prefers the theme by default on the Cognition ROM...
How can I do this? (i didn't make a backup when changing theme )

godzifa said:
Hello,
I installed the Coginition ROM v1.08 and changed the theme for one of my friend but now he wants to go back. He prefers the theme by default on the Cognition ROM...
How can I do this? (i didn't make a backup when changing theme )
Click to expand...
Click to collapse
Hi,
simply reflash the ROM.
If it is a wype Rom, you will loose everything so make a backup with backup titanium.
Sent from my GT-I9100 using XDA Premium App

I was tinking as you said but as it's a wype ROM, it's a bit anoying to re-do a backup, etc.
I'm going to tell to my friend that he must keep this theme or change to another one.
Maybe the developper of the Cognition ROM will post theme only? Cross my fingers

godzifa said:
I was tinking as you said but as it's a wype ROM, it's a bit anoying to re-do a backup, etc.
I'm going to tell to my friend that he must keep this theme or change to another one.
Maybe the developper of the Cognition ROM will post theme only? Cross my fingers
Click to expand...
Click to collapse
If your theme is a CWM update.zip.
In your theme, look (using 7 zip) witch files been modified :
systenUI.apk, framework-res.apk ... (in system/app and system/framework)
open with 7-zip your origial cognition ROM and find the corresponding files.
In your theme : delete this files and replace them with originals (drag and drop)
Then reflash your new CWM theme

Good idea, but I just tried that and it didn't work. I didn't have any error when restoring the original theme but no file habe been replaced.
In the zip file of the theme I previously installed, there is a folder "META-INF" with 3 files: CERT.RSA, CERT.SF, MANIFEST.MF.
I opened them and saw some lines looking like a checksum (called "SHA1-Digest").
Do you know what it is? I'm going to investigate further.

After some tries, I successfully restore the original theme!
I needed to sign my .zip.
Thanks to sicopat, designgears and Vertumus.

Related

(MOD) Add Reboot Option to Power Menu (now with accurate battery mod)

Thanks to untermensh, as this is a port of his original mod for the Vibrant
This will add reboot, reboot into recovery, and reboot into download in the power menu.
As always, make a backup before flashing. You must be using a deodexed ROM for this to work. Also, this replaces framework-res.apk, so this will overwrite any themes you may have installed.
Update: The second attachment includes both the reboot and version A (circle) accurate battery mods. The third attachment has the reboot and version Z (sense style) accurate battery mods.
Love this MOD, but it replaces the puzzle unlock screen. Anyway to have both?
Create a new file in /data/local/ called "enable_glass_lock" using like Root Explorer.
Or the following adb command should do the same thing "adb touch /data/local/enable_glass_lock"
With that you don't even need to reboot, the puzzle lock will immediately be available and if ever you want to switch back to stock lock just remove the file.
Awesome. That worked. thanks!
Anyway?
Anyway to have this and keep the blackmod notification bar?
just reapply the theme after you flash this should do the trick
Sent from my Samsung Fascinate using XDA App
devlp1213 said:
just reapply the theme after you flash this should do the trick
Sent from my Samsung Fascinate using XDA App
Click to expand...
Click to collapse
Actually this does not work and what it does is when you hold the power button the power menu doesnt even apear and the phone goes into a boot loop where the phone continually goes back to the boot animation. So if you want this cool power menu DO NOT FLASH A THEME AFTER OR ELSE YOU WILL HAVE TO DO A RESTORE.
.....
Worked perfectly for me....... installed the attached zip and like stated itit unthemed me. Then I just reflashed my theme.
works great, ive been missing this since i ditched my incredible...thanks a million
yea I found this out but only did that when I flashed the circle battery mod. I used the MM black mod with this and had no problems
Sent from my Samsung Fascinate using XDA App
zachchen1996 said:
Actually this does not work and what it does is when you hold the power button the power menu doesnt even apear and the phone goes into a boot loop where the phone continually goes back to the boot animation. So if you want this cool power menu DO NOT FLASH A THEME AFTER OR ELSE YOU WILL HAVE TO DO A RESTORE.
Click to expand...
Click to collapse
Which theme did you install? Blackmod will install fine because it a metamorph, and it only patches your current framework-res.apk with different images. If it was a theme that is flashed through CWM, it will replace the entire framework-res.apk and cause issues.
The best bet for any theme is to ask its author to include the mod in their theme.
Sent from my SCH-I500 using XDA App
tiger4life said:
Which theme did you install? Blackmod will install fine because it a metamorph, and it only patches your current framework-res.apk with different images. If it was a theme that is flashed through CWM, it will replace the entire framework-res.apk and cause issues.
The best bet for any theme is to ask its author to include the mod in their theme.
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
OHHHH thats why cause i was using the Remix Incognito/Minimal Matte theme which needs to be flashed throught clockwork so i guess thats why i was having issues thanx. Guess ill just use blackmod.
I tried it out for him last night, and it worked great. I flashed several kernels testing the 1600 kernel, and it was pretty handy. Then I flashed the extended backlight zip, and then it rebooted when I try to shut down. So, I re flashed the reboot.zip, and it works again. Re flashed the round battery zip, and it broke again. Flashed reboot.zip. Got the reboot menu back, but lost my round battery display.
I am pretty sure I still had round battery after I used it last night. It appears the extended backlight mod made it mad.
Edit: not a working idea -.-
CrushD said:
For those who want to use different themes with the mod, what works is you can extract the framework-res.apk that comes from OP. Go into \res\drawable-hdpi\ and once in that folder, sort files by "date modified". You'll notice only three images modified on 10/20/1020. Simply copy those files over and put them in the \res\drawable-hdpi\ of your desired theme's framework-res.apk then reflash it.
The new files are download.png, recovery.png, and reboot.png so if you want to have your own images in the theme you're using, simply make the required .pngs and put them in the theme's \res\drawable-hdpi\ folder.
Click to expand...
Click to collapse
This won't work. There are several xml files that are edited too, which are services.jar, android.policy.jar, and some in resources.asrc. You could try to copy all of these into the theme. However, if the theme contains its own xml edits, doing so could overwrite them and lead to additional problems.
Sent from my SCH-I500 using XDA App
tiger4life said:
This won't work. There are several xml files that are edited too, which are services.jar, android.policy.jar, and some in resources.asrc. You could try to copy all of these into the theme. However, if the theme contains its own xml edits, doing so could overwrite them and lead to additional problems.
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
Ahh at first I thought those images were the only difference from the stock framework and all the edits were in the .jars. I forgot about resources.asrc, I was bummed out that I lost the accurate battery indicator and tried to hybridize my own theme, thought it was working, but as you state some problems arise so I second you that it won't work, looks it won't be that easy.
tiger4life said:
Thanks to untermensh, as this is a port of his original mod for the Vibrant
This will add reboot, reboot into recovery, and reboot into download in the power menu.
As always, make a backup before flashing. You must be using a deodexed ROM for this to work. Also, this replaces framework-res.apk, so this will overwrite any themes you may have installed.
Click to expand...
Click to collapse
Well this is weird...I installed the .zip through Clockwork and it didn't install it on the power down menu.
Breakthecycle2 said:
Well this is weird...I installed the .zip through Clockwork and it didn't install it on the power down menu.
Click to expand...
Click to collapse
Must be running a deodexed ROM...
PhoenixPath said:
Must be running a deodexed ROM...
Click to expand...
Click to collapse
You know, I swear that I am, but I flashed it a few weeks ago, maybe It's not after all. I'll flash a deox. and re try. Thanks!
Do you think adding this battery mod will result in bad things?
http://forum.xda-developers.com/showthread.php?t=748178

uninstalling a theme

just flashed my first rom, now looking to flash a theme. once i do that if i want to go back how do i do that? do i just delete the file off my sd card and reboot? is there another way?
hurricanes52 said:
just flashed my first rom, now looking to flash a theme. once i do that if i want to go back how do i do that? do i just delete the file off my sd card and reboot? is there another way?
Click to expand...
Click to collapse
Some themes will include a second flashable .zip that will allow you to go back to the base rom. If this is not the case for the theme you chose, then you would have to either restore a nandroid backup or reflash the rom itself.
hurricanes52 said:
just flashed my first rom, now looking to flash a theme. once i do that if i want to go back how do i do that? do i just delete the file off my sd card and reboot? is there another way?
Click to expand...
Click to collapse
Either you restore the nandroid backup you made before you flashed the theme or you make your own theme restore if you can't get one from the theme dev. What rom are you on and what theme did you flash?
Sent from my SGH-T959 using XDA App

Need important advice on Themeing.

Hi guys. I was wondering a few things. When you theme your phone successfuly, Im under the asumption that if you re-theme it with another them it goes right on top of it correct? How do you remove a theme and is it possible to do that? Or if there are different thems out there you like, how do you go about switching them out? Just keep putting them on top of eachother? Any advice would be great. Thanks guys.
--> [GUIDE] Want to learn how to theme? <--
tonecreationz said:
--> [GUIDE] Want to learn how to theme? <--
Click to expand...
Click to collapse
I appreciate the link. But all its showing me is how to actually create a theme. I cant find where the answers to my questions are for the person that just installs the themes but doesnt make them?
Depending on what version of software you are running (1.26, 1.57, 1.83 ATT) I think the best method to completely re-theme is to use a program like Titanium Backup * Root, free version from the market, to back up your apps and data. SBF flash the proper version of deodexed files for your current software version to completely eradicate the current theme. After that apply your new theme and then re-install Titanium Backup to restore your apps and data.
You will most likely need to use gingerbreak to regain root after flashing the SBF. Since this will, most often, result in a clean wipe of your internal and external SD card, make sure to back them both up to your computer before flashing the SBF and proceeding. That way you can just put anything back onto the internal or external memory that isn't put back by titanium.
Putting one theme on top of another really won't hurt anything most of the time, but if the new theme doesn't use all of the same files as the previous theme did then you will end up with items from the old version that weren't replaced.
Terrigno said:
Hi guys. I was wondering a few things. When you theme your phone successfuly, Im under the asumption that if you re-theme it with another them it goes right on top of it correct? How do you remove a theme and is it possible to do that? Or if there are different thems out there you like, how do you go about switching them out? Just keep putting them on top of eachother? Any advice would be great. Thanks guys.
Click to expand...
Click to collapse
You can pull fresh copies of everything that the themes change (framework-res.apk, services.jar, blur-res.apk, are the main ones) and make a CWM update with those in it. Then you can install a theme, and in order to uninstall it all you need to do is go into CWM and use the backup update.zip.
To switch themes, I just keep all themes I have downloaded in a folder called THEMES on my phone. I just boot into CWM and use the backup .zip I made, then I install the new theme .zip and reboot.
If your talking about Gingerblur/Grey blur I think a SBF flash would be your best way to uninstall.
Thanks for the tip guys. I actually had GingerBlur installed before but wasnt all that fond of it. I went ahead and flashed the sbf of 1.8.3 back. Now I have the HoneyGlow theme installed and actually I like it a lot. I was just wondering what its like re-flashing themes over top of themes. I have Tansfers (I think thats the name) Recovery already installed with root access. I got the files already saved on the computer, but thats good advice to put the updates in folders on the phone and do it that way.
Yes, now On im gonna take that external SD card out when I flash. I also tried using Titanium and having a hard time with understanding how it works fully lol.
Terrigno said:
Thanks for the tip guys. I actually had GingerBlur installed before but wasnt all that fond of it. I went ahead and flashed the sbf of 1.8.3 back. Now I have the HoneyGlow theme installed and actually I like it a lot. I was just wondering what its like re-flashing themes over top of themes. I have Tansfers (I think thats the name) Recovery already installed with root access. I got the files already saved on the computer, but thats good advice to put the updates in folders on the phone and do it that way.
Yes, now On im gonna take that external SD card out when I flash. I also tried using Titanium and having a hard time with understanding how it works fully lol.
Click to expand...
Click to collapse
yes you can flash new themes on top of old ones. They just replace various framework files. all themes modifies the same set of framework files pretty much. so when you flash on top, it overwrites the current one with the new one, that's it. the important thing to remember is to flash a theme meant for your rom because framework files can change from rom to rom, so you may get bootloops (soft bricks) if you flash incompatible frameworks.

Theme problems...

I downloaded matted blue theme earlier today and installed. I didn't like it. So after that I downloaded and installed the steel blue theme which I don't even know if that one is working right because the icons aren't different. Anyways I downloaded and installed the theme and didn't uninstall the matted blue theme because I wasn't sure how to.....now my Gmail wont load it keeps force closing and for some reason there is 2 text message apps that neither can't be uninstalled and I am getting double the texts at once....does anyone have any ideas to help please. I tried going into the removable drive via USB to computer and just deleting the folder that in boot menu I tried to update.zip and it said it was looking for drive e: and couldn't find anything....I am lost and fairly annoyed please help.
Deders *****es!!!!!!!
Why dont you reflash a SBF?
Use the un-theme CWM (found in the apps theme forum) zip. Or the deodexed CWM zip (found in the Dev forum). Some themes, such as MattedBlues, include themed apps, which won't be overwritten if the new theme doesn't include them. A tip to theme users: always check whats included inside the zip and backup your files. I personally did a complete backup after deodexing and before installing any themes so I'll never have to reflash an sbf.
I hate to say this but I don't know how to do that
Did a back up earlier today and am running it now well see what happens
im running back up now, can I ask you how to do that?
I hate to say this but even if you can swim you should first test the water.
I assume you know how to use the CWM zips since you've already flashed themes. I also assume you are deodexed since those themes applied correctly.
The deodex zip is the same as GladiAtrix or GingerBlur only minus the themes, they both convert an odex system to a deodex system.
Flashing the deodexed CWM will return you to a "fresh" system. The un-theme CWM is the same thing but it only resores the files themers go after. I would first try the un-theme CWM as the full deodex CWM may cause a few easily recoverable issues, such as unroot.
So my suggestion is flash this CWM first to return you to "stock". Then flash the theme of your choosing.
Good luck.
Hey thank you so much I did a restore, for a lil bit there I wasn't able to get into the boot loader. I appreciate it alot though I prolly will use that theme unloader quite a bit
ouch dude this was A VERY EASY FIX... all you had to do was go to manage apps click on gmail and clear data that fixes gmail. then just use titanium backup and uninstall one of the messaging apps(i specifically uninstalled "messaging 2.2.1")...
P.S. Nottach maybe you can add this bit of info in your post for the theme
Thnx a lot that was a huge help. I just got done backing everything up with TB....that really is a awesome app. And for the thread post idea thank you twice sir. May I ask what u replaced your messaging app. With ? And you didn't cause any instability in ur system hy deleting that message 2.2.1.? Since I'm guessing you removed the one that came with the rom. Thnx again.
Deders *****es!!!!!!!
I've had no preblems or instability issues since you're still left with a messaging app
Oh, well since I did a restore on my phone I have only the one message app. 2.2.1. Crazy stuff for real
Deders *****es!!!!!!!
So to clarify, the un theme cwm will work with the 2.1.1 ?
Sent from my MB860 using XDA App
Bump. The 2.1.1 is the french rom
Sent from my MB860 using XDA App

[Q] Apps adding to ROM before flashing

Hello,
I would like to try one of the FishmanMod ROM but would like to add my own apps into the FishmanMod ROM. Can I just copy them into /system/app and they will get installed when I flash the ROM?
The_Toggle
Vibrant - Droid Razr - FishmanMod (for example)
The_Toggle said:
Hello,
I would like to try one of the FishmanMod ROM but would like to add my own apps into the FishmanMod ROM. Can I just copy them into /system/app and they will get installed when I flash the ROM?
The_Toggle
Vibrant - Droid Razr - FishmanMod (for example)
Click to expand...
Click to collapse
Get 7zip if you don't have it. Use 7zip to "open" the rom, not extract it.
Copy the .apk's to /system/app or data/app whatever's appropriate, then close the zip. Be aware some apps have dependent files or are dependent on the framework so they might not work.
Thanks, will give it a spin!
So technically, I can use all the .apks from my titanium backup save, and put them into system/app and have it all flash pretty quick >10 minutes and be good?
Just curious seems like a better idea than
Flashing ROM
Waiting for first boot
setup wifi
going to market to find and install titanium backup
waiting for everything to finish restoring after 20 minutes
etc.
Not sure about that bc of some variables with the services.jar and framework-res files but for generic apps like Angry Birds or something like that it seems like it should work. Batch restore suck with TB and usually cause more problems than worth it, so this could be a better option for that.
I am piece some theme parts for a Froyo build and was thinking of trying this out.
Tip for you buddy. Make a flashable zip of Titanium and you can flash it right after your ROM as either a /system or /data app. Then when your ROM boots up, launch it, search for your back up folder, restore your pro key and away you go without ever logging into the market. I do this all the time.
Love your new signature btw.
I've been doing this for a while now, but I do it with root explorer. I extract the ROM onto my SD, replace the mms.apk, and add a few others in system/app, then rezip, and flash. Haven't tried putting anything like TB in data/app, but probably will now.
Sent from my Kindle Fire using Tapatalk 2 Beta-5

Categories

Resources