Extract class from framework.jar to standalone file

Daniel_Lechu

Senior Member
Aug 20, 2008
477
120
0
Madrid
Hello,

Maybe is a very noob question, but I don't know about java programming.

I'm trying to make Sony Album app to work on OmniRom without use the patched version of App, but the log shows like a class doesn't exist. I've extracted that class from the Sony framework.jar and I've recompiled it on a new jar file. I've pushed that new jar file to framework folder but the App still saying that doesn't exists, so my question is: What I've to do to load that class in framework without modify the framework.jar file?.

I've list the jar file class list and it show how the class is there, but I'm sure that I've forgoten something.

Also I've tried to decompile another class file where the App is searching for, add the class that fails and recompile, but it still without work.

The class I'm trying to add is com.sonyericsson.provider.SemcMediaStore$ExtendedFile and I want to do it to create a systemless package for magisk. I've tried to search some info but I'm not able to find it, so maybe I'm not using the right words.

Thanks and greetings!!