Didact74's Multi-Tool v2.0.3 - Verizon Galaxy S 5 Android Development

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

Related

[TOOL] Automated Smali and BakSmali

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

[TOOL][PORT] Autodeodexer 2.3a for the Epic 4G Froyo - Windows

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

[REQ]Longpress back button to kill app

Hello!
I am not new to these forums.. I am a frequent reader, but I am not much of a poster.
I have a request that I think will benefit alot of galaxy tab 10.1 users running the stock roms.
Would anyone be able to /interested in modding the android.policy.jar file PhoneWindowManager.smali file to enable longpress back to kill foreground app? like the function we get in CM and AOKP roms? There is no need to have a setting for it in system settings. Just an android.policy.jar we could flash if we want the function enabled..
I have found this thread http://forum.xda-developers.com/showthread.php?t=1969499 discussing and explaining how to do this.
I have tried to do this myself, but either it just won't work or I end up in a bootloop. I am new to editing .smali files and understanding their buildup.. So I am asking here to see if anyone is willing to take a look and help me out.
My guess is that I am not the only one who wants this in the stock rom, and I hope that someone is willing to do this to the benefit of not only me but everyone else running the stock ICS and JB roms missing this function.
I am running the "something" JB stock rom by smaw51 with the extended power menu. I will add a link to my android.policy.jar if anyone wants to take a look at it.. If not edit it, maybe explain what strings to change in the .smali file in order to get it working. I know we will probably need a custom .smali with the kill function aswell if the one in this thread won't work...
Download android.policy.jar
Kind regards
Michael
up for this =)
lampz said:
up for this =)
Click to expand...
Click to collapse
I have been in contact through PM's with tdunham... the author of this thread: http://forum.xda-developers.com/showthread.php?t=1971712 and he has agreed to take a look at our android.policy.jar
I will get back with whatever he comes up with
MichaelGroth said:
I have been in contact through PM's with tdunham... the author of this thread: http://forum.xda-developers.com/showthread.php?t=1971712 and he has agreed to take a look at our android.policy.jar
I will get back with whatever he comes up with
Click to expand...
Click to collapse
I finally got this working after numerous edits and tests, and with lots of help from Mirko ddd, tdunham and lyapota.
Does anyone want me to post a tutorial on how to do this?
Will require some modification to the android.policy.jar file.
Might require decompiling and getting a string from framework-res.apk values/public.xml
(Optional) in order to get a toast message saying "Application Killed." we will need to edit some strings in framework-res.apk values/strings.xml and recompiling framework-res.apk using APKTool or Virtuous Ten Studio. If we don't change this we still do get a toast, but it will then say "force app to close", wich (in my opinion) didn't look very stock.
Also, I have only tested this on JB, but it might be very similar for ICS.
Would really appreciate this function!
MichaelGroth said:
I finally got this working after numerous edits and tests, and with lots of help from Mirko ddd, tdunham and lyapota.
Does anyone want me to post a tutorial on how to do this?
Will require some modification to the android.policy.jar file.
Might require decompiling and getting a string from framework-res.apk values/public.xml
(Optional) in order to get a toast message saying "Application Killed." we will need to edit some strings in framework-res.apk values/strings.xml and recompiling framework-res.apk using APKTool or Virtuous Ten Studio. If we don't change this we still do get a toast, but it will then say "force app to close", wich (in my opinion) didn't look very stock.
Also, I have only tested this on JB, but it might be very similar for ICS.
Click to expand...
Click to collapse
Can u post your modded android.policy.jar file
txtmikhail said:
Can u post your modded android.policy.jar file
Click to expand...
Click to collapse
It might not work for your device.. Mine is for 4.1.1 [JB] 8010..
Tutorial is live..
Go here: http://forum.xda-developers.com/showthread.php?p=36102714

Do not enter.

Mod is down: The new thread: HERE
Moderators, feel free to delete this post.
Good Start Man, Hope someone will advise very soon.
Thanks for your effort.:good:
Only de- and recompiling will not really lead to anything.
You have to solve each error here step by step. And as you can see there are many entries missing when recompiling against a framework from a different device and/or Android version.
This means that resolving the missing entries (like simply deleting them in each file) won't help because even if the recompile succeeds it will never run because of errors in the dependencies of the apk etc..
you should specify where you've changed
Tried almost everything but i cant get it working. Also tried VRTheme ZIP but it doesnt work too, it doesn't recognize the 9.png files and show the UI stretched... This is not my work, its for Not-i, Majdinj, Zai89 and other amazing themers for this amazing device (sorry if i forgot other users). I've seen it in S2 forums (Themes and Themed roms too) with the TW2013 UI for 4.1.2 so i dont think it will be very hard to an experienced themer. Thanks for the support. Good Luck to everyone!
You are compiling a a 4.2.2-based apk file with 4.1.2 installed framework, if you see in another thread they must have same version or it is themed apk file.
Can just use X-plore open apk as zip file n copy all the themes but not xml to another apk open as zip file.
not much changes wif just a framework.res.apk n options is alittle too small to fit it..
so no point to make a mod just framework.res.apk
@galaxynote2
The pictures in the attachment aren't useful!
If you want to change the png's, then take them from the original apk out!
Don't decompile it!
So, never use 9.png's from decompiled apk!
Try it again with the 9.png's from the original apk. Just copy them from the apk to your new one. Don't decompile it.
If you try to add some 9.png (from decompiled source), then they looks ugly with the vrtheme system...
(and can't build it with apktool too...)
@tkari4 thank you for the answer! I will try again now..
galaxynote2 said:
@tkari4 thank you for the answer! I will try again now..
Click to expand...
Click to collapse
@galaxynote2
Not working, sorry never made something like that.
The solution for your problem:
Install the 4.2 framework-res.apk (command in the CMD window: apktool if c:/framework-res.apk)
Now decompile your 4.2 framework-res.apk
From the decompiled folders you can add the 9.png's to your 4.1 farmework-res.apk
Install the 4.1 framework-res.apk again
Build your apk and so must work...
tkari4 said:
@galaxynote2
Not working, sorry never made something like that.
The solution for your problem:
Install the 4.2 framework-res.apk (command in the CMD window: apktool if c:/framework-res.apk)
Now decompile your 4.2 framework-res.apk
From the decompiled folders you can add the 9.png's to your 4.1 farmework-res.apk
Install the 4.1 framework-res.apk again
Build your apk and so must work...
Click to expand...
Click to collapse
@tkari4 some progress (attached files). That is my result putting the non-decompiled images in a vr-theme:
Popups are still bugged, 9.png resizing doesnt worked.
Action bars themes (Holo Light and Holo Dark) are now working!
Almost all buttons, checks and ticks are now converted and working.
What to do:
Fix the bugged popups
Convert Text fields (wich are 9.png too so its the same as the popups problems...)
__________________________________________________________________________________________
Can you provide me an S4 framework? Im using the Touchwiz 2013 theme for 4.2.2 Galaxy S3 flasheable zip for converting. I cant find the S4 framework-res to download.
galaxynote2 said:
@tkari4
Can you provide me an S4 framework? Im using the Touchwiz 2013 theme for 4.2.2 Galaxy S3 flasheable zip for converting. I cant find the S4 framework-res to download.
Click to expand...
Click to collapse
Yeah, must have the original apk and decompile it with the 4.2 framework.
You can find it here: http://forum.xda-developers.com/showthread.php?t=2272392
tkari4 said:
Yeah, must have the original apk and decompile it with the 4.2 framework.
You can find it here: http://forum.xda-developers.com/showthread.php?t=2272392
Click to expand...
Click to collapse
@tkari4 Ok, downloaded... (Slow connection).
So, first i need to install the recently downloaded framework in apktool and then decompile my 4.1.2 Note Framework?
Nevermind! Recompiled without problems! I've modified some pngs to se if it works and worked, so now im porting the fully theme. Thank you!
galaxynote2 said:
After all S4 mods for our Note, this is the last touch to have the new Touchwiz Interface in this amazing device.
Click to expand...
Click to collapse
You are gonna be rocked,,
Waiting for download link, As I understand without TW interface out grear Note is useless.
Thanks for your effort and share.:good:
mjrifath said:
You are gonna be rocked,,
Waiting for download link, As I stand without TW interface out grear Note is useless.
Thanks for your effort and share.:good:
Click to expand...
Click to collapse
Could you don't quote the whole thread next time please? Just click the reply button thats all
Juhan Jufri said:
Could you don't quote the whole thread next time please? Just click the reply button thats all
Click to expand...
Click to collapse
Thanks for the info mate. Post edited:laugh:
When you realese this mod?
____________
YES WE SCAN!!!
This thread has to be closed since no updates from OP or there is no any valid MOD
mjrifath said:
This thread has to be closed since no updates from OP or there is no any valid MOD
Click to expand...
Click to collapse
for people who can't wait , you can try flashing this one
http://forum.xda-developers.com/showthread.php?t=2297906
el5arsawi said:
for people who can't wait , you can try flashing this one
http://forum.xda-developers.com/showthread.php?t=2297906
Click to expand...
Click to collapse
Thats for 4.2.2
Please op just provide the s4 style launcher
Sent from my GT-I9100 using xda app-developers app

[MOD]SuperuserMod for LP

Hi guys,
I spent many hours in searching for this mod with no success (not a fan of Xposed) so I decided, after I made work on Lollipop, to share it with you!
Please note:
this mod doesn't support opengl fix nor script to remove dex file but it is intended to use it with odexed rom anyway. I have no plans to continue developing it so use with caution. If you mess something you can flash the original services whis is found in post #7.
Instructions:
1. just in case, create a backup of your current services.jar (located in system>framework )
2. flash using recovery
3. done!
Apart from the lack of opengl fix I haven't found any other bugs yet, it seems to be working just fine. If you discover a bug or error that has something to do with this mod, I'd be glad to help you out
Odex or Deodex?
Denie46 said:
Hi guys,
I spent many hours in searching for this mod with no success (not a fan of Xposed) so I decided, after I made work on Lollipop, to share it with you!
Instructions:
1. just in case, create a backup of your current services.jar (located in system>framework )
2. flash using recovery
3. done!
I haven't found bugs yet, it seems to be working just fine. If you discover a bug or error that has something to do with this mod, I'd be glad to help you out
Click to expand...
Click to collapse
I dont know how you look for, because there is allready a couple of post with the superusermod for z1.
http://forum.xda-developers.com/showthread.php?t=3122592
http://forum.xda-developers.com/showthread.php?t=3117479
Anyway you should add a líne in your script to delete the services.odex in order to make it work properly.
Hope you did this services.jar following the tutorial to avoid breaking the OpenGL.
http://forum.xda-developers.com/showthread.php?t=3120144
Cheers
juanpirulo said:
I dont know how you look for, because there is allready a couple of post with the superusermod for z1.
http://forum.xda-developers.com/showthread.php?t=3122592
http://forum.xda-developers.com/showthread.php?t=3117479
Anyway you should add a líne in your script to delete the services.odex in order to make it work properly.
Hope you did this services.jar following the tutorial to avoid breaking the OpenGL.
http://forum.xda-developers.com/showthread.php?t=3120144
Cheers
Click to expand...
Click to collapse
Thanks for your guide! I really didn't know about the OpenGL bug so i'll take that into account. Honestly I spent quite a time into searching and wouldn't post this mod if I had found one already.
@geabeack, it is for deodexed, that's why it doesn't have an odex-removing script. I also have no plans to further develop this mod, just wanted to post so there's one, but it seems there are a few already.
Hi can one of u send me the stock odex services.jar that are not modded?Tnx guys.
Denie46 said:
Thanks for your guide! I really didn't know about the OpenGL bug so i'll take that into account. Honestly I spent quite a time into searching and wouldn't post this mod if I had found one already.
@geabeack, it is for deodexed, that's why it doesn't have an odex-removing script. I also have no plans to further develop this mod, just wanted to post so there's one, but it seems there are a few already.
Click to expand...
Click to collapse
You should edit your first post and remove the link to avoid people install that services.jar then. Cheers
juanpirulo said:
You should edit your first post and remove the link to avoid people install that services.jar then. Cheers
Click to expand...
Click to collapse
I know, thanks!
anakdayak said:
Hi can one of u send me the stock odex services.jar that are not modded?Tnx guys.
Click to expand...
Click to collapse
Here you go, you just need to flash it.
If he want to get back to stock he needs also the services.odex inside the framework/arm folder.

Categories

Resources