So You Want To Block Ads But Dont Know How.. Follow The Steps To Block Ads .. First Of All I Want To Remind You That I Have Not Created This Host Files..The Original Thread Is Here
http://forum.xda-developers.com/showthread.php?t=1916098
Download The Zip File .. If u r making a custom rom then extract the adblocking zip file there you will see a folder named system in it another folder etc open it and then you will find host .. now put this host file in your own made rom... in system-etc paste there ...thats it ...enjoy
Link For Host Files(Go To The Thread And Download The Files In Attachments)
http://forum.xda-developers.com/showthread.php?t=1916098
Hit The Thanks Button If I Helped You
Related
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.
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
decompile and recompile apk or even extract android boot.img/recovery.img on your android phone using this tool
This tool might come in handy is for all respected devs,modders and themers of our device
How to's :
First Download the package apktool4.4_armhf.zip from
https://code.google.com/p/apktool/downloads/detail?name=apktool4.4_armhf.zip&can=2&q=
Extract archive to /sdcard or if you want Better read write speed use the cache/data folder set permission to rwrr
Install Apktool4.x.apk
Now open the app from app drawer.
And
Make the most out of it !
For boot.img and recovery.img
Copy your boot.img to sdcard or /cache/yourfolder(for fast processing)
Single click boot.img select "extract"You will see new file named "kernel" and new folder "ramdisk"
if extracted properly no error will show up.
You can edit files in ramdisk folder.after editing touch ramdisk and select "repack" you can make the new boot.img which is named as new.img. For recovery.img it's the same way.
Hope this helped
NIKHILALWAYZ said:
decompile and recompile apk or even extract android boot.img/recovery.img on your android phone using this tool
This tool might come in handy is for all respected devs,modders and themers of our device
How to's :
First Download the package apktool4.4_armhf.zip from
https://code.google.com/p/apktool/downloads/detail?name=apktool4.4_armhf.zip&can=2&q=
Extract archive to /sdcard or if you want Better read write speed use the cache/data folder set permission to rwrr
Install Apktool4.x.apk
Now open the app from app drawer.
And
Make the most out of it !
For boot.img and recovery.img
Copy your boot.img to sdcard or /cache/yourfolder(for fast processing)
Single click boot.img select "extract"You will see new file named "kernel" and new folder "ramdisk"
if extracted properly no error will show up.
You can edit files in ramdisk folder.after editing touch ramdisk and select "repack" you can make the new boot.img which is named as new.img. For recovery.img it's the same way.
Hope this helped
Click to expand...
Click to collapse
first thnk u sir for ur tutorial i am mtk user. i put my boot.img into system folder and extracted i got this msg:-
"1250 1 records in
1250 1 records out
2247 blocks". and following folders are created there 1)ramdisk
2)kernal
3)ramdisk.cpio.gz (this file also get created) is it ok? should i go ahead?
prajul1123 said:
first thnk u sir for ur tutorial i am mtk user. i put my boot.img into system folder and extracted i got this msg:-
"1250 1 records in
1250 1 records out
2247 blocks". and following folders are created there 1)ramdisk
2)kernal
3)ramdisk.cpio.gz (this file also get created) is it ok? should i go ahead?
Click to expand...
Click to collapse
yes:good: ,for more info search on xda about decompiling and tools for editing.
I want to make a duplicate apk by using apktool 4.6 for phone.
example wechat.apk to wechat01.apk
And to install both on same device..
PLEASE PROVIDE TUTORIAL FOR DOING IT...
THANKS
Nit Patel said:
I want to make a duplicate apk by using apktool 4.6 for phone.
example wechat.apk to wechat01.apk
And to install both on same device..
PLEASE PROVIDE TUTORIAL FOR DOING IT...
THANKS
Click to expand...
Click to collapse
First,you will have to change the entire framework of the app (sorry,i have no idea how to do that) and secondly, both apps won't work in using the same device because of the android ID. i know to how to edit text/pictures/icons /fonts etc of an app..but no idea relating permissions management , so if you have any questions regarding that feel free to ask
Dear ROM developer @MasterAwesome @sagarwep @Ak****banta @Avenger4droid @Akhilendra Gadde
I have a small question for you, please reply
Q.I want to mod a ROM i.e. i want to remove some apps from /system/apps folder of the rom and add some of my apps to /system/app and /data folder. please tell me how should i go about it.
should i just delete the unwanted apps and place my apps in the respective folder,
or
do i need to do any thing else.
one more thing
There is a file in the META-INF folder named Manifest.mf which contains details of the various files like this
Name: system/app/PhotoTable.apk
SHA1-Digest: I8EMDJXlOcqTEWjsiC3bv4sSZAY=
Click to expand...
Click to collapse
If i add any apps in the /system folder of the rom do i need to modify this Manifest.mf file also and if yes, how can i get this "SHA1-Digest"???
please rom developers reply if possible in detail.
waiting for your reply.
subhashdas said:
Dear ROM developer @MasterAwesome @sagarwep @Ak****banta @Avenger4droid @Akhilendra Gadde
I have a small question for you, please reply
Q.I want to mod a ROM i.e. i want to remove some apps from /system/apps folder of the rom and add some of my apps to /system/app and /data folder. please tell me how should i go about it.
should i just delete the unwanted apps and place my apps in the respective folder,
or
do i need to do any thing else.
one more thing
There is a file in the META-INF folder named Manifest.mf which contains details of the various files like this
If i add any apps in the /system folder of the rom do i need to modify this Manifest.mf file also and if yes, how can i get this "SHA1-Digest"???
please rom developers reply if possible in detail.
waiting for your reply.
Click to expand...
Click to collapse
Hello bro..
you can add any apps in the /system folder and no need to modify Manifest.mf file...
further that SHA-1 is nothing but md5 sum of the app....but as far as apps are concerned some apps need their specific libs..
Eg walkman app needs its specific libs to be moved to /system/libs in order to function properly....
hope i helped...
feel free to ask me..
Regards..
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
________________________________