[Dev][Themes] De-odexed system for 5.6.890 - Motorola Droid 3

This is ONLY for developers/themers!
Using xUltimate (http://www.droidforums.net/forum/xeudoxus/47283-release-xultimate.html), I was able to de-odex the 5.6.890 system apps and framework. The only catch with xUltimate was the version of baksmali included failed to de-odex BlurCalendar. I replaced the included file with a newer version and everything seems to have worked fine. I have successfully pushed this to my phone, and after a long, suspenseful boot, I was greeted by the lockscreen. I have only used my phone for ~20 minutes, but everything seems stable.
Stock Launcher works
Alarms work
TXTing works
Settings/checking for updates works
Files:
V1 - http://www.multiupload.com/ZBDEQLWRL9
Method for converting:
Since we can't flash updates using recovery yet, I manually pushed these files to my phone.
Push the files to your phone some place safe. (I used /data/local/tmp/new-system)
Remount /system RW.
Do a sync and stop.
Copy all the app files to /system/app and the framework files to /system/framework.
Switch to /system/app, chown root.root *, chmod 644 *, rm *.odex
Switch to /system/framework, do the same as above.
Reboot.
The reboot took about 7 minutes, so be patient.
Special Thanks:
"Team Dark Edge", Hashcode, Edgan, Psouza4, and all the other people in #KrazyK who have answered my dumb questions over the past few months.

Awesome! And thank you... going to see if I can come up w/ a fresh theme for us in the upcoming weeks.. back to where I started
Sent from my DROID3 using XDA App

Wow, that's awesome. I had about 1/2 of it done manually, and then i got distracted by some other "stuff".
Nice work!

Sweet
Sent from my DROID3 using XDA App

Related

Anyone got a spare copy of /system/bin/sh I could borrow?

Hi, I accidentally deleted the /system/bin/sh file from my system while messing around in the terminal after rooting my phone. Seeing how the shell is a pretty important part of the operating system, I kinda don't want to reboot the phone until I've replaced it. Therefore I wondered if any of you could just send me a copy of the shell on your system. I've got the Motorola Milestone UK model, with Android 2.1 Update 1.
are you running a custom ROM or just stock 2.1.1? you can always download a custom ROM update.zip made for the milestone 2.1.1 and unzip it, and just copy the /system/bin/sh file back onto your phone using root explorer or push using adb then make sure the proper permissions are set (i believe its 777)
i'm in the US and have the "Droid" so that's really all the help i can offer.
hope that helps
vuarnet said:
are you running a custom ROM or just stock 2.1.1? you can always download a custom ROM update.zip made for the milestone 2.1.1 and unzip it, and just copy the /system/bin/sh file back onto your phone using root explorer or push using adb then make sure the proper permissions are set (i believe its 777)
Click to expand...
Click to collapse
Thanks for the tip. Things seems to be working now
Great! Glad to hear it
Sent from my Droid using XDA App

Honeycomb music apk

FYI > I flashed honeycomb music from post 2 of following - works for Magic 32b too.
http://forum.xda-developers.com/showthread.php?p=9995402#post9995402
Note. needs ~5 meg avail on /system. You'll get black screen if flash is incomplete.
Better for those of us on limited /system space is to only install libjumper.so from that zip into /system/lib/
Apparently Music.apk can be renamed com.google.android.music.apk and dropped in /data/app. I haven't had any success that way, unless the debug logs showing syncing 0 byte files are intentional.
So: unzip contents onto sdcard, then:
Code:
mount -o remount,rw /system/
cp libjumper.so /system/lib/
chmod 644 /system/lib/libjumper.so
cp Music.apk /system/app/
chmod 644 /system/app/Music.apk
mount -o remount,r /system/
reboot
Music is the app. Libjumper app is the sync service though only works if you created lib file and some people have reported the sync isn't actually fully functioning.
Update > also posted here:
http://forum.xda-developers.com/showthread.php?p=12097845#post12097845
Update typo in music.apk
crypticc said:
Code:
cp Music.apk /system/app/
chmod 644 /system/app/com.google.android.music.apk
Click to expand...
Click to collapse
Newb alert!, The file copied is Music.apk, but we changed permissions on /system/app/com.google.android.music.apk. Is this correct? New to Android, I may be having a brainfart here.
Just ran with it. Changing permissions on Music.apk worked quite well. Thank you very much.
tested and worked on 32a.
thanks dude!
can you post screensot??
adb shell....
okay so i unzipped it into the sdcard but its telling me that the file doesnt exist in the directory. Should i copy the file into the root system of android. Im sorry I'm a noob to android coding.
Xiaoxion said:
okay so i unzipped it into the sdcard but its telling me that the file doesnt exist in the directory. Should i copy the file into the root system of android. Im sorry I'm a noob to android coding.
Click to expand...
Click to collapse
this what i did. i unzipped it then manually install music app then using root access i moved lib file to system/lib while for music apk to system/app. then i clear all dalvic cache and reboot my phone.
Sent from my GBRider Cronos v1.0 using XDA App
No matter how I install this all I get is a black screen and the sync icon on the top bar
Sent from my HTC Magic/Dream using XDA Premium App
gr8 job ,,
thanx dude
Fabulous! Thanks.
no matter what I get the error of no space left.
Anybody know how the sync works? I check Sync Music and my music selections went blank.
sudermatt said:
Anybody know how the sync works? I check Sync Music and my music selections went blank.
Click to expand...
Click to collapse
sync seems doesn't worked for now i guess..
launch music app, go to menu, take music settings, uncheck Stream music.
here also my screenshot..
it worked for me on the G1, but it stops playing after like a minute or two, and really slows down the phone, and the music starts to crackle
Thank you
Sorry for my ignorance, but what does this music player bring to the sapphire
thanks bro
Cool...
looks pretty!
Thanks.

[Q] Deodexing JVB

Hey guys,
I'm trying to deodex JVB for my personal use.
I'm using xUltimate 2.2.3 for the process.
What I do:
1) pull /system/framework with xUltimate
2) deodex the files with xUltimate
3) push files to /sdcard/
4) rm /system/framework/*.odex
5) mv /sdcard/done_fram/* /system/framework/
But each time I'm getting bootloop.
Same method worked for me perfectly with JVK as far as I remember.
Any tips?
Try replacing files with Root Explorer.
Good luck !
Sent from my GT-I9003 using XDA App
looks like the trick that finally made it for me was to deodex all framework and app directory. not only framework like i tried...

[SCRIPT] OLYEM_U4 1.4.2 Telstra/Bell FULL Deodex -> 1.1 Updated

Hey guys,
I have updated this thread with a script and files for those who are unsure of how to make this work. Its a quick script so don't expect much, reverse engineered to simply de-odex your phone fully.
You must have ADB added to your "Allow" list in Superuser.apk.
WARNING:
This can brick your phone if you do not do things properly. I have tested it on my phone and it worked flawlessly. Once again though, I was on a fresh install of 1.4.2.
INSTRUCTIONS:
-Download files here <-- Updated link
-Extract files to C:\
-Execute SevensDeodex1.1.bat
-Wait a few minutes
-Phone will reboot and take a while to start up
-Done
MANUAL INSTALL:
Navigate to extracted files through CMD or Shell
Type the following commands
adb.exe push 142system.tar.gz /data/local/tmp/
adb push bin/install_script.sh /data/local/tmp/install_script.sh
adb shell
Once in adb type:
su
cd /data/local/tmp
chmod 755 install_script.sh
./install_script.sh
Known issues:
-Photoeditor.apk deleted as de-odexing this was a problem. So what
Updates:
1.1 Updated to fix some issues with the bat file.
1.0 Original release
Special Thanks to: NFHimself for showing me the way
i know that ken was looking for a dump of /system and /data, did you or will you toss one at him seven?
i would, but i was working on some frameworks on 0.37 that i don't really want to leave unfinished
raybond25 said:
i know that ken was looking for a dump of /system and /data, did you or will you toss one at him seven?
i would, but i was working on some frameworks on 0.37 that i don't really want to leave unfinished
Click to expand...
Click to collapse
You want me to upload a framework dump?
Will that help, let me know exactly what you need and I'll try to help.
I found aout about that method too last night, I just deleted the photoeditor apk and odex file and it ran through the app deodex fine. When I tried to copy my framework files though adb shell refused to replace the files, even using the -f force command.
Yes... could someone throw me:
/system/
/data/
I know that's a lot... but that's what I'll need. Thanks guys. PM me if you need a private FTP server to upload it. If not, you can use Dropbox or Hotfile.com (I have a premium account).
http://db.tt/kdUycD1 just dumped that last night..might be a slow downlad though...raybond25 gave me the script for it since I've never done it hope its what you need
Sent from my MB860 using XDA Premium App
that was something that was needed, but after that it needed to be deodexed. I sent snake's dump to NFHimself and he deodexed it.
Deodexed system
raybond25 said:
that was something that was needed, but after that it needed to be deodexed. I sent snake's dump to NFHimself and he deodexed it.
Deodexed system
Click to expand...
Click to collapse
so with a deodex script we can deodex our system and framework?
Sent from my MB860 using XDA Premium App
SN4K3B1T3 said:
so with a deodex script we can deodex our system and framework?
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
i'm not sure how NFH did it, you'd have to ask him about his method but that system has deodexed /app and /framework
i'm not sure if he plans on writing a script that will do this and releasing it or not, that deodex was mainly because kennpenn was looking for it.
but, yes it can be done.
Will upload deodex files now
any special tricks ive tried deodexing at least 4 times and it stops at 91 out of 134...pissed
yeah i got an error at core.odex
I agree there is no sense reinventing the wheel, I used dsixda's htc kitchen to do it, had a working folder for something else, simply replaced app and framework with the files from telstra and ran his script and selected deodex. He has bits in there specific to the Atrix, I noticed that when looking at the scripts to do my own version, didn't bother after since it was already done. No errors, and haven't had a problem in over a month so it's all good, it only needs to be done once per firmware.
My rule of thumb, don't run anything for your $$$ phone if you don't have source or can read the scripts yourself, especially if it hasn't been tested specifically on your phone. Don't be in a rush to execute some file or script unless it's from a family member you really like with lots of money.
Cheers!
NFHimself said:
I agree there is no sense reinventing the wheel, I used dsixda's htc kitchen to do it, had a working folder for something else, simply replaced app and framework with the files from telstra and ran his script and selected deodex. He has bits in there specific to the Atrix, I noticed that when looking at the scripts to do my own version, didn't bother after since it was already done. No errors, and haven't had a problem in over a month so it's all good, it only needs to be done once per firmware.
My rule of thumb, don't run anything for your $$$ phone if you don't have source or can read the scripts yourself, especially if it hasn't been tested specifically on your phone. Don't be in a rush to execute some file or script unless it's from a family member you really like with lots of money.
Cheers!
Click to expand...
Click to collapse
I've updated the OP and thread title.
Now includes a working script to deodex. Very simple and straight forward, no need to use any other tools and this should make it easier for all other users who are new at this.
Thanks for your help sir, you are a king amongst men!
Not a problem.
One thing about the script, Superuser.apk needs to know about the shell having root access, so once you root the phone, do an adb shell su command, accept the prompt from Superuser.apk, and you are good to go. I tossed some stuff into my root.bat (.sh) scripts to launch Superuser.apk and update it's database automatically, bit of a hack but worked the last 20 times I tried it.
NFHimself said:
Not a problem.
One thing about the script, Superuser.apk needs to know about the shell having root access, so once you root the phone, do an adb shell su command, accept the prompt from Superuser.apk, and you are good to go. I tossed some stuff into my root.bat (.sh) scripts to launch Superuser.apk and update it's database automatically, bit of a hack but worked the last 20 times I tried it.
Click to expand...
Click to collapse
ooooooooh you absolutely right.
Since I'm new at making scripts i'm going to simply just update the script so that the user has to put ACCEPT on the phone before running the rest of the commands you know, new vers coming now
I keep getting this error.. I took a screen shot of it.. Any ideas?
nate_benji said:
I keep getting this error.. I took a screen shot of it.. Any ideas?
Click to expand...
Click to collapse
easy. It means you do not have root access allowed with ADB.
If you're phone is not rooted, go to the link in my signature that shows you how to root.
If you have root and you know its working then you must do the following first:
Open up your command prompt - make sure to keep your phone's screen active and unlocked.
Type "adb shell"
Once you have $
type "su"
check your phone's screen, as you will be prompted to allow, or deny access.
Select "Allow"
Now you are set to go, execute the script again.
Let me know of your results
I just tried it on a fresh SBF flash and root, root confirmed working though adb shell. It pushes everything fine, but when it goes to execute the script the cmd window just closes.
EDIT: Managed to get a screen right before it closes. Not sure of the problem because root works in adb and titanium backup.
Open up CMD manually
then navigate to where the bat file is and run it.
Tell me what the output is please.
Also, you said Root is working through ADB.
Then try to do everything manually as such:
adb.exe push 142system.tar.gz /data/local/tmp/
adb push bin/install_script.sh /data/local/tmp/install_script.sh
adb shell
Once in adb type:
su
cd /data/local/tmp
chmod 755 install_script.sh
./install_script.sh
And there you go.

Working ICS leak deodex!!

I finally have the scripts ready for download!!!! It includes 3 batch scripts (you will only need to run two), lists of dependencies (you dont need to do anything with them ), and the 7za.exe which is used to put the classes.dex in the apk/jars. There are also 7 apks in a "predeodexed" folder, these 7 apks I had trouble deodexing, but the newest xUltimate version (2.4) seemed to deodex them properly (I had issues with it deodexing framework and some apps).
--After a few days of running a deodexed system I haven't noticed any fc and crashes or major slowdowns, BUT I don't use any of the verizon apps (they were the trouble apps for deodexing too) or the default launcher.
Step 0: Make a safestrap backup of your systemorig!!! (You can get back without a backup but it is a much longer process, its the same process of jumping from one ICS, so you keep your data)
Step 1: Download and extract, duh
Step 2: Pull /system/framework to /system/framework in the folder you extracted the zip to
Step 3: Do the same as above but for /system/app
Step 4: Run the framework.bat and app.bat files
Step 5: Get /output/framework and /output/app to /system, and apks in /predeodexd also need to be pushed/transferred to /system/app
5a: Use adbd insecure to enable adb remount and adb push commands, and push /output/framework & /output/app to /system/framework /system/app
-OR-
5b: Copy the /app and /framework folders to the sdcard and then copy using a root file manager to /system/app and /system/framework
Step 6: Remove the .odex files in both /system/app and /system/framework, either through adb shell (adbd insecure), through terminal or one by one with a file manager :silly:
Step 7: Reboot!! :good:
Sent from my DROID4 using xda premium (Well somewhat)
Cool story, broski.
Sent from my XT894
Does it mean, we could use the blur camera app on CM9?
I prefer it over the standard ICS camera app because it has additional options like audio scenes which are quite useful.
Upload?
...Tapatalk

Categories

Resources