{TUToRIAL]HOW TO DEODEX I9001 FOR NOoBS - Galaxy S Plus I9001 Android Development

HOW TO DEODEX YOUR I9001
THIS IS A SIMPLE GUIDE FOR THE NOOBS SO THAT THEY CAN DEODEX THERE I9001
What you'll need:
A Windows based machine
JDK
ANDROID SDK
LATEST XULTIMATE
And A Rooted I9001
Process:
1. Unzip xUltimate v2.2, and launch "Main.exe"
2. If everything goes well xUltIMATE 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:
$ 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
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
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

RESERVED...

RESERVED..........

For Android 2.3.x using this command
busybox cp /sdcard/done_app/* /system/app/
busybox cp /sdcard/done_frame/* /system/framework/

Maybe a stupid question but what are the benefits when I'm deodex my i9001?
Sent from my GT-I9001 using XDA App

oudbrood said:
Maybe a stupid question but what are the benefits when I'm deodex my i9001?
Sent from my GT-I9001 using XDA App
Click to expand...
Click to collapse
it is easier to make themes/mods for deodexed firmware

@ oudbrood
and you will got more space in system

Thanks for the reply's.
I get smarter every day
Sent from my GT-I9001 using XDA App

Not understand something here...does the phone always on usb? No plug in n plug out usb? The commant have to type where? Pc? Like this...start-run-cmd-enter?
GT-I9001 Adrenaline Shot - powered by Instanet free edition

Lol, thread looks familiar
kkrraazzyy said:
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.
Click to expand...
Click to collapse
Can be done in one step (option 5 - Pull and Deodex all).
Note that deodexing (steps 3 and 4) sometimes returns errors. Just repeat the procedure and it will work a second (or third) time...
kkrraazzyy said:
10. Open a command prompt, and do the following:
Click to expand...
Click to collapse
You can also make a batch file to move files from the xUltimate folder onto your device (put this patch-file into the xUltimate folder - this will not use the sdcard and push the files directly onto the device!). Something like this:
Code:
@echo off
jar\adb -d remount
jar\adb -d push done_app /system/app
jar\adb -d push done_frame /system/framework
echo all ok? going to remove *.odex files...press a key to continue...
pause >nul
jar\adb -d shell rm /system/app/*.odex
jar\adb -d shell rm /system/framework/*.odex
jar\adb -d remount
echo rebooting...press a key to continue...
pause >nul
jar\adb -d reboot
pause
---------- Post added at 08:31 AM ---------- Previous post was at 08:29 AM ----------
pyronia said:
Not understand something here...does the phone always on usb? No plug in n plug out usb? The commant have to type where? Pc? Like this...start-run-cmd-enter?
Click to expand...
Click to collapse
Yes, running Main.exe and deodexing requires the device to be plugged into USB. Using ADB also uses USB, although you can do it from your device too with shell tools. And if you want an automated DOS script for moving the files using ADB, see above
---------- Post added at 08:42 AM ---------- Previous post was at 08:31 AM ----------
One more thing: you need BusyBox too:
https://market.android.com/details?id=stericson.busybox

do i have to flash again tweak like adrenaline shot after deodexing???

pyronia said:
do i have to flash again tweak like adrenaline shot after deodexing???
Click to expand...
Click to collapse
No, it does not touch any of those (Adrenaline, Root, CWM, etc.)

Hahaha...i just back from bootloop....i think it will not workout for me...
GT-I9001 Adrenaline Shot - powered by Instanet free edition

pyronia said:
Hahaha...i just back from bootloop....i think it will not workout for me...
GT-I9001 Adrenaline Shot - powered by Instanet free edition
Click to expand...
Click to collapse
Lol, glad you're still laughing so how did you do it? On which base-ROM? I've done it several times and never had any issues...

nikagl said:
Lol, glad you're still laughing so how did you do it? On which base-ROM? I've done it several times and never had any issues...
Click to expand...
Click to collapse
ZSKP6...it stuck when i try to use terminal modulator...all apps fc then bam!!! Mr. Bootloop came out after remove battery....
GT-I9001 Adrenaline Shot - powered by Instanet free edition

So...using shell other than adb doesn't work tx 4 testing )
Sent from my GT-I9001 using XDA App

It doesn't work with the shell on your mobile since when u type "stop" it totally freezes.. ADB SHELL IS REQUIRED. the poster might want to say that since this is just a 100% copy of the deodex I9003 tutorial
when i tried it my phone got in a bootloop tho.. but I will try later again

I used ADB and it works. No bootloop or errors

to deodex always use ADB
and be sure that you have busybox installed on your device
otherwise the commands cant be executed

Guys, what am I doing wrong?
- Rooted XXKPS
- Ran main.exe ok with all steps.
- All okay until "(busybox) cp /sdcard/done_app/* /system/app/"
It can't find my sdcard.. I'm sure I have the files placed in the root of the internal sdcard.

Related

[2.1. Theme]Transparent status bar theme, now with AOSP theme(V0.6)

The Transparent status bar will only show up if you use ADW launcher, for some reason Launcher Pro doesn't show it as transparent (but the theme does still work, and I am still not sure why)
I have modified the status bar and the background, but currently using the standard icons, and I haven't yet figured out how to change the network provider text and date text colours to change the full theme (will research this tomorrow)
Will be changing the icons fairly soon
Still, here is the very first, mod from me for the new custom ROM or the X10
The status bar for AOSP is using a gradient, I like it, but let me know if you think a solid transparent colour would be better...
(You can see it best from the last screen shot in the market)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
To install, you will need a rooted X10:
For Custom ROM (AKA AOSP) :download the transparentAOSP.7z and unzip.
For SE Standard: download transparent.7z and unzip
From the unzipped location, run the transparent setup.cmd file and choose the options you want.
Please be sure to select the correct theme for the version of 2.1 you are running. If you flash the wrong one, you will need to reflash with SEUS or update manager.
I would also advise you take a full backup with titanium, just in case
Release:
V0.1 Initial Release, black transparent mods to framework-res.apk
V0.2 Black mods to Conversations.apk, updated installer
V0.3 Red mods made to framework-res.apk and conversations.apk, updated installer to include black and red selection
V0.4 Blue and Green now added
V0.5 'Blank' theme added
V0.6 AOSP theme added
do i need to root my phone in order to perform this installation??
Looks good going to try when I get home i'll post how it looks on my mini pro
Sent from my U20i using XDA App
nfizree said:
do i need to root my phone in order to perform this installation??
Click to expand...
Click to collapse
Yes, you will.
I've used the super one click rooting method, as it is the best I have found so far, but if you root through another method makesure you install busybox and super user.
I have used Chewitt's installer from his theme, and modified it for my theme
Nice man
Added a link in the themes reference.
You might want to change 'Opaque' to 'Transparent' though
_calum_ said:
Nice man
Added a link in the themes reference.
You might want to change 'Opaque' to 'Transparent' though
Click to expand...
Click to collapse
Yea, that's probably wise... I started with an opaque idea, that changed to transparent, but the names didn't
No idea why I stuck with it here though
hurmm...i put my phone on debug mode n my phone is rooted and now it said mount: operation not permitted
cannot open for write: permission denied
nfizree said:
hurmm...i put my phone on debug mode n my phone is rooted and now it said mount: operation not permitted
cannot open for write: permission denied
Click to expand...
Click to collapse
OK, from a windows command line, with the phone in debug mode, try the following:
adb shell <press enter>
su <press enter - assuming you have super user on your phone, you will get a request for super user permissions, click allow>
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system <press enter>
chmod 4755 /system/bin/sh <press enter>
exit <press enter>
exit <press enter>
Then try again...
sorry...but where can i found the windows command line?
nfizree said:
sorry...but where can i found the windows command line?
Click to expand...
Click to collapse
you will need to do this from a computer, rather than straight from your phone and for this I'm assuming you are using windows on your PC (I don't know the specifics for linux or mac OSX)
but, go to start and run, type 'cmd' and press enter. Then you will get the command line, then type as posted in the last post from me, then, finally, try to run the cmd file in the zip you downloaded from the first post.
again...
ok i run cmd n this come out after i typed adb shell ''adb is not recognized as an internal or external command, operable program or batch file.''
nfizree said:
ok i run cmd n this come out after i typed adb shell ''adb is not recognized as an internal or external command, operable program or batch file.''
Click to expand...
Click to collapse
OK, do you have the Android SDK installed?
If you have, then you will need to change directory in the command window to the SDK path - e.g. should you install SDK in C:\Android-SDK_windows then type cd Android-SDK_windows
Then run the adb shell command from there.
If you need the SDK, download from here:
http://developer.android.com/sdk/index.html
There are also a few ADB guides around on the XDA forums that will have more details step-by-step guides and should help with trouble shooting
(for example, this post: http://forum.xda-developers.com/showthread.php?t=821022)
yup i have sdk n now ''chmod 4755 /system/bin/sh <press enter>'' not permitted
*stucked again >.<
nfizree said:
yup i have sdk n now ''chmod 4755 /system/bin/sh <press enter>'' not permitted
*stucked again >.<
Click to expand...
Click to collapse
but the first line worked (so you are in adb shell and have been presented with the message on your phone asking to give unknown super user permissions)
Try taking a look at this guide (should help you through the whole process)
http://forum.xda-developers.com/showthread.php?t=835004&highlight=adb
thanks man for the help i really appreciate it
Thanks to u now i have a perfect xperia
Link seems not to work..It says "file is temporarily anavailable".
Mate its a good theme, can you post another link?
xenkato said:
Link seems not to work..It says "file is temporarily anavailable".
Mate its a good theme, can you post another link?
Click to expand...
Click to collapse
Don't worry, about to put up a change in about 10 minutes...
Gonna put the attachment on here, rather than on multi upload, seen a lot of unavailable files recently...
Thanks mate gonna try it soon keep good job on..
helping
another download link: http://dl.dropbox.com/u/9809641/Opaque.zip
thefunkaygibbon said:
OK, from a windows command line, with the phone in debug mode, try the following:
adb shell <press enter>
su <press enter - assuming you have super user on your phone, you will get a request for super user permissions, click allow>
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system <press enter>
chmod 4755 /system/bin/sh <press enter>
exit <press enter>
exit <press enter>
Then try again...
Click to expand...
Click to collapse
I did what you asked to do. Still getting same error. Permission denied. Cannot open for read: No such file or directory.
Any ideas?

[SCRIPT][6/19/2011] Inspirefy 1.1 for CM7 nightly - Delete stuff & Replace stuff

Hello, I wrote this shell script to make the CM7 nightly the way I like. It was a pain to do it manually every time I would flash a new nightly.
NOOB WARNING:
THIS SCRIPT IS FOR CM7 NIGHTLY ONLY. IT MAY WORK FOR OTHER CM7 BASED ROM BUT USE IT AT YOUR OWN RISK. IT DELETE SOME FILES ON THE /SYSTEM/APP AND MODIFY YOUR BUILD.PROP FILE. I'M NOT RESPONSIBLE IF YOU DESTROY YOUR PHONE NOR IF YOUR PET DIES AND THINGS LIKE THAT.​​
This script do this:
1) delete some APKs from /system/app that I don't need
/system/app/Camera.apk - replaced by Miui camera
/system/app/Calculator.apk - I use RealCalc
/system/app/FileManager.apk - I use Root Explorer
/system/app/Music.apk - I use the new Music App
/system/app/BooksPhone.apk - I don't use this
/system/app/Protips.apk - Useless
Click to expand...
Click to collapse
2) replace the boot animation with a sharper and bigger version (file size is bigger too)
The original boot animation size is too small for our screen. Some people could car less for this as you don't reboot your phone that often.
Original boot image:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
New boot image:
Click to expand...
Click to collapse
3) replace the default camera for a Miui camera
We all know the AOSP camera sucks...
Click to expand...
Click to collapse
4) backup and edit build.prop to display "Inspire 4G" as device name
Some people asked how it affect the market and so far so good for me.
I have no idea if automatic backup/restore from Google is working or not. I use Titanium Backup to restore my apps before I login with my Google account.
Click to expand...
Click to collapse
Things you will need:
1) Scripting Layer for Android (SL4A)
Free app. We will use this to run the script.
Click to expand...
Click to collapse
2) Script and other files - RAR version inspirefy_files_v1.1.rar or ZIP version: inspirefy_files_v1.1.zip
All the files needed for the magic to happen...
VERSION 1.1 UPDATE: If you already have the version 1.0 on your phone you can download the attached zip file from this post to update the script to version 1.1 - Just extract the zip file to /sdcard/inspirefy/ and replace the old 'inspirefy.sh' script.
Click to expand...
Click to collapse
How to install & use it:
1) Extract the inspirefy_files.rar (or inspirefy_files.zip) to the root of your sdcard (/sdcard).
You will have 2 new folders (or just 1 new folder is SL4A was already installed): /sdcard/inspirefy and /sdcard/sl4a
2) Install the sl4a on your phone and run it.
2a) Select "run-inspirefy.sh" from the main screen. If it's your first time running the script you must confirm the super user request.
3) After the script is done (about 2s) you can close SL4A and reboot your phone.
Done
You can edit the file /sdcard/inspirefy/inspirefy.sh with your preferred text editor to make any changes you would like, maybe you want to keep the Tips widget
Have fun!
Thanks to dog77k for the feedback and suggestions and everybody who is using this script.
Good stuff LGSilva. Will let you know how things go after I find a free method to extract the rar (don't use root explorer) or when I get to my desk...
Very cool and glad to see this. Nice job
Sent from my Desire HD using XDA Premium App
Just added a ZIP version for the necessary files in case you want to do this on your phone.
forgive me, but I've never ran a script on android before. I loaded up the folders on the root of my sdcard, installed SL4A and ran it. Superuser didn't ask for permissions. Also, I can't figure out how to run what I need to. Help?
poetofsound said:
forgive me, but I've never ran a script on android before. I loaded up the folders on the root of my sdcard, installed SL4A and ran it. Superuser didn't ask for permissions. Also, I can't figure out how to run what I need to. Help?
Click to expand...
Click to collapse
When you ran the script did you get the terminal window output with something like this?
Code:
Inspirefy 1.0 by LGSilva
Remounting system partition rw...
Deleting apk files and boot animation...
Copying new boot animation and camera...
Setting permitions and ownership...
Backuping build.prop and changing device name...
Remounting system partition as ro...
DONE
.
The text is tiny but you can read it. Is there any error message on the terminal window?
Check the superuser app, sometimes it will have the SL4A marked to deny root...
Edit: Just testing on build 103... looks like SL4A is not happy with this build, time to investigate.
LGSilva said:
Edit: Just testing on build 103... looks like SL4A is not happy with this build, time to investigate.
Click to expand...
Click to collapse
They (nightly forum) are saying that the SU app is jacked on 103...
Nightly build #103 have a problem with Superuser not working right therefor my script won't work either.
To fix this download the Superuser from Rom Manager > Extras, reboot in recovery and install it.
dog77k said:
They (nightly forum) are saying that the SU app is jacked on 103...
Click to expand...
Click to collapse
Yep, you beat me to that, I blame the internet
Two suggestions/hints for the inspirefy.sh code:
"chown root.root /sys..." gave me an unknown user/group error, but "chown 0.0 /sys..." worked for me.
I was getting an error when trying to remount /system as ro that it was still busy so I added a 2 sec pause before trying to remount:
Code:
echo -e "Remounting system partition as ro...\n"
sleep 2
mount -o ro,remount -t ext4 /dev/block/mmcblk0p25 /system
echo -e "DONE.\n"
Otherwise the code worked well for me. Great work LGSilva.
I was having problems with SU thats why lol I'll fix it and try this again and update when I'm done
dog77k said:
Two suggestions/hints for the inspirefy.sh code:
"chown root.root /sys..." gave me an unknown user/group error, but "chown 0.0 /sys..." worked for me.
I was getting an error when trying to remount /system as ro that it was still busy so I added a 2 sec pause before trying to remount:
Code:
echo -e "Remounting system partition as ro...\n"
sleep 2
mount -o ro,remount -t ext4 /dev/block/mmcblk0p25 /system
echo -e "DONE.\n"
Otherwise the code worked well for me. Great work LGSilva.
Click to expand...
Click to collapse
Thank you dog77k for the suggestions.
I've updated the script with them and also added a 2sec pause after mounting it as RW just in case...
Files with version 1.1 updated on the first post, no need to reinstall SL4A.
tested and seemed to run just fine on build 104. thanks for the awesome script! very cool
Thank you!
+1 to both of you, thanks for the great scripting solution.

[I9003][NEWBIEGUIDE] XXKPE+XXKPH DEODEX w/ Vanilla Lockscreen+Screenshots

Edit: An easier method has been done here, If you feel the need to be challenged, This is your style, But if you prefer a hassle-less method, [Click Here]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Credits: Firstly, I thank member’s such as Skin,Vivek,Amit,trip,ron for their work and motive towards the project regarding our phones..
Note: This post has been heavily edited from it’s previous XXKPE RootExploitGuide. This was edited to make deodexing easier for newbies who are new to this.
Great Success .
Deodexing
-NOTE: The Already Deodexed files are placed in the download section, This will save a great amount of time, If you have downloaded the already deodexed files, proceed with Step
1. At this point before you start you must be rooted via SOC or any method you preferred. And you must have Busybox, If you use/flash Skin's CWM or Amit's version they already contain Busybox so your ready to go.
2. Once you've gotten the green signal , Copy done_app and done_frame to your sdcard *Download link in the downloads section* , not external_sd. Disconnect VIA storage and connect via Debugging mode.
3. Launch cmd by pressing Window Key+ R and type "cmd"
4. Launch adb by copying the path of adb into command prompt till it appears something like this
Code:
cd C:\Program Files (x86)\Android\android-sdk\platform-tools
Note: location may differ based on where you downloaded adb into.
5. Then type adb shell
6. Type
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
7. After this , Voila you are deodexed!.
- credits to Skin1980 for this.
Note: This is compatible with XXKPE+XXKPH
1. Install a root app such as Root Explorer
2. Navigate to your system/framework and copy android.policy.jar and back it up.
3. Copy and paste the attached to your system/framework and replace file.
4. Reboot
---------------------------
Download android.policy.jar
Download Deodexed System Files [COMPLETE XXKPE]
Download Deodexed System Files [COMPLETE XXKPH]
- Removed xUltimate and added completed deodexed files.
- Added Screenshot's to make it noob friendly.
- Revamped page and added additional info
- Added note on deodexed and outdated info.
- Removed outdated information and updated with latest one.
- Added already deodexed files for XXKPH
Flash the phone with pda file....can u please explain in detail...
Pls consider dis..i was never able to understand clock work mod...on kp9...pls can u guys..i mean thosewho acquie knowledge about dis stufff...can make videos for members like me..if possible plz...or explain in very detail
Sent from my GT-I9003 using XDA Premium App
I shall try to make a video on this later. But for now I shall explain.
Flash it using Odin. Place the file in pda *Note you must have flashed to XXKP9 or XXKPE for this to work* then flash it. Like this
stuck on step 5 of deodex...Help...><
Thanks misledz
Sent from my GT-I9003 using XDA Premium App
Dude I can'd Deodex the Phone
I have used the xultimate to convert the files
But i cant copy files to my phone
CP command is not working!!!
I have installed the busybox
and when i take the busybox installer it installs the busybox
and the busy box path is shown but NOT WORKING(cp command)
Just testing the cp command
vivekkalady said:
Dude I can'd Deodex the Phone
I have used the xultimate to convert the files
But i cant copy files to my phone
CP command is not working!!!
I have installed the busybox
and when i take the busybox installer it installs the busybox
and the busy box path is shown but NOT WORKING(cp command)
Just testing the cp command
Click to expand...
Click to collapse
try using the cp internal to busybox.
ie:
busybox cp /system/bin/am /system/am
IS Deodexing a pre requisite for installing the Vanilla LOck?Anyone reply fast?
tanu_invincible said:
IS Deodexing a pre requisite for installing the Vanilla LOck?Anyone reply fast?
Click to expand...
Click to collapse
Yes because all the files we edit are in the odex file
So to install any modes we must dedox(combine jar or apk with corresponding odex file)
Sent from my GT-I9003 using XDA Premium App
@ fooman123
I made the cp command to work on my phone and i can copy any file with cp command but i cant copy the done_frame to system/frame
There is some problem with mounting sdcard
cp /sdcard/done app ......... Etc as defined in the dedoxing guide
Sent from my GT-I9003 using XDA Premium App
hi,
i done dedox well and i saw no.odex files system->app folder
but every time when i am replacing the framework file ... after rebooting my phone struck at the samsung logo ... then i use recovery (update.zip) to come back ... can anybody give me the process how to copy the framework file
java fail...how??
ok got it now! =)
kchdeepak said:
hi,
i done dedox well and i saw no.odex files system->app folder
but every time when i am replacing the framework file ... after rebooting my phone struck at the samsung logo ... then i use recovery (update.zip) to come back ... can anybody give me the process how to copy the framework file
Click to expand...
Click to collapse
actually you haven't deodexed you only removed the odex file that doesn't mean you have deodexed.
by doing these 2 operations
rm /system/app/*.odex
rm /system/framework/*.odex
you are removing the odex files form the app & framework directory
but the next two steps are not working
so the files from the done_app and done_frame are not copying
so you cannot boot because of the error while copying(no files are copied)
this is the problem i am facing Too
vivekkalady said:
actually you haven't deodexed you only removed the odex file that doesn't mean you have deodexed.
Click to expand...
Click to collapse
ohh ok ok so you are also unable to do all these things... like krazzzy themes and this vinilla lock and all ?
kchdeepak said:
hi,
i done dedox well and i saw no.odex files system->app folder
but every time when i am replacing the framework file ... after rebooting my phone struck at the samsung logo ... then i use recovery (update.zip) to come back ... can anybody give me the process how to copy the framework file
Click to expand...
Click to collapse
How did you create the update.zip ???
explain???
is it [I9003][CWM] ClockworkMod Recovery porting for I9003 ??
so you haven't reflash original??
i have to format each time when i try to deodex
somebody help mee
man u need to install latest java sdk
DEODEXd xxkpe with Vanilla Lockscreen
u must be rooted
busybox
note:when u first time run su command in ur mobile superuser ask allow unknown u have allow
adb config(optional)
right click computer->properties
from lift side advance system setting
click->advanced tab
click->environment variables
from second column->path
select edit->
add aftter ";" this C:\Program Files\Android\android-sdk\platform-tools\(this is ur adb location)
after this u can simply type cmd/run adb shell
download and extract two folder (done_app&done_frame) to sdcard(if u did sdswap u have copy to ur orgenal external sdcard)
in adb run this comound
$ 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
after reboot u are done deodexd with vanilla lockscreen
download here
vivekkalady said:
actually you haven't deodexed you only removed the odex file that doesn't mean you have deodexed.
by doing these 2 operations
rm /system/app/*.odex
rm /system/framework/*.odex
you are removing the odex files form the app & framework directory
but the next two steps are not working
so the files from the done_app and done_frame are not copying
so you cannot boot because of the error while copying(no files are copied)
this is the problem i am facing Too
Click to expand...
Click to collapse
after deodexing are you copying the done_app and done_frameworks folders to your internal or external sd card...if you have copied it to external sd card its wrong...copy the folders to internal sd and give it a try
To avoid getting CP error's use stericsons from the market.
Sent from my GT-I9003 using Tapatalk

[MOD]Enable/Disable Media Scanning at boot

I've been browing the forums for some helpfull stuff and I found this little mod that allows you to turn Media Scanning on Boot on or off. The original topic by aditya_t90 can be found here
Requirements:
- USB Debugging: ON
- Root Access
Enter one of the following commands in terminal emulator, adb shell or in a script file
To enable media scanning on boot:
Code:
su
pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
To disable media scanning on boot:
Code:
su
pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
it says in the link :
The new v2.3 app works on all android devices!! It even works with internal and external sd cards!
so isn't it easier to install the app, u might not be near a pc when u need to change it
edit: actually u can use a terminal emulator ..ahhh
Thanks!!
If you prefer automated batch files like I do, download attached
Code:
@echo off
adb -d shell pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
echo all ok?
pause
Code:
@echo off
adb -d shell pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
echo all ok?
pause
Regards,
Nika.
nikagl said:
Thanks!!
If you prefer automated batch files like I do, download attached
Code:
@echo off
adb -d shell pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
echo all ok?
pause
Code:
@echo off
adb -d shell pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
echo all ok?
pause
Regards,
Nika.
Click to expand...
Click to collapse
Nice addition and thnx for posting this in your topic
So, when scanning not active after boot...when does it scan the files? Sorry noob....
|BroodRom RC2 Beta
|Instanet Free Access (no one believe its free)
pyronia said:
So, when scanning not active after boot...when does it scan the files? Sorry noob....
|BroodRom RC2 Beta
|Instanet Free Access (no one believe its free)
Click to expand...
Click to collapse
After unplugging an USB cable
nikagl said:
Thanks!!
If you prefer automated batch files like I do, download attached
Code:
@echo off
adb -d shell pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
echo all ok?
pause
Code:
@echo off
adb -d shell pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
echo all ok?
pause
Regards,
Nika.
Click to expand...
Click to collapse
The zip attach flash it via recovery? How to undo it?
EDIT: i see 2 script in the zip, enable n disable...how to get it working???
|:BroodRom RC2 Beta
|:Instanet Free Access (no one believe its free)
broodplank1337 said:
After unplugging an USB cable
Click to expand...
Click to collapse
I mean, after it working, avery boot it will not scan media right? Do i have to plug-unplug usb to get it scan the media? Averytime? Coz i actually charge my phone when it off at night....
Actually, what is this tweak for? Please answer me, really noob bout this...
|:BroodRom RC2 Beta
|:Instanet Free Access (no one believe its free)
pyronia said:
The zip attach flash it via recovery? How to undo it?
EDIT: i see 2 script in the zip, enable n disable...how to get it working???
|:BroodRom RC2 Beta
|:Instanet Free Access (no one believe its free)
Click to expand...
Click to collapse
Sorry, those scripts can be executed from the DOS command line. I guess they can be created for CWM too, but I am not too familiar with those scripts you can try attached, no idea whether it works (I'm sure broodplank will correct me if I'm wrong)
nikagl said:
Sorry, those scripts can be executed from the DOS command line. I guess they can be created for CWM too, but I am not too familiar with those scripts you can try attached, no idea whether it works (I'm sure broodplank will correct me if I'm wrong)
Click to expand...
Click to collapse
What does the tweak for actually?
|Post from XDA premium app
|BroodRom RC2 Beta
|Instanet Free Access (no one believe its free)
pyronia said:
What does the tweak for actually?
|Post from XDA premium app
|BroodRom RC2 Beta
|Instanet Free Access (no one believe its free)
Click to expand...
Click to collapse
It enables or disables media scanning of your sdcards at boot (see in your top bar when the device starts)
---------- Post added at 10:19 AM ---------- Previous post was at 10:09 AM ----------
Check out this video:
http://www.youtube.com/watch?v=fNhJ1DxKolE
It's for another device, but does demonstrate what this does (at around 1 minute)
Can u ise terminal emulator for this???
|Post from XDA premium app
|BroodRom RC2 Beta
|Instanet Free Access (no one believe its free)
pyronia said:
Can u ise terminal emulator for this???
|Post from XDA premium app
|BroodRom RC2 Beta
|Instanet Free Access (no one believe its free)
Click to expand...
Click to collapse
Yes, see OP
broodplank1337 said:
Enter one of the following commands in terminal emulator, adb shell or in a script file
Click to expand...
Click to collapse
Better reading before asking doesn't hurt
Ok done try it, after disable my gallery was empty...have to enable it....
Hmm...if rom have this, do need to enable it averytime?
|Post from XDA premium app
|BroodRom RC2 Beta
|Instanet Free Access (no one believe its free)
brood, I need your help... again!
You know... I got this music-gallery /emmc bug (cannot find music, pictures with music apps/gallery apps)
I made a long research, found out that the media scanner doesn't scan on boot. maybe the reason for this bug...
if I try to scan manually, the media scanner just scan the internal sd card.
maybe there is some build.prop tweak that disables the media scanner on emmc.
any suggestions?
tried to set media scanner on boot with this code and terminal emulator... doesn't work at all....
Droid843 said:
brood, I need your help... again!
You know... I got this music-gallery /emmc bug (cannot find music, pictures with music apps/gallery apps)
I made a long research, found out that the media scanner doesn't scan on boot. maybe the reason for this bug...
if I try to scan manually, the media scanner just scan the internal sd card.
maybe there is some build.prop tweak that disables the media scanner on emmc.
any suggestions?
tried to set media scanner on boot with this code and terminal emulator... doesn't work at all....
Click to expand...
Click to collapse
hmmm...emmc? which ROM are you using? Old CM9 build?
DreamerTKM said:
hmmm...emmc? which ROM are you using? Old CM9 build?
Click to expand...
Click to collapse
Oh... I'm sorry... no I'm using my own rom... http://forum.xda-developers.com/showthread.php?t=1957492
Is it possible to place this script in init.d? Since the media are empty after every reboot, I want to enable it during boot and disable after scan.
Does this work on Kit kat? Speciffically 4.4.2?
I made a simple shell script to enable/disable media scanning. I am a noob, so please don't hate
Code:
#!/system/bin/sh
echo ""
echo "<Usage: mediascanner <onboot|offboot>"
echo ""
case "$1" in
'onboot')
echo "Media scanner will be started on boot"
pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
;;
'offboot')
echo "Media scanner will not be started on boot"
pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
;;
esac
A shell file is attached if you want to be lazy. Rename it to mediascanner.sh (or just mediascanner) then push it to /system/bin/ and chmod 655 it. When you want to run it, do: su > mediascanner onboot|offboot (choose one). Ex: # mediascanner offboot
Hope that helps!
 @Rehab4Life it does work on 4.4 KitKat

[Root][Guide] Rooting ICS 4.04 leak from the 2.3.6

FILES WERE ATTACHED. I HOPE IT IS VIRUS FREE BUT I CANNOT PROMISE AS THERE MAY BE SOME TROJANS BECAUSE I DOWNLOADED AT SOMEWHERE. You've been warned. That's why I placed the list of files originally.
0. Your system must be in version 2.3.6 or below, which can be rooted by motofail. Do double wipe before you flash.
a) Place the following files in the same folder:
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
motofail
su
Superuser.apk (script default) / supersu.apk
b)(optional) Prepare the modified RSDlite which can flash any roms...
c) Prepare the Motorola driver and install it.
d) use notepad to create a script (root.bat)(provided below) and save it in the same folder with the files above.
1. Connect your phone to the computer. You'd better install the drivers for your phone first. Turn on "USB debugging" and connect it as "charging mode".
2. You CANNOT unplug your usb cable and you CANNOT close the rooting program/script in the whole process.
3. Run the root.bat.
4. it will push some files into your phone and reboot your phone.
5. You will see the caution symbol with the Android robot.
6a. Flash your rom by the stock recovery
OR
6b(i). Pull the battery out.
6b(ii). HOLD the volume-down button and put the battery back.(Power ON) It will boot into the AP mode. (If you can see the blank secreen but not showing "USB CONNECTED, FLASH OK" , release the volume button or retry)
6b(iii). run the RSDlite to flash your rom
7. The phone will reboot and update few(1-3) times.
8. The phone will be rooted after the final reboot.
9. Take out your SD card and do factory reset. (The root will be kept) (I found this may solve some problems)
Script is here :
Code:
@echo off
cls
adb kill-server
adb wait-for-device
adb.exe shell mv /data/local/12m /data/local/12m.bak
adb.exe shell ln -s /data /data/local/12m
adb.exe reboot
adb.exe wait-for-device
adb shell rm -r /data/local/tmp
adb shell mkdir /data/local/tmp
adb push motofail /data/local/tmp
adb shell chmod 755 /data/local/tmp/motofail
adb shell /data/local/tmp/motofail exploit
adb reboot
adb wait-for-device
adb remount
adb.exe shell rm /data/local/12m
adb.exe shell mv /data/local/12m.bak /data/local/12m
adb.exe shell mv /data/local.prop /data/local.prop.bak
adb.exe shell "echo 'ro.kernel.qemu=1' >> /data/local.prop"
adb.exe reboot recovery
echo The phone will boot into the recovery mode
echo please follow the tutorial for the rooting process
echo do not close this window
ping -n 8 127.1>nul
adb wait-for-device
adb remount
adb push su /system/bin
adb shell chmod 4755 /system/bin/su
adb push Superuser.apk /system/app
adb shell chmod 666 /system/app/Superuser.apk
adb shell rm -r /data/local/tmp
adb shell mkdir /data/local/tmp
echo Your phone is rooted!!!
PAUSE
The script is provided by the crc3334404 at gfan.com .Some text is modified by me.
The guide is mainly based on his guide too. (with several modification and addon etc)
Tested on ME865
attach the required files
Edit:- thanks will try
may be i am noob but when i run the bat file it say
C:\root>adb wait-for-device
* daemon not running. starting it now *
* daemon started successfully *
Click to expand...
Click to collapse
and stays there waited for 15 min but nothing happend
EDIT:- as i said i am noob, forgot to tick usb debugging
shamsud said:
may be i am noob but when i run the bat file it say
and stays there waited for 15 min but nothing happend
Click to expand...
Click to collapse
probably bad drivers or something
shamsud said:
may be i am noob but when i run the bat file it say
and stays there waited for 15 min but nothing happend
EDIT:- as i said i am noob, forgot to tick usb debugging
Click to expand...
Click to collapse
So sorry that I didn't mention originally.
Actually I can't sure whether it works in MB865. May you please tell us after trial. Thanks
Results?
Sent from my Atrix II using xda premium
lilhaiti said:
Results?
Sent from my Atrix II using xda premium
Click to expand...
Click to collapse
Id really like to know as well! Haha
sorry guys am unable to flash with stock recovery it say "assert failed" i downloaded the file from below thread
http://forum.xda-developers.com/showthread.php?t=1684443
Click to expand...
Click to collapse
shamsud said:
sorry guys am unable to flash with stock recovery it say "assert failed" i downloaded the file from below thread
Click to expand...
Click to collapse
do you have a MEARET phone? are you fully stock?
fully stock but Searet rom, now loading mearet rom...
EDIT:= Finally got the rooted ics the above method works
shamsud said:
fully stock but Searet rom, now loading mearet rom...
EDIT:= Finally got the rooted ics the above method works
Click to expand...
Click to collapse
Could you upload a backup.i need it to work on getting cm9 working with data. I cant just use the ics update because its only patch files.i need the already patched files.pm me the link to the upload if u can upload it as soon as possible. I just need the system.ext3.tar
Sent from my MB865 using xda premium
rdavisct said:
Could you upload a backup.i need it to work on getting cm9 working with data. I cant just use the ics update because its only patch files.i need the already patched files.pm me the link to the upload if u can upload it as soon as possible. I just need the system.ext3.tar
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
He sent me a PM I told him to do a cwm backup and give us the system and also to dump boot with dd in case we need it for anything
I rooted failed....
It stock after RDS 4.0.4....
I plug the usb and all drivers are ok, then press anykey, then.....it stock...
My OS windows 7 64bit...
dickluo said:
I rooted failed....
It stock after RDS 4.0.4....
I plug the usb and all drivers are ok, then press anykey, then.....it stock...
My OS windows 7 64bit...
Click to expand...
Click to collapse
Questions may help:
1. did you flash it back to 2.3.6 First?
2. Did you root the 2.3.6 successfully by the batch?
3. Flashed the 4.0 after root with no Window closed?
4. Always connected with usb?
5. Usb debugging enabled?
6. No superuser.apk? May be you don't need to do factory reset after rooting. Please let us kvow.
If all yes, please tell us your 2.3.6 version too. E. G. 55.109.xxx
Sent from my ME865 ICS4.0 using XDA premium.
Double post, deleted
shamsud said:
fully stock but Searet rom, now loading mearet rom...
EDIT:= Finally got the rooted ics the above method works
Click to expand...
Click to collapse
Which cheesecake rom did you start with?
Sent from my ME865 ICS4.0 using XDA premium.
4.0.4 drains battery very fast
Two observations after testing ICS on MB865
1/ battery drains twice as fast for ICS 4.04 compared to GB 3.6.6
2/ Screen slower response
austin_boy said:
Two observations after testing ICS on MB865
1/ battery drains twice as fast for ICS 4.04 compared to GB 3.6.6
2/ Screen slower response
Click to expand...
Click to collapse
Never tried GB 3.6.6 and am afraid it doesn't exist.
My battery is ok:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
xanadu said:
Never tried GB 3.6.6 and am afraid it doesn't exist.
My battery is ok:
Click to expand...
Click to collapse
Maybe because you are on T-mobile and don't use 3G
socialx said:
0. Your system must be in version 2.3.6 or below, which can be rooted by motofail. Do double wipe before you flash.
Click to expand...
Click to collapse
Can anybody help me to find 2.3.6 firmware for ME865?

Categories

Resources