yashsingh1/xdaforums huggingface dataset:
[Samsung Epic 4G Touch] rujelus22:
Setting up your PC for success!

1. Download and install the Java JDK from here

http://www.oracle.com/technetwork/java/javase/downloads/index.html

2. Download and install the Android SDK

http://developer.android.com/sdk/index.html

3. After the SDK is installed open it and check and install these boxes

Android SDK Tools

Android SDK Platform-tools

Check the whole folder for any version you want to work on (You can check multiple, I have from 4.1 to 2.3.3)

When installing if any ask for a password just click cancel on those

4. Set your windows environment path

Follow this guide until step 3 - http://www.itechtalk.com/thread3595.html

In the image in step 4 find the Path Variable in the bottom section (Double Click to edit it)

Add your android sdk platform-tools folder (Usually C:\Program Files (x86)\Android\android-sdk\platform-tools or C:\Program Files\Android\android-sdk\platform-tools

So at the end of what is already there in Path put this ;C:\Program Files (x86)\Android\android-sdk\platform-tools (Make sure to add the ; before the whole string)

Click ok and save all of that

5. Open my script and setup your framework files

Choose option 99, hit enter

Choose option 4, hit enter

Choose your phone, or choose the last option to put the files in manually.

Choose option 11, select your apk and have fun modding.

6. At this point you should be all setup and should be able to decompile and compile apks and jars successfully.

Please let me know if I forgot something, it has been a minute since I set it up.
[Samsung Epic 4G Touch] slick_rick:
Nice work :good:
[Samsung Epic 4G Touch] djdarkknight96:
You are a beast, thanks for the awesome script!

DarkJelly Gnex on JellyBro sent this from the app.
[Samsung Epic 4G Touch] UnderworldDemon666:
Thanks! Awesome work!
[Samsung Epic 4G Touch] JohnCorleone:
This will be in Android Development for all phones very soon. This is real development. Congrats and thanks to my friend Rujelus. If a noob like me is starting to understand it, this is going to make themers lives so much easier.

Sent from my Galaxy Nexus using Xparent SkyBlue Tapatalk 2
[Samsung Epic 4G Touch] coiledwire:
This is an awesome time-saving tool. Thanks for sharing.

Sent from my SPH-D710
[Samsung Epic 4G Touch] cuezaireekaa:
thank you for this. tyvm.
[Samsung Epic 4G Touch] mjs2011:
So please forgive the noobish question, but I've been doing some reading in preparation of trying to learn how to theme.

Could I literally create a theme for a TW Rom using this tool? I say SystemUI mentioned but not Framework, so I wasn't sure if I could create an entire theme using this tool or not.
[Samsung Epic 4G Touch] Mattix724:
You sir are the man! Thank you for such a great tool. :thumbup::beer:
[Samsung Epic 4G Touch] aveulivm:
Thanks for all your work to make it easier for us. Great Tools. :victory:
[Samsung Epic 4G Touch] rujelus22:
Working on a new version the last few days that will have the ability to, work with odexed ROMs. It will be able to make a flashable zip to deodex and odex the ROM. It will also be able to pull a file deodex it, then you can mod it. Then it will compile it, reodex it and push it back to the phone.

Still got a bit of work to do on it, but I wanted to see if there was interest in this, or if there was something else in regards to odexing that you would like to see added.
[Samsung Epic 4G Touch] rujelus22:
Yes you can mod any apk or jar with this. The only other thing you would need is some sort of image editor. Like photoshop or paint.net
[Samsung Epic 4G Touch] tdunham:
Great concept. Are you sticking strictly with the apk's or will this script be able to deal the jar files as well for odex/deodexing?
[Samsung Epic 4G Touch] rujelus22:
It does apks and jars
[Samsung Epic 4G Touch] mjs2011:
Thanks, I'm going to use this as my starting point for making themes!
[Samsung Epic 4G Touch] rujelus22:
So the new AIO is almost ready. I have some people testing it out. What is everyone's thoughts about a free and a pro version for $1. The pro version would allow for batch odexing and deodexing of a rom in minutes with one click. The free version would still allow for editing and modding odexed files the same way we do deodexed now.

With this it will make it so there is no reason to have a deodexed ROM.

New things that have been added are

-odexing full ROMs

-deodexing full ROMs

-odexing and deodexing single files

-editing of odexed apks and jars with no extra steps

-making/restoring/deleting/and fixing md5 mismatch for nands

-Tons of optimized code

-Redone most menus for easier viewing

-More I am sure I am forgetting

Let mess know what you think. I would definitely like some opinions.
[Samsung Epic 4G Touch] aveulivm:
You do so much for us that I think giving back is always good. I am up for it.
[Samsung Epic 4G Touch] MiguelHogue:
A dollar for the project version..?

I say go for it..a dollar is not much and some devs would charge way more for those types of options

-TeaM VeNuM Like A Boss

-Galaxy Note II Edition
[Samsung Epic 4G Touch] DonHuan:
Is there a way to see why script isn't working?

rujelus22, could you see my logs and say where the problem is, please?

EDIT:

Problem solved: http://xdaforums.com/showthread.php?p=39508410#post39508410
[Samsung Epic 4G Touch] elijahbrown:
You modified the script to make it think you had a kernel with remount support, right?

Well.. You don't.

Do a search here on xda or PlayStore for ADB Insecure then try again.

Sent from my SPH-L900 using Xparent Skyblue Tapatalk 2
[Samsung Epic 4G Touch] DonHuan:
Yes, that fixed the problem, thanks!

http://xdaforums.com/showthread.php?p=39508410#post39508410
[Samsung Epic 4G Touch] djb77:
OK I'm having an interesting problem here.

Device: Samsung Galaxy S34G (I9305)

When it does the first initial setup, it detects that it can do the adb remount, however once it gets into the main program it says that its not supported.

I know for sure that I have it supported, as I have ADB Insecure installed and set (tested it with a adb remount command to verify as well).

Is there any modification I can do to the script so I can bypass a check or something and allow it?
[Samsung Epic 4G Touch] elijahbrown:
Within the last 2 pages someone posted the line to edit.

Sent from my SPH-L900 using Xparent Skyblue Tapatalk 2
[Samsung Epic 4G Touch] djb77:
Found it, thank you :)
[Samsung Epic 4G Touch] CrimzonEyed:
On a 7100.

After running script once remount works (checked with adb command as well) after the select to auto update y/n the CMD close.

Everytime I launch script or AIO I get the first time install that always closes after selecting auto update options.

What I'm I doing wrong?
[Samsung Epic 4G Touch] Kremata:
Anyone can think of a reason why I can't Odex a themed ROM. If the ROM came themed already, there is no problem. But if I theme the ROM myself after the ODexing I loose contacts, sms, phone, settings and network, Any idea??
[Samsung Epic 4G Touch] Mattix724:
I'm also having this same problem. I have downloaded the latest AIO and I have the Android SDK as well as the Java JDK installed and I have my path set up for the Android SDK.

Any help from Rujelus22 would be greatly appreciated.
[Samsung Epic 4G Touch] cerj:
Im sure when he sees this he will respond. Mattix, Kudos on becoming a ReJect
[Samsung Epic 4G Touch] BluesRulez:
I just have auto update turned off. Manually update if needed.

===================
[Samsung Epic 4G Touch] rujelus22:
Go to your tools\Settings\ folder and open the updates.txt change it from 1 to 0. Then try and open it.
[Samsung Epic 4G Touch] :
The directory is wrong.

C:\AIOMod\projects\framework-res.apk\res"/"anim-sw360dp-xxhdpi

That wrong slash is throwing the errors
[Samsung Epic 4G Touch] 12MaNy:
How do I go about correcting a resource directory error? :eek:
[Samsung Epic 4G Touch] 12MaNy:
UPDATE: uninstalled SDK and JDK, then reinstalled and now all is well.

Also huge shout out to reverepats for showing me 4.2.2 recompile workaround.
[Samsung Epic 4G Touch] rujelus22:
Cool glad you got it working
[Samsung Epic 4G Touch] Landon4444:
aapt.exe

Just thought I'd put this in here in case anyone else runs into the same problem.

After installing everything and setting everything up I was getting errors when trying to recompile an app.

In the log I saw stuff related to executing aapt

I found the aapt.exe by default in my "build-tools" folder and not in "platform-tools"

I copied it into the "platform-tools" folder and all is good.

Thanks for the great tool Rujelus22 :good:
[Samsung Epic 4G Touch] rujelus22:
There should be one in your platform-tools after installing the android sdk. If not something is not right.
[Samsung Epic 4G Touch] rujelus22:
There is a lot that needs done to the S4 systemui file before it can be decompiled correctly. I do not have the time to go into all of the things that need changed but it is with that file not the aio.
[Samsung Epic 4G Touch] hlxanthus:
I used this thread here to make the edits I needed to do. Now it works perfectly!! Thanks Rujelus, love this AIO tool
[Samsung Epic 4G Touch] PiggySmalls:
I had this same issue, not sure what happened to it, but aapt.exe never showed up in platform tools.
[Samsung Epic 4G Touch] LordXeth:
Hi @ rujelus22

i have you AIO script uploadet to Github and added Master and Experimetal Branch...^^

mfg LX
[Samsung Epic 4G Touch] cerj:
That is Good news.. They will be from a GS4 zip,I think its zip you posted in your GS4 thread. Im almost positive it is.. Im just getting familiar with it, but let me say this is awesome.. Decompiling is quick and simple. And I can read the XML's. Finally I can see whats going on in there..I was extracting apks on my phone or Nexus 7 to get to the pngs, then transferring to my PC. What a hassle that was, and the XML's looked like ancient Alien text.. Thank you again and again..

Im having a small issue, Im sure its something I did or didn't do..When I open AIO it says theres an update, I type 99, then 10, it does its thing and throws a few errors.. Ill post what the error says when I open it again.. Thank you
[Samsung Epic 4G Touch] cba1986:
Sorry for the bring this thread back to life. But i wonder if someone can post a mirror. The original downloads links are down.

Thanks
[Samsung Epic 4G Touch] Perka:
Yup same here, a mirror pls :)
[Samsung Epic 4G Touch] JohnCorleone:
I can try and get a hold of Rujelus. I actually odexed my HTC One with Viper ROM and it worked perfectly. I also tried some KitKat ROMs on my Sprint GNex. They worked as well. I just made sure my resources were current and Android SDK has to be current I have been using 2.0.0.3 I believe

Sent from my HTC One using Xparent Gray Tapatalk 2
[Samsung Epic 4G Touch] leaderbuilder:
Thanks JohnCorleone.

I wish [MENTION=599465]rujelus22[/MENTION] had the time to update the AIO. His work and contributions are outstanding. Hope all is well with him.

For the guy looking for the link you can head over to RU's site off of Venum's Forum for more info.
[Samsung Epic 4G Touch] JohnCorleone:
I think the KitKat putting system apps in system/priv-apps as well is throwing off the AIO. I found a script that is a zip you download and flash. Then with 2 Terminal Emulator commands you can odex KitKat ROMs it actually works on 4.1 to 4.4.2 but you need to delete the classes.dex files on KitKat because the command to delete them and zipalign isn't quite right. PM me if you want a link

Sent from my Nexus S 4G using Xparent Gray Tapatalk 2
[Samsung Epic 4G Touch] i420bdawg1:
Forum link is dead

Does anyone have a mirror for the script?
[Samsung Epic 4G Touch] ttittoo:
I say do it. I would buy it. Everyone should know how much I love odexed ROMs by now. What is $1 anyways? I'm sure many people would get it.
[Samsung Epic 4G Touch] Mattix724:
Sounds like a dollar is a good deal.
[Samsung Epic 4G Touch] MiguelHogue:
i downloaded this...and i have everything set up...i was just wondering is there anyway to adb the phone besides wifi with this? because i dont have wifi..i tether the internet..thats my only stumbling block right now
[Samsung Epic 4G Touch] AestenD:
USB
[Samsung Epic 4G Touch] BluesRulez:
So I used this today to theme Facebook app a bit and it worked perfectly.

Now I can understand just how much work a themer has to put in theming roms and apps.. a LOT. Thanks Ruj.
[Samsung Epic 4G Touch] jpkelly05:
I actually like original Apps themes. But I would like to get more into theming roms themselves. Can this tool do this?
[Samsung Epic 4G Touch] rujelus22:
ROMs and apps are exactly the same. A ROM is just a bunch of apps as far as theming goes.
[Samsung Epic 4G Touch] BluesRulez:
Yeah for example..settings.apk which is in an app.
[Samsung Epic 4G Touch] aveulivm:
Just want to say thanks. I used this app today for the first time and everthing works great. Awesome tool and I am looking forward to your updated version.

Thanks...
[Samsung Epic 4G Touch] rujelus22:
The new update makes the old version feel like a toy. :D

I can not wait to get it out to you guys.
[Samsung Epic 4G Touch] Sloth:
Will this work on any android device or just E4GT?
[Samsung Epic 4G Touch] rujelus22:
I have not tested the current version on other devices. The new version is being tested on lots of devices. I would think most things would work on the current version. Things like making flashable would probably not work on other devices.
[Samsung Epic 4G Touch] Stryke_the_Orc:
Just a quick question Ruj, will the JB version also work with other android versions or is it strictly JB? Didn't see it mentioned and was just curious if I needed to download both.

Thanks :)
[Samsung Epic 4G Touch] rujelus22:
It should work with anything older than JB
[Samsung Epic 4G Touch] Stryke_the_Orc:
Loving this tool, thank you! I haven't been able to compile anything correctly since team rejectz quick fix stopped working :beer:
[Samsung Epic 4G Touch] dohchp:
I am getting an error when tryiong to use option number 95 then option 1 or 2. It says prgrep.exe system error, the program cant start because perlcrt.dll is missing from your computer. Any ideas?
[Samsung Epic 4G Touch] rujelus22:
That is because you either need to install Prgrep or the C++ framework on your computer
[Samsung Epic 4G Touch] dohchp:
Thanks. Some parts of c++ was missing and I had to download prgrep from their website and install it. I don't have any experience programming but I learn quick. Gonna try playing around with themes and see if I can learn.
[Samsung Epic 4G Touch] tdunham:
The current posted versions don't do odex/deodexing yet is that correct?
[Samsung Epic 4G Touch] Stryke_the_Orc:
Correct, unless Ruj just updated them today :D
[Samsung Epic 4G Touch] tdunham:
Lol, that's what I'm holding out for. ;)
[Samsung Epic 4G Touch] Stryke_the_Orc:
I know, I can't wait for it:cool: gonna make life much easier :thumbup:
[Samsung Epic 4G Touch] tdunham:
If we raise enough ruckus maybe Ruje will take pity on us. :cool:
[Samsung Epic 4G Touch] rujelus22:
He might. I have been testing the crap out of it. I believe everything is good, just so many options to test and make sure they work with all phones.
[Samsung Epic 4G Touch] Stryke_the_Orc:
LOL :p
[Samsung Epic 4G Touch] Stryke_the_Orc:
If you need help testing out all those options, you might just be able to twist my arm and make me do it :rolleyes: :p

Seriously though, I can't tell you how anxious I am to get my hands on this lol.

Thank you for putting this together and sharing with us :good: :D
[Samsung Epic 4G Touch] rujelus22:
So I really just have to much going on right now to manage a webstore :crying: so, since I really want the community to have the script, I will be releasing it this weekend for free. Please help me out by donating or clicking the thanks button.

Can't wait to hear your guys feedback and comments to see if there is any way I can make it even better.
[Samsung Epic 4G Touch] Stryke_the_Orc:
I'll donate, same as the link in your sig?
[Samsung Epic 4G Touch] rujelus22:
Yep that is the only place I have donations. Thanks
[Samsung Epic 4G Touch] Stryke_the_Orc:
Confirmation number: 9TJ86302TH029893C. :good::D
[Samsung Epic 4G Touch] aveulivm:
Donation

Thanks for all your hard work, I donated for your DEW fund. Happy coding.

Thanks again.
[Samsung Epic 4G Touch] rujelus22:
Been trying to get it up today but we lost power at the house so I am unable to upload anything. I will get it up as soon as possible.
[Samsung Epic 4G Touch] AestenD:
CURSES! Foiled again by the God of electricity!
[Samsung Epic 4G Touch] rujelus22:
Blame mother nature. Huge rain storm blew a transformer.
[Samsung Epic 4G Touch] Mattix724:
Hey rejeluss22, I was trying to decompile SecSettings.apk from the latest FK23 JB leak and I am getting an error while trying to decompile the apk.

I have copied the log to pastebin if you would like to see it and hopefully help out with getting it working.

http://pastebin.com/VVeY6Ld5

Thanks, as far as I can see... Everything else decompiles just fine.

---------- Post added at 09:04 PM ---------- Previous post was at 08:50 PM ----------

Ok scratch that... I needed to set the resources file and using the JB version, I selected other and set the location of the framework and the twframework. decompiled from what I can see.
[Samsung Epic 4G Touch] Mattix724:
Ok there is one last thing I was having trouble with that I'm not sure about.

When decompiling SecSettings.apk I do get the smali files but no classes.dex and the original in the place-here folder apk is missing it's classes.dex when opening the apk to view the files with 7zip as well as the one in the original folder.

After recompiling the apk it is also missing classes.dex. I have the SDK updated, JDK 7, my path is set. I tried both JB and Pre JB with the same results. I also cannot pull apks using either script.

Am I missing something?
[Samsung Epic 4G Touch] AestenD:
Odex'd file maybe? Because that's what the classes.dex file becomes. The .odex
[Samsung Epic 4G Touch] rujelus22:
Try cleaning the folders and decompiling it with nothing else in any of the folders.
[Samsung Epic 4G Touch] AestenD:
Btw ruj, how is your home electricity situation today? :p
[Samsung Epic 4G Touch] rujelus22:
All good today. As soon as I get home I will be posting a link
[Samsung Epic 4G Touch] rujelus22:
Ok I do not have time to get a new OP made for this yet, but here are some simple instructions

Your folder should have no spaces

Example:

C:\users\username\aio (Good)

C:\users\user name\aio (Bad)

If you have been using my previous version remove everything from your current folder or make a new folder for this version. Almost all of the code has been rewritten so there are incompatible things in the last version.

Run the start-aio.bat and go through the setup.

I will try and get a new OP up with all the info an some common compiling issues when I get a free moment.

Let me know what you think of the new version or if there is anything you would like to see changed or added.

Please let me know if anyone has any issues with this.

AIO_PreRelease.zip :laugh: (Odex and Deodex support)
[Samsung Epic 4G Touch] AestenD:
Yay! Personally I probably won't get around to fiddling with this until the upcoming weekend, but I'm sure everything well be awesome. My first personal goal will be ripping the dpi mod from snipers market and applying to your latest themed. (sniper is 2 versions behind)
[Samsung Epic 4G Touch] shabbypenguin:
id suggest setting variables and using PWD so that spaces arent an issue. anyways dreamsforgotten wants this in linux so im gunna chip away at it. got it on github? would be much easier to send ya a pull request when its all done
[Samsung Epic 4G Touch] leaderbuilder:
gaak, changed the colors in the aoi options for hightlights to yellow and these old eyes can't read them. I know this should be easy but how do I get it to readable again.

Also got the error "the program can't start because perlcrt.dll is missing from your computer.." trying to search through the apk.

I did add ";C:\Program Files (x86)\Android\adt-bundle-windows\sdk\tools" to my user variables Path.

Thanks again RU for the work!
[Samsung Epic 4G Touch] rujelus22:
To change colors to defaults with 99->9->16

You can make some pretty nasty color combos if you want. I messed around with fun colors for awhile.

Install C++ runtime or prgrep to get rid of that error.

Installing prgrep is easier and faster just so you know.
[Samsung Epic 4G Touch] rujelus22:
Everything is variables but batch scripts can not have spaces. I need to surround all the calls with "" just have not had the time to go through all the code.

That would be awesome if you wanted to port it to linux. I would like to just do not have the time to rewrite it. I have it in a private repo right now, when I get the OP done for it I was going to make a public one.
[Samsung Epic 4G Touch] shabbypenguin:
i dont know you, but ive spent the last twenty mins converting :functions into f_functions, i already hate you :P

anyways as a suggestion for what i did with my nexus script was have it grep the build.prop and adjust on the fly depending on the device, by all means this isnt gunna be an overnight porject as your script is huge, right now im working on converting the batch to bash as best as possible then i gutta try to find as many similar binaries to cut down on this massive 53MB download. perhaps remove all that stuf and have it download on first run? that way linux userrs dont have to get windows stuff and windows users dont get nix stuff?
[Samsung Epic 4G Touch] leaderbuilder:
Thanks. Thought I had the runtimes installed. Forgot how long it's been since I've ran any Dev stuff on this machine. Oh well got that done.

Now I can't (re)compile single apk. Getting JRE error(s). I'm using 64 bit java should I also grab the latest 32 bit?

Going to restart whole system. Then the process again.
[Samsung Epic 4G Touch] rujelus22:
Why does it need to get the device from the build.prop? not sure where I would use that. Could easily have it download things on the first boot, that would not be an issue.
[Samsung Epic 4G Touch] leaderbuilder:
Argg never mind this for now.

This machine needs way more tools installed.

Redownloading Android SDK. Again I haven't been on this machine for a while. I wish it were legal to kneecap the p.o.s. who stole my laptop, if I could find him.

Again thanks dude for the help and work.
[Samsung Epic 4G Touch] shabbypenguin:
i noticed you had a lot of functions making the cwm scripts, you could slimm down to where it detects the device and adapts to that. ive only been skimming but im sure there could be more savings :). im not an expert by any means, i just like helping where i can :D

https://github.com/Shabbypenguin/One-Click-Nexus perhaps something in here might spark inspiration oh how to do things.
[Samsung Epic 4G Touch] rujelus22:
Oh I know there is plenty of places it can be trimmed down. I started optimizing a lot already. I will take a look at your git see if there is anything I can use.
[Samsung Epic 4G Touch] JohnCorleone:
Hey Ru, Shabby will get the Linux version done if he offered. Shabby, we have been testing this for what seems like a month and whether it was an EvoLTE, Galaxy Nexus running CM10, my international s3, Hox, etc and I think ONE apk acted up (GTalk) which always is a pain to odex after theming. I had mentioned that you guys were keeping the Sprint GNex current . Thanks for offering to lend a hand with Linux. If people only knew how hard he's been working on it....then there's his other top secret project ...

Sent from my EVO using Xparent ICS Tapatalk 2
[Samsung Epic 4G Touch] AestenD:
OTHER top secret project? Frikin tease :)
[Samsung Epic 4G Touch] shabbypenguin:
lol i spent a good hour and converted the first 80 or so lines. i doubt teh team venum logo is gunna be as pretty in linux as it doesnt handle white space as nice as batch

like i siad this isnt going to be done any time quickly but i am indeed working on it :P
[Samsung Epic 4G Touch] AestenD:
Make sure to fix any bugs you run across :p......... not that the almighty awesomeness that is rujelus is capable of having bugs in his code :)