Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP Mya SeR

22nd May 2014, 10:15 AM   |  #1  
OP Senior Member
Al-Menufia
Thanks Meter: 745
 
1,254 posts
Join Date:Joined: Nov 2013
Donate to Me
More
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:
 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:
-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
Last edited by Mya SeR; 22nd May 2014 at 10:27 AM.
The Following 2 Users Say Thank You to Mya SeR For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes