[HOW-TO] DEODEX Your I9003 - Samsung Galaxy SL i9003

HOW TO DEODEX I9003
What you'll need:
A Windows based machine
JDK
ANDROID SDK
XULTIMATE 2.2
And A Rooted I9003
Process:
1. Unzip xUltimate v2.2, and launch "Main.exe"
2. If everything goes well xUlt should recognize the phone and make a connection. You now should see a list of options.
3. Run option 1. After option 1 is done, run option 2.
4. Now these well take a while. Run option 3.
5. IMPORTANT: After you have run option 3
6. Now run option 4, and wait.
7. Exit xUltimate, and put the phone in USB mass storage.
8. Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the internal sdcard not in the external sd.
9. Now Put the phone in USB DEBUGGING mode and DON'T PUT THE PHONE IN MASS STORAGE MODE
10. Open a command prompt, and do the following:
Code:
adb shell
#su
#stop
mount -o remount rw /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o remount ro /system
reboot
Credits to -
Xeodoxus for xultimate
Ghostlypickel for this guide
DO THIS AT YOUR OWN RISK
IF YOU LYK MY POST THEN PLEASE PRESS THE THANKS BUTTON

Hey dude did you follow the same method coz we copy files to external_sd should we make some changes to the script...whenever i follow this method i get no such file or directory error and gets into bootloop
Sent from my GT-I9003 using XDA App

dude just copy the done frame and done app folder to internal sd

kkrraazzyy said:
dude just copy the done frame and done app folder to internal sd
Click to expand...
Click to collapse
i get disk full error

I have made a change in the adb command sequence. You will not get not enough space error, if you follow that.
Open a command prompt, and do the following:
Code:
adb shell
$ su
# stop
# mount -o remount rw /system
# rm /system/app/*.odex
# rm /system/framework/*.odex
# cp /sdcard/done_app/* /system/app/
# cp /sdcard/done_frame/* /system/framework/
# mount -o remount ro /system
# reboot
All the best
If any one wants deodexed ROM with only required applications I will post it tomorrow morning.

trip007in said:
If any one wants deodexed ROM with only required applications I will post it tomorrow morning.
Click to expand...
Click to collapse
I assume this would mean flashing and again restoring all apps. If that's the case, it may be easier to deodex.
But I would like to know which are "essential apps" only. I have flashed to XXKB3 and want to know which apps system I can remove safely.
I also wanted to increase in-call and speaker volumes. When I go in service menu, there is an optin Audio (No.5). Under this there is an option "Speaker". Under this there are options like "Volume" (is this in-call?), "Speaker" (Is this the loudspeaker?), "NR', "DRP", "SER", "CNI". Again under each there are many options, which should I change and by how much?
I had asked the questions in another thread but answer was not accurate(or maybe I did not understand)

kkrraazzyy said:
HOW TO DEODEX I9003
Process:
1. Unzip xUltimate v2.2, and launch "Main.exe"
2. If everything goes well xUlt should recognize the phone and make a connection. You now should see a list of options.
3. Run option 1. After option 1 is done, run option 2.
4. Now these well take a while. Run option 3.
5. IMPORTANT: After you have run option 3
6. Now run option 4, and wait.
7. Exit xUltimate, and put the phone in USB mass storage.
8. Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the internal sdcard not in the external sd.
9. Now Put the phone in USB DEBUGGING mode and DON'T mount the sd card
10. Open a command prompt, and do the following:
Click to expand...
Click to collapse
I have some questions while doing this :
1) Does the phone have to be in USB debugging mode when the "Main.exe" is run?
2) In step 4, wait till when?
3) In step 8, root is where there are folders like "acct, "cache", "config" etc including "system", kindly confirm
4) After copying, do we have to remove cable, set to USB debugging, unmount "External SD card" and then connect phone? Why is this required, we are not using the external SD card anyway.
5) Does this mean open command prompt in phone, Terminal Emulator? Then which commands do we put, the one given by you or given by trip007in?
Is there a video of this procedure?

trip007in said:
I have made a change in the adb command sequence. You will not get not enough space error, if you follow that.
Open a command prompt, and do the following:
Code:
adb shell
$ su
# stop
# mount -o remount rw /system
# rm /system/app/*.odex
# rm /system/framework/*.odex
# cp /sdcard/done_app/* /system/app/
# cp /sdcard/done_frame/* /system/framework/
# mount -o remount ro /system
# reboot
All the best
If any one wants deodexed ROM with only required applications I will post it tomorrow morning.
Click to expand...
Click to collapse
Thanks a lot guys finally deodexed
Sent from my GT-I9003 using XDA App

You can remove following apks safely.
Code:
1. AxT9IME.apk
2. ChocoEUKor.apk
3. CoolEUKor.apk
4. Days.apk
5. Dlna.apk
6. DualClock.apk
7. Gallery3D.apk.bak
8. Gallery3Dmiui.apk.bak
9. GenieWidget.apk
10. GoogleBackupTransport.apk
11. HTMLViewer.apk
12. InfoAlarm.apk
13. MiniDiary.apk
14. LbsTestMode.apk
15. GoogleFeedback.apk
16. LiveWallpapers.apk
17. MobileTrackerEngineTwo.apk
18. MobileTrackerUI.apk
19. MtpApplication.apk
20. PhoneSetupWizard.apk
21. SelfTestMode.apk
22. SerialNumberLabelIndicator.apk
23. VisualizationWallpapers.apk
24. OtaProvisioningService.apk
25. Preconfig.apk
26. Protips.apk
27. RoseEUKor.apk
28. SamsungApps.apk
29. SamsungWidget_CalendarClock.apk
30. SamsungWidget_FeedAndUpdate.apk
31. SnsProvider.apk
32. Stk.apk
33. TwWallpaperChooser.apk
34. UNAService.apk
35. UnifiedInbox.apk
36. VpnServices.apk
37. aldiko-standard-1.2.6.1-samsung-s1.apk
38. hbo101.apk
39. lcdtest.apk
40. thinkdroid.apk
41. wipereceiver.apk
42. wssomacp.apk
43. wssyncmlnps.apk
jesrani said:
I assume this would mean flashing and again restoring all apps. If that's the case, it may be easier to deodex.
But I would like to know which are "essential apps" only. I have flashed to XXKB3 and want to know which apps system I can remove safely.
Click to expand...
Click to collapse

trip007in said:
You can remove following apks safely.
Click to expand...
Click to collapse
Uninstall or directly delete from some folder?
I was just reading on forums about deodex and it seems a bit complicated to me still, seems I need something called Android SKD. Not sure if I want to go through all that. Maybe you can give me the stock XXKB3 deodexed rom with "essential apps only" and I can backup and restore my other apps as I did from DDKB2 to XXKB3.
Also hope you can make some changed to your theme in the other thread,

congrats ronhoover

after deodexing succesful, then do a hard reset do i need to deodex again?

Of course
Sent from my GT-I9003 using XDA Premium App

Whats d use of deodex???
Sent from my GT-I9003 using XDA Premium App

is there any specific time should i wait after typing
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
or should i type one after the others?
my 1st try is succesful but. package installer and my files always force close.

jesrani said:
Originally Posted by kkrraazzyy View Post
Process:
1. Unzip xUltimate v2.2, and launch "Main.exe"
2. If everything goes well xUlt should recognize the phone and make a connection. You now should see a list of options.
3. Run option 1. After option 1 is done, run option 2.
4. Now these well take a while. Run option 3.
5. IMPORTANT: After you have run option 3
6. Now run option 4, and wait.
7. Exit xUltimate, and put the phone in USB mass storage.
8. Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the internal sdcard not in the external sd.
9. Now Put the phone in USB DEBUGGING mode and DON'T mount the sd card
10. Open a command prompt, and do the following:
I have some questions while doing this :
1) Does the phone have to be in USB debugging mode when the "Main.exe" is run?
2) In step 4, wait till when?
3) In step 8, root is where there are folders like "acct, "cache", "config" etc including "system", kindly confirm
4) After copying, do we have to remove cable, set to USB debugging, unmount "External SD card" and then connect phone? Why is this required, we are not using the external SD card anyway.
5) Does this mean open command prompt in phone, Terminal Emulator? Then which commands do we put, the one given by you or given by trip007in?
Is there a video of this procedure?
Click to expand...
Click to collapse
@kkrraazzyy can you please advice on the above
I assume that throughout steps 1 to 8, the phone is on and not rebooted, is that right?
Before step 9, is rebooting required? The SD card is to be unmounted from Settings-->SD Card and phone storage-->Unmount SD card, please correct if I am wrong.
How do I do step 10, is this from within the phone or connect to PC and run what? I have downloaded a file "android-sdk_r11-windows.zip" which I have extracted to a folder. Inside is another file "SDK manager" which when I run, I get some screens as per attached image. Now what do I do next?

i think you should wait until # appear again.
now no more problem.

nope rebooting is not required after step 8 and by not mounting the sd card means dont put the phone in mass storage mode
and 10 the step has to be done from distro
just go the run and type cmd and follow the steps
and before doing this kindly read this http://forum.xda-developers.com/showthread.php?t=879701

kkrraazzyy said:
nope rebooting is not required after step 8 and by not mounting the sd card means dont put the phone in mass storage mode
and 10 the step has to be done from distro
just go the run and type cmd and follow the steps
and before doing this kindly read this http://forum.xda-developers.com/showthread.php?t=879701
Click to expand...
Click to collapse
I installed JDK and adb but there are a lot more updating options than in the guide. Also the update is large. Am not sure which updates to allow.
Instead, can I use this " http://forum.xda-developers.com/showthread.php?t=972852 "? If yes, how?

Thanks for the tutorial but I think some things are missing. What else do we need to install on our PC? Skies? Drivers for the phone? ADB or anything?
When you say do not mount the sd card, do we need to unmount it? what exactly do we need to do here?
At what point to we unplug the phone etc.

Related

[TUTORIAL] Install applications into SD Card for Samsung Galaxy 5 (i5500)

DISCLAIMER: DO THIS AT YOUR OWN RISK. I AM NOT RESPONSIBLE IF YOU BRICK / RUIN YOUR PHONE IN ANY WAY.
Hi Everyone,
I have some good news for the owners of Samsung Galaxy 5 (i5500) Smartphones.
Doing some research on Google and reading about efforts from other people who could install applications on SD card on other android phones, I was able to develop a method to install application into SD card for the Galaxy 5. Better yet, you won't even need a custom Rom.
Before I get into the specifcs let me state that the following steps are manual and no application is provided to automate the process, so advanced computer skill is required and some knowledge of unix/linux is a plus.
Here we go: PLEASE READ THE WHOLE THING BEFORE YOU START. I MAY HAVE OMMITED SOME COMMANDS OUT OF LACK OF ATTENTION.
1) You'll need to root your phone. There is a lot of guides about this available, just google for it. I've used the SuperOneClick Root to do this.
2) Partition your sd card like this: 1 - FAT, 2 - Linux ext2. Again, there is a lot of guides about this on the net, just google again. I've used Paragon Partition Manager 2010 to lower the size of my FAT partition, leaving a 550MB unallocated space at the end of the card. Then I formatted this space as ext2 in linux, using ubuntu live CD. Most guides around there recommends that you keep this partition between 500~750MB, so I didn’t try with greater sizes. Also, i kept my partition 1 as FAT 16, but FAT 32 might actually work too, try that if you want and post me a reply.
3) Download Titanium Backup (or another app backup tool) from market and backup your applications. You may need to restore your applications to correct some permission problems that may occur after completing this guide.
4) Install busybox. BusyBox is a software application that provides many standard Unix tools, which are not available on stock android. You can get a copy of busybox by clicking on “problems?” button on Titanium Backup main window. It will get installed on /data/data/com.keramidas.TitaniumBackup/files.
5) If you still don’t have Android SDK installed on your PC, download and install it from Google. You’ll need ADB (Android Debug Bridge), which is included in the SDK, to proceed. Now open a shell connection with your device by typing:
Code:
adb shell
Just keep in mind that you MUST be logged as root. Root command prompt is recognized by the # character. If you don’t have root type the ‘su’ command. If even with ‘su’ you couldn’t get root, please review step 1.
6) Create ‘sd’ folder int /system:
Code:
cd /system
mkdir sd
7) Mount ext2 partition into /system/sd
Code:
mount -t ext2 /dev/block/mmcblk0p2 /system/sd
8) Create a folder to store the applications into ext2 partition:
Code:
cd /system/sd
mkdir app
9) Copy busybox to /system/bin
Code:
cat /data/data/com.keramidas.TitaniumBackup/files/busybox > /system/bin/busybox
chmod 755 /system/bin/busybox
10) Copy your applications to ext2 partition:
Code:
busybox cp /data/app/* /system/sd/app/
11) Change permissions of copied applications:
Code:
cd /system/sd/app
chown system.system *
chmod 644 *
12) Now comes the tricky part: making Android mount your new partition at boot time. All the hard work would be useless if Android discarded the mount points every time we restarted our phones. To do this we’ll need to create 2 scripts and store then into /system/etc. Obviously the scripts should be started by init.rc and need to run as root. Fortunately Android’s init.rc have a gap that makes this possible. The scripts are named install-recovery.sh and init-sd2.sh.
install-recovery.sh content:
Code:
#!/system/bin/sh
/system/etc/init-sd2.sh&
init-sd2.sh content:
Code:
#!/system/bin/sh
MYLOG=/data/install-recovery.log
echo "$(date) Starting install-recovery.sh" > $MYLOG
echo "$(date) Waiting SD to become ready..." >> $MYLOG
sleep 10
mount -t ext2 /dev/block/mmcblk0p2 /system/sd 1>>$MYLOG 2>>$MYLOG
mount -o bind /system/sd/app /data/app 1>>$MYLOG 2>>$MYLOG
mount >> $MYLOG
echo "$(date) Finishing install-recovery.sh" >> $MYLOG
If you plan to edit this files on windows I recommend a tool that is capable of keeping UNIX file format, just like notepad++ free tool.
13) After placing the scripts, change their permissions:
Code:
cd /system/etc
chmod 555 install-recovery.sh
chmod 555 init-sd2.sh
14) Rename the default application folder. If everything works fine you can remove this later to save space:
Code:
cd /data
mv app app_old
mkdir app
chown system.system app
chmod 755 app
15) Restart your phone and cross your fingers
16) If you have problems with your widgets don’t worry. You just need to remove then from your homescreen and add again.
17) Check if your applications are running as they should. Restore backups you’ve made with Titanium Backup for the applications showing problems.
18) If your partition didn’t mount at boot, check log file at /data/install-recovery.log
19) From now on your new applications will be installed on your SD Card. You can modify the scripts to store other folders from /data into the ext2 partition as needed. I’ve been running my applications from SD Card for a week now without any problems or bugs.
20) If you can’t make it work, post your question here and I will try to help you out.
21) Donations are welcomed, just drop some money into my paypal account. Just kidding
Good luck and cya!
can this script use for moving /data/data to EXT2?
if can, from where i should start type the script?
i'm still newbie on this
so i'm alittle bit confused, i hope you can help me and sorry for my bad english
i'm already succes from step 1 to step 11
but i'm little confused at step 12
can you explain how to make the script?
should i make those 2 script via notepad++ and then copy it to /system/sd and then continue to step 13?
or should i just type everything on step 12 after step 11 in cmd prompt?
the problem is, if i make the script from notepad++ the android system will just discard my mount point when i restart my phone
and if i just type everything on the step 12 in comand prompt, when i'm type chmod 555 install-recovery.sh and chmod 555 init-sd2.sh like in the step 13, it always say that install-recovery.sh and init-sd2.sh file is not found?
so what should i do?
i'm stuck on step 12
step 12, type it on notepad++ and then you have to change the extension of the file with .sh, after that copied the 2 files to /system/etc
andikasuhendar said:
step 12, type it on notepad++ and then you have to change the extension of the file with .sh, after that copied the 2 files to /system/etc
Click to expand...
Click to collapse
i've already done that
but when i make the script via notepad ++, i'm already make the save type become .sh, so isn't it just the same?
but when i reboot the phone it's still not working
But how to copy this two script files to system/etc??? it's saying permision denied..
But how to copy this two script files to system/etc??? it's saying permision denied..
Click to expand...
Click to collapse
I'm use root explorer to move it to system/etc
The script can be moved but it still doesn't work at all :-(
-------------------------------------
Sent via the XDA Tapatalk App
And i can't move them even with root explorer.. i don't get what i'm doing wrong (
@agus
about the scripts, u can check with root explorer, try to view the script and make sure it was the exact same from the script above, coz i experience the same problem for the first time i try this. if u sure that the script are same then try to execute it using root explorer and then go to titanium backup and see if there is there is another storage (usually there is internal and SD card only).
@stasic
use the root explorer to copy the script to /system/etc, don't forget to change the root explorer option from R/O to R/W, this option should be on top of the page, just touch it to change from R/O to R/W.
andikasuhendar said:
@agus
about the scripts, u can check with root explorer, try to view the script and make sure it was the exact same from the script above, coz i experience the same problem for the first time i try this. if u sure that the script are same then try to execute it using root explorer and then go to titanium backup and see if there is there is another storage (usually there is internal and SD card only).
@stasic
use the root explorer to copy the script to /system/etc, don't forget to change the root explorer option from R/O to R/W, this option should be on top of the page, just touch it to change from R/O to R/W.
Click to expand...
Click to collapse
veeeerrrryyyyyyyyy biiiiiiigggggggggggg thaaaaaaannnnnkkkkkssssss brrroooo
you was right, after i check the script via root explorer, the script was not the same, after i fix it, everything works like a charm
in a step 2... how to change linux ext2???
any software can change from FAT to ext2???
I've changed root explorer option to R/W and still no luck..
@agus
sama2 bro AKA ur welcome bro, have fun with the app2sd hehehe
@nima
search on google, how to format EXT2, if i correct u can use paragon partition for windows user, but if u use macintosh u can just go to disk utility and make partition with EXT2 format
@stasic
go to the /system/etc and see if it already R/W or still R/O
It's written that R/W but when I copy and paste still nothing happens..
thx guy.... i must try it
andikasuhendar said:
@stasic
go to the /system/etc and see if it already R/W or still R/O
Click to expand...
Click to collapse
i've rooted my g5 using superoneclick
but i still have R/O in /system/etc
when i tap R/O on the screen, i wont changed to R/W
what should i do?
maaf inggris nya acak2an
@siap
siapakahaku said:
i've rooted my g5 using superoneclick
but i still have R/O in /system/etc
when i tap R/O on the screen, i wont changed to R/W
what should i do?
maaf inggris nya acak2an
Click to expand...
Click to collapse
In your PC command prompt execute:
Code:
adb shell
Make sure you are loged in as root and in ADB SHELL try this:
Code:
mount -o rw,remount /dev/stl12 /system
Then execute:
Code:
mount
If your mount result has a line like the one bellow, with the rw set, you'll be able to copy the files.
Code:
/dev/stl12 /system rfs rw,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
@stasic
stas1c said:
It's written that R/W but when I copy and paste still nothing happens..
Click to expand...
Click to collapse
Try the same thing I posted above. I don't have Root Explorer installed here, so you should be able to finish this guide without it.
stuck in step 2
cant mkdir....
Hi, nice guide!
I succeded with this the first time I tried but now I have changed to a larger sd card and I can't get it to work.
The log file says that it failed to mount the mmcblk0p2 folder, and now when I check it doesn't even exist. What should I do?
Hope I can get help.. thankful for response. /Mattefacit

[HOWTO´S] collection of how to do it :)

Hi all, im making a NEW thread for how to make custom ROM, change build.prop, how to theme (coming later)! i will make a colection of how to´s to this thread for now all of the how to´s are made by me but in future i will take how to´s from others too (with their permission ofc )
so subscribe to this thread!!
i hope that there will be many custom ROMs after this
now you all think why did i do this if theres another tutorial for making custom ROM? answer: this is good alternative and this is not just one HOWTO!
HOWTO´S
-custom ROM
-edit build.prop
-5 lockscreen mod and extended power menu
-deodexing
-install android sdk and use ADB
-port themes (coming later)
-make own bootanimation (coming later)
** you can also post your ideas for new how to´s!!!
have a nice day
p.s dont blame me if something happens to your device while doing these how to´s
p.p.s if you want some special how to you can always suggest it in this thread
[HOWTO] make a custom ROM
How to make custom rom:
you will need: ADB, root explorer (maybe) and the files that are going to be in your rom!
the guide is based on The Dark Lestat's guide, i made it more easier and specific
code to delete unwanted apps: (if ADB)
Code:
adb shell
su
mount -o remount,rw /dev/block/stl9 /system
rm /system/app/nameofapk.apk
code to add apps and stuff: (if ADB)
Code:
adb shell
su
mount -o remount,rw /dev/block/stl9 /system
exit
exit
adb push nameofapk.apk /system/app/
1. flash the ROM that will be your ROMs base. example: my ROMs base is JPM so i flashed clean JPM
2. make a list of the features that are going to be in your ROM
3. then start adding those features. example: i added live wallpaper support so i did this --> http://forum.xda-developers.com/showthread.php?t=793823 i also added JIT so i ran the automatic batch file from the thread --> http://forum.xda-developers.com/showthread.php?t=1026870 . then you just add those features.
4. put your sd card on to your phone (if it isnt there already )
5. when your done adding different features you go to ADB and type this:
Code:
adb shell
su
mount -o remount,rw /dev/block/stl9 /system
dd if=/dev/block/stl6 of=/sdcard/factoryfs.rfs
then you wait about 2 minutes and there will be some text and then you type this
Code:
exit
exit
and in your sd-card will be freshly created factoryfs.rfs, import your freshly created factoryfs.rfs to your desktop. now you choose your kernel.
5. kernel, download the kernel you want to your desktop.
6. download total commander to your pc
7. open total commander, open the base ROM.tar. example: my base ROM was JPM so i opened the JPM.tar and replaced the kernel and factoryfs.rfs with my factoryfs.rfs and my kernel (fugumod 2.2) using total commander.
delete everything else in the .tar but, Cache.rfs, factoryfs.rfs, zlmage and data.rfs and the logo!
then you test if you can flash your ROM... if it boots, you did it. if it doesnt, try again.
[HOWTO] edit BUILD.prop
HOW TO change firmware version, phone model, build version in "about phone"
1. open root explorer
2. go to /system, find build.prop, change to read/write mode. open the build.prop in text editor
* change build version: 4th line should say ro.build.display.id=(here you write your build version name), reboot and check build version in "about phone"
* change model number: 15th line should say ro.product.model=(here write your model number ), reboot and check model number in "about phone"
* change firmware version: 8th line should say ro.build.version.release=(here write your firmware version, like 3.0 honeycomb ), reboot and check firmware version in "about phone"
you can also change different things but ill write a guide of that later
hope you like it!
[HOWTO] port a THEME
reserved for later use
[HOWTO] get 5 lockscreen mod and extended power menu
-your ROM must be deodexed!
-you can get extended power menu and 5 lockscreen mod by downloading this --> http://www.megaupload.com/?d=PKHVA57W
-extract it to root of your sd-card
-open root explorer and copy/paste the files to /system/framework
-reboot and done
OR
use adb like this:
Code:
adb shell
su
mount -o remount,rw /dev/block/stl9 /system
exit
exit
adb push nameoffile.jar /system/framework/
-reboot and done
***NOTE rebooting might take some time so dont panic
[HOWTO] deodex ROM
you must be rooted
What you'll need:
A Windows based machine
xUltimate v2.2
Patience
Process:
-Unzip xUltimate v2.2, and launch "Main.exe"
-If everything goes well xUltimate should recognize the phone and make a connection. You now should see a list of options.
-Run option 1. After option 1 is done, run option 2.
-Now these well take a while. Run option 3.
-IMPORTANT: After you have run option 3, you MUST navigate to the xUltimate folder and find "origi_frame" folder, and delete "guava.odex" (if you even have it). It's a bad file, and interferes with deodexing process.
-Now run option 4, and wait.
-Exit xUltimate, and put the phone in USB mass storage.
-Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the sdcard.
-Open a command prompt, and do the following:
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
and voila your phone is deodexed
original guide by webst3r, i changed it so its easier to understand
[HOWTO] get ADB up and running (easy way)
ADB is an acronym for Android Debug Bridge and is a development tool for the Android Mobile Operating System
NOTE this is only for windows!
-open this link --> http://adf.ly/Xfyl wait 5 secs and click upper right corner "skip ads" it will download a program that automaticly installs android sdk (wich includes ADB)
-Open the app, leave the destination as C:\ and click ok/install
-Installing ADB/USB Drivers:
*NOTE* You may need additional (Device Specific) Drivers for your Device!
- Connect your Android Device to your PC using the provided USB Cable or just a plain ole 6-pin to 4-pin usb cable... (I prefer to use one with a ferite core)
- When the new hardware device notification pops-up on your pc point windows to the driver folder we moved to our C-drive(C:\android-sdk-windows\google-usb_driver) and install the adb driver.
** if your having issues with installing ADB drivers read this --> http://dl.dropbox.com/u/20575563/ADB_Drivers_for_dummies.pdf
-Running ADB from the Command Prompt:
-Windows XP: Select Start or Tap the Windows Key on your Keyboard, select
"Run" and type "CMD" then hit "Enter".
-Windows Vista/Win7: Select Start or Tap the Windows Key on your Keyboard, select the search box on the left and type "cmd" then hit "Enter".
Add the "ADB" directory path as a system variable in windows:
-To do this right-click on "My Computer" and select Properties. Next select the Advanced tab(Advanced Settings in Vista/7) then select Environment Variables.
-Click "New" under System Variables and add the following:
Variable =
Code:
adb
Value =
Code:
C:\android-sdk-windows\platform-tools
-Call up your Command Prompt:
Time to start adb
- Open up a Command Prompt Windows
- Type the commands below:
Code:
cd C:\android-sdk-windows\platform-tools
<-- Press Enter
Code:
adb.exe
<--Press Enter
and voila You will see alot of scripting fly through the command prompt window.
***note! you have to enable usb debugging in --> settings --> applications --> developement --> check usb debugging
tutorial is not made by me, its made by AndroidSamurai. i found it after lot of researching
[HOWTO] make your own update.zip
download and install, then watch the video
http://youtu.be/i0KzFPMA6-8
program and video made by Daneshm90
balaji.admin said:
Please include a Post for Deodexing the ROM. I've tried to deodex the DDJP2. But never succeeded.
Hope your post will help me.
Click to expand...
Click to collapse
there is a tut by rudolf..
[HOWTO] change app icon
How to change icons for app!
1.)
Things you need:
original app
your custom icon (size should be 48x48)
win rar
2.)
Unpack APK
3.)
Find file, for example: ic_launcher_settings.png (for settings.apk)
It should be in: res/drawable-mdpi or res/drawable-ldpi (dont know which icon phone uses, just replace both)
4.)
Rename you icon to, for example: ic_launcher_settings.png (for settings.apk)
5.)
Replace it
6.)
Final step is add files to old settings.apk archive and using root explorer copy it into /system/app/
DONE!
guide by peldax
jazux said:
hey, one question coming from me our device has the same resolution as htc wildfire? right? and device is ldpi or mdpi? please answer ASAP!!! i may have found very useful HOWTO that you will LOVE!!!
>>>>>>>>>>>>>>>>>>>>>>>>>
POX v.1.0 beta 2 released! be sure to try it out :]
<<<<<<<<<<<<<<<<<<<<<<<<<
GreeModding from finland :]
Click to expand...
Click to collapse
galaxy3 has ldpi - look there: http://developer.android.com/guide/practices/screens_support.html
jazux said:
-your ROM must be deodexed!
-you can get extended power menu and 5 lockscreen mod by downloading this --> http://www.megaupload.com/?d=PKHVA57W
-extract it to root of your sd-card
-open root explorer and copy/paste the files to /system/framework
-reboot and done
OR
use adb like this:
Code:
adb shell
su
mount -o remount,rw /dev/block/stl9 /system
exit
exit
adb push nameoffile.jar /system/framework/
-reboot and done
Click to expand...
Click to collapse
is this suit for every rom?
dxdiag32 said:
is this suit for every rom?
Click to expand...
Click to collapse
what do you mean? like does this work on other fw's than JPM? im not sure because i havent tested it, but i think it should work.
but it will surely work on every JPM based ROMs
>>>>>>>>>>>>>>>>>>>>>>>>>
POX v.1.0 beta 2 released! be sure to try it out :]
<<<<<<<<<<<<<<<<<<<<<<<<<
GreeModding from finland :]
Hey man a really nice tutorial
Can you add my tutorial on how to make bootanimations too
It would be appreciated
P.S. : If you tell yes,i'll give you a shortened version too
Deodexed Rom? How can i do it?.
cdesai said:
Hey man a really nice tutorial
Can you add my tutorial on how to make bootanimations too
It would be appreciated
P.S. : If you tell yes,i'll give you a shortened version too
Click to expand...
Click to collapse
yes i can add it
>>>>>>>>>>>>>>>>>>>>>>>>>
POX v.1.0 beta 2 released! be sure to try it out :]
<<<<<<<<<<<<<<<<<<<<<<<<<
GreeModding from finland :]
AndroKite said:
Deodexed Rom? How can i do it?.
Click to expand...
Click to collapse
ill do a tutorial later tonight!
>>>>>>>>>>>>>>>>>>>>>>>>>
POX v.1.0 beta 2 released! be sure to try it out :]
<<<<<<<<<<<<<<<<<<<<<<<<<
GreeModding from finland :]
AndroKite said:
Deodexed Rom? How can i do it?.
Click to expand...
Click to collapse
for now you can use this:
Thanks,i dont remenbre that you make a tutorial ,Thx.
AndroKite said:
Thanks,i dont remenbre that you make a tutorial ,Thx.
Click to expand...
Click to collapse
you welcome

[Tutorial]Deodexing + Zipaligning Galaxy Gio GT-S5660

Advantages or disadvantages
- Odexed ROMs are slightly faster, deodexed ROMs are slightly slower
+ You can make custom themes for your ROM
+ Performance los is negligible.
Requirements
xUltimate - http://www.droidforums.net/forum/xeudoxus/47283-release-xultimate.html
Busybox installed
Root
Automatic deodexing - Method 1, by r33p
1. Connect phone to computer
2. Start xUltimate, we will now get the required files from our phone to deodex and zipalign it which we will describe in the 3rd step.
3. Select option #15 then "do it all".
Deodexing (little harder, but contains useful information for your future Galaxy Gio modding experience)- Method 2, by me
1. Connect phone to computer
2. Start xUltimate, we will now get the required files from our phone to deodex and zipalign it which we will describe in the 3rd step.
3. On the main menu of xUltimate, choose option 5 (Pull and deodex all). Everything will be done for you here. Don't worry. You will see all your finished files in the folders 'done_app' and 'done_frame' which are located in the installation directory of xUltimate.
4. move folders 'done_app' and 'done_frame' folders to your sdcard, you can find these folders in the directory of xUltimate as described in the previous step.
5. Make sure the sdcard is not mounted to pc anymore
6. Open Windows Command Prompt and type the following commands.
adb shell
su
stop
mount -o remount,rw /dev/block/stl12 /system
rm /system/app/*.odex
rm /system/framework/*.odex
busybox cp /sdcard/done_app/* /system/app/
busybox cp /sdcard/done_frame/* /system/framework/
chmod 644 /system/app/*
chmod 644 /system/framework/*
mount -o remount,ro /dev/block/stl12 /system
sync
reboot recovery
Click to expand...
Click to collapse
7. Now data and cache reset in the recovery menu...
8. reboot
If one of the commands, for example 'cp' is not found, try putting busybox in front of the command:
eg: busybox cp /sdcard/done_frame/* /system/framework/
How to odex again
This may put you in the right direction. You may need to edit some steps.
http://forum.xda-developers.com/showthread.php?t=1124034
If you like my work please donate
Paypal:
Bankaccount: in private message
Updated my tutorial. Now everything works.
What does this do to my gio?
// Thanks from the noob
why the hassle? just let xultimate do it all automatic -> select option #15 then "do it all"
yep
Thanks.. ;-)
Would it work with others samsung devices?
Gonna try with 5510
Sent from my GT-I9100 using Tapatalk
dann3_86 said:
What does this do to my gio?
// Thanks from the noob
Click to expand...
Click to collapse
I am curious to
I suggest you google deodexing and zipaligning.
Deodexing in short means that it will allow you to have custom themes.
Zipaligning improves performance of the apk/jar files when reading
There is a lot of information you might want to look up!
I just added r33p's suggestion. Thanks!
Dhuu, just google it.............
I did, but it gives no answers.
I thought it was about the holy grail, or the fountain of youth..............
But no..........
But comes close
So tell me, does it works on the fly or must you reboot to aply changes?
I tiedy this metod and it works. Tank you
I'm having a problem..
I'm on xUltimate, I go to the advanced menu (15) and I type 1 (Do everything) and then it says that I don't have files in done_app folder.
Please help
Edit: I have rooted my phone, it's on Gingerbread.xxkpo. Do I have to Un-Root my phone and then do this ? Also can I root it back when the ROM is on ?
Please reply fast :S
I'm having this issue,,, what does it mean? i pulled out all the files with the automatic process and went fine. But then in the deoxed process:
How can i solve it? Thanks :3

[WIP] how to deodex stock rom?

THIS HAS NOT BEEN TRIED ON THE ATRIX 2 YET! THIS IS JUST FOR HELP DECIDING IF THIS IS SAFE! I HAVE NOT PULLED THE TRIGGER YET! WITHOUT A WAY TO RECOVER I SUGGEST YOU DO NOT TRY IT.
I was thinking and remembered the original and deodexing the stock rom. The Atrix stock rom could be deodexed with a locked bootlader. In comparing the instructions below to our Atrix 2 I don't see a reason why this wouldn't work. Can some of you chime in with what you think?
Original post here:
http://forum.xda-developers.com/showthread.php?t=1162764
and post 50 -
1. Unzip xUltimate v2.2, and launch "Main.exe"
2. If everything goes well xUlt should recognize the phone and make a connection. You now should see a list of options.
3. Run option 1. After option 1 is done, run option 2.
4. Now these well take a while. Run option 3.
5. Now run option 4, and wait.
6. Exit xUltimate, and put the phone in USB mass storage.
7. Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the sdcard.
8. Put the phone in PC mode "MOTOROLA PHONE PORTAL"
9. Open a command prompt, and ENTER THE FOLLOWING COMMANDS: AFTER YOU ENTER su make sure you hit accept on your phone
C:\>cd\
C:\>android-sdk-windows\platform-tools\adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Some input from a little more experience than me?
I was thinking of trying the same thing, but I didn't want to run this without a way back.
I know they had tried it on the RZR and I think it caused a soft brick so they backed off till a way to flash. I was gonna try the way they had performed it till I seen they were having problems.
We are really stuck right now with no option to flash back to stock if we brick and I'm getting withdrawals LoL
I'm unfamiliar, whats the point?
Sent from my NookColor
Basically so you can change the look of system apps through theming the framework
Sent from my MB865 using xda premium
Is it possible for someone to upload the files from option 7. I cant seem to get xultimate to work, I always end up with a java error. And I'd like to play with some themes.
lfaber06 said:
Is it possible for someone to upload the files from option 7. I cant seem to get xultimate to work, I always end up with a java error. And I'd like to play with some themes.
Click to expand...
Click to collapse
Do u have the jdk installed?
Yup. Even tried uninstalling all java and re-installing then unzipped xultimate to another directory. And no dice..
halfevildruid said:
Do u have the jdk installed?
Click to expand...
Click to collapse
Step 7 is just a copy and paste from pc folder to sdcard.
That's what I want is all of the deodxed files so I can push em to my phone.
Sent from my Nexus S using Tapatalk
halfevildruid said:
THIS HAS NOT BEEN TRIED ON THE ATRIX 2 YET! THIS IS JUST FOR HELP DECIDING IF THIS IS SAFE! I HAVE NOT PULLED THE TRIGGER YET! WITHOUT A WAY TO RECOVER I SUGGEST YOU DO NOT TRY IT.
I was thinking and remembered the original and deodexing the stock rom. The Atrix stock rom could be deodexed with a locked bootlader. In comparing the instructions below to our Atrix 2 I don't see a reason why this wouldn't work. Can some of you chime in with what you think?
Original post here:
http://forum.xda-developers.com/showthread.php?t=1162764
and post 50 -
1. Unzip xUltimate v2.2, and launch "Main.exe"
2. If everything goes well xUlt should recognize the phone and make a connection. You now should see a list of options.
3. Run option 1. After option 1 is done, run option 2.
4. Now these well take a while. Run option 3.
5. Now run option 4, and wait.
6. Exit xUltimate, and put the phone in USB mass storage.
7. Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the sdcard.
8. Put the phone in PC mode "MOTOROLA PHONE PORTAL"
9. Open a command prompt, and ENTER THE FOLLOWING COMMANDS: AFTER YOU ENTER su make sure you hit accept on your phone
C:\>cd\
C:\>android-sdk-windows\platform-tools\adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Some input from a little more experience than me?
Click to expand...
Click to collapse
deodexed make it zipalign or not?? in xultimate have zipalign.exe . how to use it??

[Q] How to deodex my phone?

Hi guys,
i got one question to ask - how to deodex my phone?
I used xUltimate and deodexed the apps but the commands to coppy it to the phone seems not to work at all.
So how to copy done_app and done_framework to phone? I tried to use cmd in windows and adb shell but it says that cd command is not valid.
cube7 said:
Hi guys,
i got one question to ask - how to deodex my phone?
I used xUltimate and deodexed the apps but the commands to coppy it to the phone seems not to work at all.
So how to copy done_app and done_framework to phone? I tried to use cmd in windows and adb shell but it says that cd command is not valid.
Click to expand...
Click to collapse
FOLLOW THIS:
http://forum.xda-developers.com/showthread.php?t=1068027
Deodex
Advantages or disadvantages
- Odexed ROMs are slightly faster, deodexed ROMs are slightly slower
+ You can make custom themes for your ROM
+ Performance los is negligible.
Requirements:
Download XUltimate
Busybox installed
Root
1. Connect phone to computer
2. Start xUltimate, we will now get the required files from our phone to deodex and zipalign it which we will describe in the 3rd step.
3. On the main menu of xUltimate, choose option 5 (Pull and deodex all). Everything will be done for you here. Don't worry. You will see all your finished files in the folders 'done_app' and 'done_frame' which are located in the installation directory of xUltimate.
4. move folders 'done_app' and 'done_frame' folders to your sdcard, you can find these folders in the directory of xUltimate as described in the previous step.
5. Make sure the sdcard is not mounted to pc anymore
6. Open Windows Command Prompt and type the following commands.
adb shell
su
stop
mount -o remount,rw /dev/block/stl12 /system
rm /system/app/*.odex
rm /system/framework/*.odex
busybox cp /sdcard/done_app/* /system/app/
busybox cp /sdcard/done_frame/* /system/framework/
chmod 644 /system/app/*
chmod 644 /system/framework/*
mount -o remount,ro /dev/block/stl12 /system
sync
reboot recovery
7. Now data and cache reset in the recovery menu...
8. reboot
If one of the commands, for example 'cp' is not found, try putting busybox in front of the command:
eg: busybox cp /sdcard/done_frame/* /system/framework/
both ways don't work. The program seems not to recognize this commands. Can i do it via root explorer?
cube7 said:
both ways don't work. The program seems not to recognize this commands. Can i do it via root explorer?
Click to expand...
Click to collapse
Explain me the exact scenario.
This given method should work by all means. There is no escape.
Check the USB drivers.
Check the connectivity.
Then do it again.
drivers must be right 2 days ago i've flashed the phone. maybe it's adb, i copied it from one click folder.
i will copy the text from cmd as soon as i will be home.
btw, the process is ok till 6th point of the instruction. then it fails at cp command (busybox cp also).
cube7 said:
drivers must be right 2 days ago i've flashed the phone. maybe it's adb, i copied it from one click folder.
i will copy the text from cmd as soon as i will be home.
btw, the process is ok till 6th point of the instruction. then it fails at cp command (busybox cp also).
Click to expand...
Click to collapse
Try booting linux on ur pc as sometimes adb doesnt work for me on windows but for linux users it worked perfectly
Sent from my GT-i5801 using XDA App

Categories

Resources