How to flash a .bak file - Thunderbolt Q&A, Help & Troubleshooting

I installed the Virus ROM and my market switched back to the original theme. I am now trying to get the theme that came with the ROM because it switched to the original for whatever reason. I was doing a little research and seen a comment that stated I had to change the marketupdater.apk file to a .bak file and flash the themed market.I tried to flash CWR and reboot but that didnt work. Mind you all I am an amateur so any help would be appreciated. Thanks in advance.

pretty sure u just edit the .Apk to .bak so its still there but its now been disabled

Related

How phone specific is services.jar?

I saw where someone had modified the services.jar file for Droid X that removed the Clock from Notification Bar. Is the services.jar file really specific for every phone? I was wondering if I could rename my present services.jar file and place this modified file on my phone to test to see if it worked. Or would doing this cause my phone not work at all to where I couldn't easily go back and replace the file with my previous one? I assume if things did turn bad I could go to download mode and redo stock ROM but thought I ask first to hear thoughts
Thanks

How can I extract an apk file from a ROM ?

I'm trying to extract the file phone.apk from stock ROM version KG6.
I understand that the apk files are inside the factoryfs.img file, but how can I open this file ?, I tried Winrar but it doesn't open...
look at this thread. This is internal ext4 image. You must repack and mount it to read something.
You can try also to find an unpacked rom dump.
Take them attached. I've extracted them (apk+odex) from KG6.
Ivan_Belarus said:
look at this thread. This is internal ext4 image. You must repack and mount it to read something.
You can try also to find an unpacked rom dump.
Click to expand...
Click to collapse
Thanks Ivan. I've looked at that thread, but from what I understand that code is for linux, no ? I only have windows...
Any clue of where can I find that unpacked rom dump ?
Just look above I've unpacked them for you
P.S. in that thread is the program and tip for windows. Just read all the posts
Of course, linux is better and faster for that
Thanks Ivan !!
Ivan, I've tried to put the phone.apk file that you've extracted for me, in the system/app directory of my phone (I haven't moved phone.odex though).
The problem is that now I get forced close...
The ROM that I'm using is Cognition 1.42, which is based on KG6 (but Cognition is deodexed).
What do you think could be the reason that the phone.apk file that you've extracted from stock KG6, doesn't work with Cognition KG6 ROM ? ?
Reason you haven't moved the odex file - is the essential part of the app. Dont forget to reboot after that. This is not deodexed file
If it doesn't work (should be) you have to look for cognition orginal deodexed phone.apk, because it may have some modifications. I have many customs on my PC, but cognition. So pity
Tell me if it doesnt work, I'll ask someone to give it to me.
Thanks again for all your help Ivan. Much appreciated.
I tried to copy both phone.apk and phone.odex to system\app, but it still doesn't work.
I don't have a problem returning to the original cognition ROM (via CWM). The thing is that I want to replace his phone.apk with the one that comes with the stock version, because I want the "ascending ringtone" back (he disabled this feature in his version of the phone.apk).
I have sent you the stock version from KG6. As I said cognition won't work with stock phone.abk due to some modifications.

[Q] Need stock camera.apk, and other files

Hi, I am hoping that someone could provide me with the i777 stock camera.apk, camerafirmware.apk as well as the odex files. I was messing around with my friends phone and ended up deleting these. I've tried the files from other roms but could not find the odex files. He prefers to keep his phone the way it is (stock rooted) and not have a custom rom. Any help would be greatly appreciated. Thank you. Please PM me if you can help.
I'm not familiar with how Samsung ships its roms, but have you tried finding the official ROM and extracting it to get the files you need?
Last resort, you could back up, then factory reset your friend's phone to get it back to how it was.
Also a little tip, in the future, when messing with system files, rather then deleting them, just rename them and add .bak as an extension, then if what you tried to do didn't work, simply rename and remove the .Bak and your original file is restored.
Sent from my SAMSUNG-SGH-I777 using xda premium

[Q] Issues restoring framework-res.apk

Hey Guys,
I have been attempting to mod my framework-res.apk to try and add a percent battery icon (unsuccessfuly so far). Here is my issue, after finding that my modded framework file isnt working properly, I go to try and restore the original. After restoring the original I still get tons of FC's and the only way to get things back to normal is to restore my backup from CWM.
The method I am using to replace my framework-res.apk is to use a root explorer (ES File Manager) to copy the file to /system/ then from there I modify the permissions and then move the file to the framework folder, overwriting the existing file. After this, I reboot the phone.
My question is, why is my original framework-res.apk file causing force closes? It is starting to make me think that even my modded files are ok, but that the issue is arising in the manual transfer.
Sorry if the answer is posted elsewhere, I googled and was only finding issues with the apk not being compiled correctly, but that shouldnt be an issue with the original apk.
*EDIT* I figured it out. It appears it was because Jkay Deluxe was installed. I decided to reflash the rom and try with a fresh copy of the framework-res.apk and everything appears to be working now.

[q] uninstalled file manager -- need it back

While I was trying to clear the data of the file manager, I inadvertently uninstalled the file manager.
I am rooted on Virtuous Prime. I tried to use Titanium to extract the file manager from a nandroid backup; this did not work.
I do not have a titanium backup of the file manager.
Surprisingly, I like this stock file manager.
Is there a way I can get it back? A download?
Can I use adb to push the file manager to the device after extracting it from a ROM?
I don't know if this is the right one, but we can try it. It's the only one I could find.
I also have another file called filemanager2.odex
Im thinking that's just the data in my file manager....if you need that 2nd file, let me know
Added the file...had to change odex to zip to upload....just delete zip and change it back
robertg9 said:
I don't know if this is the right one, but we can try it. It's the only one I could find.
I also have another file called filemanager2.odex
Im thinking that's just the data in my file manager....if you need that 2nd file, let me know
Click to expand...
Click to collapse
If you are on a stock ASUS firmware, most of your system APKs will be odexed. You need both the APK and the odex file for the app to run.
A lot of custom ROMs have deodexed files for several reasons. Some people swear that deodexed ROMs are faster, some swear the opposite. Modifying deodexed ROMs is theorectically slightly easier also as you only need to deal with one file rather than 2.
This is a rather simple, nonsensical explanation of the situation, and I'm sure other folks will chip in with more accurate definitions, however, getting back to the point, YOU WILL NEED THE ODEX FILE ALSO IF ON STOCK.

Categories

Resources