deodex or odex? - Galaxy Note 4 Q&A, Help & Troubleshooting

If this is the wrong thread then apologies.
I used joeldroid to deodex my systemui and all was marked as successful howvwer in the /priv-app folder the app folders are all there with the apk's but there is also another folder named 'arm' which contains 2 files, the odex file and a odex.art file?
I'm really confused as to whether this is actually deodexed or not? Ive noticed in other custom TW roms these arm folders are missing
any ideas

It means your apk in priv app folder is not deodexed
Sent from my SM-N910G using xda premium

yep everytime i tried to replace the deodexed files they would replace fine but then when i look on my root explorer all the arm folders etc are back.. Just trying an app called zipme to get my deodexed files onto my phone
thanks for ansering

so i made flashable zips of my deodexed priv-app, framework and app folders and there was not a single arm folder or odex file in sight. I flash the zips fine but when checking the folders under root all the arm folders and odex files are back????

Related

HELP! cooking flashable zip into rom!!!

I am trying to take a keyboard that somebody made into a flashable .zip file, and implement it into a rom that I am working on. What I did was flash the .zip through cwm, then found the apk, backed it up, and then placed it in the /system/app folder on the new rom. The problem is as soon as the rom boots, I get a force close error. So I took a look at the .zip file, there are two folders meta-inf and system. inside system there is an app folder and lib folder. My question is can I just take the apk and lib file out and place them directly into /system/app and system/lib on the new rom? and if so do i need to do anything with the META-INF folder? any ideas would be GREATLY appreciated!!!
thanks
the META-INF folder may have some script that does some other manipulation of the filesystem or runs helper apps during installation. See what's in META-INF/com/google/android/update-script.

Deodex KK

I've deodexed my apps and framework files with the Universal Deodexer (http://forum.xda-developers.com/showthread.php?t=2213235).
Now I've the deodexed files. But I don't know how to change this files with the existing files.
I tried to use the flashable zip of the 4.3 deodex (http://forum.xda-developers.com/showthread.php?t=2632798) and changed the app and framework folder with the new ones. When I flashed this I get a bootloop. Was this because of the META-INF folder? Or is there a problem with my deodexed files?
mikk_11 said:
When I flashed this I get a bootloop. Was this because of the META-INF folder? Or is there a problem with my deodexed files?
Click to expand...
Click to collapse
It's a different folder structure, KK has a priv-app folder. See HERE for the zip you need to your files in.
Thanks!! That's a nice method!!

how can i install . help me my brothers

my rom is stock odex i used universal deodexer and deodexed my.system/app and system/framework folders . now my question.
how can i install that app and framework folders to my phone ??(i tried replace with root explorer but it does not .(
how can i make thats to a flashable zip?
but
my problem is not that . i can make a flashable zip . its working fine but after i flashed old .odex files doesnt delete. how can i add it to meta inf for when flashing delete app and replace new app and same for framework
No need to create any kind of meta inf you just need to find any flashable zip may be of some kind of theme or update package of your rom if available and just edid it using zarchiver(android) or winrar(windows) simply delete eveything inside the system folder inside the zip except the app folder then delete everything inside app folder then put the apk you want to replace in the app folder. And you are done. Its recommended to sign the zip using apktool(windows) or zipsigner(android) but you can skip this step. Thats about making a flashable zip.
But as far as i know you need to have deodnexed rom to make any changes to system.
Anyways this thread should have been posted in q&a section.

[Guide] Xposed without recovery Locker Bootloaders

Okay so I just tried to install xposed on my Xperia Z and it was a success. All you need to do is be rooted. For that, go to this thread, http://forum.xda-developers.com/xperia-z/development/super-su-xperia-device-lollipop-easy-t3119006. The procedure mentioned here worked like a charm for me.
Once you are rooted, go to this thread: http://forum.xda-developers.com/showthread.php?t=3034811. Download the .zip file and the .apk file. Install the .apk file like any other normal .apk file. Unzip the .zip file using any file explorer (I used root explorer). After you've unzipped the files, all you have to do is move and replace them in the system folders and assign correct permissions.
It's not working for me, the installer keeps saying Xposed isn't currently active
I got boot looped with this solution...bummer!
ahsan530 said:
Okay so I just tried to install xposed on my Xperia Z and it was a success. All you need to do is be rooted. For that, go to this thread, http://forum.xda-developers.com/xperia-z/development/super-su-xperia-device-lollipop-easy-t3119006. The procedure mentioned here worked like a charm for me.
Once you are rooted, go to this thread: http://forum.xda-developers.com/showthread.php?t=3034811. Download the .zip file and the .apk file. Install the .apk file like any other normal .apk file. Unzip the .zip file using any file explorer (I used root explorer). After you've unzipped the files, all you have to do is move and replace them in the system folders and assign correct permissions.
Click to expand...
Click to collapse
Would it be possible to explain the file copying process in more detail. My Xperia Z crashed whilst copying and overwriting the files into the LIB and now is in a boot loop. Copying the appropriate files to BIN and FRAMEWORK worked fine.
Sent from my Samsung Galaxy Note 10.1 using Tapatalk Pro
Done! Its working great! In order to work need to set the correct permissions in relevant files.
Sent from my C6603 using XDA Free mobile app
alexfra said:
Done! Its working great! In order to work need to set the correct permissions in relevant files.
Sent from my C6603 using XDA Free mobile app
Click to expand...
Click to collapse
Did you copy the FRAMEWORK, BIN and LIB files over. My Xperia rebooted whilst copying the LIB files over and the went into bootloop.
Busy re-installing lollipop as we speak.
I have installed the files separately (one by one) in the relevant system's paths
Sent from my C6603 using XDA Free mobile app
alexfra said:
I have installed the files separately (one by one) in the relevant system's paths
Sent from my C6603 using XDA Free mobile app
Click to expand...
Click to collapse
I reinstalled the 5.0.2 firmware. Then did the KingRoot and replaced with SuperSU. The I tried to install Xposed followin the above steps and copied file by file like you did, and if I copy the 3rd file in LIB over, the phone reboots and goes into bootloop.
adrianh_za said:
Did you copy the FRAMEWORK, BIN and LIB files over. My Xperia rebooted whilst copying the LIB files over and the went into bootloop.
Busy re-installing lollipop as we speak.
Click to expand...
Click to collapse
Same, although it rebooted just fine. I then copied the files again, no reboot but also no Xposed.
adrianh_za said:
Did you copy the FRAMEWORK, BIN and LIB files over. My Xperia rebooted whilst copying the LIB files over and the went into bootloop.
Busy re-installing lollipop as we speak.
Click to expand...
Click to collapse
Whizzoo said:
Same, although it rebooted just fine. I then copied the files again, no reboot but also no Xposed.
Click to expand...
Click to collapse
I'm in a bootloop again, so off to re-install lollipop...again. Becoming quite a pro at installing and rooting it now This time around, I had a clean install of 5.0.2 without any updates from Play Store. Also did a KingRoot and the replaced it with Super SU before trying to install Xposed. Not sure how @alexfra got it installed...lucky bum!
Okay do the following, copy the LIB files in the root of the system folder and assign the correct permissions. After you've done that, cut and paste the LIB files in to the LIB folder. That will work for sure. Check images for further assistance. Also check image of Gravity Box attached. Everything running great. Hope it works for you too.
ahsan530 said:
Okay do the following, copy the LIB files in the root of the system folder and assign the correct permissions. After you've done that, cut and paste the LIB files in to the LIB folder. That will work for sure. Check images for further assistance. Also check image of Gravity Box attached. Everything running great. Hope it works for you too.
Click to expand...
Click to collapse
Same problem. As soon as I overwrite libart.so, phone reboots and goes into bootloop.
Sent from my Samsung Galaxy Note 10.1 using Tapatalk Pro
Succeeded with my Xperia Z on official Lollipop ! Thanks !
To all who have troubles : take good care to the PERMISSIONS !!! If you don't change permissiosn IT WON'T WORK !
For LIB folder files use the method described before :
- extract to /system
- change permission to rw-r--r-- (or 0644 in octal)
- move files to /system/lib
For bin folder files permission are rwxr-xr-x (or 0755 in octal) and for framework folder it's rw-r--r-- (or 0644 in octal)
If you don't do EXACTLY this, Xposed won't work !
Howell said:
Succeeded with my Xperia Z on official Lollipop ! Thanks !
To all who have troubles : take good care to the PERMISSIONS !!! If you don't change permissiosn IT WON'T WORK !
For LIB folder files use the method described before :
- extract to /system
- change permission to rw-r--r-- (or 0644 in octal)
- move files to /system/lib
For bin folder files permission are rwxr-xr-x (or 0755 in octal) and for framework folder it's rw-r--r-- (or 0644 in octal)
If you don't do EXACTLY this, Xposed won't work !
Click to expand...
Click to collapse
done exatly that m8...and it caused a bootloop ...flashing lollipop again now.
Howell said:
Succeeded with my Xperia Z on official Lollipop ! Thanks !
To all who have troubles : take good care to the PERMISSIONS !!! If you don't change permissiosn IT WON'T WORK !
For LIB folder files use the method described before :
- extract to /system
- change permission to rw-r--r-- (or 0644 in octal)
- move files to /system/lib
For bin folder files permission are rwxr-xr-x (or 0755 in octal) and for framework folder it's rw-r--r-- (or 0644 in octal)
If you don't do EXACTLY this, Xposed won't work !
Click to expand...
Click to collapse
I did this on my third try over the weekend. Copied the LIB files into system, changed the permissions and the moved the files one by one. Reboot and bootloop occured when moving libart.so.
1) What file manager did you use? I used ES File in root explorer mode.
2) Did you move file by file, or move the files all at once or per folder?
3) Do you remember any specific order when moving the files? I just went alphabetically through the folders.
4) Must the .props file also be copied that is in the zip?
5) Did you do a clean install to Lollipop, or was it an upgrade from KK?
Any help would be appreciated
Sent from my Samsung Galaxy Note 10.1 using Tapatalk Pro
Thanks for your help guys! I figured out what the problem was for me. There were some Xposed files in my lib folder already, I assume from my installation on KitKat (I did not do a clean upgrade). So I removed those, rebooted and presto! Good to have Xposed again
Whizzoo said:
Thanks for your help guys! I figured out what the problem was for me. There were some Xposed files in my lib folder already, I assume from my installation on KitKat (I did not do a clean upgrade). So I removed those, rebooted and presto! Good to have Xposed again
Click to expand...
Click to collapse
Do you know what the files were so I can check?
Should I not install the Xposed installer APK until I have copied the zipped files in?
Sent from my Samsung Galaxy Note 10.1 using Tapatalk Pro
adrianh_za said:
Do you know what the files were so I can check?
Should I not install the Xposed installer APK until I have copied the zipped files in?
Sent from my Samsung Galaxy Note 10.1 using Tapatalk Pro
Click to expand...
Click to collapse
Go to /system/lib and search for all the files that are also in the lib folder in the zip and remove them. I already had the Xposed installer installed when I did it, in fact I used it to reboot the system.
I have done,,thanks for guide sir,,
Sent from my C5502 using XDA Free mobile app
Can anybody comment on which file manager they used to do the copying and setting of permissions and successfully install Xposed? I see the OP used Root Explorer. I personally use ES File Explorer with root mode enabled, but I am thinking that maybe the issue I keep having when copying the files is due to ES File Explorer and maybe I should try Root Explorer.
adrianh_za said:
Can anybody comment on which file manager they used to do the copying and setting of permissions and successfully install Xposed? I see the OP used Root Explorer. I personally use ES File Explorer with root mode enabled, but I am thinking that maybe the issue I keep having when copying the files is due to ES File Explorer and maybe I should try Root Explorer.
Click to expand...
Click to collapse
I used root explorer. Yeah, use root explorer. Root explorer le best.

Looking for some clarity on odexed apps for noob

I'm trying to get into modding apks and have a simple question. When i look up what odexed apks are, it looks like each apk has its own odex file and deodexed apk don't but they have a classes.dex inside the apk instead. Im running 7.1.1 stock with root and have odex file in each app folder but when i look inside the app itself with 7zip it too shows a classes.dex file as well. My question i guess, is do all apps have classes.dex but only deodex apk have the odex file missing in their respective folder? When following a tut they say to decompile the odex file to get the classes.dex file to then put inside the apk then decompile the apk with classes.dex file to get decompiled smali folder.

Categories

Resources