Make EXTROM alot quicker! - neoTouch S200 ROM Development

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

Related

Detailed-How to change Start text

UPDATE 12-21-08
There is some talk that you need to also install the Sdcerts cab before this process will work. Freezing the phone sucks so i would do this first. I will add it to page one.
After bricking my phone three times-I finally got it right. I have a HTC Touch Pro-nobody really explained it to me like I was a two year old-so I decided to break it down. You have to be careful or you will freeze up the phone and then be forced to hard reset. That sucks. So this worked for me. You should extract your own shellres.dll.0409.mui using rom extractor. This is not difficult if you follow these directions. All of the programs are free and I am making a zip to include them all. I included my own shellres.dll.0409.mui. The 0409 refers to the language. It is the code for English.
1. I installed the cab -icon demarrer. It makes a couple registry changes that help the process.
2. Then I used a the rom extractor to get my shellres.dll.0409.mui and copied it to the storage card you have to enter path:\windows\shellres.dll.0409.mui and save to \storage card\shellres.dll.0409.mui To install the Rom extractor You just put the Rom extractor into active sync
3. Then drag the file to the desktop of your computer use unsigner-just drag the file over the unsigner and it is unsigned
4. Then drag the same extracted file over reshacker and navigate the file to change string 321 in the shellres.dll.0409.mui to whatever you want it to say
5. Then open msigner and navigate to your saved file shellres.dll.0409.mui to resign the file
6. Then go to settings/today/items and uncheck to turn off touch flo and then copy the new file from your desktop to the storage card.
7. Install Total Commander on your device-you do this by opening it on your home computer. Then open total commander on your device and navigate to the new file shellres.dll.0409.mui-in the storage card. Then press the stylus on the shellres.dll.0409.mui file and save to clipboard
8. Then use Total Commander to search windows directory for the shellres.dll.0409.mui that is still in the phone. (If possible-rename the file shellres.dll.0409.mui.bak or if not possible press the stylus on top of the shellres.dll.0409.mui that is in the phone and selected for the drop down menue that appears-Paste Here.
9. Then soft reset. Here it is. I included everything you need in the Zip file! Here is where I started-but it is vague-great start icons in the thread though. http://forum.xda-developers.com/showthread.php?t=426264
The HTC start icon is on the zip entitled shellres.192.dll
Just say thank you if any of this helps you
language codes
Your can use the file I included in the zip if you do not want to extract. just change the numbers
shellres.dll.XXXX.mui in place of the XXXX It is 0409 for english-if you want another you can use one of these codes. If you don't have an htc touch pro the file may be named shellres.dll.96.XXXX.mui
0404 CHT Chinese Traditional
0804 CHS Chinese Simplified
0405 CSY Czech
0406 DAN Danish
0413 NLD Dutch
0409 USA English
0407 GER German
0408 ELL Greek
040b FIN Finnish
040c FRA French
040e HUN Hungarian
0410 ITA Italian
0411 JPN Japanese
0412 KOR Korean
0414 NOR Norwegian
0415 PLK Polish
0416 PTB Portuguese Brazil
0816 PTG Portuguese Portugal
0418 ROM Romanian
0419 RUS Russian
041b SKY Slovak
0c0a ESN Spanish
041d SVE Swedish
041f TRK Turkish
You can also change the Start Icon which is really cool. In my touch pro it is in file shellres.192.dll under icon group 4609-
1. Download shellres.192.dll to your storage card. Use total commander to search the windows folder for shellres.192.dll
2. Press the stylus on the file and select copy to clipboard
navigate with total commander to the storage card and press the stylus there and select "paste here"
3. Use unsigner to unsign the file
4. use reshacker to open the file and navigate to "Icon Group" 4609. You will see your icon in the program.
5. Select menu "Action" and replace. Navigate to the icon you want. Select it. Save the file.
6. Sign the file with the Msigner
7. Place the file in the Storage card
8. Use Total Commander to locate shellres.192.dll and rename it shellres.192.dll.bak
9. Use total commander to find your new file in the storage card, and move it to the windows folder of your device.
10. Restart with a soft reset adn enjoy your new icon.
Useful thread where I learned a lot http://forum.xda-developers.com/showthread.php?t=426264 You can get ready made .ico files here
Can you explain one point ... ?
I tried to extract the file shellres.dll.040C.mui (french WM6.0) directly into \windows, and before modifying the file with my computer, I just re-boot the device with that change (so, just a ROM file extraction but without any modification in the file) ... and then, the device is frozen on the Windows welcome page.
Can you explain that ?
louis09 said:
I tried to extract the file shellres.dll.040C.mui (french WM6.0) directly into \windows, and before modifying the file with my computer, I just re-boot the device with that change (so, just a ROM file extraction but without any modification in the file) ... and then, the device is frozen on the Windows welcome page.
Can you explain that ?
Click to expand...
Click to collapse
Did you follow steps exactly? You have to be careful. You can see from my screen shots that it works. I change my text every day as i feel. Did you install the icon demarrer cab?
you should also be able to navigate to the file shellres.dll.040C.mui (with Total Commander) and press the stylus on it and select copy to clip board. Then navigate to the storage card and press the stylus on a blank area and select copy here. The handheld needs the dll to work-so it is not removed from the device it is just copied.
Also make sure that your computers folders are set to view hidden files. It took me a while to get this right-and there is no step by step tutorial but the one i made here-from what I found.
Ok, but the result is the file shellres.dll.xxxx.mui in \windows
Whatever the handling, from the ROM to the SD card, to the computer, ..., the clipboard, ..., the file is finally copied in \windows
So, how can we explain that a direct extraction to \windows cannot work ?
Which operation in your process can avoid the problem ?
I don't want to modify the icon, just the text...
.. and I'm sure that works on your device, I have no doubt about that. I just would like to understand.
I also use Total Commander and it displays the hidden files.
What is the icon demarrer (french word ?) cab ? And what is the unsigner/signer method ?
louis09 said:
.. and I'm sure that works on your device, I have no doubt about that. I just would like to understand.
I also use Total Commander and it displays the hidden files.
What is the icon demarrer (french word ?) cab ? And what is the unsigner/signer method ?
Click to expand...
Click to collapse
The icon demmarer is a cab made by a developer. i included it, and all the necessary programs in the zip file. The cab just changes a few resgistry settings to allow this. (i believe) The file once copied to your computer can be manipulated and string value 321 changed-then compile script, save and sign. all included in the zip.
I want to know that you are able to do it, as I am.
louis09 said:
.. and I'm sure that works on your device, I have no doubt about that. I just would like to understand.
I also use Total Commander and it displays the hidden files.
What is the icon demarrer (french word ?) cab ? And what is the unsigner/signer method ?
Click to expand...
Click to collapse
I am having the same problem as Lewis and my device locked up twice at the windows login screen. You cannot modify the file with commander no matter what you do with your steps. There has to be something you left out. I am very good at what I do and am very far from being an ameteur
Chosen4Goodness said:
I am having the same problem as Lewis and my device locked up twice at the windows login screen. You cannot modify the file with commander no matter what you do with your steps. There has to be something you left out. I am very good at what I do and am very far from being an ameteur
Click to expand...
Click to collapse
Total Commander is only used to move the file-not modify it. Follow the steps exactly. Rename the old mui to mui.back.
and install the icon demarrer cab fisrt. Turn off touch flo before. I have a Sprint HTC Touch pro with a stock rom.
The cab demarrer may be strongly needed, or/and the unsigner/signer software ?
It should be useful to know what the cab and signer/unsigner do.
Which key in the registry is concerned ?
Is ResHacker needed ? Is ROM extractor not enough ?
And mainly, why does only an extraction to \windows freeze the device after a reboot ?
I'm trying to contact the ROM extractor developer VK (a.k.a. THEVK, GreateVK)...
louis09 said:
It should be useful to know what the cab and signer/unsigner do.
Which key in the registry is concerned ?
Is ResHacker needed ? Is ROM extractor not enough ?
And mainly, why does only an extraction to \windows freeze the device after a reboot ?
I'm trying to contact the ROM extractor developer VK (a.k.a. THEVK, GreateVK)...
Click to expand...
Click to collapse
You have to read this thread. http://forum.xda-developers.com/showthread.php?t=426264 Someone else made the icon dem cab. All I know is I read every page of every thread about this tweak-none was a road map-I just knew it could be done so I kept trying til I got it. I had to mod my start text from trying and reading. I finally got it with this method. the extraction alone will not freeze the phone-since the file is not removed from the windows registry. It is in fact not possible to remove shellres.dll.xxxx.mui since it is the entire shell of the phone.
Read every thread about start text
Ok, but the extraction will freeze the device if we do only this
So, this is the reason why the icon cab and/or one of the other operations avoid that.
Probably like Chosen4Goodness, I confirm that, if I extract the file and re-boot without any other change, the device is frozen...
freeze
Anxious to hear that someone other than me was able to follow these directions step by step and not freeze their device.
Don't worry, I'm probably not soo good !
or my device, or the WM version is too sensitive !
And it seems that many people succeeded ! There are a lot of evidences on this site.
louis09 said:
or my device, or the WM version is too sensitive !
And it seems that many people succeeded ! There are a lot of evidences on this site.
Click to expand...
Click to collapse
Be brave. Give it a go Louis!
louis09 said:
or my device, or the WM version is too sensitive !
And it seems that many people succeeded ! There are a lot of evidences on this site.
Click to expand...
Click to collapse
louis09 said:
I read in one thread how to change the word "Start". I tried to do it and I got a frozen device after reboot. So, a hard reset was needed. Another guy in this site got the same problem this week.
In fact, if I only extract shellres.dll.040C.mui (WM6.0 french version) to \windows\shellres.dll.040C.mui without any other change, I get the same problem.
So, maybe you can explain in more details how to do. Where to save the extracted file and to install at the end ? Is another operation needed ?
louis09
Click to expand...
Click to collapse
I couldn't send you a pm because you have your profile set to not accept incoming pm. Anyways, these are the steps that I follow to do this:
1. Extract shellres.dll.XXXX.mui via ROM Extractor;
2. Open it with ResHacker;
3. Look for String Table -> 321 -> Line 5120 and change this to whatever you want;
4. Hit "Compile"
5. Save the file. At this point, you will have two shellres files - one of them will have "original" in the file name. Just save that one in case you want to keep it.
6. Transfer to device via ActiveSync (USB, I haven't tried any other connection such as BT, Wifi, etc) into \Windows
7. Soft Reset your device.
How are you doing the transfer back to the device? It might be that the file is not transferring completely to the device, or getting corrupted in the process. TotalCommander, and Resco have not worked for me for this purpose. Give it a shot and see if it works.
Good luck and let me know how it turns out.
Ok, I have modified my profile.
I need a precise information about the location "Save to" in ROM extractor.
Because doing only that, to \windows\shellres.dll.040C.mui (the same file location than the ROM), is enough to freeze the device after a reboot !
So, why ?
I tried only that "simple" operation because I tried the 1st time the complete one (modify the file and transfer to the device) and I got the same problem. I believed that was due to the change in the file but the extraction is enough.
Maybe we have not to extract in \windows ?
louis09 said:
Ok, I have modified my profile.
I need a precise information about the location "Save to" in ROM extractor.
Because doing only that, to \windows\shellres.dll.040C.mui (the same file location than the ROM), is enough to freeze the device after a reboot !
So, why ?
I tried only that "simple" operation because I tried the 1st time the complete one (modify the file and transfer to the device) and I got the same problem. I believed that was due to the change in the file but the extraction is enough.
Maybe we have not to extract in \windows ?
Click to expand...
Click to collapse
My quesstion is why the reboot after extraction to save to \storage card\shellres.dll.0409.mui?
Also I think the last post above yours neglected to unsign and resign the file. I have fund that improper signing causes a freeze.
I know it is damn tricky since I froze mine three times, prior to doing it this way. Let me know how it goes.
I have no storage card. I reboot because I often close the device.
Could you explain the sign/unsign method ? That seems important as you say !
Which tool we have to use ?
louis09 said:
I have no storage card. I reboot because I often close the device.
Could you explain the sign/unsign method ? That seems important as you say !
Which tool we have to use ?
Click to expand...
Click to collapse
The programs are in the zip. But I think you need a storage card. That way the Mui file is extracted to something other than the phone itself. Get a storage card and then try it. They are not expensive.
Once extracted to storage drag the file on top of the unsign icon-it will flash and that is it. It is unsigned. Then open reshack and change out the word "Start"
compile script
save
Now drag the file over the msigner.
You will have to tell the program where to find the file through the interface of the msigner program.
It will sign the file and then you will have two shellres files. One will be shellres.dll.xxxx_original.mui or something like that. That is the old file.
place the new signed file in your storage card.
then follow the rest of the directions

(Tool) Compare files.

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

[Q] Did something happen to 7-zip?

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.

Android System ignores hosts file

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

Question one+-latest do it all tool

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!

Categories

Resources