Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Need some help regarding Odex Files and corresponding apks

OP Mach5

17th March 2014, 12:19 PM   |  #1  
Mach5's Avatar
OP Senior Member
Delhi
Thanks Meter: 117
 
331 posts
Join Date:Joined: Nov 2013
More
Hi guys, I got this problem in my odexed stock rom, I have this problem in sysui, gallery and calculator.
I downloaded 4.2.2 style sysUI, pushed it in the respective folder by replacing with its stock sysUI.
I rebooted my core, the statusbar was gone, so I deleted 'SystemUI.odex" file, then rebooted it worked!
In the same way, I replaced stock gallery with note3 gallery, and stock SecCalculator2
Luckily note3 gallery worked, but it doesn't support Sim2 so I can't change Sim2's wallpaper or make it same as Sim1's.
In the statusbar, I can't see most notification cuz its completely transparent, and also its a bit laggy.
Calculator never worked
So I wanted to replace these with stock, when I pushed it in system>apps> I noticed that there were no .odex files for .apks
I replaced them with their stock odex files, none of 'em worked, I guess cuz of the odex thing, so I again deleted odex files and rebooted, nothing worked..
Now, I need some developer's advice, plz don't tell me to "Flash Stock Rom via Odin" I can't do it...
Is there any other left way to make them work plz I need help..
Last edited by Mach5; 18th March 2014 at 03:19 AM.
17th March 2014, 09:08 PM   |  #2  
Member
Flag Delhi
Thanks Meter: 18
 
64 posts
Join Date:Joined: Jan 2014
Donate to Me
More
You are saying 'in my deodexed rom' and then you said 'deleted. Odex file for systemUI'

How could this be possible?
If you have .Odex files in system/apps folder then your ROM is not odexed.

Deodex it first using xUltimate tool

And yup Don't forget to set permissions = rw--r--r--
The Following User Says Thank You to M_E_G_A_T_R_O_N For This Useful Post: [ View ]
18th March 2014, 03:18 AM   |  #3  
Mach5's Avatar
OP Senior Member
Delhi
Thanks Meter: 117
 
331 posts
Join Date:Joined: Nov 2013
More
Quote:
Originally Posted by M_E_G_A_T_R_O_N

You are saying 'in my deodexed rom' and then you said 'deleted. Odex file for systemUI'

How could this be possible?
If you have .Odex files in system/apps folder then your ROM is not odexed.

Deodex it first using xUltimate tool

And yup Don't forget to set permissions = rw--r--r--

Sorry bro, huge typo. I meant in my odex rom and yes I set the proper permissions...
18th March 2014, 08:07 AM   |  #4  
Senior Member
Flag Margao
Thanks Meter: 63
 
110 posts
Join Date:Joined: Jan 2014
More
Well, it seems to me that you have messed up your phone alot.. Flashing stock rom via odin would've been the correct solution to this problem. It's not as difficult as you think, and you're capable of doing it. Follow thecoreguy's tutorial for that.
18th March 2014, 11:47 AM   |  #5  
Member
Flag Delhi
Thanks Meter: 18
 
64 posts
Join Date:Joined: Jan 2014
Donate to Me
More
Quote:
Originally Posted by CoreGuy

Sorry bro, huge typo. I meant in my odex rom and yes I set the proper permissions...

Then you have done wrong.
Not every apk can be used by just deleting the .odex file.
You need to deodex the apps in system/app and system/framework folder then you can easily replace the apks.

1.First restore back to any working backup.
2.Download xUltimate Tool.
3. Run it.
4. Then just run commands with options 1,2,3,4 (You just need to type 1 and then enter, then 2 and then enter, so on upto option 4.)
5. Exit after executing 4th option.
6. Download ADB tool(don't download the complete package, you will get a 1-2MB ADB.exe from the from itself) - Use it to push the deodexed files made from xultimate.

---------- Post added at 09:47 AM ---------- Previous post was at 09:22 AM ----------

If you find it difficult then Better you upload the apks with their respective odex file. I will deodex those apks
The Following User Says Thank You to M_E_G_A_T_R_O_N For This Useful Post: [ View ]
18th March 2014, 03:30 PM   |  #6  
Mach5's Avatar
OP Senior Member
Delhi
Thanks Meter: 117
 
331 posts
Join Date:Joined: Nov 2013
More
Quote:
Originally Posted by M_E_G_A_T_R_O_N

Not every apk can be used by just deleting the .odex file.

Not even the stock apks? I want to replace the ported/modded apks with the stock ones..
19th March 2014, 08:00 AM   |  #7  
Member
Flag Delhi
Thanks Meter: 18
 
64 posts
Join Date:Joined: Jan 2014
Donate to Me
More
No you can't because almost all stock apks have their respective odex files and every odex file contains resources that are needed to run those apks. Also there exists dependencies in system/framework folder. So just deleting odex file won't work all time.
The Following 2 Users Say Thank You to M_E_G_A_T_R_O_N For This Useful Post: [ View ]
21st March 2014, 05:19 PM   |  #8  
Mach5's Avatar
OP Senior Member
Delhi
Thanks Meter: 117
 
331 posts
Join Date:Joined: Nov 2013
More
Finally got it! Special thanks to megatron
Solution if u r screwed in my situation: don't panic, what I found why I cant do it was bcuz my phone has dat "newest" update of samsung ota. So b4 u take someone's apk and odex file always cross check this(image)
And then you are gud to go!!! U wont even need to restart it'll come automatically(my dad has same phone and same updated version as mine so I copied everything needed frm his phone to mine) @AnsleyC at times, the answer should not be "flash stock rom via ODIN" if u have a crappy pc, u can either repair faulty parts(easier and efficient) or buy a new one(bullcrap)
Have fun everyone!

Sent from my GT-I8262 using XDA Premium 4 mobile app
Attached Thumbnails
Click image for larger version

Name:	1395415190291.jpg
Views:	19
Size:	49.9 KB
ID:	2642346  

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes