[MODIFICATION] add to Blacklist from Call Log in CM-5.0.8/CM6.0.0RC1/RC2 - G1 Android Development

I'm not an Android or Java guru, so I'm sure there's probably a better way to do this, but it works...
This is an update.zip which has a modified Phone.apk and Contacts.apk in order to allow the user to add an unknown number in the call log to the Blacklist.
As usual with this stuff make a backup first.
And of course I take no responsibility for anything.
For CM-5.0.8
BlacklistFromCallLog-eclair-signed.zip
For CM-6.0.0RC1
BlacklistFromCallLog-signed.zip
with working accept/decline sliders
BlacklistFromCallLog-slide-signed.zip
For CM-6.0.0RC2
BlacklistFromCallLog-6.0.0rc2-signed.zip
and the diff against cm-6.0.0rc1
blacklist_diffv2.txt
github

Nice find/build. The diff file is not there

stlouie65 said:
Nice find/build. The diff file is not there
Click to expand...
Click to collapse
hmmm. It shows up whien I click it. Here it is again though.

Thanks, now one more question, where do I put the diff file

stlouie65 said:
Thanks, now one more question, where do I put the diff file
Click to expand...
Click to collapse
You don't need the diff. It's just if you want to compile it yourself or see the source code.

Oh, ok, thanks for the MOD

Thanks for this, I've been wanting exactly this for a while now-it only makes sense. I hope cyan or other devs take note of this and incorporate it into their roms, to keep up with newer releases of the phone/contacts.apk's that they use.

Sorry if this is a little off topic but i figured you could take a look at it since you're already poking around... but does anybody notice that the blacklist clears itself after each reboot? its a little frustrating readding the numbers all the time

jon6206 said:
Sorry if this is a little off topic but i figured you could take a look at it since you're already poking around... but does anybody notice that the blacklist clears itself after each reboot? its a little frustrating readding the numbers all the time
Click to expand...
Click to collapse
I don't have this problem on my g1 or slide.

I pulled the links. Apparently it breaks the ability to answer the phone
I'll look at at when I get home from work.

cant wait for update :fingers crossed:

File has been removed from the server....
Can you please re-upload this file or attach it to the OP?
Thanks
Bert

I finally got around to looking at it. Apparently the problem was not with my changes, but somewhere in my build environment.
Essentially whether I build the phone app with or without the changes, I am losing the onscreen answer/decline sliders. Gonna have to look into that because I am using a slide which lacks the hardware answer button rendering my phone app unusable to me.
So since it does actually work, Here is the new diff. It is essentially the same but with a few code cleanups. I am going to hold off on posting the apk's however until i figure out why i'm losing the onscreen sliders. If anyone knows, please let me know.
blacklist_diff_v2.txt

I don't have the sliders in stock CM6. But, I'm on a dream/G1.

GinoAMelone said:
I don't have the sliders in stock CM6. But, I'm on a dream/G1.
Click to expand...
Click to collapse
Well gee, guess i lived up to my name yet again. I updated the OP with the update.zip and diff.

working accept/decline sliders
this version has the accept/decline sliders working.
BlacklistFromCallLog-slide-signed.zip

added version for cm-5.0.8 to first post

hi, im retarded.
what do i do with blacklist_diff_v2.txt ?
p.s. lv ur work..keep it up

is this a straight flash or do i need to unzip and adb push?
thanks

freaktractor said:
is this a straight flash or do i need to unzip and adb push?
thanks
Click to expand...
Click to collapse
You can flash it.
fit333 said:
hi, im retarded.
what do i do with blacklist_diff_v2.txt ?
p.s. lv ur work..keep it up
Click to expand...
Click to collapse
Nothing unless your compiling your own roms.

Related

dcV1 zip for lock screen

Could someone point me to or make a .zip file that will give me that crazykewl lockscreen....the one with unlock to the left and silent mode to the right. Purrrrdy please?
Running dcV1
Im not against sexual favors, as im broke.
No need,just delete htclockscreen.apk and .odex,reboot,good.can use adb or use root explorer,the files are in system/app.check the dc1 custom files thread and homescreen thread towards the last couple pages,few other people have requested this,but its simple to do
Just my 2 cents...
I didn't delete them I just abbed .bak to the ends in case I want to revert back.
Also, FYI, When you rm the lockscreen you lose the ability to turn your alarm off. Agimax posted an older android alarm clock in the DC ROM thread, I'm not sure what post but with the default #posts/page it's on page 243.
casperlt1 said:
No need,just delete htclockscreen.apk and .odex,reboot,good.can use adb or use root explorer,the files are in system/app.check the dc1 custom files thread and homescreen thread towards the last couple pages,few other people have requested this,but its simple to do
Click to expand...
Click to collapse
Not near a computer, nor will i be for a while. Im scared to screw with r.e. and im not sure of the name of the lockscreen to have searched for it in the dc custom files thread. An update.zip would be amazing :- )
Ill start sifting thru dc custom files tho :-(
Got root explorer. How do i push the files without messing up my alarm?
Btw, real tip, thanks for the r.e. suggestion. Ive been meaning to download terminal and remove some bloatware, but i just multiselected everything i didnt want and poof!
One more quick thing...which apk is desk clock? Is it intertwined within world clock?
sinister,
If I'm understanding you correctly I think you're missing something. It took me 30 minutes of searching before I realized the super cool lockscreen you're after is ALREADY IN THIS BUILD. Removing or renaming htclockscreen.apk and htclockscreen.dex gets the lockscreen you don't want out of the way so that the one you do want can do it's job . You don't have to push anything to the phone to get the cool lockscreen, just remove those two files. BUT that's when you need an alarm alternative because the lockscreen you want disables the ability to turn off the 2.1 alarm. The alarm Agimax posted is a perfect workaround for this.
Good luck!
sinistermeshes said:
Could someone point me to or make a .zip file that will give me that crazykewl lockscreen....the one with unlock to the left and silent mode to the right. Purrrrdy please?
Running dcV1
Im not against sexual favors, as im broke.
Click to expand...
Click to collapse
I've never seen this lockscreen, now that you posted can you link the damn thing
pipskicks said:
I've never seen this lockscreen, now that you posted can you link the damn thing
Click to expand...
Click to collapse
If you're running damage control you already have it
sinistermeshes said:
the one with unlock to the left and silent mode to the right.
Click to expand...
Click to collapse
Um, that's just the default Android lockscreen, isn't it? That description sounds exactly like what comes up when I fire up the sdk version of 2.1 in the emulator.
Is there anyway to add a wall paper picture after removing the htclockscreen.apk and odex files ... I have the default lockscreen, just that it is clear
Thanks in advance
nebenezer said:
If you're running damage control you already have it
Click to expand...
Click to collapse
Aw 2.1 I still haven't pulled the trigger, Fresh 1.1 FAIL
I removed the htclockscreen.apk and odex files, rebooted and still have the same lockscreen, what am I missing?
I have been searching but I do not see the htclockscreen.codex I'm running darch 4.1 I removed the .apk but the lock screen is not aligned right and doesn't show the slide options. Please help!
rm /system/app/HtcLockScreen.apk
rm /system/app/HtcLockScreen.dex
This worked like a charm for me.
If this doesn't do it for you guys then I'm sorry I can't help, this is where my expertise comes to a screeching halt.
subliminalurge said:
Um, that's just the default Android lockscreen, isn't it? That description sounds exactly like what comes up when I fire up the sdk version of 2.1 in the emulator.
Click to expand...
Click to collapse
Yes.
REDFOCZ said:
Is there anyway to add a wall paper picture after removing the htclockscreen.apk and odex files ... I have the default lockscreen, just that it is clear
Thanks in advance
Click to expand...
Click to collapse
No, not that anyone has figured out yet.

Lockscreen Trouble....

FIrst off! Everyone is simply awesome!!!!! The threads get a bit overwhelming since i cannot watch all day long. I have tried to search and start to find things but this topic just kinda falls off without me finding a fix, if there is one.....
I removed the htclockscreen.apk and the attached image is what i get. is there a way to fix without a wipe and reflash as i have just about everything i want working. I know others have the same problem with this lockscreen which used to work fine in DCv1.0 .. I appreciate everyones hard work!!!!!!!!!!!!!
Thanks in advance.
Bret
beerock said:
FIrst off! Everyone is simply awesome!!!!! The threads get a bit overwhelming since i cannot watch all day long. I have tried to search and start to find things but this topic just kinda falls off without me finding a fix, if there is one.....
I removed the htclockscreen.apk and the attached image is what i get. is there a way to fix without a wipe and reflash as i have just about everything i want working. I know others have the same problem with this lockscreen which used to work fine in DCv1.0 .. I appreciate everyones hard work!!!!!!!!!!!!!
Thanks in advance.
Bret
Click to expand...
Click to collapse
Same thing I did...and I would assume you didn't make a NAND backup...just like me. Only solution you have is to reflash...sucks. Grab titanium backup from the market. It will put most of your stuff back. Only messes up a few widgets for me, and taking the off and putting them back on is easy.
Good luck!
beerock said:
FIrst off! Everyone is simply awesome!!!!! The threads get a bit overwhelming since i cannot watch all day long. I have tried to search and start to find things but this topic just kinda falls off without me finding a fix, if there is one.....
I removed the htclockscreen.apk and the attached image is what i get. is there a way to fix without a wipe and reflash as i have just about everything i want working. I know others have the same problem with this lockscreen which used to work fine in DCv1.0 .. I appreciate everyones hard work!!!!!!!!!!!!!
Thanks in advance.
Bret
Click to expand...
Click to collapse
I wonder if the lockscreen layout is setup for a higher resolution device (HVGA) instead of the Hero (QVGA). If that's so, then you could theoretically replace the XML layout files related to the lockscreen from a ROM where the lockscreen is displaying correctly into this ROM.
-Daryel
have you tried pushing HtcLockscreen.apk back to /system/app and rebooting ? or if you go to one of the modded DC roms regawmod (sp?) there are several customizations including the espresso rosie which if they did it correctly should include the espresso lockscreen so you can just flash it and get the stock lockscreen back. as far as how to get the vanilla android lockscreen going I can help with that.
wtphoto said:
have you tried pushing HtcLockscreen.apk back to /system/app and rebooting ? or if you go to one of the modded DC roms regawmod (sp?) there are several customizations including the espresso rosie which if they did it correctly should include the espresso lockscreen so you can just flash it and get the stock lockscreen back. as far as how to get the vanilla android lockscreen going I can help with that.
Click to expand...
Click to collapse
this is the lockscreen i want........ I copied the htclockscreen.apk so i can get that back, but i dont want to..lol i really just want to try and fix this one, although i know about enough to be dangerous any help would be awesome!!!
daryelv said:
I wonder if the lockscreen layout is setup for a higher resolution device (HVGA) instead of the Hero (QVGA). If that's so, then you could theoretically replace the XML layout files related to the lockscreen from a ROM where the lockscreen is displaying correctly into this ROM.
-Daryel
Click to expand...
Click to collapse
I think I understand wht you are describing ....this lockscreen worked fine on DCv1.0 after removing the htclockscreen.apk and i was wondering if we could remove the correct file from there and port it over to this rom it would be fixed .......but i am just guessing, and would not know where to start
Just trying to not get this post buried....... I hope someone is willing to help see if there is a fix for this lockscreen.....I think I officially diagnosed myself with OCD....LOL
And do really appreciate any help.
Bret
I guess either too much going on....... or no fix........ I know this must be an issue for other people... has anyone got a suggestion or a "It cannot be fixed "
Thanks again for all the hard work and dedication!!!!!!!!!! Please help
Bret
I have yet to use the lockscreen that everyone wants simply because a. I had no idea it existed and b. I have no idea how to get it. if someone figures this out I am all over it lol. Wish i knew how to help.
the stock android lockscreen will not display right on new sprint 2.1 roms this has been stated in many forums already there is no fix
Guys, just use Android Commander. It does all the ADB commands in a GUI. Useful stuff, it is. If you know where to push/pull stuff and know to backup things before you delete them, you should really only need Nandroid to save you from being unable to boot (stuck on HTC screen, not bootloop).
DanWalker said:
I have yet to use the lockscreen that everyone wants simply because a. I had no idea it existed and b. I have no idea how to get it. if someone figures this out I am all over it lol. Wish i knew how to help.
Click to expand...
Click to collapse
I f you remove the htclockscreen.apk in this rom you will have this lockscreen with the same problem as it seems that it is setup for landscape or widescreen mode...... forgive me if i am wrong but i have a hard time think this cannot be fixed with all the awesome things that are being accomplished.. I will do whatever i can to help!
thanks a bunch!
I'm interested in this as well. I haven't messed with Android too much but I develop for a living. Does anyone know if the stock 2.1 lock screen is controlled at the source code level or via a configuration file such as an xml? If someone could point me in the right direction, I'll see if I could come up with a solution...
I am living with my deformed lock screen untill someone has a fix.. i hate that htc lock screen.
maxium01 said:
I'm interested in this as well. I haven't messed with Android too much but I develop for a living. Does anyone know if the stock 2.1 lock screen is controlled at the source code level or via a configuration file such as an xml? If someone could point me in the right direction, I'll see if I could come up with a solution...
Click to expand...
Click to collapse
I was told xml from a senior member but do not know what to do with the info..... thanks for your interest in helping...
lgevo said:
I am living with my deformed lock screen untill someone has a fix.. i hate that htc lock screen.
Click to expand...
Click to collapse
I second that notion...... did find lockbot on the market that will replace it but have not got to play with it much seems you must buy the pro to really be right butt yet another option....

[MORPH] Galaxy S Dialpad

I noticed some interest for this so I put one together. Hope you guys enjoy it.
There are two morphs, one for ENOM's ROMs and one for all other ROMs. Please choose accordingly.
let me know if you have any issues.
As with everything here, try this totally at your own risk! Remember to Nandroid First.
cheers
I'm getting errors when trying to apply this theme.
yup......zipped it wrong. Redownload please as it should work now.
Still getting errors...
getting error saying target not found skipping
mad_vtak said:
Still getting errors...
Click to expand...
Click to collapse
I got the error again but the files do extract. Very strange. You should see it there if you pick add existing theme and it should work
I will try and figure out why its happening though.
mad_vtak said:
getting error saying target not found skipping
Click to expand...
Click to collapse
It try's a few spots so it will work with all ROMs and thats why it will skip some. It should still apply. You need to restart for the changes to take place.
cheers
i am able to choose from existing theme, but when i try to apply it i get an error that says target cannot be found.
Is this set up right?
SubTheme: Contacts.apk
located in /system/app/
SubTheme: Contacts.apk
located in /system/app_store/
SubTheme: Contracts.orig.apk
located in /system/app_store/
Is that where the .apk are located? in the app_store?
thats where the issue maybe coming from....
i think thats it... i ran it again, it looks like that the first one wants to apply but the 2nd two do not want to apply because of the location you set... thats what i think anyways.
I can't open my dialer anymore
mad_vtak said:
i think thats it... i ran it again, it looks like that the first one wants to apply but the 2nd two do not want to apply because of the location you set... thats what i think anyways.
Click to expand...
Click to collapse
In a bid to be inclusive of all ROMs I tried to apply to Contacts in the standard apps location as well as app_store which is the location of Contacts in ENOM's ROM.
I have now uploaded two versions, one for each location. Please try again with the new upload and it should work.
Sorry for the hassle!
that one worked. Thank you so much for the fix!!
Glad its fixed before anyone else got to it, enjoy your weekend!!
I've been waiting for this port so long. It's really great! Thanks a lot.
Any chance to morph the keypad during a call?
thanks for this! will try it out
whats that font you're using on your phone btw?
pakraider said:
thanks for this! will try it out
whats that font you're using on your phone btw?
Click to expand...
Click to collapse
The font is comfortaa. Its actually included in the port I did for the galas theme.
Sent from my Nexus One using XDA App
bethedealer said:
I've been waiting for this port so long. It's really great! Thanks a lot.
Any chance to morph the keypad during a call?
Click to expand...
Click to collapse
Going to work on the keypad next. Glad you like it!
Sent from my Nexus One using XDA App
Any chance of making a flashable zip for this?
I cant seem to get this to work properly. I have now morphed it for the 5th or 6th time, not sure. I morphed 3 times before I rebooted, but after that I rebooted after each morph. I have debugging on.
The tabs (phone, call log, contacts and favorites) are blue. I cant remember if they were like this before, but no icons were changed at all.
Any tips?
helfone said:
I cant seem to get this to work properly. I have now morphed it for the 5th or 6th time, not sure. I morphed 3 times before I rebooted, but after that I rebooted after each morph. I have debugging on.
The tabs (phone, call log, contacts and favorites) are blue. I cant remember if they were like this before, but no icons were changed at all.
Any tips?
Click to expand...
Click to collapse
What ROM are you using? I find metamorphs are always a little unstable. I am away for the next couple of days but will put together an update.zip when I get back.
great work huemedia! i didn't know about your Galaxy theme port.. using this along with hazxmatic's on CM6 RC3 and all is well.
for folks having problems with metamorph, don't worry if it gives you an error about the theme. just run metamorph again and you'll see that it has been extracted. choose the xml, and apply it.
thanks look great on my nexus
Great job guys.....

[Request] Froyo HTC_IME APK

I've been searching all day, and I can't get a working copy of the Froyo HTC_IME APK.
Does anyone have it, or have the ability to rip it? I really wish I didn't have to request it here but I've exhausted all my attempts here to find it.
Help would be really appreciated. I'm currently running Damage Control 3.5 which didn't get official Froyo Sense keyboard. The mod does not have arrows, which is necessary for EVO users.
-EDIT: If anyone knows how to rip it from a ROM, that information can help as well, as long as it's not too difficult. I can have a friend attempt to do that.
Here you go.
Y'all check this out!
http://forum.xda-developers.com/showthread.php?t=654179
I dunno how many of you use HTC_IME_hiRes version but this is a pretty sweet kitchen that themes it up in almost any way you want!
Awesome! Thanks major to the creator, gIMpSTa. And thanks to jonasl for the mod.
Yea the kitchen is convenient. Only thing is the XDA HTC_IME mod doesn't have multitouch or arrows like the official HTC one which is what he wants.
ajones7279 said:
Here you go.
Click to expand...
Click to collapse
Thanks. For some reason, however, it says "Application Not Installed". Any reasons as to why this is happening?
Again, I'm running DamageControl 3.5.
I did, while waiting for a reply, find a backup made by Titanium that includes the keyboard as system data. I could not run a restore for it though. It feels like I just will never get that keyboard back unless I flash a new ROM.
So, out of the options below, what's my best move?
1. Troubleshoot the installation error.
2. Troubleshoot Titanium
3. Flash a different ROM
This might seem like too much for a single keyboard, but you don't know how much I miss those arrows...
TheZen said:
I've been searching all day, and I can't get a working copy of the Froyo HTC_IME APK.
Does anyone have it, or have the ability to rip it? I really wish I didn't have to request it here but I've exhausted all my attempts here to find it.
Help would be really appreciated. I'm currently running Damage Control 3.5 which didn't get official Froyo Sense keyboard. The mod does not have arrows, which is necessary for EVO users.
-EDIT: If anyone knows how to rip it from a ROM, that information can help as well, as long as it's not too difficult. I can have a friend attempt to do that.
Click to expand...
Click to collapse
I wish I had my comp, and I'd just post the apk.
Anyways dude, the froyo keyboard is nice, so I could see why you want it. I've tried swype, and just plain deleted that gimpsta crap after like an hour (its nice for people who can't theme, but just ugly compared to a themes froyo).
To rip the apk, just download a stock Rom, open the zip, and it should be in system/app/. From there, u have to adb push it to the system/app/ folder of your own.phone.
Another alternative would be downloading a stock Rom n deleting literally everything in the zip minus the HTC_IME and flashing it.
ajones7279 said:
Yea the kitchen is convenient. Only thing is the XDA HTC_IME mod doesn't have multitouch or arrows like the official HTC one which is what he wants.
Click to expand...
Click to collapse
Ooops! guess I missed that.
Here is a flashable. Hopefully it will work.
(its nice for people who can't theme, but just ugly compared to a themes froyo)
Click to expand...
Click to collapse
I guess. Personally I like the modded ime because of all the customizations. I use volume buttons as arrows. To to each their own.
_Burst_ said:
Ooops! guess I missed that.
Here is a flashable. Hopefully it will work.
I guess. Personally I like the modded ime because of all the customizations. I use volume buttons as arrows. To to each their own.
Click to expand...
Click to collapse
Lol, look at my keyboard on my theme. You can mod the jell outta the stock, it just takes effort, looks sexy and you still have the features that the generic Gimp keyboard is missing.
TJDuckett said:
Lol, look at my keyboard on my theme. You can mod the jell outta the stock, it just takes effort, looks sexy and you still have the features that the generic Gimp keyboard is missing.
Click to expand...
Click to collapse
Calm down there broseph. I haven't looked at your theme (which I already know is good) but anyone and there mommy can color a keyboard.
There are more mods than just a color change.
_Burst_ said:
Calm down there broseph. I haven't looked at your theme (which I already know is good) but anyone and there mommy can color a keyboard.
There are more mods than just a color change.
Click to expand...
Click to collapse
If anybody and their mommy can do it, then y are u using a site to do it with an inferior keyboard? Exactly...
Anyways, op, I can't see from tapatalk, but it looks like ur file got posted, so good deal.
TJDuckett said:
If anybody and their mommy can do it, then y are u using a site to do it with an inferior keyboard? Exactly...
Click to expand...
Click to collapse
lol *shakes head* because I dont use the one with arrows. Plus it isn't inferior. And it is very easy to get. Again, you hate on me for sharing information.
Dude, it doesn't have multi touch n **** either.
I "hate on you" bc you don't answer questions, and instead post links to irrelevant ****. A link to gimpstas site isn't an answer to someone wanting the stock froyo keyboard.
You do this mess all the time guy. Just try answering a question straight out
ajones7279 said:
Here you go.
Click to expand...
Click to collapse
I tried installing this but so far it has given me all kinds of issues where it force closed constantly, then after a reboot all the HTE_IME data was gone and I can't find it anywhere or install this one. Anyone have any ideas?
Normally I wouldn't bump so soon but this is the only keyboard I use and I could really use some help. Thanks
063_XOBX said:
Normally I wouldn't bump so soon but this is the only keyboard I use and I could really use some help. Thanks
Click to expand...
Click to collapse
Hey! I'm not really sure whats up with that. I am downloading DC right now to see whats inside. I made a new flashable. Maybe it will work. Before you flash it i would remove any extra keyboards you may have installed. Then also look in your /system/app/ folder and see if there are multiple copies of htc_ime.apk. there really should be only one. lastly, i would go to >settings>applications>manage>all>TouchInput>Clear defaults(dunno if you can do this) but maybe clear data. Then reboot recovery and flash this file. Maybe it wasnt working because it needed the clicker.apk as well.
Hope something works for ya. These files are from fresh so maybe that is why they don't work. ???
Has anyone figured out how to get this keyboard to work on cyanogen?
What exactly is the clicker?
I just ripped the APK from my Stock Froyo install for HTC_IME.apk, which should be the right keyboard. I have the clicker installed from that other HTC_IME Mod apk that's been around for a while, but that's not the multitouch version and doesn't have the arrow keys.
I'm going to see if the same hacks the guy who hacked the first one will work on this new APK. But I can't play around with it yet.
Check out APKtool to decompile the APK and look at the source for the other HTC_IME mod to kind of see what he did.
I too would like to use it in my CM install.
the clicker is what allows you to calibrate/recalibrate the touch input
Did anyone get the 2.2 keyboard running in AOSP roms yet?
_Burst_ said:
Ooops! guess I missed that.
Here is a flashable. Hopefully it will work.
I guess. Personally I like the modded ime because of all the customizations. I use volume buttons as arrows. To to each their own.
Click to expand...
Click to collapse
OMFG ARE YOU KIDDING ME! Months... months i tell you i have been using android. hero then evo. And i just now realize you can use the volume keys as arrows thanks to you. I have learned how to theme, i have learned how to customize stock ota's into custom rom's for myself, i have learned how to compile kernels from source by dual booting into my linux build. I have learned so many things... and yet, just figured this out.... sometimes i wonder about myself and my sanity,.
on topic now, i think the touch input keyboard requires more than one apk to be installed, or an apk and a library.

[Q] 10% Battery icons for Tranquility 3.0

I've been trying to modify Tranquility 3.0 to use 10% increments instead of the default 20% with the icons found in this thread: 821606
(Apparently a link to another topic is an "outside link" and I'm not allowed to post it. Just replace this topic's ID with that one and you'll find the thread I'm talking about)
So far I've been able to boot with the correct icons but I get strange force closes and weird patterns, especially in the little loading bars and in the volume bars. It's odd.
I've attached the .pngs and .xmls I would like to use - can anyone build a working framework-res.apk for Tranq's dark theme to use these icons/xmls, or at least tell me where I've gone wrong in creating my own?
Sunblood said:
I've been trying to modify Tranquility 3.0 to use 10% increments instead of the default 20% with the icons found in this thread: 821606
(Apparently a link to another topic is an "outside link" and I'm not allowed to post it. Just replace this topic's ID with that one and you'll find the thread I'm talking about)
So far I've been able to boot with the correct icons but I get strange force closes and weird patterns, especially in the little loading bars and in the volume bars. It's odd.
I've attached the .pngs and .xmls I would like to use - can anyone build a working framework-res.apk for Tranq's dark theme to use these icons/xmls, or at least tell me where I've gone wrong in creating my own?
Click to expand...
Click to collapse
No thread identified. But upload the tranquility framework and i'll try.
yawdapaah said:
No thread identified. But upload the tranquility framework and i'll try.
Click to expand...
Click to collapse
Thanks, I appreciate it.
Sunblood said:
Thanks, I appreciate it.
Click to expand...
Click to collapse
Be careful I don't have Tranquility so I can't test it. Use it at your own risk.
Thanks
http://www.mediafire.com/?4c2ynglf5bzzpk5
I'd be interested to know if it works out after the edits. On that note if you guys wouldn't mind if it does work I can get it off t oP3 so he could add it into his next update of TranQ.
will2live said:
I'd be interested to know if it works out after the edits. On that note if you guys wouldn't mind if it does work I can get it off t oP3 so he could add it into his next update of TranQ.
Click to expand...
Click to collapse
Well if you have tranquility, you can try it out. I've already uploaded the file.
Thanks
yawdapaah said:
Well if you have tranquility, you can try it out. I've already uploaded the file.
Thanks
Click to expand...
Click to collapse
Well I do have it and run it, but atm I don't have the device in my possession. I lent it to a friend to use as they are waiting for a replacement so I'm using one of my other devices right now. If I get it back prior to hearin or seeing as reply here I will check it out tho.
will2live said:
Well I do have it and run it, but atm I don't have the device in my possession. I lent it to a friend to use as they are waiting for a replacement so I'm using one of my other devices right now. If I get it back prior to hearin or seeing as reply here I will check it out tho.
Click to expand...
Click to collapse
Thank you. I've been rom-whoring recently and have settled down with Fission . If I install tranquility, I'll test it myself as well. GL
Nope, not working - now I just have a bootloop. Thanks for the effort though - maybe someone else could have a go at it?
Your best bet is to take the original DX-Tranquility_3.0.zip and modify it then install it again. Since this ROM does not require a wipe.
I did have issues at first when I tried to extract the zip then make my changes, but this link helped me figure out how to do it through 7zip. Once you are in the correct location you can add your new images to the “drawable-hdpi” folder.
I have done this and added different battery icons, changed the notification bar and replaced the "Verizon Wireless" text.
FYI:
I added "stat_sys_battery_0.png" through "stat_sys_battery_100.png" in increments of 10 with 5 and 15 added but it is still reporting 20% increments.
L8
@ Sunblood: how did you install it?
tonm156 said:
Your best bet is to take the original DX-Tranquility_3.0.zip and modify it then install it again. Since this ROM does not require a wipe.
I did have issues at first when I tried to extract the zip then make my changes, but this link helped me figure out how to do it through 7zip. Once you are in the correct location you can add your new images to the “drawable-hdpi” folder.
I have done this and added different battery icons, changed the notification bar and replaced the "Verizon Wireless" text.
FYI:
I added "stat_sys_battery_0.png" through "stat_sys_battery_100.png" in increments of 10 with 5 and 15 added but it is still reporting 20% increments.
L8
Click to expand...
Click to collapse
I'll concur as that is the same thing I've done to make some changes to framework-res. Its actually pretty simple to do once you have the files you want to add, and know the location of where they need to be. Kinda just turns into a drag & drop and you are done.
As for the reporting of 20% increments like you mention. I asked P3 about it and it is a thing with the X and the way the software is done by Moto/VZW. He has yet to get it working to report in 10% increments even if you have the images there.
I have seen other ROMs report that have 10% increments working but my guess if they are once that are fully built from source which TranQ is not.
yawdapaah said:
@ Sunblood: how did you install it?
Click to expand...
Click to collapse
Pushed to /sdcard with adb, moved to /system/framework/framework-res.apk with adb shell. Rebooted.
As for the 10% increments, that's achieved by editing the .xml that tells the OS what images to use at what battery percentage. Replacing already-used images is easy, but the .xml is encrypted. You'll have to use APKTool to decrypt it. The difficulty comes from re-encrypting properly.
You don't have to build from source to get the 10% working. I've done it for NexTheme and Revo for ApeX.
The file I uploaded was created via the same process. Only problem is that i'm not using Tranquility and can't test it. Furthermore, the level of P3droids mods may cause any changes to the framework to bootloop. I'll try to test it when I get home.
http://androidforums.com/droid-x-all-things-root/210016-nextheme-10-circle-battery-mod.html
yawdapaah said:
You don't have to build from source to get the 10% working. I've done it for NexTheme and Revo for ApeX.
The file I uploaded was created via the same process. Only problem is that i'm not using Tranquility and can't test it. Furthermore, the level of P3droids mods may cause any changes to the framework to bootloop. I'll try to test it when I get home.
http://androidforums.com/droid-x-all-things-root/210016-nextheme-10-circle-battery-mod.html
Click to expand...
Click to collapse
first off that is good to hear seeing as I've been told otherwise by many different people. And seeing as I don't know enough in general to question them I don't.
That said if you are willing and had the time if you could PM me the info on what needs to be changed I'll try it out myself. Least of my concern is a bootloop or brick to be honest. I have anything and everythign I'd need to get it back running again no matter what happens as it is pretty much next to impossible to completely brick one of these devices as long as you don't mess up the actual bootloader which would not be an issue in this case.
will2live said:
first off that is good to hear seeing as I've been told otherwise by many different people. And seeing as I don't know enough in general to question them I don't.
That said if you are willing and had the time if you could PM me the info on what needs to be changed I'll try it out myself. Least of my concern is a bootloop or brick to be honest. I have anything and everythign I'd need to get it back running again no matter what happens as it is pretty much next to impossible to completely brick one of these devices as long as you don't mess up the actual bootloader which would not be an issue in this case.
Click to expand...
Click to collapse
Easy peasy. Long read but very simple process.
http://androidforums.com/droid-x-all-things-root/210021-how-10-battery-themed-framework-apks.html
yawdapaah said:
Easy peasy. Long read but very simple process.
http://androidforums.com/droid-x-all-things-root/210021-how-10-battery-themed-framework-apks.html
Click to expand...
Click to collapse
Thanks give me something to mess with over the weekend while watching some football seeing as my golf season has come to a close iwth it being so dam cold around here already.

Categories

Resources