Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,781,289 Members 36,744 Now Online
XDA Developers Android and Mobile Development Forum

[guide] how to deodex stock 4.3 firmware

Tip us?
 
cosmyndemeter
Old
(Last edited by cosmyndemeter; 28th January 2014 at 06:24 PM.)
#1  
cosmyndemeter's Avatar
Senior Member - OP
Thanks Meter 1,677
Posts: 863
Join Date: Jan 2012
Location: Bucharest

 
DONATE TO ME
Phone [guide] how to deodex stock 4.3 firmware

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:	415
Size:	25.5 KB
ID:	2540237   Click image for larger version

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

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

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

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

Click image for larger version

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

Name:	47.jpg
Views:	377
Size:	94.4 KB
ID:	2540243  
Attached Files
File Type: zip adb.zip - [Click for QR Code] (467.6 KB, 93 views)
Nihil sine Deo!!!


 
rom: X-Treme ROM ~ * ~ --->>>for Note II ( GT-N7100 )

My PM is NOT technical support !!!

ask on the forum, you will get quicker response
The Following 12 Users Say Thank You to cosmyndemeter For This Useful Post: [ Click to Expand ]
 
cosmyndemeter
Old
(Last edited by cosmyndemeter; 26th January 2014 at 01:55 PM.)
#2  
cosmyndemeter's Avatar
Senior Member - OP
Thanks Meter 1,677
Posts: 863
Join Date: Jan 2012
Location: Bucharest

 
DONATE TO ME
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)
Nihil sine Deo!!!


 
rom: X-Treme ROM ~ * ~ --->>>for Note II ( GT-N7100 )

My PM is NOT technical support !!!

ask on the forum, you will get quicker response
The Following 5 Users Say Thank You to cosmyndemeter For This Useful Post: [ Click to Expand ]
 
cosmyndemeter
Old
(Last edited by cosmyndemeter; 26th January 2014 at 01:57 PM.)
#3  
cosmyndemeter's Avatar
Senior Member - OP
Thanks Meter 1,677
Posts: 863
Join Date: Jan 2012
Location: Bucharest

 
DONATE TO ME
reserved...
Nihil sine Deo!!!


 
rom: X-Treme ROM ~ * ~ --->>>for Note II ( GT-N7100 )

My PM is NOT technical support !!!

ask on the forum, you will get quicker response
 
robalm
Old
(Last edited by robalm; 26th January 2014 at 02:41 PM.)
#4  
robalm's Avatar
Senior Member
Thanks Meter 497
Posts: 497
Join Date: Oct 2013
Location: NEE
Well written buddy

I would like to see a "how to zipaligned" the apks also.
 
cosmyndemeter
Old
#5  
cosmyndemeter's Avatar
Senior Member - OP
Thanks Meter 1,677
Posts: 863
Join Date: Jan 2012
Location: Bucharest

 
DONATE TO ME
Quote:
Originally Posted by robalm View Post
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
Nihil sine Deo!!!


 
rom: X-Treme ROM ~ * ~ --->>>for Note II ( GT-N7100 )

My PM is NOT technical support !!!

ask on the forum, you will get quicker response
The Following User Says Thank You to cosmyndemeter For This Useful Post: [ Click to Expand ]
 
dabenaute
Old
#6  
dabenaute's Avatar
Senior Member
Thanks Meter 205
Posts: 853
Join Date: Dec 2011
Location: Quelque part
Good idea thanks to you
GALAXY NOTE3[KITKAT]CRASH ROM V16 GNG1
GALAXY NOTE2[KITKAT]X-TREME-FNG4-V4(RC)
GALAXY GEAR[TIZEN]SM-V700XXUCFN1
GALAXY SII[JB]LSW-WIZZEDCAT V3.3
GALAXY TAB 2.7.0(WIFI)P3110XXDNE3
IF MY POST HELPED,HIT THANKS
 
robalm
Old
#7  
robalm's Avatar
Senior Member
Thanks Meter 497
Posts: 497
Join Date: Oct 2013
Location: NEE
You forgot to add "how to deodex stock 4.3 ML6 firmware"
 
cosmyndemeter
Old
#8  
cosmyndemeter's Avatar
Senior Member - OP
Thanks Meter 1,677
Posts: 863
Join Date: Jan 2012
Location: Bucharest

 
DONATE TO ME
Quote:
Originally Posted by robalm View Post
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
Nihil sine Deo!!!


 
rom: X-Treme ROM ~ * ~ --->>>for Note II ( GT-N7100 )

My PM is NOT technical support !!!

ask on the forum, you will get quicker response
 
robalm
Old
#9  
robalm's Avatar
Senior Member
Thanks Meter 497
Posts: 497
Join Date: Oct 2013
Location: NEE
Quote:
Originally Posted by cosmyndemeter View Post
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.
 
cosmyndemeter
Old
#10  
cosmyndemeter's Avatar
Senior Member - OP
Thanks Meter 1,677
Posts: 863
Join Date: Jan 2012
Location: Bucharest

 
DONATE TO ME
Quote:
Originally Posted by robalm View Post
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?
Nihil sine Deo!!!


 
rom: X-Treme ROM ~ * ~ --->>>for Note II ( GT-N7100 )

My PM is NOT technical support !!!

ask on the forum, you will get quicker response

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes