help in some locations of some apps - HTC Wildfire S

what is the location of the following things and how to mod it while cooking a rom(when i cook i have a working folder )
and thats what the question is.. where to pot the following things so that it runs as system apps.
for eg.. a theme..
where to put the files of theme.. which are those files etc..
:
1.theme
2.bootanimation
3.launcher
4.downanimation
m new to rom cooking so

mhrsolanki2020 said:
what is the location of the following things and how to mod it while cooking a rom(when i cook i have a working folder )
and thats what the question is.. where to pot the following things so that it runs as system apps.
for eg.. a theme..
where to put the files of theme.. which are those files etc..
:
1.theme
2.bootanimation
3.launcher
4.downanimation
m new to rom cooking so
Click to expand...
Click to collapse
You can use this guide
http://forum.xda-developers.com/showthread.php?t=1272270

You could always use uot kitchen. Locations of files that need to be modded depends on the ROM. Will it be sense or cm7? Location of bootanimation.zip is /system/media in the sense ROM I'm using and also the same for cm7. If its a sense ROM also check /data/local . The files that are needed to mod are.... framework-res.apk which is in /system/framework .
systemUI.apk which is in /system/app.
And if its a sense ROM, then also com.htc.resources.apk which is also in /system/framework
Fonts are in /system/fonts
I use uot kitchen so all the hard work is done for me but u r still limited.
Sent from my HTC_A510c using xda premium

djthebogan said:
You could always use uot kitchen. Locations of files that need to be modded depends on the ROM. Will it be sense or cm7? Location of bootanimation.zip is /system/media in the sense ROM I'm using and also the same for cm7. If its a sense ROM also check /data/local . The files that are needed to mod are.... framework-res.apk which is in /system/framework .
systemUI.apk which is in /system/app.
And if its a sense ROM, then also com.htc.resources.apk which is also in /system/framework
Fonts are in /system/fonts
I use uot kitchen so all the hard work is done for me but u r still limited.
Sent from my HTC_A510c using xda premium
Click to expand...
Click to collapse
ohk you mean i should edit the script with note pad ++ ?
can you tell me how to set up uot kitchen m sorry m not a noob though but then i am really confused of which kitchen to use
started with ubuntu it was hell slow,
then itje downloaded everythign but that link off BATCH FILE was dead so all time got wasted
and thn now using Dsixda's kitchen..
where can i find uot kitchen set up instructions??
plz link me there,,

will this be a theme for a cm7 or sense rom? all you need to do is pick the rom that you want to make a theme for, browse through the zip and copy the framework-res.apk, systemUI.apk, and also the com.htc.resources.apk to your desktop or whatever folder you want on your computer. Then go to..... http://uot.dakra.lt/kitchen/
click on file upload tab.....then click upload system files. It will then let you browse for the apk files you copied to your desktop. Upload the 2 for cm7 or all 3 for sense rom. Then you just click on the different tabs and select the things you want to add. just make sure to generate previews to get it how you want, and always select mdpi for phone screen size. When adding a bootanimation using uot, make sure you select the location for it, the same as where you bootanimation currently is. Like i said before, mine is a sense rom and my bootanimation.zip is in /system/media, but for some reason on the uot kitchen the default sense rom location for bootanimation is /data/local, so make sure u change it accordingly. Its very simple to use the kitchen, just time consuming till u figure out what exactly u like and want.

djthebogan said:
will this be a theme for a cm7 or sense rom? all you need to do is pick the rom that you want to make a theme for, browse through the zip and copy the framework-res.apk, systemUI.apk, and also the com.htc.resources.apk to your desktop or whatever folder you want on your computer. Then go to..... http://uot.dakra.lt/kitchen/
click on file upload tab.....then click upload system files. It will then let you browse for the apk files you copied to your desktop. Upload the 2 for cm7 or all 3 for sense rom. Then you just click on the different tabs and select the things you want to add. just make sure to generate previews to get it how you want, and always select mdpi for phone screen size. When adding a bootanimation using uot, make sure you select the location for it, the same as where you bootanimation currently is. Like i said before, mine is a sense rom and my bootanimation.zip is in /system/media, but for some reason on the uot kitchen the default sense rom location for bootanimation is /data/local, so make sure u change it accordingly. Its very simple to use the kitchen, just time consuming till u figure out what exactly u like and want.
Click to expand...
Click to collapse
i figured out all that .. i m asking you now that
i did one thing..
i read the update-script
and it was
Code:
ui_print("Applying UOT framework");
run_program("/sbin/busybox", "mount", "/system");
delete("/system/framework/framework-res.apk");
package_extract_dir("framework", "/system/framework");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "mount", "/system");
delete("/system/app/SystemUI.apk");
package_extract_dir("app", "/system/app");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Applying UOT fonts");
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("fonts", "/system/fonts");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Applying UOT bootanimation");
run_program("/sbin/busybox", "mount", "/data");
package_extract_dir("data", "/data");
run_program("/sbin/busybox", "umount", "/data");
i removed the framework-res.apk from my rom zip file
and then pasted the one from the zip i got from uot
then i removed systemui.apk
and pasted from the one i got from uot in to my roms zip file..
and then took the zip file and pasted in my cell,
flashed the rom.zip in via cwm recovery ..
unforrtunately i dont have a status bar :O
i wil paste to bootanimation to system/media
but what about the status baar :O where did it go ..

I don't understand why u r replacing the framework and systemui manually. Just use cwm to install the zip file. Do not modify it after u have cooked it up. Just copy the zip to your SD card and flash.
Sent from my HTC_A510c using Tapatalk

djthebogan said:
I don't understand why u r replacing the framework and systemui manually. Just use cwm to install the zip file. Do not modify it after u have cooked it up. Just copy the zip to your SD card and flash.
Sent from my HTC_A510c using Tapatalk
Click to expand...
Click to collapse
Bro m gonna post this Rom here in the forum.. I have good ideas but no knowledge of how to do ..
N as m gonna post the Rom here I need the uot mods into the Rom n not as a seprate flashable zip .. can I replace the system UI n framework apks while cooking .?

To get status bar back restore system.img file in recovery under advance restore

MrTaco505 said:
To get status bar back restore system.img file in recovery under advance restore
Click to expand...
Click to collapse
Bro as of now m havng my status bar using my cooked Rom with flashed uot mod.. but then how to combine both is my question

If u r trying to use your theme in your own ROM without having to flash it, u will have to replace more than just the systemui and framework I believe and also sign the zip after its edited. U will need to talk to a real theme dev, I would post the question in the themes and apps section or start doin some Google search.
Sent from my HTC_A510c using Tapatalk

You will need to swap com.htc.resources.apk that is compatible with your theme.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

MrTaco505 said:
You will need to swap com.htc.resources.apk that is compatible with your theme.
Click to expand...
Click to collapse
i had uploaaded the com.htc.resources.apk but it wasnt there in the zip i downloaded from uot kitchen,..
can you help me with how to get a com.htc.resources.apk that is compatible.?

Related

[THEME] Ginger Green V.1.1 Complete *Battery Mod/Transparent Statusbar/CRT Off*

Here is my Ginger Green theme!
Features
CRT Off Screen Animation
Transparent Statusbar
Battery Percentage Mod
Gingerbread Statusbar Icons
Green Glow Around Popout Menus
Greyscale Settings Menu
Greyscale Power Menu
Recoloured Notifications Slideout
Selection Colour is now green not blue
Screens
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How to Install
1) Download the files from below
2) Download ADB (if you dont already have it)
3) Copy the files into the same directory as ADB
4) Run Commands below for whatever files you want
Code:
adb push framework-res.apk /system/framework
Code:
adb push SystemUI.apk /system/app
Code:
adb push Settings.apk /system/app
5) Once finished run command
Code:
adb reboot
Downloads
Settings.apk V.1.0
SystemUI.apk V.1.0
framework-res.apk V.1.1 (rename to framework-res.apk after downloading, mirror creator wants to add a _0 for some reason :S)
Good stuff! this maybe the sgs2 first xda theme
dh2311 said:
WORK IN PROGRESS!!
Got some features working on my phone. Just need someone to upload stock framework-res.apk and systemUI.apk
need to go back to stock, because ive gone mental on mine and cant remember what I've changed to get it back to stock.
Working so far;
Transparent Statusbar
Modded Icons
Volume bar colour
Loading bar colour
Please help me by dropping the apk's here
Click to expand...
Click to collapse
Good stuff,
Get some screenshots up of what you've managed so far, and I'll get to work on getting you the APK's
If you want screens, click on my sig, its basicly the theme from my rom, but without AOSP, Extended power and overscroll. Some things may turn out different, still making some stuff
Theme is up, ENJOY!!
Please could you also share your wallpaper?
Is it possible to use the UOT Kitchen with the SGS II by removing the framework and systemUI apks from the system dump in the development section?
You can use UOT, I used it for a couple of the mods on this, only reccomendation is to pull the apk's from your phone as the system dump is from an older pre-release software
Nice work
One q: did u really have transparent statusbar on this rom?, i been trying to get this without luck.
DocRambone said:
Nice work
One q: did u really have transparent statusbar on this rom?, i been trying to get this without luck.
Click to expand...
Click to collapse
Alright DOC! I know its off topic, but please tell me you are bringing rom kitchen to SGS II I love it
EDIT: Just looked at the site
And as for transparent statusbar, my flawless technique for getting it working is UOT kitchen. it just works! I tried manually and failed, but it is transparent, well translucent if u wanna be picky
Would be good to have the old TV box effect on lock - i thought I saw it in an earlier version. Has it been removed from this one?
Adding CRT Off anim now, sry bout that, totaly forgot
Can i just copy your Framework-res.apk over the existing one on my phone using root explorer instead of using Adb??
Sent from my GT-I9100 using XDA Premium App
kersey said:
Can i just copy your Framework-res.apk over the existing one on my phone using root explorer instead of using Adb??
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
should be able to yeh, just suggested adb as its a free method.
CRT Off animation added for locking the screen...
dh2311 said:
Alright DOC! I know its off topic, but please tell me you are bringing rom kitchen to SGS II I love it
EDIT: Just looked at the site
And as for transparent statusbar, my flawless technique for getting it working is UOT kitchen. it just works! I tried manually and failed, but it is transparent, well translucent if u wanna be picky
Click to expand...
Click to collapse
Yes, sgs 2 will be in kitchen, most base work finished, need a cw recovery th.
Tried the UOT kitchen, but still no go for transparency...
DocRambone said:
Yes, sgs 2 will be in kitchen, most base work finished, need a cw recovery th.
Tried the UOT kitchen, but still no go for transparency...
Click to expand...
Click to collapse
Ermm.. thats how I did it so i dunno.
try using this theme and editing the png's. I dont care if you use it ;P
How easy is it to go back to original from this theme???
Also whay do you do with the framework-res_0.zip - just rename it to framework-res.apk ????
how does this work becuase the system apps have .odex files.. dont you have to remove this first.. adb push will not remove them?
extrememonkey said:
How easy is it to go back to original from this theme???
Also whay do you do with the framework-res_0.zip - just rename it to framework-res.apk ????
Click to expand...
Click to collapse
Don't know what happened there, the file I uploaded was framework-res.apk?? Il reupload
EDIT: Turns out mirror creator renames the file if there is already a file uploaded with the same name. You'll have to rename it, sorry
lgkahn said:
how does this work becuase the system apps have .odex files.. dont you have to remove this first.. adb push will not remove them?
Click to expand...
Click to collapse
Nope, works with the old odex, just leave it there and replace the apk, still works fine for me

Theming Galaxy Ace

Hey guys, any of you know how to theme galaxy ace? I am running 2.3.3 KPE with root but metamorph doesn't seem to work as it took eternity to apply the framework-res.apk. great thanks for your help .
terrytayy said:
Hey guys, any of you know how to theme galaxy ace? I am running 2.3.3 KPE with root but metamorph doesn't seem to work as it took eternity to apply the framework-res.apk. great thanks for your help .
Click to expand...
Click to collapse
im running 2.3.3 KPE too and metamorph is working,just install busybox and update
I used UOT Kitchen on 2.3.3 and it worked fine. Applied battery and icons.
Uot kitchen not working on villain rom.. Ive tested it. And makes notification bar gone
Sent from my GT-S5830 using XDA App
Black Theme
Here is Black theme for Galaxy ACE (no ROOT or Deodex needed)
Works for KPE and Villain ROM....
Installation:
Just go to recovery mode and apply update.zip...
Make backup of these files if you will want go back:
/system/framework/ framework-res.apk & twframework-res.apk
/system/app/Settings.apk & SystemUI.apk
Dowload theme: http://goo.gl/sKrRH
Original thread at Kaskus.us http://goo.gl/Lh0BL
I just made an installation easier...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I made a change of battery icon to this one:
ingbrzy said:
Here is Black theme for Galaxy ACE (no ROOT or Deodex needed)
Works for KPE and Villain ROM....
Installation:
Just go to recovery mode and apply update.zip...
Make backup of these files if you will want go back:
/system/framework/ framework-res.apk & twframework-res.apk
/system/app/Settings.apk & SystemUI.apk
Dowload theme: http://goo.gl/sKrRH
Original thread at Kaskus.us http://goo.gl/Lh0BL
I just made an installation easier...
I made a change of battery icon to this one:
Click to expand...
Click to collapse
cool theming!
thx
maybe, do you have the theme also with circle battery?
the current one is rather hard to read...
Just use UOT kitchen....
Sent from my GT-S5830 using Tapatalk
lonkay said:
Uot kitchen not working on villain rom.. Ive tested it. And makes notification bar gone
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
i tried to use this method with no success, can u give me guide ?
10X
you can use uot kitchen, but use framework-res.apk from villain rom as the base.
Trying to port themes to villain
still have some bugs anyway
All thanks goes to :
ak1k4zu and mancunianec
You can apply it in recovery mode.
Code:
http://dl.dropbox.com/u/6268592/Ace/Theme/Alpha/Honey/honeygreen.zip
Unfortunately i don't have original file backup (just have framework-res.apk), but someone uploading it in kaskus (will post it later)
seilent said:
you can use uot kitchen, but use framework-res.apk from villain rom as the base.
Trying to port themes to villain
still have some bugs anyway
All thanks goes to :
ak1k4zu and mancunianec
You can apply it in recovery mode.
Code:
http://dl.dropbox.com/u/6268592/Ace/Theme/Alpha/Honey/honeygreen.zip
Unfortunately i don't have original file backup (just have framework-res.apk), but someone uploading it in kaskus (will post it later)
Click to expand...
Click to collapse
Battery icon is not working properly... percentage is not OK... you can check it with *#0228#... so I replaced battery icon by another with UOT Kitchen and it is working weel now...
download: http://goo.gl/Re07F
seilent said:
you can use uot kitchen, but use framework-res.apk from villain rom as the base.
Trying to port themes to villain
still have some bugs anyway
All thanks goes to :
ak1k4zu and mancunianec
You can apply it in recovery mode.
Code:
http://dl.dropbox.com/u/6268592/Ace/Theme/Alpha/Honey/honeygreen.zip
Unfortunately i don't have original file backup (just have framework-res.apk), but someone uploading it in kaskus (will post it later)
Click to expand...
Click to collapse
dude nice work...
hmm,
seilent said:
you can use uot kitchen, but use framework-res.apk from villain rom as the base.
Click to expand...
Click to collapse
what about the SystemUI? I tried using framework-res.apk from villainrom as the base, but same thing happened... the status/notification bar dissappeared. I just wanted to change the battery icon..
after a little exploration, I manage to overcome it by replacing the .png files of the batt icon.. but still, I wonder how you guys manage to use UOT without dissappearing the notif bar
you can use KPE base at UOT, but after finished with UOT, then you copy the image manually from framework-res & systemUI generated from UOT to framework-res & systemUI at villainrom
lonkay said:
Uot kitchen not working on villain rom.. Ive tested it. And makes notification bar gone
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
i disagree. i am using villain rom with uot kitchen honeygreen theme from ingbrzy..
ingbrzy said:
Battery icon is not working properly... percentage is not OK... you can check it with *#0228#... so I replaced battery icon by another with UOT Kitchen and it is working weel now...
download: http://goo.gl/Re07F
I have new battery xml file, but too lazy to fix that
but, thanks anyway
Click to expand...
Click to collapse
seilent said:
you can use KPE base at UOT, but after finished with UOT, then you copy the image manually from framework-res & systemUI generated from UOT to framework-res & systemUI at villainrom
Click to expand...
Click to collapse
thanks for the info! I'm using black theme now, and I wanted the menu to be black in background and have a little transparency like the one in your 2nd screenshot of honeygreen.. how to change that?
@azreen91, I think that's something about menu_background*9.png
you can download my theme above, then copy that file to your theme
thumbs up bro! helped alot!
oh one more thing.. how to change the slim volume like in the 3rd n 5th pic? sorry, I'm a newbie >.<
azreen91 said:
thumbs up bro! helped alot!
oh one more thing.. how to change the slim volume like in the 3rd n 5th pic? sorry, I'm a newbie >.<
Click to expand...
Click to collapse
try to take progress horizontal xml at drawable folder in theme above. Then copy image *holo.9.png (i think so)
I'm riding motorcycle now, so i can't give full explanation yet..
hahaha okay.. I'll try it now.. will tell you the result soon. thanks bro

[How TO] Create/Modify Your Own HD2 ROM[Discontinued]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
This tread is not monitored or updated any more use for reference only
Who is this tutorial for?
Beginners like me
People with little or no programming skills
You love to or would like to flash,modify and test roms
This is a very basic tutorial!!
Click to expand...
Click to collapse
Step one: Setting up the Android kitchen
First you will need to set up dsixda's android kitchen
Here is a summary of the installation process( I recommend you read the tread first)​
1. Before you do anything install the java jdk(find it in dsixda's thread)
2. Download and extract the cygwin_packages.zip provided by dsixda on third post
3. Run the set up(make sure there is no previous cygwin installation)
4. Follow the kitchen read me txt!!!
5) local package directory *must* be the path to the cygwin_packages folder that you just extracted
6) when it shows all the package names, go to the top and select "all <-> default" until it changes to "all <-> install" (you must click on the arrows)
7. Run the cygwin at least once and close, now you will see a folder inside the cygwin installation like this: Home\your user name\
8. Download the kitchen and extract to the home\your user name\
9. Rename the dsixda-android-kitchen-*** folder to just "kitchen"
10. Now your ready to run the kitchen type:
Code:
cd kitchen(enter)
./menu(enter)
11. If you did things right you should see this:
congratulations!!
Click to expand...
Click to collapse
Step Two: Setting up a working folder​1. First our folder structure should look like this:
Code:
cygwin folder/home/your user name/kitchen
2. Inside the kitchen it should look like this:
3. Now we need a rom to work on, for this tutorial i will use my own rom but you can use any hd2 rom. Place the original rom zip in the original_update folder inside the kitchen.
4.run the cygwin.exe again type:
Code:
cd kitchen(enter)
./menu(enter)
5.now enter option 1, enter again. You should see your rom listed, choose and enter
6.you will be asked about changing the working folders name, at this point it makes no difference so just continue.
7.you will be asked to convert to update-scrip do it and continue
8. Now you can view the roms info
9. congratulations you have a working folder!!!
Click to expand...
Click to collapse
Step Three :change/modify/update!​
First I will be covering basic changes you can make to your rom, later I will be adding more helpful hints.
Adding/removing applications
1. Go to the working folder where you extracted your rom, inside you will find:
or
2. Then go to "system/app" inside this folder you will find all the rom applications(apks) you may also find some in the data folder if your rom has this folder.
3. Copy, replace, and change any app(apk) be carefull if you dont know what the apk is do not delete!!
4. Congrats you have modified a rom, if your ready and want to see if it worked skip to step four to buil rom from working folder.
Click to expand...
Click to collapse
Adding new boot animation
1. Just replace the bootanimation.zip located in "workingfolder/system/media" with the boot animation of your choice.
here is a sample of my bootanimation to try.
Click to expand...
Click to collapse
Edit the gps script for your country/location
1. In the workingfolder/system/etc/ you will find a file named gps.conf, you can
edit this file with notepad++ or even word.
2. using the right gps script in this file can speed up gps lock, you can
find some from angeldeath, download extract and replace the gps.conf.
Click to expand...
Click to collapse
Changing the default wallpaper
1. Be very careful doing this, do not edit,delete or modify an apk without knowing what it is or does.not all things are as simple as copy and paste.
2. go to the workingfolder/system/framework/
3. Install 7zip and open the framework-res.apk
4. With in the framework-res.apk with 7zip go to "res/drawable-hdpi/" and look for the default_wallpaper.jpg. You can extract modify and replace with new one.
5. Make sure its the same file format and image dimensions.(in some roms you can also modify the default_lock_wallpaper.jpg)
Click to expand...
Click to collapse
MMS Fix for T-mobile
1. *I Have only tested this on MIUI Roms*
2. Go to "workingfolder/system/app"
3. Find MMS.apk
4. Right click and open with 7zip
5.Inside mms.apk go to "rex/xml/"
6.replace the "mms_config.xml" with this "mms_config.xml"
Click to expand...
Click to collapse
modifying build.prop
"build.prop" is a file that contains various system-vital "parameters"
Some can be modified with little risk, some can cause havoc. So Please do this Carefully!!!!!!
1. Locate the file "workingfolder/system/"
2. Open with notepad++
There is several simple changes that can be done, I will start with some and add more later.
LCD Density
1. If you dont know anything about this topic Here is some info to get started
2.Locate this line inside the build.prop "ro.sf.lcd_density=240"
3.The only value you will modify is the "240" to your preference.
Difference is simple and visible!
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Update Kernel From update.zip
Note that it's not always as easy as copy and paste
1. Extract you kernel_update.zip
2. Copy and replace the extracted files to the corresponding folders inside your finished ROM
3.Start with the boot folder
4. If the kernel was from another rom replace initard.gz from your rom
5. Than the system folder (there might be some libs and modules associated with the rom)
6. Another helpful hint is to open the updater-script
to see if your kernel requires you to delete anything for the kernel to work correctly.
sample script:
Code:
delete("/system/ppp");
Click to expand...
Click to collapse
Update GPS librarys From update.zip
1. Extract you GPS_lib_update.zip
2. Copy and replace the extracted files to the corresponding folders inside your finished ROM
6. Another helpful hint is to open the updater-script
to see if your gps lib's require you to delete anything for the lib's to work correctly.
Click to expand...
Click to collapse
Make a wifi calling update.zip
1. Download tytung's T-Mobile WiFi Calling Apps and Lib's
2. Open with 7zip
3. Extract the build.prop
4.Open build.prop with notepad++
5.Now open your build.prop from you rom
6.copy the txt from your rom's build.prop
7.paste to the top of the wifi calling buil.prop
8.save and with 7zip insert the new build.prop to tytun's wifi calling update.zip
9. Flash and test
Click to expand...
Click to collapse
-there are several other options provided by dsixda's android kitchen for that I recomend you go to the tread and read.
Click to expand...
Click to collapse
Step Four: repackage the rom ​
Now that you have made some changes it's time to test!!
1. Run the kitchen and enter option 99 - "biuld rom from working folder"
2. Choose mgldr or clk
3. I recommend that you go with all default options until you get more experience with the kitchen.
4. When its all done you will find a folder inside "cygwin/home/yousername/kitchen" called output_zip
5. Inside the folder is your new rom ready to be flashed and tested!!!
Click to expand...
Click to collapse
UPDATER-SCRIPT
Thanks to user langthang for a great updater-script guide.
Download it HERE
Click to expand...
Click to collapse
I had a couple of request on how to get custom txt during the ROM installation in CWM,
the updater-script basically tells CWM what steps to take during the installation(flashing rom).
If you don't have any experience please don't edit anything other than what is in this simple tutorial.
1.First once you have your Rom ready in .zip format, Open with 7zip
2.Go to META-INF/com/google/android
3.Extract the updater-scrip file
4.Open with Notepad++
5.Any text that would appear during the CWM install should be in this format :
Code:
ui_print("Put your text in HERE");
Here is the requested 3d MIUI LOGO for example:
Code:
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print(" ___ ___ ");
ui_print(" /__/\\ ___ /__/\\ ___ ");
ui_print(" | |::\\ / /\\ \\ \\:\\ / /\\ ");
ui_print(" | |:|:\\ / /:/ \\ \\:\\ / /:/ ");
ui_print(" __|__|:|\\:\\ /__/::\\ ___ \\ \\:\\ /__/::\\ ");
ui_print("/__/::::| \\:\\\\__\\/\\:\\__ /__/\\ \\__\\:\\\\__\\/\\:\\__ ");
ui_print("\\ \\:\\~~\\__\\/ \\ \\:\\/\\\\ \\:\\ / /:/ \\ \\:\\/\\");
ui_print(" \\ \\:\\ \\__\\::/ \\ \\:\\ /:/ \\__\\::/");
ui_print(" \\ \\:\\ /__/:/ \\ \\:\\/:/ /__/:/ ");
ui_print(" \\ \\:\\ \\__\\/ \\ \\::/ \\__\\/ ");
ui_print(" \\__\\/ \\__\\/ ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
6.Add your text start at top and save,
then replace with new updater-scrip
Click to expand...
Click to collapse
congratulations!!
Click to expand...
Click to collapse
There is allot more that I did not cover, didn't even scratch the surface.
This was not intended for porting roms or any mayor scripting, this wont help you
with writing drivers, kernels, libs etc. Just tried to make it as simple as possible for
beginners like me, so we can understand the amount of work devs go through.
Please! please! before you release any Rom, test and test again!!!!!!
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Just want to thank XDA Forums for giving us this space to play learn and share.
man that is wonderful threat from u ..thanks u try to make it simple and u success pls try to make this threat open and i think we can make it as a full guide in the future
wow it looks great I must try it later, thanks man
Gunna give this a go later, thnx bud
Thanks man ! I tried several times to build my own ROM with the kitchen but always failed. It builded right but never booted.
These are the topics I think should be mentionned :
- Injecting your own kernel (I mean : injecting a kernel that comes in a zip).
- clK special demands ?
- editing system configs/files that need a fix to work better with our device.
That's a lot of work but boy am I excited for this. I just might try again !
Nice going mate .... perhaps i post NAND Build some day
I saw a similar guide on Boyppc Theard longtime ago
But I hope we have more Cooker for HD2 here
mccmjoon76 said:
Nice going mate .... perhaps i post NAND Build some day
Click to expand...
Click to collapse
u r welcome in nand ..man we miss your great work here pls try to post nand rom , i know it will be icon here pls try
Nice work
* place holder *
Sent from my HTC HD2 using XDA App
when i open Cygwin from desktop it opens and close alone , any idea please?
Update!!
Just Added the following in step trhee:
MMS Fix for T-mobile
modifying build.prop
-LCD Density
(Please be patient we all have jobs and family's )
cool...gonna try it...
Thanks man
I think this deserve a sticky
On Windows 7 64bit I have this -
What to do??
p.s. java already installed...
this thread has to be marked as " sticky ".
excellent work indeed !
Mods Sticky Pls?
Maybe when this tutorial is complete I will build my own rom.
tin2404 said:
this thread has to be marked as " sticky ".
excellent work indeed !
Click to expand...
Click to collapse
completelly agree!!!
xaoc747 said:
On Windows 7 64bit I have this -
What to do??
p.s. java already installed...
Click to expand...
Click to collapse
Did you install 64b java or 32b? I assume this needs the 32b version which installs fine of 64b windoze.
xaoc747 said:
On Windows 7 64bit I have this -
What to do??
p.s. java already installed...
Click to expand...
Click to collapse
Try this: http://forum.xda-developers.com/showpost.php?p=14474038&postcount=4877
If it still doesn't work, Search dsixda's tread, this has been answered several times before.
Good Luck

[compilation][guide] battery icon pack!

[TUTORIAL][GUIDE][BATTERY ICON PACKS COMPILATION]​
Assalamualaikum and hi everyone...
i make this thread for compilation of battery icon pack
you can download it from attachment at 1st, 2nd and 3rd post
Note: those icon packs are not flashable..you need to extract them and put to your framework-res.apk
screenshot for compilation of battery icon packs
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
GUIDE
This guide is about how to change battery icon and make it changing by 1% and continuously increasing animation by 1% while charging.
Actually this is very simple guide and many of you already know this.
Some of roms out there already have this animation so this guide is for users of rom that not have this animated battery icon.
Note: Since it is a flow animation so i don't know how to show you..i just upload some screenshots
I'm not responsible for any damage done to your phone.
Use at your own risk!
Click to expand...
Click to collapse
things needed:-
1. knowledge about how to decompile and recompile apk files
2. APKTool
3. framework-res.apk of your rom
4. XML editor
5. XML file that i attached at the attachment
6. PNG icon (download it at attachment or you can choose your own)
Make sure you make a back up for your current framework-res.apk
Click to expand...
Click to collapse
steps:-
1. download my xml file that i attached at the attachment
2. take out framework-res.apk from your device system and decompile it
3. copy downloaded xml files and go to folder framework-res/res/drawable paste and replace there
4. next put png image i attached or choose your own png to framework-res/res/drawable-ldpi
5. recompile framework-res.apk and push to your system
6. Done! (try to put charger to see whether charging animation working or not)
IF ABOVE STEPS NOT WORKING TRY THIS!
steps:-
1. download xml file that i attached at the attachment
2. take out framework-res.apk from your device system and decompile it
3. go to framework-res/res/drawable
4. open stat_sys_battery.xml with xml editor
5. find this line and delete all text below that
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
6. open stat_sys_battery.xml file that i attached and copy text inside it starting from
Code:
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0" />
until the end of text and paste it below text at step no 5. (take note about lines and alignment)
7. save that xml file
8. next open stat_sys_battery_charge.xml in your drawable folder
9. find this line and delete all text below that
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
10. open stat_sys_battery_charge.xml that i attached and copy text inside it starting from
Code:
<item android:duration="1500" android:drawable="@drawable/stat_sys_battery_charge_anim0" />
until the end of text and paste it below line at step no 9. (i can't put here because they too long)
11. save both xml files
12. next put png image i attached or choose your own png to framework-res/res/drawable-ldpi
13. recompile framework-res.apk and push to your system
14. Done! (try to put charger to see whether charging animation working or not)
Credit:
-Google
-creator of those png icon
Sorry for my bad english
more battery icon packs
more battery icon packs
nice...
can i put it up in my upcoming website???
Blaze said:
can i put it up in my upcoming website???
Click to expand...
Click to collapse
Sure!!! and don't forget to give me link to that website,,,
Hey ! all is Good! Very Nice !
Will Try And Report !
it's not work on stock DXLF2 rom.
but it can work on CREED v4 rom.
can u tell me the problem?
fajarfuad said:
it's not work on stock DXLF2 rom.
but it can work on CREED v4 rom.
can u tell me the problem?
Click to expand...
Click to collapse
stock odex or deodex? this mode will not work on stock odex? but for stock deodex i'm not sure working or not
Asmy Yuh said:
stock odex or deodex? this mode will not work on stock odex? but for stock deodex i'm not sure working or not
Click to expand...
Click to collapse
my stock rom is deodex. but it still not working :'(
fajarfuad said:
my stock rom is deodex. but it still not working :'(
Click to expand...
Click to collapse
i'll check it and report
fajarfuad said:
it's not work on stock DXLF2 rom.
but it can work on CREED v4 rom.
can u tell me the problem?
Click to expand...
Click to collapse
i have try this mode on stock deodex DXLL1 and it works..
Asmy Yuh said:
i have try this mode on stock deodex DXLL1 and it works..
Click to expand...
Click to collapse
really?
can you tell me step by step when decompiling and compiling framework-res.apk ?
i'm confused.
thanks before
fajarfuad said:
really?
can you tell me step by step when decompiling and compiling framework-res.apk ?
i'm confused.
thanks before
Click to expand...
Click to collapse
do u really know how to recompile and decompile?
did u copy META-INF folder from original framework-res.apk?
Asmy Yuh said:
do u really know how to recompile and decompile?
did u copy META-INF folder from original framework-res.apk?
Click to expand...
Click to collapse
i'm sure i following the guide to decompile and recompile with apktool.
and i'm succes to decompile original framework-res.apk and edit this.
when i recompile. it says...
W: couldn't find sources
I: checking wheter resources has changed . . .
I: building resources . . .
Warning: AndroidManifest.xml already defines minSdkVersion (bla. . .bla. . .)
is this normal?
but build and dist folder was appear..
fajarfuad said:
i'm sure i following the guide to decompile and recompile with apktool.
and i'm succes to decompile original framework-res.apk and edit this.
when i recompile. it says...
W: couldn't find sources
I: checking wheter resources has changed . . .
I: building resources . . .
Warning: AndroidManifest.xml already defines minSdkVersion (bla. . .bla. . .)
is this normal?
but build and dist folder was appear..
Click to expand...
Click to collapse
after that did u copy META-INF folder from original framework to modified framework?
Asmy Yuh said:
after that did u copy META-INF folder from original framework to modified framework?
Click to expand...
Click to collapse
so i must copy META-INF folder from original framework to build folder?
fajarfuad said:
so i must copy META-INF folder from original framework to build folder?
Click to expand...
Click to collapse
YES! copy META-INF folder to modified framework-res.apk
Asmy Yuh said:
YES! copy META-INF folder to modified framework-res.apk
Click to expand...
Click to collapse
okay, i will try it
thank you very much.
dosen't work here
test
#Luan said:
dosen't work here
Click to expand...
Click to collapse
thanks, i'm test

FMRadio FM2 Lineage-16/AOSP themed

Since we don't have the newer FM Radio App in lineage-16 and because I don't like the "old" FM2, I recolored it for my needs
I made two flashable packages, one is the new themed FM2 and the other is the Stock FM2, if You don't like it.
INSTALLATION:
Reboot to installed TWRP
Mount ---> Select System
Install package
Reboot
Tested on my lineage-16 (20190530), might work on other AOSP Pie Roms with FM2.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
zitronenmelissa said:
Since we don't have the newer FM Radio App in lineage-16 and because I don't like the "old" FM2, I recolored it for my needs
I made two flashable packages, one is the new themed FM2 and the other is the Stock FM2, if You don't like it.
INSTALLATION:
Reboot to installed TWRP
Mount ---> Select System
Install package
Reboot
Tested on my lineage-16 (20190530), might work on other AOSP Pie Roms with FM2.
Click to expand...
Click to collapse
does it have RDS info ??
boe323 said:
does it have RDS info ??
Click to expand...
Click to collapse
It's the older FM Radio APP used in CM11/CM12 too, I never had RDS with it.
I guess the newer lineage/CyanogenMod FMRadio APP since CM13 has RDS?
Is it works with stock oreo?
I have TWRP installed on my phone...
No, I don't think so. These is for Pie Roms and fmradio lib should be enabled in kernel and "libqcomfm_jni.so" should be in /system/lib64. But it's always worth a try remember to backup files, that will be overwritten, "libqcomfm_jni.so" is attached, extract from zip file (rw-r-r in /system/lib64)
zitronenmelissa said:
Since we don't have the newer FM Radio App in lineage-16 and because I don't like the "old" FM2, I recolored it for my needs
I made two flashable packages, one is the new themed FM2 and the other is the Stock FM2, if You don't like it.
Click to expand...
Click to collapse
Hi, do you have a version Black themed? or can you tell me how did you themed it? did you used android studio or others way? Thanks
simone81 said:
Hi, do you have a version Black themed? or can you tell me how did you themed it? did you used android studio or others way? Thanks
Click to expand...
Click to collapse
I use apktool:
extract FM2 and framework-res.apk from Your rom
apktool if framework-res.apk
apktool d FM2.apk
Important files are /res/values/color.xml and some in /res/drawable
Color is written in hex color code with transparency ahead: #ff000000 is black #ffffffff is white for example.
You can decompile my file and for Your needs it will be enough to edit /res/values/color.xml
Recompile: apktool b FM2 and don't forget to put Original META-INF folder and AndroidManifest.xml back in new compiled FM2.apk in /dist folder (I use 7zip Archive Manager to do that)
I'm actually on latest Stock Rom, but I can try later to make a dark version.
simone81 said:
Hi, do you have a version Black themed? or can you tell me how did you themed it? did you used android studio or others way? Thanks
Click to expand...
Click to collapse
zitronenmelissa said:
I use apktool:
extract FM2 and framework-res.apk from Your rom
apktool if framework-res.apk
apktool d FM2.apk
Important files are /res/values/color.xml and some in /res/drawable
Color is written in hex color code with transparency ahead: #ff000000 is black #ffffffff is white for example.
You can decompile my file and for Your needs it will be enough to edit /res/values/color.xml
Recompile: apktool b FM2 and don't forget to put Original META-INF folder and AndroidManifest.xml back in new compiled FM2.apk in /dist folder (I use 7zip Archive Manager to do that)
I'm actually on latest Stock Rom, but I can try later to make a dark version.
Click to expand...
Click to collapse
Thanks so much for the explanation!!! i can try following your guide..... but im not sure to be able to modify color because im not good with the steps you wrote... By the way, if you can make a black version i would be very happy :fingers-crossed:
simone81 said:
Thanks so much for the explanation!!! i can try following your guide..... but im not sure to be able to modify color because im not good with the steps you wrote... By the way, if you can make a black version i would be very happy :fingers-crossed:
Click to expand...
Click to collapse
I can try. What about ... whats blue will be grey, whats grey will be black?
zitronenmelissa said:
I can try. What about ... whats blue will be grey, whats grey will be black?
Click to expand...
Click to collapse
Wow, It is perfect!! I like your color idea!!
I did try to follow your way to change the color file with notepad .... but i think i did a mistake when i have to zip together with Androidmanifest and the folder META-INF ( which have inside 3 files: CERT.RSA , CERT.FS, MANIFEST.MF) instead of your version That have a folder META-INF --> com-->google-->android-->and here 2 files : updater-script and update-binary).
Then i miss also the folder named system--> app -->FM2 with apk inside. <--- But i think this folders i have to create.
I made a try but doesnt work.... and i see my radio.zip ( i made so many try) is too small compared with yours.... ( more than 1mb, mine about 650kb)
So im sure i did miss some step or i did something wrong....
Thanks again to helping me :fingers-crossed:
View attachment RadioFm.zip
simone81 said:
Wow, It is perfect!! I like your color idea!!
I did try to follow your way to change the color file with notepad .... but i think i did a mistake when i have to zip together with Androidmanifest and the folder META-INF ( which have inside 3 files: CERT.RSA , CERT.FS, MANIFEST.MF) instead of your version That have a folder META-INF --> com-->google-->android-->and here 2 files : updater-script and update-binary).
Then i miss also the folder named system--> app -->FM2 with apk inside. <--- But i think this folders i have to create.
I made a try but doesnt work.... and i see my radio.zip ( i made so many try) is too small compared with yours.... ( more than 1mb, mine about 650kb)
So im sure i did miss some step or i did something wrong....
Thanks again to helping me :fingers-crossed:
View attachment 4779785
View attachment 4779786
Click to expand...
Click to collapse
The files from /original in decompiled FM2 folder have to be added to the new FM2.apk in /dist folder. You can open .apk files with 7zip too, because it's an advanced .zip file. The META-INF folder and the AndroidManifest.xml are necessary files in .apks.
The META-INF folder in flashing .zip files contains flashing script and binary to flash to correct directory for example.
You can use my FMRadio-themed.zip file as a template, if You want to. Just replace the FM2.apk in /system/FM2 folder.
I made a dark version, but it's a blind edition, could not test it on stock ROM, but it should work.
Structure of the .zip file for flashing:
/META-INF/com/google/android/update-binary
/META-INF/com/google/android/updater-script
/system/app/FM2/FM2.apk
Structure of FM2.apk:
/META-INF/CERT.RSA
/META-INF/CERT.SF
/META-INF/MANIFEST.MF
/res/...
AndroidManifest.xml
classes.dex
resources.arsc
Good luck
zitronenmelissa said:
The files from /original in decompiled FM2 folder have to be added to the new FM2.apk in /dist folder. You can open .apk files with 7zip too, because it's an advanced .zip file. The META-INF folder and the AndroidManifest.xml are necessary files in .apks.
The META-INF folder in flashing .zip files contains flashing script and binary to flash to correct directory for example.
You can use my FMRadio-themed.zip file as a template, if You want to. Just replace the FM2.apk in /system/FM2 folder.
I made a dark version, but it's a blind edition, could not test it on stock ROM, but it should work.
Structure of the .zip file for flashing:
/META-INF/com/google/android/update-binary
/META-INF/com/google/android/updater-script
/system/app/FM2/FM2.apk
Structure of FM2.apk:
/META-INF/CERT.RSA
/META-INF/CERT.SF
/META-INF/MANIFEST.MF
/res/...
AndroidManifest.xml
classes.dex
resources.arsc
Good luck
Click to expand...
Click to collapse
Thanks so much zitronenmelissa, i really appreciate your time for helping me, even if i could not see any changes. I tryed to flash using twrp, with original app, but no luck, then i tried hibernate ( deactivating) the original radio app and installing the zip, but nothing changed. In the end i uninstalled the original radio app and flash again your .zip but once again no luck.
Its strange, because im on Pixel experience now but before i was on RR Rom....
At least you helped me learning a little more about this apktool.
Thanks
simone81 said:
Thanks so much zitronenmelissa, i really appreciate your time for helping me, even if i could not see any changes. I tryed to flash using twrp, with original app, but no luck, then i tried hibernate ( deactivating) the original radio app and installing the zip, but nothing changed. In the end i uninstalled the original radio app and flash again your .zip but once again no luck.
Its strange, because im on Pixel experience now but before i was on RR Rom....
At least you helped me learning a little more about this apktool.
Thanks
Click to expand...
Click to collapse
Did You mount System first via twrp? In twrp ---> Mount ---> check on System? Otherwise it won't install to system ....
zitronenmelissa said:
Did You mount System first via twrp? In twrp ---> Mount ---> check on System? Otherwise it won't install to system ....
Click to expand...
Click to collapse
No, i didnt know. Thats why it does not work. But now IT WORKS :victory::victory::victory:
Thanks really so much, i like the color :good:
Would You please make screenshots for the thread how it looks? I couldn't test it on stock Rom ...
zitronenmelissa said:
Would You please make screenshots for the thread how it looks? I couldn't test it on stock Rom ...
Click to expand...
Click to collapse
Sure, I can also post "my version" where i inverted your color theme.... the rds info are pretty easy to be readed . ( if you want i can post my .zip file)
This is your version:
This is my version:
I was wondering if were possible to change the white text radio info, into for example green.... I coded the color.xml and the station_info.xml, but i got an error if i only change the string white into green :
TextView android:textSize="16.0sp" android:textStyle="bold" android:textColor="@android:color/green" <-- instead of white
simone81 said:
Sure, I can also post "my version" where i inverted your color theme.... the rds info are pretty easy to be readed . ( if you want i can post my .zip file)
This is your version:
This is my version:
I was wondering if were possible to change the white text radio info, into for example green.... I coded the color.xml and the station_info.xml, but i got an error if i only change the string white into green :
TextView android:textSize="16.0sp" android:textStyle="bold" android:textColor="@android:color/green" <-- instead of white
Click to expand...
Click to collapse
WOW :good: I like Your ideas, very good. Thank You for the screenshots
You can also use every hex8 color:
android:textColor="#ff00ff00" is green
Here You can generate Your color codes:
http://www.colorscodes.com/color-code-hex/00ff00
Works on LG G2 D802 with LineageOS 18.1? Thk
When I installed it through TWRP on my Samsung Galaxy S N7000 with Lineage OS 16 - there is no any icon for this radio, but in system\system I see FM2.apk
Why?

Categories

Resources