[Q] Incorporate Active Display in Custom roms - Motorola Atrix 2

Hey anybody!
So i've pretty much looked all around, this stuff is scarce.. Could anybody outline the steps for adding active display to your custom rom? I'm already familiar with all the unpacking of apks and jar files, so you don't need to go that far back, just which exact files to edit and in what manner?
the "ChameleonOS" team gave much of the code needed here "http://forum.xda-developers.com/showthread.php?t=2450697" but not much word on how to integrate it in.. I think if someone made a tutorial on this, that'd be awesome.
Thanks

dcutz said:
Hey anybody!
So i've pretty much looked all around, this stuff is scarce.. Could anybody outline the steps for adding active display to your custom rom? I'm already familiar with all the unpacking of apks and jar files, so you don't need to go that far back, just which exact files to edit and in what manner?
the "ChameleonOS" team gave much of the code needed here "http://forum.xda-developers.com/showthread.php?t=2450697" but not much word on how to integrate it in.. I think if someone made a tutorial on this, that'd be awesome.
Thanks
Click to expand...
Click to collapse
It has to be intergrated while building from source.

atrix2man said:
It has to be intergrated while building from source.
Click to expand...
Click to collapse
can't you just add it in? like modify the framework and stuff?

dcutz said:
can't you just add it in? like modify the framework and stuff?
Click to expand...
Click to collapse
Maybe..if u knew what you were doing..it would be really hard

Related

[REQUEST] Phone.apk theme

Anybody want to try this or help me skin the phone.apk this way?
http://forum.xda-developers.com/showthread.php?t=615096
you just want the dialer to look like that?
wtphoto said:
you just want the dialer to look like that?
Click to expand...
Click to collapse
Yeah... I know it's something simple. I'm trying to edit the .png files but 7zip won't update what I've done when I'm finished. Plus I'm a hell of a lot more confident in others here than I am myself. I can't just push the phone.apk from that theme, can I? That seems far too simple.
what rom are you running now? ill see what I can do.
wtphoto said:
what rom are you running now? ill see what I can do.
Click to expand...
Click to collapse
Gumbo 1.5c Bare. I think that'll look really good with the DarkStar theme. I switched back to 1.5 just so I can use that theme. I love it!
Thanks, bro. I really appreciate it.
What would happen if I were to just push the phone.apk? It's just a bunch of .png & 9.png files...
I started to do the same thing awhile back but never quite finished. our dialer buttons were in htccontacts.apk if i remember right
http://forum.xda-developers.com/showthread.php?t=614830 might help someone.
they are actually in both if you just change contacts then it changes the main dialer but if you go to enter in numbers while in a call then it is still stock to it needs to be both.
ok here ya go the dark star dialer just flash like any other update.
wtphoto said:
ok here ya go the dark star dialer just flash like any other update.
Click to expand...
Click to collapse
You're the man! Thanks bro!!!
not a problem I shouldnt have to tell to you to backup before flashing. let me know how it works.
Works like a charm! Can you explain what you did so I can start to figure this out for myself?
And post a screen shot as well.
Also -- will this work on Sense?
Oh, +1 for "knowing what you did". What files did you edit?
honestly I could have easly gone in PS and made them but there is an even easier was to do it.
1. downloaded the theme
2. unziped the theme file
3. unziped Phone.apk from theme
4. went into drawable folder.
5. used winrar to open (not unzip) stock Phone.apk and navigated to drawable folder.
6. selected dialer buttons in themes drawable folder
7. draged buttons into stock Phone.apk
repeat with HtcContacts.apk
ziped it all up signed it.
good to go.
pseudoremora said:
And post a screen shot as well.
Also -- will this work on Sense?
Oh, +1 for "knowing what you did". What files did you edit?
Click to expand...
Click to collapse
There's a screenshot HERE.
pseudoremora said:
And post a screen shot as well.
Also -- will this work on Sense?
Oh, +1 for "knowing what you did". What files did you edit?
Click to expand...
Click to collapse
yes it will work on sense
this is just the dialer not the whole theme
wtphoto said:
yes it will work on sense
this is just the dialer not the whole theme
Click to expand...
Click to collapse
Gotcha, and when you said to edit the stuff in the drawable folder -- I presume the actual files that were edited were in the drawable-480x320 folder and began with "phone_number_#_rest/press.png, right?"
pseudoremora said:
Gotcha, and when you said to edit the stuff in the drawable folder -- I presume the actual files that were edited were in the drawable-480x320 folder and began with "phone_number_#_rest/press.png, right?"
Click to expand...
Click to collapse
you are correct sir, sorry I wasnt more specific I was trying to keep it kind of a general how to.
wtphoto said:
you are correct sir, sorry I wasnt more specific I was trying to keep it kind of a general how to.
Click to expand...
Click to collapse
It's fine -- I'm just trying to create a custom theme and sometimes don't know which files to actually edit, that's all. Do you know how to create a custom ROM at all -- or at least what all it entails? I know its a lot like creating a theme for the most part, but I'm not even sure where to begin the process.
Thanks for the how-to... That's going to help a whole lot!
pseudoremora said:
It's fine -- I'm just trying to create a custom theme and sometimes don't know which files to actually edit, that's all. Do you know how to create a custom ROM at all -- or at least what all it entails? I know its a lot like creating a theme for the most part, but I'm not even sure where to begin the process.
Click to expand...
Click to collapse
no I havent gotten into actually cooking I honestly prefer to theme. I figure ill leave the cooking up to people smarter then me lol that have more time. that and I know that its a whole lot easier to cook if you run linux and I have no clue when it comes to linux.
im more than happy to help with anything theme wise though. Just let me know what you need.

I need help to sign or resign a zip/apk file?

I just started making themes and I plan on creating roms next. I started working on my theme and wanted to see how it would look on the phone. I re-compressed the zip file back to an apk and got an error about it not being signed. The same thing also happened with some code I worked on. I just need to know how to sign the apps. Please help!
Look for avaboxV2 You can sign zips, apks and a whole lot more stuff for theming ie. smali editing
Also this should be in Q&A.
Also i know this has been answered b4
But its nice to see newer faces working on stuff for the Hero
kyouko said:
Look for avaboxV2 You can sign zips, apks and a whole lot more stuff for theming ie. smali editing
Also this should be in Q&A.
Also i know this has been answered b4
But its nice to see newer faces working on stuff for the Hero
Click to expand...
Click to collapse
THANK BRO!!! I tried searching for it but, got no where. Should I use this on the stock rom or can it be used with custom roms?

One Click Rom/Theme Optimizer and Signer

This tool will open any AOSP based rom or theme (as long as the file structure is correct) and optimize and zip align everything.
Simply grab your rom or theme and place it in this folder (should work from anywhere but you need to full path from where the cmd file is run). Now click on the reopto_runner.cmd and it will ask you where the rom is (name) that you want to optomize, type the name of the rom and hit enter, it will do the rest.
Final output of the re-optimized (double pass with 2 different png optimizers) rom will be named rom-optoed-signed-finished.zip this will be exactly the same rom except the script will optomize every png in every apk found in the system/app and system/framework-res.apk. It will also zipalign all these same apks and finally will sign the zip file. When its done just rename the rom-optoed-signed-finished.zip to what ever you want and its ready to flash.
What this won't do is make your zip file (rom, theme, update zip) flashable unless its already set up to be flashable... meaning you'll still need your update-script in the com.google.android folder to be there. Its does sign your zip file for you though.
I put this out there as its some of the scripting and tools I have made to help me in theming and rom hacking.
Feel free to use any part of this to help you in any scripting you do.
Sweet, you are the man. Going to try it out now.
I'm going to try this on the MIUI ROM!
Cetus Corr said:
Sweet, you are the man. Going to try it out now.
Click to expand...
Click to collapse
teejaymarx said:
I'm going to try this on the MIUI ROM!
Click to expand...
Click to collapse
I have only tried this method on AOSP based roms the script should work on any rom or theme or update zip that follow this structure in the top level. system/app/*apk and system/framework/framework-res.apk, which is pretty much all of them.
The script takes about 10 minutes or so to run on cm6 rom and is really quick on most of the themes here. So for instance you could use it to make sure or re optimize a theme or roms.
feel free to tire it apart and use it in other fashions. I can guarantee it will shave some about of space of any rom or theme along with the zip aligning of every apk. If its a short request I'll post some more automated tiny scripts to todo various stuff.
Little confused. I run any aosp rom through this and it makes it compatable with the hero? ( sorry for the newb question)
Sent from my Hero CDMA using XDA App
Didn't work for me on the MIUI ROM, got a status 0 error in clockwork recovery...lol
vampir4997 said:
Little confused. I run any aosp rom through this and it makes it compatable with the hero? ( sorry for the newb question)
Sent from my Hero CDMA using XDA App
Click to expand...
Click to collapse
No I haven't released that script yet. This just optimizes a rom that's all.
Sent from my HERO200 using XDA App
teejaymarx said:
Didn't work for me on the MIUI ROM, got a status 0 error in clockwork recovery...lol
Click to expand...
Click to collapse
Not sure what you did... this is not a flashable zip just a tool to optimize a rom.
Did you run this tool on the miui rom?
Sent from my HERO200 using XDA App
Hello,
New to the "kitchen", items like this help us out! Thank you and looking forward to your other scripts. Any desire to do a "how to port a theme/rom" guide? Love the Screaming Droid, I laugh every time I boot up one of my 2.2 roms. I also use your R2 boot but I have yet to get sound on 2.1? Anyway a big thanks goes out to you!
jschill31 said:
Hello,
New to the "kitchen", items like this help us out! Thank you and looking forward to your other scripts. Any desire to do a "how to port a theme/rom" guide? Love the Screaming Droid, I laugh every time I boot up one of my 2.2 roms. I also use your R2 boot but I have yet to get sound on 2.1? Anyway a big thanks goes out to you!
Click to expand...
Click to collapse
Thank you for the praise, wife been complaining about doing stuff for free so I might have to post my pay pal account with a wife complaining button.
I might just release a script that does it for you. mdpi to mdpi (or hdpi to hdpi) no matter what rom is fairly easy todo. Of course it can only theme what it can match but it will do it for you.
For a more in depth description would take some time so I'll probably have to do it some time later.
ASimmons said:
Thank you for the praise, wife been complaining about doing stuff for free so I might have to post my pay pal account with a wife complaining button.
I might just release a script that does it for you. mdpi to mdpi (or hdpi to hdpi) no matter what rom is fairly easy todo. Of course it can only theme what it can match but it will do it for you.
I totally understand, my wife and I have our first child on the way. I am always around so take your time. BTW, I think you would get some clicks your work is solid. I wish XDA had a "thanks" button!
Click to expand...
Click to collapse
Thanks for your hard work. Going to check it out.
jschill31 said:
ASimmons said:
Thank you for the praise, wife been complaining about doing stuff for free so I might have to post my pay pal account with a wife complaining button.
I might just release a script that does it for you. mdpi to mdpi (or hdpi to hdpi) no matter what rom is fairly easy todo. Of course it can only theme what it can match but it will do it for you.
I totally understand, my wife and I have our first child on the way. I am always around so take your time. BTW, I think you would get some clicks your work is solid. I wish XDA had a "thanks" button!
Click to expand...
Click to collapse
Thanks, congradulations... get ready for no sleepy time for about 4 months after the new born. Got 2 girls myself kids are awesome especailly when I just a nig kids myself
chubbzlou said:
Thanks for your hard work. Going to check it out.
Click to expand...
Click to collapse
Your welcome, feel free to alter and use whats in the script. If u have questions I can give you some more pointers on ways to make similar scripts.
Click to expand...
Click to collapse
GJ Sim, when I try it out Ill let ya know ... Thx for this and all your hard work man !
Thank you I got a new project on the way think it might be something use full to themers and people that use themes are like two switch allot. In a week or so...
Sent from my HERO200 using XDA App
So in theory I could run this on one of Jaybob's Froyo builds and make it even faster than it is right now?
LiquidSolstice said:
So in theory I could run this on one of Jaybob's Froyo builds and make it even faster than it is right now?
Click to expand...
Click to collapse
maybe but he should have done the png opto and zipaligning already. I do add another png opto that most people dont do which will squeeze out another couple of kb, was able to shrink cm6 by 16 or so kb, which doesnt seem like alot but every bit counts.
You could use it to just see, like whenever you d/l a new rom run this on it and compare the file size, or load the rom and run a linpack and then opto it and then reload it and then do a linpack and see what you get. Some themers don't zipalign there themes and don't opto there pngs, and I have yet to see anyone use optipng and the other png opto program i use as a double pass system of optimizing pngs.
I like to use it for my themes or roms as it automates the hole process. Try it out if you use it on a rom it will give you a new optoed copy that is already sign and ready to flash... one click
ASimmons said:
maybe but he should have done the png opto and zipaligning already. I do add another png opto that most people dont do which will squeeze out another couple of kb, was able to shrink cm6 by 16 or so kb, which doesnt seem like alot but every bit counts.
You could use it to just see, like whenever you d/l a new rom run this on it and compare the file size, or load the rom and run a linpack and then opto it and then reload it and then do a linpack and see what you get. Some themers don't zipalign there themes and don't opto there pngs, and I have yet to see anyone use optipng and the other png opto program i use as a double pass system of optimizing pngs.
I like to use it for my themes or roms as it automates the hole process. Try it out if you use it on a rom it will give you a new optoed copy that is already sign and ready to flash... one click
Click to expand...
Click to collapse
Sounds good . Of course, when you say "every rom" you only mean AOSP roms, right? I'd suppose it wouldn't be able to rip, for instance, Nfinite's latest rooted Stock ROM apart and png optimize/zipalign it? If it could, holy crap. On top of the fact I use Odex, that would be amazing.
LiquidSolstice said:
Sounds good . Of course, when you say "every rom" you only mean AOSP roms, right? I'd suppose it wouldn't be able to rip, for instance, Nfinite's latest rooted Stock ROM apart and png optimize/zipalign it? If it could, holy crap. On top of the fact I use Odex, that would be amazing.
Click to expand...
Click to collapse
should work on that to since it only looks at pngs and apk. it will onyl zip align the framework-res.apk and the system/app apk's. Actually try it out I never have but it should work.
remember to nand before you flash it but you should be a ok, as I can't see any reason why it would work.
ASimmons said:
should work on that to since it only looks at pngs and apk. it will onyl zip align the framework-res.apk and the system/app apk's. Actually try it out I never have but it should work.
remember to nand before you flash it but you should be a ok, as I can't see any reason why it would work.
Click to expand...
Click to collapse
Hmm. But will I see a difference? Doesn't HTC have their own specific framework-res apk? I'd love to get into ROM themeing, so I've been poking around the ROMs for some time now.

[Q] Question about app intergration and themeing

I'm currently running the newest infinity rom. I cant seem to get my facebook contact pics to update and most of which have the default blank icon. Any way to get the profile pics in my contact list to update from facebook? Is this a possible issue because facebook isn't integrated into the rom? Is there a way to integrate Facebook into the rom? I notice when i stalled FB i can only syc contacts and not calendar. Is there a way to syc both?
Secondly, My wife was wanting a theme she found but it was for old ee4 roms. Is there a easy tut to themeing? If i can figure out how to theme I wouldnt mind doing a couple of themes to keep our roms looking fresh. Lastly, i really like the theme that's in infinity. only thing i would like to change is the over-glow when scrolling. i wanted to change it from yellowish tone to the light blue that's in the rom in a few places. How do i change that? Is there a way to change just that without creating a whole theme?
Check if the sns services are included with infinity.
Sent from my SCH-I510 using XDA App
this may sound like a noob question but im just starting to learn how to really get into the rom to change things. were would i look to find the sns service?
I ran a search in root explorer for sns services and nothing showed up.
Undzis said:
this may sound like a noob question but im just starting to learn how to really get into the rom to change things. were would i look to find the sns service?
Click to expand...
Click to collapse
it is not included in Infinity... it would be an apk in /system/app I think
thanks to dewitherell i can easy add it if its a apk system app i think. If thats what it is. I used his "empty cwm file" to add the the backup assistant. Do i just need to add that? or is there more to it?
Undzis said:
thanks to dewitherell i can easy add it if its a apk system app i think. If thats what it is. I used his "empty cwm file" to add the the backup assistant. Do i just need to add that? or is there more to it?
Click to expand...
Click to collapse
that should be it, you don't even need to flash it you can pull it out of any stock CWM rom package and drop in /system/app with root explorer then reboot... but flashing it would be easier so go ahead lol
ok thanks ill try that in a bit. Im currently trying to cook a theme for my wife with the uot kitchen. hopefuly it will work. if so ill post it for anybody else that wants it. Is there another, easier or better way to theme?
Undzis said:
ok thanks ill try that in a bit. Im currently trying to cook a theme for my wife with the uot kitchen. hopefuly it will work. if so ill post it for anybody else that wants it. Is there another, easier or better way to theme?
Click to expand...
Click to collapse
Easier, no. Better, yes. Check the themes and apps subforum and look for Spc_Hicks's tutorial on turning. That should be a good place to get started.
Endless2232 said:
Easier, no. Better, yes. Check the themes and apps subforum and look for Spc_Hicks's tutorial on turning. That should be a good place to get started.
Click to expand...
Click to collapse
Thanks ill check it.
Also i didn't find any sns services apk in the system/app directory. i found sns account apk and sns Provider apk
ok, i read the tut and seam to be having issues using apk manager. sould i be using the apk files from the infinity rom or should i use the ones from stock rom? i tried the infinity rom files but i get a bunch of errors and a long list of stuff i dont understand yet and then the lasat line says quit and i cant enter commands after that
Undzis said:
ok, i read the tut and seam to be having issues using apk manager. sould i be using the apk files from the infinity rom or should i use the ones from stock rom? i tried the infinity rom files but i get a bunch of errors and a long list of stuff i dont understand yet and then the lasat line says quit and i cant enter commands after that
Click to expand...
Click to collapse
What Ron are you trying to theme?
im trying to run infinity rom atm. would enjoy themeing others possibly if i can figure out how to theme. i cant seem to get apk manager to work right.
Undzis said:
im trying to run infinity rom atm. would enjoy themeing others possibly if i can figure out how to theme. i cant seem to get apk manager to work right.
Click to expand...
Click to collapse
Check your PM.
thanks i did and sent reply

[HELP]how to add our name in twrp splash screen

Any dev is their ?? How to change or add our names...or change device name in twrp splash screen??pls...give me solution!!
If you have compiled it yourself it should not be that difficult.
Check ramdisk's "twres" folder. The answer lies there somewhere.
If you just "ported" it, why to change the orig. developer's name?
Doing such thing is really lame, IMO.
(Adding your name, if you done lot of modifications etc. Sure why not,
but is it really that important..)
CXZa said:
If you have compiled it yourself it should not be that difficult.
Check ramdisk's "twres" folder. The answer lies there somewhere.
If you just "ported" it, why to change the orig. developer's name?
Doing such thing is really lame, IMO.
(Adding your name, if you done lot of modifications etc. Sure why not,
but is it really that important..)
Click to expand...
Click to collapse
Hm..yes i got the problem...thank you..
Any best guide for compile kernel?? Means compile and build own recovery??
TWRP Guide
shr!pad said:
Hm..yes i got the problem...thank you..
Any best guide for compile kernel?? Means compile and build own recovery??
Click to expand...
Click to collapse
https://forum.xda-developers.com/showthread.php?t=1943625

Categories

Resources