Modding vibration patterns - Android Software/Hacking General [Developers Only]

Well i pretty much wanna do what the title says. I want to change the vibration patterns for ALL notifications including google voice and SMS and others. However, all apps i found on the market and internet DO NOT work so please save your time and dont recommend them.
What i want to do is hopefully mod a JAR file inside the /system/framework directory. However i just dont know which one to edit if any.
All comments/brainstorming ideas are happily welcome!

I'm interested in this, too. Maybe it's even possible to include it in the ROM Settings for AOKP ROM.
Much like different notification colours for each app.

Piny12 said:
I'm interested in this, too. Maybe it's even possible to include it in the ROM Settings for AOKP ROM.
Much like different notification colours for each app.
Click to expand...
Click to collapse
Thats a good idea, im gonna extract all my .jar files and browse through them to look for some sort of notification .smali file or something.. lol i hope this is possible.

Related

[Q] Widgetlocker directory?

Anybody know the install directory for the app WidgetLocker? I want to change the color of the sliders like I did with the framework but I can't find where WidgetLocker installed to...
It'll install to /data/app/com.teslacoilsw.widgetlocker.apk (Or sometimes com.teslacoilsw.widgetlocker-1.apk).
For the standard android sliders it uses the same images with the same names, so it should be straight forward to setup your theme on it. I plan on including proper theme support in the future so you and others will be able to release APK themes to apply to WidgetLocker.
[email protected] said:
It'll install to /data/app/com.teslacoilsw.widgetlocker.apk (Or sometimes com.teslacoilsw.widgetlocker-1.apk).
For the standard android sliders it uses the same images with the same names, so it should be straight forward to setup your theme on it. I plan on including proper theme support in the future so you and others will be able to release APK themes to apply to WidgetLocker.
Click to expand...
Click to collapse
that sounds good, cant wait, its a great app, with themes, it will def be a must have
Awesome, straight from the source, thanks.
Hmm, my /data folder is empty...
Just a guess... you may need to be rooted to see /data?
Come one dude, give me some credit. I got into the /data folder with root explorer and found the install files for WidgetLocker and Tesla LED but what I was looking for wasn't in there... I don't think. I'm looking for the circular .png files that fill those bars on the lockscreen. Specifically the lock, sound things, Tesla LED icon, and the camera icon.
Wow, I'm dumb. For some reason I was looking in the /data/data folder... that's what I get for messin around with this stuff at 4am. I got it though and it's gonna look siiiiiiiiiick. Stay tuned kids.

[request] Themed 3G icon

can anyone post up a themed version of the stock or new MIUI rom flashable 3G indicator, themed to match this (or both):
http://forum.xda-developers.com/showthread.php?t=788214
Thanks!
Do you mean you're after:
A theme for MIUI which has the 3G icons from that theme
or
That theme with the MIUI 3G icons?
Josh.
fllash said:
Do you mean you're after:
A theme for MIUI which has the 3G icons from that theme
or
That theme with the MIUI 3G icons?
Josh.
Click to expand...
Click to collapse
I would like the 3g icon from that rom to flash over SkyRaider 3.2
^Same^ but likt the one from the smooth blue theme that is a blue 3G indicator. Or JUST the stock HTC 3G indicator in blue if possible. Thanks
just pull it out of the framework and color it yourself, it's like 4 images
worm- said:
just pull it out of the framework and color it yourself, it's like 4 images
Click to expand...
Click to collapse
How do I do this?
Thanks
Funny. I was just going to post asking anyone if they had it in red. I would also like to know how to do it.
Contempt4You said:
Funny. I was just going to post asking anyone if they had it in red. I would also like to know how to do it.
Click to expand...
Click to collapse
I know. I really want it lol, because i kinda hate the 3G indicator in the theme i have currently, as it's hard to see the upload/download arrows, so i just wanted a flashable indicator so I dont lose the cool notification pulldown
I can edit it with photoshop if I can find it. Can anyone give me a hint to the file path?
EDIT: Hah...ok I suck and fail.
I found the apk and edited the images. Looked great. Put the apk back together. Unistalled the original apk and tried to install my modified apk. Would not install. I'm done with it for now. I guess I will read up on signing tomorrow although I thought I had read that system apps didn't need to be signed.
I'll play with it more tomorrow.
do adb pull /system/framework/framework-res.apk
And the images should n in the drawable-hdpi. Folder if not just look around until u find the images
Then pull the framework from your current Rom and replace your images with the images you want then repush your framework hack to the phone and reboot
Sent from my ADR6300 using Tapatalk
Contempt4You said:
I can edit it with photoshop if I can find it. Can anyone give me a hint to the file path?
EDIT: Hah...ok I suck and fail.
I found the apk and edited the images. Looked great. Put the apk back together. Unistalled the original apk and tried to install my modified apk. Would not install. I'm done with it for now. I guess I will read up on signing tomorrow although I thought I had read that system apps didn't need to be signed.
I'll play with it more tomorrow.
Click to expand...
Click to collapse
If you figure it out can you pack a zip of just the 3g icon in blue as well for me?
Thanks man
Thanks for the tips. With a little help from google, I was able to figure it out.
Which icon did you need exactly? The 3g toggle or the notification bar?
well, i did it and replaced some old icons with cooler looking ones, but the 3g icons (along with similar data icons) did not show up. all of the other ones showed up. also, i read a thread where this dude got 4g icons from another rom and installed them on his phone to make it look like he had 4g, but then hours later, he experienced loss of mobile data... and now i think i am too... any suggestions?
I'm sorry I can't help you. I am learning all this myself and wouldn't pretend to know where to start on that. All I can say is that if you are going to make any changes then backup early and often.
The 3g toggle icons I was looking for were in system/app. I merely reskinned them and dropped them back in.
Contempt4You said:
I'm sorry I can't help you. I am learning all this myself and wouldn't pretend to know where to start on that. All I can say is that if you are going to make any changes then backup early and often.
The 3g toggle icons I was looking for were in system/app. I merely reskinned them and dropped them back in.
Click to expand...
Click to collapse
i wanted notification bar icon
I'm running a theme and mine is already skinned. I think either way you would still have to adb push it onto your phone. I did some googling and took a crash course on changing system icons.
Once I figured it out, it made sense (i know that sounds stupid, but after i did it, I was like oh yeah I get it now). I know that's not a big help, but I'm new to this and wouldn't want to bork your phone. Maybe someone more knowledgable will come save the day.
Otherwise I would google in terms like editing apks and adb pull adb push etc. and maybe you will figure it out too.
Hell I can't wait to ruin my phone now that I am armed and dangerous =)
Contempt4You said:
I'm running a theme and mine is already skinned. I think either way you would still have to adb push it onto your phone. I did some googling and took a crash course on changing system icons.
Once I figured it out, it made sense (i know that sounds stupid, but after i did it, I was like oh yeah I get it now). I know that's not a big help, but I'm new to this and wouldn't want to bork your phone. Maybe someone more knowledgable will come save the day.
Otherwise I would google in terms like editing apks and adb pull adb push etc. and maybe you will figure it out too.
Hell I can't wait to ruin my phone now that I am armed and dangerous =)
Click to expand...
Click to collapse
Lol, i actuallly finally figured out how to extract the png's, so i am going to edit in photoshop, then replace the current images with the app ninjamorph.
*didnt work* left a huge blank space on noti. bar and when I rebooted to see if it would show, I bootlooped*
Well. I spent last night learning to resign edited apk files, so literally nothing on my phone is safe now.
Contempt4You said:
Well. I spent last night learning to resign edited apk files, so literally nothing on my phone is safe now.
Click to expand...
Click to collapse
Is there any way to pack the png's so that I can flash them or install as an apk?
Anyone know how I'd do this? I already have the edited png's.
Can I send any of you guys the folder with the icons and you can help me out with this?
Thanks again
It seems the easiest way to change or theme icons is to not unzip them. Just open them with 7zip and make your changes, then close it. They will stay compressed and all of the info and size will remain intact.
Once changed you will have to resign the apk or zip file.
I spent the better part of 2 hours reading up on it using these forums and google, but I do not in any way feel knowledgable enough to instruct you on the finer points. There are oodles of topics on editing apk's and signing them when you are finished.
The steps seem pretty clear:
1. download or pull apk
2. open with 7zip
3. make changes keeping sizes and file names the same
4. close
5. re-sign the apk or zip file (most likely have to delete the existing files to the original signing which will be replaced with your own)
6. push or install the zip or apk (make sure the original app is uninstalled prior to reinstalling the changed app)
There are various methods and tools. The most helpful thread I found on signing is here: http://forum.xda-developers.com/showthread.php?t=473580
I hope this covers it all and is helpful to you. I am new at it and can only tell you to backup everything and if you are unclear on any of it, then don't attempt it.
Read all the posts related to it. There is great info and plenty of feedback on known issues or mistakes others have had.

[Q] Custom theming applications !!SOLVED!!

Hello everyone,
I recently started working at my own custom theme which will be mainly flat black with white icons and android green highlights. I've shown it to a couple of friends and they really quite like it. I've updated every single image in the Framework-res.apk so it really is a complete revamp.
Now, I also want to edit some of the applications that I installed to match the theming (for example Handcent SMS and Winamp). I managed to pull the apk files from my phone, decompile them, edit the images and rebuilding them. But I can't seem to manage to push them back to my phone with succes because they get "uninstalled" when I push the files back to overwrite the originals (they are removed from the app drawer).
I wonder if anyone of you knows why and if it's solveable, I really like Winamp and Handcent SMS.
Cheers in advance!
Do you resign the app ?? use apk manager ??
I am not that clever to do that stuff, but it sounds like when you mod widget locker and you dont sign the apk file, if i am completely wrong sorry just trying to help
chiefy009 said:
Do you resign the app ?? use apk manager ??
I am not that clever to do that stuff, but it sounds like when you mod widget locker and you dont sign the apk file, if i am completely wrong sorry just trying to help
Click to expand...
Click to collapse
I did not resign the app, I didn't even know such thing excisted. I'm not that smart myself, I'm just a stupid designer knowing how to photoshop really well But other than that I just followed some tutorials.
If you could explain to me how to resign an app that would be of great help. Thanks!
Search for widget locker mods and in that post at the top there is a piece of kit called apk manager, follow the instructions and it will resign your apk and allow it to be used
http://forum.xda-developers.com/showthread.php?t=825553
thats the link with the apk manager in the thread
Yup it seems it worked guys. APK Manager is awesome, makes it all so much easier and faster
Thanks for helping me out!
FricoRico said:
Yup it seems it worked guys. APK Manager is awesome, makes it all so much easier and faster
Thanks for helping me out!
Click to expand...
Click to collapse
Pleasure share your work once complete?
sent from my commodore 64
You'll be the first one to know when the theme is finished. I'm making quick progress now. I'm gonna edit some more apps that I frequently use. Winamp is almost fully customized. I'm not quite sure how to pack everything up into an easy installer for you guys to use. But by that time I will ask for help again, I'm sure there will be loads of people who will teach me how to do that when they see the final product.
FricoRico said:
You'll be the first one to know when the theme is finished. I'm making quick progress now. I'm gonna edit some more apps that I frequently use. Winamp is almost fully customized. I'm not quite sure how to pack everything up into an easy installer for you guys to use. But by that time I will ask for help again, I'm sure there will be loads of people who will teach me how to do that when they see the final product.
Click to expand...
Click to collapse
I will always help where I can with what little I know or St least try to point you somewhere, good luck
sent from my commodore 64

Alter Cyanogen mod Settings

Hey everyone,
i have removed apps that i don't think i will ever use, E.G themes, and would like to alter the Cyanogen mod Settings to remove the entires that are no longer needed, as i have never done this before, i will most likely need to be helped step by step, or if you have a link to a guide already made that will be great
This is probably more involved that you would like to go.
That is part of "ROM" itself and can't be removed like a apk in system app.
Do you want to remove it from the source and compile it yourself? Think that is the way you have to go to accomplish what you want. Maybe it can be edited out in the ROM.zip prior to flash but I don't know
dam, i hoped it would be simple, i may have to re-compile it as you say, cause since i removed themes, it obliviously crashes if i accidentally hit the theme button in settings, i'll go looking to see if i can find something relating to that, thanks
kenpachizero said:
dam, i hoped it would be simple, i may have to re-compile it as you say, cause since i removed themes, it obliviously crashes if i accidentally hit the theme button in settings, i'll go looking to see if i can find something relating to that, thanks
Click to expand...
Click to collapse
Hi,
You can always just try a launcher that allows u to hide the apps u do not want to use....
And you can also disable some of those hidden apps under "manage applications" but be careful since some of the main apps are used by other system apps like gallery, email, etc. I just hide them and its like they do not exist.
This way if a force close happens due that app being disabled u can always reenable it so it fixed the force closures.
Or find a ROM that slim/minimal so u dont have worry about those apks in the first place.
Good luck
Vs Nexus S4G using tapatalk2
He is actually referring to the stuff in the settings menu.
So when he deletes the theme manager apk for example it also disappears from the settings.
At least that's what I think he is talking about.
albundy2010 said:
He is actually referring to the stuff in the settings menu.
So when he deletes the theme manager apk for example it also disappears from the settings.
At least that's what I think he is talking about.
Click to expand...
Click to collapse
After reading the post again..
I believe ur correct since it seemed to easy of a question to ask and answer.
But I just wonder why those settings are even a bother to the phone or its performance.
Vs Nexus S4G using tapatalk2
Minimalist approach. I can see how it can annoy somebody very easily.
Decompile and edit the smali files which is a huge pain in the ass or do it from source, those are generally your only 2 options. I did it for my GS2, it's much, MUCH, easier to do it from source. Understanding smali makes me want to rip my hair out. Stick to the source, haha trust me.
Try your luck. Here are some resources to help you out.
http://code.google.com/p/smali/w/list
http://pallergabor.uw.hu/androidblog/dalvik_opcodes.html
http://s.android.com/tech/dalvik/dalvik-bytecode.html
Look for something called dex2jar, it'll convert the classes.dex in an apk file to a jar which you'll be able to read/understand with jd-gui.

[Q] Disable Ticker Animation (Notification Privacy)

I am talking about Paranoid Android's very useful tweak. The "Do Not Disturb" option in settings menu where it completely disables the ticker animation whenever there's a notification.
This is a great tweak for me because whenever a friend borrows my phone to browse the web or to send an sms, he/she sees the COMPLETE incoming text thru the ticker animation. This is really an annoying accidental invasion of my privacy.
"So why don't you just use paranoid android rom?"
Well, because that mod is the only reason i was able to stick to that rom for almost 2 weeks.
I am more than willing to create a custom rom that suits my exact preferences but i lack the time and skills to do it.
Okay so i've searched EVERYWHERE (trust me) but i can't find an individual mod that does exactly this.
Thanks for reading and I am very grateful if anyone answers. :good:
ej8989 said:
I am talking about Paranoid Android's very useful tweak. The "Do Not Disturb" option in settings menu where it completely disables the ticker animation whenever there's a notification.
This is a great tweak for me because whenever a friend borrows my phone to browse the web or to send an sms, he/she sees the COMPLETE incoming text thru the ticker animation. This is really an annoying accidental invasion of my privacy.
"So why don't you just use paranoid android rom?"
Well, because that mod is the only reason i was able to stick to that rom for almost 2 weeks.
I am more than willing to create a custom rom that suits my exact preferences but i lack the time and skills to do it.
Okay so i've searched EVERYWHERE (trust me) but i can't find an individual mod that does exactly this.
Thanks for reading and I am very grateful if anyone answers. :good:
Click to expand...
Click to collapse
Does it only affect SMS/MMS? If so, the mod can probably be cleanly packaged into a modded mms.apk and the setting option/toggle moved from PA settings to mms settings. Can't say, never used it, but someone with time on their hand can probably track it in the PA git.
polobunny said:
Does it only affect SMS/MMS? If so, the mod can probably be cleanly packaged into a modded mms.apk and the setting option/toggle moved from PA settings to mms settings. Can't say, never used it, but someone with time on their hand can probably track it in the PA git.
Click to expand...
Click to collapse
It affects all ticker animations that pop up on the status bar whenever there's a notification.
For example, when i turn the feature on and i use titanium backup to do a batch restore, the icon is still there but there will be no ticker animation.
It's quite redundant if you ask me.
7 months passed.... still looking. lol
ej8989 said:
7 months passed.... still looking. lol
Click to expand...
Click to collapse
Would also be really interested in this if it's possible.
liabilityman said:
Would also be really interested in this if it's possible.
Click to expand...
Click to collapse
Still not possible thru stock SMS. I use Textra SMS and it's got the option to hide the ticker animation
ej8989 said:
Still not possible thru stock SMS. I use Textra SMS and it's got the option to hide the ticker animation
Click to expand...
Click to collapse
Still no luck? I am searching everywhere, like you, but I can't find a mod for this. It is found in Cataclysm rom, but I can't understand why this is not asked for more. Every rom should have a preference to disable all notification tickers.
fredrik74 said:
Still no luck? I am searching everywhere, like you, but I can't find a mod for this. It is found in Cataclysm rom, but I can't understand why this is not asked for more. Every rom should have a preference to disable all notification tickers.
Click to expand...
Click to collapse
I learned to accept the fact that noone will make a stand-alone mod (or even an app) for this specific feature.
I am in exactly the same boat.. I don't know how many hours I've spent looking around and found nothing.
I need to specifically for WhatsApp; no such luck.
Did you guys find anything?
ombadboy said:
I am in exactly the same boat.. I don't know how many hours I've spent looking around and found nothing.
I need to specifically for WhatsApp; no such luck.
Did you guys find anything?
Click to expand...
Click to collapse
No luck here. Almost 2 years looking around.
If I had a better idea how ROMs work.. I would've had a look at the one you mentioned in your OP and maybe create an XPOSED mod..
ej8989 said:
No luck here. Almost 2 years looking around.
Click to expand...
Click to collapse
See the changelog for SlimKat Weekly 8.9. Is this what you actually want?
smit.sanghavi said:
See the changelog for SlimKat Weekly 8.9. Is this what you actually want?
Click to expand...
Click to collapse
Yes. I have also seen those settings on mahdi last week
So nobody has helped you yet? Strange.
Decompile SystemUI with ApkTool (Import the framework, decompile)
Open res/values/bools
Modify the string <bool name="enable_ticker">true</bool> TO <bool name="enable_ticker">false</bool>
Recompile the app with apktool using the command: apktool b -c SystemUI.apk.
DONE
CoolJoseph96 said:
So nobody has helped you yet? Strange.
Decompile SystemUI with ApkTool (Import the framework, decompile)
Open res/values/bools
Modify the string <bool name="enable_ticker">true</bool> TO <bool name="enable_ticker">false</bool>
Recompile the app with apktool using the command: apktool b -c SystemUI.apk.
DONE
Click to expand...
Click to collapse
Thanks! But custom ROMs nowadays already has this as a mandatory feature.
And I already switched to another device.
ej8989 said:
Thanks! But custom ROMs nowadays already has this as a mandatory feature.
And I already switched to another device.
Click to expand...
Click to collapse
Yeah, i've just pointed it if somebody needs it

Categories

Resources