[Q] alter length/intensity of vibration on DHD? - Desire HD Q&A, Help & Troubleshooting

is it possible? if so, could you please share how it is done? thanks.

I'd like an answer to this if any one knows.....??
Sent from my Desire HD using Tapatalk

It would be quite a bit of work, especially for trial and error to get your best PERSONAL settings.
You would have to extract and decompile the framework-res.apk from the rom of flashable theme you use (to preserve the themes) etc. Manually edit the values / arrays.xml file. Recompile, zipalign, and upload to UOT to make it CWM recovery flashable.zip.
Alternatively,
You could do a full nan-backup and check this guide out, giving you adavnced control in "Spare Parts";
http://forum.cyanogenmod.com/topic/289-haptic-feedback-508-full-rom-or-patch/
As the dev says / implies; it may or may not work, do a nan-backup before doing anything. To keep compatabiltity with yor own ROMs framework, you would need to decompile your framework-res.apk, and pull the folders mentioned, replace, recompile into his etc...........
If you have a little time, might be worth a shot, but don't blame me if you mised a step and lose all your themes/mods etc, or boot-loop. Also not sure if the patches are for froyo etc

UpInTheAir said:
It would be quite a bit of work, especially for trial and error to get your best PERSONAL settings.
You would have to extract and decompile the framework-res.apk from the rom of flashable theme you use (to preserve the themes) etc. Manually edit the values / arrays.xml file. Recompile, zipalign, and upload to UOT to make it CWM recovery flashable.zip.
Alternatively,
You could do a full nan-backup and check this guide out, giving you adavnced control in "Spare Parts";
http://forum.cyanogenmod.com/topic/289-haptic-feedback-508-full-rom-or-patch/
As the dev says / implies; it may or may not work, do a nan-backup before doing anything. To keep compatabiltity with yor own ROMs framework, you would need to decompile your framework-res.apk, and pull the folders mentioned, replace, recompile into his etc...........
If you have a little time, might be worth a shot, but don't blame me if you mised a step and lose all your themes/mods etc, or boot-loop. Also not sure if the patches are for froyo etc
Click to expand...
Click to collapse
cm7 has haptic feedback tweaks in cm7 settings

Not everyone uses that ROM, but as I suggested, possible to modify the framework to work on your own ROM or modify the framework do the patch works for your ROM, not lose your themes etc.
Thanks for sharing the info, appreciated.
Sent from my Desire HD using XDA App

Related

[Q] Editing ROMs?

I've tried googling but haven't found an answer I understand.
I really like Virtuous 2.4- but, I want to make a small change to the status bar icons/ notification transparency. Nothing drastic, I just want to move some theme files from one rom to another, then install the rom.
Is this doable? Do I have to resign the ROM, the edited framework-res.apk, both, or neither? Is there a guide?
just editing the framework usually is all you need to do..
I agree- that was what I thought. Just to check- did you edit via a tool such as winRar, 7zip etc that allowed you to extract just the single framework-res.apk file and then re-add it to the archive, or did you fully extract and recompress? I'm on a Mac, and I think the issue may be the fully extract/recompress issue.
just use the kitchen that some devs on xda have created, it makes it really easy to edit roms. it is mac compatible too, cause that's what i use.
http://forum.xda-developers.com/showthread.php?t=633246
Holy S***. Marry me.

[Q] How to merge several framework mods?

I'm building my own ROM, and I'm using a modified framework with some mods, but now I want to add a battery mod to that. But the battery mods are always shared in the framework file itself, which makes it impossible to merge with an existing framework, or am I wrong?
Can someone please tell me how I add a battery mod to an already modified framework file?
Thanks.
Isn't anyone going to tell me how to do it?
spasms said:
Isn't anyone going to tell me how to do it?
Click to expand...
Click to collapse
The best thing to do is flash and existing rom or theme. Then apply then apply any battery mod, then copy framework to your workspace and simply replace the image files with the ones that you want. There are advanced tutorial to do this from scratch but inless you have alot of timw and are confident with xml's it might not be a good option.
Hope this helps.
Dan
Sent from my GT-I9000 using XDA App
If all you want is just the battery mod then you can try this site
http://circle.glx.nl/
You can upload the framework-res.apk from your theme and upload it to the site.
on the end which rom do we have to choose???
I changed the Battery Icon, and Some Icons, but which rom do I have to choose on the end when I upload my framework.
I can choose between Sense Rom ( not Leoroid ), Leoroied, some other, HTC HD Rom ???
Depends on the ROM you use... Probably Sense ROM (Not LeeDroid v2.2).
I tried doing the above and it seems circle.glx.nl breaks something inside the framework file I upload causing it to fail.
I wouldn't mind manually doing it, but I can not find any source files to the battery mods, all that is there are ready made frameworks (which are useless to me) and the kitchen website.
Someone tell me how to do it from scratch please.
You dont choose a rom at the end but rather upload your own framework via the browse button. I found the editing the notification in the kitchen kills the framework for the Galaxy S as well....
mrwookie6379 said:
You dont choose a rom at the end but rather upload your own framework via the browse button. I found the editing the notification in the kitchen kills the framework for the Galaxy S as well....
Click to expand...
Click to collapse
That is what I did. I just need to know which files are actually changed without spending hours using diff.
Battery mod makers could easily post the images/xml's they use so I can add it to my framework manually.
spasms said:
That is what I did. I just need to know which files are actually changed without spending hours using diff.
Battery mod makers could easily post the images/xml's they use so I can add it to my framework manually.
Click to expand...
Click to collapse
What battery mod/style are you after and I'll post the images for you?
I'm after GS Blue from: http://forum.xda-developers.com/showpost.php?p=8965042&postcount=1149
I saw some modders put their sources up which is very nice, but I don't really fancy those mods

[Q] (GUIDE) How to make a theme template

This will guide you through making a theming template.
Why: it was requested
What is it for: This is the base in which you start your custome theming. If you have read through Dreamsforgotten thread on theming, you will see that he refers to a theming template to start with.
Be advised, This is not a rom. It is just a template that some dev/themers use as a base for their custome themes or to return to a stock deodex theme. Also, this assumes that you are on a stock rooted system
The Difference you ask:
Theming templates : do not have a modem or kernel, They do have a system folder with and App, font, and framework folder.
Rom: has everything needed to run the OS. Modem (sometimes), kernel, and a full system folder
This is how I do it. That is not to say it is right or wrong, but it works for me. There may be other/easier way developed by other devs.
EI22 Theme Template
Tools:
Rom kitchen form here ( follow the thread and set it up )
7zip from here
Notepad++ from here
Rooted device: if you are not rooted look in the dev section of your device for the instructions on that
Clockwork mod: if you don’t know what this is or don’t have it go to the dev section and research.
Instructions:
1: get a copy of the STOCK system folder. It really does not matter how you get it. JUST GET IT
HINT: if you are rooted already, use root explorer or equivlant and copy it to the sdcard….
Depending on how you got it, you may need to copy it to your computer desktop ( do so now)
2: now you will need to make a zip file (by now you should have 7zip installed)
r-click on system folder that you just copied to your desktop
choose 7zip > add to archive.
under archive change name to (build#).zip ( replace (build#) with the build you are using i.e ec05, ei22 ect….)
At this point you will need the rom kitchen. So, if it is not set up, DO SO!!!!!!!
3: copy to the zip folder to kitchen > original_update. Then open the kitchen.
Choose option 1, answer the next few questions as you need to. For me, I just hit enter at the 4 questions. You should be back at the main screen now
option 0 (enter) > option 11 (enter) > option b (enter) > enter ( best so that if there are errors you can troubleshoot) ( this takes a while: 20 min) assuming all went well, you should get
0 *.odex in system/app
0 *.odex in system/framework
Hit the enter key
option 99 > option 2
At this point, there should be a new folder named “output_zip” with your rom in it. (enter) you should be back to the mail menu. We are done with the kitchen so you can close that.
BUT your not done yet. 
4: go to the above mentioned folder. In the folder there will be a zip file.
r-click on it and rename theme_template_(build#) ( replace (build#) with the build you are using i.e ec05, ei22 ect….)
r-click> 7zip> open archive - There you will see two folders and a boot image.
delete the boot.img file
go into the system folder and delete everything except app, framework, and font folders
back out one level and go into meta-inf >com > google >android
Now delete the updater-script (leave 7zip open)
Now we need to write the updater-script for CMW to read
5: open notepad++
BE ADVISED, this portion is for the EPIC 4G and the updater-script may change formats based on your device. So do some research first. I tend to look at other script for my devices to see how it should be formatted.
You can copy and past this in or type it yourself:
show_progress(0.1, 0);
delete_recursive("/system/framework");
delete_recursive("/system/app");
delete_recursive("/system/fonts");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
delete_recursive("/data/dalvik-cache");
show_progress(0.1, 10);
unmount("/system");
Or use this: updater-script
file >save as
Name file: updater-script
File type: chose all types (*.*) you may need to scroll up or down to find it.
save to desktop
drag and drop the updater-script into the 7zip screen. ( you will be prompted with a ?. just hit yes.)
You should now have 3 files on the 7zip screen
Updater-script, update-binary, update-script.orig
close 7zip.
Connect phone via USB
Copy file to sdcard
Disconnect phone
Reboot to CMW
Choose: backup and restore >backup (when its finished you will have a nandroid to restore if you F.U.B.A.R. your phone.
Choose: install zip from sdcard and install your theming template.
Reboot.
Now use your favorite file explorer and go to system/framework and make sure it has been deodexed. If so, the flash was successful and your theme template works.
Congradulations you built your first theme. All be it a stock one. lol
mine for the thank you's
dreams - for all of his tuts
dsixda - for the kitchen.
Finally
Sent from my SPH-D700 using Tapatalk
Zeinzu said:
Finally
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
your welcome.... lol
Download doesn't work. Just downloads and empty zip.
Sent from my SPH-D700 using Tapatalk
You can use this thread or learn to do the XML code changes and mods by hand as most of the seasoned theme devs do... I find it a whole lot more rewarding than letting this kitchen or the UOT Kitchen do the work for me....
This also works hand in hand when something goes wrong with your theme you know where to look to fix the problem.
FYI, even with the various themes that myself and ZiggSVO have worked on we still don't know everything and we all do exchange ideas and trouble shoot among each other. That is what makes all this stuff fun and rewarding.
Just my opinion...
Zeinzu said:
Download doesn't work. Just downloads and empty zip.
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
looking into it.
just dl'ed - worked fine for me.
Paul627g said:
You can use this thread or learn to do the XML code changes and mods by hand as most of the seasoned theme devs do... I find it a whole lot more rewarding than letting this kitchen or the UOT Kitchen do the work for me....
This also works hand in hand when something goes wrong with your theme you know where to look to fix the problem.
FYI, even with the various themes that myself and ZiggSVO have worked on we still don't know everything and we all do exchange ideas and trouble shoot among each other. That is what makes all this stuff fun and rewarding.
Just my opinion...
Click to expand...
Click to collapse
i tend to agree. but a noob has to have someplace to start. I wish there was the help i needed when i started doing these things a yr ago. I've learned alot throught the guids that i've found, but yes learning to do them by hand is great to.
Z..
what are you tring to dl. the template "worked fine for me" or the updater-script?
Paul627g said:
You can use this thread or learn to do the XML code changes and mods by hand as most of the seasoned theme devs do... I find it a whole lot more rewarding than letting this kitchen or the UOT Kitchen do the work for me....
This also works hand in hand when something goes wrong with your theme you know where to look to fix the problem.
FYI, even with the various themes that myself and ZiggSVO have worked on we still don't know everything and we all do exchange ideas and trouble shoot among each other. That is what makes all this stuff fun and rewarding.
Just my opinion...
Click to expand...
Click to collapse
I definitely agree, doing it by hand gives you a more broad understanding of how the xml code works. This allows you to perform other modifications as well, and like Paul said it is rewarding and also exciting.
Don't get me wrong, I definitely appreciate the guide! Perhaps you could divide it into a noob section and a more involved section.
Sent from my SPH-D700 using XDA Premium App
thomasskull666 said:
I definitely agree, doing it by hand gives you a more broad understanding of how the xml code works. This allows you to perform other modifications as well, and like Paul said it is rewarding and also exciting.
Don't get me wrong, I definitely appreciate the guide! Perhaps you could divide it into a noob section and a more involved section.
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
Paul627g said:
You can use this thread or learn to do the XML code changes and mods by hand as most of the seasoned theme devs do... I find it a whole lot more rewarding than letting this kitchen or the UOT Kitchen do the work for me....
This also works hand in hand when something goes wrong with your theme you know where to look to fix the problem.
FYI, even with the various themes that myself and ZiggSVO have worked on we still don't know everything and we all do exchange ideas and trouble shoot among each other. That is what makes all this stuff fun and rewarding.
Just my opinion...
Click to expand...
Click to collapse
Not sure what you are asking for. There is no XML editing involved here. If you are talking about the deodexing process, sure i can write out the long way to do it by hand. But there are alomost 200 odex files btween the apps folder and the framework folder to deodex. This process would take you all day to do if it wasnt for the kitchen.
spdwiz18 said:
Not sure what you are asking for. There is no XML editing involved here. If you are talking about the deodexing process, sure i can write out the long way to do it by hand. But there are alomost 200 odex files btween the apps folder and the framework folder to deodex. This process would take you all day to do if it wasnt for the kitchen.
Click to expand...
Click to collapse
Maybe some are misunderstanding the guide? I'm a little confused also lol. The way I read it...it comes across as just how to deodex your ROM? No actual themeing? Just to get a base template to start themeing...
Is that right?
Further clarification would be appreciated.
Sent from my Nexus S 4G using Tapatalk
I probably jumped the gun myself on thinking this was a theme guide. Only point I was trying to make was I hate seeing people use UOT Kitchen or other means to do themes or build a ROM using it and then put it out as their own work. These methods I think are great for personal use but to build an entire themed frameworks, etc and then expect to take credit for it is a bit overboard and trust me there has been plenty of work here in the past based off of UOT Kitchen and other means.
Bottom line, its more rewarding in the long run when you do as much as possible by hand and learn how its all done. Heck I even recently went back and learned how to use APK TOOL itself to decompile and recompile apks aside from just using APK Manager. Sure I know APK Manager is the tool of choice but I still wanted to see how others did it before the big move over to APK Manager.
Otherwise, this is a great thread having a tool to deodex a ROM. Personally I have never successfully deodexed a ROM myself, I've come close and had working ROMs but usually ended up with one thing or another broken in the deodexing process.
Paul627g said:
I probably jumped the gun myself on thinking this was a theme guide. Only point I was trying to make was I hate seeing people use UOT Kitchen or other means to do themes or build a ROM using it and then put it out as their own work. These methods I think are great for personal use but to build an entire themed frameworks, etc and then expect to take credit for it is a bit overboard and trust me there has been plenty of work here in the past based off of UOT Kitchen and other means.
Bottom line, its more rewarding in the long run when you do as much as possible by hand and learn how its all done. Heck I even recently went back and learned how to use APK TOOL itself to decompile and recompile apks aside from just using APK Manager. Sure I know APK Manager is the tool of choice but I still wanted to see how others did it before the big move over to APK Manager.
Otherwise, this is a great thread having a tool to deodex a ROM. Personally I have never successfully deodexed a ROM myself, I've come close and had working ROMs but usually ended up with one thing or another broken in the deodexing process.
Click to expand...
Click to collapse
Ya I will admit so did I lol, the xml portion is in reference to theme porting, not deodexing.
Carry on >_>
Sent from my SPH-D700 using XDA Premium App
Paul627g said:
I probably jumped the gun myself on thinking this was a theme guide. Only point I was trying to make was I hate seeing people use UOT Kitchen or other means to do themes or build a ROM using it and then put it out as their own work. These methods I think are great for personal use but to build an entire themed frameworks, etc and then expect to take credit for it is a bit overboard and trust me there has been plenty of work here in the past based off of UOT Kitchen and other means.
Bottom line, its more rewarding in the long run when you do as much as possible by hand and learn how its all done. Heck I even recently went back and learned how to use APK TOOL itself to decompile and recompile apks aside from just using APK Manager. Sure I know APK Manager is the tool of choice but I still wanted to see how others did it before the big move over to APK Manager.
Otherwise, this is a great thread having a tool to deodex a ROM. Personally I have never successfully deodexed a ROM myself, I've come close and had working ROMs but usually ended up with one thing or another broken in the deodexing process.
Click to expand...
Click to collapse
thomasskull666 said:
Ya I will admit so did I lol, the xml portion is in reference to theme porting, not deodexing.
Carry on >_>
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
And this is why im not in the field that i went to school for. lol (cysco networking) i got to the last class and they told me i had to document everything. I just dont have the skills to do that. I am going to edit the OP to better clarify what i was tring to do.
No worries to everyone. your opinions are wellcome. I am not all knowing, but i love to learn and share what i do know.

[HOWTO] Use the dsixda Kitchen to make Galaxy W ROMS

This isn't necessary anymore, the dsixda kitchen now fully supports our phone.
Get the dsixda kitchen from HERE. And unzip it to a place of your choosing.
REMINDER: This will only work on Linux and/or Cygwin. Tutorials for that are on the kitchen page.
Thx for sharing your knowledge...it can give a massive headache when u don't know a thing about this stuff, like me..i will learn with my die-hard mode ..
anyway I have a question for you..about bootanimation on your v2 rom..how you disable it.? How you do that.?sammy using a proprietary file for his bootanim rite.?a .qmg file,am I rite? How you do that.? Seriously,i do wanna know..
I'm more interested on modding theme,crt anim,etc...but my knowledge limit my passion...
sent from another space
jahlee said:
Thx for sharing your knowledge...it can give a massive headache when u don't know a thing about this stuff, like me..i will learn with my die-hard mode ..
anyway I have a question for you..about bootanimation on your v2 rom..how you disable it.? How you do that.?sammy using a proprietary file for his bootanim rite.?a .qmg file,am I rite? How you do that.? Seriously,i do wanna know..
I'm more interested on modding theme,crt anim,etc...but my knowledge limit my passion...
sent from another space
Click to expand...
Click to collapse
Allow me to answer on behalf Just insert this into build.prob:
debug.sf.nobootanimation=1
Boot up actually faster! Get more build tweak here:
http://www.android-hilfe.de/root-ha...imus-3d/145592-tweaks-scripts-collection.html
cowithgun said:
Allow me to answer on behalf Just insert this into build.prob:
debug.sf.nobootanimation=1
Boot up actually faster! Get more build tweak here:
http://www.android-hilfe.de/root-ha...imus-3d/145592-tweaks-scripts-collection.html
Click to expand...
Click to collapse
Actually THIS is the original thread. The one you linked to gives no credit to knzo for his discoveries. (I know you didn't mean anything bad though )
KezraPlanes said:
Actually THIS is the original thread. The one you linked to gives no credit to knzo for his discoveries. (I know you didn't mean anything bad though )
Click to expand...
Click to collapse
sorry! didn't mean it, was googling those property based on your build.prob and it just land there!
I also just learn thru a hard way that after compiling acro68 kernel, I need to copy the dhd.ko module into the ROM. Finally able to get wifi!
cowithgun said:
sorry! didn't mean it, was googling those property based on your build.prob and it just land there!
I also just learn thru a hard way that after compiling acro68 kernel, I need to copy the dhd.ko module into the ROM. Finally able to get wifi!
Click to expand...
Click to collapse
I forgot to mention that, sorry xD
And I know you didn't mean it, it's okay Just always look on XDA first
KezraPlanes said:
I forgot to mention that, sorry xD
And I know you didn't mean it, it's okay Just always look on XDA first
Click to expand...
Click to collapse
You provide more than enough! Your first optimized ROM! I learn a lot by looking at it. Then, with this tutorial, I was able to build my first customized ROM by following exactly that you wrote.
You should change the "**MIGHT**" work to "**SURELY**" work!
cowithgun said:
You provide more than enough! Your first optimized ROM! I learn a lot by looking at it. Then, with this tutorial, I was able to build my first customized ROM by following exactly that you wrote.
You should change the "**MIGHT**" work to "**SURELY**" work!
Click to expand...
Click to collapse
Thanks for the compliment.
I will keep the **MIGHT** because there are always people who try crazy things (me included) like random porting of ROMs so it's safer this way. xD
If anyone interested to try compile acro68 kernel, I recommend to look into this link: http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source
Very detailed, step by step and only need to change the kernel source to point to: https://github.com/arco/samsung-kernel-ancora/tree/gingerbread (for GB)
Once the make is successful, you will get an zImage.
Now, in Kitchen, you should have already use option 20 to extract the boot image. Replace the newly generated zImage to get a shiny new kernel. Of cause, you need to pack it back and finally build your ROM.
Finally, replace the ./samsung-kernel-ancora/drivers/net/wireless/bcm4329/dhd.ko to ROM's system/etc/wifi/dhd.ko.
cowithgun said:
Allow me to answer on behalf Just insert this into build.prob:
debug.sf.nobootanimation=1
Boot up actually faster! Get more build tweak here:
http://www.android-hilfe.de/root-ha...imus-3d/145592-tweaks-scripts-collection.html
Click to expand...
Click to collapse
Thanks for that link..appreciate that..? Will testing rite now..
Sent from another space
Can we use this for the exhibit ii
via Dan swagger
Actually, regarding the instructions in Post 1, you could probably skip all of them and do this only:
Rename the file tools/edify_defs/GT-I9001 to: GT-I8150
Kezra if i wanna change the launcher just delate the touchui.apk on the app folder and add some launcher? Heheh sorry for the noob question im a complete noob on rom building
Sent from my GT-I8150 using XDA App
can anyone help mee??? if i wanna install my modified rom i get error in cwm (bad) can't open ;( why?
DarthJonathan said:
Kezra if i wanna change the launcher just delate the touchui.apk on the app folder and add some launcher? Heheh sorry for the noob question im a complete noob on rom building
Sent from my GT-I8150 using XDA App
Click to expand...
Click to collapse
try to answer your question, corect me if im wrong XD
just delete a TWLauncher.apk and replace with your launcher, don't forget to change the permission XD
Hello guys,
Latest Arabic rom link :
Here
Could you please make this rom deodex ?
I am trying to make it using dsixda kitchen but I could not.
i found something in this forum....can this mathod used for sgw?look likes same i follow some of the guide.....
Hey Guys,
I am going to explain some of the files in a custom rom,the small and easy to mod files because the aim is to educate newbies and NOT advanced devs.
Ok,So,I have seen a lot of questions being asked nowadays about making custom roms.This guide is NOT about building a custom rom but about editing and modding it.I am doing this guide taking CM7 as base,not stock,so there might be differences between the roms you choose to mod.Also,I am prone to mistakes here and there.If i made any,please comment about it and i will remove it.Also,please feel free to give your suggestions about making this guide better
What you would need:
Notepad++
WinRar or any other zip/rar manager like 7zip or WinZip
If you want go advanced,you would also need these things
Cygwin
Smali/Baksmali
APK Multi tool or anything like that,i dont care
And most importantly,a brain and eyes(So,Dont ask me stupid questions like,how de fuk du i xtarct? and then in brackets,sorry for my english)
GUIDE:
So,first up,download a rom of your choice(Dont forget to get the permissions for modding from the developer) and extract it.When you extract it,you will see 2 folders and 1 file,it varies.It depends on the contents of the rom.
The folders are:
1.META-INF
2.system
The file:
1.boot.img
So,
Open up system and the first folder you are going to see is 'apps'.
As you already see,this is the place where all the apps go,for the history.You might also see some .odex files below the apps.So,if you remove an app,you should delete the odex file too.If you want to add an app,just drag and drop Take care not to delete each and every app you find,because each of them has their own functions.Also,if you delete contact.apk and replace it with a better dialer like Exdialer,you wont be able to add or delete contacts.So,there are some files better left alone.
If you want to know how to merge them,then use google,there are a lot of tutorials on deodexing.If you want to edit an app,then use APK multi tool,again please use google,lots of tuts on this one too.
Also,you will find an app here and its a main one,systemui.apk By editing systemui.apk,you can get transparent status bars,transparent notification bars,centre the clock.Things like that.The idea with which you edit Systemui.apk and framework-res.apk,thats how your rom is going to look like.These files handle the visual things and they are awesome too.For some systemui mods,refer HERE
Next,the 'bin' folder,this guide is aimed at the noobs,so nothing about this,this is a bit advanced stuff,so sorry.
Next up,the 'etc' folder.There are a lot of things that go here.I wont be going to full details for the moment because i am having exams,so no time.However,i will be explaining the easy to explain files.
One thing you will notice is the 'init.d' folder.If you want to add any script like LagFree v2,just put the files of the init.d folder in the script's folder here,nothing else.You dont need to copy any other files like META-INF.
Another file,is CHANGELOG-CM,just as the name suggests its a file giving you changelogs
Another file is NOTICE.html..Its just a file showing copyrights and all that stuff.You wouldnt need to edit that,would you?
Will add more about the other files soon
Next,the 'fonts' folder..You guys need an explanation for that??
Next,'framework' folder.Here you will find framework-res.apk(Obviously,duh...).I wont tell about any other file because this is aimed at new users,not advanced guys.Framework-res is where all the icons in notification bar are.The battery icons,they are all in framework.Also,lockscreen icons
go here..Most of the icons.If i have to start on anything.It would take me weeks,theres so much to write about framework.Also take care not to mess up the framework.Because its like the skeleton(thats what i know ) of a rom.If a framework is incorrectly configured,the rom wont boot.So,keep that in your mind always when you edit framework.
Next,the 'libs' folder,This guide is aimed at newbies,so not touching this part.
And comes 'media'..Most probably you will find 2-3 folders here.Audio,bootanimation.zip and wallpapers.
If you want to change the default,its in build.prop,not here,i will explain that later.If you need to add some audio,its just drag and drop,nothing much,just put them in the right folders,like alarms,ringtones and notifications
If you need to add wallpapers,reszie the pictures to 640x480,thats the resolution that works for ace.Also resize it to 107x80 and save it as another pic with a _small at the end.For eg,the default file is defaultwallpaper.jpg,you make another pic with 107x80 called defaultwallper_small.jpg.
Then,theres the bootanimation.zip..However way you change this thing.Always name it bootanimation.If you want to know how to make a boot animation,then refer freeyourandroid.com
Next up is 'tts' folder..Sorry but i dont know much about this folder.I think this folder contains the languages for the tts app but i am not sure about it.Same goes for 'usr' and 'wifi' folders.But since this thread is aimed at newbies,i dont think there wouldnt a point in writing them up anyway
Next up is build.prop file.Open it with notepad++...build.prop file is pretty self explanatory.
Here you can change the most basic things like the android version that setting shows..Wondered how people are making 2.3.4 look like 4.0.3 in settings??Its build.prop.Also,you can change what 'About phone' shows here.
Other things,you can change things like,how long your wifi scans,how much battery your phone saves while in sleep,Dalvik VM heapsize and default ringtones.If you are wondering what # stands for,it signifies that,that particular tweak is not running,so you can take out the # if its a tweak you like.You could also use it say things like,Additional build properties.You could make it #AdditionalBuildProperties and go to the next line and give your tweaks there.Some build.prop tweaks can be found in slaid480's thread in Galaxy Ace S5830 titled "[MOD]Build.prop tweaks for SGA" or you can go to freeyourandroid.com and find some tweaks there,however the tweaks listed there are universal,so practise caution when playing with build.prop
Now to boot.img..Theres an awesome guide about this in freeyourandroid.com Please have a look at it,because there are lots to write about this one.This is where Cygwin comes in,for instructions on unpacking and repacking and commands and info about boot.img,referHERE and HERE.My summarized version,boot.img is where you can replace kernels.This is where you can make those low-level changes
Then,to META-INF folder.You would find lots of folders here but the file that you would edit consistently is update script.Find it and open it with Notepad++..Unless you edited xbin and bin files,this is not hard to do..Just change around ui_print to what you like.Dont touch anything else if you dont know what you are doing.If you DID edit xbin or bin files,you would need to touch advanced things like symlink tagged ones(I had to give them some sort of a tag)
Now on making it a flashable zip,archive them to a zip file.Get a signer here: http://forum.xda-developers.com/show...96&postcount=2
The instructions on using that are given with it.Just rename it back to the name you like after signing it.
ganesh...will this work on stock ROM ?
Sent from my GT-I8150 using xda premium
When i build the Rom, do i have to zip and sign, or not?
bagux said:
When i build the Rom, do i have to zip and sign, or not?
Click to expand...
Click to collapse
You better sign it. xD

[HELP][TESTING] Theming Sense 5

SO...with the release of the new Sense 5 Roms for our beloved One X I'm not seeing any themes (I know it's early).
I've had a go at porting a few over by decompiling the systemui.apk, updating the images and recompling as you used to with the original sense 4+ roms but keep losing my status bar!
I'm just starting small at the moment, changing wifi icon, battery, signal etc etc but then I'm going to move onto app icons. The venom themes are epic and it would be awesome to see a few on the sense 5 ui!
Wondering if the geniuses here can shed some light, I haven't found any tutorials or help guides as of yet, hopefully this will start as a decent pool of information,
leegreenaway said:
SO...with the release of the new Sense 5 Roms for our beloved One X I'm not seeing any themes (I know it's early).
I've had a go at porting a few over by decompiling the systemui.apk, updating the images and recompling as you used to with the original sense 4+ roms but keep losing my status bar!
I'm just starting small at the moment, changing wifi icon, battery, signal etc etc but then I'm going to move onto app icons. The venom themes are epic and it would be awesome to see a few on the sense 5 ui!
Wondering if the geniuses here can shed some light, I haven't found any tutorials or help guides as of yet, hopefully this will start as a decent pool of information,
Click to expand...
Click to collapse
which tool are you using?
if you are using apktool, have you copied META-INF folder , from the original APK, inside the new one? ( Old signature)
after pushing it to the device, have you set permissions? (rw-r-r--)
Cache and Dalvik-cache wiped ?
xcesco89 said:
which tool are you using?
if you are using apktool, have you copied META-INF folder , from the original APK, inside the new one? ( Old signature)
after pushing it to the device, have you set permissions? (rw-r-r--)
Cache and Dalvik-cache wiped ?
Click to expand...
Click to collapse
ooooo didn't think about the META-INF...I'll give it a shot in the morning.
All the other steps i've done, multiple times. It's as if the systemui.apk doesn't apply during boot so maybe it is the meta file!
And I'm using apktool to decompile...recently found it better that going through the hassle of virtuous 10 suite
leegreenaway said:
ooooo didn't think about the META-INF...I'll give it a shot in the morning.
All the other steps i've done, multiple times. It's as if the systemui.apk doesn't apply during boot so maybe it is the meta file!
Click to expand...
Click to collapse
yep, apktool doesn't sign the apk, so you need to keep the old signature
Signing systemui.apk is not necessary. I tested many times.
To change pngs(especially patch9 pngs), just copy and paste to the apk with 7-zip if apktool get error or SystemUI FCs.
P.S. Please use the most original apk to modify if it's failed in previous build.
Sent from my HTC One X using xda app-developers app
Not bothering with patch9s I hate those things!
For some reason everytime I push a new
SystemUI.apk to my phone, reboot, wipe cache and dalvik (for good measure) it won't apply so I lose the status bar and background etc. Essentially no system ui applies!
It's a pickle, im on ARHD at the moment so will have a go at decompiling! And try again
Funny thing is, someone made a made mod on here already for 1% battery, and even installing that doesn't work!...I'll keep tinkering
Sent from my HTC One X using xda app-developers app
leegreenaway said:
Not bothering with patch9s I hate those things!
For some reason everytime I push a new
SystemUI.apk to my phone, reboot, wipe cache and dalvik (for good measure) it won't apply so I lose the status bar and background etc. Essentially no system ui applies!
It's a pickle, im on ARHD at the moment so will have a go at decompiling! And try again
Funny thing is, someone made a made mod on here already for 1% battery, and even installing that doesn't work!...I'll keep tinkering
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
unfortunately for me is the same.
i'm trying to add a new item to settings.apk (SuperUser), i have edited all required xmls, added png, recompiled than signed, but no way to make it work.
i have also tried with zipsigner app using platform keys, but no result.. Settings won't show
Success (well a little)
Soooo....I've managed to mod the battery!
I'm going for a sort of Far Cry 3 Blood Dragon 80's style eventually, but this is the first step! Now for the wifi/signal etc. etc.
So this is what I did...
Got an existing circle battery mod with the same naming convention (since I can't be bothered to rename 100 files )
Recoloured them all in photoshop and increased the pixels size to 50 x 50
Deleted the battery icons in the existing SystemUI.apk via 7zip
Added the modified battery icons to the apk
Then pushed to the phone via adb
It automatically rebooted and viola! I may run 'fixed permissions' from recovery to be safe and wipe cache/dalvik to make sure but it's looking good!
View attachment 2201169
hey guys, if you are only changing icons, you don't need to decompile just swap the images by throwing the img in the .apk with ex(7zip) you only need to decompile with xml files and such and if you need a .9 img use the dot9 patcher in sdk then use this" https://dl.dropboxusercontent.com/u/74861217/draw9compiler.zip " to compile it before throwing it in the .apk. to use the compiler throw the .9 patched img into example1 then run the prog at main folder then look in done for compiled img
toolhas4degrees said:
hey guys, if you are only changing icons, you don't need to decompile just swap the images by throwing the img in the .apk with ex(7zip) you only need to decompile with xml files and such and if you need a .9 img use the dot9 patcher in sdk then use this" https://dl.dropboxusercontent.com/u/74861217/draw9compiler.zip " to compile it before throwing it in the .apk. to use the compiler throw the .9 patched img into example1 then run the prog at main folder then look in done for compiled img
Click to expand...
Click to collapse
Yep already doing this mate, it's way easier than decompiling and recompiling.
Thanks for the input though!
Little more progress...
Managed to get all the status bar icons themed! I consider that great progress at the moment!:laugh:
View attachment 2201536
Almost there...
I'm pretty much there with what I want to do now, status bar sorted (don't know about the clock color yet) also went ahead and did the nav bar icons or prism icon as they call it, and change the home nav bar background to transparent to declutter it a bit.
I'll upload my systemui and prism files once I'm finished so anyone can have a go.
When the Viper team decide to throw a sense 5 rom out the tweaks are going to make everything soooooo much simpler! :good:
View attachment 2201785
View attachment 2201786
A few lock screen touches...
Modded the lock screen ermm....lock and changed the 'answer' 'decline' buttons too a neon style.
Also changed the music controls on the lock screen but they aren't as pretty as I'd like!
View attachment 2201908

Categories

Resources