Would one of you kind (and rooted) folks please post (or PM) a copy of your untouched feature.xml file located in system/csc/ please?
I made a copy before editing it, but then found out the hard way that my file explorer copied over that backup every time I made a change
Here you go!
Related
Can somebody make or instruct me how to rework the theme "Code Name Ninja" so that it will for with CM5.0.6. Right now its only out for Enomther's rom at Nexus-nation.com
Thanks in advance for any help or advice
Quick and dirty port guide:
Make x folder some where on your computer, for ease you can name it code_name_ninja_port
Open theme.zip file with 7-zip (what I use, so I understand how it works better than any of the others) or whatever file archiver you use.
Make a folder inside of the folder you just made for each .apk inside of the theme.zip with the name of that .apk.
Make a folder named res inside of each of those folders.
Now drag any and all folders with the part or all of the name drawable from inside each of the .apk's inside of the theme.zip. Those folders will be located at appname.apk/res/.
Now you will need to delete any and all .xml files out of the folders.
That is how you isolate all the images in a theme to make it easy to port to new/different ROMs.
You can now go to the MetaMorph sticky section and figure out how to easily make a morph from the way you just set that up. Really, all you need, if you set it up exactly that way is a .nomedia (so none of the images show up in your gallery, you can get a .nomedia from pretty much any morph) and a .thm (soon to be obsolete but still works with free version of metamorph) and a .xml (should make one anyways since on the 31st of April .thm files will no longer be used in the free version of metamorph) file, and package them all up in a .zip and you are good to go.
You may need to make the text a different color, but all the instructions/guides you need are in the sticky. Good luck on porting it.
Hey folks,
Okay so I have the HTC_IME_JONASI file installed and I see it in the setting but I am having trouble changing the keyboard colors, Can anyone walk me through this or direct me to a link where I can do this?
Thanks In Advance Folks!
afaik you would need to modify it before pushing it over to the phone
unless its something different than just a themed ime
(this should be in Q&A btw)
You have to do this
1. change the file extension from .apk to .zip
2. extract the contents of the .zip file to a directory, if you use winrar or 7zip or similar, you usually can just right click on the file, then it will extract to "xxxxxx\" where xxxxx would just be the name of the file and a directory where that file is located will be created.
3. Go to the directory that was just created and then go to the RES folder
4. Scan through the different folders within RES and find the files you will need to change
5. Download GIMP (free) or acquire Photoshop (ripoff price)
6. Use GIMP or photoshop to edit your .png files, then save to same directory
7. Do this for all files needed, also read up on .9.png files, if you don't edit them properly before sending them back to your phone, your keys might be coming out looking stretched.
8. Once you edit all files, and also note that some files might exist in other directories that are the same as in another. Same filename, check the dimensions (pixels example 54 x 47) and if they are the same just copy then paste it over from the other directory and overwrite that file that wasn't edited, that way you don't have to do it twice
9. Use your program 7zip or winrar or similar and compress the files again. Easy way is to go back to the root of the folder where it shows all the files you extracted within the folder you created, select all files in that folder, right click, then choose add to archive, and make sure you create a zip. Change the file extension from .zip to .apk
10. Push to phone and pray it looks right.
Instructions:
copy "framework-res.apk"to your PC
Rename .apk to .rar(zip) then right click"framework-res.rar"then extract it with WinRAR(WinZip)
Enter framework-res\res\drawable-hdpi and select"stat_sys_battery_0.png" to "stat_sys_battery_100.png",total 101 pictures which from your sources folder and copy all of them to the destination,replace older files like these
When you finish doing that back to find folder"framework-res",then use WinRAR OR 7zip(i used 7zip) to compress it to a .APK file the"archive name" is end with .apk And "Compression method" is "Store"
Modify the attribution of this apk!(from root explorer).
Its attribution is "rw-r--r--"
Modify with Root Explorer or other programs and now copy "framework-res .apk in system/app
Reboot...
n u r with your new battery mod
LINK------http://www.mediafire.com/?6o7r6wy2gu3bnyw
NJOY frnds !!!!
IF BY ANY MEANS I HELPED U,PLEASE HIT THANX
akshatsourav said:
Instructions:
copy "framework-res.apk"to your PC
Rename .apk to .rar(zip) then right click"framework-res.rar"then extract it with WinRAR(WinZip)
Enter framework-res\res\drawable-hdpi and select"stat_sys_battery_0.png" to "stat_sys_battery_100.png",total 101 pictures which from your sources folder and copy all of them to the destination,replace older files like these
When you finish doing that back to find folder"framework-res",then use WinRAR OR 7zip(i used 7zip) to compress it to a .APK file the"archive name" is end with .apk And "Compression method" is "Store"
Modify the attribution of this apk!(from root explorer).
Its attribution is "rw-r--r--"
Modify with Root Explorer or other programs and now copy "framework-res .apk in system/app
Reboot...
n u r with your new battery mod
LINK------http://www.mediafire.com/?6o7r6wy2gu3bnyw
NJOY frnds !!!!
IF BY ANY MEANS I HELPED U,PLEASE HIT THANX
Click to expand...
Click to collapse
First copying framevork apk to app folder does nothing, second just adding new graphics to apk without modding xml files does nothing.
I suppose that you have already modded framework (first Chinese rooted ROM had this modd in framework-res.apk) and replaced those .pngs and there is no need to rename and compress just drag and drop using winrar. Of course you could not have any effect if you did not copied this apk to your root/system/framework folder.
There is also charging graphics, after all without modding xml files you can only see few graphics (battery level 0, 10, 20, 40...). And dangerous thing is replacing framework apk with another from other ROM version will end up with "bootloop"...
nedooo said:
First copying framevork apk to app folder does nothing, second just adding new graphics to apk without modding xml files does nothing.
I suppose that you have already modded framework (first Chinese rooted ROM had this modd in framework-res.apk) and replaced those .pngs and there is no need to rename and compress just drag and drop using winrar. Of course you could not have any effect if you did not copied this apk to your root/system/framework folder.
There is also charging graphics, after all without modding xml files you can only see few graphics (battery level 0, 10, 20, 40...). And dangerous thing is replacing framework apk with another from other ROM version will end up with "bootloop"...
Click to expand...
Click to collapse
and if i hav a cwm backup i can restore it.....so wat
is a problm it trying...?
Today I will show you how to make a flashable .zip file to use with any CWM based recovery.
Thanks - pankaj88
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 sample.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 and bootsound. To do so, we have to create sub-directories in the /system/ folder by following this easy method:
- On your desktop, right-click on an empty spot and select "New / Folder" then edit the name to "etc" (remove " ") using no CAPS or space at the end;
- repeat the process to make another folder called "media";
- drag those two new empty folders into the /system/ folder of the 7-zip opened archive [just click yes on the popup dialogs];
- now simply drop the two files in their respective place: the sanim.zip file should go in '/system/media' folder and the PowerOn.wav into '/system/etc' folder.
.. If you have more files to add, just follow the logic above; I'm sure you get the idea by now..
Hints
/system/app - all the system apps (SystemUI.apk etc)
/system/framework/ -framework-res.apk, twframework-res.apk, android.policy.jar
/system/etc - vold.fstab, PowerOn.wav(bootsound)
/system/media - sanim.zip (bootanimation) (only for custom ROMs)
/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.
That's it !!
Press thanks it that helped u
hi
requirement mentions notepad++
why do we need that ?
can you pls explain how to write scripts or direct me to an easy guide. ?
Sent from my GT-I9003 using Tapatalk
This is the copy paste of an existing thread on xda
I guess its a violation of xda rule
Sent from my GT-I9003 using xda premium
Sorry no need of notepad.
Sent from my GT-I9003 using xda premium
No I studied a thread from pankaj88 and shared it with u guys
Sent from my GT-I9003 using xda premium
As I can see nobody likes to read FAQs
That is the hard way. And thus is the simple way
Sent from my GT-I9003 using xda premium
Moving thread
I agree this is different enough to remain open in the General forum. Moving thread out of the Dev forum. The reason Notepad++ is recommended is that Notepad or Wordpad in Windows will strip off the Unix formatting. There are other editors besides Notepad++ that will work as well, check around if you like.
Thank you,
mf2112
flashable zip steps explain us by screen shots
hi all,
please tell me that how to make flashable zip file for fonts and many.........please upload steps with it's screen shots
thanks all:good:
Stock Flashable Recovery
Hi there I need to create a flashable recovery zip to flash in TWRP. I have all files ready and waiting, I just need to know where to put the recovery.img within the zip.
Thanks in advance.
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.