Deodexing - Sony Xperia C5 Ultra

I've no idea how should I deodex my C5 Ultra. Some tools here at XDA requires odexed ROM to deodex. I have no idea how to find a prepared deodexed ROM or stock ROM's ".zip" file. Long story short I can't reach to ".zip" of stock ROM and there is no ROMs and I want to deodex. What can I do? Go easy on me I root but I don't develop so I feel like a noob here at XDA.
UPDATE: Extracting system/app, system/priv-app and system/framework and deodexing it with LBD 2.5 and flashing it with an update.zip kind of thing leads phone to bootloop. (actually it got stuck at sony logo not the animation)
Getting the apks to the folders with "Root Explorer" doesn't work either. So I've tried everything I could except pushing the ".apk"s with adb. But I'm almost sure that isn't going to happen either.
I would like some guidance. Only thing that was on the phone is xposed. (after second try I used xposed uninstaller to remove it) So I have no idea what is preventing the phone from booting. And I also have no idea how to check logs etc.

Related

How to flash a .bak file

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

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

[Q] deodexed framework.jar with odexed rom??

I just want to deodex the framework.odex to a full framework.jar file on my stock Samsung rom. Not my entire rom.
If I I only deodex the framework file without deodexing the entire rom, will my phone still work like this??
I am not worried about what happens to the /system folder as I can re-flash it w/ Odin but this is a pain in the a** as I will need to root and make all my root based changes all over again.
Can someone please help me with this?? I have spend hours trying to convert my framework.odex to a framework.jar and every single method and tool that I have found online has given some kind of error every time. I do not want to spend any more time on this unless I know it will even work with the device.
Thanks.

[Q] Deodexing an 7.0 ROM with vendor folder?

Hello everyone, I'm having a bit of a problem here.
I have a ROM, a stock ROM that has a vendor folder with /app, /priv-app and /framework along with some other folders in it.
I'm trying to deodex that very ROM. It's a 7.0 ROM.
I've tried different tools, different ways... Copying the app, priv-app and framework to same folders in root of /system, deodexing, flashing... doesn't work.
Tried to copy it, deodex it and then copy the very same files back to vendor, then flashing... kindda works, but brakes like half the the OS.
So what I'm wondering is, is there any tool that deodexes the vendor folder too?
This is a ROM for a phone that is not very popular, that has no sources available to make a custom Lineage or something so my best way would be to debloat it, deodex it, have magisk and xposed on it and have it run smooth. I've got magisk but need deodex to make it xposed capable.
Please, any ideas on how to deodex this kind of ROM?
Thanks in advance!
Can anybody give any advice with what I should try and how?
Really, no one? Is it impossible or what? Just give me some guidelines...

Categories

Resources