odexing framework - Desire Q&A, Help & Troubleshooting

i guys is there a way to odex framework files ive managed to do apps. but i read that u must do framework first .
any ideas?

Related

[Q] Stuck at LG Logo

hey guys, i wanted to change the status bar to transparent
so i followed this
"So, I've found transparent status-bar on 4pda. It made by tokar77.
Circle-battery mod included.
Replace LGhome3.apk and LGsystemUI.apk at system/app. Set rw-r--r-- permissions
Replace android.policy.jar in system/framework."
http://forum.xda-developers.com/show...2225317&page=3
then this reply :
For LGSystemUI.apk deodexed and LGHome3.apk deodexed no problem if u have odex system, just copy and replace app to your System apps and delete odex file. But android.policy.jar deodexed will not work if u have odex framework files,, all u need to have is deodexed framework files or moded android.policy.jar which is odex,
i moved the odex files, now the phone won't get past the LG logo :'( :'(
I HAVE ALL ORIGINAL FILES, please what do i do :'(
did i ruin my phone for ever ?
I ALSO DID A HARD RESET
nothing :'(
SgtMaadadi said:
hey guys, i wanted to change the status bar to transparent
so i followed this
"So, I've found transparent status-bar on 4pda. It made by tokar77.
Circle-battery mod included.
Replace LGhome3.apk and LGsystemUI.apk at system/app. Set rw-r--r-- permissions
Replace android.policy.jar in system/framework."
http://forum.xda-developers.com/show...2225317&page=3
then this reply :
For LGSystemUI.apk deodexed and LGHome3.apk deodexed no problem if u have odex system, just copy and replace app to your System apps and delete odex file. But android.policy.jar deodexed will not work if u have odex framework files,, all u need to have is deodexed framework files or moded android.policy.jar which is odex,
i moved the odex files, now the phone won't get past the LG logo :'( :'(
I HAVE ALL ORIGINAL FILES, please what do i do :'(
did i ruin my phone for ever ?
I ALSO DID A HARD RESET
nothing :'(
Click to expand...
Click to collapse
flash kdz..
hasan4791 said:
flash kdz..
Click to expand...
Click to collapse
how ??
please help
SgtMaadadi said:
how ??
please help
Click to expand...
Click to collapse
chk FAQ in this section...do search before asking any quest,,,,don expect help frm members always...!!

Need some .apks

Hey guys m creating a mod for XM(4.1.2)
I will be needing 3 DEODEXED apks
1.SystemUI.apk(in system/app)
2.framework-res.apk(in framework)
3.SemcGenericUxpres.apk(in framework)
Thanks in advance
Make sure they are deodexed
Thank you
Regards.
The Files You Wanted.
See the Attachments.:good:
Stock rom right?

[Q] can't decompile settings.apk with any apktool?

can someone help me please:crying:? i've been trying any apktool for decompile the settings.apk, but the result it's only failed and apktool always make progress like this "please install any framework files, see this on our forum" although i've been installed framework-res.apk first? why ya? that app is almost succesfuly decompile i can see all xml file has been decoding, but not all files decoding some files still can't be read with notepad++? and when i try to recompile again it's always say error although i'm never modified or remove any content from that app? why ya that happen? i still dizzy with that? settings.apk from C1905 4.3 Single Sim (deodexed) with stock framework, are that can be combine for decompile?
1) Any apps you wish to decompile coming from a Sony ROM you MUST install framework-res.apk AND SencGenericUxpRes.apk
2) Your framework files MUST be deodexed, meaning that if you are using framework-res.apk and you have a framework-res.odex file next to it you will have to deodex the framework files first.
3) The framework files MUST come from the same firmware as the app.
gamer649 said:
1) Any apps you wish to decompile coming from a Sony ROM you MUST install framework-res.apk AND SencGenericUxpRes.apk
2) Your framework files MUST be deodexed, meaning that if you are using framework-res.apk and you have a framework-res.odex file next to it you will have to deodex the framework files first.
3) The framework files MUST come from the same firmware as the app.
Click to expand...
Click to collapse
so you mean is? i need SemcGenericUxpRes.apk and framework-res.odex too. to deodex any files from sony rom? but how i can install SemcGenericUxpRes.apk? because in this selection this only must install framework first? is that you mean SemcGenericUxpRes.apk must i install to like install any framework files?
Nicklas Van Dam said:
so you mean is? i need SemcGenericUxpRes.apk and framework-res.odex too. to deodex any files from sony rom? but how i can install SemcGenericUxpRes.apk? because in this selection this only must install framework first? is that you mean SemcGenericUxpRes.apk must i install to like install any framework files?
Click to expand...
Click to collapse
You do NOT need any .odex files relating to the framework. HOWEVER, the framework MUST be fully deodexed (deodexing means repacking the .apk/.jar file in such a way that the .odex file and the .apk/.jar file are one and not two separate parts).
To install the SemcGenericUxpRes.apk you must install it as you would with any other framework file.
Two questions while I am here, what firmware are you on? And what is your native language?
gamer649 said:
You do NOT need any .odex files relating to the framework. HOWEVER, the framework MUST be fully deodexed (deodexing means repacking the .apk/.jar file in such a way that the .odex file and the .apk/.jar file are one and not two separate parts).
To install the SemcGenericUxpRes.apk you must install it as you would with any other framework file.
Two questions while I am here, what firmware are you on? And what is your native language?
Click to expand...
Click to collapse
i use C1905 15.4.A.1.9 Indonesia, and native language is English (CA), why? so i must rename SemcGenericUxpRes.apk and change to framework-res.apk? but how can be 2 framework installed?,
Nicklas Van Dam said:
i use C1905 15.4.A.1.9 Indonesia, and native language is English (CA), why? so i must rename SemcGenericUxpRes.apk and change to framework-res.apk? but how can be 2 framework installed?,
Click to expand...
Click to collapse
For your firmware I might be able to upload the two framework files you need to use, it depends on if and when I can get them. And for your native language I was thinking that it might be better for me to give my reply for you if you used a different language than English.
But no, you do not need to change the name of SemcGenericUpxRes.apk, all you need to do is install framework-res.apk and then immediately install SemcGenericUpxRes.apk (there is no name change needed). If you install them under different names they won't overwrite each other and thus won't give errors and two frameworks can be installed.
gamer649 said:
For your firmware I might be able to upload the two framework files you need to use, it depends on if and when I can get them. And for your native language I was thinking that it might be better for me to give my reply for you if you used a different language than English.
But no, you do not need to change the name of SemcGenericUpxRes.apk, all you need to do is install framework-res.apk and then immediately install SemcGenericUpxRes.apk (there is no name change needed). If you install them under different names they won't overwrite each other and thus won't give errors and two frameworks can be installed.
Click to expand...
Click to collapse
i download the stock rom in here https://mega.co.nz/#!29ww0Rpb!NVOkXyH1nEoIbZXtetmg1i_Sbf8raArFVQ7Yfn8DDks stock rom c1905 4.3, ok i will try to install framework file first. But my settings.apk is deodexed? for decompile i must use app that have been deodexed or not?
and after i install a framework-res.apk and SemcGenericUxpRes.apk to decompile setinggs.apk(deodexed) always happen like this
Log For : Settings.apk
Log Type : Decompiling
Log Recorded At : 09 2014-28- 11:01:05,83
Log Recorded By : Advanced ApkTool v2.0.0 By BDFreak
------------------------------------------------------
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
------------------------------------------------------
why ya? :crying: i still dizzy with this kind, or the settings.apk must odexed first?
and this time the settings.apk is odexed, and i try again to decompile this files. but the result is always same like this
Log For : Settings.apk
Log Type : Decompiling
Log Recorded At : 09 2014-28- 11:06:38,76
Log Recorded By : Advanced ApkTool v2.0.0 By BDFreak
------------------------------------------------------
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
------------------------------------------------------

[Q] systemui apk changing problems

Hello guys, i modded systemui for my z1 compact by myself and i replaced it with root explorer, i also deleted. Odex file but after reboot systemui didnt work, does anyone know how to change it and make it work, i was doing thst on xperia E and it worked, dont know why doesnt work here
Maybe you have old frameworks(from xperia e)installed?
I'm also having similar problems trying to modify Systemui.apk. I've tried it with apktool for android (ver. 4.1) and even without any modification, after recompile I have no nav bar or wallpaper. Maybe XperienceD could shed some light on this for us. Please?
trezack said:
Hello guys, i modded systemui for my z1 compact by myself and i replaced it with root explorer, i also deleted. Odex file but after reboot systemui didnt work, does anyone know how to change it and make it work, i was doing thst on xperia E and it worked, dont know why doesnt work here
Click to expand...
Click to collapse
Modding is best done with deodexed files so if you've just modded the odexed SystemUI then you should have left the odex file in place as that has resources the SUi needs to work, whereas deodexing essentially puts those resources into the apk.
spudata said:
I'm also having similar problems trying to modify Systemui.apk. I've tried it with apktool for android (ver. 4.1) and even without any modification, after recompile I have no nav bar or wallpaper. Maybe XperienceD could shed some light on this for us. Please?
Click to expand...
Click to collapse
99% of the time I edit manually for reasons explained in my Apk & Theming thread so you'll have to report any issues with an all in one tool to it's developer.

[Q] bravia engine 2 not compatible in deodexed framework files?

when i try to deodex all framework files with baksmali and smali jar, is done with great and try to port to framework of my xperia m and go to reboot. after reboot deodex process is complete, and when i try to move all bravia engine 2 file to my system i've got a little problem when i want to move com.sonyericcson.uxp.jar from bravia engine is only 4kb with classes.dex include in .jar file. but in my stock deodexed framework file com.sonyericcson.uxp.jar is 14kb? is this a very big different? can i replace it? if i can , what i must do? only replace that file? but when i do that bootloop happen after i reboot. and bootloop happen to when i replace that file with included old .odex file from my framework before deodex process?
what i must do? is bravia engine can't work with deodexed framework file? or something is missing from me?
Replacing framework files can and WILL cause bootloops if you don't run the stop command through ADB shell to stop the phone from using them. You are trying to replace files what the phone is actively using, stopping the phone from using it part way through the replacement and thus only part of the file is replaced.
Why don't you just use files what have already been deodexed for you instead of doing it the hard way around? Like I have got deodexed files for the two 4.3 versions for both SS and DS, paper13579 created a guide to show you how to properly replace system apks and system framework files. Check it out, themes & apps section.
gamer649 said:
Replacing framework files can and WILL cause bootloops if you don't run the stop command through ADB shell to stop the phone from using them. You are trying to replace files what the phone is actively using, stopping the phone from using it part way through the replacement and thus only part of the file is replaced.
Why don't you just use files what have already been deodexed for you instead of doing it the hard way around? Like I have got deodexed files for the two 4.3 versions for both SS and DS, paper13579 created a guide to show you how to properly replace system apks and system framework files. Check it out, themes & apps section.
Click to expand...
Click to collapse
ya i know, i deodexed my current rom 15.4.A.1.10 from my xperia m, and i replace it all in app and framework in my system and after reboot all working correctly and when i try to move file from bravia engine 2. and replace com.sonyericsson.uxp.jar,set permission to rw-r-r (i don't use any adb to move folder and deodexed files to my system, because i don't have any problem with error without adb) , reboot. Done with bootloop? so what i must do ? BE 2 can't run in deodexed framework? or i must do some modification in this jar file?
Nicklas Van Dam said:
ya i know, i deodexed my current rom 15.4.A.1.10 from my xperia m, and i replace it all in app and framework in my system and after reboot all working correctly and when i try to move file from bravia engine 2. and replace com.sonyericsson.uxp.jar,set permission to rw-r-r (i don't use any adb to move folder and deodexed files to my system, because i don't have any problem with error without adb) , reboot. Done with bootloop? so what i must do ? BE 2 can't run in deodexed framework? or i must do some modification in this jar file?
Click to expand...
Click to collapse
You should use ADB as you can corrupt files you're moving and end up in a bootloop. You said the framework file you had with BE2 was only 4kb? I think that may be a problem. It should be around 13kb-14kb. Can you link me to the thread (if applicable) of where you are trying to port BE2 from? I'll have a look, see if I can work it out. And you're using the 15.4.A.1.10 build for definite? Not one of the earlier 4.3 or 4.1 builds for the SS and not one of the 4.3 or 4.1 builds for the DS?
gamer649 said:
You should use ADB as you can corrupt files you're moving and end up in a bootloop. You said the framework file you had with BE2 was only 4kb? I think that may be a problem. It should be around 13kb-14kb. Can you link me to the thread (if applicable) of where you are trying to port BE2 from? I'll have a look, see if I can work it out. And you're using the 15.4.A.1.10 build for definite? Not one of the earlier 4.3 or 4.1 builds for the SS and not one of the 4.3 or 4.1 builds for the DS?
Click to expand...
Click to collapse
for BE2 may be i can only give you a link for this port for thread i forget it to find in where ?, for my firmware 15.4.A.1.10 is 4.3 build for SS and deodexed myself. and here for this thread http://forum.xda-developers.com/showpost.php?p=56995184&postcount=1. problem? hmmm what's problem?
Nicklas Van Dam said:
for BE2 may be i can only give you a link for this port for thread i forget it to find in where ?, for my firmware 15.4.A.1.10 is 4.3 build for SS and deodexed myself. and here for this thread http://forum.xda-developers.com/showpost.php?p=56995184&postcount=1. problem? hmmm what's problem?
Click to expand...
Click to collapse
I've already got that firmware, it you can find the thread where you get instructions for porting BE2 let me know and I'll look into it.
The problem about your framework file being 4kb once you've 'ported' BE2, it should still be around 13-14kb.
gamer649 said:
I've already got that firmware, it you can find the thread where you get instructions for porting BE2 let me know and I'll look into it.
The problem about your framework file being 4kb once you've 'ported' BE2, it should still be around 13-14kb.
Click to expand...
Click to collapse
So that's a problem ? One question from me, is this com.sonyericsson.uxp.jar from BE2 is already deodexed or not? Because is very small size I think?

Categories

Resources