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?
Related
While preparing JB Style for XXLSJ I've seen that we needed a proper VRTheme templatefor the new partitions ( /preload ) in our new systems. This will probably change in the future as Samsung releases the final version... but meanwhile... you can use this template to build mods.
No need to replace the entire SystemUI for battery images. This is not my work, I just simply adapted the original template.
Source:
http://forum.xda-developers.com/showthread.php?t=1207017
http://www.villainrom.co.uk/forum/threads/about-villaintheme-system.4971/
Download:
http://depositfiles.com/files/6lj80t3aa
Crussader said:
While preparing JB Style for XXLSJ I've seen that we needed a proper VRTheme templatefor the new partitions ( /preload ) in our new systems. This will probably change in the future as Samsung releases the final version... but meanwhile... you can use this template to build mods.
No need to replace the entire SystemUI for battery images. This is not my work, I just simply adapted the original template.
Source:
http://forum.xda-developers.com/showthread.php?t=1207017
http://www.villainrom.co.uk/forum/threads/about-villaintheme-system.4971/
Download:
http://depositfiles.com/files/6lj80t3aa
Click to expand...
Click to collapse
Thanks for sharing this Mods for Create new things.
dark_zhero said:
Thanks for sharing this Mods for Create new things.
Click to expand...
Click to collapse
i tried using it but went into boot loop..
all system\app files including systemui.apk which were before in systems\apps will be now in preload\symlink\system\app ??
or will the systemui.apk reside somewhere else ??
and the folders with the modified pngs will be named like systemui.apk ?? with the the extension ??
Thanks
xinfinityoO said:
i tried using it but went into boot loop..
all system\app files including systemui.apk which were before in systems\apps will be now in preload\symlink\system\app ??
or will the systemui.apk reside somewhere else ??
Click to expand...
Click to collapse
exactly... in deodexed ROMs they're located in there ( preload\symlink\system\app ). If I recall correctly, in odexed ( stock fro sammobile source ) they're still on system/app.... check where they are before patching using a root file manager.
xinfinityoO said:
and the folders with the modified pngs will be named like systemui.apk ?? with the the extension ??
Thanks
Click to expand...
Click to collapse
you have to recreate the folder structure of the file you're trying to mod
SystemUI.apk / res / drawable-hdpi ( for example )
Check one of my mods to see what I mean
Crussader said:
exactly... in deodexed ROMs they're located in there ( preload\symlink\system\app ). If I recall correctly, in odexed ( stock fro sammobile source ) they're still on system/app.... check where they are before patching using a root file manager.
you have to recreate the folder structure of the file you're trying to mod
SystemUI.apk / res / drawable-hdpi ( for example )
Check one of my mods to see what I mean
Click to expand...
Click to collapse
i did as what you have said ..but boot loop ..will check the systemui.apk location and try again
thanks
xinfinityoO said:
i did as what you have said ..but boot loop ..will check the systemui.apk location and try again
thanks
Click to expand...
Click to collapse
are you using .9.png files? They must be compiled before so you can use them
Crussader said:
are you using .9.png files? They must be compiled before so you can use them
Click to expand...
Click to collapse
Is that so? I never knew that
So quick question... If I change the hue of. 9 image I can't drop straight into an apk? It has to be recompiled 1st? If that's the case, that explains a lot. Thanks for the heads up on this. Every time I did this previously the image got distorted so i gave up touching them and just changed normal pngs.
So as I understand it a odexed rom which is how it comes from the factory should have a .apk file and a corresponding .odex file. for example in the /system/app directory you would find a phone.apk and phone.odex. Right?
So when you deodex the rom it should take that .odex file and repackage it into the.apk so you would only see phone.apk in the /system/app directory. And if you open up the phone.apk there will be a file called classes.dex which is the odexed info that was put in the .apk is that right?
The reason I am asking is because I installed tesh rom. I chose the deodexed one. then I installed all the modds from tekhd mods thread. They all worked fine. My phone is running great. BUt I noticed that I have the .apk and corresponding .odex file and when I read the .apk it contains the classes.dex file. So is the rom deodexed or not. I was under the impression that the modds would not work if the rom was still odexed. So I am a little bit confused.
Can someone shed some light on what is going on here?
Thanks,
Charlie
mojorisin7178 said:
Can someone shed some light on what is going on here?
Thanks,
Charlie
Click to expand...
Click to collapse
You already answered your own question dude. If it was odexed you would not have working mods.
So then I should still have 2 files in /system/app one .apk and one.odex. because I was under the impression that when you deodex you take that odex file and put it into the .apk so there would only be one file. That is what is confusing me. I am sorry that I am not following this I am trying.
mojorisin7178 said:
So then I should still have 2 files in /system/app one .apk and one.odex. because I was under the impression that when you deodex you take that odex file and put it into the .apk so there would only be one file. That is what is confusing me. I am sorry that I am not following this I am trying.
Click to expand...
Click to collapse
so you downloaded the odex version of the ROM, then flashed a deodexed theme, and it worked, correct? this is what you are saying?
i would not be surprised if that was the case. a lot of our old ways of doing things in android is changing. jelly bean is a very cleverly designed OS..
for example, i have made changes to the framework before, flashing a deodexed theme on an odexed theme, and just to see what it would do, did not wipe dalvik cache (our old structure of doing this type of modification has told us this is REQUIRED, for obvious reasons). the script written in the zip file did not wipe it for me, checked after this happened:
i booted up, and guess what? in the log cat saw that android was doing some signature checks on the dvm and verifying them against the existing framework files. found they didn't match, and it automatically cleared the dvm files and rebuilt them.
interesting yes? well, what i am getting at, again, is that i am not surprised this worked for you just because of the way android has changed. it is becoming a lot "smarter" so to say.
verify you actually downloaded an odexed ROM, and that the /system/framework and /system/app directory contents are indeed odexed, and come back here. also, verify you did indeed flash a theme for DEodexed ROMs... if all of this is the case, it seems we might be able to throw out all we know about flashing odexed roms/themes in our newer versions of the OS.
good luck, and very interesting intriguing event!
When I vet home tonight I will do some investigating. But what I thought I did was download the deodexed version and then added modd to it that were only supposed to work on deodexed roms. But when I went to my /system/app it had both .apk and .odex. so then I thought I might have dowoaded the odexed version. Which then the modds should not have worked.
So when I get home I will do some cbecking and pkst back with links to what I used and sys images if that helps. And thank 6ou for helping me out.
mojorisin7178 said:
When I vet home tonight I will do some investigating. But what I thought I did was download the deodexed version and then added modd to it that were only supposed to work on deodexed roms. But when I went to my /system/app it had both .apk and .odex. so then I thought I might have dowoaded the odexed version. Which then the modds should not have worked.
So when I get home I will do some cbecking and pkst back with links to what I used and sys images if that helps. And thank 6ou for helping me out.
Click to expand...
Click to collapse
Yes that is exactly what you should do. Also don't forget to check the contents of the /system/framework directory as those are the ones specific to theming your UI (statusbar, etc etc)
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.
------------------------------------------------------
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.
For 14.6.A.1.216 firmware click here
Hi Friends ,I prepared a deodex patch for Z1 stock 5.1.1
Features:
-This is a full deodex patch (includes framework/SemcGenericUxpRes and vendor/app)
Requirements:
-Stock 5.1.1 14.6.A.0.368
-Root
-Working recovery (CWM or TWRP)
Installation:
1)Download my zip and copy your phone memory
2)Reboot in recovery
3)Wipe dalvik cache and cache
4)Flash zip
5)Reboot
6)After the phone boot up go to system/vendor/app with Root explorer then delete ChromeCustomizations.odex and ims.odex
7)Reboot again
Enjoy!
Download Link:
https://mega.nz/#!NUBAmCSL!XhJqEzpQGiJQwIaA7MOu730QccvRXqX0_VZN7us4hU0
İf you are like my work don't forget to hit THANKS button
Thanks. This one worked.
Hello friends
I am going to update my black transformation pack to lollipop 5.1.1. For that i need some Deodexed system apps from Z1 5.1.1.. Can anyone provide these files from Deodexed patch..?
System/app
Calculator
Home-release
Image Enhancer
Package installer
SemcCalendar
SemcClock
Skin core
Smallapps launcher
Sound enhancement
Super stamina
Textinput-tng
System/priv-app
Conversation
Phonebook
InCallUI
TeleService
Settings
Sound picker
Footer verification failed.
Running from CM recovery. Any thoughts?
@baris27 can you please upload in Xda server or any other server like Devhost or Google Drive coz Mega Download seems to be very slow
App for black transformation pack
Rajeev said:
Hello friends
I am going to update my black transformation pack to lollipop 5.1.1. For that i need some Deodexed system apps from Z1 5.1.1.. Can anyone provide these files from Deodexed patch..?
System/app
Calculator
Home-release
Image Enhancer
Package installer
SemcCalendar
SemcClock
Skin core
Smallapps launcher
Sound enhancement
Super stamina
Textinput-tng
System/priv-app
Conversation
Phonebook
InCallUI
TeleService
Settings
Sound picker
Click to expand...
Click to collapse
Here you go
https://mega.nz/#!YMBxERga!aq8YhghM7OfKZYxVwNzZYYB8kF8UbD3WobeVrd0FAfQ
I couldn't find image enhancer app, but included ImageProcessorPermission as i thought this is the closest to it. If it has different name i can find it and upload it.
Denie46 said:
Here you go
https://mega.nz/#!YMBxERga!aq8YhghM7OfKZYxVwNzZYYB8kF8UbD3WobeVrd0FAfQ
I couldn't find image enhancer app, but included ImageProcessorPermission as i thought this is the closest to it. If it has different name i can find it and upload it.
Click to expand...
Click to collapse
Thanks buddy. Actually Image Enhancment is for X Reality and Supervivid mod. I think Z1 does not get Supervivid mod. I will port it soon
Sorry if this is a silly question. But my Z Ultra 5.1.1 version also has the same build (14.6.A.0.368) and basically z1/zu are identical for the most part, but this is system files involved - truly risky business, can I use this deodex patch for my device?
kientrongtran said:
Sorry if this is a silly question. But my Z Ultra 5.1.1 version also has the same build (14.6.A.0.368) and basically z1/zu are identical for the most part, but this is system files involved - truly risky business, can I use this deodex patch for my device?
Click to expand...
Click to collapse
You may make a nandroid backup via TWRP, and try it by yourself, without any risk being involved. If there is no real difference between the devices, you won't have any problems. But in case something gets wrong, just restore your backup. Please try and tell us the result.
Works great on Sony Xperia Z1 with official 5.1.1. Thanks!
Wow 700 mb?
Desde mi Xperia Z1
Papanik said:
Works great on Sony Xperia Z1 with official 5.1.1. Thanks!
Click to expand...
Click to collapse
Enjoy it
baris27 said:
Enjoy it
Click to expand...
Click to collapse
Hi @baris27 could yo Share wich method you used to make the deodex patch? I am trying to make mine but I ve got a com.android.Phone and nfc crash. Cheers.
Enviado desde mi C6903 mediante Tapatalk
juanpirulo said:
Hi @baris27 could yo Share wich method you used to make the deodex patch? I am trying to make mine but I ve got a com.android.Phone and nfc crash. Cheers.
Enviado desde mi C6903 mediante Tapatalk
Click to expand...
Click to collapse
I have made one myself without any problems, using latest SVA Deodexer. You may try it, too.
NFS_FM said:
I have made one myself without any problems, using latest SVA Deodexer. You may try it, too.
Click to expand...
Click to collapse
Yes i have too. But i was trying with joeldroid and this one have some problems with deodexing some apks. I guess sva is the right one to get de system deodex. Cheers
Enviado desde mi C6903 mediante Tapatalk
juanpirulo said:
Yes i have too. But i was trying with joeldroid and this one have some problems with deodexing some apks. I guess sva is the right one to get de system deodex. Cheers
Enviado desde mi C6903 mediante Tapatalk
Click to expand...
Click to collapse
Yes, JoelDroid hasn't been updated for long.
Just make sure you copy SemcGenericUxpRes from /framework and ChromeCustomizations and ims from /vendor/app folder to /system/app, in order to get them deodexed, too.
NFS_FM said:
I have made one myself without any problems, using latest SVA Deodexer. You may try it, too.
Click to expand...
Click to collapse
Hi, I have followed your method (using svadeodexer), and the results (with no errors in the log) were 3 folders (app, framework, priv-app), can you tell me how to make a flashable zip out of these 3, and is there any additional step to take before flashing the resulted zip in recovery? thanks very much
kientrongtran said:
Hi, I have followed your method (using svadeodexer), and the results (with no errors in the log) were 3 folders (app, framework, priv-app), can you tell me how to make a flashable zip out of these 3, and is there any additional step to take before flashing the resulted zip in recovery? thanks very much
Click to expand...
Click to collapse
Yes, of course, but have you also deodexed three other files I mentioned? Creating a flashable zip is not mandatory, as you may just copy the files directly. If you really want to create one, you have to get an android script (or copy it) or create your own (there are plenty tutorials available). Finally, a nandroid backup is mandatory because you can't be sure that the zip will act as expected, and after installation, the deletion of all .dex files located in /system is important, too.
NFS_FM said:
Yes, of course, but have you also deodexed three other files I mentioned? Creating a flashable zip is not mandatory, as you may just copy the files directly. If you really want to create one, you have to get an android script (or copy it) or create your own (there are plenty tutorials available). Finally, a nandroid backup is mandatory because you can't be sure that the zip will act as expected, and after installation, the deletion of all .dex files located in /system is important, too.
Click to expand...
Click to collapse
thanks for your instructions, I've added the three additional folders, deodex using SVA, then copy/replace in recovery mode everything works beautifullly
ok i need some help to make my rom deodexed with 5.1.1 firmware. I ve got all files and i want to replaced the odex files by the deodex ones To do this i used Ubuntu with this commands.
(Copy system.ext4 to linux machine, run commands as root or with sudo)
mkdir -p /vdisk
mount -o loop system.ext4 /vdisk
cd /vdisk
(make changes as you want, make sure replaced file have same permission as previous one)
(after you finish making changes: )
umount /vdisk
(copy system.ext4 back inside zip)
The problem is that i am doing something wrong when replaced the folders app framework and priv-app into the system and the system.ext4 image i think get corrupt and doesnt boot up and i lost recovery. If someone can put me in the right dirección in the way i have to replaced this folders i would really aprecciatted. I have to say that i did this with the 5.02 firmware and have no problems so i dont know really what i doing wrong.