yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] RajatPatel:
In addition to Nikhil's response, I would strongly agree that a Mobile App is a very good idea to eliminate the need of any desktop/laptop interaction. Moreover, let me tell you that I've started working on Mobile App prototype long ago and have been making progress in patches, but finding spare times these days have been increasingly difficult for us to develop an actually usable mobile app. Though, keep watching this thread - it will come in short future. That's all I can say at the moment. :victory:
[Android Software/Hacking General [Developers Only]] Maaz Muzammil:
helpful
[Android Software/Hacking General [Developers Only]] Ibuprophen:
Looks interesting... Hmmm... :)

______________

**Please Note: As always, I welcome any member to help with further valuable information/clarification for any of my posts.

https://xdaforums.com/signaturepics/sigpic4828250_7.gif
[Android Software/Hacking General [Developers Only]] toBsucht Psp:
Great tool! I use it since v3.x maybe saw a little late it was already updated to 4. Now i used 4.1t2 to pack a new rom for the latest device update from API23 to API24. It´s nice to see how fast you improve additionl features and options.

I saw a xda articel which shows how to sign roms for the firmware updater so i have a lot hope your tool can do that soon :)

A littel handycap touch in installer do not work if i do not set it to lowest aroma version (2.56). This happens with two kind of devices API22-24.

I´m really missing a save project option! My pc sometimes turns off faster as i can save a "full" rom.

Sometimes the application seems to be broken then i get some error messages while un-pack any project. If it occur i not only have to delete Prefernces.. also FlashableZipCreator.jar
[Android Software/Hacking General [Developers Only]] Nikhil:
You should try 4.1 t3, it has couple of more features in it and I am already enjoying those :D

Flashing Nightly builds without having to flash the zip again. Fonts, bootanimation, ringtones, etc system files are already present. One time zip flashing and it will survive Nightly builds. (addon.d support)

Signing a zip is planned, it actually depends on the love that people shows for this tool.

Yep, save project will also be there in future releases. I have fixed few things with regards to installer, check out the latest version (test build as of now) to see it that helps you in anyway.

I don't understand, I never faced any of such issue? Could you share the steps to replicate? Or screenshot may be?
[Android Software/Hacking General [Developers Only]] vygavedha:
Hi Nikhil..

I am using some tweaks zip such as moto camera, omini recent, moto gallery using different zips..

Is it possible to merge this zips to a single one using this tool?
[Android Software/Hacking General [Developers Only]] Nikhil:
Could you share those zips? Let me see!
[Android Software/Hacking General [Developers Only]] vygavedha:
These are the zips i flash after rom flash
[Android Software/Hacking General [Developers Only]] Nikhil:
I saw the zip, if you open it, you will see the folder structure. e.g. system/etc/somefolderOrfile

The tool allows you to push files in system/etc folder as well as sustem/framework folder. Once you create the group with system/etc path (similarly for framework), you can add the folders as per folder structure in zip. The file will get pushed to the path + folder structure that you create in tool.
[Android Software/Hacking General [Developers Only]] vygavedha:
I will try and update u the same
[Android Software/Hacking General [Developers Only]] cikenkari:
I tried with dropping update.zip from titanium backup, then flash through TWRP but only apps are installing, data aren't installed.

My phone isn't rooted. is it possible to push data created by titanium backup from twrp?
[Android Software/Hacking General [Developers Only]] Eleo:
I once tried flashing again the update.zip. First flash it restored apps, second flash it restored data of apps.

You need to reboot inbetween.

1. Flash ROM

2. Boot to ROM

3. Boot to recovery

4. Flash update zip

5. Boot to ROM, see that apps are visible in app drawer

6. Boot to recovery

7. Flash update.zip again

8. Boot to ROM

9. App+data should be restored

But I dont use that method anymore. For me it is easier and faster to restore apps' data from titanium backup app itself (magisksu rooted with safetynet passed)
[Android Software/Hacking General [Developers Only]] cikenkari:
Thanks but doesn't work, i have no option to root.
[Android Software/Hacking General [Developers Only]] Eleo:
You dont need root to flash update.zip twice. Did you read the steps thoroughly?
[Android Software/Hacking General [Developers Only]] ToxxMe:
Is there any chance to run this on Android?
[Android Software/Hacking General [Developers Only]] Nikhil:
This tool doesn't yet support restoring data. Supports only apps.

Flashing update.zip should do the trick.

You need not flash update.zip again to restore data. If the data is not restored till step 4, simply rebooting should work.

Yeah restoring from TB is easier. This tool is useful when you have more to flash than just apps.

Not as of now but it is planned. There are few features that I would like to add in tool. Once that is done, I will work on Android app. :)
[Android Software/Hacking General [Developers Only]] hunter99507:
Is there a way to take my twrp backup I made and convert it to a flashable zip file?

Thanks
[Android Software/Hacking General [Developers Only]] SuperSandro2000:
As far as I know twrp creates files of that partition and the easiest way would be just to restore them in twrp. You could extract the twrp files someway and flash them but I don't think this is recommended. If you want to flash apps I would recommend titanium backup. What do you want to do exactly?
[Android Software/Hacking General [Developers Only]] harisdelic:
I have an idea, if u could make this app to connect with phone over usb or something, and to recognize the app installed on phone and its data, and to be able to choose apps we want and its data, and to make it into flashable zip :D
[Android Software/Hacking General [Developers Only]] Nikhil:
Thanks!

I'll check the possibility and implement if I find a way.
[Android Software/Hacking General [Developers Only]] Nikhil:
Update v4.1

Changelog

Custom Group

Push any file/folder to any location with your custom permission

Delete Group

Delete file/folder from any location

Addon.d Support

Flash the zip once and you won't need to flash it again while flashing nightlies

It will backup only those files that you choose in Aroma installer

Now taking backup is in your control, you will get an option in tool as well as in recovery

Normal Flashable Zip

Flash all the files in one go without having to choose the same options every time in Aroma

Comes with Addon.d support

OTA updates

Improved OTA updates

UI

Revamped Preferences UI

Revamped Progress Bar (added circular bar)

Changed theme of the tool

Bug Fixes

Fixed Data apps not getting installed in some scenarios

Donate

Added Donate option for those who would like to buy me a coffee or appreciate my hard work after making this tool

Enjoy!

Many more things to come in next release :)

Download AFZC v4.1

Donate Developer
[Android Software/Hacking General [Developers Only]] Sher1234:
Tried & it's working fine

& Great UI of the app also red & black theme too
[Android Software/Hacking General [Developers Only]] logosA:
NICE NEW LOOK

Working fine here too

Excellent work as always. I am with you since the first days of your great tool and I have saved so much time since I am flashing maybe 2 roms per day,

Thank you very much

:good::):good:
[Android Software/Hacking General [Developers Only]] milav:
not able to download user access denied please provide another mirror thank you
[Android Software/Hacking General [Developers Only]] Nikhil:
Here you go.

Download AFZC v4.1
[Android Software/Hacking General [Developers Only]] DuskGolem:
Need help please.....

Hello Nikhil,

Please help me. I have Xperia Z5 Premium Dual with android 7.1.1 nougat, completely stock, rooted with SuperSU, busybox installed in /sbin, latest TWRP 3.1.1-0. I have tried to use your app in each and every way (probably missed something) but up to no avail. :crying::crying::confused:Always get error 6 in TWRP "updater process ended with error (without aroma installer)"while with AROMA INSTALLER it installs the zip but no apps have been installed. I am facing this error with data apps, not tried other paths yet.

PLEASE HELP ME. I HAVE ATTACHED;

1)My zip LOG

2)TWRP LOG

sorry i couldn't attach the zip files due to slow internet, but i made the zips in following order:

add project->xperia

add group(s)->Data Apps

add file(s)->de.mobileconcepts.cyberghost.apk

P.S: my phone doese support Aroma installer.......

IT WOULD BE NICE IF YOU PROVIDE ME A TEST ZIP MADE BY YOU. THANKS IN ADVANCE...
[Android Software/Hacking General [Developers Only]] Nikhil:
Can you share the zip file that you created? or update-binary-installer from aroma zip and update-binary from normal zip?

Aroma and normal both!
[Android Software/Hacking General [Developers Only]] tostep:
Information gathering?

[MENTION=4867515]Nikhil[/MENTION], what is the reason your tool version 4.1 gathers information about at least my name?

Here is part of console output (I've replaced your user name and password to ftp with asterisk chars '*'):

Upload URL: ftp://*********************:**********@menghani.com:21/AFZC/UserDatav4.1 Stable.txt;type=i
[Android Software/Hacking General [Developers Only]] Nikhil:
It is to see how many people are finding the tool useful. You cannot judge the usefulness of the tool by number of downloads, you can by number of times it has generated the zip successfully.

All it does is to keep the count of number of zips created successfully for an individual user. If not many people uses the tool I would not spend time in adding features and releasing new versions as I see only few of them are giving their feedback. That's discouraging for a developer when he works hard to provide cool features and users doesn't bother to spend time providing feedback.

Attached SS for reference.
[Android Software/Hacking General [Developers Only]] Hawaiihemd:
Alright, I like your tool. As I said a few months ago, I think it is the bomb. Actually I ran into trouble today and will be sending info on that later. But that's that.

Aside from that here is my honest opinion (no more, no less):

I for one can understand your reasoning behind collecting that information. But, I must oppose your way of doing it. If you want to collect that kind of data, you should make absolutely clear - in the op, and preferrably on program start as well - THAT you are collecting it and HOW. As far as I can see, there is no statement to this anywhere. That IMHO is not fair to users.

Personally, I don't like seeing my Windows User name in there. In my mind, that is crossing a line there. I think to see the usefulness of your tool the user's name is irrelevant.

My proposal: Make a clear statement about collecting data and make collection optional in the program.

If you (think you) need a user-correlation, offer a field to enter SOME name.
[Android Software/Hacking General [Developers Only]] Nikhil:
That's a good idea. Thanks!

It was anyway limited to v4.1 as the new feature that I am working on (for v4.2) is taking a lot from me and so I would invest time after it only if the users are using it and finding useful. (I'm working on a feature which would take backup of installed apps. All you need to do is connect your phone with your system via usb, rest everything will be taken care by tool)

As you suggested I'll add the same in OP and quickly re-upload the tool asking users for the confirmation to proceed only if they are fine with sharing the created zip count.
[Android Software/Hacking General [Developers Only]] Nikhil:
[MENTION=5880102]Hawaiihemd[/MENTION] [MENTION=4185544]tostep[/MENTION]

I have made the changes as you suggested, please download the tool again to see the changes.

As of now I made only few changes because of less time, a popup will come always and you will have to select No if you don't want tool to store the count, I will add a preference for it soon.

Download AFZC v4.1 Stable

I have updated the link at all the places.

Thanks for the suggestion! :)
[Android Software/Hacking General [Developers Only]] Hawaiihemd:
Problem when adding custom group

Ok, I tried to make a small example case:

Both times I added an app and a folder to delete.

Case 1) nothing else added -> zip gets created without problems -> Logs_207_Jul_2017_14_44_37.log

Case 2) in addition added Custom Group to add a file to "/sdcard0/Wallpaper" (in twrp internal storage is under "sdcard0" on my gt-i9100) -> zip creation stalls at 93% (for several minutes) -> abort by closing the program -> Logs_207_Jul_2017_14_47_19.log

You can see the file is corrupted as it can't be imported again -> Logs_207_Jul_2017_14_51_19.log

Logs, Zips and screenshots attached. Any more info you need, I'm happy to help.
[Android Software/Hacking General [Developers Only]] Hawaiihemd:
zips...
[Android Software/Hacking General [Developers Only]] Nikhil:
So in case 1, was the app installed?

Also could you try creating the zip with custom group using below link?

Test Build

Thanks for reporting!
[Android Software/Hacking General [Developers Only]] DuskGolem:
[MENTION=4867515]Nikhil[/MENTION] , here you go buddy, just hit the link. it includes binary and update zips that you asked for.:o

https://drive.google.com/open?id=0B_jmKjwJWManREFqTGFTWjBjSHM
[Android Software/Hacking General [Developers Only]] Nikhil:
Hi Mate,

There is nothing wrong in script that is generated.

You have chosen an incorrect update-binary. That binary doesn't support set_perm function.

You have to fetch the update-binary from any working Custom Rom for your device and then place it in same folder as jar file.

Which phone do you have? Also, Did you try generating zip without placing update-binary? if your device supports all commands from shell scripting, you won't need to bother adding an update-binary, you could simply create project, add files and create zip. Try that once. :)
[Android Software/Hacking General [Developers Only]] Hawaiihemd:
Hey man, you're really fast :eek:

In case 1 (with Test_for_Dev_1.zip built with v4.1 from a couple of days ago) , the zip gets flashed, but the app (AdAway) does NOT get installed. (see log)

Same thing with Test_for_Dev_4.zip (built with the test build you provided above, so building the zip worked :good:), the zip gets flashed, but the app does NOT get installed. (see log)

Observations:

With both zips, the app gets placed under /data/app but as opposed to another app (TotalCommander) that I installed normally from apk file while the system was running, the naming scheme of the folder seems wrong (see attached picture). The folder is the gone after I reboot the system.

Additionally, with Test_for_Dev_4.zip (which included a jpg file to put in /sdcard0/Wallpaper) the jpg file gets put there, but the file is only 163 bytes (!) in size. The real filesize in the zip is around 960 kilobytes.

Tomorrow I will test with an update-binary file.

---- EDIT ----

Oh and one more thing: Yesterday I built another zip file (just as I did today i.e. without an update-binary) to delete a few system/app folders. That part worked perfectly.
[Android Software/Hacking General [Developers Only]] Nikhil:
It would help if you could try few things.

1. Try Flashing attached zip and let me know if that works for you or not (worked for me and all I did was to import the zip and create again) (there was a syntactical error which got fixed by doing so, you could try the same with the zip no. 4 that you shared)

2. Mount system, data partition in your recovery manually and then flash the zip.

3. Use titanium zip to create update.zip and select only 1 app (adaway) while creating update.zip, import that update.zip in tool and create zip, flash and see if it works.

4. Use update-binary, place it in root directory and then do the process.

Let me know which of all works for you. All of them works for my device, make sure you use the latest zip that I shared. :)

Also, if it doesn't work for you, tell me the exact steps that you followed so that I can replicate here to find the issue.

Thanks!
[Android Software/Hacking General [Developers Only]] DuskGolem:
[MENTION=4867515]Nikhil[/MENTION], man you rock:good::good:. Well i guess i did miss that part of using universal binary:silly::silly:. Your tool is working absolutely fine on my Xperia Z5 Premium dual on android 7.1.1 stock rom. THANKS MILLIONS...........

P.S: KEEP UP THE GOOD WORK OF MAINTAINING THIS ABSOLUTELY BRILLIANT TOOL:):):angel:

Best Regards

Adil
[Android Software/Hacking General [Developers Only]] Hawaiihemd:
Ok, results as follows (numbering as in your post above). Latest testbuild provided used.

1) Did not work, neither with the Test_for_Dev_4_1.zip you recreated, nor with another Test_for_Dev_1_recreate.zip I recreated myself from the first file respectively.

2) Did not work with the Test_for_Dev_4_1.zip you recreated

3) not tested yet (limited time at my hands)

4) Created another zip with the update-binary taken from latest LineageOS zip for my device. Did not work at all :eek:. Nothing was copied to /data/app whatsoever. Interestingly, the binary I extracted is about 200kb smaller than the one which ends up in the created zip!?!

Now I'm confused...

TBH I'm willing to test further, if you are, but for me it's not THAT important. What I wanted in the first place worked all along, which was conveniently deleting a few system apps I don't need. Furthermore, I will have limited time in the coming days.

So I appreciate all your help, but if you want to focus on more important things, that's totally fine with me.
[Android Software/Hacking General [Developers Only]] Nikhil:
It's strange that it is working for me and other users but not for you. The zip that I sent worked perfectly for me.

Which phone do you have?

Could you contact me on telegram? (@nikhilmenghani)

I understand you will have limited time, let me know if that's convenient and feasible for you. I just want to see the logs and understand the steps that you followed. Thereby a couple of tests to fix if something is broken. I won't take much time and you could do the tests whenever you are free.
[Android Software/Hacking General [Developers Only]] Hawaiihemd:
Well, as I said, I don't get it either. v4.1 and earlier versions worked perfectly on my other devices. So must be specific to the Galaxy S2 (GT-i9100) I have here. Mind you, that is not my main device.

If it's alright with you I'd like to keep it on xda for the time being. Will send you a pm. Keeping the thread from exploding posts ;).
[Android Software/Hacking General [Developers Only]] iykeDROID™:
NIce ,

useful
[Android Software/Hacking General [Developers Only]] pixel52:
hi, thank you for this work, I have an issue when I set permission in a custom folder.
[Android Software/Hacking General [Developers Only]] pixel52:
ahh.sorry I forget to set a value to owner and group.
[Android Software/Hacking General [Developers Only]] carlsbad28:
This is a fantastic tool. I followed instructions on the video and got my zip up and running. Successfully flashed on TWRP but when booting, no apps get installed. I have the S7 G930FD variant. Anyone with ideas where I'm going wrong? Does the tool even support the S7 Flat? I did some reading and saw a lot of posts about update binary but that's apparently fixed on the 4.0+ version of the program.
[Android Software/Hacking General [Developers Only]] Nikhil:
Any chance you could share the zip that you created? I could take a look at it. If not, can you share the logs? You get an option in Aroma to save logs after the files are flashed.
[Android Software/Hacking General [Developers Only]] DuskGolem:
[MENTION=4867515]Nikhil[/MENTION], Bro i wanted to ask you to add a feature to your tool. Could you modify the program in a way so that when placing apks in /data/apps folder, your program automatically reads the apk package name and name the folder created in /data/app directory containing the apk as " package name-1". I am asking this because i have to rename all the apks to their package name everytime before putting them in the zip or modifying the existing zip, otherwise if I do not rename them, the zip simply fails to install. I am using Xperia Z5 Premium dual. It would be a really big help. Thanks in advance.:):):);)

P.S: Make this for the /data partition only as the /system partition does not follow this naming scheme......

Regards

Adil
[Android Software/Hacking General [Developers Only]] trocopassu:
Buddy, I was aware of this tool through Google and I was very impressed, Great Job Yours.

I did some testing, I'm not very good at it, and your tool is just awesome.

Thank you so much for share such Your great work with us.

(Sorry my English...Google traduction!)
[Android Software/Hacking General [Developers Only]] dixmer1998:
could you do a ROM in conjunction with Assayed Kithchen?
[Android Software/Hacking General [Developers Only]] Nikhil:
Yeah, can do that! :)

Thanks for your words! :) a big feature coming soon with next release!

I'm sorry, can't do that.
[Android Software/Hacking General [Developers Only]] DuskGolem:
[MENTION=4867515]Nikhil[/MENTION], looking forward for the release buddy, keep up the awesome work....:):):)
[Android Software/Hacking General [Developers Only]] Mort015:
This tool is unusefull for me it only shows a screen with "Create Zip" and "Import zip" and above a piece of themes. Whats that?
[Android Software/Hacking General [Developers Only]] Eleo:
Have you tried the instructions?
[Android Software/Hacking General [Developers Only]] DuskGolem:
Look the tutorial videi in the first post and text instructions on 2nd post...
[Android Software/Hacking General [Developers Only]] DuskGolem:
[MENTION=4867515]Nikhil[/MENTION], brother when is the new update coming? Your tool is useful and awesome but its still missing the feature i requested earlier about naming the apk folder same as the package name. Please, please implement it in your tool and your tool would be PERFECT..:):):):)
[Android Software/Hacking General [Developers Only]] Nikhil:
Hi,

The release is not near mate as I will be implementing a lot of new things in next release(which includes changes in tool as well as Aroma). Although, till I release a stable build, I will definately release beta builds in telegram test group with every new feature that I add.

The feature that I am currently working on is able to take a backup of all the apps(system, private, data)/fonts/tones/bootanimations/hosts, etc files automatically. All you have to do is plug in your phone with your system and run the tool. That's it!

Amazing isn't it?

You also have an option to choose if you only want to take backup of system apps or data apps or fonts and not everything that you have in phone.

Then you won't need to worry about folder names or anything too(although I will add that feature separately), also you won't need to worry about creating groups and copying latest apk in it. Everything will be taken care by tool just when you plug in your phone with your system.

I will release a test build soon after implementing blacklist and whitelist functionality where user can specify the path which tool should ignore or specifically consider while taking backup.

Current state is: all the files mentioned above are getting backed up and it works for windows only (yet to add Linux support)

If you are interested in testing what I have implemented so far, let me know. I'm on diwali holidays so I might need couple of more days in providing link.

P.S. I recently added support for android oreo! :)
[Android Software/Hacking General [Developers Only]] DuskGolem:
[MENTION=4867515]Nikhil[/MENTION], as I previously said PERFECT. Keep up the mind blowing and awesome work. Patience is a virtue :p. I will try the beta builds in telegram group, Thanks a lot for the suggestion. I will be waiting for the perfection of the stable build:):):)

P.S:Happy Diwali, enjoy your holidays.....