i found this on a gsm forum thought id share it here
32.33 MB file on MEGA
mega.nz
I have this... its not worked for me so far
This is a windows .bat file that is "protected" and is written to work with Android 11 and half the functions are not the same with the Android 12 ColorOS base version. If the author would have shared it with the .bat file in plain text, someone might have updated it and left his credit and not just stole his work and renamed it.
Not everyone embraces open source ideals.
Yes this work with os11 not for os12
All you have to do is run the exe, then browse to where it extracts the contents to. IE:
c:\Users\<username>\appdata\local\temp
....
the.real.p3y0t3 said:
All you have to do is run the exe, then browse to where it extracts the contents to. IE:
c:\Users\<username>\appdata\local\temp
....
Click to expand...
Click to collapse
You have not dealt with well written .bat file obfuscation. I have the .bat file, but it has been run through a tool that converts the editable ASCII into expressions and different encoded base (x) that are more work to resolve than to re-write the batch file.
Challenge: Make this working executable .bat file plain ascii again.
Your story, tell it like you believe it ;-)
Honestly though, why not look for your self? Ive already done it with this "tool". Not obfuscated at all. If yer having problems finding the files, run the EXE, choose one menu option, go to yer temp DIR and sort the contents by date modified, and with the FILES listed first, scroll down to where it starts listing directories. It will be the first one listed. Have fun!
\\'eird dunno why it didnt attach the file to the previous post. I should have made clear that the file you seek was located in the tmp directory thats created under the parent directory... You seemed to know what you were talking about, so I assumed little to no hand-holding would be needed...
Its worth mentioning that all of these bat2exe tools use the same (or nearly the same..) method for urm ehhh "obfuscation"; IE: upon running the app, it inflates the files to your appdata\local\temp directory. Sometimes the "app" will be password protected, and wont unpack the exe until the correct password is entered. For myself its force of habit to go check my temp dir after running any of these style tool things... And you should too!
Related
Hey guys i just wanted to leave the Chefs here a bit of a tip/tool of mine! It saves time as you dont have to mess around with command prompts anymore!
What you need to do is:
-Download extrombuild.txt (attached to this post) ro your f1 extromtool folder
-Open extrombuild.txt with notepad or whatever you prefer
-Change file path to whatever the path to your f1 extromtool.exe is
-Make sure that you don't delete the '/b extrom' including a space before it
-Once you have changed the path to mirror your filesystem then save the .txt
-Rename the file from extrombuild.txt to extrombuild.bat
-Once you have your EXTROM folder the way you want it go up one directory and run extrombuild.bat
-THATS IT! It creates your out.bin (just rename it to extrom.bin)
I hope this helps you guys! I know that it saved a bunch of time because i hate having to mess around with command prompts!
If a mod thinks this is good enough maybe it should go as a sticky
Thank you. I also use the f2extromtool with CMD but didnĀ“t think of using a Batch file. Nice of you to remind of that.
eee...
actualy the native batch file for nt based systems (nt, win2k, xp, vista, 7) should be .cmd and not .bat as the last one is a pre-nt batch file which will be executed in an wrapped (or something - I don't recall exactly) interpreter..
better rename it to *.cmd
thanks for the input but ive used this file for the last 4 months on vista, windows 7, and server 2008...it was always a .bat file and had always worked perfectly....just try it out
panoz said:
eee...
actualy the native batch file for nt based systems (nt, win2k, xp, vista, 7) should be .cmd and not .bat as the last one is a pre-nt batch file which will be executed in an wrapped (or something - I don't recall exactly) interpreter..
better rename it to *.cmd
Click to expand...
Click to collapse
Ok, so here's what I'm trying to accomplish.
I can't stand having the awful standard alarms/notification sounds that are provided on most WM roms, so I went and redid one. The attached file is a Windows notification sound that I've renamed and converted to work on my topaz in place of "alarm2", hence the filename.
In short, I don't want to have to use total commander winCE every time i flash and want to change that file out (I can't overwrite it using windows explorer or file explorer cuz I can't overwrite system files). So i had an idea.
I figured I'd make a .NBH file to flash to the device after I flash my rom on there that ONLY replaces that sound file with the new one (Eventually I'd like to incorporate my custom splash screens into it but that's only a thought at this point). This is where my question/problem comes in...
I've looked around on the forums for some type of "rom builder" or .nbh creator or utility, and I've found alot of things that will convert .nb into .nbh and other features, but nothing that seems to do what I'm wanting.
I'm NOT a developer really; im more of a concept person, and if I can accomplish this without having to learn a language all the better, but I'm not sure where to start with this.
Sorry about the long post, and thanks in advance for any help you can offer!
Hi,
what about using sashimi or UC? this would save you a flash...
you can automate the process. that's what i do when i flash and i want to get back the ringtones.
good luck
Use total commander. it will let you overwrite system files and files that are in use.
Solarenemy68 said:
Use total commander. it will let you overwrite system files and files that are in use.
Click to expand...
Click to collapse
Yea, that's what I've been doing so far... It's still kind of a pain waiting for the Windows folder to load and then replacing it (It can take awhile)... I should've mentioned in the first post that it was an alternative to this that I was looking for, and either a .nbh file or possible a cab file, though I can't see how a cab file could accomplish this since it's replacing a system file while it's in use...
First off I have nothing to do with the creation of this tool I'm merely sharing what I've found.
Anyone who has dug into smali files knows that they can be somewhat overwhelming and trying to track down a problem can be a time consuming nightmare. One thing I do to hunt down a problem is compare what I know to be working against what is broken so I was sitting here today thinking that I would write a script or create a tool to batch compare files then I said to myself "EB, you're not the first one that's wanted to do this so there must already be something." I fired up Google and sure enough there are a few. The one that I found that is free and handled my task can be found here http://www.grigsoft.com/download-windiff.htm
Quick tutorial;
1. Download the file.
2. Create a new folder (anywhere you want)
3. Extract the contents to your new folder
4. Place the items you want to compare in that folder (they can be anywhere really but it's simpler to have them in the same directory.)(For my purposes I de-compiled the classes.dex of two framework.jar files and moved the entire output files to this directory in two separate folders.)
5. Run the program
6. Select File
7. Select either Compare Directory (what I did for my purpose) or Compare files. A dialogue box will pop up where you select the 2 sources that you want to compare.
Now this tool will only output what files are changed. There are other tools out there that can do more but I like the ones that are free. At least with this I can scan hundreds of files at once and see where I need to begin
if you want to search for code in multiple files and what not else,
http://notepad-plus-plus.org/
has a great program for that
You can search inside the files of a whole folder if you want to....pretty cool
As most of us know, 7-zip is an extremely helpful tool for modders. We can just open a ROM archive and drag our mods into it. I didn't have an Android device for a while (maybe 6 months) and during that time I built a new computer. I installed Windows 7 64-bit like I have in the past, installed all of my programs, and installed the 64-bit version of 7-zip. But, for whatever reason, even if I enable "integrate 7-Zip to shell context menu" it never shows up in the context menu. Furthermore, I can only "open with" 7-zip File Manager and when I try to drag something into an archive, I get an error:
Uploaded with ImageShack.us
I can't figure out why 7-Zip isn't functioning the way it used to. Did the software change or something?
UPDATE: I used a program to edit things like context menus, desktop shortcut icons, start menu hacks, etc. and it screwed things up. If I find the name of the program I'll put it here unless this thread gets deleted.
jmattp said:
As most of us know, 7-zip is an extremely helpful tool for modders. We can just open a ROM archive and drag our mods into it. I didn't have an Android device for a while (maybe 6 months) and during that time I built a new computer. I installed Windows 7 64-bit like I have in the past, installed all of my programs, and installed the 64-bit version of 7-zip. But, for whatever reason, even if I enable "integrate 7-Zip to shell context menu" it never shows up in the context menu. Furthermore, I can only "open with" 7-zip File Manager and when I try to drag something into an archive, I get an error:
Uploaded with ImageShack.us
I can't figure out why 7-Zip isn't functioning the way it used to. Did the software change or something?
Click to expand...
Click to collapse
Run 7zip file manager as admin then enable the context menu.
The error you are getting is because the creator of the file chose to create two files with the same name but different case. As you might know Windows treat them the same. 7zip is apparently doing the same. Try another zip file?
Sent from my U8860 using xda app-developers app
trekker99 said:
Run 7zip file manager as admin then enable the context menu.
Click to expand...
Click to collapse
Thanks, but I tried this already. I even stated in my post that I tried this.
The error you are getting is because the creator of the file chose to create two files with the same name but different case. As you might know Windows treat them the same. 7zip is apparently doing the same. Try another zip file?
Click to expand...
Click to collapse
I tried three different zip files. Unfortunately, it still happens.
Hey guys,
I have a problem with editing the hosts file on Android.
At first, some general information: My Phone is a rooted Samsung Galaxy S6 with Android 7.0 and for editing I use the 'Total Commander for Android' tool by C. Ghisler (Version 2.90).
So here's my problem: I put together a huge hosts file for my Windows PC (some own entries, a lot of entries copied from someonewhocares.org/hosts) and wanted to copy the entries from my PC to my phone. So I duplicated the file, used Notepad++ and did " Edit --> EOL Conversion --> Unix (LF) ". I then sent the file via e-mail, so I could easily download it from my phone. Said and done, I downloaded it and put it into /system/etc , but when I try to visit one of the sites in the hosts file, it works although it should'nt work.
When I open the hosts file on my phone via total commander and add an entry manually, it works (site is unavailable after doing so).
But if copied into the file (even in Unix format) the system will just ignore the entry.
I have a list with a little less than 10,000 entries, I can't type them all on my phone. What can I do now, so that the Android system will use the hosts file as it should?
Thank you very much
Sieefi
Sieefi said:
Hey guys,
I have a problem with editing the hosts file on Android.
At first, some general information: My Phone is a rooted Samsung Galaxy S6 with Android 7.0 and for editing I use the 'Total Commander for Android' tool by C. Ghisler (Version 2.90).
So here's my problem: I put together a huge hosts file for my Windows PC (some own entries, a lot of entries copied from someonewhocares.org/hosts) and wanted to copy the entries from my PC to my phone. So I duplicated the file, used Notepad++ and did " Edit --> EOL Conversion --> Unix (LF) ". I then sent the file via e-mail, so I could easily download it from my phone. Said and done, I downloaded it and put it into /system/etc , but when I try to visit one of the sites in the hosts file, it works although it should'nt work.
When I open the hosts file on my phone via total commander and add an entry manually, it works (site is unavailable after doing so).
But if copied into the file (even in Unix format) the system will just ignore the entry.
I have a list with a little less than 10,000 entries, I can't type them all on my phone. What can I do now, so that the Android system will use the hosts file as it should?
Thank you very much
Sieefi
Click to expand...
Click to collapse
Nevermind. Problem solved.
Sieefi said:
Nevermind. Problem solved.
Click to expand...
Click to collapse
Please explain how you solved it, that may help others with the same issue(seek help and provide help ). Thanks!
strongst said:
Please explain how you solved it, that may help others with the same issue(seek help and provide help ). Thanks!
Click to expand...
Click to collapse
Oh, that is, in fact, pretty simple. It was pretty late when I did this yesterday and I was tired but wanted to get this done before going to sleep. So I made some stupid mistake. I don't know what it was, might have been that I reopened the file in windows editor, might be that I copied the wrong file, I really don't know.
Did it again today (this time without making a stupid mistake) and it works like a charm.
So for everyone who wants to do this, here's a step-by-step instruction (works with Total Commander or with ES File Explorer and should also work with every other root file explorer)
1. Edit your hosts file on your Windows (or Apple) PC as you wish
2. Copy the hosts file and put the duplicate into any other folder on your PC (just not the one with the original hosts file )
3. Open the duplicate with Notepad++ and change the format into Unix (Edit --> EOL Conversion --> Unix (LF))
To control whether everything is changed as necessary you can show the format of the line breaks by clicking View --> Show Symbol --> Show End of Line
4. Move the file to your Dropbox or OneDrive or send it to yourself via mail or, or, or...
5. On your Smartphone copy or move (as you wish) the file from your selected file exchange system into /system/etc
6. Done.
Of course this is only possible, if your Smartphone is rooted and your file explorer has root access.
If your using a Linux system and want to copy the hosts file from your PC to your smartphone you can leave out the third step because the file will already be written in Unix format