yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Nikhil:
Thanks [MENTION=5554397]logosA[/MENTION], you should be mentioning [MENTION=1852653]RajatPatel[/MENTION] too, we work together. :)

Follow the screenshots, it is clearly shown by [MENTION=5554397]logosA[/MENTION]

Yup. You can.

The differences are..

1. You will be able to choose which apps you want to install at runtime. TB installs all the Apps at once, you want it or not.

2. You can add new groups to same/different project in the tool and can have ringtones, system apps, fonts, bootanimations, etc all together in one zip file. Update.zip created by TB only has apps.

3. You will also be able to delete files using this tool (in coming versions) so you can be ready with what files you want in your System after your device boots up.

4. The zip created by TB restarts your System after you flash that, some of us don't want that, There are other zips which we would like to flash and since the device restarts, we have to enter into Recovery again to flash that zip.
[Android Software/Hacking General [Developers Only]] logosA:
yes you are absolutely right , I am sorry about that [MENTION=1852653]RajatPatel[/MENTION], post was edit
[Android Software/Hacking General [Developers Only]] RajatPatel:
No worries bro! And thanks for all the credits. :)

Though honestly speaking, I'm finding very little time to follow the thread these days since I was on a work trip in the Middle East last month. Just arrived back in India this Sunday. Having said that, I'm hoping to continue development with [MENTION=4867515]Nikhil[/MENTION] soon this month when I get some free time from work. :fingers-crossed:
[Android Software/Hacking General [Developers Only]] logosA:
Very glad to hear that. Android always needs people like you, contributing so much and ask nothing for return

:good::):good:
[Android Software/Hacking General [Developers Only]] reis1996:
If I flash the zip. Do the apps become a system app
[Android Software/Hacking General [Developers Only]] m0han:
just an fyi: mybackup pro lets one choose the apps to restore and it restores the corresponding app data as well.
[Android Software/Hacking General [Developers Only]] Nikhil:
In Recovery? TB does that too if you are talking about doing it from application.
[Android Software/Hacking General [Developers Only]] logosA:
[MENTION=4867515]Nikhil[/MENTION] and [MENTION=1852653]RajatPatel[/MENTION], I would like some guide here, if you can please help me.

I want to delete some apps from the project that I have made using titanium update.zip and add some others instead.

Can I do that? would You tell me how to do it?

I can always make a new one in 5 minutes, I just want to see how this can be done

As the number of apps I use, become more and more, it would be easier to just keep the main core and add or remove what no longer use or like.

Thank you for your time and all the efforts you have made for us.
[Android Software/Hacking General [Developers Only]] m0han:
if that's the case, what does your comment that i quoted in my post clearly mean?
[Android Software/Hacking General [Developers Only]] Nikhil:
Hi,

As of now, deleting mechanism is not added.

This weekend I will be focusing on adding support for deleting any file from any location. If everything goes fine, I will share a test build with you. :)

It means that zip created by the tool allows you to choose which apps to flash in recovery whereas the zip file which is generated by TB doesn't allow you to choose between apps and all the apps gets installed in one go (in recovery)
[Android Software/Hacking General [Developers Only]] logosA:
THANK you for your answer, forgive me for not properly thanks, I have reach my day limits.

Of course you can always count on me. Its the least I can do in return of all that you and [MENTION=1852653]RajatPatel[/MENTION] are doing for us
[Android Software/Hacking General [Developers Only]] m0han:
not a tibu pro user. clear now. :good: :cool:
[Android Software/Hacking General [Developers Only]] Nikhil:
Hi all,

If you are interested in testing new features before public release, join following telegram channel.

https://t.me/afzctesters

Thank you!
[Android Software/Hacking General [Developers Only]] gialakias:
I have one question. I build a zip with a system-priv app but the permissions of its folder are not 755 when I flash it. It is 777. How do I change that to flash automatically with the 755?
[Android Software/Hacking General [Developers Only]] Nikhil:
That's already fixed!

Try this test build and let me know if it works for you!

https://goo.gl/o1bou0
[Android Software/Hacking General [Developers Only]] logosA:
I have done picture 1 and 2 without using update binary for my phone.

flash it and receiver log NR1(azcTBBs...) but no Apps in drawer or folders.

Then did it again with update binary in the folder

Flashed it again >received log Nr 2(712bbs2). Same result.

I cant post in your telegram group so I posted here.

Please guide me if I can help in some other way
[Android Software/Hacking General [Developers Only]] ramsut:
If I want to push a lib file to /system/lib via custom group option. What values should I put in owner and group box below the permissions? ( I learning these things. So I don't know)
[Android Software/Hacking General [Developers Only]] Nikhil:
0 and 0

For future reference, You can use file Explorer like solid explorer, MiXplorer to identify the owner and group of files placed in your desired folder.
[Android Software/Hacking General [Developers Only]] ramsut:
Thank you. Being able to push file anywhere is really very useful. But it is showing me this error.

Edit - Tried to recreate that error again for clearer pic but it is stuck at 0%. But still, it's really useful tool and I know these bugs will be eliminated next time.
[Android Software/Hacking General [Developers Only]] ramsut:
OK. This error. Used version 4.1 t1
[Android Software/Hacking General [Developers Only]] Nikhil:
Did you make changes to Preferences?

Enable Android 5.x.x in Android Version and try again
[Android Software/Hacking General [Developers Only]] ramsut:
Nope. But I will try again and will let you know when I will be near my pc again.
[Android Software/Hacking General [Developers Only]] ramsut:
After enabling Android 5.x.x, it worked. Silly mistake on my part. Thanks. :)
[Android Software/Hacking General [Developers Only]] deobs:
testing

Hello,

I was trying to create a zip from imported one with V4.1beta when I ran in an issue (jar file ran through terminal).

See attached picture and log.

Hope this can help

[Edit] OK, my bad, sorry about that.
[Android Software/Hacking General [Developers Only]] Nikhil:
The solution is posted just a couple of posts above. :)
[Android Software/Hacking General [Developers Only]] drahpatel02:
Trying to extract afzc v4.1 t1.zip. Shows this. Please help
[Android Software/Hacking General [Developers Only]] gialakias:
Use 7zip
[Android Software/Hacking General [Developers Only]] drahpatel02:
Thanks, it works:good:
[Android Software/Hacking General [Developers Only]] gialakias:
It is working perfectly with the right permissions. I have also another question. Is it possible for the created zip to flash without the user to confirm the flashes in the aroma installer. I would like if it is possible to flash without any interaction for me.
[Android Software/Hacking General [Developers Only]] Nikhil:
I think I kept it present in v2.0.

https://xdaforums.com/devdb/project/dl/?id=21940

You might wanna try that if you are looking for creating a normal zip.

Do let me know how that works out for you!

I will work on it to include in latest version if more people want 'Create a Normal Zip' feature. I am already occupied and working on other features like delete files/folders and installing any other mod zip from generated zip. :)
[Android Software/Hacking General [Developers Only]] ramsut:
This custom group feature is great. I wanted to install SwiftKey as a system app at the time of flashing itself, for so long. But it always used to force close because of lib files. This time pushed lib files through custom group and the keyboard was available during setup wizard itself without any issues. Your tool is great. Thank you. :)
[Android Software/Hacking General [Developers Only]] Subinsmani:
Hai sir u wrk is awsm,,,, Now i want to add some build.prop code.

Like i want edit dpi, add google assistant code etc.

And it should be not remove on every system update.

Hope u Understand... :)
[Android Software/Hacking General [Developers Only]] Nikhil:
Glad that helped you! :)

Could you please share the zip file? it will save me some time in creating myself! :)

yeah,

Read few posts back, i have shared link to get the test version.

That test version includes custom group feature where you can specify the location of file that you want to flash.

I would suggest you to modify the build.prop yourself and create a custom group (set location to /system) and add that build.prop in that group.

I'm afraid it won't sustain after system update as of now (will sustain may be in future, that's part of to-do list) but you can flash the zip again to get those changes back for now! :)
[Android Software/Hacking General [Developers Only]] ramsut:
Here. I have kept the lib files intact but replaced apk in SwiftKey folder so that zip size will be smaller for uploading here. Delete it and replace it with SwiftKey apk. (Of course you know that.)
[Android Software/Hacking General [Developers Only]] Nikhil:
Testers,

Added another test build to telegram group.

Let me know how it works for you!

Changelog:

Delete Functionality added

-now you can create a group and add all the paths (file/folder) that you want to remove from your system while flashing.

https://t.me/afzctesters
[Android Software/Hacking General [Developers Only]] lacazan:
Good afternoon to all of you.

Thank you very much for the important contribution.

I've made my zip flaheable and it says I could not find META-INFI * with / google / android / updatebinary in the zip file.

Error installing zip file.

Can someone please lend me a hand?

I carry galaxy S7 edge.

Thank you.
[Android Software/Hacking General [Developers Only]] Nikhil:
Need some more info.

Made from linux? Or windows?

Placed update-binary in root folder? Or using universal-update-binary?

Can you open and navigate to the path mentioned and see if update-binary is present or not!

Answer these questions then only one can help!
[Android Software/Hacking General [Developers Only]] maxmotos:
[MENTION=6986693]nikhil h[/MENTION]ow can I replace the apns-conf.xml file with your zip creator? any way to have the ability to do custom groups like;

System/etc

System/lib

and to delete system apps such as chrome?
[Android Software/Hacking General [Developers Only]] kakabakk20:
where is the option of device list?
[Android Software/Hacking General [Developers Only]] Nikhil:
You don't need to select device. You can go ahead and simply create zip.

Post here if it doesn't work for you.
[Android Software/Hacking General [Developers Only]] qassa:
A java exception has occurred

Hello everyone ! hope you're doing really well !

When I've extracted the jar file, and then double clicked on it, this message comes out:

"A java exception has occurred"

Does this mean that my system is running out of any software setup ?

I'm using windows 7 ultimate SP1.

Thank you in advance.
[Android Software/Hacking General [Developers Only]] Nikhil:
Yes, probably.

Install the latest version of Java available and then try. Also a screenshot of error would help. :)
[Android Software/Hacking General [Developers Only]] qassa:
[MENTION=4867515]Nikhil[/MENTION]

Thank you very much, I've downloaded the latest JAVA JDK, and the whole thing worked fine for me.

Just a notice: when you try to uninstall one of the apps flashed by this method, it will not show "Uninstall" as usual, but it shows "Disable".

It's so great ! thank you once more !
[Android Software/Hacking General [Developers Only]] Nikhil:
That is because you have added system apps group. If you want to install apps which you would like to be able to Uninstall, create a data group and add files to that! :)
[Android Software/Hacking General [Developers Only]] qassa:
Thank you

[MENTION=4867515]Nikhil[/MENTION]

Yes in fact, everything were like you said, now i get rid of installing each app (270++ apps).

Thank you very much !!!
[Android Software/Hacking General [Developers Only]] itsmedRb:
It works nice. Hope we will get more planned features in short time.
[Android Software/Hacking General [Developers Only]] qassa:
zip file is corrupt

Hello everyone ! How're things goin'

Last time I tried to flash my apps via Flashable Zip Creator, I've created a system group within the project, and it worked fine for me, but when I've tried to create a data group then added apk files, and rebooted my phone to recovery mode to flash the zip, this message is displayed:

zip file is corrupt

error installing zip file '/external_sd/Flash_this.zip'

Anything to suggest to me in order to go through it ?

Is it right that,, the APKs names should have

NO SPACES

?

However, first time I flashed the apps added to System Group, there were SPACES in my apps names...

Thank you ! and take care !!!
[Android Software/Hacking General [Developers Only]] itsmedRb:
the best way to create package is naming all apks as package name. (a software for windows found in google search, can not remember the name ryt now, search google "view apk icon in windows explorer)
[Android Software/Hacking General [Developers Only]] qassa:
Thank you for the reply..

The which amazes me is that the procedure worked fine when I had created a system group, the apks were named normally (ex: Greenify 3.2 ...), but now with data group, zip is corrupt. :/

I'll try to name them elseway (x270 app)...
[Android Software/Hacking General [Developers Only]] itsmedRb:
try apk name as package name eg com.whatsapp instead of whatsapp 2.2. ...
[Android Software/Hacking General [Developers Only]] qassa:
Didn't work

This didn't work as well :/

I tried the version 2.0..it's displaying: "binary ***...****" ...
[Android Software/Hacking General [Developers Only]] Nikhil:
Yes, Currently working on Addon.d support (Ota survival). Those files which user chooses in Aroma will survive Ota updates.

You can keep track of progress here.

https://github.com/nikhilmenghani/AFZC/commits/v4.0

I have released/shared two test builds which contains features as follows.

1. Custom group (push any file to any location, even sdcard)

2. Delete group (delete any file/folder from any location)

I will release a new version when many more features are added and tested properly. You are welcome to join the testers group (https://telegram.me/afzctesters) if you feel like playing with more features before official release. :)

Could you share the zip file? Also try with one or two apps and see if that works for you! If that does then there is something wrong with one of the file that you are trying to zip. (probably name).

If you still face issues, Share zip and I'll see if anything is wrong.

For v2.0 you will need to import update-binary. You can fetch it from any working custom Rom zip and import it into the tool.
[Android Software/Hacking General [Developers Only]] qassa:
Here's example

[MENTION=4867515]Nikhil[/MENTION]

Hello !

Here you go with an example of apks I've tried to flash as data group.

.

.

my galaxy note 4 is note figurating among the supported devices of the v2.0.

So... i'm waiting smth new with this version 4.0 beta2

.

.

Thank you in advance !!!
[Android Software/Hacking General [Developers Only]] Nikhil:
Hi,

The same zip worked for me. Look at screenshot, it has the app installed.

From what I know, Aroma doesn't really work perfectly on Note 4, it is working with some workaround or using some binary.

Could you go through the threads of note 4 and identify the zip which is aroma flashable?

If you find so, extract the update-binary and update-binary-installer file from that zip and place the update-binary-installer file in the same folder as FlashableZipCreator.jar, Rename the file to update-binary and try to create a zip.

Once the zip is created, open zip and replace the generated update-binary and update-binary-installer with the one that you extracted with working Aroma flashable zip.

Flash that file.

Let me know how it goes.
[Android Software/Hacking General [Developers Only]] JrLD:
Very helpful

Thanks
[Android Software/Hacking General [Developers Only]] Kapiljhajhria:
Can i restore my Device id using this tool. Would just like to have a zip that ca restore my original device id after every new rom that i try.
[Android Software/Hacking General [Developers Only]] Nikhil:
Yes, If you know the file name and location where this id is stored, you can create a custom group and specify the location path, set permissions and add that file to that custom group. Generated zip will do your job.
[Android Software/Hacking General [Developers Only]] Kapiljhajhria:
Thats the issue. I have no idea where device id is stored. Google didn't help either. Only thing i was able to find out was that its a file with db extension.

Still looking for a way.
[Android Software/Hacking General [Developers Only]] JTruj1ll0923:
Hey just had a quick question regarding this awesome tool! So I am trying to create a flashable TWRP zip so that I can change boot animations on a Samsung S6 quickly. I have tried both the Boot Animation group and the custom group and I can't seem to get it to work. I would love to just use the Boot Animation group, but on this and maybe all Samsung devices the boot animations are stored as multiple .qmg files so I don't think I can use that as it is only for Zips unless I am doing something wrong? Then I tried the custom group and putting those .qmg files in it to try and flash that and it seems to install fine but then it won't boot up with the animations. If anyone has any advice or can help me in any way I would greatly appreciate it! And if possible it would be great to add the .qmg file format into the Boot Animation group so it will work perfectly. Thanks again!
[Android Software/Hacking General [Developers Only]] qassa:
Now it's working

Thank you [MENTION=4867515]Nikhil[/MENTION]

Now it's runing fine ! Notice that I was using Dr.Ketan, now I tried RaceRom, it's ok.

Thanks for assistance !

Will help back one day !

Take care !
[Android Software/Hacking General [Developers Only]] itsmedRb:
Check if your qmg boot animation is in data/system folder

you can also check in root explorer method to change boot animation if it works before creating zip file

Also check after qmg boot animation location after flashing via zip. also check permission.

THEN report pls
[Android Software/Hacking General [Developers Only]] ttrash:
Can anybody tell me where can I find nexus 5 update-binary to provide it to devs? This wonderful tool does not work non my nexus :(
[Android Software/Hacking General [Developers Only]] Nikhil:
It does work on nexus 5!

What problem are you facing?

If you want update binary for your device, you will have to extract it from META-INF folder of any custom rom (LOS May be?). Once you fetch the update-binary file, you can place it in the same folder as of jar file. Then create a zip.

P.S. It should work on Nexus 5, tell me the steps that you are following and share screenshot of error.
[Android Software/Hacking General [Developers Only]] ttrash:
Well, I compiled latest release from GitHub and setting 'normal zip' option all works fine. If I choose zip Type Aroma (any version) the program put in META-INF the empty file updater-script (instead of update-script) and no update-binary. Flashing it in twrp i get the 'no update-binary' file error. Anyway, as normal zip works fine.

Another question: I've found update-binary from a custom rom and putted it on same folder of FlashableZipCreator.jar folder but it does not appear in zip. I'm newbie, what is the meaning of update-binary and update-scripts? Thanks a lot and sorry for latest OT question.
[Android Software/Hacking General [Developers Only]] Nikhil:
Well, I haven't yet released it. You could sure compile it by downloading sources but you will have to setup properly in your computer to get a correct build of jar file.

Why not download from downloads section in XDA itself?

If you want to download a test build, you can download it from below link.

https://goo.gl/26lh3A

If you use telegram, you can get those builds earlier than they are released on XDA by joining below group of testers.

https://telegram.me/afzctesters

Coming to your question, update-binary is an executable file which understands the commands entered in updater-script file. Updater-script file contains commands to push the file from zip to your system.

You need not worry about all those stuff while using the tool. It takes care of all the things. Just download the file from the link that I provided or from downloads section.

Let me know if you face any problem.
[Android Software/Hacking General [Developers Only]] indrako:
Hi, would like to try this for my redmi note 2.

I'm flashed my phone with RR android 6.0.1 and got some problem with sensor.

My project is to make flashable zip twrp for it. grab the sensor from stock rom and put it to ZIP.

Hopefully it will fix my problem......be right back for the update.

finger crosss................LOL

---------- Post added at 12:16 PM ---------- Previous post was at 11:26 AM ----------

Hi, would like to try this for my redmi note 2.

I'm flashed my phone with RR android 6.0.1 and got some problem with sensor.

My project is to make flashable zip twrp for it. grab the sensor from stock rom and put it to ZIP.

Hopefully it will fix my problem......be right back for the update.

finger crosss................LOL,,,,,

Wow there is no group system for bin, etc and dll.................which version is your video that have complete group for system????
[Android Software/Hacking General [Developers Only]] Nikhil:
The next build will have support for those partitions.

https://github.com/nikhilmenghani/AFZC/commit/3bfd560c632774119787e87d68d67f3f903f604f

I have shared it already in my telegram group of testers. Wait for few days, I would be releasing a new update. Currently I'm testing it thoroughly to make sure nothing breaks! If you want to get access to the test build, look at last couple of posts, I have shared link to it.
[Android Software/Hacking General [Developers Only]] ttrash:
Thakns a lot for your explanation and much more for your work. As soon as I Can I Will try to compile source and if you don't mind I will ask you which are the proper setting for building jar.

Inviato dal mio Pixel utilizzando Tapatalk
[Android Software/Hacking General [Developers Only]] KaMyKaSii:
[MENTION=4867515]Nikhil[/MENTION] you at some point plan to make an app like ZIPme? I believe it would be much easier for the end user to work within the Android itself. And a question: would it be better to work with shell script in updater-binary (because it's universal) than to use updater-script and need an updater-binary for each device? Or are you stuck in it for working with AROMA?
[Android Software/Hacking General [Developers Only]] Nikhil:
Yes, I have plans of creating an app. I am focusing on adding features to tool, when I will actually be coding in android, I will just have to port the logic as the tool is already in Java.

In my opinion it is better to use shell script as there are so many Linux commands that you can use while writing your own script + it is generic and works for most of devices (not all though).

I have implemented both of them in tool to provide universal support for all devices. There are devices like note 2 which doesn't support some commands like unzip. Aroma has support of both.

Next release will have an option to create zips without Aroma. ;)