Honestly, I do not know how much interest there will be in this, but throughout my own exploration and experimentation with Android and the Epic 4G I feel like sharing my finds with the community.
I kanged this tool from HERE so thanks to Daneshm90 among other people who are thanked in the tool itself. All I really did was add a few BOOTCLASSPATHS to the *APK.bat files to get it to deodex all the apks, and update smali/baksmali to version 1.2.6 (newest as of 3/25/11).
Basically this is a one click tool to deodex stock, odexed system/framework and system/app folders on a windows machine. I tested on the ACS Untouched Stock EC05 ROM and got clean runs where everything became deodexed.
Tips: I found it best to do system/framework first in one run, then leave the output in deodexed_JAR, and THEN process system/app as many of the files in the app folder have dependencies on the jars.
After processing system/framework you will have framework-res.apk and twframework-res.apk which do not need deodexing.
In early testing, I found certain files leftover after a run processed on the next run. This stopped after updating smali/baksmali. I doubt I'll be of much help if you run into problems, you are doing EVERYTHING at your own risk. I barely understand the details here, I just ported it to work on our phone, so good luck!
Deodexed 2.3a Download
Thanks for this!
Good tool for those that want stock with.a theme.
Sent From My Evo Killer!
Mind if I throw this in the EPIC 4G cookbook?
amosher13 said:
Honestly, I do not know how much interest there will be in this, but throughout my own exploration and experimentation with Android and the Epic 4G I feel like sharing my finds with the community.
I kanged this tool from HERE so thanks to Daneshm90 among other people who are thanked in the tool itself. All I really did was add a few BOOTCLASSPATHS to the *APK.bat files to get it to deodex all the apks, and update smali/baksmali to version 1.2.6 (newest as of 3/25/11).
Basically this is a one click tool to deodex stock, odexed system/framework and system/app folders on a windows machine. I tested on the ACS Untouched Stock EC05 ROM and got clean runs where everything became deodexed.
Tips: I found it best to do system/framework first in one run, then leave the output in deodexed_JAR, and THEN process system/app as many of the files in the app folder have dependencies on the jars.
After processing system/framework you will have framework-res.apk and twframework-res.apk which do not need deodexing.
In early testing, I found certain files leftover after a run processed on the next run. This stopped after updating smali/baksmali. I doubt I'll be of much help if you run into problems, you are doing EVERYTHING at your own risk. I barely understand the details here, I just ported it to work on our phone, so good luck!
Deodexed 2.3a Download
Click to expand...
Click to collapse
This is awesome...... GREAT WORK.....
Okay so this sounds interesting and all...But how does one use it??
tphillips said:
Mind if I throw this in the EPIC 4G cookbook?
Click to expand...
Click to collapse
Go right ahead!
sent from my mind to yours
youngpro83 said:
Okay so this sounds interesting and all...But how does one use it??
Click to expand...
Click to collapse
Just take an odexed frame work, put it in the folder and run deoall.bat, then repeat for app. Pretty much it, if you don't know the point then you probably don't need it, lol
sent from my mind to yours
Thanks dude
Thanks bro good work
Anyone give this a shot yet?
blazinazn said:
Anyone give this a shot yet?
Click to expand...
Click to collapse
Yea I tried using it to deodex my eco5 stock rom, and it ran clean and gave output, but the output wouldn't boot.. I ended up going a diff route which included using a tool made for another phone and doing some by hand...
Sent from my SPH-D700 using XDA App
Related
This tool will open any AOSP based rom or theme (as long as the file structure is correct) and optimize and zip align everything.
Simply grab your rom or theme and place it in this folder (should work from anywhere but you need to full path from where the cmd file is run). Now click on the reopto_runner.cmd and it will ask you where the rom is (name) that you want to optomize, type the name of the rom and hit enter, it will do the rest.
Final output of the re-optimized (double pass with 2 different png optimizers) rom will be named rom-optoed-signed-finished.zip this will be exactly the same rom except the script will optomize every png in every apk found in the system/app and system/framework-res.apk. It will also zipalign all these same apks and finally will sign the zip file. When its done just rename the rom-optoed-signed-finished.zip to what ever you want and its ready to flash.
What this won't do is make your zip file (rom, theme, update zip) flashable unless its already set up to be flashable... meaning you'll still need your update-script in the com.google.android folder to be there. Its does sign your zip file for you though.
I put this out there as its some of the scripting and tools I have made to help me in theming and rom hacking.
Feel free to use any part of this to help you in any scripting you do.
Sweet, you are the man. Going to try it out now.
I'm going to try this on the MIUI ROM!
Cetus Corr said:
Sweet, you are the man. Going to try it out now.
Click to expand...
Click to collapse
teejaymarx said:
I'm going to try this on the MIUI ROM!
Click to expand...
Click to collapse
I have only tried this method on AOSP based roms the script should work on any rom or theme or update zip that follow this structure in the top level. system/app/*apk and system/framework/framework-res.apk, which is pretty much all of them.
The script takes about 10 minutes or so to run on cm6 rom and is really quick on most of the themes here. So for instance you could use it to make sure or re optimize a theme or roms.
feel free to tire it apart and use it in other fashions. I can guarantee it will shave some about of space of any rom or theme along with the zip aligning of every apk. If its a short request I'll post some more automated tiny scripts to todo various stuff.
Little confused. I run any aosp rom through this and it makes it compatable with the hero? ( sorry for the newb question)
Sent from my Hero CDMA using XDA App
Didn't work for me on the MIUI ROM, got a status 0 error in clockwork recovery...lol
vampir4997 said:
Little confused. I run any aosp rom through this and it makes it compatable with the hero? ( sorry for the newb question)
Sent from my Hero CDMA using XDA App
Click to expand...
Click to collapse
No I haven't released that script yet. This just optimizes a rom that's all.
Sent from my HERO200 using XDA App
teejaymarx said:
Didn't work for me on the MIUI ROM, got a status 0 error in clockwork recovery...lol
Click to expand...
Click to collapse
Not sure what you did... this is not a flashable zip just a tool to optimize a rom.
Did you run this tool on the miui rom?
Sent from my HERO200 using XDA App
Hello,
New to the "kitchen", items like this help us out! Thank you and looking forward to your other scripts. Any desire to do a "how to port a theme/rom" guide? Love the Screaming Droid, I laugh every time I boot up one of my 2.2 roms. I also use your R2 boot but I have yet to get sound on 2.1? Anyway a big thanks goes out to you!
jschill31 said:
Hello,
New to the "kitchen", items like this help us out! Thank you and looking forward to your other scripts. Any desire to do a "how to port a theme/rom" guide? Love the Screaming Droid, I laugh every time I boot up one of my 2.2 roms. I also use your R2 boot but I have yet to get sound on 2.1? Anyway a big thanks goes out to you!
Click to expand...
Click to collapse
Thank you for the praise, wife been complaining about doing stuff for free so I might have to post my pay pal account with a wife complaining button.
I might just release a script that does it for you. mdpi to mdpi (or hdpi to hdpi) no matter what rom is fairly easy todo. Of course it can only theme what it can match but it will do it for you.
For a more in depth description would take some time so I'll probably have to do it some time later.
ASimmons said:
Thank you for the praise, wife been complaining about doing stuff for free so I might have to post my pay pal account with a wife complaining button.
I might just release a script that does it for you. mdpi to mdpi (or hdpi to hdpi) no matter what rom is fairly easy todo. Of course it can only theme what it can match but it will do it for you.
I totally understand, my wife and I have our first child on the way. I am always around so take your time. BTW, I think you would get some clicks your work is solid. I wish XDA had a "thanks" button!
Click to expand...
Click to collapse
Thanks for your hard work. Going to check it out.
jschill31 said:
ASimmons said:
Thank you for the praise, wife been complaining about doing stuff for free so I might have to post my pay pal account with a wife complaining button.
I might just release a script that does it for you. mdpi to mdpi (or hdpi to hdpi) no matter what rom is fairly easy todo. Of course it can only theme what it can match but it will do it for you.
I totally understand, my wife and I have our first child on the way. I am always around so take your time. BTW, I think you would get some clicks your work is solid. I wish XDA had a "thanks" button!
Click to expand...
Click to collapse
Thanks, congradulations... get ready for no sleepy time for about 4 months after the new born. Got 2 girls myself kids are awesome especailly when I just a nig kids myself
chubbzlou said:
Thanks for your hard work. Going to check it out.
Click to expand...
Click to collapse
Your welcome, feel free to alter and use whats in the script. If u have questions I can give you some more pointers on ways to make similar scripts.
Click to expand...
Click to collapse
GJ Sim, when I try it out Ill let ya know ... Thx for this and all your hard work man !
Thank you I got a new project on the way think it might be something use full to themers and people that use themes are like two switch allot. In a week or so...
Sent from my HERO200 using XDA App
So in theory I could run this on one of Jaybob's Froyo builds and make it even faster than it is right now?
LiquidSolstice said:
So in theory I could run this on one of Jaybob's Froyo builds and make it even faster than it is right now?
Click to expand...
Click to collapse
maybe but he should have done the png opto and zipaligning already. I do add another png opto that most people dont do which will squeeze out another couple of kb, was able to shrink cm6 by 16 or so kb, which doesnt seem like alot but every bit counts.
You could use it to just see, like whenever you d/l a new rom run this on it and compare the file size, or load the rom and run a linpack and then opto it and then reload it and then do a linpack and see what you get. Some themers don't zipalign there themes and don't opto there pngs, and I have yet to see anyone use optipng and the other png opto program i use as a double pass system of optimizing pngs.
I like to use it for my themes or roms as it automates the hole process. Try it out if you use it on a rom it will give you a new optoed copy that is already sign and ready to flash... one click
ASimmons said:
maybe but he should have done the png opto and zipaligning already. I do add another png opto that most people dont do which will squeeze out another couple of kb, was able to shrink cm6 by 16 or so kb, which doesnt seem like alot but every bit counts.
You could use it to just see, like whenever you d/l a new rom run this on it and compare the file size, or load the rom and run a linpack and then opto it and then reload it and then do a linpack and see what you get. Some themers don't zipalign there themes and don't opto there pngs, and I have yet to see anyone use optipng and the other png opto program i use as a double pass system of optimizing pngs.
I like to use it for my themes or roms as it automates the hole process. Try it out if you use it on a rom it will give you a new optoed copy that is already sign and ready to flash... one click
Click to expand...
Click to collapse
Sounds good . Of course, when you say "every rom" you only mean AOSP roms, right? I'd suppose it wouldn't be able to rip, for instance, Nfinite's latest rooted Stock ROM apart and png optimize/zipalign it? If it could, holy crap. On top of the fact I use Odex, that would be amazing.
LiquidSolstice said:
Sounds good . Of course, when you say "every rom" you only mean AOSP roms, right? I'd suppose it wouldn't be able to rip, for instance, Nfinite's latest rooted Stock ROM apart and png optimize/zipalign it? If it could, holy crap. On top of the fact I use Odex, that would be amazing.
Click to expand...
Click to collapse
should work on that to since it only looks at pngs and apk. it will onyl zip align the framework-res.apk and the system/app apk's. Actually try it out I never have but it should work.
remember to nand before you flash it but you should be a ok, as I can't see any reason why it would work.
ASimmons said:
should work on that to since it only looks at pngs and apk. it will onyl zip align the framework-res.apk and the system/app apk's. Actually try it out I never have but it should work.
remember to nand before you flash it but you should be a ok, as I can't see any reason why it would work.
Click to expand...
Click to collapse
Hmm. But will I see a difference? Doesn't HTC have their own specific framework-res apk? I'd love to get into ROM themeing, so I've been poking around the ROMs for some time now.
Everytime I used smali or baksmali, I always had to go to the XDA post that described the correct usage...so I made simple batch files to speed up the process and figured I should share with the community.
Extract the .zip below, run the "smali.bat" or "baksmali.bat" batch files, and follow the instructions...they should be self explanatory.
This is obviously for Windows...don't ask for other versions, I'm not a programmer. These are the latest smali and baksmali versions (v1.2.6 released 12/23/2010) as well.
AutoSmali v1.0 | Download
(Hope this post is in the right forum?)
Any chance this will work with framework-res.apk? I've been using apktool for it but dread having to build it twenty times before getting a usable one.
xHausx said:
Any chance this will work with framework-res.apk? I've been using apktool for it but dread having to build it twenty times before getting a usable one.
Click to expand...
Click to collapse
not sure what you mean?...this is just an automated script for decompiling/compiling the .dex files (usually within .jar files)
what exactly are looking to do with an .apk? sign it?
this is pretty cool ... thanks
Hey!
Thanks for this! Really helps alot!
But can you make it compatible with v1.2.7? http://code.google.com/p/smali/downloads/list
Thanks!
xHausx said:
Any chance this will work with framework-res.apk? I've been using apktool for it but dread having to build it twenty times before getting a usable one.
Click to expand...
Click to collapse
hmmm...weird, i had the same issue , then i found the correct cobination of framework files for aptool, that now it builds as easy as one two three.
Did you makes sure you used the original meta-inf folder from the original apk, pm me if you ever need help.
Nice work. .:thumbs up:.
for this to work for the newer versions of smali/baksmali
just change .bat to .txt and edit the place where it says 'smali-1.2.x.jar' to the new version.
that should work.
i still dont know how the hell to do anything with a .smali file but i atleast know how to do that!
hit thanks if that helped
link down
schmittx said:
AutoSmali v1.0 | Download
Click to expand...
Click to collapse
dead link. try:
http://www.mediafire.com/?d5ruxexq15d1pje
(7/3/12) Added CleanRom Odexed version (thanks Scott).
Steve
Hey All,
I saw there was a landscape Rosie Mod in another thread in this forum, but I took a look at it, and it's got a lot of extra/unecessary coding due to the fact that it is pulled from a tweaks app. As I understand it, this has been causing problems when it is used. Accordingly, I just wanted to put out a version that ONLY contains the change to allow for landscape rotation (one number in one smali file...). I am in the process of coding a tweaks app, so I thought I'd share things as they come along...
Anyway, enjoy, and feel free to use in your roms, chefs...
AS ALWAYS, FLASH AT YOUR OWN RISK! I AM NOT RESPONSIBLE IF YOUR PHONE GOES CRAZY OR ANYTHING ELSE HAPPENS...
Steve
PS - Mods (and users, for that matter), if you want me to combine my mods into a single thread, just let me know.
DOWNLOADS
Please place on sdcard and flash as usual in recovery. A android backup is ALWAYS recommended before flashing..., a dalvik wipe wouldn't hurt, either, but isn't absolutely necessary...
1.73 RUU: http://d-h.st/WhD
1.85 RUU: http://d-h.st/OAY
1.88 RUU: http://d-h.st/CkY
CleanRom: http://d-h.st/5PW
I want you to release that rom you have been working on, and thank you for your hard work
Sent from my HTC One X using Tapatalk 2
Tweaks app hummmm? Like, EQS customization and such along with other stuff?
Will wait for 1.85 release.
Thx
techlogik said:
Tweaks app hummmm? Like, EQS customization and such along with other stuff?
Will wait for 1.85 release.
Thx
Click to expand...
Click to collapse
Yes. It's a long painful process, as I am doing my own port from roman bb's original for GB, but I really want to do it that way, rather than use j4n87's, although I will ask him (nice guy) if I can't take it any longer..... I am a glutton for punishment and like to see how things work, what can I say?
Steve
All RUU's Up
I have only tested the 1.88 version, so please let me know if I messed anything up, and PLEASE backup your original Rosie first!
Thanks.
Steve
Hi, I dont know if it's me but i keep getting 404-Not Found
Thank you
I respect your work.
Does odex or de-odex matter? The most popular rom around here is now odex so if there is a difference there will be a lot of odex requests thanks for your work!
Yep 404 errors
nugzo said:
Does odex or de-odex matter? The most popular rom around here is now odex so if there is a difference there will be a lot of odex requests thanks for your work!
Click to expand...
Click to collapse
+1
Sent from my HTC One X using Tapatalk 2
Is this an XML or smali change?
If its a smali change then it would have to be odexed to work on my ROM.
It its XML then you would just need to delete the classes.dex inside of Rosie.apk.
But i have a feeling its a smali change :crying:
EDIT: Yeah, I am seeing issues with XDA and 404 errors in a few threads. Like they made some sort of anti leach thing or something. I dont know
404 not found. Phone and computer.
scrosler said:
Is this an XML or smali change?
If its a smali change then it would have to be odexed to work on my ROM.
It its XML then you would just need to delete the classes.dex inside of Rosie.apk.
But i have a feeling its a smali change :crying:
EDIT: Yeah, I am seeing issues with XDA and 404 errors in a few threads. Like they made some sort of anti leach thing or something. I dont know
Click to expand...
Click to collapse
Its a small edit. Scott, you are going odex now? Thanks a bunch, now I'll have to make odex mods.....
I will upload to dev-host, odex mods, too, very soon... This attachment thing is weird...
Anyway, I'll post the links asap.
Steve
New Links
nugzo said:
404 not found. Phone and computer.
Click to expand...
Click to collapse
OK, Dev-Host links are up. Enjoy...
Steve
sk806 said:
OK, Dev-Host links are up. Enjoy...
Steve
Click to expand...
Click to collapse
thanks!
these arent the odex ones right?
sk806 said:
Its a small edit. Scott, you are going odex now? Thanks a bunch, now I'll have to make odex mods.....
I will upload to dev-host, odex mods, too, very soon... This attachment thing is weird...
Anyway, I'll post the links asap.
Steve
Click to expand...
Click to collapse
Sorry man. Odex is the way to go. People love it. If I get time I will try to odex one and see if I can remember how. It was my first time going odex so... Not a lot of experience yet.
If anyone wants to use the mod until one of us odex's it you can just delete /system/app/Rosie.odex and then push the new Rosie and reboot. Worked fine for me. YMMV.
aimetti said:
thanks!
these arent the odex ones right?
Click to expand...
Click to collapse
Nope, deodexed. I will have odexed ones up soon.
Sent from my HTC One X using xda premium
scrosler said:
Sorry man. Odex is the way to go. People love it. If I get time I will try to odex one and see if I can remember how. It was my first time going odex so... Not a lot of experience yet.
Click to expand...
Click to collapse
I have some experience from tbolt and incredible days. So should be fine....
Sent from my HTC One X using xda premium
I got it done! Ha beat you!
EDIT: SK Moved it to the OP now.
i privately mod - theme all of my android devices. both the s4 and the optimus g pro lags like hell as we all know. we can either blame hardware or the software. im going with the software. the permanent fix will be custom roms and kernels but until then i was digging through the systemUI and framework-res and i think i found the source of some of the lag.
it's in the framework-res / animations folder. in here you can see standard animation xml's but also touchwiz ones that were added by samsung for all of the new gimmicky features and gestures. so i performed an experiment. i opened up my framework and added aosp animations from a cm10.1 rom, added the res back to the apk and pushed it to my device. BOOM, lag gone for the most part and smoother animations. before this i tried everything including deodexing, debloating and turning off all features.
i just thought i post my findings for the devs and anyone who feels like getting their hands a bit dirty.
enjoy! :good:
EDIT:
http://www.mediafire.com/?mbop6l3yow612vt
here is the modded framework-res. push via adb to system/framework and restart your device. this is a stock, unmodded framework other than what i replaced with the animations. this is a deodexed apk, so don't try on any odexed rom. THIS IS FOR AT&T ONLY!
I AM NOT RESPONSIBLE IF YOU BLOW UP YOUR DEVICE. BACKUP YOUR CURRENT FRAMEWORK-RES BEFORE PUSHING THE NEW ONE IN CASE YOU HAVE ANY ISSUES.
IF this works the mods can move this to the dev section.
fix-this! said:
i privately dev and mod - theme all of my android devices. both the s4 and the optimus g pro lags like hell as we all know. we can either blame hardware or the software. im going with the software. the permanent fix will be custom roms and kernels but until then i was digging through the systemUI and framework-res and i think i found the source of some of the lag.
it's in the framework-res / animations folder. in here you can see standard animation xml's but also touchwiz ones that were added by samsung for all of the new gimmicky features and gestures. so i performed an experiment. i opened up my framework and added aosp animations from a cm10.1 rom, added the res back to the apk and pushed it to my device. BOOM, lag gone for the most part and smoother animations. before this i tried everything including , deodexing, debloating and turning off all features.
i just thought i post my findings for the devs and anyone who feels like getting their hands a bit dirty. i guess later i could try to post a modded stock framework for you guys.
enjoy! :good:
Click to expand...
Click to collapse
Thanks for the report. I look forward to seeing this phone run like it should out of the box...:highfive:
brojoe11 said:
Thanks for the report. I look forward to seeing this phone run like it should out of the box...:highfive:
Click to expand...
Click to collapse
i don't think what im seeing is a placebo either, the window animation and close animations are really smooth now.
Sounds great. I have added a couple systemui.apk's but the jerky hesitation at times is really agrevating.
brojoe11 said:
Sounds great. I have added a couple systemui.apk's but the jerky hesitation at times is really agrevating.
Click to expand...
Click to collapse
once i get my kids to bed ill try to post a modded deodexed framework-res you guys can use.
fix-this! said:
once i get my kids to bed ill try to post a modded deodexed framework-res you guys can use.
Click to expand...
Click to collapse
Look forward to it. Thanks.
fix-this! said:
once i get my kids to bed ill try to post a modded deodexed framework-res you guys can use.
Click to expand...
Click to collapse
Nice, sounds interesting!
edited first post with the mod.
Is this ok to try on an AT&T s4, rooted, ota update, with the deodexed prom from the dev section?
Sent from my SPH-L720 using xda app-developers app
Dallenn said:
Is this ok to try on an AT&T s4, rooted, ota update, with the deodexed prom from the dev section?
Sent from my SPH-L720 using xda app-developers app
Click to expand...
Click to collapse
as long as its deodexed, a at&t rom and no existing mods it should work.
I dont want to be the first to try it lol...wanna wait until its tested and moved.
Dallenn said:
I dont want to be the first to try it lol...wanna wait until its tested and moved.
Click to expand...
Click to collapse
working fine on my device but to each their own. i will ask for this to be moved when more people comment.
So I'd have to Odin a deoxed version of the stock ROM then flash this over correct?
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
Yes you must be deodexed. Been testing, the lag is much better but not totally gone. I'm going to do more searching tomorrow.
jetlitheone said:
So I'd have to Odin a deoxed version of the stock ROM then flash this over correct?
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
Click to expand...
Click to collapse
You can't Odin a deodexed ROM. And there's no flashing. You just deodex your current ROM, then copy and paste his framework-res.apk into /system/framework/.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
Wish I had better news, I tried it and got stuck at the at&t boot screen. I had a deodexed rom. Not sure what went wrong using odin to go back to stock for now. Thanks for the mod. I just had to be the one to try it...lol...:crying:
brojoe11 said:
Wish I had better news, I tried it and got stuck at the at&t boot screen. I had a deodexed rom. Not sure what went wrong using odin to go back to stock for now. Thanks for the mod. I just had to be the one to try it...lol...:crying:
Click to expand...
Click to collapse
Were you on the newest ota? And are you sure you were deodexed? If anybody else reports it I'll take it down. Weird as it pushed and works fine on my device.
brojoe11 said:
Wish I had better news, I tried it and got stuck at the at&t boot screen. I had a deodexed rom. Not sure what went wrong using odin to go back to stock for now. Thanks for the mod. I just had to be the one to try it...lol...:crying:
Click to expand...
Click to collapse
Did your check permissions before replacing the framework?
Sent from my SPH-L720 using xda app-developers app
Dallenn said:
Did your check permissions before replacing the framework?
Sent from my SPH-L720 using xda app-developers app
Click to expand...
Click to collapse
Yeah it sounds like he didn't set the permissions on the .apk before booting.
For anyone else who wants to try this, copy the framework-res.apk to your /sdcard (if you're using adb and the framework-res.apk is on your C:\ drive, use the following adb command without the quotes: "adb push C:\framework-res.apk /sdcard") and then use the following adb commands:
Code:
adb shell
su
mount -o remount,rw /system
mv /system/framework/framework-res.apk /system/framework/framework-res.apk.bak
cp /sdcard/framework-res.apk /system/framework
chmod 644 /system/framework/framework-res.apk
rm data/dalvik-cache/*
reboot
This saves a copy of your original framework-res.apk as "framework-res.apk.bak", in the event that it goes wrong it's just a simple adb command away to revert back to your old version.
I added the animations from the OP's mod to the framework that I use, which comes from DocBarebones' theme add-on for the i9505/i9500 S4 variant. Everything has a dark/gray tint, as I always like to black out my phone as much as possible.
Here is the file, just push it using the same method(s) above. Works great for me!
http://www.mediafire.com/?twg26703t0g6mu5
so over 600 views on the thread. can anybody confirm it at least pushed and worked correctly without bootlooping? i just want to make sure its ok to keep the download link up.
Didact74's Multi-Tool v2.0
Hello everyone, I have been away from the scene for a little while due to an unGodly work schedule. Since work is slowing just a tad, I figured I would ease back in by trying to finalize my MULTI-Tool that I started a while back. I know there have been a few others who have dropped similar programs recently but I couldn't bare to just throw this thing away, so here it is.
A few things this program will do.....
Pull Files
Push Files
Deodex Files
Odex Files
Pull BootClassPath Info
Pull and set Framework files
Pull Partition Info
Pull Partition Images
Reboot Functions
Logcat Functions
And several variations of each of the above.
Right now its in a BETA stage because I am sure some issues will surface due to the fact that I cant test everything this can do myself without geting side tracked. Give it a whirl, post some feedback, and offer up some ideas that I can add to it if you want. Its a simple Batch File, no fancy GUI or anything yet. Maybe down the road....
A few things to keep in mind.....
This tool is meant for intermediate level developers who are comfortable
reading, writing, and making basic changes to thier phone. There is a lot
of stuff in this program and I have not been able to fully test all the
different possible scenarios. I ask that you have a working backup of your
phone before using this program. I highly doubt you will need it, but I
have to CMA!
Additionally, I ask you read each mini-tutorial at the start of each option
screen. It will give you some direction on how to proceed. If you come
across any issues or problems please let me know and I will do my best to
resolve them.
I am not a programmer! I know just enough JAVA, C++, and batch
script to scrape by. I am absolutley certain there are more efficient ways
to write the code in this program. Feel free to do so if you like.
ENJOY!
XDA:DevDB Information
Didact74's Multi-Tool, Tool/Utility for the Verizon Samsung Galaxy S 5
Contributors
Didact74
Version Information
Status: Beta
Created 2014-07-08
Last Updated 2014-07-26
Change Log
Initial Release
v2.0.0
Pull Files
Push Files
Deodex Files
Odex Files
Pull BootClassPath Info
Pull and set Framework files
Pull Partition Info
Pull Partition Images
Reboot Functions
Logcat Functions
v2.0.1
Added APKTool v2.0
Added baksmali v2.0.3
Added smali v2.0.2
Fixed Compiling Batch errors associated with older APKTool
v2.0.2
Fixed some diectory errors
Fixed some Odexing errors
v2.0.3
Home screen is streamlined
Added the option to deodex entire Odexed Rom from the Deodex menu
Added more efficient Deodex code
Didact74 said:
I see a few downloaders....lol. Hopefully a few will get some use out of it. I got a few PMs asking if they can use it for other devices. I know it works for the S5 and the Xoom, other than that I dont know. Its pretty universal I would assume, but let me know what you find out. Dont be worried about posting up your questions here.....it will help others if you do.
Click to expand...
Click to collapse
Where is the download link?
Misterxtc said:
Where is the download link?
Click to expand...
Click to collapse
See screenshot....
Didact74 said:
See screenshot....
Click to expand...
Click to collapse
Thanks, that looks great. I'll definitely give it a try. I was searching for another multi-tool this morning and it looks like I found a gem here.
Didact74 said:
Hello everyone, I have been away from the scene for a little while due to an unGodly work schedule.
Click to expand...
Click to collapse
welcome back didact!! it has been forever since i have seen you in these parts! did u get yourself an s5?
BeansTown106 said:
welcome back didact!! it has been forever since i have seen you in these parts! did u get yourself an s5?
Click to expand...
Click to collapse
Thanks Beans! Yes, work was nice enough to give me a choice of Android or Apple.....so here i am .
I am hoping to get into some modding in the coming weeks.
Recompiling doesn't work for me. I copied the decompiled framework-res.apk and the deodexed file to the load/framework folder and I get a file not found error. I also tried systemui and it said it compiled but there was no compiled file to be found.
Misterxtc said:
Recompiling doesn't work for me. I copied the decompiled framework-res.apk and the deodexed file to the load/framework folder and I get a file not found error. I also tried systemui and it said it compiled but there was no compiled file to be found.
Click to expand...
Click to collapse
Okay.....i will check in the morning and try to replicate the error. Thank you.
Didact74 said:
Okay.....i will check in the morning and try to replicate the error. Thank you.
Click to expand...
Click to collapse
Ok, I'm running Windows 8.1 if that matters.
I cant test Win8, I am running Win 7 x64 so I will need other feedback for that one.
I fixed an issue with the Batch picking out an .apk in the Framework folder so that should resolve part that issue. Originally I set all framwork folders up to recognize .jar files only, not remembering there are two .apks (framework-res.apk and twframework-res.apk) that reside in the framework folder as well. I have fixed that issue. The other part of that problem is I was not able to recompile framework-res with my version of apktool. All the other files I tried decompile and recompile with no issues. Not sure if there is a known issue recompiling some files in KitKat or not. If there are I will need to find out what they are and build them in to the program.
I was able to decompile and recompile SystemUI with no issues so I am having an issue duplicating that error. When recompiling and decompiling there are several options to choose from. Single files, entire directory, certain folders, etc. When you are performing these functions, which option are you selecting in the menu?
Have you tried any other features?
Didact74 said:
The other part of that problem is I was not able to recompile framework-res with my version of apktool. All the other files I tried decompile and recompile with no issues. Not sure if there is a known issue recompiling some files in KitKat or not. If there are I will need to find out what they are and build them in to the program.
Click to expand...
Click to collapse
What version of apktool did you use? I know that I was not able to use 1.5.2 on my kitkat (S3) framework-res and had to switch to a 2.0+ version to get it to work
CNexus said:
What version of apktool did you use? I know that I was not able to use 1.5.2 on my kitkat (S3) framework-res and had to switch to a 2.0+ version to get it to work
Click to expand...
Click to collapse
I am indeed using 1.5.2. This should be a simple fix then. I will locate 2.0 and add it to the setup.
Thank you sir!
Okay v2.0.1 is up with updated APKTool.
Compiling should be error free now....hopefully
Awesome work
v2.0.2 is up.
I had to post a download link in the changelog thread because the DEV Database is having an issue with uploads right now for some reason. See post #2 for the download link. I will change it back when the site is fixed.
v2.0.3 is now ready.
The downloads tab is now working again so I will be removing the hyperlink from page 2. Just download from the tab at the top of the first post again.
Updating changelog now.....
The legend is back! Nice to see you around again buddy
sbreen94 said:
The legend is back! Nice to see you around again buddy
Click to expand...
Click to collapse
LOL, the legend of never having time to do anything maybe.
Thanks though!
Didact74 said:
LOL, the legend of never having time to do anything maybe.
Thanks though!
Click to expand...
Click to collapse
Haha I feel your pain on that one. I would like an extension on the number of hours in the day