Post Reply

[guide] how to deodex stock 4.3 firmware

OP cosmyndemeter

26th January 2014, 01:45 PM   |  #1  
cosmyndemeter's Avatar
OP Senior Member
Flag Bucharest
Thanks Meter: 1,793
 
879 posts
Join Date:Joined: Jan 2012
Donate to Me
More
To make this work you must be on stock rooted firmware!!!

I made a quick guide how to root stock 4.3 firmware, and can be found here

I'm not responsible for any damage caused by using this on your phone!!!

Let's start:

1 - you need deodexed app and deodexed framework. download and unzip. will result 2 folders (app & framework) wich must be copied on your phone (int sdcard)
2 - download adb from attach and unzip
3 - enable USB debugging mode (go to settings > about phone > tap on Build Number 7 times, until a message appears saying 'You are now a Developer.') than go to settings > Developer Options and enable USB Debugging Mode
4 - go to adb folder and open a command window (hold shift and right click on mouse button / choose "open command window here")
5 - connect your phone to pc with usb cable

>>> ml6_deodexed_zipaligned_apps_framework

>>> na1_deodexed_zipaligned_apps_framework


Now enter folowing codes:
>>> adb shell
>>> su (if you are using adb shell in su for the first time, keep phone screen on. after entering "su" code, super user request prompt in phone. press allow!!!)
>>> stop (touchscreen will not be active until reboot, don't worry!)
>>> mount -o rw,remount /system/ /system/ (mounting system r/w)
>>> cp /sdcard/app/* /system/app/ (copy deodexed system applications) (this will take 3 - 5 min)
>>> rm /system/app/*.odex (remove odex files)
>>> chmod 0644 /system/app/*.apk (this fix permissions in system/app)
>>> cp /sdcard/framework/* /system/framework/ (copy deodexed framework)
>>> rm /system/framework/*.odex (remove odex files)
>>> mount -o ro,remount /system/ /system/ (mounting system r/o)
>>> reboot (your phone will reboot) (this will take a little)

Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/app/* /system/app/
rm /system/app/*.odex
chmod 0644 /system/app/*.apk
cp /sdcard/framework/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
Now you have a deodexed stock rom!!!

do not forget to press thanks
Attached Thumbnails
Click image for larger version

Name:	1.jpg
Views:	445
Size:	25.5 KB
ID:	2540237   Click image for larger version

Name:	2.jpg
Views:	414
Size:	31.7 KB
ID:	2540238   Click image for larger version

Name:	3.jpg
Views:	390
Size:	52.2 KB
ID:	2540239   Click image for larger version

Name:	4.jpg
Views:	368
Size:	66.4 KB
ID:	2540240   Click image for larger version

Name:	5.jpg
Views:	365
Size:	84.1 KB
ID:	2540241  

Click image for larger version

Name:	05.jpg
Views:	436
Size:	81.2 KB
ID:	2540242   Click image for larger version

Name:	47.jpg
Views:	404
Size:	94.4 KB
ID:	2540243  
Attached Files
File Type: zip adb.zip - [Click for QR Code] (467.6 KB, 102 views)
Last edited by cosmyndemeter; 28th January 2014 at 06:24 PM.
The Following 13 Users Say Thank You to cosmyndemeter For This Useful Post: [ View ]
26th January 2014, 01:45 PM   |  #2  
cosmyndemeter's Avatar
OP Senior Member
Flag Bucharest
Thanks Meter: 1,793
 
879 posts
Join Date:Joined: Jan 2012
Donate to Me
More
i recommend to remove all knox files from your phone.
to do this you need an application to modify your system files
( i use root explorer )

to remove knox delete this files:

system > app > ContainerAgent.apk / ContainerEventsRelayManager.apk / KLMSAgent.apk / KNOXAgent.apk /
KnoxAttestationAgent.apk / KNOXStore.apk / KNOXStub.apk


system > containers (delete entire folder)

system > etc > secure_storage > com.sec.knox.store (delete entire folder)
Last edited by cosmyndemeter; 26th January 2014 at 01:55 PM.
The Following 6 Users Say Thank You to cosmyndemeter For This Useful Post: [ View ]
26th January 2014, 01:46 PM   |  #3  
cosmyndemeter's Avatar
OP Senior Member
Flag Bucharest
Thanks Meter: 1,793
 
879 posts
Join Date:Joined: Jan 2012
Donate to Me
More
reserved...
Last edited by cosmyndemeter; 26th January 2014 at 01:57 PM.
26th January 2014, 02:34 PM   |  #4  
robalm's Avatar
Senior Member
NEE
Thanks Meter: 534
 
538 posts
Join Date:Joined: Oct 2013
Well written buddy

I would like to see a "how to zipaligned" the apks also.
Last edited by robalm; 26th January 2014 at 02:41 PM.
26th January 2014, 03:01 PM   |  #5  
cosmyndemeter's Avatar
OP Senior Member
Flag Bucharest
Thanks Meter: 1,793
 
879 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Quote:
Originally Posted by robalm

Well written buddy

I would like to see a "how to zipaligned" the apks also.

attached app are deodexed & zipaligned

Sent from my GT-N7100 using xda app-developers app
The Following User Says Thank You to cosmyndemeter For This Useful Post: [ View ]
26th January 2014, 06:35 PM   |  #6  
dabenaute's Avatar
Senior Member
Flag Quelque part
Thanks Meter: 210
 
868 posts
Join Date:Joined: Dec 2011
More
Good idea thanks to you
28th January 2014, 01:35 AM   |  #7  
robalm's Avatar
Senior Member
NEE
Thanks Meter: 534
 
538 posts
Join Date:Joined: Oct 2013
You forgot to add "how to deodex stock 4.3 ML6 firmware"
28th January 2014, 06:05 AM   |  #8  
cosmyndemeter's Avatar
OP Senior Member
Flag Bucharest
Thanks Meter: 1,793
 
879 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Quote:
Originally Posted by robalm

You forgot to add "how to deodex stock 4.3 ML6 firmware"

root the rom and folow instructions.
app & framework are from ML6

Sent from my GT-N7100 using xda app-developers app
28th January 2014, 01:30 PM   |  #9  
robalm's Avatar
Senior Member
NEE
Thanks Meter: 534
 
538 posts
Join Date:Joined: Oct 2013
Quote:
Originally Posted by cosmyndemeter

root the rom and folow instructions.
app & framework are from ML6

Sent from my GT-N7100 using xda app-developers app

All worked fine, but i do not like to have old apps and framework on a newer rom version.
28th January 2014, 01:38 PM   |  #10  
cosmyndemeter's Avatar
OP Senior Member
Flag Bucharest
Thanks Meter: 1,793
 
879 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Question
Quote:
Originally Posted by robalm

All worked fine, but i do not like to have old apps and framework on a newer rom version.

explain pls. what rom you have?

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

Advanced Search
Display Modes


Top Threads in Galaxy Note II General by ThreadRank