Related
Hey guys, ive modified the services.odex file from the ODEXED ROM of the ICS Official Rom, it makes the launcher hard to kill, it means no more launcher redraws. Use it in conjunction with the V6 supercharger script. All you need to do is copy it to system/framework and apply permissions
screenshots for proof at the bottom
THIS IS NOT MY OWN WORK, i'm just sharing my pre-made file to make it easier for you
you need:
busybox
root access
script manager
terminal emulator
1. copy the services.odex file to your internal memory
2. backup current services.odex (found in system/framework)
3. copy modded services.odex to /system/framework/
4. in a terminal emulator type:
su (for root privilleges) thanks mharckk
cd /system/framework
chown 0.0 services.odex
chmod 644 services.odex
5. run the official v6 supercharger script from here http://forum.xda-developers.com/showthread.php?t=991276
6. wipe dalvik cache and reboot
please say thanks to zeppelinrox http://forum.xda-developers.com/member.php?u=3357461
Can you post any screenshot?
Why do you need a Screenshot?
This is not a new Launcher
Gesendet von meinem LT26i
thanks!! I was too lazy to modify the odex file :laugh::victory:
have anyone tried this yet? Any issues?
can anyone show how to install (detailed) and how to use it (recommended choice)
and also the effect (for xperia s stock launcher)
PrimeDeluxe said:
Why do you need a Screenshot?
This is not a new Launcher
Gesendet von meinem LT26i
Click to expand...
Click to collapse
Ah Really?
But I don't know about this Launcher =w='
sorry.
Hatsunumike said:
Ah Really?
But I don't know about this Launcher =w='
sorry.
Click to expand...
Click to collapse
Simply speaking, that's a script that make launcher isn't redrawed any more and may be faster, smoother,...
Sent from my LT26i using Tapatalk 2
i dont know but when i run the command
chown 0.0 services.odex
i get permission denied
edit: anyway i will try to install the supercharged
I can't do it with kao9, right?
if I want to make it Die-Hard or bulletproof which lines should be modified in the smali file?
I tried to follow the zeppelinrox's tutorial from his supercharger thread but the lines are completely different from what he has mentioned and in your smali file!
.line 13663
const/4 v10, 0x1(0x6) Note that this is for Die-Hard Launcher! To BulletProof it, make it 0x0, HTK 0x2
Click to expand...
Click to collapse
mharckk said:
i dont know but when i run the command
chown 0.0 services.odex
i get permission denied
edit: anyway i will try to install the supercharged
Click to expand...
Click to collapse
sorry guys, before you do chown 0.0 services.odex you need to type in su, which gives you root privilleges. how silly of me
Stero! said:
I can't do it with kao9, right?
Click to expand...
Click to collapse
you can!
diimaan said:
if I want to make it Die-Hard or bulletproof which lines should be modified in the smali file?
I tried to follow the zeppelinrox's tutorial from his supercharger thread but the lines are completely different from what he has mentioned and in your smali file!
Click to expand...
Click to collapse
I changed the value to 0x2 to make it hard to kill
I will post a screenshot soon
Oh well! can you make it a die hard launcher too then? It always worked better than the HTK for me otherwise I can follow the screenshot too...
i alaready installed this yesterday and it was perfect. now i will try to run the die-hard battery script.thanks.
Tutorial
Dude...can u make it easyer for us?please make a full tutorial with full download links.not sending us to another forum....etc etc..
the full tutorial is on the original thread, so basically u need are these:
1. services.odex (from this thread)
2. supercharger script ( i used update9rc9)
3. script manager or terminal emulator (play store download),
4. supercharger starter kit (just in case bootlop run this first then run the script again) make sure u have backup of your rom
instructions:
1.install script manager or terminal emulator
2. download services.odex, V6_SuperCharger_for_Android-Update9_RC9.sh.pdf, SuperCharger_Starter_Kit_RC7.zip and paste in /sdcard.
3. copy services.odex and paste in /system/framework
4. fix permissions( rw-r--r)
5. run terminal emulator type "su" (without the "")
6. type cd /system/framework
7. type chown 0.0 services.odex
8. type chmod 644 services.odex
9. type sh /sdcard/V6*
10. read and follow the instructions
11. reboot and wipe dalvik cache (anyway its automatic when u choose option 32)
well the odex file only is enough to get a HTK launcher (50% supercharged). I don't think it's a good idea to mess with the ram values with the supercharger script, because the current minfrees are good enough and ICS doesn't need a forced memory management (we got 1gb of ram anyway)
also the best way is to push the file using adb, I tried to replace it in ES File Explorer but it rebooted and ended up in a bootloop.
I booted in recovery and pushed the file again using adb and after that it worked fine.
just my experience/opinion.
SnowOokami said:
well the odex file only is enough to get a HTK launcher (50% supercharged). I don't think it's a good idea to mess with the ram values with the supercharger script, because the current minfrees are good enough and ICS doesn't need a forced memory management (we got 1gb of ram anyway)
also the best way is to push the file using adb, I tried to replace it in ES File Explorer but it rebooted and ended up in a bootloop.
I booted in recovery and pushed the file again using adb and after that it worked fine.
just my experience/opinion.
Click to expand...
Click to collapse
you need to apply the correct permissions
mharckk said:
i alaready installed this yesterday and it was perfect. now i will try to run the die-hard battery script.thanks.
Click to expand...
Click to collapse
We can follow this guide http://forum.xda-developers.com/showpost.php?p=11803458&postcount=10 for the battery or...?
Stero! said:
We can follow this guide http://forum.xda-developers.com/showpost.php?p=11803458&postcount=10 for the battery or...?
Click to expand...
Click to collapse
xperia s has a built-in battery.
First let me say that I am not a technical writer and I hated English in school ((#(# years ago That being said, I will try to do the best I can with this.
I also want to thank StrongSteve for teaching me how to Odex files on Gingerbread. I have learned a great deal from him so he deserves a lot of credit.
This is a tutorial on how to Odex your mods.
What you need. You will need the Deodexed files that you want to Odex, custom recovery, ADB (attached if needed), an Odexed rooted Rom that you want to use your mod on, busybox and the attached dexopt-wrapper.
Let me explain a little about why you Odex on specific Roms. The process of Odexing relies on signatures. It builds the signatures from the original Odexed files. In most cases all of the Roms are built from the same original release so they all contain the same signatures. However, sometimes during the development process the signatures get modified. So if you are building your mod for a specific Odexed Rom start with that Rom as your base. Once you are done and you verify that the Mod works on that rom you can test it on other roms to see if it still works. If it doesn't work you would want to build it again using that Rom as the base.
OK so let's get started. I am not positive if this is necessary but I have been doing it this way since I started Odexing. If you have multiple jar files that you are going to Odex follow the bootclass order when Odexing.
The bootclass for ICS is /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar:/system/framework/sechardware.jar:/system/framework/wimax.jar. So if you are Odexing services.jar and framework.jar you would first Odex framework.jar then services.jar. If you are Odexing jar files that aren't in the bootclass do those after you Odex the bootclass jars.
The below is an example. You will replace the text marked in red with the actual jar that you want to Odex.
This is the process for ICS
What I do is make a folder called Odexed on the root of my internal storage
I keep the dexopt-wrapper file on the root of my internal storage
Copy the Deodexed files that you want to odex into the Odexed folder
Do a nandroid backup of your phone
Flash the Odexed rom that you want to use with your mod
Make sure you are rooted
Make sure your phone has usb debugging enabled
Attach your phone to your computer
Open a command prompt and go to the adb folder
Type adb shell
Type su (check your phone to see if it is asking for permission and allow it if so)
Enter the following commands
mount -oremount,rw /dev/block/mmcblk0p9 /system
cp /sdcard/dexopt-wrapper /system/xbin
cp /sdcard/odexed/core.jar /system/framework
dexopt-wrapper /system/framework/core.jar /system/framework/patched_core.odex /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar:/system/framework/sechardware.jar:/system/framework/wimax.jar
chmod 777 /system/framework/core.odex
chmod 777 /system/framework/patched_core.odex
busybox dd if=/system/framework/core.odex of=/system/framework/patched_core.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
cp /system/framework/patched_core.odex /sdcard/odexed/core.odex
rm /system/framework/patched_core.odex
If you are odexing other files repeat the process starting from step 16
Once all of the Jar files are done you can Odex any apk files that you have. Note: framework-res.apk was never odexed so you can just skip that file.
For apks you only need to run this command dexopt-wrapper sdcard/odexed/SystemUI.apk sdcard/odexed/SystemUI.odex replacing SystemUI with the apk name that you are Odexing
Now copy all of the files from the Odexed directory on the phone to your computer
Open each of the jar and apk files with a program like winrar and delete the classes.dex file
Create a cwm zip file and put all of the files into the zip (you can use my Odexed Hotspot Mod as a template if you don't know how to do this)
Flash the Odexed rom that you want to use again so that you are starting fresh
Flash your mod and test to see if it works
If it doesn't work verify the steps to make sure you did everything in order
This process has never failed for me before
Once you have this working you can flash other Odexed Roms and test your mod out on them to see if they work
If not you need to repeat the process for that Rom if you want your Mod to work on that Rom
The bootclass for GB is /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar
This is the process for Gingerbread
Everything from the ICS process is the same except for step 17
Change that line to dexopt-wrapper /system/framework/core.jar /system/framework/patched_core.odex /system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar
If you have any questions or issues let me know and I will do my best to help you out. Good Luck!
One thing I have wanted to do, but havn't had a chance to work on, is to turn this process into a script so that this can be done automatically. If anyone would like to help me with this I would greatly appreciate it.
Reserved again just in case
Thanks for doing this!
Sent from my SPH-D710 using Tapatalk 2
Thanks for sharing your knowledge with us. Looking forward to this tutorial.
Pp.
Delivered to you via Mayan technology .
crawrj said:
One thing I have wanted to do, but havn't had a chance to work on, is to turn this process into a script so that this can be done automatically. If anyone would like to help me with this I would greatly appreciate it.
Click to expand...
Click to collapse
there is a script located in this link that worked for gingerbread maybe you could edit it for ics? It was a zip file that runs in recovery. Here is the link,
http://forum.xda-developers.com/showthread.php?t=1476617&page=31
mjohnson4580 said:
there is a script located in this link that worked for gingerbread maybe you could edit it for ics? It was a zip file that runs in recovery. Here is the link,
http://forum.xda-developers.com/showthread.php?t=1476617&page=31
Click to expand...
Click to collapse
Yeah i have one for gingerbread also that does the whole Rom. Haven't been able to get it to work on ics yet.
Sent from my SPH-D710 using xda premium
Deodexed using DsiXda's Rom kitchen, so credit goes to DsiXda.
Do it at your own risk ! I'm just as NOOB as any on this forum. I just followed few topics and made this up.
I'm not responsible if your Xperia S gets bricked , because mine is working fine.
Follow steps correctly or else you get bootloops and you have to flash your rom again.
Your SXS must be rooted (with Locked Bootloader or Unlocked boot loader) on Stock ICS ROM 6.1.A.2.45 without any mods like toggles or reboot menus.
So i recommend to do this just after you flash & root your Stock ICS ROM 6.1.A.2.45.
Install Latest 'BusyBox' from Andriod Market.
Make complete backup first.
Step1: Downloading & Copying files on to phone's internal storage
These are NOT and i repeat NOT flashable zips through recovery.
Extracting the below zips on your PC you get two folders namely done_app & done_frame.
Copy these two folders on to your Xperia S. (Please Do Not rename the folders)
Deodexed_app .45(146mb)
Deodexed_frame .45(24mb)
Deodexed_app .50(150mb)
Deodexed_frame .50(24mb)
Step2: Pushing them onto your phone. (Adopted from xUltimate method, credits to him )
You should have ADB correctly setup on your PC.
Turn on your Xperia S.
Enable Settings>Security>Unknown Sources.
Enable Settings>Developer Options>Usb Debugging.
Disable Xperia>Connectivity>Install PC Companinon.
Connect phone to your PC . Wait for PC to show up internal storage.
Go to 'platform-tools' folder in your adnroid-sdk folder, hold shift down and right click mouse, select 'Open Command window here' , You'll get a cmd window.
Enter the below code in the cmd window line by line
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/done_frame/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
After the phone reboots you'll have deodexed rom.
I also made 30 steps Volume mod i'll share it once deodexing works perfectly for you guys because it works only on deodexed roms. Have fun !
iamsuperuser said:
Great ! Thanks for your interest. Deodexed using DsiXda's Rom kitchen, so credit goes to DsiXda.
Do it at your own risk ! I'm just as NOOB as any on this forum. I just followed few topics and made this up.
I'm not responsible if your Xperia S gets bricked , because mine is working fine.
Follow steps correctly or else you get bootloops and you have to flash your rom again.
Your SXS must be rooted (with Locked Bootloader or Unlocked boot loader) on Stock ICS ROM 6.1.A.2.45 without any mods like toggles or reboot menus.
So i recommend to do this just after you flash & root your Stock ICS ROM 6.1.A.2.45.
Install Latest 'Busybox' from Andriod Market.
Make complete backup first.
Step1: Downloading & Copying files on to phone's internal storage
These are NOT and i repeat NOT flashable zips through recovery.
Extracting the below zips on your PC you get two folders namely done_app & done_frame.
Copy these two folders on to your Xperia S. (Please Do Not rename the folders)
Deodexed_app(146mb)
Deodexed_frame(24mb)
Step2: Pushing them onto your phone. (Adopted from xUltimate method, credits to him )
You should have ADB correctly setup on your PC.
Turn on your Xperia S.
Enable Settings>Security>Unknown Sources.
Enable Settings>Developer Options>Usb Debugging.
Disable Xperia>Connectivity>Install PC Companinon.
Connect phone to your PC . Wait for PC to show up internal storage.
Go to 'platform-tools' folder in your adnroid-sdk folder, hold shift down and right click mouse, select 'Open Command window here' , You'll get a cmd window.
Enter the below code in the cmd window line by line
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/done_frame/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
After the phone reboots you'll have deodexed rom.
I also made 30 steps Volume mod i'll share it once deodexing works perfectly for you guys because it works only on deodexed roms. Have fun !
Click to expand...
Click to collapse
this should be stickied! Post this in Development mate! :good:
I've been waiting for this. I'll try it with pdroid once I have the time.
blakwhite said:
I've been waiting for this. I'll try it with pdroid once I have the time.
Click to expand...
Click to collapse
Report back I wanna try this too! But I'm kind of busy
iamsuperuser said:
Great ! Thanks for your interest. Deodexed using DsiXda's Rom kitchen, so credit goes to DsiXda.
Do it at your own risk ! I'm just as NOOB as any on this forum. I just followed few topics and made this up.
I'm not responsible if your Xperia S gets bricked , because mine is working fine.
Follow steps correctly or else you get bootloops and you have to flash your rom again.
Your SXS must be rooted (with Locked Bootloader or Unlocked boot loader) on Stock ICS ROM 6.1.A.2.45 without any mods like toggles or reboot menus.
So i recommend to do this just after you flash & root your Stock ICS ROM 6.1.A.2.45.
Install Latest 'Busybox' from Andriod Market.
Make complete backup first.
Step1: Downloading & Copying files on to phone's internal storage
These are NOT and i repeat NOT flashable zips through recovery.
Extracting the below zips on your PC you get two folders namely done_app & done_frame.
Copy these two folders on to your Xperia S. (Please Do Not rename the folders)
Deodexed_app(146mb)
Deodexed_frame(24mb)
Step2: Pushing them onto your phone. (Adopted from xUltimate method, credits to him )
You should have ADB correctly setup on your PC.
Turn on your Xperia S.
Enable Settings>Security>Unknown Sources.
Enable Settings>Developer Options>Usb Debugging.
Disable Xperia>Connectivity>Install PC Companinon.
Connect phone to your PC . Wait for PC to show up internal storage.
Go to 'platform-tools' folder in your adnroid-sdk folder, hold shift down and right click mouse, select 'Open Command window here' , You'll get a cmd window.
Enter the below code in the cmd window line by line
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/done_frame/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
After the phone reboots you'll have deodexed rom.
I also made 30 steps Volume mod i'll share it once deodexing works perfectly for you guys because it works only on deodexed roms. Have fun !
Click to expand...
Click to collapse
Mate you got to share the 3o step volume thing..
Sent from my LT26i using xda premium
Harsh7689 said:
Mate you got to share the 3o step volume thing..
Sent from my LT26i using xda premium
Click to expand...
Click to collapse
No big deal man chill ! Let some of the users confirm this method, I'll share it. It is only for deodex users. If I share it now stock odex users will have bootloops.
Links Updated. Please discard old files and download new ones .
great work buddy...
Has anyone tried this yet ?? Please give feedback so that i can post in development section.
iamsuperuser said:
Has anyone tried this yet ?? Please give feedback so that i can post in development section.
Click to expand...
Click to collapse
I'm trying it... will post as soon as i finished...
I have done it.. all step went without any errors... after reboot showed rebuilding cache (android is updating showed up).. no .odex in app folder..
I hope thats... DeOdexed...voilaa....
s-X-s said:
I'm trying it... will post as soon as i finished...
I have done it.. all step went without any errors... after reboot showed rebuilding cache (android is updating showed up).. no .odex in app folder..
I hope thats... DeOdexed...voilaa....
Click to expand...
Click to collapse
What about framework folder ?
yaaa both are pushed to respective folders... but i donno how to confirm framework is doedexed?
Nice job.... 30 Steps media volume is already there... By krabappel2548
s-X-s said:
yaaa both is pushed to respective folder... but i donno how to confirm framework is doedexed?
Click to expand...
Click to collapse
Check if there is any .odex files on framework folder.
I request the forum mods to move this topic to development section . Thanks s-X-s for testing.
iamsuperuser said:
I request the forum mods to move this topic to development section . Thanks s-X-s for testing.
Click to expand...
Click to collapse
Pm the moderators... E.Cardo or cooleagle
Hi noob question..what this tutorial does?
nemer12 said:
Hi noob question..what this tutorial does?
Click to expand...
Click to collapse
you should give a look here : http://forum.xda-developers.com/showthread.php?t=1363749
Sorry, a wrong post, please del it
Sent from my LT26i using xda app-developers app
milton.bain said:
Nice job.... 30 Steps media volume is already there... By krabappel2548
Click to expand...
Click to collapse
Yes but I need to update it to the latest fw and this method works for more devices then our XS I did it for 2011 line in my starting days there
In fact it will deodex most firmwares for most Android devices on Gingerbread, ICS or even Jellybean with the latest update, so it's not strictly for Xperia S and ICS
Sent from my LT26i using xda app-developers app
Warning: This is very advanced, if you do not know what it is, dont play play.
I'm not responsible if your device bricked during deodexing process.
This method has been commonly used, I just improved it and included important cautions and precautions.
Requirements:
- Rooted firmware (Search XDA)
- Busybox installed (included when root with Root Many Droid)
- ADB correctly set up on computer *(sdk + environment variables setup)* ? - if u dont know what it is, as long as sdk installed is ok *(only sdk installed)*
- Xperia S with coresponding firmware version.
- In phone, usb debugging enabled, unknown sources enabled
- Downloaded app and framework zips
Downloads:
LT26i - 6.2.B.1.96 deodexed **not tested** by zhuhang
http://www.androidfilehost.com/?fid=23060877490002553LT26i - 6.2.B.0.200 deodexed **not tested** by @davidbar93
https://www.dropbox.com/s/saog0fip6m8gsyf/done_app.rar
https://www.dropbox.com/s/d8s6rll8esatzny/done_frame.rarLT26i - 6.1.A.2.55 deodexed **working** by zhuhang
http://www.androidfilehost.com/?fid=9390244042945593433
http://www.androidfilehost.com/?fid=9390244042945593434LT26i - 6.1.A.2.50 deodexed **working** by zhuhang
http://www.androidfilehost.com/?fid=9390244042945593431
http://www.androidfilehost.com/?fid=9390244042945593432LT26i - 6.1.A.2.45 deodexed **working** by zhuhang
http://www.androidfilehost.com/?fid=9390244042945593350
http://www.androidfilehost.com/?fid=9390244042945593351
Instructions:
1. Extract downloaded zips
2. Copy done_app and done_frame to /sdcard/ (via MTP acceptable)
3. Make sure debugging mode connected
4. (i) Open Command Prompt on PC (Ctrl + R > cmd) *(sdk + environment variables setup)*
4. (ii) Go to /android-sdk/platform-tools/ folder, hold Shift button and right click mouse, 'Open Command window here' (Win 7) *(only sdk installed)*
5. Enter lines ony by one:
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
busybox cp /sdcard/done_app/* /system/app/
busybox rm /system/app/*.odex
busybox cp /sdcard/done_frame/* /system/framework/
busybox rm /system/framework/*.odex
chmod 644 /system/app/*
chmod 644 /system/framework/*
busybox mount -o ro,remount /system/ /system/
reboot
6. Close Command Prompt
7. Wait for phone to reboot, you'll see "Android Upgrading, Optimizing aplications..."
8. If optimizing aplications succeed, congratulations, ur stock rom is deodexed! Done.
Note: Every time u put apks into /system/app/ and restart, Android Upgrading will appear for once.
Donations:
Its also recommended to make donation using Paypal balance. (lower transaction fee)
My Paypal Account is ready! Malaysian please PM me for local bank account.
I would appreciate if you can donate to me so I can maintain this OP. I'm also making IRS for you guys.
Credits:
Deodexed using dsixda's kitchen
Compressed using Winrar
Is it as simple as that?
eScapeeXc said:
Is it as simple as that?
Click to expand...
Click to collapse
Definitely yes if u know the commands and steps.
Try it yourself then, i've done hundred times on acroS and XS
Link to acroS in my sig.
zhuhang said:
Warning: This is very advanced, if you do not know what it is, dont play play.
I'm not responsible if your device bricked during deodexing process.
This method has been commonly used, I just improved it and included important cautions and precautions.
Requirements:
- Clean Rom (best with data wiped, orelse FCs)
- Rooted firmware (Root with Root Many Droid : here)
- Busybox installed (included when root with Root Many Droid)
- ADB correctly set up on computer *(sdk + environment variables setup)* ? - if u dont know what it is, as long as sdk installed is ok *(only sdk installed)*
- Xperia S with: usb debugging enabled, unknown sources enabled
- Downloaded app and framework zips
Downloads:
LT26i .45 deodexed
http://www.androidfilehost.com/?fid=9390244042945593350
http://www.androidfilehost.com/?fid=9390244042945593351
Instructions:
1. Extract downloaded done_app and done_frame zips
2. Copy done_app and done_frame to /sdcard/ (via MTP acceptable)
3. Make sure debugging mode connected
4. (i) Open Command Prompt on PC (Ctrl + R > cmd) *(sdk + environment variables setup)*
4. (ii) Go to /android-sdk/platform-tools/ folder, hold Shift button and right click mouse, 'Open Command window here' (Win 7) *(only sdk installed)*
5. Enter lines ony by one:
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
busybox cp /sdcard/done_app/* /system/app/
busybox rm /system/app/*.odex
busybox cp /sdcard/done_frame/* /system/framework/
busybox rm /system/framework/*.odex
busybox mount -o ro,remount /system/ /system/
reboot
Note: Do not change permissions of files to 644 or folders to 755! We'll do it later.
6. Leave Command Prompt open
7. Wait for phone to reboot, if optimizing aplications succeed, congratulations, ur stock rom is deodexed!
8. Now let's manually fix some permissions
9. Return to Command Prompt
10. Enter lines ony by one:
Code:
adb shell
su
mount -o rw,remount /system/ /system/
chmod 644 /system/app/*
chmod 644 /system/framework/*
busybox mount -o ro,remount /system/ /system/
reboot
11. After phone reboot, there should be no more "Android Upgrading, Optimizing aplications..."
12. Viola, Done!!
Note: Every time u put apks into /system/app/ and restart, Android Upgrading will appear for once.
Credits:
Deodexed using dsixda's kitchen
Packed using Winrar
Click to expand...
Click to collapse
Is this what u used for AC!D V6? is the internal speaker volume low?
darkace007 said:
Is this what u used for AC!D V6? is the internal speaker volume low?
Click to expand...
Click to collapse
This is deodexing stock ICS rom, nothing to do with any mod or acid v6
Do u know what's deodexing?
I dont exactly know but its about theming possibilties right but I saw one of ur posts that AC!D works for stock .45.
Sent from my LT26i using xda app-developers app
darkace007 said:
I dont exactly know but its about theming possibilties right but I saw one of ur posts that AC!D works for stock .45.
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
Deodex is not for theming. U can understand it somewhere else
I will add advantages of deodexing to 1st post.
Acid v6 not working yet, I haven't really tested. V5 works.
It doesn't matter whether ur Rom is odexed or deodexed, the advantage is no android upgrade loop on deodexed Rom.
Sent from my LT26i using xda app-developers app
You can actually a package, which used here man. Sdk, busybox, etc. It would be better. And one more question. Is it exactly at .55?
eScapeeXc said:
You can actually a package, which used here man. Sdk, busybox, etc. It would be better. And one more question. Is it exactly at .55?
Click to expand...
Click to collapse
Sdk has to be installed (few hundred Mbs) + Java
Root+busybox link given.
I can't make a package for that. Maybe links. I will consider.
Its .45, I'll do .50 and .55, can anyone provide me the app and framework?
There was another Deodexed .45 thread here.... if it was .55 would been better...
s-X-s said:
There was another Deodexed .45 thread here.... if it was .55 would been better...
Click to expand...
Click to collapse
Very soon...
Sent from my LT26i using xda app-developers app
zhuhang said:
Sdk has to be installed (few hundred Mbs) + Java
Root+busybox link given.
I can't make a package for that. Maybe links. I will consider.
Its .45, I'll do .50 and .55, can anyone provide me the app and framework?
Click to expand...
Click to collapse
s-X-s said:
There was another Deodexed .45 thread here.... if it was .55 would been better...
Click to expand...
Click to collapse
Just a thought why don't take .55 deodex both app and framework from the ROM I post long ago. It is in zip format so you could easily extract app and framework then follow instruction in first post to inject to your ROM.
tosa.th said:
Just a thought why don't take .55 deodex both app and framework from the ROM I post long ago. It is in zip format so you could easily extract app and framework then follow instruction in first post to inject to your ROM.
Click to expand...
Click to collapse
Where did u posted it?
zhuhang said:
Where did u posted it?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2005595
tosa.th said:
http://forum.xda-developers.com/showthread.php?t=2005595
Click to expand...
Click to collapse
U modified a little things.
zhuhang said:
U modified a little things.
Click to expand...
Click to collapse
Yes, I delete few app that recognize as bloat ware (this is recommended by rom kitchen) I see that you also use rom kitchen I believe you should see that as well.
The other change is not relate to app and framework.
tosa.th said:
Yes, I delete few app that recognize as bloat ware (this is recommended by rom kitchen) I see that you also use rom kitchen I believe you should see that as well.
The other change is not relate to app and framework.
Click to expand...
Click to collapse
Nope, i didnt saw which is recognized bloatware.
Which one?
zhuhang said:
Nope, i didnt saw which is recognized bloatware.
Which one?
Click to expand...
Click to collapse
Didn't write it down so can not tell you exactly which one.
It said some thing like do you want to remove bloatware ? I just say yes.
May be you could try to deodex .55 ROM then see if it detect any bloatware.
tosa.th said:
Didn't write it down so can not tell you exactly which one.
It said some thing like do you want to remove bloatware ? I just say yes.
May be you could try to deodex .55 ROM then see if it detect any bloatware.
Click to expand...
Click to collapse
I never encounter bloatware detected, anyway i will remove any apps.
Updated 27/12/12
Added:
LT26i - 6.1.A.2.50
LT26i - 6.1.A.2.55
Both not tested, let me know the result.
EDIT: Should be LT26i
I want to have a Deodexed ROM without going and installing a different ROM. Is it possible to Deodex the 4.1.2 stock rom? Im sure it is. Im SGH-1317m on 4.1.2.
Thanks :fingers-crossed::good:
Pirlo#21 said:
I want to have a Deodexed ROM without going and installing a different ROM. Is it possible to Deodex the 4.1.2 stock rom? Im sure it is. Im SGH-1317m on 4.1.2.
Thanks :fingers-crossed::good:
Click to expand...
Click to collapse
u can use any of the deodex tools and kitchens, or just smali/baksmali like I do.
if u have link for this rom, I can do it for you.
Pirlo#21 said:
I want to have a Deodexed ROM without going and installing a different ROM. Is it possible to Deodex the 4.1.2 stock rom? Im sure it is. Im SGH-1317m on 4.1.2.
Thanks :fingers-crossed::good:
Click to expand...
Click to collapse
In titanium back up you can odex o4 deodex in settings
Sent from my GT-N7105 using xda premium
Android The Greek said:
In titanium back up you can odex o4 deodex in settings
Sent from my GT-N7105 using xda premium
Click to expand...
Click to collapse
How do i do that?
Sent from my GT-N7105 using xda premium
Android The Greek said:
Sent from my GT-N7105 using xda premium
Click to expand...
Click to collapse
Oh yeah. I tried that. It didn't work on the stock rom
djodjoni said:
u can use any of the deodex tools and kitchens, or just smali/baksmali like I do.
if u have link for this rom, I can do it for you.
Click to expand...
Click to collapse
How do i use the smali or baksmali? i have android kitchen. I just cant run any of the .Jar files. If thats even what your supposed to do. sorry. im usually not this lost
Pirlo#21 said:
How do i use the smali or baksmali? i have android kitchen. I just cant run any of the .Jar files. If thats even what your supposed to do. sorry. im usually not this lost
Click to expand...
Click to collapse
I havent used any kitchen actually, just do things manually with some small dirty scripts
So smali/baksmali:
1) to run a jar you can just exe "java -jar baksmali.jar" for example
for that of course you need to have java installed and it needs to be in your path
the (bak)smali jars normally come with a script wrapper so you dont need to bother for the java thing. I ll explain later
2) to deodex you need to baksmali, then smali then pack the classes.dex back into the apk/jar, then zipalign (optional but recommended)
3) to backsmali: baksmali -a {API} -x {APP.odex} -d {Dependencies ex: framework} -o {OUT_DIR}
4) to smali: smali -a {API} -o {output.dex} {smali DIR-got from baksmali}
5) to pack: aapt a -v {the package to put it in apk/jar} {the.dex file got from smali}
note u may use any archiving tool i just reuse the tools i get from AOSP
6) to zipalign: zipalign -f 4 r {the package apk/jar} {the out zipaligned package apk/jar}
ur done.
You normally also need to deodex framework and then app folder.
So if this is a bit complicated to do it urself if you have linux environment you can:
1) download:
smali
baksmali
baksmali.jar
smali.jar
aapt
zipalign
deodex.sh
from: http://web.djodjo.org/?a=download:android:tools:x86_linux:alltools
2) put those in your ~/bin and chmod them to 777
3) get your system dir(or just system/app and system/framework) to some place
4) execute deodex.sh {fullpath to the system dir} {API for you it is 16}
and wait ...
In case you've got the ext4 sparsed image i.e. system.img
you can download deodexsystem.sh from the same link and execute:
sudo deodexsystem.sh system.img 16
this one will even pack it back to an ext4 sparsed image file so you can tar it and flash it with odin
enjoy
djodjoni said:
I havent used any kitchen actually, just do things manually with some small dirty scripts
So smali/baksmali:
1) to run a jar you can just exe "java -jar baksmali.jar" for example
for that of course you need to have java installed and it needs to be in your path
the (bak)smali jars normally come with a script wrapper so you dont need to bother for the java thing. I ll explain later
2) to deodex you need to baksmali, then smali then pack the classes.dex back into the apk/jar, then zipalign (optional but recommended)
3) to backsmali: baksmali -a {API} -x {APP.odex} -d {Dependencies ex: framework} -o {OUT_DIR}
4) to smali: smali -a {API} -o {output.dex} {smali DIR-got from baksmali}
5) to pack: aapt a -v {the package to put it in apk/jar} {the.dex file got from smali}
note u may use any archiving tool i just reuse the tools i get from AOSP
6) to zipalign: zipalign -f 4 r {the package apk/jar} {the out zipaligned package apk/jar}
ur done.
You normally also need to deodex framework and then app folder.
So if this is a bit complicated to do it urself if you have linux environment you can:
1) download:
smali
baksmali
baksmali.jar
smali.jar
aapt
zipalign
deodex.sh
from: http://web.djodjo.org/?a=download:android:tools:x86_linux:alltools
2) put those in your ~/bin and chmod them to 777
3) get your system dir(or just system/app and system/framework) to some place
4) execute deodex.sh {fullpath to the system dir} {API for you it is 16}
and wait ...
In case you've got the ext4 sparsed image i.e. system.img
you can download deodexsystem.sh from the same link and execute:
sudo deodexsystem.sh system.img 16
this one will even pack it back to an ext4 sparsed image file so you can tar it and flash it with odin
enjoy
Click to expand...
Click to collapse
thanks but none of the downloads work for me and i tried to do it with Cygwin but i cant keep a terminal open for more than 3 seconds before it crashes sorry. ive been busy. why it took me so long to get back. and i also tried doing the android kitchen in Ubuntu. but every time i try. that terminal also force closes. i don't know what going on!
Pirlo#21 said:
thanks but none of the downloads work for me and i tried to do it with Cygwin but i cant keep a terminal open for more than 3 seconds before it crashes sorry. ive been busy. why it took me so long to get back. and i also tried doing the android kitchen in Ubuntu. but every time i try. that terminal also force closes. i don't know what going on!
Click to expand...
Click to collapse
what do you mean "none of the downloads work for me".
You use those in ubuntu not in cygwin.
What exactly do you do when it crashes? do you see any messages?
djodjoni said:
what do you mean "none of the downloads work for me".
You use those in ubuntu not in cygwin.
What exactly do you do when it crashes? do you see any messages?
Click to expand...
Click to collapse
okay. Well. I cant seem to run the ./menu on ubuntu. ive tried several commands.
Success!
djodjoni said:
what do you mean "none of the downloads work for me".
You use those in ubuntu not in cygwin.
What exactly do you do when it crashes? do you see any messages?
Click to expand...
Click to collapse
Okay! im sorry for the really long wait reply. But i got everything to open well. I extracted the system.img, boot.img, cache.img and modem.bin from a stock rom .tar... I gave it root, gave it busybox. did all that stuff. but before i build it. whats the API level i need to deodex? is it 16?