[release] RTD Suite-RTDStore v2,RTDPackager 1.2,AIPinstaller 1.2,RepoBuild 1.2 + src - Windows RT Development and Hacking

About this Suite:
Arms Apps:
AIP Installer:
Installer for the AIP format. Since V2, the store needs this installed to install downloaded files. Currently must be manually associated with AIP files
Place the exe file and associated DLL in a folder somewhere sensible. I have not tested in ProgramFiles yet but the app elevates UAC so should be ok.
Double click on any AIP file (I include one as an example) and windows willl show this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
select 'more options' which will show this:
check the check box at the top and then click 'Look for another app on this pc'
A browse dialog will open - find and select AIPInstaller and you are done. You only need to do this the first time. I intend to add an auto install to this, so in future you can just double click the installer and it'll set itself up, but till then...
From now on, you can double click an AIP file and the installer will pop up. Usually just hitting 'install' will be all you need to do (there are some advanced functions like disabling the install batch if it exists, and changing the install path which isnt really recommended)
RTD Store V2:
Work in progress version of a new RTD Store. Much simpler and should be more stable. Install and settings currently not implemented. More details coming soon.
PC Apps:
RepoBuild:
run like
RepoBuild.exe d:\dropbox\public\repo
to prep a folder for being a repo. needs to be run on any changes. You may need to FTP files to your server.
RTD Packager:
Create AIP files from a folder or from an MSI file.
This utility is designed for creating AIP files. Its worth paying note that the AIP format is designed for repos more than it is the installer - so there are a lot of details here which the repo can use to make you app more visible.
V1.1 now has full open and save support.
V1.2 has MSI support
Save will save a template XML, which can be loaded later with the Open button. Open will also open an existing AIP file and fill in the details.
Create Package no longer saves in the same place as the files being packaged - it opens a save dialog.
The browse button will now work and populate the run EXE field and the folder field.
some details:
AppName is the display name - and the install folder - so avoid \'s and such. If you change this in an update, it will get installed to a new folder.
Updates are detected based on the App GUID. Change this, it will appear as a new app - use the same GUID on more than one app and you will have conflicts. The generate button for GUID *DOES* work - you should only use it on the first release of your app - and for the time being, keep it safe for any updates.
Run EXE is the exe that will be launched by the store when the user asks to run it - and if a shortcut name exists, will be placed in the start menu.
If you select an MSI from the browse menu, this overrides runEXE (and disables some irrelevant functions)
Install/uninstall batch files are option batch files for installing/uninstalling registry settings and the like. There is currently no uninstaller, but the store app should have this built in - the uninstall batch is NOT for deleting files - the store will handle that.
App version number is a REAL number. ie. 1.03 is ok. 1.0.3 is not.
App category is for placing your app in a 'folder' - it is free form, with | splitting. Anyone can create a new category this way and its not up to the repo manager to manage this. Obviously it will work better if we have sensible categories such as 'Apps|Browsing' or 'Emulators|GameBoy' - while its totally possible to do 'djboo|prerelease|funthing' - i hope we dont do that.
Source codes:
Complete source code for the RTD Repo Connector (used by the store), the store itself and for the RepoBuilder.
Donwload Now

wait does installing aip packages enable piracy implying that we can build those packages out of already installed apps?
because that'd be a huge reason for microsoft to patch this exploit and disable the whole jailbreak thing :/
but still... nice work

Wischm0pp said:
wait does installing aip packages enable piracy implying that we can build those packages out of already installed apps?
because that'd be a huge reason for microsoft to patch this exploit and disable the whole jailbreak thing :/
but still... nice work
Click to expand...
Click to collapse
Even if that did work, I'm pretty sure it wouldn't run, because it's probably got a device-specific key or something like that.

Wischm0pp said:
wait does installing aip packages enable piracy implying that we can build those packages out of already installed apps?
because that'd be a huge reason for microsoft to patch this exploit and disable the whole jailbreak thing :/
but still... nice work
Click to expand...
Click to collapse
AIP packages are his own format for this installer. This installer is for desktop apps not metro apps.

RTDStore V2 stil doesn't work for me :crying:
************
Signature du problème*:
Nom d’événement de problème: CLR20r3
Signature du problème 01: rtdstore_v2.exe
Signature du problème 02: 1.0.0.0
Signature du problème 03: 50f8b2f9
Signature du problème 04: mscorlib
Signature du problème 05: 4.0.30319.18033
Signature du problème 06: 50b5a65f
Signature du problème 07: 48ba
Signature du problème 08: 34
Signature du problème 09: System.IO.FileNotFoundException
Version du système: 6.2.9200.2.0.0.256.97
Identificateur de paramètres régionaux: 1036
Information supplémentaire n°*1: 6f2f
Information supplémentaire n°*2: 6f2f32ff5e70fb27688c36be97d113dd
Information supplémentaire n°*3: bec2
Information supplémentaire n°*4: bec278df87ba111112a3494eea5fe2ba
Lire notre déclaration de confidentialité en ligne*:
http://go.microsoft.com/fwlink/?linkid=190175
Si la déclaration de confidentialité en ligne n’est pas disponible, lisez la version hors connexion*:
C:\windows\system32\fr-FR\erofflps.txt

samco08 said:
RTDStore V2 stil doesn't work for me :crying:
Click to expand...
Click to collapse
are you sure you already jailbroke your device?
http://forum.xda-developers.com/showthread.php?t=2092158

Yes !
7zip arm Work like a charm.
the first version is the only one which work on my Surface.
@+

Wischm0pp said:
are you sure you already jailbroke your device?
http://forum.xda-developers.com/showthread.php?t=2092158
Click to expand...
Click to collapse
I also can not open the rtd store. Nothing happens when I try to open it.

skyway211 said:
I also can not open the rtd store. Nothing happens when I try to open it.
Click to expand...
Click to collapse
i'm on it. I'm also toying with the idea of a metro based store to download the apps (that then fires the install on the desktop)

Is this still in active development?

ingramator said:
Is this still in active development?
Click to expand...
Click to collapse
The creator hasn't posted in here for quite a while, I don't think it is.

netham45 said:
The creator hasn't posted in here for quite a while, I don't think it is.
Click to expand...
Click to collapse
rush at work and lack of interest made me put on hold. If theres interest, ill continue.

Related

RegawMOD Zip Maker v1.0 [09-18-10]

RegawMOD Zip Maker is a very useful and easy-to-use Windows CLI (Command Line Interface). RegawMOD Zip Maker allows you to easily add stock Froyo apks AND/OR your own apks to your currently running ROM by creating a signed zip to flash in recovery, with NO adb/sdk knowledge needed whatsoever.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here is the Main Menu.
Steps to creating a signed zip:
1. Choose "0" at the Main Menu to set up a Working Folder
2. Choose "2" at the Main Menu to add apks to the Working Folder
3. Choose "5" at the Main Menu to Create a Signed Zip and flash in recovery!
It's that easy!
The other Menu options are:
1. Delete Working Folder
----This is in case you wish to restart and create a new Working Folder
3. Remove Apks From Working Folder
----This is in case you added an apk accidentally, and wish to remove it.
4. View List of Apks in Working Folder
----Choose this to view the current apks in the Working Folder
10. Advanced Settings
----Contains advanced settings for the program.
--------Enable/Disable Environment Check on Start Up
--------Change CLI Background/Text Colors
x. Exit
----Pretty self-explanatory...
Changelog
v1.0.1 [9-19-10]
-Patched to include Stock.apk (download and run the
v1
Public release
Download Web Installer 1.0 1.28 MB (Needs to have internet access to grab apks from server while running program!!!)
MD5: 4c16b3c957717bf890aad400938e84a3
Download Standalone Installer 1.0 79.0 MB (All Apks and HTC Sync Included)
MD5: 2e9b5efb4c6aa678cb8681757baa91d8
Download 1.0.1 Patch to add Stocks Apk 618 KB (This is ONLY a patch, not the whole program. Patches to version 1.0.1 to add Stock.apk.)
Run from the same directory on your computer that RegawMOD Zip Maker.exe and the folder named "tools" is in.
MD5: 98d895af813b61a889e920456ab71cec
.
Thank you to these beta testers for giving great feedback and making RegawMOD Zip Maker even better!
brad2287
DirtyShroomz
djR3Z
dmoses1969
erikivy
fachadick
helioXverse
jedwardmiller
lovethyEVO
Medic1013
nebenezer
neon_24
nfaust01
rjmjr69
rockage
Smaulz
Testrunner
Topgun966
VOODOOTRIP
I cant wait. Thanks
link is up for beta 3 testers. Check post #2 to see if you are a part of the beta test. Check your pm's for your passwords! Do not post about passwords on this thread, private message me about them. All other feedback can be posted here on this thread.
Downloading now. I just wanted to say thank you for the opportunity to be a part of the testing of this cool new tool. I look forward to more great software from you.
can i remove preinstalled apps that are already on my rom?
ebuechler3 said:
can i remove preinstalled apps that are already on my rom?
Click to expand...
Click to collapse
Not with this tool, BUT that is one of the next tools that I am already developing, with the same, easy-to-use style.
Sweet, will test when I get home.
this is an awesome tool for everyone regaw. Excellent job. i can remember when i wished for a tool like this...neb said you got your evo. 'BOUT TIME
Does this work with CM6 rom??
vboyz103 said:
Does this work with CM6 rom??
Click to expand...
Click to collapse
Yes, this is used on your computer to create update.zips to flash in recovery, to add apks to your phone.
Wow, this is fantastic! A few minutes sitting at the computer to organize all the 3rd party apps i'd install from a "Clean Start" saves a ton of time.
Can't wait to try it
Please tell me a program to make theme building even simpler is coming in the future!?
Thanks Dan! Loving your work so far!
awesome, gonna try this out soon enough! thanks!
regaw_leinad said:
Not with this tool, BUT that is one of the next tools that I am already developing, with the same, easy-to-use style.
Click to expand...
Click to collapse
Awesome work have been waiting for something easy to come along.
Thanks again
Awesome!!!
Guys, I just accidentally broke the like to check the server w/ your login credentials. Very sorry bout that... will have a fix in a few hours... until then you wont be able to login w/ the program posted above.
update to beta 4... this looks really good. Most likely Final. I noticed 0 problems.
Regaw -
Does this allow the market to update said apps? Or no?.
One thing thats frustrating to me although minor in the grand scheme of things is preinstalled nonstock apps may or may not show updates in the market.
And how does this differ from just reinstalling those saved apps from your sdcard (because i backup my favorite apps after i install them) after you start over from scratch or restore from an old nandroid backup
What say you ye app creator
Sent from my PC36100 using XDA App
v_lestat said:
Regaw -
Does this allow the market to update said apps? Or no?.
One thing thats frustrating to me although minor in the grand scheme of things is preinstalled nonstock apps may or may not show updates in the market.
And how does this differ from just reinstalling those saved apps from your sdcard (because i backup my favorite apps after i install them) after you start over from scratch or restore from an old nandroid backup
What say you ye app creator
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Not sure on the market updates, will check tomorrow. It differs from the sdcard backups by making a signed zip to flash in recovery instead of clicking each one to install in a root explorer. You can do all that at once by flashing a zip. I'm sure you know that though lol This app also contains most of the stock 2.2 apps that came on the phone as well.

[DEV][Windows/Linux][2012-05-14] Custom Rom Creator Studio v1.2

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
I look forward to trying this out.
Sent from my SAMSUNG-SGH-I897 using XDA App
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.
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?
fantastic software! love the design
Shiftok said:
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?
Click to expand...
Click to collapse
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.
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:
Problem signature:
Problem Event Name: CLR20r3
Problem signature 01: crcstudio.exe
Problem signature 02: 0.9.0.0
Problem signature 03: 4dd1be2c
Problem signature 04: mscorlib
Problem signature 05: 4.0.0.0
Problem signature 06: 4d53693b
Problem signature 07: 3fd5
Problem signature 08: 1a
Problem signature 09: System.ArgumentNullException
OS Version: 6.1.7601.2.1.0.256.1
Language Code: 1058
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Read our privacy statement on the Internet:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0419
If the privacy statement on the Internet is not available, check with its local variants:
C: \ Windows \ system32 \ ru-RU \ erofflps.txt
Click to expand...
Click to collapse
Shiftok said:
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:
Click to expand...
Click to collapse
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.
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.
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.
Tritan88 said:
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.
Click to expand...
Click to collapse
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 //
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
Code:
---------------------------
---------------------------
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
---------------------------
Gonizahavy said:
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
Code:
---------------------------
---------------------------
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
---------------------------
Click to expand...
Click to collapse
Ok, thanks.
It's the creation of the logfile that fails.
I will fix this, and release a new version asap.
Sent from my GT-I9000 using XDA Premium App
This is my Error Message:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i was used your new exe file. it shows me 2 messages:
1)
2)
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 //
Thanks! It works!
Shiftok said:
Thanks! It works!
Click to expand...
Click to collapse
Great, I will release a new version tonight.
Sent from my GT-I9000 using XDA Premium App
Very grateful to work.
This version did start up. Going to run it through its paces when I get time.

[tool] AIPPackager and Installer - create installers for your RT Desktop apps [14/01]

This version/thread retired
new version - with source - can be found here: http://forum.xda-developers.com/showthread.php?p=36854150
This release composes of two parts:
The RTDPackager which creates an AIP file, and AIPInstaller which is the installer for these AIP files.
V1.1 of RTPackager release - now fully functional.
AIPInstaller Usage
Place the exe file and associated DLL in a folder somewhere sensible. I have not tested in ProgramFiles yet but the app elevates UAC so should be ok.
Double click on any AIP file (I include one as an example) and windows willl show this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
select 'more options' which will show this:
check the check box at the top and then click 'Look for another app on this pc'
A browse dialog will open - find and select AIPInstaller and you are done. You only need to do this the first time. I intend to add an auto install to this, so in future you can just double click the installer and it'll set itself up, but till then...
From now on, you can double click an AIP file and the installer will pop up. Usually just hitting 'install' will be all you need to do (there are some advanced functions like disabling the install batch if it exists, and changing the install path which isnt really recommended)
RTDPackager Usage
This utility is designed for creating AIP files. Its worth paying note that the AIP format is designed for repos more than it is the installer - so there are a lot of details here which the repo can use to make you app more visible.
V1.1 now has full open and save support.
Save will save a template XML, which can be loaded later with the Open button. Open will also open an existing AIP file and fill in the details.
Create Package no longer saves in the same place as the files being packaged - it opens a save dialog.
The browse button will now work and populate the run EXE field and the folder field.
some details:
AppName is the display name - and the install folder - so avoid \'s and such. If you change this in an update, it will get installed to a new folder.
Updates are detected based on the App GUID. Change this, it will appear as a new app - use the same GUID on more than one app and you will have conflicts. The generate button for GUID *DOES* work - you should only use it on the first release of your app - and for the time being, keep it safe for any updates.
Run EXE is the exe that will be launched by the store when the user asks to run it - and if a shortcut name exists, will be placed in the start menu.
Install/uninstall batch files are option batch files for installing/uninstalling registry settings and the like. There is currently no uninstaller, but the store app should have this built in - the uninstall batch is NOT for deleting files - the store will handle that.
App version number is a REAL number. ie. 1.03 is ok. 1.0.3 is not.
App category is for placing your app in a 'folder' - it is free form, with | splitting. Anyone can create a new category this way and its not up to the repo manager to manage this. Obviously it will work better if we have sensible categories such as 'Apps|Browsing' or 'Emulators|GameBoy' - while its totally possible to do 'djboo|prerelease|funthing' - i hope we dont do that.
DOWNLOADS
First Release of AIP installer: http://forum.xda-developers.com/attachment.php?attachmentid=1644222&stc=1&d=1358172785
V1.1 Release of RTD Packager: http://forum.xda-developers.com/attachment.php?attachmentid=1644631&stc=1&d=1358184708
Example AIP file (is in a zip as XDA wont allow the AIP extension): http://forum.xda-developers.com/attachment.php?attachmentid=1644224&stc=1&d=1358172785
reserved
Note: Once the RTD Packager is complete, code will be shared for both - that should be tonight.
Nice work so far, haven't tested all elements of it yet but it looks pretty good! Keep up the good dev work!

[GUIDE] Road to Android app development!

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello fellow xda users, I'm here again with another project, but this is slightly different from the many I post.
Here I will be teaching you Android enthusiast how to prepare and build/modify applications for your use or anyone's use.
I will have to admit I am still learning in this field of development but I would like to start this thread off now so I won't have to write out so much after I learn more.
So this means I will keep this thread going when I learn new tips, tricks and ideas. This way we can progress at the same level, and get to understand about Android development easier. And hopefully one day this thread could become a great resource thread for new Android developers and users.
Click to expand...
Click to collapse
[x] First off all, you will need your brain.
Click to expand...
Click to collapse
[x] Eclipse Studio (For building applications from scratch or source) - Here
Click to expand...
Click to collapse
[x] Apk Decompiler (Plenty of these are floating around xda) - Here
Click to expand...
Click to collapse
[x] Paint.NET/Photoshop (Used for editing images - .png and .9.png) - Paint.NET - Photoshop
Click to expand...
Click to collapse
[x] Notepad ++ (For editing code within the decompiled app - xml - class - dex) - Here
Click to expand...
Click to collapse
[x] JD GUI (For viewing and editing the .Java files( Src) without decrypting them. - Here
Click to expand...
Click to collapse
In Android/Programming, a source code is any collection of computer instructions written using some human-readable computer language. The source code of a program is specially designed to facilitate the work of computer programmers, who specify the actions to be performed by a computer mostly by writing source code.
The source code is often transformed by a compiler program into low-level machine code understood by the computer, this means you will not be able to read it, it will just appear as random symbols. The machine code might then be stored for execution at a later time. Alternatively, an interpreter can be used to analyse and perform the outcomes of the source code program directly on the fly.
Most computer applications are distributed in a form that includes executable files, but not their source code. If the source code were included, it would be useful to a user, programmer, or system administrator, who may wish to modify the program or understand how it works.
Click to expand...
Click to collapse
So I am assuming you have downloaded the Android SDK Bundle form the "What's Needed" section.
Here I will show you how to view any applications source code, this is really useful if you want to remove or add functions in an application.
Now this bit is far different from others on how they tell you to set it up, and it can be confusing for some. So I have taken then step to make make a .zip which contains everything needed to view the source code.
You can download this .zip from here. Extract the contents to your desktop using any unzipper (Winrar).
Now open Eclipse Studio from the SDK you just downloaded, and set a workspace (Leave it as it is). Once you're actually running Eclipse. Now the file you extracted to your desktop area (A2J) move that folder to your workspace. (C:\Users\yourcomputersname\workspace). When you have moved the "A2J" folder to your workspace. Close Eclipse and re open it. You should see a new project on the left project panel called "A2J".
Now download the applications source code that you want to view/edit and download it. The easiest way to download it is to go to the Play Store, search for the application, copy the URL, go to this site and then paste the URL in the site then download the .apk file.
Click to expand...
Click to collapse
Once downloaded, rename the "appsname.apk" to "app.apk" and then save it. Once saved, right click on it and click "copy", now head back into Eclipse and in the left panel, right click on "A2J" and click "paste". Then your app should appear in the project space, you may need to press the little arrow to view the files in that project.
Once the .apk is in there. Right click on "A2J" again and select "Run as" then select "Run Configurations" In the window, make sure the "Main Class" is set to "com.googlecode.dex2jar.v3.Main" if it isn't then copy that and paste it in that area. Now click "Arguments" change the "Program Arguments" to "app.apk". Then click "Run".
Click to expand...
Click to collapse
It will create a pop up telling you that there are some errors, click "Proceed" and wait till the command window at the bottom says "Done."
Once its done, right click on an empty space in the left project panel and click "Refresh". This will show you a "dex2jar" file under the "app.apk" file. Right click the ".Java" file and select "Copy". Once copied go to your desktop and select "Paste". Once pasted, extract the "JD GUI" .zip proved in the "Whats Needed" section to your desktop.
Then drag the ".Java" file onto the "jd-gui.exe" file. This will open a window. I personally find it annoying to edit/view the code form that application. So click "File" and then click "Save all sources". Save the file to your desktop. Extract the .zip and use "Notepad++" to view or edit the code.
Click to expand...
Click to collapse
More coming soon as I've exceeded my Data Limit. Again.
Click to expand...
Click to collapse
Taking this...
And this. c:
Uhm this one too...
Last one

[Tutorial] How to remove any Ads on any apk without root

Hello,
Today I want to share with you a method to remove any ads from an apk that should work on any Android version without root permissions.
You will need a minimum level of skills to understand the method and a computer (needed to edit the apk).
Obtain the apk
When you install an application, its apk will be placed in /data/app directory. However, you need a rooted phone to access that directory. Luckily, often there is a pre-installed system application to backup your apps (on Huawei there is Huawei Backup) that can access that folder. Thus, you don't need root permissions. You can use this backup pre-installed app to save your apk on the sd and transfer it on your computer.
Edit the apk and re-install it
I'm assuming that you're on Linux, but the same can be done with Windows or Mac. Continue with the following steps:
An apk is just a zip file, thus extract it in a folder. On Linux:
Code:
$ unzip com.example.apk
Now, try to look at the strings, regarding ads, in plain text inside the file classes.dex (you don't need to extract it). For example:
Code:
$ strings classes.dex | grep "ads"
Keep note about all the ads urls contained in classes.dex (e.g. googleads.g.doubleclick.net)
Use an hex editor as GHex or Bless to replace these ads urls with invalid urls (I suggest to use the same length). So, for example, you can transform: googleads.g.doubleclick.net into foobarfoo.b.arfoobarfoo.bar.
Save overwriting the original classes.dex and zip all the files into a new apk (e.g. com.example_noads.apk)
Sign the new apk. The process is easier using some tools (look for apk signer on google, there are one click tools).
Transfer the new apk on your phone and install it (the phone should ask if you want to upgrade your app, say yes).
In this way, the application should work as always, but it will try to load the ads from invalid urls. Thus, it should not display any ads.
Note: I've tested this method and it works, however it's possible that some applications are encrypted thus there aren't plain text ads urls.
EDIT: I added a new step where you must sign the new apk. In fact, this is the rule. However, when I wrote this post I didn't talk about that, because in my case I found an application that I succesfully re-installed without re-sign the apk (bug? hash collision? I still don't know).
Application implementing this method available: Purify
I developed an application to do all this process directly and automatically on your phone!
The application is still unmature, consider it a proof of concept. It will remove only google ads for the moment.
Click here to see the source code on GitHub
If you want to try the compiled apk:
Note: This is the first pre-release, keep in mind that it is just an example of implementation. Some purified applications could crash, for example because they don't handle the wrong urls or for other reasons. However, I tested it on some apps and it seems to work. Unpacking, editing and re-packing the apk can require few minutes. Please read further details on the github page linked above.
Hey there, thank you very much, I used Purify on android 8.0 and works great. It didn't sign my apk but I signed it from the pc and it installed and worked correctly without ads. Great!
Edit: Zipsigner isn't on the play store any more but I downloaded and installed the apk from apkpure and it signs it but doesn't do it well because it doesn't let me install it after that no matter what kind of sign type do I use. So I sign it from the pc using "signapk"
Nice app.....now a days ads from other sources are increasing such as facebook.ads, mobileads, inmobi,etc.....to my knowledge, manifest.xml contains every ad activity, service, receiver etc.....is it possible to add an interface to selectively remove those....so that i can remove any ad from any app.......by the way....thanks for your work?
I could call this "Unlucky Patcher". It broke all apps I applied on.
thank you for sharing. i hope you can revive this with some updates. would like to download the apk in github releases too.
Is it still working because I have tried on latest android version where I followed the below step and I got the error as "There was a parsing issue with the package".
1. Downloaded APK file and renamed it's extension from .apk to .zip.
2.Extracted the files in one folder and edited classes.dex file using HxD editor and searched for "https://googleads.g.doubleclick.net" and replaced with "https://foobarfoo.b.arfoobarfoo.bar".
3. Later I zipped back and renamed the file from .zip to .apk.
4. Generated keystore using jdk keytool and signed with jarsigner. for more information(https://stackoverflow.com/questions/4853011/how-to-sign-an-android-apk-file)
5. Did Zipalign using the above mentioned link and transferred file to my Android 10 OS .
Can anybody help if there is any problem with app signing or compressing the files. thanks
Nrin said:
Application implementing this method available: Purify
I developed an application to do all this process directly and automatically on your phone!
The application is still unmature, consider it a proof of concept. It will remove only google ads for the moment.
Click here to see the source code on GitHub
If you want to try the compiled apk:
Note: This is the first pre-release, keep in mind that it is just an example of implementation. Some purified applications could crash, for example because they don't handle the wrong urls or for other reasons. However, I tested it on some apps and it seems to work. Unpacking, editing and re-packing the apk can require few minutes. Please read further details on the github page linked above.
Click to expand...
Click to collapse
I did all as you said and I have apk
icallscreen_82_9601261.apk-purified.apk
bat I can't install it?!?!
Interesting,didn't know about this
removing ads is one thing, but what about fignerpritning & anayltics?
Hello, im looking for an app that can remove all kind of ads in apk other than google, like ads shown by modders in the aps. will attach a screenshot which shows an ad from modder for one app in first thing after installing the app and opening it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
the generated apk fails to install on miui 12
ON MIUI 13 Lucky patcher 10.2.6 works perfectly
pankajk said:
Is it still working because I have tried on latest android version where I followed the below step and I got the error as "There was a parsing issue with the package".
1. Downloaded APK file and renamed it's extension from .apk to .zip.
2.Extracted the files in one folder and edited classes.dex file using HxD editor and searched for "https://googleads.g.doubleclick.net" and replaced with "https://foobarfoo.b.arfoobarfoo.bar".
3. Later I zipped back and renamed the file from .zip to .apk.
4. Generated keystore using jdk keytool and signed with jarsigner. for more information(https://stackoverflow.com/questions/4853011/how-to-sign-an-android-apk-file)
5. Did Zipalign using the above mentioned link and transferred file to my Android 10 OS .
Can anybody help if there is any problem with app signing or compressing the files. thanks
Click to expand...
Click to collapse
aye bro did you find the solution?
hey I tried everything but unfortunately without success the ads stay unfortunately! Unfortunately the sylkat apache is not available for purchase without ads! tried everything! can someone help me please! have a good app for signing too ! Thanks
I have Android 10 and Android with root on the Nintendo Switch
This No Work with my Apps
googleads.g.doubleclick.net into foobarfoo.b.arfoobarfoo.bar
Thanks
I remove the ads ! Happy ! Remove ads in Apache sylkat and mobile telnet ! With lucky Patcher

Categories

Resources