Copying Framework-res.apk from ROM's - Vibrant Q&A, Help & Troubleshooting

With all these new ROM's available and android being open source, can I copy framwork-res.apk's from difference ROM's and copy them to a different ROM that I have currently running with a file explorer? Will my ROM recongnize the file after a reboot and display the new framework?

mac1133 said:
With all these new ROM's available and android being open source, can I copy framwork-res.apk's from difference ROM's and copy them to a different ROM that I have currently running with a file explorer? Will my ROM recongnize the file after a reboot and display the new framework?
Click to expand...
Click to collapse
This is touchy. My answer would be yes, ONLY if both ROMs are based on the same firmware version. If you start, mixing framework/firmware versions, it may get dicey (i.e. using JK6 framework on a JL5 ROM), but it would all depend. Some firmware versions have identical framework, and some have absolutely conflicting framework.
definitely do some research before doing this.

Your best bet is to find a theme that matches your current rom, and flash it. Like topshelf said, you start mixing frameworks and you're asking for trouble. As long as you do a nandroid backup and are able to access recovery mode to restore, kang away.
Sent from my BetaBr1cK'd_KA5 Vibrant via the XDA App

Related

quick question, for the life of me i cant find this

just do i use my recovery image to install a theme? like rename theme to update.zip, power on holding home and end, click update.zip....
so im pretty sure about that but...
my rom/radio will still be there untouched right?
like this will only replace the image files or w/e is needed to make a theme?
thanks a bunch!
edit*
unlocked hero, modac. 2.9, not the permanent recovery image!
There are 2 ways to flash an image. When you go into recovery and choose "Flash update image" you will probably have 2 options.
1. Apply sdcard: update.zip
2. Apply sdcard: choose zip
Method 1. Move zip file unchanged to SD card and choose 2nd option then browse for the correct zip file.
Method 2. rename image file to update.zip , upload to your SD card and choose option 1
It doesn't affect your rom/radio etc.
Always best to do a nandriod backup before installing a theme, so that if you decide you don't like it or it doesn't run smoothly you can then do a nandriod restore which will put everything back to the way it was before you installed the theme.
thank you very much!
Goose247 said:
It doesn't affect your rom/radio etc.
Click to expand...
Click to collapse
i beg to differ. the rom is affected, as parts of the rom are exchanged with the parts modified to create the theme.
basically the images that are used to create the gui are altered and then repacked. if you extract a theme update file you will find several apk's of system apps inside, extract these and you will eventually find the images.
usually to create a theme the original app from the rom is used and only the images are altered, not the application code, so it won't make any difference for the functionality, but it leads to themes being tied to one version of a rom, and working only with that rom version.
thanks, yea i wasnt sure if i clicked update.zip, if it would erase the whole rom, and only put the alteered stuff on... leaving me without a functional rom
ahah but now i get that it only erases the parts being added!
thanks
kendong2 said:
usually to create a theme the original app from the rom is used and only the images are altered, not the application code, so it won't make any difference for the functionality, but it leads to themes being tied to one version of a rom, and working only with that rom version.
Click to expand...
Click to collapse
That's basically what I meant about functionality and images
if either of you know anything about creating themes could you check over into the dev section and answer my questions?
thankss
xsirhc6x said:
if either of you know anything about creating themes could you check over into the dev section and answer my questions?
thankss
Click to expand...
Click to collapse
Beyond my knowledge. But if I was to do a theme I would download a theme and have a look at all the image files and work from there
and your a genious.. lol it looks like someone who knows what there doing put together an apk with all the images, so all i gotta do is edit the colours.. then update it like the person who updated that theme did! thank youu

[Q] Boot Animation - Proper Kernel

I have been looking for the last couple days for this...
I want to simply flash a Kernel that will allow me to load my custom "bootanimation.zip" file into system/media and it show on boot-up. The catch is, I don't care to do this by flashing a custom ROM. Don't get me wrong, I really like some of the ROM's that these guys have created, I just don't want to go crazy with them. I want to make my own mix of greatness!
I did the update over Kies Mini, but then flashed the deodexed KA7 stock ROM from the Bible (In development). So it's the stock kernel that came with the KA7 build that I'm running.
I need to know what Kernel is compatible with the KA7 ROM
OR
how do i modify the system myself to make it work with custom bootanimation.zip files??
Any help is appreciated!!!
ndhr3d said:
I have been looking for the last couple days for this...
I want to simply flash a Kernel that will allow me to load my custom "bootanimation.zip" file into system/media and it show on boot-up. The catch is, I don't care to do this by flashing a custom ROM. Don't get me wrong, I really like some of the ROM's that these guys have created, I just don't want to go crazy with them. I want to make my own mix of greatness!
I did the update over Kies Mini, but then flashed the deodexed KA7 stock ROM from the Bible (In development). So it's the stock kernel that came with the KA7 build that I'm running.
I need to know what Kernel is compatible with the KA7 ROM
OR
how do i modify the system myself to make it work with custom bootanimation.zip files??
Any help is appreciated!!!
Click to expand...
Click to collapse
you can use any 2.2. kernel (most, if not all, support bootanimation.zip) with any 2.2 firmware/ROM. just keep a heads up because a lot of kernels flash their own modem. So if you flash a kernel that flashes a modem besides KA7, you would have to reflash KA7 manually if you want to keep it.
I would PERSONALLY recommend Eugene's Dead Horse kernel....just read before you flash!!!
TopShelf10 said:
you can use any 2.2. kernel (most, if not all, support bootanimation.zip) with any 2.2 firmware/ROM. just keep a heads up because a lot of kernels flash their own modem. So if you flash a kernel that flashes a modem besides KA7, you would have to reflash KA7 manually if you want to keep it.
I would PERSONALLY recommend Eugene's Dead Horse kernel....just read before you flash!!!
Click to expand...
Click to collapse
I've flashed the deodexed KB1 ROM as well as the new KB1 Kernel + Voodoo by supercurio. I have his kernel specifically because it says in the main post "Also supported: custom boot animation, init.d scripts and an improved adb shell (new!)"
I love voodoo... but that's beside the point!
I've copied my bootanimation.zip folder (zipped using store mode, uncompressed) into the system/media folder on my phone and deleted the two samsungbootloop files in there. The damn thing still doesn't play the animation! I only have a 'part0' folder which houses all images labeled 'welcomanimation_0000' with progressing numbering. Permissions set are RWXRWXRW- as they are on most the custom ROM bootanimations I see around.
My 'desc' file has EXACTLY THIS in it:
480 800 30
p 0 0 part0
which was pulled straight from another ROM's bootanimation files!
I don't get it! What in the world am I missing??
It's irritating seeing all of these great boot animations and I can't get my own one working... anyone know what I'm screwing up?
Edit: I'm going to try flashing a custom bootanimation file and simply replacing their file with my file and see if there is something in their script in the flashing process that get's modified that I'm not doing myself through root explorer. Respond and let me know if that is a bad idea... I plan on trying it in about an hour after getting some crap done around the house.
Well... for anyone else that has had this issue...
Downloading an already packaged bootanimation file from one of these lovely moders... replacing their bootanimation.zip file in the media folder and packaging it all back up in a flashable zip folder worked like a charm! Thank you to whomever it was I took the file from... if I knew how to package a file to be flashable, I probably would have done it myself, but I didn't want to go through the hassle of learning.
Problem Solved!

Rom building questions.

If we have a base rom even from a backup.
Couldn't we edit simple things in the rom. Like host files for blocking adds. Add the changes that the super charger script makes. Disable/remove alot of blur like we do now with titanium backup. Longer wifi scan times. ect.
How would you get the base rom and how do you edit the files contained in the rom. I'm used to linux I run it at the house. If its like editing cfg files and what not. I might be able to make my own rom for myself.
Figured out you can open apk files easily with winrar.
And if all else fails sbf here i come
infinity8x3 said:
If we have a base rom even from a backup.
Couldn't we edit simple things in the rom. Like host files for blocking adds. Add the changes that the super charger script makes. Disable/remove alot of blur like we do now with titanium backup. Longer wifi scan times. ect.
How would you get the base rom and how do you edit the files contained in the rom. I'm used to linux I run it at the house. If its like editing cfg files and what not. I might be able to make my own rom for myself.
And if all else fails sbf here i come
Click to expand...
Click to collapse
Can't wait to see what you come up with... I'll test it.
You don't need a custom rom in order to block ads. There its a hosts file floating around that does that in one of the X2's subforum.
Sent from my DROID X2 using XDA App
or get ad free from the market...and guess what? it's free! >.>
It's true that those small changes don't require a custom rom but I think tinkering with the idea and trying to put something together would be a great learning experience and could lead to the first "custom rom".
Questions should be posted in the general forum. I will recommend you visit the chef central forums where they have all the tools and possible many answers for rom building.
Cheers and thread moved.

[GUIDE]Solution to recover some apps like IM,swype etc. mostly missing in custom ROMs

I am not sure if this is already known or has been discussed before. Search did not yield any relevant results. Please post your feedback.
Introduction
In most custom ICS ROM's, you might have noticed some apps like the Polaris office, Photo editor, IM or even Swype missing. These are not even there in many of the "Stock unmodified" versions released either. Surprisingly, they are very well present if you flash the original ROM through Odin. So where do these apps go? They are actually installed on first boot only if you flash from Odin.
Usual missing apps
KiesAir
OceanWeather and WindyWeather live wallpapers
Polaris Office
Photo Editor
Samsung IM
Swype
Vlingo
For those who do not want to go through this procedure and straight away want the CWM package of these missing files, you can download it from here...
How to extract them?
I am assuming the most common method ROM cooks use maybe using dsixda's kitchen (thanks to his fantastic scripts!).
When extracting and de-odexing the ROM, you may have noticed a file called hidden.img in the original ROM file which is usually ignored in this process. this file contains the above apps and they are installed to the /data/app folder. The hidden.img file is not readable using regular softwares, just like factoryfs.img.
Extract this hidden.img file from the original ROM image and paste it in the original_update folder of dsixda's kitchen (xxx.tar.md5 can be renamed to xxx.tar and opened in softwares like winrar)
Rename the hidden.img file to factoryfs.img.
Close any existing kitchen tasks and restart the kitchen.
Select option 1 to set working folder.
Make a backup of your existing working directory.
When prompted, choose the factoryfs.img option to proceed with (option 3).
You will get a message saying the file is being converted to a format for extraction.
The ext2fs program should automatically be launched.
Select open file in the program and choose the ext_factoryfs.img file (which is actually the converted from of the renamed hidden.img file).
Right click on the left pane where the opened file is listed and select Save.
Save it to the root folder of your working directory.
Now you will have a folder called data in your working directory with the missing apps. Include extraction of this folder in your updater script and you are done
If the tutorial wasn't clear, feel free to post questions on the thread.
Hope this was helpful, Cheers...
ajayjohn said:
In most custom ICS ROM's, you might have noticed some apps like the Polaris office, Photo editor, IM or even Swype missing.
Click to expand...
Click to collapse
It seems to be missing in all Deodexed ROM
Photo editor not working. Also there isn't new gallery app in official ROm???
nikki2325 said:
Photo editor not working. Also there isn't new gallery app in official ROm???
Click to expand...
Click to collapse
Photo editor works fine for me. Did you try clearing your cache?
Also, Samsung still uses the old GingerBread gallery.
Couldn't someone just extract the apps then post them here.
thecrater said:
Couldn't someone just extract the apps then post them here.
Click to expand...
Click to collapse
You can get them in a zipped file from here
Unzip and use the app you want.
ajayjohn said:
In most custom ICS ROM's, you might have noticed some apps like the Polaris office, Photo editor, IM or even Swype missing. These are not even there in many of the "Stock unmodified" versions released either. Surprisingly, they are very well present if you flash the original ROM through Odin. So where do these apps go? They are actually installed on first boot only if you flash from Odin.
Click to expand...
Click to collapse
Why not make a custom rom .tar? install with odin? or mobile odin?
If I wanted to flash this hidden.img in heimdall what should i do ? Meaning where should i put it ?
Sent from my GT-I9100 using XDA
Custom roms apps missing i just open the zip with win rar go to system /apps and ADD required apps or even delete apps not wanted close and flash .
Thats open not unzip .
jje
sachs said:
Why not make a custom rom .tar? install with odin? or mobile odin?
Click to expand...
Click to collapse
JJEgan said:
Custom roms apps missing i just open the zip with win rar go to system /apps and ADD required apps or even delete apps not wanted close and flash .
Thats open not unzip .
jje
Click to expand...
Click to collapse
That is definitely a way to do it.
But since these apps get installed to /data/app when installed via odin. Hence, to replicate that (not needed), i mentioned unzipping and installing as a regular apk.
Another option is to open the zip as you said and place these in a /data/app folder and flash it.
But primarily, this thread was created because i have found people asking on many rom threads about missing these apps, without getting a reply...
ajayjohn said:
But since these apps get installed to /data/app when installed via odin. Hence, to replicate that (not needed), i mentioned unzipping and installing as a regular apk.
Another option is to open the zip as you said and place these in a /data/app folder and flash it.
Its just the missing stock apps i put in system /apps i do not add apps to data s that is hit and miss unless the script is edited .
I also remove stuff i dont want from custom roms and add my own wallpaper ringtones boot CSC etc by the same method .
jje
Click to expand...
Click to collapse
Very nice and simple guide.Thank you :good:
since it s not mentioned, I advice to add the libs missing for polaris office and swype etc..
U can retrieve them opening the apks and check out the lib folder.
These have to be pasted into /system/lib to avoid FCs.
It s an important step, mention it into OP.
i'm trying to get stock swype for a galaxy ace s5830 installed on my custom rom. So far without succes. I have pasted swype.apk (extracted from stock rom!) into /system/app and libswypecore.so into /system/lib. Both with permissions: 6-4-4.
When I try to use swype I get an error that this swype version was intended to use on a different device. result: I can swype but nothing happens (no words are entered, though the different dictionairies are present in the swype.apk).
I'm wondering what I should do now. (besides checking the build.prop file for differences).
DutchArjo said:
i'm trying to get stock swype for a galaxy ace s5830 installed on my custom rom. So far without succes. I have pasted swype.apk (extracted from stock rom!) into /system/app and libswypecore.so into /system/lib. Both with permissions: 6-4-4.
When I try to use swype I get an error that this swype version was intended to use on a different device. result: I can swype but nothing happens (no words are entered, though the different dictionairies are present in the swype.apk).
I'm wondering what I should do now. (besides checking the build.prop file for differences).
Click to expand...
Click to collapse
It's galaxy s2 theard, ask in galaxy ace
Ganjax said:
It's galaxy s2 theard, ask in galaxy ace
Click to expand...
Click to collapse
sorry. I thought as it are both samsung devices, It would be the same for Ace, but I will ask in Ace forum.

I9000 roms on vibrant?

Would it be possible to install an i9000 Rom and make an installable zip that has all necessary vibrant files instead of having to port the Rom on a pc?
epicboy said:
Would it be possible to install an i9000 Rom and make an installable zip that has all necessary vibrant files instead of having to port the Rom on a pc?
Click to expand...
Click to collapse
Sadly we have very little developers on board. Also, it is better to flash the proper ported ROM from the start because if not, file permission failure may happen among other issues such as Force Closes. I gave you the link on how to do it in another thread. It may seem complicated at first but it is not complicated if you, for example, by using 7Zip (or similar) on your PC take the required files from, say, sada's CyanogenMod ROM by opening its zip file with 7Zip and drag it to the .zip i9000 ROM you want to port. Just giving you a hint to make it easier for you. I managed to do it some weeks ago and I didn't know the how-to before.
nirogu325 said:
Sadly we have very little developers on board. Also, it is better to flash the proper ported ROM from the start because if not, file permission failure may happen among other issues such as Force Closes. I gave you the link on how to do it in another thread. It may seem complicated at first but it is not complicated if you, for example, by using 7Zip (or similar) on your PC take the required files from, say, sada's CyanogenMod ROM by opening its zip file with 7Zip and drag it to the .zip i9000 ROM you want to port. Just giving you a hint to make it easier for you. I managed to do it some weeks ago and I didn't know the how-to before.
Click to expand...
Click to collapse
The thing is I want to eliminate the PC from the equation. I like to download roms from my browser and would like to download a i9000 zip, install it with another zip. And boom. I9000 Rom on the vibrant. I will see if I can work on it and make it a reality.
epicboy said:
The thing is I want to eliminate the PC from the equation. I like to download roms from my browser and would like to download a i9000 zip, install it with another zip. And boom. I9000 Rom on the vibrant. I will see if I can work on it and make it a reality.
Click to expand...
Click to collapse
that approach is time consuming to do on the phone takes at least a few minutes just to extract it and same goes for zipping everything back up. trust me I've done this before and never done it again. it would be best to do on a comp less likely to make a mistake
but if you're determined to do it on your phone go for it and good luck. what rom are you wanting to port over from the i9000?
dzee206 said:
that approach is time consuming to do on the phone takes at least a few minutes just to extract it and same goes for zipping everything back up. trust me I've done this before and never done it again. it would be best to do on a comp less likely to make a mistake
but if you're determined to do it on your phone go for it and good luck. what rom are you wanting to port over from the i9000?
Click to expand...
Click to collapse
I'm determined to do it and have some knowledge of the android file system.
I wanted to try out nameless Rom.
epicboy said:
I'm determined to do it and have some knowledge of the android file system.
I wanted to try out nameless Rom.
Click to expand...
Click to collapse
ah nameless I haven't ran that in months but if I remember correctly you need to delete or swap the bootanimation. I forgot exactly why its needed but it seems to cause issues, not really sure but I think it causes the rom to end up in a bootloop...
Sent from my Half Baked Vibrant

Categories

Resources