yashsingh1/xdaforums huggingface dataset:
[Android Software Development] _Logie:
I'm pretty sure that's the way REALbasic handles it, there is a way to make it work under run as admin but I thought leaving it as a normal launch it'd be easier!
[Android Software Development] Proz00:
Thx

Can u make read the package info too?
[Android Software Development] Hammerfest:
This looks like a great tool! Make no mistake in my inquiry below, I will be using it :D

Some questions:

How does it handle Aroma and the other "mod" installers? I have tried to manually modify Aroma based installers but since I dont know how to deal with the .xml files properly, its lead me to using blank files/folders when modifying ROM .zips...

Anyway to make it remove other stuff like languages?

I speak english only and in order to lighten any rom up I normally remove the extra languages/keyboards/dictionary's (I also remove alarms/ringtones/notifications/videos/bootanimations I dont use. An example of size difference is the almost 70Mb~ CM7.2 file you can download, I turn into a 45Mb~ file for my HeroC)

A pre-request: didnt see it in the OP or other posts, but when writing this post and thinking about it, this cool app could be made into a godsend... HOW you ask? SCRIPTING! or Repetition if you will!

What do I mean? Well I test the Nightly CM9's for my trusty VZW-GTab (OG), and each night I find myself removing all the same APK's, Music/Videos/Audio/Bootanimation/Languages over and over again...

Now I am not a developer, so feel free to swarm, but If I could I would write an automated way to do it myself :D

Anywho, Ill say it again, thanks for a pretty cool app!
[Android Software Development] ...Awesome...:
This works great but will it affect ROMS that have Aroma Installer if i remove an apk?
[Android Software Development] breathlesstao:
That looks like it's gonna come in real handy. Thank you!
[Android Software Development] SilviuMik:
One small question, can u add support for *.rfs format ? ( Samsung stock rom ) Thank u and keep up the good work :)
[Android Software Development] A_U:
Love da simple operations :) thnx
[Android Software Development] karmakula:
I was looking for it

Thank you
[Android Software Development] Cookie Ninja:
Does this delete the apk and all other linked .odex, .js, .so and othe files associated with the apk?

Sent from my HTC Incredible S
[Android Software Development] adoool92:
just downloaded it :) its promising.. ill use it once i get an update for my rom to flash it :D looks good tho!
[Android Software Development] _Logie:
Just updated with Beta 3. See changelog.

Also @ragapa97 it just deletes the .APK from the ROM file.

@Proz00 - Package info? Sure I'll look into it!

@Hammerfest excellent post, I'll have a look into it. Never heard of Aroma before! So I'll have to research on how to work with it instead of against it :P! Any tips?

@SilviuMik I'll sure look into it, never heard of tht format before but it should be easy-ish to implement!

Thanks for the feedback guys!
[Android Software Development] dannyjpa:
Great App

Good job, but what do you think about doing this same procedure but for sbf files on original roms to free up some space from unuseful apps
[Android Software Development] bobapunk:
I was trying to swap an APK out of a ROM for the APK in another ROM. Everything seemed to go smoothly but the New ZIP with the new name that I create is nowhere to be found... It flies right through the compile (even though it says it could take a while) but it doesn't seem to be actually creating the new ZIP anywhere....
[Android Software Development] sgs9:
if i create a new folder in make prozess the same. save only in existing folder or desktop, see video. no .zip named it do it self ;-)
[Android Software Development] bobapunk:
Sorry, I didn't really understand your last post. Either way, this is not compiling a new ZIP for me. I have tried saving to the desktop, there is still no ZIP there. It says that the file was successfully completed, but there is no ZIP file in the directory I indicated.
[Android Software Development] sgs9:
sorry about my bad english,

first i try in new.zip building, to make a new folder (no way), second time i let the path from apk swapper, it was in the folder from apk swapper.exe with MyROM-name(without .zip) i set.

:angel: maybe the developer can help
[Android Software Development] Zaiaku:
Please don't take this the wrong way but I'm trying to see all the use of this app.

Currently right now I do the same thing but just loading the file in WinRAR and delete or add apk's at will along with other stuff like host file and bootanimation you know things like that. Does this app give me something more then that? Again not trying to thread crap or anything but trying to see if this gives me something more so I can use this app instead.
[Android Software Development] sgs9:
:-)

I think for beginners it is so easily first.

-
[Android Software Development] androidcues:
this tool will be much more essential if it's automated to the hilt. i know exactly what needs to come out and needs to go in when i engage in crack flashing activities such as a nightly... there were over 300 nightlies for the dream_sapphire. So... with that you know you will be downloading a ROM them flashing it then garbage out and essentials in... so automate it so that when file is downloaded its run through templates and you flash it right at the finish line of nyour tool. That's a whole freaking months with of time you'd otherwise lose nitpicking at a menial task.

If I had a penny for every single music.apk I've had to annihilate..
[Android Software Development] Волк:
+1, or at least something like a last session save which automatically inserts/removes the same apps you did before.
[Android Software Development] thx1200:
This app would be amazingly handy if it had just one more feature: saving the ROM "state" so that when new versions of the same ROM came out, you could load your old state, and it would immediately know which APKs to delete and which ones to add. For APKs that store version number in the filename, like SomeCoolApp_1_0_0.apk, you could allow Regular Expressions to be defined. So if you want to exclude that app, you could define ^SomeCoolApp.*\.apk$ Which in RegEx tells APK Swapper to always exclude that app. The state files could be saved in some format that easy to parse, like XML, and we could share easy modifications to existing ROMs without having to roll up a new ROM.

If you aren't interested in implementing those features, I might be, if you feel so linclined as to share the source. ;-)

ETA: I should have skipped to the end of the thread to see others are already suggesting this. :-)
[Android Software Development] _Logie:
Love the feedback guys!

I'm currently working on a way to auto-delete .APKs based on names. So yeah, watch this space!
[Android Software Development] Cookie Ninja:
Feature request:

Please add ability to select (and delete) associated files with each apk (.lib, .odex, .js, other script and media files added into root/system/ directories). Merely deleting an apk simply does not remove the bloat it brings, only leaves orphaned files behind.

Sent from my HTC Incredible S
[Android Software Development] chaoscreater:
it doesn't work, I can delete and inject my own apks but it doesn't save the changes. I tried the option to create a new rom after making my changes, and it says created successfully but I don't see anything. It says it will take a while but it just finished in 1 second or so.
[Android Software Development] _Logie:
Hi guys I've just noticed the bug in beta 3.

Today I will be releasing beta 4 which has a range of updates.

Keep your eyes peeled! No ETA yet as I'm having breakfast!
[Android Software Development] Majkio:
I look forward to Beta 4. Since beta 3 for unknown reasons to me does not make me a zip file
[Android Software Development] _Logie:
Just working out the last bugs of beta 3 now guys. Shouldn't be long!
[Android Software Development] _Logie:
Beta 4 released.

Changelog and download link in first post.
[Android Software Development] sgs9:
Error!!!

Beta4 start, but in status -extracting ZIP to temp folder ... it stop. temp is empty :crying:

No apk in list.

On Win7 64bit

-
[Android Software Development] _Logie:
Hmm. That's odd, it worked fine on my end with Windows 7 x64.

Got screenshots?

EDIT

I've re-uploaded Beta 4. Try again anyone who downloaded it.
[Android Software Development] PacerguyDon:
Seems to be working ok on Windows 7x64. I removed a few apks and injected a few of my regular apks. It has been in the compiling new zip mode though for about 7 minutes now and is still working...
[Android Software Development] sgs9:
Now it s fine also for me, thanks a lot :)
[Android Software Development] _Logie:
No problem SGS9.

PacerguyDon, did it eventually complete? I'm working on that issue but at the minute the UI locks up but it runs in the background. Fix coming in the next release I'd say.
[Android Software Development] AndyPhreak:
Just tried this out on the stock .30 build ROM for ASUS Transformer Pad. As soon as APK Swapper starts "Reading build.prop data..." it crashes with this error:

"An exception of class NilObjectException was not handled. The application must be shut down."

Don't know how to enable debugging on this app, if there's a way please let us know...

(running Beta 4 on Windows 7 64-bit)
[Android Software Development] _Logie:
Have you got a link to that ROM so I can test it out AndyPhreak?
[Android Software Development] chaoscreater:
AutoDelete works, creating rom in .zip file works. So far so good.

I haven't tested the the compiled .zip rom yet, I'll post back once I do.

Oh and it may seem like the program froze or crashed while creating the rom, but just let it run for a bit and it'll finish. I waited 30s and it completed fine.
[Android Software Development] AndyPhreak:
Here's a link to a hosted copy (listed in philos64's index of TF300 resources here on XDA):

http://d-h.st/VUX

And here's a link to the ASUS support site, if you want to get it that way:

http://usa.asus.com/Tablet/Transformer_Pad/ASUS_Transformer_Pad_TF300T/#download

MD5: 1B1B25E08335AF62820DAF050AECE2BA (for the U.S. ROM version, build .30)
[Android Software Development] _Logie:
Cheers ChaosCreater, let me know how you get on!

I'm going to download that ROM and play about with the app and see what I can come up with AndyPhreak, thanks mate.

EDIT

@AndyPhreak if you look at the structure of that .ZIP file it's completely different to the ROM files from here. That's the reason for the error, the program is working as designed.
[Android Software Development] AndyPhreak:
Yup, it's a blob, was hoping your program would handle it but I guess not.

Though this thread is posted in Android Software Development and not in a vendor-specific forum, and I didn't see anything in your OP that indicated that it would not handle a blob vs. an .img ...

Can't blame a guy for hoping. :o
[Android Software Development] _Logie:
Sorry mate, I thought that might have been a sufficient explanation! I might add more formats in the future but for now I just wanna get this working stable:fingers-crossed:!
[Android Software Development] bosox04:
The sorting doesn't sort by size (Bytes), it sorts like this-

1015415

10160

10268

118528

11898

I guess its a more alphabetical sorting than recognizing number values and sorting them.
[Android Software Development] _Logie:
Oh I've actually forgot to add the event in, it'll show that it has re-ordered them but infact it hasn't! Ill add it in for the new version :)!
[Android Software Development] Archer:
Keep it constructive or don't post. Thanks :)
[Android Software Development] chaoscreater:
dunno if you're just stupid, or trolling.

If you were to delete the apk files manually by going into the zip folder, how do you "choose" all the files with "one button" click? You'd still have to manually select the ones you don't want. How is that different to manually selecting the apk files using APK Swapper then?

2ndly, APK Swapper is actually a lot faster since it contains an "autodelete" script. Just setup the script once, and you won't have to do it again in the future. It automatically deletes the apk files based on the list of entries in the script.

Lastly, this is useful for newbies who might not be comfortable with deleting the apk files manually by going to the rom .zip file. APK Swapper shows only the apk files and nothing else, so it's much straightforward and simple for newbies.
[Android Software Development] moav:
OK, I missed the part which script the apps I've removed, so it is smart. I thought it was only letting you delete like normal windows explorer function. I'm taking it back. Now to be constructive, I'd add information about those apps in that folder, which are safe to delete and what do you loose if you do. Furthermore I'd add other folders like the media folder to delete unused ringtones and such.
[Android Software Development] _Logie:
Thanks Chaoscreater. Appreciate that review.

Moav, this app is still in beta. I'll be adding more to it with each release. There are features which are being developed at the minute (autoadd for example) and I listen to community feedback to see what they want/don't want and need, I try to fill out as many feature requests as possible so I don't appreciate the kind of feedback you gave. If it was constructive then I would be open minded and accept it, but when it's posted in such a fashion as you posted then it becomes idiotic. That said, I'm glad you've taken it back.
[Android Software Development] Anon87:
hi.

First thanks for creating this application. I've been looking for something like this for quite a while.

Does it work with Aroma .zips?
[Android Software Development] _Logie:
Excuse my ignorance mate but I'm still a bit slow on the terminologies of some things. What's Aroma ZIPs?
[Android Software Development] _Logie:
Anyone got any feedback? :)
[Android Software Development] root:
Me :)

Instead of extracting the ROM, go over the ZIP structures and either replace the path or rename from APK to "WTF". This is going to be infinite faster.

Anyway a great program, i had this one about patching the zip structures in my sleeve as i already wanted to do something like this but never found the priority :)

Thank you.
[Android Software Development] root:
Furthermore, stop using messageboxes, they are annoying as hell, even more for autodelete.
[Android Software Development] _Logie:
Ok... Noted.
[Android Software Development] _Logie:
Updated with Beta 5. Changelog on first page as is the download link.
[Android Software Development] adoool92:
in beta5 when i drop in the .zip file to delete some apk the 7zip.exe and apklibraries show up with the apk
[Android Software Development] _Logie:
Thanks for the feedback, ill look into it.

What is the program folder structure layout like?
[Android Software Development] adoool92:
this is the folder after extracting the apkswapper.zip and just went to put the rom in the folder to access it easily.. then just open the apk swapper and drag n drop the rom well thats what it looks like if thats what u r asking for :) i didnt have this issue in beta4 just to let u knw i hope that helped cuz it seems to me that the apk swapper includes the other files with the rom in the same folder BTW it says on top beta4>apk swapper well thats cuz i went back to using beta4 after the issue that occurred in the first screenshot but still has the same exact folder structure
[Android Software Development] _Logie:
I'm able to recreate the problem on my end. I'll have it fixed and a new version uploaded today. Thanks for the feedback!
[Android Software Development] _Logie:
Updated with Beta 6. Changelog in first post.
[Android Software Development] adoool92:
hey beta6 is great!! no issues...thx for your time and effort
[Android Software Development] _Logie:
No problem bud, I try to fix problems when they rise!

Hope you enjoy it :) If you have any feature requests let me know.
[Android Software Development] B.Maximenko:
I found a nicer solution for me. I've created a customize.zip file for CWM which deletes all the stuff I don't need like some ringtones, apks, tts for unneeded languages; replaces hosts file with one patched for no ads, gps.conf for my region, adds Tasker, Cerberus, ringtones etc. And then all I need to do is to flash it on top of newly installed rom. Periodically I update apks inside the zip with latest versions.
[Android Software Development] hewlett777:
Getting an error "An expection of class NilObjectExpection was not handled. The application must shut down."

Any ideas?

Thanks
[Android Software Development] vNa5h:
Damn

You are a lousy programmer

sort by size just sorts the files according the the first digit
[Android Software Development] _Logie:
Thanks for this awesome constructive criticism, this will really really help with the development of the app. :good:.

Can you tell me what you were doing when this happened?

Nice one, I'd say that's pretty handy. :)
[Android Software Development] hewlett777:
Well, I'm dragging a zip of the SG3 stock ROM to extract the .apks from it.

I can drag it over the blue bar, then there is a progress bar which fills, then I get that error.
[Android Software Development] _Logie:
Got a link for that ROM?

EDIT

If it's stock it may not work, I haven't tested it with stock ROMs yet. Only custom ROMs. I'll check it out if you link me :).
[Android Software Development] hewlett777:
http://support.asus.com/Download.aspx?SLanguage=en&m=Eee+Pad+Transformer+TF101&p=20&s=16

got it from here, got another stock rom on xda somewhere but can't find where :/
[Android Software Development] Jacksmyname:
This looks cool.

Can I use it to extract an .apk so I can install a particular app on my tab?

There's one in the UK version of ICS that's not in the US version that I'd like.

It's the file from sammobile, so it's an image file I want to extract the apk from.

Thanks.
[Android Software Development] _Logie:
Sorry bud, it only works with custom ROMs!

If its a custom ROM it will work, the app still doesn't work with stock ROMs. Sorry!
[Android Software Development] Jacksmyname:
Ok, thanks.

Can you point me in the direction on how?
[Android Software Development] hewlett777:
I'd also like to be pointed to the hows please!
[Android Software Development] _Logie:
I don't have an app that will do that for you as of yet guys but you could try the method posted here. I may look into creating an app for this, it'll be a while though!

Updated to beta 7.

Changelog in first post.
[Android Software Development] _Logie:
Added beta 8. Silly bugs in beta 7 that I didn't look over.
[Android Software Development] ngh55:
Mod edit: Please only post relevant and constructive information, or don't post.
[Android Software Development] oldlight:
It didn't work when extracting ROM.

ROM info:

CyanogenMod - build date: 30/09/2012. (built from source)

Windows XP SP3

I tried to extract using Winrar and found a "duplicated" file at system\etc\terminfo\2\2621a and system\etc\terminfo\2\2621A.

P/S: Pls give advice.

Thank you.
[Android Software Development] _Logie:
Hi oldlight, would you mind posting a link to the ROM you downloaded? I'll download it and test it out :).

What do you mean using WinRAR? Did you not just drag and drop the ROM .ZIP onto the blue box at the top?
[Android Software Development] Michaelk706:
I get a problem with dropping a custom zip in and it decomplied it in my temp folder, but the app itself never completes.
[Android Software Development] oldlight:
Windows does not support case-sensitive file name!

Hi _Logie,

Sorry for late reply. This is just a pure CM10 ROM I build from source. Nothing special... And I did as your instructions, i.e. dropping ROM .ZIP onto blue box.

"Duplicated files" is the problem, I think... Since we are on Windows which does not support case-sensitive file name!

:D

P/S: can you try using this ROM for your test please ;)
[Android Software Development] m0d:
Swapper crashes trying to load zip, ( infinite loop? ) - http://goo.im/devs/Utacka/n7000/pa_n7000-2.51-25OKT2012-000243-Utacka.zip

Status says Extracting zip to temp folder

The temp folder contains the unzipped files

But, the program hangs on "Listing zip contents"

( the apks appear on the list, but the program does not respond anymore,, not able to select|do anything )

Any ideas of how to fix?
[Android Software Development] _Logie:
Updated to beta 9.

M0d test this one out, if it doesnt work I'll look into it for the beta 10 release when my uni work calms down a bit.

Oldlight give this one a go also, I couldn't get that error up but I've changed a few things.
[Android Software Development] m0d:
Still no luck, app just hangs

Files are extracted, though:

​

But, only right-click works, which brings up this pop-up:

​

Attached image of App in hanging around state

​
[Android Software Development] _Logie:
PM'ing you a test version m0d!
[Android Software Development] oldlight:
This beta 9 still hang at extracting my ROM...
[Android Software Development] _Logie:
Sorry for the delay guys, I'm still working on this. Basically re-writing the extraction process. However I've got other commitments (university, work, etc). Ill try and push this release for Monday!
[Android Software Development] rathian:
Any luck on getting a mac version of this app? would be tons useful....

In fact, it would be useful to be able to inject other stuff like ringtones and fonts etc....
[Android Software Development] Majkio:
I found a bug

I do not know if you can call it a mistake

Namely, I wanted to add a keyboard to the rom applications

Unfortunately-side application does not work

Receives all the time FC
[Android Software Development] tony_76:
This is a good idea. Sure some people will edit a rom before flashing but a lot of users don't know how and this just makes it easier. And definitely a lot easier than doing them 1 by 1 after a roms installation. Good work :)

Maybe you could create an Aroma edition edit for roms already installed? I know rom cleaner is out there but that's a bit overkill if you just wanna remove a few apps.
[Android Software Development] Jay794:
Just tried this, dragged a ROM into it and it says extracting but is it really supposed to take sooooo long to extract it?
[Android Software Development] Hampa_D:
same here been working for the last 30 mins or so but nothing happens.
[Android Software Development] _Logie:
Sorry for the huge delay in updates folks, university work comes first and I had a few exams last week.

Exams all done and I have no university for a week so I decided to fix this terribly embarrassing bug where it didn't extract at all. I'm finishing the last few bits (readme, MD5 check, ROM compiling, etc) and I'll update the OP.
[Android Software Development] zenosteam:
same issue here , hope that will be solved
[Android Software Development] HeadBlader911:
Not Extracting

Please fix, the idea is great and would use this a lot. I too am a flashaholic and would love to remove some of the bloatware before it gets to my phone. :fingers-crossed:
[Android Software Development] _Logie:
Re: [TOOL][BETA10][19/01/13] APK Swapper

Have you guys downloaded the beta 10?
[Android Software Development] HeadBlader911:
Re: [TOOL][BETA10][19/01/13] APK Swapper

I am running beta 10 but it still hangs when extracting the zip file.
[Android Software Development] _Logie:
Re: [TOOL][BETA10][19/01/13] APK Swapper

That's odd. Works for me when I use it. Ill have a look over it bud.

What ROM file are you using? Does it create a 'temp' folder inside the application directory when its running? If it does, check inside there to see if there are other folders/files. The speed varies depending on ROM size. I'm working on that this week.
[Android Software Development] m0d:
Yes, the problem is not with extraction. As before, the temp folder is created with files extracted,

but the program hangs

Maybe it is an OS issue.I myself am using Vista.

No difference with new version,

Hope you get around this issue
[Android Software Development] _Logie:
Re: [TOOL][BETA10][19/01/13] APK Swapper

Ah I see.. Ill have a look in to it this week. One of my friends has Vista on their laptop so ill test it out.
[Android Software Development] wong.izzat:
Me too. I am using Xp 32bit