[Q] Edit a flashable zip for my own - zNXT - Sony Xperia Miro, Tipo (Dual), J, E

Hello guys,
caus ive less than 10 posts, i cant reply in the developers section.
I downloaded this rom - zNXT
there is an addon zip. i flashd both.
now i will make my own "addon" file only with these thinks i like to have.
( lockscreen,bootscreen, the scerren (i dont now wich name it is) in the attachments, ... )
can i copy the files i want in my zip and flash it ? .. and for what is the META-INF folder ?
soooo. i want to learn that all and some answers are very helpful ^^
GreeZ
Slluxx

you can edit the zip you have to make sure the folder structure is right to where you want the files to flash to and you need to digitaly sign the zip for it to flash. META-INF is where the update-binary and the updater-script are. The update-binary updates the su binary (i think) and the updater-script tells CWM what goes where out of the signd zip to the android system and mount & unmounts the partitions you want to flash files to it is writen in edify scripting which you can learn or borrow one out of someone elses zip and edit as you want instead of writing a whole one your self. The digital signature you sign the zip with is in there to. There is a certain structure to the folders aswell which must be right or you will get flashing error.

so thats a thing that i cant do without intensive learning ?
easy said. i cant drag n drop into the zip and flash.
i have to write data where whatever has to go and id has to be in the right folder structure ... ,..., ...
hm.
anyway thanks for your help

if the files are just replacing others in the zip then all you have to do is extract the zip change the files you want then re-zip then download android auto signer to sign the zip then your good to go. oh and make sure you delete the old signature files out of META-INF folder there will be 3 files as soon as you open META-INF delete them

yeah ..
i dont know wich data is exactlx for what and where it is ..
i want to flash the stock rom with a few datas of the custom rom and a few from the "addon" zip ..
so i dont know if it works. and what i have to edit/delete
before this i only followd the flashing instuctions. i dont made any from these things from my own so sorry that im a noob

Related

Question about modifying signed Rom zip files

Can I modify an existing one by simply dropping in updated bootscreen files, rosie.apk, etc.. and signing the existing rom zip?
Any good guides on how to do one if not, and/or how to use Flipz kitchen tool to create a rom?
Ceger
I am pretty sure if you sign the file and you modify it after that you will have to resign it. At least thats how it goes for other things that are similar that I deal with.
Kcarpenter said:
I am pretty sure if you sign the file and you modify it after that you will have to resign it. At least thats how it goes for other things that are similar that I deal with.
Click to expand...
Click to collapse
I understand that, just wondering if I can add new files and they will move or does some master script need to be updated to know to move the files. In other words, is it done by directory or by file?
For example, if I add some apps to /data/app in the zip will they be there on the phone when I install the ROM zip, etc.. More specifically, I have added an alternate boot sequence. The rom does not have a boot1.gif. If I add the new sequence with XML, will the boot1.gif be installed as well or do I need to update something that directs the install of the ROM to move that file or is it automatic as the folder is moved over?
Ceger
Ceger said:
I understand that, just wondering if I can add new files and they will move or does some master script need to be updated to know to move the files. In other words, is it done by directory or by file?
For example, if I add some apps to /data/app in the zip will they be there on the phone when I install the ROM zip, etc.. More specifically, I have added an alternate boot sequence. The rom does not have a boot1.gif. If I add the new sequence with XML, will the boot1.gif be installed as well or do I need to update something that directs the install of the ROM to move that file or is it automatic as the folder is moved over?
Ceger
Click to expand...
Click to collapse
I have found that the easiest thing to do is just put the files that you want to use to replace the old ones into a signed zip and then flash just those files I have tried altering a rom file with no success
wtphoto said:
I have found that the easiest thing to do is just put the files that you want to use to replace the old ones into a signed zip and then flash just those files I have tried altering a rom file with no success
Click to expand...
Click to collapse
Oh well, was trying to have a one step zip. I guess I can make at least have a 2 step process which is better than 4-5.
Thanks,
Ceger
Yes you can modify just about anything in the rom and flash your zip as long as it is signed and the update script is correct. I always make all my changes to a rom before flashing it so i do not have to flash several different things etc.
The update script is located in RomName\META-INF\com\google\android\
Lets look at a very simple update script to show you what i mean.
In this update script it is to write something to /system
example:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
We see here that whatever is in the system folder within the signed zip will be written to the phone
in this case i am writing /system/app/mobiledefense.apk
That will be the only file written to the phone and will be written to /system/app
The update script is not specific to every file so you can have 1 thing in the system folder or 100 and it will write everything in there.
One thing that many people mess up on is not using a update-script file when they sign a .zip file. The recovery has to know what to flash or it will not flash anything.
So the answer is yes you can change many things and then flash the signed update.zip file.
Not everything can be done this way but most things will work.
But for example changing the boot sceen can be done even if the file names are different as long as the folder structure stays the same and the .XML file is the correct one for the boot screen. I opened the .zip of a rom deleted everything out of the boot screen folder and dropped in all the files from the nexus one hero hybrid boot screen re signed the zip and everything flashed perfect. I changed many other things as well in the .zip like rosie.apk, sound files, lockscreen files, busybox files, added apps to /system/app and just resigned the zip and everything flashed the way i wanted it to and works perfect.
The way to correctly zip a file is to extract the zip modify what you want then select everything inside the zip right after you open the folder and the highlight everything select add to archive and then zip it up now sign that .zip
so say you extract the ROM and it is named Rom123 now you will have a folder named Rom123 open that folder and select everything file or folder in there and then hit add to archive that will make another zip right there called Rom123.zip pull that zip out to the desktop and sign that zip file and thats it.
I Know that is confusing as it is late as hell and i am tired but wanted to answer this real quick.
zippy-man said:
Yes you can modify just about anything in the rom and flash your zip as long as it is signed and the update script is correct. I always make all my changes to a rom before flashing it so i do not have to flash several different things etc.
The update script is located in RomName\META-INF\com\google\android\
Lets look at a very simple update script to show you what i mean.
In this update script it is to write something to /system
example:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
We see here that whatever is in the system folder within the signed zip will be written to the phone
in this case i am writing /system/app/mobiledefense.apk
That will be the only file written to the phone and will be written to /system/app
The update script is not specific to every file so you can have 1 thing in the system folder or 100 and it will write everything in there.
One thing that many people mess up on is not using a update-script file when they sign a .zip file. The recovery has to know what to flash or it will not flash anything.
So the answer is yes you can change many things and then flash the signed update.zip file.
Not everything can be done this way but most things will work.
But for example changing the boot sceen can be done even if the file names are different as long as the folder structure stays the same and the .XML file is the correct one for the boot screen. I opened the .zip of a rom deleted everything out of the boot screen folder and dropped in all the files from the nexus one hero hybrid boot screen re signed the zip and everything flashed perfect. I changed many other things as well in the .zip like rosie.apk, sound files, lockscreen files, busybox files, added apps to /system/app and just resigned the zip and everything flashed the way i wanted it to and works perfect.
The way to correctly zip a file is to extract the zip modify what you want then select everything inside the zip right after you open the folder and the highlight everything select add to archive and then zip it up now sign that .zip
so say you extract the ROM and it is named Rom123 now you will have a folder named Rom123 open that folder and select everything file or folder in there and then hit add to archive that will make another zip right there called Rom123.zip pull that zip out to the desktop and sign that zip file and thats it.
I Know that is confusing as it is late as hell and i am tired but wanted to answer this real quick.
Click to expand...
Click to collapse
Perfect, just what I was looking for.
Thank you, just made my day!
Ceger

[q] need help with update script

So i am some what of a noob but not an idiot. I have googled and feel that i have turned up with nothing. besides the updater-script what else do i have to change in META-INF folder to make my rom flashable. if someone could help point me in the right way that be great. My zip consists of a data folder, a system folder and a boot.img. i already know how to sign the zip. i just need help with the code to flash it.i keep getting error 6 in cwm

[Guide]Create Custom ROMs | Modify Apks

Hello xda.
This is a Guide to help anyone who wishes to create custom ROMs. This Guide aims to be as complete as possible, and will give all information related to creating a custom ROM... editing apks, adding or removing apps, de-odexing apps, and so on.
Al suggestions to improve upon this guide are welcome.
0. Pre-requisites
Click to expand...
Click to collapse
Credits to...
1. puppet13th... My mentor, teacher, and a great friend.
2. Wanman... ApkTool for ICS
3. langthang... For a great Guide on Creating Update Script
4. lokeshsaini94... For lots of help
Downloads
You need to Download the following...
1. Apk Tool [link(ICS)|link(GB)]... A tool for De-Compiling apks
2. 7 zip [link]... A tool for un-compressing any sort of compressed file
3. ROM signer [link]... Restores the signing of the ROM zip file, which is messed up while uncompressing
4. Any Image Resizer​
Setting up your PC
You need to do the following...
1. Create a folder (preferably in Desktop, and name it "Android")
2. Create Sub-Folders by the names "Base ROM" and "Custom ROM". Also make Sub Folders by the name...
a. ApkTool... Extract contents of ApkTool Here
b. Signer... Extract Autosigner here​
I. Let's get our Base ROM
Click to expand...
Click to collapse
You need to get the base ROM in the ./Desktop/Base ROM folder. It is also recommended that you flash the Base ROM into your phone, as it will help in testing the mods, as you make them.
The process of getting the base ROM will depend on the scenario your situation fits in, from amongst the following...
1. You want an already made Custom ROM as your Base... Download the ROM [willl come in .zip folder], and extract it in /Desktop/Android/Base ROM folder
2. You want to base your ROM on a stock firmware, which came in an ftf package... Use the following tool to extract the files from the ftf file.
3. You want to base your ROM on a stock firmware, which is instaled on your phone...
Take a back up of the ROM using ClockWork Mod, and copy the back up files (from /sdcard/clockworkmod/backup), somewhere to your computer. Then, using this tool, extract the files to /Destktop/Android/Base ROM
Copy the following folders from /system of your phone using Root Browser
/app
/bin
/etc
/fonts
/framework
/lib
/media
/semc
/usr
/xbin
build.prop​
4. You want to base your ROM on a stock firmware, that comes as a ready to flash .zip file on the internet... Download the ROM, and extract it in /Desktop/Android/Base ROM folder
After completion, the Base ROM will have the following Folder Structure
Desktop
Android
Base ROM
META-INF [only if you got your base from another Custom ROM][/INDENT][/INDENT][/INDENT]
system
apps
bin
etc
.
.
.
data [may be]
Click to expand...
Click to collapse
*ScreenShots*
Copy the contents of Base ROM folder to Custom ROM folder.
We now have the foundation of our ROM laid out in front of us, inviting us to show our creativity.
II. Let's work on the Base ROM... Creation of the Custom ROM
Click to expand...
Click to collapse
A. Apks Make up the Android System...
We will now work, only on the /Desktop/Android/Custom ROM Folder
1. Look into the /system/apps...
You will find apk files which will be raninging frm 100 to 200 in number. Err, half or more are known as "Crapware". You need to remove files which are useless, that's a very important step to enhance performance of your final ROM. Look into your device's forums, to get the list of Safe-To-Remove appks from the respective firmware. In case your base is an already built custom ROM, you will have to remove lesser or none of the files.
2. Here, you can add your desired files as well, keeping compaitability in mind.
3 [Optional]. On a .txt file, keep a record of all the apps your removed or added, as it will help in troubleshooting at a later stage.​
B. Implementing Already-Built-MODs in your ROM...
1. Download any Mod you want to keep in your ROM [Make sure your device, and the Base ROM is compaitable]
2. Extract the zip file and you will get a system folder.
3. Copy the files from the system folder to /Custom ROM/sytem, making sure the files go into the folders they came from.
That is, all apk files from /system/apps folder of the Mod should go to /Custom ROM/system/app folder, and so on...​
C. Changing the Interface... Let's Mess with SystemUI[nterface].apk
Go to /system/app and copy SystemUI.apk to
/Desktop/Android/ApkTool/place-apk-here-for-modding
Working with ApkTool
The link provided in this post is of an easy to use software called ApkTool.
1. Double Click on the Script.bat file to open up the software.
*Screenshot*
2. Decompress the SystemUI.apk using option '9'.
Wait for the process to complete
3. Go to /Projects, and you will find a folder called SystemUI.
Open the /SystemUI.apk/res/drawable folders and you will find lots and lots of .png files
*Screenshot*
4. Look into the files carfully.
Bingo, they correspond to the various system elements of the SystemUI of the Base ROM.
5. Open any file you want to edit, edit it, and save in the original location, replacing the original un-edited file. [On a temporary notepad file, note which all files you edit]
Note: You will notce that there are .png files for, say the Battery Icon. You will find that there are files for each state of the Battery Icon. So if you intend to edit the Battery Icon, you need to edit all the files corresonding to each of the states.
5.A. A common exaple of such editing is making the elements of a Gingerbread SystemUI.apk look like ICS SystemUI.apk. For this get hands on any ICS SystemUI.apk and extract both the files in seprate locations, and then copy the files from the ICS SystemUI folder to GB SystemUI folder. However, here you must make sure that the names of the files coming from ICS SystemUI are changed to corresponding values of the GingerBread SystemUI.apk. Here, also ensure that the new files, which replace the original files, have the same dimensions as the original files. If not use any image resizing tool.
*Screenshot*
6. If you want to edit some values in the .xml files, carry on. Edit the files as you wish, and replace the original files. Once you are done with the editing...
7. Open the Script.bat file and run command 11. [Say NO when it asks if the file is a system file]You will have a new SystemUI.apk file called unsignedSystemUI.apk in /place-apk-here-for-modding folder.
Go and fill your pockets with some cookies from the kitchen. Start having them.
8. Keep the temporary notepad file on one side and open the unsignedSystemUI.apk with 7zip, and open the original SystemUI.apk using 7zip besides it.
*Screenshot*
9. Drag and extract the files you edited to a temporary folder.
10. Drag the extracted files to the SystemUI.apk, replacing the older files, making sure all the edited files go to the proper place. [That's why I asked to keep a note of which all files were edited].
*Screenshot*
11. If you edited some .xml files, then you MIGHT need to copy the resources.acrc file at the root of the unsignedSystemUI.apk file to the root of the original SystemUI.apk file.
Once done, the original SystemUI.apk has now become a modded SystemUI.apk, with your creativity embedded into it. Time to test the SystemUI.apk.
12. Using Quick ADB, push the edited SystemUI.apk to your phone.
*Screenshot*
13. Re-boot your phone and you shoud see the changes you made in the UI. .
In case it gives force close message, you messed up somewhere. So you will have to push the original SystemUI.apk [from /Base ROM/system/apps folder], and try to mod the file from scratch again.
14. Copy the sucessfully modded SystemUI.apk from /Apktool/place-apk-here-for-modding folder to /Custom ROM/system/app folder, replacing the older file.​
D. Changing the Interface... Editing other .apks
1. As earlier, copy the apk you want to edit from /Custom ROM/System/app to /Apktool/**** folder, and perform the modification to optain a new modded .apk file.
2. Test this file if you wish, by pushing it using Qucik ADB.
3. If the modded file wrks, copy this new file to /Custom ROM/System/app and replace the original file​
E. Changing the Interface... Editing the font
1. Take your desired font.ttf file and rename it as DroidSans.ttf..
2. Go to the folder system/fonts/
3. Now, replace the file DroidSans.ttf with your desired DoridSans.ttf...
4. To change the lock screen clock font...replace the Clocktopia.ttf with your desired one (rename first)...​
If you did a good job in the above steps, the /Custom ROM folder should be having the contents of a wonderful ROM in making.
Here, I will like to mention that, if you want to upload your custom ROM on the internet and share it, you must ensure that you did lots of hard work in the above steps. There's no point making a custom ROM without modifying lots of files and adding lots of tweaks.
Just make sure that you do so much of modding that, say, your Gingerbread ROM looks like Jellybean, or say, your ROM made for Galaxy Y works as smooth as an SIII.
III. Compiling the Custom ROM
Click to expand...
Click to collapse
A. If you got your base ROM as in [1 or 4] in step I above
1. Copy the META-INF folder from /Base ROM to /Desktop/Android/Custom ROM
2. Rename the Custom ROM folder to whatever-you-want-your-ROM-to-be-called.
3. Add the Folder to a zip file using 7zip.
4. Take this zip file to /Desktop/Android/Signer folder and run sign.bat.​
X. The new zip file called Update.zip is your ROM.
Copy this file to the SD Card of your phone, format /system, /data, /cache using CWM and flash your .zip file. And enjoy your custom ROM.
B. If you got your base ROM as in [2 or 3] in step I above... Creating your own Update script
Read the following Tutorial. [link]
Once you are done, try the ROM on your phone. Share it if you feel it's great. And hit Thanks Button.
Reserved
Reserved2
nice guide!
thanks for the tutorial.
Nice guide, continue finish it.:good:
Awesome
Adds some more tutorial please:thumbup:
Thanks for your work
Inviato dal mio GT-N7000 con Tapatalk 2
Please also add link to original thread....
Btw .. Nice guide....
In 1. Looking into system apps... you should delete .apk as well as .odex files when you want to remove an app... Like browser.apk and browser.odex... Many peoples won't delete them....
Sent from my GT-S7500 using xda premium
Thanks for this nice guide. :highfive:
Please add the placeholder *Screenshot* s :good:
beautiful
Thanks a lot for this beautiful guide. Loved it
i tried it ............
i followed the guide n tried editin my custom rom technoduos on sgy duos GT-s6102
all i did was extract the rom using CWM and then added removed some apps at /system/apps
no other tweaks just addin n removin apps dats all then compressed it n signed it
then wen i flashed it on my set it worked (yayyyyyyy)
but there were some problems the apps which i del were gone but the ones i added were not there ..........
also wen i flashed the rom again the apps which were del were back how is it possible i made sure i had del em
plz help
thank you very much for your tutorials are very helpful to me
nice guide! thx
Nice Guide...
Thanks for the hard work to track down all this information and publish for us.
Thanks
Thanks... im gonna give this a whirl
Sent from my SGH-T999 using Tapatalk 2
R: [Guide]Create Custom ROMs | Modify Apks
Very useful giude thanks ; )
Inviato dal mio GT-N7100 con Tapatalk 2
:Good:
Sent from my potato oO
thanks

[Tutorial][Guide] How to make a CWM flashable zip

Tutorial on [how to] make a flashable zip 
Credits:
Special Thanks to google.com for teaching me  and rishik999 for sample.zip
---------------------------------------------------------------------------
REQUIREMENTS
- Any file that you want to replace or add to your phone;
- An existing (base) cwm flashable zip file. - I've attached one below;
- 7-zip, Winrar or any program which can open and modify zip files .
STEPS:
DIRECTORY STRUCTURE:
(1) Download and place the base.zip (attached below) anywhere on your desktop;
(2) Right-click on it and open the archive with 7zip, winrar ... [DO NOT extract]
Now you should see two folders: one called "system" and one called "META-INF".
1. Let's start with the "system" one, so open it:
In there, will go all files that what you want to add or replace to the system. So let's say for example that you want to replace the bootanimation.
Make a "New Floder"
-Rename its as "media" (make sure its aint in CAPS nor with in quotation marks)
-drag those two new empty folders into the /system/ folder of the 7-zip opened archive
-now simply drop the two files in their respective place: the bootanimation.zip file should go in '/system/media' folder
.. If you have more files to add, just follow the logic above; I'm sure you get the idea by now.. :silly:
Hints
/system/app - all the system apps (SystemUI.apk etc)
/system/framework/ -framework-res.apk,android.policy.jar
/system/media - bootanimation.zip
/system/lib - libraries (*.so)
2. The other folder included in the opened archive is named "META-INF" and all the file in it should be left unchanged.
Now,just place the zip into your sd card! & try your luck  Of course it will work 
That's it !
Hihihihi...damn easy na ???
Common friend ..dont be a noob ..be a newbiee !!
HIT THANXXX !!
NOTE: Always backup your existing system file that you are going to replace by the patch(zip).
Here is the sample.zip which u can use to make any sort of flashable zip file
Deleted : Solved
kk9999gada said:
Where are Credits?
Click to expand...
Click to collapse
2nd line
Deleted : Solved
Edit : Done
thanks
i will try... :laugh:
Thanks, I will try it
Thanks will tryyy...
Sent from my Sony Ericsson Xperia Mini Pro(SK17i) using Tapatalk 2
How to make a flashable zip of a recovery.img?
Sent from my GT-S7500 using Tapatalk 2
video recorder problem
hello, I use the camera fix for CM10.1.
It works awesome but the video recorder cannot work after fixing.
Before fixing, I use both stock camera and camera jb+.
Video recorder can wok on camera jb+ then.
But it cannot work after flashing fixing camera jar via cwm!
How should I do ?
Warning:No file context!
Does this sentence "Warning:No file context" might affect the phone recovery????
Thumbs Up Bro !!
You made my day !!
learned something new...
Really nice thread.
I wanna ask that i want to edit my build. Prop file. So in case if anything goes wrong can i flash the original one via this method or it will work only for apps.
Because i once had modified it but stucked at bootloop. So i don't want it to happen again.
coolsid. said:
Really nice thread.
I wanna ask that i want to edit my build. Prop file. So in case if anything goes wrong can i flash the original one via this method or it will work only for apps.
Because i once had modified it but stucked at bootloop. So i don't want it to happen again.
Click to expand...
Click to collapse
It'working for every single file that's in the android os...i allways backup in a flashing zip the original files that i am tryng to change/mod
Sent from my GT-S7500
HEY BUDDY YOU SAID THAT..
Make a "New Floder"
-Rename its as "media" (make sure its aint in CAPS nor with in quotation marks)
-drag those 'two new' empty folders into the /system/ folder of the 7-zip opened archive
-now simply drop the "two files" in their respective place: the bootanimation.zip file should go in '/system/media' folder
this includes what are the two folders and the two files. Sorry but i could figure out only one. I Want To Make a zip file using your method but don't want to take any risk.

[Guide][Simple]Make your own update patch with Omegadoird rom flasher...

Hi guys...
Recently i had worked in a project (Mini Cayno X 2 link -> http://forum.xda-developers.com/and...update-patch-mini-cayno-x-2-symphony-t2858833 ...
it was a update patch for stock rom...so many buddy ask me in FB that how can i make one update patch for my rom?!!
But due to being busy i cant replay them and now i am free and try to write a small tutorial about this...i hope you will enjoy it... and this is my frist tutorial in XDA...
Frist its not for Developer its for newbie modder who dont know this method...
Ok lets start....
________________________________
Today i am going to tell you a new and uncommon way to make your own update patch...I think everybody knows about Villain rom flasher or Vrtheme...its really a good rom flasher...and you can make your own modpack with this easily...but i dont talk about this...beacuse there are a lot of guide in Xda about this...
Now i am going to tell you about Omegadorid rom flasher... This is an "Universal Flasher Tools" like villain rom flasher...
This flasher was made by JRsoft & Intronauta...
And more info and updates about "VillainTheme System" here:
(http://forum.xda-developers.com/showthread.php?t=1207017)
________________________________
Now i am going to how can you make your own update pack...
Frist for any Error or brick i am not responsible...
________________________________
Now requirments ->
1.Good file manegar or Root ecplorer...
2.good image editor like pixeler express or pic say pro...
3.Simple and common knowledge in udate script...
4.and free mind...
________________________________
Now download this omega flasher uploaded by Me...beacuse i lost the main thered link...
link -> ( http://www.mediafire.com/?pks4i2nx3w9l6d1 ) (Size: 2 mb)
After downloading make sure that what you want to add in your update patch...like i wants to add some nessesary apps,themes and some brinaries...
After decieding extract the zip in a new folder...like i extracted it in a new folder named new projects...
then you will see some folder like thats ->
1.META_INF,
2.MORPH,
3.tools,
4.XTRAS,
5.mod.config,
6.Reed me.txt...
Ok now frist lets talk about meta inf...i think everybody know this folder...and you must have knowladge about this folder...if you dont have then see this tutorial -> ( http://forum.xda-developers.com/showthread.php?t=1931585) (dont forget to say thanks to pitchblack5691 )
Now MORPH folder...
this is the main folder...here you can put your modded png files what you wanted to add in your apps...i will talk about it lettar...
then tools folder...in this folder you will see some files...dont touch them...this is the main files of your update pack...
then XTRAS...in this folder you can see some folder like system,sdcard,data etc etc...
if you wants to add somethings like apps in system folder then drop your apps in XTRAS/system/app..you can add fonts,new boot animations,modded build.prop and brinaries too...i will talk about this latter...
Now mod.config...This string will be added to build.prop for identify the
version or author of the mod and will be visible in
Settings - >About. Please avoid to use the character "=" into
the string.
now About readme.txt...here you will find somethings like how use this flasher etc etc...
________________________________
All done...now start making modpack.... .Its very easy...
Put in "/XTRAS" folder files that you want to add recreating
their full paths. Note that /XTRAS is equivalent to root path in
the internal memory:
e.g:
/XTRAS/system/etc/gps.conf
/XTRAS/sdcard/Wallpapers/MILF.jpeg
/XTRAS/data/app/Youtube.apk
/XTRAS/whateverfolder/whateverfile
you can also add system app here...just sing your app and drop it in XTRAS/system/app.you can add some app to xtras/data/app too...and in sdcard folder you can add some files like viper kernels or your lunchers downloaded themes.for example frist download all themes from your luncher settings.then search them in sdcard.if you found them,then copy the files with whole derectory like i found my themes here -> sdcard/xluncher/themes.So i copied xluncher folder and paste it to XTRAS/sdcard folder.By the same way you can add anithings in your sdcard just copy your file with whole derectory and paste it in xtras/sdcard...
i hope you understand about using XTRAS folders....
Now uses of MORPH folder...
>> Put in "/MORPH" folder your "morph themes". Note that /MORPH is
equivalent to root path in the internal memory and you must rename
folders like the apk but with extension instead the metamorph form
This process will only works in the following folders: /data/app,
/system/app and /system/framework.
e.g:
/MORPH/system/app/Settings.apk/res/drawable-hdpi/***.png
/MORPH/system/app/Settings.apk/classes.dex
/MORPH/system/framework/framework-res.apk/resources.arsc
/MORPH/data/app/****.apk/res/drawable-hdpi/**.png
you can add your modded png here...like i want to add new paltlogo...so frist i mod my platlogo.so that i extract my framwork_res by root explorer and find the paltlogo.then i found them and copy the derectory that where i found them like i found them in framwork_res/res/drawable nodpi.So i made my own logo and renamed them as same as in my stock framwork_res like platlogo.png and put them in the same derectory where i found them in stock framwork_res...like MORPH/system/framwork/framwork_res/res/drawable nodpi...done...now you add another pngs in the same way...but dont forget to renamed your pngs in same name as the main pngs...i hope you understand what i say....now your theming has been done!
>>but It's very important that you take a look to MOD.config file to
enable or disable features a/or set special commands if you need
it, i.e for setup your sdcard layout used in your recovery if you
get sdcard errors, set a mod name visible in Settings, etc..
>>ok now create zip of your updatepatch and Flash and enjoy!!
Having problem with update script?!!See my script -> ( http://www.mediafire.com/view/?dl1mta6j8t82w8u ) (Size: 3 kb)
######################Some KNOWN ERRORS ###############################
>>If you get (Status 0) error flashing, you need an update-binary
specific for your terminal. You must look for and extract the
"/META-INF/com/google/android/update-binary" file inside a zip
compatible with your terminal and replace it in the same path into
the UFT. You also can consider to replace the whole META-INF folder
in the MOD with the other compatible, except the updater-script!!
>>Please, report us errors if you get!!...
N.B ->to add somethings like brinaries/fonts/apps data/etc etc you must need to set permissions and Smyalink them...so,Dont forget it and if dont know how to set permission or create Smyalink then dont try to add them.in some devices all pngs are found in drawable-xhdpi/drawable-xxhdpi/drawable-mdpi...so you must need to know that in which folders your pngs are stored...for this just extract your systemui or framwork_res...then see thats where are all the pngs stored...for example:if you find all pngs in drawable-xhdpi then go to morph folder and renamed all drawable-hdpi folders to drawable-xhdpi... if you find all pngs in drawable-xxhdpi then go to morph folder and renamed all drawable-hdpi folders to drawable-xxhdpi...and if you dont understand anythings that i said then comment here...Thanks !
________________________________
Thanks for reading...
Happy modding and never stop customization....
Guide By:Me (MD.Shafikul)
________________________________
Credits: Main Credits:
>> "JRsoft" & "Intronauta" for this awesome flasher
>> "Villain Team" for the concept
>> "Stericson" for "Metamorph" system
>> "Core Utilities" for the tar binary
>> "Blades" for the 7z binary and libs
>> Builders of "zip" and "zipalign" binaries.
>> Testers, especially to:
"[email protected]", "[email protected]", "[email protected]",
"[email protected]" and "[email protected]".
>> "[email protected]" for helping with the translations.
________________________________
if you like this post then dont forget to click on thanks botton.its will inspaierd me to write more guides....
________________________________
About Me -> About Me:I am MD.Shafikul from Bangladesh and
a simple themer...
Current device:Symphony xplorer w68 god damn
mediatek...
Current rom:Xperia Honami v2
Current Project:Mini Cayno 'X' 2
Follow me in FB: Www.facebook.com/md.shafikul.125
________________________________

Categories

Resources