[Q] Need help or tutorial to modify cm10's framework for osb's dpi - Sony Ericsson Xperia Neo, Pro

Does anyone know how to decompile and recompile the framework for cm10 nightly build? I'm using Framework Toolkit by Themike *it simply cant recompile everything from original framework into new modded framework after editing the dimens.xml for osb's dpi (i assume, the modded framework (5MB+-) is significantly smaller than the original untouched framework (9MB+-), and the modded framework give bootloop). thanks

ICS apks are hard to decompile and and recompile. you got to search a lot to get a working apktool. the tool needed to for decompiling and recompiling.
moreover the apk is to be "signed". Just make sure you sign your apk.
you got to have a better understanding of xml for this. other than this i cant help. Good luck :good:
you can use mod to add OSB. it also provide modded settings.

Btw mate the system apps. Or files are not to be signed afaik and even if you sign it,you'll have to sign all system files with the same!
Isn't it?
Sent from my MT11i using xda premium

Ghostfreak NB said:
Btw mate the system apps. Or files are not to be signed afaik and even if you sign it,you'll have to sign all system files with the same!
Isn't it?
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
Ghostfreak: yup, but i dun think CM team will sign all the apps they modify, are they? btw, nvm. I guess i better stick to ICS 1st, CM10 still kinda too buggy to be used on daily usages. JB source and resource for xperia are still too limited......
rajxelton: CM10 is based on JB 4.1.2, not 4.0.4 ICS (CM9) anymore of course the modding will be kinda different somehow, and CM10.1 is now 4.2.1 but under alpha release to test for development purpose. and ya, i do know those xml files under the values folder. i did made my own framework for my own use before.....

Related

miui apps port

do any one know why( exactly which code) makes the miui apps not to run on cm7?
i am in hard checking on how to port miui filemanager to cm7.
i decompiled the miui filemanager, and checked for any miui specific codes in the class files. i cant find anything like that. any one have any idea?
i think that the working of filemanager of miui is strictly dependent on miuis framework and my idea is to change those dependencies to cm7's.
if anybody have some ideas pls help me.
Sent from my HTC HD2 using xda premium
showlyshah said:
do any one know why( exactly which code) makes the miui apps not to run on cm7?
i am in hard checking on how to port miui filemanager to cm7.
i decompiled the miui filemanager, and checked for any miui specific codes in the class files. i cant find anything like that. any one have any idea?
i think that the working of filemanager of miui is strictly dependent on miuis framework and my idea is to change those dependencies to cm7's.
if anybody have some ideas pls help me.
Sent from my HTC HD2 using xda premium
Click to expand...
Click to collapse
The MIUI and CM7 specific apps use things from that framework.
If thry are not available in yours, it will simply not work.
Greets!
the worst thing is miui apk even dont run on android vm, where cm7 ones run. i use android 2.3.3 vm to check both, both apks are taken from 2.3.7 versions of custom roms. only cm7 based one runs the other refused to even install( i checked with many miui apks, same results).
then how miui apks are checked and debugged??
Sent from my HTC HD2 using xda premium
showlyshah said:
the worst thing is miui apk even dont run on android vm, where cm7 ones run. i use android 2.3.3 vm to check both, both apks are taken from 2.3.7 versions of custom roms. only cm7 based one runs the other refused to even install( i checked with many miui apks, same results).
then how miui apks are checked and debugged??
Sent from my HTC HD2 using xda premium
Click to expand...
Click to collapse
Good one...
I guess that if you clone the MIUIv4 source that it will work...
Greets!
showlyshah said:
the worst thing is miui apk even dont run on android vm, where cm7 ones run. i use android 2.3.3 vm to check both, both apks are taken from 2.3.7 versions of custom roms. only cm7 based one runs the other refused to even install( i checked with many miui apks, same results).
then how miui apks are checked and debugged??
Sent from my HTC HD2 using xda premium
Click to expand...
Click to collapse
It is most likely the way that CM changes the base android code. As.it will use the Cm framework you will most likely have to rebuild the app using the cm files and frameworks.
showlyshah said:
do any one know why( exactly which code) makes the miui apps not to run on cm7?
i am in hard checking on how to port miui filemanager to cm7.
i decompiled the miui filemanager, and checked for any miui specific codes in the class files. i cant find anything like that. any one have any idea?
i think that the working of filemanager of miui is strictly dependent on miuis framework and my idea is to change those dependencies to cm7's.
if anybody have some ideas pls help me.
Sent from my HTC HD2 using xda premium
Click to expand...
Click to collapse
It mainly due to /system/framework/com.miui-framework-res.apk which has the framework files for miui apps to run. Also the framework files like android.policy.jar. framework.jar, services.jar are different and are built to support miui apps. You need to dig deep into the framework to see what files are responsible for a particular miui app and incorporate them into miui apk you want to install om CM7 rom.
Sent from my HTC Vision using Tapatalk
zelendel said:
It is most likely the way that CM changes the base android code. As.it will use the Cm framework you will most likely have to rebuild the app using the cm files and frameworks.
Click to expand...
Click to collapse
thats the thing i already know, and all i want is to know whats the diff in miui, or whats that code which contains in miui and not in cm7 framework. by knowing that, we can replace that code in miui apps and put correspondig cm7 one.
i know apps like miui cam,gallery, music is already ported to cm7. and may be the dev of that port can hint me.
Sent from my HTC HD2 using xda premium
ajhavery said:
It mainly due to /system/framework/com.miui-framework-res.apk which has the framework files for miui apps to run. Also the framework files like android.policy.jar. framework.jar, services.jar are different and are built to support miui apps. You need to dig deep into the framework to see what files are responsible for a particular miui app and incorporate them into miui apk you want to install om CM7 rom.
Sent from my HTC Vision using Tapatalk
Click to expand...
Click to collapse
i dont think i should dig that much into framework and supporting files of miui, cut those specific codes, put it into cm7 framework and screw up.
but i think to take a diff aproch, dig into apps, find those lines that require miui framework and files, revert it to cm7's framework and files.
and i think i can do it. but i req some help from u people.
can anybody give me the original and ported file of any miui apps like camera,gallery( the best option) or music.
i have all the three, and originals i copied from miui rom. but its not same versions.
so this is i want, same versions of ported and non ported ones. like , if original camera is 2.1.114, i need ported camera too in same 2.1.114 version.
any one have those?
Sent from my HTC HD2 using xda premium

[JB]How to make moded apk work?

Hi!
I have some problems with JB apks.
Decompile and compile go ok with apktool 1.4.7, without errors.
My problem is how to make recompiled apk to work?
I try many combinations - copy from builded apk to original, copy meta data from source apk to moded, sign moded apk with auto-signer, ... .
Nothing work for me.
Now I'm using Expeacer CM10 for mini pro Link .
I install framework from this rom, want to make my own changes to SystemUI.apk and framework-res.apk.
Thanks for any idea!

[Q] Remove vibration on unlock and answer on CM?

Guys, i am on CM9 205 and can you tell me whats the best and easiest way to remove vibrate on unlock screen and on answering call?
There is some flashable zip, but if i flash it when reboot phone it updating 66 applications...
Another way?
No one knows? Is it framework mod?
It is a framework mod
Sent from my Xperia U using xda premium
It is a easy mod,you have to edit framework.jar.
There is tut available for it,search it.
neectron said:
It is a easy mod,you have to edit framework.jar.
There is tut available for it,search it.
Click to expand...
Click to collapse
As i said before - there is a flashable zip for that, i looked inside there are many folders, one of them is framework - if i move it to appropriate thread with root explorer it must do it...
Updating apps is displayed when dalvik cache is built.It shouldn't happen every time .
If that zip is causing bootloops.
You can do it your own framework.jar.
Easy way,
Take your framework.jar from your CM9 rom.
Decompile it using apktool.
Edit like this http://forum.xda-developers.com/showthread.php?t=1749111.
Compile it and flash it to your rom.

Decompiling system ui

Has anyone been able to decompile lg system ui apk. I tried multiple versions of apk tool
I think the devs were talking about that in the new dev only section. Maybe you can find some info there.
Sent from my G3, rockin Illusion
I have had no issues decompiling or recompiling SystemUI.apk. You are loading both framework apks right?
PiousInquisitor said:
I have had no issues decompiling or recompiling SystemUI.apk. You are loading both framework apks right?
Click to expand...
Click to collapse
Yes sir lg system ui won't decompile for me framework is installed. In fact I can decompile framwork res and lg res. Tried multiple apk tool version and two different roms. What rom did you do it with. Itried jasmine which is close to stock
Which tool are you using
alphamale said:
Which tool are you using
Click to expand...
Click to collapse
I also decompiled the Jasmin SystemUI. I'll check the version number when u get home from work tonight. I'm on a Linux box BTW.
Got it working used tma has it pull apks from my device
alphamale said:
Got it working used tma has it pull apks from my device
Click to expand...
Click to collapse
advanced apk tool works great just decompiled mine...recompiled and also installed it again..

[HELP] Deodex Pixel SystemUI

Hello, I would like to modify my systemui to get 3minit battery mod working on my Google pixel XL.
I've deodexed system apps in the past using baksmali, but these new odexed system apps now have a systemui.vdex file as well as a systemui.odex file to go along with the systemui.apk.
Couldn't find much about the vdex files other than it's allegedly optimized dex code. I looked at jesusfreke's website and most of the threads on there were way above my comprehension level lol.
Can anyone help me out to get started on deodexing this app?
Pain-N-Panic said:
Hello, I would like to modify my systemui to get 3minit battery mod working on my Google pixel XL.
I've deodexed system apps in the past using baksmali, but these new odexed system apps now have a systemui.vdex file as well as a systemui.odex file to go along with the systemui.apk.
Couldn't find much about the vdex files other than it's allegedly optimized dex code. I looked at jesusfreke's website and most of the threads on there were way above my comprehension level lol.
Can anyone help me out to get started on deodexing this app?
Click to expand...
Click to collapse
The latest baksmali and smali can't handle vdex files yet, as far as I can tell. There's an open issue about it here: https://github.com/JesusFreke/smali/issues/555
Looks like we have to wait, sadly. This always every time Google make a new version of Android - they keep odexing files in different ways. Good for the user, but very annoying for the modder!
Ticklefish said:
The latest baksmali and smali can't handle vdex files yet, as far as I can tell. There's an open issue about it here: https://github.com/JesusFreke/smali/issues/555
Looks like we have to wait, sadly. This always every time Google make a new version of Android - they keep odexing files in different ways. Good for the user, but very annoying for the modder!
Click to expand...
Click to collapse
I was told fulmics automated deodex program works with Oreo. Haven't tried it out yet.
Pain-N-Panic said:
I was told fulmics automated deodex program works with Oreo. Haven't tried it out yet.
Click to expand...
Click to collapse
I have my own deodexing tool and I'm trying it on Oreo now. Looks like it should work.
Sent from my Sony Xperia XA1 using XDA Labs
Ticklefish said:
I have my own deodexing tool and I'm trying it on Oreo now. Looks like it should work.
Click to expand...
Click to collapse
If your personal program works, would you assume fulmic's should work as well with Oreo? As long as I updated the small/baksmali?
Pain-N-Panic said:
If your personal program works, would you assume fulmic's should work as well with Oreo? As long as I updated the small/baksmali?
Click to expand...
Click to collapse
I've no idea, sorry. I wouldn't know how that program works. You can try it, just be sure to make a backup first just in case.
Sent from my Sony Xperia XA1 using XDA Labs

Categories

Resources