Related
Hi Xda-people,
After succes building a rom for the vodafone 845 I now want to deodex the rom. I have already tried the THEME-PRO v2.9 (no error on deodexing) after flashing only getting a bootloop. I olso tried another deodexing kitchen but that got stuck on bleutooth.odex and another couple apk's and odex files.
Could someone please help me out here?
Thanx in advance
So its a stock android rom ? Try the deodex script link in my signature.
Also for bluetooth u need to add javax.obex.jar to ur classpath.
Daneshm90 said:
So its a stock android rom ? Try the deodex script link in my signature.
Also for bluetooth u need to add javax.obex.jar to ur classpath.
Click to expand...
Click to collapse
i have tried your script and got stuck on a couple of apk's + odex files that could'nt be deodexed.. could you also explain what you mean with add javax-obex.jar to ur classpath? I'm complete new to the rombuild scene..
it's based on a stock rom, i have added some features and delete some standaard apps..
freddyemmer said:
i have tried your script and got stuck on a couple of apk's + odex files that could'nt be deodexed.. could you also explain what you mean with add javax-obex.jar to ur classpath? I'm complete new to the rombuild scene..
it's based on a stock rom, i have added some features and delete some standaard apps..
Click to expand...
Click to collapse
Ok once its done deodexing, u'll have a couple of apks left that couldn't be deodexed. If its bluetooth.apk, select option 2 (custom classpath) and type javax.obex.jar
Most of the time the error u get when deodexing should tell u wht apk it needs in its classpath.
But when i use your script i don't see the errors because it's continue's to the next apk.. or framework. this rom also has 2 framework apks does that matter?
freddyemmer said:
But when i use your script i don't see the errors because it's continue's to the next apk.. or framework. this rom also has 2 framework apks does that matter?
Click to expand...
Click to collapse
Can u upload the rom, ill deodex n upload it back. ill let u know what i did.
http://www.mediafire.com/?d754c9ljn48c368
that's my rom.. Thanx in advance...
Ok cool so got the whole rom deodexed.
For bluetooth u needed javax.obex.jar and for the rest u needed com.google.android.gtalkservice.jar in ur classpath.
Uploading shortly...
Here u go
Link
For bluetooth u needed javax.obex.jar and for the rest u needed com.google.android.gtalkservice.jar in ur classpath
Click to expand...
Click to collapse
so if i got it right you choose option 2 and typte
javax.obex.jar:com.google.android.gtalkservice.jar
freddyemmer said:
so if i got it right you choose option 2 and typte
javax.obex.jar:com.google.android.gtalkservice.jar
Click to expand...
Click to collapse
Yup. I did em individually but doesn't matter that way should work as well.
Daneshm90 said:
Yup. I did em individually but doesn't matter that way should work as well.
Click to expand...
Click to collapse
help again adding the new apk and framework files i get a fc on com.android.phone.. please help..
freddyemmer said:
help again adding the new apk and framework files i get a fc on com.android.phone.. please help..
Click to expand...
Click to collapse
Are u wiping and flashing ?
Daneshm90 said:
Are u wiping and flashing ?
Click to expand...
Click to collapse
i replaced all the apps and framework in my working folder zipped and signed did a full wipe and flashed it.. then setup came up and saying fc on phone
freddyemmer said:
i replaced all the apps and framework in my working folder zipped and signed did a full wipe and flashed it.. then setup came up and saying fc on phone
Click to expand...
Click to collapse
Hmmm. Can u check ur log to see why it force-closes ? also does it let u continue or are u stuck at setup ? i want to know if other apps fc.
it won't allow me to finish the setup.. maybe stupid question but how do i get the log?
freddyemmer said:
it won't allow me to finish the setup.. maybe stupid question but how do i get the log?
Click to expand...
Click to collapse
Type "adb logcat" in command prompt.
Oke tried it but logcat is disabled on my rom.. I used the commands in recovery
echo 1 > /sys/kernel/logger/log_main/enable // ** '1' is enable log_main,
echo 2 >/sys/kernel/logger/log_main/priority // ** '2' is the log level, you can get the level number from the android source code.
but that apparently has no effect for the rom.. I think something went wrong while deodexing.. any tips how to enable the logcat?
tried deodexing it again with the 2 yar files.. it's not only phone that fc also setup fc.. trying to find out how to add catlog to my rom so i can check it..
Could someone explain me how to properly deodex Stock Sony Lollipop 5.1.1? I have tried the same method used on 5.0.2 but framework folder is giving me bootloops.
Yes same poblem here
How we can deodex 5.1.1 on xperia z ?
@IaguCool @serajr
Don't know why you're having such a problem, I've already deodexed 5.1.1 for Z to port some apps to my Z1. Didn't have any problems.
IaguCool said:
Don't know why you're having such a problem, I've already deodexed 5.1.1 for Z to port some apps to my Z1. Didn't have any problems.
Click to expand...
Click to collapse
With which tool?
Did you flash on your phone?
because get bootloop
Hamidreza2010 said:
With which tool?
Did you flash on your phone?
because get bootloop
Click to expand...
Click to collapse
I have a Z1, how could I flash it?
IaguCool said:
I have a Z1, how could I flash it?
Click to expand...
Click to collapse
Ok then didnt test it ( you cant )
I could deodex 5.1.1 from xperia z but when flashed on phone , get bootloop
Hamidreza2010 said:
Ok then didnt test it ( you cant )
I could deodex 5.1.1 from xperia z but when flashed on phone , get bootloop
Click to expand...
Click to collapse
Would definitely help if I had a Z.
IaguCool said:
Would definitely help if I had a Z.
Click to expand...
Click to collapse
Oh yes thanks :highfive:
@IaguCool
Can you confirm this please?
> Unpack odex.app.sqsh and odex.priv-app.sqsh
> Replace .odex files in folders (app and priv-app)
> Leave framework folder as is.
> Start deodexing and flash to phone
Did you use a batch deodexer? Which version of oat2dex did you used?
xkeita said:
@IaguCool
Can you confirm this please?
> Unpack odex.app.sqsh and odex.priv-app.sqsh
> Replace .odex files in folders (app and priv-app)
> Leave framework folder as is.
> Start deodexing and flash to phone
Did you use a batch deodexer? Which version of oat2dex did you used?
Click to expand...
Click to collapse
Deodex framework also, use JoelDroid:
http://forum.xda-developers.com/and.../script-app-joeldroid-lollipop-batch-t2980857
But replace its "tools/oat2dex.jar" with this oat2dex.jar:
https://github.com/testwhat/SmaliEx/blob/master/smaliex-bin/oat2dex.jar
This will prevent the mistakes in services.jar and framework.jar.
Also you should decompile services.jar and replace the compareSignature function just in case. ("Super user mod")
IaguCool said:
Deodex framework also, use JoelDroid:
http://forum.xda-developers.com/and.../script-app-joeldroid-lollipop-batch-t2980857
But replace its "tools/oat2dex.jar" with this oat2dex.jar:
https://github.com/testwhat/SmaliEx/blob/master/smaliex-bin/oat2dex.jar
This will prevent the mistakes in services.jar and framework.jar.
Also you should decompile services.jar and replace the compareSignature function just in case. ("Super user mod")
Click to expand...
Click to collapse
Dear you mean:
I download oat2dex.jar from this link:
https://github.com/testwhat/SmaliEx/blob/master/smaliex-bin/oat2dex.jar
and replace here ( tools/oat2dex.jar ) with joeldroid-lollipop-batch
then try to deodex 5.1.1 and finally when finished , make superuser mod .yes?
is it any thing more?
thanks
Hamidreza2010 said:
Dear you mean:
I download oat2dex.jar from this link:
https://github.com/testwhat/SmaliEx/blob/master/smaliex-bin/oat2dex.jar
and replace here ( tools/oat2dex.jar ) with joeldroid-lollipop-batch
then try to deodex 5.1.1 and finally when finished , make superuser mod .yes?
is it any thing more?
thanks
Click to expand...
Click to collapse
I think it should work, can't be 100% sure though.
IaguCool said:
I think it should work, can't be 100% sure though.
Click to expand...
Click to collapse
already i could deodex successfully and without any error with SVA Lollipop Deodexer For Art 3.5 but get bootloop.
now try with your way
thanks
Hamidreza2010 said:
already i could deodex successfully and without any error with SVA Lollipop Deodexer For Art 3.5 but get bootloop.
now try with your way
thanks
Click to expand...
Click to collapse
Their oat2dex might be outdated, and that causes deodexing mistakes in services.jar and framework.jar. Try my method.
IaguCool said:
Deodex framework
Click to expand...
Click to collapse
Where should I get the odex files for framework? I can't seem to find them in any sqsh file, only the ones present in framework/art folder
IaguCool said:
Their oat2dex might be outdated, and that causes deodexing mistakes in services.jar and framework.jar. Try my method.
Click to expand...
Click to collapse
OOHHH
I tried but get bootloop again
I download oat2dex from your link and move to \Lollipop Batch Deodexer 2.5\tools and replace here and start to deodex 5.1.1 from z.as already deodex without any problem but when flashed,get bootloop
Hamidreza2010 said:
OOHHH
I tried but get bootloop again
I download oat2dex from your link and move to \Lollipop Batch Deodexer 2.5\tools and replace here and start to deodex 5.1.1 from z.as already deodex without any problem but when flashed,get bootloop
Click to expand...
Click to collapse
Yup, that's what happening, if you only replace files from app and priv-app you won't get any bootloop (maybe a phone fc when answring a call), but go with framework folder and it'll go bootloop all the way around
Mail me a Xperia Z device and I might be able to help XD
Anyways, I'm using Z1 with 5.1.1 fully deodexed and highly customized by me (modified many system apps). Works damn perfect...
IaguCool said:
Mail me a Xperia Z device and I might be able to help XD
Anyways, I'm using Z1 with 5.1.1 fully deodexed and highly customized by me (modified many system apps). Works damn perfect...
Click to expand...
Click to collapse
Xperia Z and Z1 filesystem structure should be the same...
Hello guys
Hope every one fine..
I just want to share the Deodexed part of nougat rom
All you need to be on nougat rom
For stock nougat ftf Click here by @freaky2xd
I know it was a beta rom
I will update this even after official release
Requirement:-
1. Need to be running Beta Nougat
2. Recovery
3. Devices with all E6xxx except Z5C/Z5P
4. and patience
Download this Deodexed with Superuser mode patch :- https://www.mediafire.com/?dvvhi9t1vodocf1
get in to recovery and flash
Now reboot
Done..!
Thanks to @superR for SuperR Kitchen Tool
Thanks to @xpirt for his Fulmics Deodexer ( as i used for few apps )
Thanks to @lord-ralf-adolf for updater sh script to delete odex files
is this deodex rom for z5d e6683 ?
/delete
Tnx bro for your Amazing WORK
Very nice job bro tnx for amazing DEODEXED ROM
:laugh:
Link no work
anjelz2012 said:
Link no work
Click to expand...
Click to collapse
For me its working perfect
Plz share device details and and superuser mod zip
rajdeep312 said:
Plz share device details and and superuser mod zip
Click to expand...
Click to collapse
rajdeep312 said:
Thnx bro but is zip flashable on e6683 dual??? plz need separate zip superuser mod if u have plz upload
Click to expand...
Click to collapse
kally7 said:
hi, i cannot find my type of sony i have , my kernel is 3.4.6.67 buld number m11v20_dhl_a01_c_fw_001_en_v06 model number z5
Click to expand...
Click to collapse
It was detailed as this is for z5 devices bro ( all E6xxx ) except Z5C/Z5P
Why asking same question again and again brother ?
Super user mod alone never work until it was deodexed
Everything is in zip bro
If you still need only superusermod Try this TUT
venkat kamesh said:
I was detailed for z5 devices bro
Meant only z5 not z5c or z5p
Only with deodex superuser possible
Everything is in zip bro
Sent from my E6683 using XDA-Developers Legacy app
Click to expand...
Click to collapse
Thnx bro but is zip flashable on e6683 dual??? plz need separate zip superuser mod if u have plz upload
hi, i cannot find my type of sony i have , my kernel is 3.4.6.67 buld number m11v20_dhl_a01_c_fw_001_en_v06 model number z5
Tried this on E6683
No luck. Error in TWRP while installing.
Have been using Substratum on stock rom, could that be a reason?
agentsandy007 said:
Tried this on E6683
No luck. Error in TWRP while installing.
Have been using Substratum on stock rom, could that be a reason?
Click to expand...
Click to collapse
which error ?
Ran this script now my camera is just black, tried multiple camera's. E6653.
EDIT: Fixed
Hamidreza2010 said:
which error ?
Click to expand...
Click to collapse
Never mind.
That error has nothing to do with this deodexer.
This zip is working perfectly fine.
venkat kamesh said:
Hello guys
Hope every one fine..
I just want to share the Deodexed part of nougat rom
All you need to be on nougat rom
For stock nougat ftf Click here by @freaky2xd
I know it was a beta rom
I will update this even after official release
Requirement:-
1. Need to be running Beta Nougat
2. Recovery
3. Devices with all E6xxx except Z5C/Z5P
4. and patience
Download this Deodexed with Superuser mode patch :- https://www.mediafire.com/?dvvhi9t1vodocf1
get in to recovery and flash
Now reboot
Done..!
Thanks to @superR for SuperR Kitchen Tool
Thanks to @xpirt for his Fulmics Deodexer ( as i used for few apps )
Thanks to @lord-ralf-adolf for updater sh script to delete odex files
Click to expand...
Click to collapse
I cant seem to flash your ZIP because of system write commit issue I am facing with my Z5 nougat ..
can you please make a stock 372 N flashable deodexed rooted TWRP ROM for us Z5 E6683 DSDS user ???
It would be great
kally7 said:
hi, i cannot find my type of sony i have , my kernel is 3.4.6.67 buld number m11v20_dhl_a01_c_fw_001_en_v06 model number z5
Click to expand...
Click to collapse
If you haven't already found it, go to:
Settings -> About phone -> Model number
Click to expand...
Click to collapse
L33Tgod said:
Ran this script now my camera is just black, tried multiple camera's. E6653.
EDIT: Fixed
Click to expand...
Click to collapse
I am having difficulties with my camera too.
i think superuser mod is not working.
As I unlocked the camera with APK tool for nougat and tried replacing with the stock one.
it says camera is busy by another process.
rajdeep312 said:
Thnx bro but is zip flashable on e6683 dual??? plz need separate zip superuser mod if u have plz upload
Click to expand...
Click to collapse
chinmoy32 said:
I am having difficulties with my camera too.
i think superuser mod is not working.
As I unlocked the camera with APK tool for nougat and tried replacing with the stock one.
it says camera is busy by another process.
Click to expand...
Click to collapse
@ L33Tgod found out that the camera black issue is with the vulkan driver flashable ZIP LIBs , not the the deodexed --
I found out that the patched services.jar is somehow not working with my edited camera UI apk.
so I decompiled a stock JAR and then force the compare function to return always 0 .
Now my edited cameraUI from XZ is running fine
Here is the jar file, u can replace the stock with this one -----
View attachment services.jar
chinmoy32 said:
@ L33Tgod found out that the camera black issue is with the vulkan driver flashable ZIP LIBs , not the the deodexed --
I found out that the patched services.jar is somehow not working with my edited camera UI apk.
so I decompiled a stock JAR and then force the compare function to return always 0 .
Now my edited cameraUI from XZ is running fine
Here is the jar file, u can replace the stock with this one -----
View attachment 4035075
Click to expand...
Click to collapse
Finally superuser.jar in deodex.zip is work currectly or not?
Hamidreza2010 said:
Finally superuser.jar in deodex.zip is work currectly or not?
Click to expand...
Click to collapse
u meant "services.jar" ????? inside the deodexed zip file ??
for me it did not----
I patched my own and now edited APKs with APK tool can run without problem
Here is the Extremely DeBloated DeOdexed Patch for Z5 E6683 DSDS 32.3.A.0.376 MY Nougat Firmware with Patched SERVICES.JAR [superuser MOD]
Downloads :
Extremely De-Bloated DeOdexed Patch [Flashable] for Z5 E6683 DSDS v32.3.A.0.376 MY: HERE
Patched Rooted Stock Kernel for Z5 Series .376 Nougat Firmware : HERE
Stock FTF Firmware for Z5 E6683 DSDS v32.3.A.0.376 MY : HERE
Please HIT Thanks if this post helped you in any way.
reserved
reserved for second post
@chinmoy32 bro first thanks a lot . i will try at 6633 but it would be great , if you add list of app was removed from deodex.zip
hello,
what is actually inside the patched kernel ?
is it with drm fix ?
---edit
just read ur other thread about ur kernel, nvm
@chinmoy32 dear i flashed you deodex.zip.all thing is ok except my display and font or all apk ia very small.
what did change you in deodex.zip?
i want to revert to stock size.
would you please help me here?
wait for it
thanks
Hamidreza2010 said:
@chinmoy32 dear i flashed you deodex.zip.all thing is ok except my display and font or all apk ia very small.
what did change you in deodex.zip?
i want to revert to stock size.
would you please help me here?
wait for it
thanks
Click to expand...
Click to collapse
Thats nothing to worry about.................... my friend
I personally use lcd density = 320 , so it is set to 320 in build.prop
just change it back to 480 which is default size and your phone will be back to its normal stock PPI
Hey chinmoy, I've tried many times to flash this patch, but errors occurred every time the phone starts up:
"org.codeaurora.ims has stopped"
"Bluetooth Share has stopped"
Click to expand...
Click to collapse
I don't know what is wrong, and here's my steps:
1. flash stock firmware via flashtool, wipe all.
2. flash kernel via fastboot ( fastboot flash boot 376_NO_SU.img ).
3. flash SuperSU via twrp, wipe cache/dalvik, and reboot.
4. flash deodexed patch via twrp, wipe cache/dalvik, and reboot.
Click to expand...
Click to collapse
step 3 and 4 got a error:
e: legacy property environment did not initialize successfully, properties may not be detected.
Click to expand...
Click to collapse
However nothing is wrong until the patch installed, errors pop up after system starts up, and bluetooth cannot be switched on.
All of the staffs downloaded from your thread.
And one more question, what is the path of the stock camera apk?
chinmoy32 said:
reserved
Click to expand...
Click to collapse
Bro seems Bluetooth not work and get FC
did you saw this issue?
Hamidreza2010 said:
Bro seems Bluetooth not work and get FC
did you saw this issue?
Click to expand...
Click to collapse
yes,
now that you mentioned it , I checked and found the same issue !!
Maybe something to do with deodexing--
need to check
chinmoy32 said:
yes,
now that you mentioned it , I checked and found the same issue !!
Maybe something to do with deodexing--
need to check
Click to expand...
Click to collapse
Ok bro if fix that please put here just fix.zip
thanks a lot
@chinmoy32 Will you have any further development for this ROM rather than just stock. I mean will you mod it further (add XZ features, other great stuffs...) to make it a true ROM, not just a debloated TFT?
Yes I'm also having issue with org.codeaurora.ims not working and Bluetooth share too.
sirdoha said:
@chinmoy32 Will you have any further development for this ROM rather than just stock. I mean will you mod it further (add XZ features, other great stuffs...) to make it a true ROM, not just a debloated TFT?
Click to expand...
Click to collapse
No, I have no plan to do anything else , neither do I have that amount of time.
I found out I cant use WhatsApp video call too
Chrome is having problem too sir.
Because I wanna use Bluetooth , I restore a backup using twrp to go back to without patch, and now I'm stuck in recovery , keep looping back to twrp even though I tried to boot system
sorry for asking, but can you provide list which apps that removed? I'm just wanna debloat everything as much as I can
thanks
ryandxter said:
sorry for asking, but can you provide list which apps that removed? I'm just wanna debloat everything as much as I can
thanks
Click to expand...
Click to collapse
+1
https://forum.xda-developers.com/showpost.php?p=71010120&postcount=4
chinmoy32 said:
yes,
now that you mentioned it , I checked and found the same issue !!
Maybe something to do with deodexing--
need to check
Click to expand...
Click to collapse
Hi
this is fix for bluetooth
just flash via recovery
you can add to the first post:
Here is the long anticipated SUPERUSER MOD [ Patched SERVICES.JAR ] for Z5 E6683 DSDS Nougat 32.2.A.0.376 Firmware
Downloads :
Superuser MOD [Patched services.jar] for Z5 Series .376 Nougat Firmware : HERE
Instructions:
- Just Copy and replace the JAR File using Root Explorer with the STOCK one inside /system/framework/ folder.
- Set permission to 644
- Restart and enjoy ..
Please HIT Thanks if this post helped you in any way.
reserved
reserved for second post
I think we can use it for E6633 too,that's right?what about odex roms?
I see a jar file. Can it be flashed from recover too?
s.hossein said:
I think we can use it for E6633 too,that's right?what about odex roms?
Click to expand...
Click to collapse
You should be able to use it for E6603
keep a back up and then try
bishshoy said:
I see a jar file. Can it be flashed from recover too?
Click to expand...
Click to collapse
That JAR file is the patched services.jar
Which is called the SUPERUSER MOD . you need to have root access to your SYSTEM and then use some file explorer to copy the JAR from and replace the stock one inside /system/framework/ folder .
then restart. You will be able to mod system APK from now on...
Sorry for the misleading instruction on the OP
delete, wrong thread
@chinmoy32 I installed this on my E6633 and it's working fine. I would like to know though how do you patch these? Is there any tool you would recommend?
@chinmoy32 its not working on 378 FW...
Im using yur camera mod buh fc when switch from manual to auto...
Dna10 said:
@chinmoy32 I installed this on my E6633 and it's working fine. I would like to know though how do you patch these? Is there any tool you would recommend?
Click to expand...
Click to collapse
whalesplaho said:
@chinmoy32 its not working on 378 FW...
Im using yur camera mod buh fc when switch from manual to auto...
Click to expand...
Click to collapse
make manually :
https://forum.xda-developers.com/cr...guide-disable-signature-verification-t3549952
Hamidreza2010 said:
make manually :
https://forum.xda-developers.com/cr...guide-disable-signature-verification-t3549952
Click to expand...
Click to collapse
I did dah buh seems 378 fw update has mew security or something... I dnt know why it's not working cos did same on 376 fw n works fine.
I got it working atlasts...... Thanks!
whalesplaho said:
I got it working atlasts...... Thanks!
Click to expand...
Click to collapse
how dear ?
what you did ?
Hey guys i made superusermod for .378 and test on my device and work without problem
i think , you use it too.
Download
thanks to @venkat kamesh for his awesome guide
Hamidreza2010 said:
how dear ?
what you did ?
Click to expand...
Click to collapse
Seems it was superuser not in permissive mode brov..... Just use tha guide provided and make sure root access is allowed and permissive is active.
But im using @serajr method n it works... It is posted in his callrecording thread. Except camera unlocked dat fc on front camera.
whalesplaho said:
@chinmoy32 its not working on 378 FW...
Im using yur camera mod buh fc when switch from manual to auto...
Click to expand...
Click to collapse
Dude , I checked on 378 and found no problems at all.
chinmoy32 said:
Dude , I checked on 378 and found no problems at all.
Click to expand...
Click to collapse
buddy i wont mind if yhu help.... i modded packagemanagerservice.smali & replace tha stock one..... font selector dat needs superuser working fine!
whalesplaho said:
@chinmoy32 its not working on 378 FW...
Im using yur camera mod buh fc when switch from manual to auto...
Click to expand...
Click to collapse
Dude , dont be so sure that my MOD is not working.
first completely flash the FTF , then the patched stock kernel then SU, then flash the deodexed patch I made. then replace the camera APK.
If you still have probs then I am sorry for you coz so many others are using the MOD with out any problem whatsoever.
chinmoy32 said:
Dude , dont be so sure that my MOD is not working.
first completely flash the FTF , then the patched stock kernel then SU, then flash the deodexed patch I made. then replace the camera APK.
If you still have probs then I am sorry for you coz so many others are using the MOD with out any problem whatsoever.
Click to expand...
Click to collapse
Thanks buddy...... I have solved my prob!
Appreciate....