ART support for deodexed roms? - Android Q&A, Help & Troubleshooting

It might be a stupid question but i haven't managed to find this anywhere. All i've found is that in AOSP roms such as CM11 you must flash ART compatible gapps, but i've no clue on whats needed for a stock deodexed rom to be changed in order to get art working
So if anyone could help it would be greatly appreciated
Thanks in advance
Btw i wasn't sure where to post this, if this is not the right section could it please be moved?

coldflid said:
It might be a stupid question but i haven't managed to find this anywhere. All i've found is that in AOSP roms such as CM11 you must flash ART compatible gapps, but i've no clue on whats needed for a stock deodexed rom to be changed in order to get art working
So if anyone could help it would be greatly appreciated
Thanks in advance
Btw i wasn't sure where to post this, if this is not the right section could it please be moved?
Click to expand...
Click to collapse
ART doesn't function with deodexed apps.
The odex files are necessary for bytecode to machine code compilation.
source: THIS FORUM November 2013
http://forum.xda-developers.com/google-nexus-5/general/dedicated-runtime-thread-art-vs-dalvik-t2516646

nelsonbran said:
ART doesn't function with deodexed apps.
The odex files are necessary for bytecode to machine code compilation.
source: THIS FORUM November 2013
http://forum.xda-developers.com/goo...dicated-runtime-thread-art-vs-dalvik-t2516646
Click to expand...
Click to collapse
I figured out a way to make it work without odex, thanks anyway

Related

[ROM][XWKL1] Stock Deodexed SGS2 ROM

This is for those of you who like Samsung stock stuff.
I've created a deodexed ROM from stock XWKL1 firmware.
Its rooted with ChainsDD and BusyBox added.
The freedom of custom with the stock touch...enjoy!
Installation instructions :
1. Copy the ZIP to your sdcard
2. Flash via CWM Recovery.
3. Do a wipe data/factory reset if need.
4. Enjoy
Download the ZIP here.
Hope it helps people
Debadatta said:
This is for those of you who like Samsung stock stuff.
I've created a deodexed ROM from stock XWKL1 firmware.
Its rooted with ChainsDD and BusyBox added.
The freedom of custom with the stock touch...enjoy!
Installation instructions :
1. Copy the ZIP to your sdcard
2. Flash via CWM Recovery.
3. Do a wipe data/factory reset if need.
4. Enjoy
Download the ZIP here.
Hope it helps people
Click to expand...
Click to collapse
Thank you soooo much my friend!!! You saved my life!!! Haha! Exactly what i was lookin' for! Could you explain me in a PM how to deodex a rom please...?
Thanx again for the great work!
Check here http://forum.xda-developers.com/showthread.php?t=633246
SPACE ALIEN said:
Thank you soooo much my friend!!! You saved my life!!! Haha! Exactly what i was lookin' for! Could you explain me in a PM how to deodex a rom please...?
Thanx again for the great work!
Click to expand...
Click to collapse
af974 said:
Check here http://forum.xda-developers.com/showthread.php?t=633246
Click to expand...
Click to collapse
Main problems I had when trying to deodex XWKL1 with dsixda:
Voice Search, Maps, and Phonesky (the new name for the Market APK) would not deodex. This was solvable by:
Pulling VoiceSearch.apk from XXKI3
Pulling the updated Market APK from a working device and replacing Phonesky.apk with it
I didn't bother with Maps because it can be installed from the Market
The remaining issue I have:
On my device, when I press the Back button to exit from video playback, the video player hangs instead of exiting. It seems to be specific to my attempt at deodexing with dsixda.
Edit - Two major issues with your post:
1) You should state the base in the thread title
2) Your release is broken - you didn't bother to rectify the failure of the Market APK to deodex, and as a result, there is no Market in it.
However video playback is working, so it's time to figure out why that isn't working on my own deodexed device.
thx for the f/back, need to wait for market fix first b4 using this
SPACE ALIEN said:
Thank you soooo much my friend!!! You saved my life!!! Haha! Exactly what i was lookin' for! Could you explain me in a PM how to deodex a rom please...?
you can try to deodex rom with xUltimate vs2.2.8;for me is perfect.
Click to expand...
Click to collapse
i am a new in sgs stuffs i want to know what difference between KL1 AND KL2 i know that KL2 is the latest .thanks
Are there any bugs?
zemariaabreusantos said:
Are there any bugs?
Click to expand...
Click to collapse
One bug got to be known today is that Phonesky.apk (Market) failed to deodex and it is not included in the ROM. However, you can install market manually. See attached file.
Report back if you have problems.
zenosteam said:
i am a new in sgs stuffs i want to know what difference between KL1 AND KL2 i know that KL2 is the latest .thanks
Click to expand...
Click to collapse
nop. the latest are LA2 and LA4
question to forum mods. should this be in original android development or in android development ? I say this cause I have a few odexed deodexed roms myself and I use the android development instead of original.
best regards,
remorema
Please if someone could post here a link contains the Android package installer.APK odexed from XWKL1, I'd be grateful. thank you.
ok got it, thank you guys
this should be in android dev and not Original development::: MOd's move this thread please
belongs in the android development
Hi guys how I stock orders?
I've read, but I could not understand :S
afemesya said:
Hi guys how I stock orders?
I've read, but I could not understand :S
Click to expand...
Click to collapse
Please elaborate your question.
Sent from my GT-I9100 using Tapatalk
Debadatta said:
One bug got to be known today is that Phonesky.apk (Market) failed to deodex and it is not included in the ROM. However, you can install market manually. See attached file.
Report back if you have problems.
Click to expand...
Click to collapse
Hi
I installed the market apk as attached, but it keeps forceclosing - I've tried everything!
Help!
Cheers!
guy3001 said:
Hi
I installed the market apk as attached, but it keeps forceclosing - I've tried everything!
Help!
Cheers!
Click to expand...
Click to collapse
Deodexed market is a hard thing to find. Now even more because its Google play. I'll try to fix them in the ICS version.
Sent from my GT-I9100 using Tapatalk
CWM Updater script?
Hi,
Could anyone please provide me the CWM updater script found in this deodexed rom?
Thanks in advance.

Deodex a few system apks and not framework?

Hi friends. I have read a few guides of how to deodex stock roms. I will use xUltimate.
I need to deodex only a few apks. I don't need to deodex all system apks nor framework.
Is correct to make this in this way, or is necessary to deodex all framework and all apks?
Thanks!
Bump.
Bump.
It will still work even if just the framework is deodexed
sent from cyanmobile powered Beni
Thanks for your answer!
But I want to know if I can deodex only some system apks.
Regards.
Raikkon35 said:
Thanks for your answer!
But I want to know if I can deodex only some system apks.
Regards.
Click to expand...
Click to collapse
ya you can one apk is associated with one dex file so its on individual basis btw a cwm backup would be handy before flashing
I want to install a factory image and then customize it. I think is the cleanly way. But was afraid to mess it up.
Thank you very much friend, you helped me a lot .
no mention

[Q] How to re-odex a deodexed apk [NOT ROM] or a modded zipligned apk

There are many forums showing mod files which can be easily flashed into custom roms and doesnt work with stock odex roms
what i want to do is. i want to convert those mods which works for deodexed rom to mods which work for stock odex roms.
i tried finding this on the forum. but couldnt find any.
yogeshmha said:
There are many forums showing mod files which can be easily flashed into custom roms and doesnt work with stock odex roms
what i want to do is. i want to convert those mods which works for deodexed rom to mods which work for stock odex roms.
i tried finding this on the forum. but couldnt find any.
Click to expand...
Click to collapse
How about : http://forum.xda-developers.com/showthread.php?t=1879128
nikufellow said:
How about : http://forum.xda-developers.com/showthread.php?t=1879128
Click to expand...
Click to collapse
ok i am checking that.. can you also tell how to make them to mods like flashable zips
nikufellow said:
How about : http://forum.xda-developers.com/showthread.php?t=1879128
Click to expand...
Click to collapse
he said this wont work and replied this
alkhafaf said:
I am sorry
But this thread covers a apk or jar which u should already deodexed, then use the tool to odex back after modding.
Sent from my GT-I9000 using Tapatalk 2
Click to expand...
Click to collapse
Sorry mate i don't know of any method of theming or modifying odexed apks so converting mods for deodexed apks into odex is a no go afaik
leap before you think
I'm interested in this as well, anyone have a method for lollipop?

[REQ] Remove CRT Screen animation

Anyone have a .zip I can flash to remove this? It installed itself with newt's NOS m7 4.2.2 rom and i've flashed other roms after that and it won't go away....
whtciv2k said:
Anyone have a .zip I can flash to remove this? It installed itself with newt's NOS m7 4.2.2 rom and i've flashed other roms after that and it won't go away....
Click to expand...
Click to collapse
unfortunately i cannot download the roim currently but if you have the rom available lookin in the the framework folder there should be a file labeled services jar - if you zip that over to me and i will try to fix that for you
xvicedice said:
unfortunately i cannot download the roim currently but if you have the rom available lookin in the the framework folder there should be a file labeled services jar - if you zip that over to me and i will try to fix that for you
Click to expand...
Click to collapse
Thanks dude, I've attached the file. There's a ton of users in the NOS 4.2.2 GPE that want this fixed but we can't seem to figure out how. If you get this fixed for us then you're an absolute life saver. Happen to know this stuck around even when flashing to a completely different rom?
Thanks
whtciv2k said:
Thanks dude, I've attached the file. There's a ton of users in the NOS 4.2.2 GPE that want this fixed but we can't seem to figure out how. If you get this fixed for us then you're an absolute life saver. Happen to know this stuck around even when flashing to a completely different rom?
Thanks
Click to expand...
Click to collapse
apologies can you also please forward me the services.odex file please (in the same folder) again no promises but ill take a look
[/ATTACH]
xvicedice said:
apologies can you also please forward me the services.odex file please (in the same folder) again no promises but ill take a look
Click to expand...
Click to collapse
Attached.
Thanks
xvicedice said:
apologies can you also please forward me the services.odex file please (in the same folder) again no promises but ill take a look
Click to expand...
Click to collapse
Any help that you can provide whether there is a resolution or not is much appreciated.
whtciv2k said:
Any help that you can provide whether there is a resolution or not is much appreciated.
Click to expand...
Click to collapse
i will work on this tonight for you
in the meantime just open up settings go to developer options and deselect windows animations for now reboot your phone and this will disable CRT
xvicedice said:
i will work on this tonight for you
in the meantime backup first - use a fileexplorer and navigate to root, select system and open the build prop with a text editor.. under ui tweaks add the following debug.sf.electron_frames=1
Click to expand...
Click to collapse
Thanks. I'll run a nandroid and give that a shot.
whtciv2k said:
Thanks. I'll run a nandroid and give that a shot.
Click to expand...
Click to collapse
apologies the post you quatoed was meant for another forum, please follow the new post for now just go into the developement options on your phone and deactivate window animations - This will disable the CRT until i take a look at the Services.jar
xvicedice said:
apologies the post you quatoed was meant for another forum, please follow the new post for now just go into the developement options on your phone and deactivate window animations - This will disable the CRT until i take a look at the Services.jar
Click to expand...
Click to collapse
Done. Thanks! :good:

[EOL][TOOL][LINUX] Batch Lollipop Deodex (v1.9.4 - 8/15/15)

Disclaimer: I am not responsible for anything bad that may occur from the use of this tool, but I will take all the credit you can give me if it works for you
This tool is now deprecated in favor of SuperR's Kitchen
Batch Lollipop Deodex Tool for Linux
This tool has successfully deodexed the framework, app, and priv-app of the Moto E 2015, Samsung Galaxy Note 4, and Nexus 6. It should work on many others so please let us know your experience.
If you ask a question like "Will this work for the (Android device name here)?" the answer will almost certainly be "I don't know".
There is a readme included in the zip that explains general usage so please have a look there before asking. If there are issues, I will do my best to fix them.
Please do not repost this information or mirror the downloads. Feel free to post a link to this thread anywhere you like.
Enjoy!
Download:
deodex_lollipop_linux_v1.9.4.zip
Dependencies: (more info)
p7zip-full (7za)
java 7 (openjdk-7-jre works well)
Source
Thanks to:
testwhat - for SmaliEx
JesusFreke - for smali/baksmali
Changes:
v1.9.4
Added support for xz compressed odex files (Galaxy s5 and probably others)
v1.9
Adjustments for deodexing arm64 and x86_64 roms
Fixed a problem with deodexing apk's in framework dir
Better auto-detection of arch and api
UI improvments
Sped up performance by eliminating checks for things we already know
Squashed a few other random bugs
v1.8
Added support for ROMs with fake odexed files
Added support for odexed apk's in the framework directory
Added ARCH auto detection
Added API auto detection if build.prop is present
v1.7
Cleaned up the code a bit
Sped up framework deodexing by at least double
v1.6
Added support for gzipped odex files
v1.5
Cleaned UI more
Script will no longer let you pass with the wrong arch variable
v1.4
Cleaned up the UI a bit
Now it will only allow Lollipop API levels to be entered
Sped up the process by eliminating redundancy for frameworks with multiple classes
v1.3
Added check for dependencies
v1.2
Initial release
Welcome
Welcome back @SuperR. great way to make an entrance
Thanks for the Deodex script.
bigrammy said:
Welcome back @SuperR. great way to make an entrance
Thanks for the Deodex script.
Click to expand...
Click to collapse
Thanks for the warm welcome I hope the script helps some people out.
SuperR. said:
Thanks for the warm welcome I hope the script helps some people out.
Click to expand...
Click to collapse
Guaranteed! [emoji89] The most often repeated question I hear repeated over & over is: "How do deodex LP.. Does this or that Kitchen do so?" No, no current Kitchens do so yet and NO more Windows OS required to deodex LP with your new program!! This is Phenomenal. Thanx SuperR!! [emoji41]
Gratefully Sent from my rooted N9510 JollyRoger 4G
bcrichster said:
Guaranteed! [emoji89] The most often repeated question I hear repeated over & over is: "How do deodex LP.. Does this or that Kitchen do so?" No, no current Kitchens do so yet and NO more Windows OS required to deodex LP with your new program!! This is Phenomenal. Thanx SuperR!! [emoji41]
Gratefully Sent from my rooted N9510 JollyRoger 4G
Click to expand...
Click to collapse
Thanks for the kind words
I would thank your post but apparently I am only allowed to thank 8 posts per day and have reached my quota lol
[emoji16] Ur the Mann & this just proves it! I'm very glad to help in any way I can, You're helping way more ppl than anything I could do and I'm excited for you. I hope this takes off in all the right directions and I'm glad you posted here.. But AF was rocking you first!. Props bro! [emoji41]
Gratefully Sent from my rooted N9510 JollyRoger 4G
bcrichster said:
[emoji16] Ur the Mann & this just proves it! I'm very glad to help in any way I can, You're helping way more ppl than anything I could do and I'm excited for you. I hope this takes off in all the right directions and I'm glad you posted here.. But AF was rocking you first!. Props bro! [emoji41]
Gratefully Sent from my rooted N9510 JollyRoger 4G
Click to expand...
Click to collapse
Thanks again.
Pretend I pushed the thanks button What an interesting concept to limit thanking people for their work and helpful comments
v1.4 is up. Changes are in post #2.
Also added some screenshots
SuperR. said:
v1.4 is up. Changes are in post #2.
Also added some screenshots
Click to expand...
Click to collapse
GitHub!! Gonna clone this..
Gratefully Sent from my rooted N9510 JollyRoger 4G
thanks for your work! i downloaded the tool & extracted as instructed... unfortunately, the tool doesn't work for me...
the tool seems to does what it says it should do, deodexing system/app, frameworks & priv-apps...
while deodexing system/app & priv-apps, an error/warning message is generated for each odexed file:
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Cannot find file or directory "/home/samadhi/Downloads/deodex_v1.4/system/priv-app/Telecom/arm/smali"
at org.jf.smali.main.main(main.java:179)
Click to expand...
Click to collapse
i load the finished files back in the zip, copy it to my device & flash... no probs, unfortunately, my device just bootloops @ the first cyanogen image...
Device: OnePlusOne
ROM: CM 12.1 - odexed
hope you can help!!
laperry1 said:
thanks for your work! i downloaded the tool & extracted as instructed... unfortunately, the tool doesn't work for me...
the tool seems to does what it says it should do, deodexing system/app, frameworks & priv-apps...
while deodexing system/app & priv-apps, an error/warning message is generated for each odexed file:
i load the finished files back in the zip, copy it to my device & flash... no probs, unfortunately, my device just bootloops @ the first cyanogen image...
Device: OnePlusOne
ROM: CM 12.1 - odexed
hope you can help!!
Click to expand...
Click to collapse
Please post a link to the rom you are trying to deodex and I will have a look.
SuperR. said:
Please post a link to the rom you are trying to deodex and I will have a look.
Click to expand...
Click to collapse
Thanks! Try this...
https://www.dropbox.com/s/r7crvwj3lbi8igx/cm-12.1-20150722-UNOFFICIAL-bacon.zip?dl=0
laperry1 said:
Thanks! Try this...
https://www.dropbox.com/s/r7crvwj3lbi8igx/cm-12.1-20150722-UNOFFICIAL-bacon.zip?dl=0
Click to expand...
Click to collapse
The rom you uploaded does not have anything to deodex. Have you already run the script on it before uploading? I need the untouched rom to see what is going on.
SuperR. said:
The rom you uploaded does not have anything to deodex. Have you already run the script on it before uploading? I need the untouched rom to see what is going on.
Click to expand...
Click to collapse
oh, ok... i'll upload it a little later... thanks again...
SuperR. said:
The rom you uploaded does not have anything to deodex. Have you already run the script on it before uploading? I need the untouched rom to see what is going on.
Click to expand...
Click to collapse
Try this one...
https://www.dropbox.com/s/yzmlhi15lq07gtn/cm-12.1-20150720-UNOFFICIAL-bacon.zip?dl=0
laperry1 said:
Try this one...
https://www.dropbox.com/s/yzmlhi15lq07gtn/cm-12.1-20150720-UNOFFICIAL-bacon.zip?dl=0
Click to expand...
Click to collapse
I found the problem. Please try this script. Make sure it is executable.
You have my respect SuperR. I love the way you respond and reply to issues concerning this thread. Keep up the good work
Sent from my C6602 using Tapatalk
SuperR. said:
I found the problem. Please try this script. Make sure it is executable.
Click to expand...
Click to collapse
cool! currently at work. i'll provide an update later this evening!
laperry1 said:
cool! currently at work. i'll provide an update later this evening!
Click to expand...
Click to collapse
I removed the test zip from the post above and posted v1.6 which incorporates the change. Thanks for helping me with this one. It will add a large number of devices to the supported list

Categories

Resources