[GUIDE] Make haptic feedback stronger - Sprint HTC EVO 4G LTE

With the 2.13 base, haptic feedback of the capacitive keys was reduced significantly. I've gotten a few requests to "please find a way to put it back to the way it was on the prior base". I have to agree it's a bit "dainty" and difficult to detect on 2.13 and I found a simple solution to those of you with a little experience with decompiling and recompiling. As usual, this guide assumes you know how to decompile and recompile apk/jar files and is not intended as a primer on how to do that, yada, yada.
OK, this is really simple. Just decompile android.policy.jar and open \smali\com\android\internal\policy\impl\PhoneWindowManager.smali and search for this:
Code:
const v9, 0x409000f
replace that line with this:
Code:
const v9, 0x1070021
Save, recompile and you should be good to go.
Mike

reserved

Nice find mikey.

SteelH said:
Nice find mikey.
Click to expand...
Click to collapse
Hey Mikey, I think he likes it!
as do I. I thought it was weaker. Thanks
Sent from EVO LTE using the XDA app

I assume this is in services.jar? Didn't see it mentioned in the OP.
Sent from my EVO using Tapatalk 2

debarron said:
I assume this is in services.jar? Didn't see it mentioned in the OP.
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Thanks. I added it to the OP: it's in android.policy.jar.
Mike
Sent from my EVO using xda premium

Related

[APP][2.3+] AVP Calculator [v1.3][23/10/12]

AVP Calculator​
Hey guys, after two weeks, I came up with this! Certainly useful for a school student like me!!
There are a lot of calculators out there in Google Play. All of them perform arithmetic functions to give you the desired result.
My app is different. Suppose you want to calculate the area or volume of a figure, you know the given values, but you don't remember the formulae to find it. AVP Calculator is the solution to that problem. Loaded with 7 2D figures and 5 3D figures (and their types), this app helps you to calculate area and perimeter of 2D figures, and volume and surface area of 3D figures. AVP = A(rea)+V(olume)+P(erimeter).
The 2D figures include:
+Square
+Rectangle
+Circle
+Parallelogram
+Rhombus
+Triangle (with types)
+Trapezium
The 3D figures include:
+Cone
+Cuboid
+Cylinder (with types)
+Cube
+Sphere
Hope you like the app. Screenshots attached. Thanks to tjsgy for providing me with the SS of v1.2, when my phone wasn't working.
CHANGELOG :-
v1.0.1
- Added Decimal support
- Fixed some minor calculation errors and bugs
v1.1
- Added background images for other screens
- Added two more options in menu
+ An Exit button
+ A link to the XDA thread
v1.2
- Added a different background image for some screens
- Added images of the figures for better understanding
- Added a different app icon
v1.2.1
- Minor bug fix of old icon being shown instead of new one.
v1.3
- Added support for "Regular Polygon"
Click to expand...
Click to collapse
Please uninstall the app first and then install the updated one, just to make sure that all changes are visible.
Click here for the app :- http://forum.xda-developers.com/showthread.php?p=30660314#post30660314
You saved a lot of pain. Thanks pressed
Sent from my GT-S5360 using xda premium
tjsgy said:
You saved a lot of pain. Thanks pressed
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
That dosen't matter dude...what matters is whether my app was worthy of the pain or not....so did you like it?
Sent from my GT-S5360 using Tapatalk 2
Good job bro.thanx will be come when im on pc.not bad
GO AVENGERS+GREEEEETZ!!!
anasdcool71 said:
That dosen't matter dude...what matters is whether my app was worthy of the pain or not....so did you like it?
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Awesome app!!!
Is it on play????
Sent from my GT-S5360 using xda premium
Good work done bro it will save me some time but just one suggestion we can't use decimals or any special character like pie please consider this in your next update
Sent from my GT-S5360 using xda app-developers app
Right now, i'm outta town for a couple of days. I'll add the decimal support as soon as I get back on my pc.
Edit: Did it now....check the first post....
Sent from my GT-S5360 using Tapatalk 2
Can you formulas in it?? For trigonometry?
hell_lock said:
Can you formulas in it?? For trigonometry?
Click to expand...
Click to collapse
Calculations for trigonometry...like finding the angle, height, etc.?? I would probably have to make another app...
Sent from my GT-S5360 using Tapatalk 2
Anyone else tried the app?.... I know it's kinda lame, but it is useful!
Sent from my GT-I9100 using xda app-developers app
Awesome app brother
just a advice change the Icon to a funky one
Sent from Galaxy Y
tjsgy said:
Awesome app brother
just a advice change the Icon to a funky one
Sent from Galaxy Y
Click to expand...
Click to collapse
Yeah....i'm gonna do that and do a little more mods as soon as my tests get over....
Sent from my GT-S5360 using Tapatalk 2
anasdcool71 said:
Yeah....i'm gonna do that and do a little more mods as soon as my tests get over....
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
If u could add trigonometric sh*t... ill fall at ur feet!!
Sent by a Payphone
TJ!! said:
If u could add trigonometric sh*t... ill fall at ur feet!!
Sent by a Payphone
Click to expand...
Click to collapse
Simple calculations of trigonometry could be added....but i can't insert all the tables of natural sines, cosines and tangents....that would probably mean another app....
Sent from my GT-S5360 using Tapatalk 2
Updated to v1.1....please check the first post....
U are my hero!!!!!
Sent from my GT-S5360 using xda premium
anasdcool71 said:
Anyone else tried the app?.... I know it's kinda lame, but it is useful!
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
works great ty :good:
Good to know that you guys liked it. Actually, i really wanted to develop an Android app on my own as i knew some java. Then I came across a problem that many other school students like me were facing - remembering the formulas of mensuration and calculating from it. So i thought of this idea.
i really believe you need to put this in the Android App Section
deathnotice01 said:
i really believe you need to put this in the Android App Section
Click to expand...
Click to collapse
The original thread is there only...
Code:
System.out.println("Sent from my SGY");

Q - BB 10 lockscreen mod?

can some please make a flashable zip for this lockscreen? http://forum.xda-developers.com/showthread.php?t=1920612
I would try but I think it best for someone more knowledgeable to do it properly being that I know squat about coding. TIA
That looks awesome.
Sent from my EVO using Tapatalk 2
thicklizard said:
That looks awesome.
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Think you might be able to do it? It's editing jar files but Idk sh*t about it
I would really have to read some more. So far from what I've read I would need to download the cm source run the patch then build the rom. Not sure my pc can handle that. I wonder if some one who already has the source could do this. I also haven't seen what files it changes so you could just make a flashable zip.
Sent from my EVO using Tapatalk 2
Yea that's what I gather as well but that coding might as well be in Chinese lol. Hopefully we can find someone to help out, I'm dying to have this mod
Can't you just remove the sense lockscreen apk and install the aokp version? Just a question. Lol. I dont really know **** about this. Buahha
thermus said:
Can't you just remove the sense lockscreen apk and install the aokp version? Just a question. Lol. I dont really know **** about this. Buahha
Click to expand...
Click to collapse
Its not an apk, the jar files and framework need to be edited rom my understanding
banccalif said:
Its not an apk, the jar files and framework need to be edited rom my understanding
Click to expand...
Click to collapse
yep, you have to patch the /framework/base
Here
AG206 said:
yep, you have to patch the /framework/base
Here
Click to expand...
Click to collapse
Unfortunately I've got no way to do it myself
Hopefully lens_flare will take care of this for us!

[Aroma installer] Generic

In an attempt to make all of our lives easier I have been working on a generic and customizable aroma installer.
There's a lot of really great things you can do with this. Not only can you set it to flash roms, but you can unistall just about anything, run commands and much much more.
It does take some basic knowledge of programming. Lots of if then else endif statements.
So you should have a good working knowledge of basic programming.
Aroma XDA thread here http://forum.xda-developers.com/showthread.php?t=1461712
I would like to thank @amarullz and any others that help him for such an innovative programming tool!
Good luck!
Chevy
Tutorial
This is going to be some helpfull information on what to do with the zip file once you have it
Before you start,
Downloads
Generic Amaze aroma installer http://tinyw.in/BL8m
winrar http://www.win-rar.com/download.html?&L=0 I use this a lot and it's free (until the trial runs out, then you have to click the buy it box closed of just shell out a few bucks and get the license)
Notepad++ http://notepad-plus-plus.org this is a text editor and I use it frequently! and it's FREE!!
That's all you need to download for now...
You should also make a copy of the generic.zip file and modify the copy and save the original.
The major folders all have a readme.txt file in them with directions/info as to what to put there.
I do recommend studying the aroma-config and updater-script files.
These two files interact with each other and files that the aroma-config file creates.
There are a few other files like changelog.txt and agreement.txt that you can edit with a text editor.
Splash Screens / Banners
Find a nice picture (.png file) that you want to use for a Slash screen/banner (I'm not sure what the limitations are for this)
Splash screen/ Banners look really good when they are semi transparent and have no background.
The ones in the venom roms really look cool.
And another
Sent from my HTC_Amaze_4G using xda app-developers app
And one more
Sent from my HTC_Amaze_4G using xda app-developers app
Cool! anyone taught me, I learned alone :crying:
I put an aroma installer onto my rom and see how it plays, but this will help for actualky editing the script and putting in options.
Sent from my HTC_Amaze_4G using Tapatalk 2
Me Too
josegalre said:
Cool! anyone taught me, I learned alone :crying:
Click to expand...
Click to collapse
Sportstar89 Put one together for me, but there were some more advanced Venom ones.
I picked them apart and figured it out.
This should be almost copy and paste with minor editing..
Your Roms
SuperAfnan said:
I put an aroma installer onto my rom and see how it plays, but this will help for actualky editing the script and putting in options.
Sent from my HTC_Amaze_4G using Tapatalk 2
Click to expand...
Click to collapse
I am almost done with the one I made you!
Lol we should compare them!
The one I'm uploading for here has the desensing options, app removal, TMOUS stuff, Lots of goodies! (yours' too)
4 Different themes
sense
miui
and two others
All you have to do is a little editing for personalization and you're done!
This is going to very helpful for the Rom I'm working on thank you thank you.
Sent from my HTC_Amaze_4G using xda app-developers app
thinksecretly said:
This is going to very helpful for the Rom I'm working on thank you thank you.
Sent from my HTC_Amaze_4G using xda app-developers app
Click to expand...
Click to collapse
You're welcome! I'll be posting it soon.
And of course I'll help with tech support best I can!
Sent from my HTC_Amaze_4G using xda app-developers app
chevycowboyusa said:
Sportstar89 Put one together for me, but there were some more advanced Venom ones.
I picked them apart and figured it out.
This should be almost copy and paste with minor editing..
Click to expand...
Click to collapse
excellent contribution! I have two months of not entering xda and see that there is more support for our beloved amaze! I'm glad to see this!
josegalre said:
excellent contribution! I have two months of not entering xda and see that there is more support for our beloved amaze! I'm glad to see this!
Click to expand...
Click to collapse
Me too and I just noticed our thanks meters are both 549 right now
SuperAfnan said:
Me too and I just noticed our thanks meters are both 549 right now
Click to expand...
Click to collapse
Lol. I finally got more thanks than posts!
That was a tough one!
Sent from my HTC_Amaze_4G using xda app-developers app
SuperAfnan said:
Me too and I just noticed our thanks meters are both 549 right now
Click to expand...
Click to collapse
Send me your meta-inf folder in a zip file!
The one with your aroma installer...
Oh and the one I posted has @faux123 v31 built in.
Sent from my HTC_Amaze_4G using xda app-developers app
chevycowboyusa said:
Lol. I finally got more thanks than posts!
That was a tough one!
Sent from my HTC_Amaze_4G using xda app-developers app
Click to expand...
Click to collapse
You always had more thanks than posts.
Sent from my HTC_Amaze_4G using Tapatalk 2
Hey Chevy I just used this aroma installer as a test. I implanted everything I needed and I got a SYNTAX errror on the aroma-config on line 257 col 2. It was a Status 1 error. I'll try this later, but I'm not sure what's going on since I don't really know how to script.
SuperAfnan said:
Hey Chevy I just used this aroma installer as a test. I implanted everything I needed and I got a SYNTAX errror on the aroma-config on line 257 col 2. It was a Status 1 error. I'll try this later, but I'm not sure what's going on since I don't really know how to script.
Click to expand...
Click to collapse
Send me your aroma config and updater script.
Sent from my HTC_Amaze_4G using xda app-developers app

How To depend a value to an external application

Hi
If you take look at Themes fourm you Can see a lot of sttings applications that sets values(colors,sizes and etc) to Some apps(like status bar)...
I want know how To get values from on app and set them to other app.
I tried decompiling apps and look trough them but i couldn't get any thing Cuz Im not good in smali at all
If anyone Can help me with java code i will be Thankful to.:good:
And of course I would give him Credit In my mods. @serajr
Sorry for this but your SystemUI (thats really Awesome ) is just what i mean.
Can you help me?
Sent from my LT18i using Tapatalk 2
poria1999 said:
Hi
If you take look at Themes fourm you Can see a lot of sttings applications that sets values(colors,sizes and etc) to Some apps(like status bar)...
I want know how To get values from on app and set them to other app.
I tried decompiling apps and look trough them but i couldn't get any thing Cuz Im not good in smali at all
If anyone Can help me with java code i will be Thankful to.:good:
And of course I would give him Credit In my mods. @serajr
Sorry for this but your SystemUI (thats really Awesome ) is just what i mean.
Can you help me?
Sent from my LT18i using Tapatalk 2
Click to expand...
Click to collapse
Hi buddy!!
The answer is: BroadcastReceiver
With Xposed Framework life became easier, and to implement it inside apps is a piece of cake!! But if you want to do the same without Xposed, you need to go into "smali bowels"!
You mentioned my SystemUI mods with external settings app. How did I managed to make this scenario work? BroadcastReceiver once again!
1th - I've registered a custom BroadcastReceiver inside PhoneStatusBar.smali in which receives known intents from my external settings app!
2th - After intent received and filtered, the right job is done!
I don´t know if this short explanation will help you as you want, but that´s the concept!! I can provide you java and smali examples (for both, java and eclipse skills are necessary)!!
serajr said:
Hi buddy!!
The answer is: BroadcastReceiver
With Xposed Framework life became easier, and to implement it inside apps is a piece of cake!! But if you want to do the same without Xposed, you need to go into "smali bowels"!
You mentioned my SystemUI mods with external settings app. How did I managed to make this scenario work? BroadcastReceiver once again!
1th - I've registered a custom BroadcastReceiver inside PhoneStatusBar.smali in which receives known intents from my external settings app!
2th - After intent received and filtered, the right job is done!
I don´t know if this short explanation will help you as you want, but that´s the concept!! I can provide you java and smali examples (for both, java and eclipse skills are necessary)!!
Click to expand...
Click to collapse
Thank you
It seems i should try harder
I think i know java as well.
But i usually work with Android Studio.
And If its ok I really want to check and see your examples!
Thank you agian.
Sent from my LT18i using Tapatalk 2
poria1999 said:
Thank you
It seems i should try harder
I think i know java as well.
But i usually work with Android Studio.
And If its ok I really want to check and see your examples!
Thank you agian.
Sent from my LT18i using Tapatalk 2
Click to expand...
Click to collapse
Let's focus on a SystemUI mod as example like change some text color... whatever, and I'm gonna put related code over here!!
I just need to prepare something ok!!
@serajr
Did you prepare it?
Sent from my LT18i using Tapatalk 2
poria1999 said:
@serajr
Did you prepare it?
Sent from my LT18i using Tapatalk 2
Click to expand...
Click to collapse
In progress... it´s not so easy to do it during week due my job, but I hope to start post something today yet!!
poria1999 said:
@serajr
Did you prepare it?
Sent from my LT18i using Tapatalk 2
Click to expand...
Click to collapse
@poria1999
Guide done!! I´m gonna start writing a new thread for that, so today yet I think it will be released!!
But I've used ContentObserver instead of BroadcastReceiver (got better results)!!
When done, I´ll edit here with the new thread link!!
( @sandy7, @niaboc79 take a look at whole discussion and tell me what about!! Thanks!!! )
serajr said:
@poria1999
Guide done!! I´m gonna start writing a new thread for that, so today yet I think it will be released!!
But I've used ContentObserver instead of BroadcastReceiver (got better results)!!
When done, I´ll edit here with the new thread link!!
( @sandy7, @niaboc79 take a look at whole discussion and tell me what about!! Thanks!!! )
Click to expand...
Click to collapse
Thank you bro!
Waiting for!
I think this thread can change the whole story about Theming and moding in xda!
Sent from my LT18i using Tapatalk 2
poria1999 said:
Thank you bro!
Waiting for!
I think this thread can change the whole story about Theming and moding in xda!
Sent from my LT18i using Tapatalk 2
Click to expand...
Click to collapse
I really hope so!!! Credits go to you too!
I think in a hour it will be ready...
serajr said:
I really hope so!!! Credits go to you too!
I think in a hour it will be ready...
Click to expand...
Click to collapse
Thank you!
Sent from my LT18i using Tapatalk 2

Text color

Is there a way to change the text color across fhe whole phone without flashing a theme
Sent from my SCH-I545 using XDA Free mobile app
Try editing stuff around in your SystemUI, or if you have Xposed Framework installed there might be a module for you that does that.
Try this:
http://forum.xda-developers.com/showthread.php?p=51053555
Sent from my SCH-I545 using Xparent Skyblue Tapatalk 2
biglil1 said:
Try this:
http://forum.xda-developers.com/showthread.php?p=51053555
Sent from my SCH-I545 using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
Can you tell me how to do this in a little clearer instruction. I am very interested in trying this but I honestly have no idea where to start at. I also am not able to find the SecLauncher3. Any guidance for a total noob would be greatly appreciated.
xphantasmx said:
Can you tell me how to do this in a little clearer instruction. I am very interested in trying this but I honestly have no idea where to start at. I also am not able to find the SecLauncher3. Any guidance for a total noob would be greatly appreciated.
Click to expand...
Click to collapse
SecLauncher3 is located in priv-app if you need a copy @Jessooca has a thread dl from there.
I use apktool2 @The Sickness has a well written tutorial on apkmanager
http://forum.xda-developers.com/showthread.php?p=50663679
Google search both apktool2 and apkmanager just to see what is best for you ( imo apktool2 is the way to go ).
After that set up your environment then refer back to my first post so you can use the link to help guide you. It is a lot easier to understand it when you have the files in front of you.
Sent from my SCH-I545 using Xparent Skyblue Tapatalk 2
biglil1 said:
SecLauncher3 is located in priv-app if you need a copy @Jessooca has a thread dl from there.
I use apktool2 @The Sickness has a well written tutorial on apkmanager
http://forum.xda-developers.com/showthread.php?p=50663679
Google search both apktool2 and apkmanager just to see what is best for you ( imo apktool2 is the way to go ).
After that set up your environment then refer back to my first post so you can use the link to help guide you. It is a lot easier to understand it when you have the files in front of you.
Sent from my SCH-I545 using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
This person you asked to research has 11 pages of posts. I was not able to find the post I needed. Thanks for the attempt to help.
xphantasmx said:
This person you asked to research has 11 pages of posts. I was not able to find the post I needed. Thanks for the attempt to help.
Click to expand...
Click to collapse
Apkmanager tutorial: http://forum.xda-developers.com/showthread.php?p=50663679
Apktool2 YouTube: http://m.youtube.com/watch?v=R_FG6EnHkIo
Tutorial I used to learn apktool: http://forum.xda-developers.com/showthread.php?t=2251719
Sent from my SCH-I545 using Xparent Skyblue Tapatalk 2

Categories

Resources