New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
rjohnstone
Old
(Last edited by rjohnstone; 31st March 2011 at 07:53 PM.)
#1  
rjohnstone's Avatar
Senior Member - OP
Thanks Meter 98
Posts: 471
Join Date: Jan 2011
Location: Phoenix, AZ.
Default [MOD] 4.1.57 deodexed framework and app files (AT&T Only)

Here are the App and Framework system files for 4.1.57 fully deodexed.

You must already have Root access in 4.1.57.

Typical disclaimer as always...
USE AT YOUR OWN RISK.
This is for experienced users only please.


Remember to make a backup of your existing framework and app folders BEFORE you do this.

Link: Atrix-1.57deodexed IGNORE the instructions in the zip. Updated ones below.
Feel free to mirror.

Note: Photoedit.apk was pulled form the 1.26 Adeo file as the 1.57 version would not deodex properly.
This file did not change from 1.26. to 1.57, so I see no issue with using it.

UPDATE: The instructions contained in the zip have an error... oops.

This is why I don't write scripts. I type to fast.

Hopefully some of you guys caught that before entering the commands.

Again, backup your original system/framework and system/app files BEFORE you do this in case you want to revert back to an odexed system.

Here is the correction:

Put your phone in USB Mass Storage Device mode.

Copy the app and framework directory and their contents from the zip file to the root of your sdcard.

***Verify the copy was successful before you continue.***

Set USB mode back to None.

Type the following commands via ADB.
Code:
adb shell
su
stop
mount -o rw,remount /dev/block/mmcblk0p12 /system
cp /sdcard/app/* /system/app/
cp /sdcard/framework/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount  /dev/block/mmcblk0p12 /system
reboot
Samsung GS2 Skyrocket. - SuperNexus 2.0 (4.2.2)



Samsung GS3 (AT&T - Stock)
The Following 7 Users Say Thank You to rjohnstone For This Useful Post: [ Click to Expand ]
 
lindsaytheflint
Old
#2  
Senior Member
Thanks Meter 109
Posts: 170
Join Date: Oct 2009
Location: Melbourne
Thanks, you beat me to it!
 
rjohnstone
Old
#3  
rjohnstone's Avatar
Senior Member - OP
Thanks Meter 98
Posts: 471
Join Date: Jan 2011
Location: Phoenix, AZ.
Quote:
Originally Posted by lindsaytheflint View Post
Thanks, you beat me to it!


I deodexed them last night, but wanted to run through some testing before I packaged them up.

Anyone feel like scripting this, go for it.
Samsung GS2 Skyrocket. - SuperNexus 2.0 (4.2.2)



Samsung GS3 (AT&T - Stock)
 
tl_bull
Old
#4  
Member
Thanks Meter 5
Posts: 66
Join Date: Apr 2007
I must have done something wrong in shell... soft brick, certain it was my fault.
 
rjohnstone
Old
#5  
rjohnstone's Avatar
Senior Member - OP
Thanks Meter 98
Posts: 471
Join Date: Jan 2011
Location: Phoenix, AZ.
Quote:
Originally Posted by tl_bull View Post
I must have done something wrong in shell... soft brick, certain it was my fault.
Not your fault... I found an error in my instructions.

cp /sdcard/frame/* /system/framework/
should be
cp /sdcard/framework/* /system/framework/
Samsung GS2 Skyrocket. - SuperNexus 2.0 (4.2.2)



Samsung GS3 (AT&T - Stock)
 
lpsi2000
Old
#6  
lpsi2000's Avatar
Senior Member
Thanks Meter 93
Posts: 2,291
Join Date: Jan 2004
Location: TriState
Quote:
Originally Posted by rjohnstone View Post
Here are the App and Framework system files for 4.1.57 fully deodexed.

Typical disclaimer as always...
USE AT YOUR OWN RISK.
This is for experienced users only please.


Link: Atrix-1.57deodexed IGNORE the instructions in the zip. Updated ones below.
Feel free to mirror.

Note: Photoedit.apk was pulled form the 1.26 Adeo file as the 1.57 version would not deodex properly.
This file did not change from 1.26. to 1.57, so I see no issue with using it.

Been running all day with these files with no issues.

UPDATE: The instructions contained in the zip have an error... oops.

This is why I don't write scripts. I type to fast.

Hopefully some of you guys caught that before entering the commands.

Here is the correction.

Copy the app and framework directory to the root of your sdcard.

Type the following commands via ADB.
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/app/* /system/app/
cp /sdcard/framework/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Another error with the commands
it should be the following for the mounts command:

mount -o rw,remount /dev/block/mmcblk0p12 /system
mount -o ro,remount /dev/block/mmcblk0p12 /system
AT&T Samsung Galaxy Note II(i317)
Previous devices:
Samsung Galaxy S II & III
Retired devices: AT&T Samsung Galaxy Note / Moto Atrix and SGS Captivate / HTC Leo(HD2) / AT&T Tilt 2/ HTC Fuze / HTC Advantage / I-Mate JasJam / JasJar / Pocket PC / XDA
SAMSUNG CAPTIVATE AND T-MOBILE HD2 FOR SALE, PM ME IF YOUR ARE INTERESTED.

Network: AT&T
Tweaked TW JB 4.1.2
Ported ROMS
825/850/875/900/925/950/975/s100/1025/1050/1075/1100/1125/1150/1200/1250/1275 -1800Mzh
 
rjohnstone
Old
#7  
rjohnstone's Avatar
Senior Member - OP
Thanks Meter 98
Posts: 471
Join Date: Jan 2011
Location: Phoenix, AZ.
Quote:
Originally Posted by lpsi2000 View Post
Another error with the commands
it should be the following for the mounts command:

mount -o rw,remount /dev/block/mmcblk0p12 /system
mount -o ro,remount /dev/block/mmcblk0p12 /system
Thx. Updated OP.

The mount commands I originally posted did work for me without any issue though.


Sent from my MB860 using XDA App
Samsung GS2 Skyrocket. - SuperNexus 2.0 (4.2.2)



Samsung GS3 (AT&T - Stock)
 
Ririal
Old
#8  
Ririal's Avatar
Recognized Developer
Thanks Meter 395
Posts: 777
Join Date: Feb 2011
Location: Grayslake

 
DONATE TO ME
It looks like this isn't complete. There are some files in framework that you did not deodex, installing this on any phone will very likely brick.
The Following User Says Thank You to Ririal For This Useful Post: [ Click to Expand ]
 
rjohnstone
Old
(Last edited by rjohnstone; 31st March 2011 at 07:08 AM.)
#9  
rjohnstone's Avatar
Senior Member - OP
Thanks Meter 98
Posts: 471
Join Date: Jan 2011
Location: Phoenix, AZ.
Quote:
Originally Posted by Ririal View Post
It looks like this isn't complete. There are some files in framework that you did not deodex, installing this on any phone will very likely brick.
What is missing?

Running on mine without any issues at all.

EDIT:
I see what you're talking about and it's a non-issue if you follow the commands to load them.
The 4 files missing from the framework folder were not odexed to begin with, so the originals will remain.

Remember, I'm not having anyone delete the entire contents of the framework folder, only the .odex files AFTER they copy over the deodexed versions first.

rm /system/framework/*.odex

These files are not odexed to begin with, so they are not touched.
blur-res.apk
framework-res.apk
moto-res.apk
android.test.runner.jar



You will also notice that 19 files are missing from the app folder as well... again, I'm not deleting any .apk files in the instructions, only the .odex files.
The 19 .apk files that are not included in my zip file are already present on a 1.57 system in a deodexed state.
I saw no point in adding them.

Make sense now?

Sent from my MB860 using XDA App
Samsung GS2 Skyrocket. - SuperNexus 2.0 (4.2.2)



Samsung GS3 (AT&T - Stock)
 
zeyoner
Old
(Last edited by zeyoner; 31st March 2011 at 08:28 AM.) Reason: Had to use usb port on the rear instead of the front when rooting.
#10  
zeyoner's Avatar
Senior Member
Thanks Meter 5
Posts: 159
Join Date: Mar 2008
Location: New York
I followed every step however when I attempt to run the following command
mount -o rw,remount /dev/block/mmcblk0p12 /system
I'm receiving Permission denied.

Edit:
Had to use usb port on the rear instead of the front when rooting.
</SOPA>
</PIPA>

Current
LG Nexus 4 (Mako)
[ROM] Android Open Kang Project - MAKO - JBean 4.2.1
Asus Nexus 7 (Grouper)
[ROM] Official AOKP JB Milestone - 1 [Oct-28]


History
Samsung Galaxy Nexus CDMA (Toro)
[ROM][JB][OFFICIAL] AOKP Milestone 1
Motorola Atrix 4G (Olympus) * Alien ★ Build #4 * Android 2.3
HTC Aria (Liberty) * CyanogenMod 7 for Aria V7.0.0-RC1 * Android 2.3
HTC HD2 (Leo) Android 2.3
HTC G1 (Dream) * CyanogenMod 5.0.8 * Android 2.1