Default [TUT][INFO]Making Flashable Package With right premisions[NOOB FRINDLY]

Hello
Today iam guiding u How To Make A Flashable UPDATE Zip with correct premisions..

Frist
What is premisions?
Droid Premisions is Like Your Life Premisions
Ex: You Want to Take Premision to Go out For A walk / buy something /...etc
Haha
Android is just like that
But you are its masterso u give the target the premision to Control your device
about Some Premisions
R: Read only
W: Modify
Ex: run like excutable packages
How to Set That premisions to updatable Zip?
There Are two ways for that

1-u can use that code for example to set premisions to rw-r-r
Code:
Select Code
 set_perm(0, 0, 0755, "/(system/data)/...../.....");
2-Simply u can Use My Package Flasher To Flash Any Update without Need Of Setting Premisions to each File u put in package
how to use it?
Simply u can
Code:
Select Code
-extract the zip
-add the file u want in correct folder in system
Ex:u want to flash an app
Go to system >create folder called "app">input the app in it
Ex2: u want to add binary
Navigate to system>create folder "bin" put binary in it

-Then zip is Ready
Without changing Any Command
Its only to flash system updates not data ones
Have a good day