yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] jens13:
I have created a development environment for making the process of creating custom roms and themes easier.

For Windows/.NET Framework 4.0 and Linux/Mono 2.10.2

The version for Mono might work on OSX/Mono.

As I use my time to develop the application the documentation are a little spars at the moment but I'm working on that.

It is using apktool and smali/baksmali to do the hard work.

Features:

Open files from command line and associate file types(.rssln, .rsproj and .apk)(windows only)

ApkViewer, shows content of apk files (windows only)

Compare content of apk and jar files with older versions.

Text editor

Deodexing

Automatically discovers boot class paths

Decompiling classes

Recompiling classes

Decoding resources

Encoding resources

Optimizing png files (windows only)

Signing apk files

Creating update.zip

Excluding/Including files

Logging

Thanks to:

Brut.all for ApkTool

JesusFreke for smali/baksmali

Everyone contributing on xda, I've learned a lot here over the years.

Change log at project home

Project home at Github

FAQ at Project home

Downloads
[Android Software/Hacking General [Developers Only]] Tritan88:
I look forward to trying this out.
[Android Software/Hacking General [Developers Only]] jens13:
I hope you can find some use for it.

I will write a short guide on how to create a Theme.

I might have the time later tonight otherwise it's going to be tomorrow night.
[Android Software/Hacking General [Developers Only]] Shiftok:
I don't know why, but on my Windows 7 x86 don't working. Java JRE and .Net 4 i was installed from oficial sites, but now crash program((. I was try to start program as administrator, but any result((

Any ideas?
[Android Software/Hacking General [Developers Only]] Gonizahavy:
fantastic software! love the design :)
[Android Software/Hacking General [Developers Only]] jens13:
Hard to say, but if you check in the following path or something similar, you should find a logfile.

C:\Users\%USER%\AppData\Roaming\Custom Rom Creator Studio\Logfiles

If you can post the latest one I will check it out.
[Android Software/Hacking General [Developers Only]] Shiftok:
directory C:\Users\%USER%\AppData\Roaming\Custom Rom Creator Studio is exist, but subdirectory Logfiles not exists. If it help you... Windows show it's information:
[Android Software/Hacking General [Developers Only]] jens13:
It looks like the application isn't even loaded.

I'm on my way out right now, but I will look in to it later tonight.
[Android Software/Hacking General [Developers Only]] Tritan88:
I am running into the same thing with my windows 7 machine. I have the requirements met for the .net and jve files.

It just does not want to start up and there are not any log files.
[Android Software/Hacking General [Developers Only]] JD7:
I extracted the crcstudio to a folder I named Crcstudio, then copied the tools zip to that folder.

I then extracted the tools zip and then ran crcstudio.exe - no problems.

Going to check out the tool now.
[Android Software/Hacking General [Developers Only]] jens13:
I have no idea what might cause this problem.

The application will run about 20 lines of code before it logs "Application started" to the log file...

I have made a new crcstudio.exe for you to try, with additional exception handling, it will report any errors in the startup of the application in messageboxes.

Thanks for your support.

// I have removed the attached file, because the latest version fixed this problem //
[Android Software/Hacking General [Developers Only]] Gonizahavy:
It worked for my untill I did a restart, then it was crashing before the logg entry "Application Started"

Now I'm using your new exe file, which gives me this exception and then starts up the program and it works now :)

---------------------------
---------------------------
System.IO.DirectoryNotFoundException: Could not find a part of the path.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__Error.WinIOError()
at System.IO.File.Move(String sourceFileName, String destFileName)
at CrcStudio.Messages.FileMessageConsumer.RenameOldLogFiles(String file)
at CrcStudio.Messages.FileMessageConsumer.CreateLogFile()
at CrcStudio.Program.Main()
---------------------------
OK
---------------------------
[Android Software/Hacking General [Developers Only]] jens13:
Ok, thanks.

It's the creation of the logfile that fails.

I will fix this, and release a new version asap.
[Android Software/Hacking General [Developers Only]] sdq928:
This is my Error Message:
[Android Software/Hacking General [Developers Only]] Shiftok:
i was used your new exe file. it shows me 2 messages:

1)

2)
[Android Software/Hacking General [Developers Only]] jens13:
Thanks Gonizahavy, sdq928 and Shiftok for you patience.

The problems had to do with different languages for windows.

This one will probably work better, but I will go trough the code tonight to make some more improvements before I release a new version.

// I have removed the attached file, because the latest version fixed this problem //
[Android Software/Hacking General [Developers Only]] Shiftok:
Thanks! It works!
[Android Software/Hacking General [Developers Only]] jens13:
Great, I will release a new version tonight.
[Android Software/Hacking General [Developers Only]] sdq928:
Very grateful to work.:D
[Android Software/Hacking General [Developers Only]] Tritan88:
This version did start up. Going to run it through its paces when I get time.
[Android Software/Hacking General [Developers Only]] jens13:
Great hopefully it'll work, but I'm going to go through the code tonight to see if I can find any more byggs that has to do with different languages.
[Android Software/Hacking General [Developers Only]] jens13:
New version is released Change log
[Android Software/Hacking General [Developers Only]] psycho_nr_1:
I'll try to get over with a custom rom

If it works for me i can do a tutorial in german ;) gn8

Sent from my GT-P1000
[Android Software/Hacking General [Developers Only]] Tritan88:
One thing I keep getting is an exception that something changed and it closes. I was just starting to make some edits to a custom rom when it happened. Just thought I would mentipn it. I will get a screen shot next time and post it with some logs.
[Android Software/Hacking General [Developers Only]] Tritan88:
I also wanted to ask if the png images could be displayed after they are decoded instead of having to open containing folder.
[Android Software/Hacking General [Developers Only]] jens13:
I would appreciate if you could look in the logfile, and just copy the lines with the error into a post here.

To view the logfile : Mainmenu -> View -> Show Log File
[Android Software/Hacking General [Developers Only]] jens13:
Sounds good, you're more than welcome to write a tutorial.
[Android Software/Hacking General [Developers Only]] jens13:
I have some ideas for how to show the content of an apk file, that will include viewing images and more.

I will start working on that next week.
[Android Software/Hacking General [Developers Only]] Shiftok:
when I click on build->build update.zip nothing happens((

Version of program: 0.9.1.0

PS: i can't open two projects together
[Android Software/Hacking General [Developers Only]] jens13:
To add a project:

MainMenu -> File -> Add choose to add a new or existing project.

When build update.zip only projects that is marked as included will end up in the update.zip, to include a project double click on the Properties node under the project node(the green one) in the treeview and check the Include in build checkbox.

To change name of the update.zip double click on the Properties node under the solution node(the purple one) in the treeview and choose a name in the Update.zip name textbox.

The build update.zip function just takes the files and adds them to a zip file.

All changes to jar and apk files has to be recompiled and encoded before that.

I hope this will help.

If this does not work, check the logfile for errors.

Please attach the logfile or the lines from the logfile with the error to a post here, that makes it much easier for me to find the problem and correct it.
[Android Software/Hacking General [Developers Only]] Tritan88:
Here is the log file.

2011-05-20 08:55:43 - Information - (null) - Application started -
2011-05-20 08:56:27 - Information - CrcStudio.BuildProcess.BackgroundFileHandler - ...Start processing files... -
2011-05-20 08:56:27 - Information - CrcStudio.BuildProcess.SmaliHandler - Recompiling classes for framework.jar -
2011-05-20 08:57:37 - Terminating - System.AppDomain - Collection was modified; enumeration operation may not execute. -
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at System.Linq.Enumerable.<OfTypeIterator>d__aa`1.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.<OfTypeIterator>d__aa`1.MoveNext()
at CrcStudio.BuildProcess.BackgroundFileHandler.FileProcessWorker(Object state)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
2011-05-20 08:58:37 - Information - (null) - Application started -

Here is the log file from when the exception pops up.
[Android Software/Hacking General [Developers Only]] jens13:
I think I have a fix for that problem, and I will post a new application for you to try tonight.

Does it occur always when recompiling a file or just occasionally?
[Android Software/Hacking General [Developers Only]] Tritan88:
It seems to do it when recompiling any jar file. I have been able to encode apk files with out it failing though.
[Android Software/Hacking General [Developers Only]] jens13:
I have released a new application for you to test, hopefully this will work better.

http://custom-rom-creator-studio.googlecode.com/files/crcstudio_0.9.1.1.zip
[Android Software/Hacking General [Developers Only]] Tritan88:
Just downloaded. Will give it a try and let you know, it will be this weekend sometime before I can get back to you though.
[Android Software/Hacking General [Developers Only]] jens13:
Thanks.

Take your time, I really appreciate the help.
[Android Software/Hacking General [Developers Only]] Tritan88:
I got a chance run a full process to decode/decompile and worked fine. Keep up the good work.
[Android Software/Hacking General [Developers Only]] jens13:
Great, thank you.
[Android Software/Hacking General [Developers Only]] jens13:
New release 0.9.2

Changes: http://code.google.com/p/custom-rom-creator-studio/wiki/Changes

New feature:

ApkViewer - for viewing content of apk files.

For more information see FAQ: http://code.google.com/p/custom-rom-creator-studio/wiki/FAQ
[Android Software/Hacking General [Developers Only]] Tritan88:
Will check this out later today.
[Android Software/Hacking General [Developers Only]] jens13:
I would like to get some feedback.

If someone have any ideas how to improve the application.

I will post a template project I use for GT-I9000 later to night.
[Android Software/Hacking General [Developers Only]] jens13:
Compare files...

I have added to the FAQ, how to compare apk and jar files.

See description here
[Android Software/Hacking General [Developers Only]] jens13:
I have found some bugs, they are reported on the project page under Issues.

Here is a is a sample of a template project for creating a update.zip that will work with CWM 2.5 and CWM 3.0.

This is made for Samsung Galaxy I9000 but should be easy to modify for other phones as well.

Features:

- Logging to sdcard.

- recovery.log copied to sdcard.

- Backup and restore important files.

- Backup android id, for this to work the kernel must support init.d scripts.

- Run your own pre and post install scripts.

- Flashing a modem and/or kernel from sdcard.

- One update package for booth Wipe and No Wipe install.

- Improved wiping desired folders to wipe can be added to folders_to_wipe.txt

- Installs bash, busybox, sqlite3, su and superuser.apk

For more information read the readme.txt file in the root of the zip file.

I will take no responsibility for bricked phones, so please make sure you know what you are doing before using any of this.
[Android Software/Hacking General [Developers Only]] alesscam:
this kitchen is compatible for samsung galaxy s2 i9100??

Sorry mate ,but i'm newbye in android world :D
[Android Software/Hacking General [Developers Only]] jens13:
Yes it is, but the application only creates zip files.

If you want to flash with odin you have to create a tar file with a factoryfs.img in it.

You can probably find information about how to do that in the galaxy s2 forum.

I deodexed the I9100XWKDD firmware, that worked fine but I got some errors with baksmali for Email.apk and MobilePrint.apk.

I tried to find out what the problem was but I didn't find a solution. (I didn't look that hard)

There seems to be roms deodexed for galaxy s2 so it might just be something with XWKDD.
[Android Software/Hacking General [Developers Only]] rs125:
Use the tools linux :D
[Android Software/Hacking General [Developers Only]] alesscam:
Well....i have found teacher :D

tonight you explain me how to :D :D
[Android Software/Hacking General [Developers Only]] jens13:
New release 0.9.3

New icons and files can now be opened with command line.

For more details: http://code.google.com/p/custom-rom-creator-studio/wiki/Changes

Added some more information to the FAQ: http://code.google.com/p/custom-rom-creator-studio/wiki/FAQ
[Android Software/Hacking General [Developers Only]] BeeGee_Tokyo:
CRC Studio not starting.

I have downloaded today the CRCStudio together with the tools.

Unzipped everything to E:\Android\android-sdk-windows\CRCstudio and E:\Android\android-sdk-windows\CRCstudio\tools_r1

When I try to start CRC Studio I get the following window:

I am running Windows XP Pro Version 2002 Service pack 3 on Intel Core2 Duo CPU @ 3GHz with 3.25GB RAM.

2 Monitors connected.

JRE 6 Update 26

Microsoft .NET Framework 4 Extended

Any idea what goes wrong?

[EDIT]

Downloaded the 0.9.2.1 version and this one starts.

[/EDIT]
[Android Software/Hacking General [Developers Only]] jens13:
Thanks for your report.

I will look into it later tonight.

By the the look of your description it will probably be easy to fix.

I will report what I find out.
[Android Software/Hacking General [Developers Only]] jens13:
@BeeGee_Tokyo

There seems to be a problem with XP and resources in dotnet 4.0.

Try the attached CrcStudio.exe it might work, but it´s just a quick test.

I have no computer with XP so I can't test it my self.

I will have more time to work on this issue later tonight if this doesn't work.

And maybe install XP on some hardware if it comes to that.

Edit:

The attached file didn't solve the problem, it has been removed.
[Android Software/Hacking General [Developers Only]] BeeGee_Tokyo:
Hello Jens13, still the same. If I can test something for you, let me know.
[Android Software/Hacking General [Developers Only]] jens13:
I just realized this, I've installed a WinXP in Virtual box and I get the same error.

The problem is with the icons I use in the application, they are in a format XP can't handle.

So the easiest solution will be to create new icons, but I have some different things to try, but if nothing else works I will create some new icons.

When I come up with a solution, I will post it here for you to try.
[Android Software/Hacking General [Developers Only]] jens13:
I created new icons, that seemed to be the easiest way.

Attached is a test with the new icons.

Please test this one, if it works i will release a new version.

Edit:

// I have removed the attached file, because the latest version fixed this problem //
[Android Software/Hacking General [Developers Only]] BeeGee_Tokyo:
This version works on Windows XP.

Thanks a lot!
[Android Software/Hacking General [Developers Only]] jens13:
OK, thanks for helping out.

I will release a new version tonight.
[Android Software/Hacking General [Developers Only]] jens13:
New release 0.9.3.1

Fixed application crash on Windows XP.

For more details: http://code.google.com/p/custom-rom-creator-studio/wiki/Changes
[Android Software/Hacking General [Developers Only]] brian.houaiss:
completely awesome!!! Downloading and trying right now! :D
[Android Software/Hacking General [Developers Only]] brian.houaiss:
Is there any version for Linux?
[Android Software/Hacking General [Developers Only]] jens13:
No, sorry.

I will however look into how hard it would be to convert to mono.
[Android Software/Hacking General [Developers Only]] dastin1015:
Try to run it using Wine.

Sent from my Hero that never dies! ;D
[Android Software/Hacking General [Developers Only]] jens13:
This is a Test version of Custom Rom Development Studio.

It is not meant to be used to create a rom it is just for testing purpose.

The purpose of this version is to test how much work it would be to adapt the application to run it on mono/Linux.

For this to work in addition to the ordinary install instructions, you will have to:

install Linux version of apktool-install to the tools folder. ApkTool install for Linux can be found here: http://code.google.com/p/android-apktool/downloads/list

copy a zipalign executable with the name starting with zipalign to the tools folder, could probably be found in android sdk for Linux

I haven't started this application on Linux, but it runs fine with booth .NET and mono on windows.

When run with mono there is some details with the UI that isn't rendered correctly.

The main problems is probably going to be paths.

I will eventually set up a virtual box image of some Linux distro to be able to work on it some more.

It would be neat if it would work on Linux.

// I have removed the attached file, because it was not usable //
[Android Software/Hacking General [Developers Only]] jens13:
I've installed ubuntu and monodevelop in virtualbox, and I'm sorry to say that the application isn't working.

It started and I could load a solution but it interpreted paths wrong.

It's going to need some work to make it usable.

the way paths are handle must change

change text editor component from ICSharpCode.AvalonEdit to Mono.TextEditor

more...
[Android Software/Hacking General [Developers Only]] jens13:
New release 0.9.4

Created a version for Linux/Mono and fixed some bugs.

I think you will need Mono 2.10.2 for it to work.

The Linux/Mono version is tested with Ubuntu 11.04 and Mono 2.10.2.

For more details: http://code.google.com/p/custom-rom-creator-studio/wiki/Changes
[Android Software/Hacking General [Developers Only]] dfgas:
so what did you all install to get it running in ubuntu? i have mono installed and all I get is:

dfgas@dfgas-Aspire-7740:~/crcstudio$ mono CrcStudio.exe
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v1.1.4322

** (CrcStudio.exe:29937): WARNING **: Missing method .ctor in assembly /home/dfgas/crcstudio/CrcStudio.exe, type System.Runtime.CompilerServices.CompilerGeneratedAttribute

** (CrcStudio.exe:29937): WARNING **: The class System.Runtime.CompilerServices.CompilerGeneratedAttribute could not be loaded, used in CrcStudio

** (CrcStudio.exe:29937): WARNING **: Can't find custom attr constructor image: /home/dfgas/crcstudio/CrcStudio.exe mtoken: 0x0a000013

** (CrcStudio.exe:29937): WARNING **: Missing method .ctor in assembly /home/dfgas/crcstudio/CrcStudio.exe, type System.Runtime.CompilerServices.CompilerGeneratedAttribute

** (CrcStudio.exe:29937): WARNING **: Can't find custom attr constructor image: /home/dfgas/crcstudio/CrcStudio.exe mtoken: 0x0a000013

** (CrcStudio.exe:29937): WARNING **: Missing method .ctor in assembly /home/dfgas/crcstudio/CrcStudio.exe, type System.Runtime.CompilerServices.CompilerGeneratedAttribute

** (CrcStudio.exe:29937): WARNING **: Can't find custom attr constructor image: /home/dfgas/crcstudio/CrcStudio.exe mtoken: 0x0a000013

Unhandled Exception: System.TypeLoadException: A type load exception has occurred.
dfgas@dfgas-Aspire-7740:~/crcstudio$
[Android Software/Hacking General [Developers Only]] jens13:
By the look of the message it appears that the mono runtime is an older one.

Try installing the latest version of mono, I am no Linux expert so I just followed the instructions in this blog post: http://www.integratedwebsystems.com/2011/05/install-mono-2-10-2-and-monodevelop-2-6-beta-3-on-ubuntu-or-fedora-with-a-bash-script/

That worked for me.

Hope this helps.
[Android Software/Hacking General [Developers Only]] lazlo16:
I need some help to get started.

I downloaded all files - Ok

I Start the program - ok

I create a new project - ok

And now?://

I want to create the 2.3.5 system, a device LG gt540.

Where can I find a file(originals system fils ,apk...)?

(sdk?):confused:
[Android Software/Hacking General [Developers Only]] jens13:
Here is a quick start up guide for CrcStudio:

https://code.google.com/p/custom-rom-creator-studio/wiki/QuickStartupGuide

I have no experience with the LG GT540, but you might find information here:

http://xdaforums.com/forumdisplay.php?f=776

Hope this will get you started, I will be out of the country for a few days so I probably won't read any here.

If you have more questions regarding CrcStudio, I will be back sometime next week.

Regards Jens
[Android Software/Hacking General [Developers Only]] wilbso:
i need to know

i need to know something. i want to make a custom rom for my x8 if it will work. but i need to know: what is .net framework

what will it do to my computer?

will i still have my windows 7 and all my data the same way as it is.

anyone can reply but i need to know if i should install .NET Framework 4.0

thanks in advance:)
[Android Software/Hacking General [Developers Only]] jens13:
Windows 7 and all your data will not be affected by .NET Framework 4.0, Windows 7 comes with .NET Framework 3.5 installed so it will just be an update to that.

You also need JRE 1.6 (Java Runtime Environment) for it to work.

Good luck.
[Android Software/Hacking General [Developers Only]] wilbso:
Thanks man I already have Java thing I searched. All my programs and files and found it thanks for helping
[Android Software/Hacking General [Developers Only]] wilbso:
Also what version should I get for 32 bit. Cuz there a 3 downloads and I need to know which 1of em I gotta download
[Android Software/Hacking General [Developers Only]] jens13:
Here is a link for .NET Framework 4.0

If you mean CrcStudio you will need to download the following files:

crcstudio_0.9.4.0.zip

tools_r1.zip

from here: http://code.google.com/p/custom-rom-creator-studio/downloads/list

and follow these instructions:

1. Unpack crcstudio.zip

2. Unpack tools.zip in a subfolder to where you unpacked crcstudio.zip

Here is a Quick Startup Guide: http://code.google.com/p/custom-rom-creator-studio/wiki/QuickStartupGuide
[Android Software/Hacking General [Developers Only]] wilbso:
thanks but 1more thing

thanks got da tools but which download should i use on downloading .net framework. i have windows 7 32 bit and on there are 3 downloads for .net framework. which 1

thanks in advance:)
[Android Software/Hacking General [Developers Only]] jens13:
You will have to use the full version of .NET it's the same installation package for both 32-bit and 64-bit Windows.

Like I wrote in the previous post: Here is a link for .NET Framework 4.0

Click on the link and if the download doesn't start automatically you will have to click on the link on that page that says "Start download".
[Android Software/Hacking General [Developers Only]] wilbso:
Okay thanks mate
[Android Software/Hacking General [Developers Only]] jens13:
You're welcome, I hope you have some use for the application.