5,605,311 Members 38,587 Now Online
XDA Developers Android and Mobile Development Forum

[Fix] Jelly Bean SMS Warning Dialog

Tip us?
 
erishasnobattery
Old
(Last edited by erishasnobattery; 14th August 2012 at 08:37 PM.)
#1  
Senior Member - OP
Thanks Meter 689
Posts: 682
Join Date: Jun 2010
Location: St. Louis, MO

 
DONATE TO ME
Default [Fix] Jelly Bean SMS Warning Dialog

Some of you may have noticed in Jelly Bean, that if you text a lot, it tells you to knock it off with an annoying little dialog. Although I applaud Google's efforts to alert us to possible unwanted behavior from a malicious app, they may have been a bit overzealous with their thresholds.

JRO03H had a limit set of 100 messages in 30 minutes, which probably kept all but the most avid texters in the clear. However, when we merged to JRO03L last week, it had dropped to 30 in 30 minutes. Personally, I think it was a typo and should have been 300, but either way, it triggered on me so I set out to fix it.

That being said, it is corrected in the next build of Paradigm and committed to our public source for any dev that needs to fix it for their own ROM. However, in the meantime, I made a nifty little app that will fix it. It very simply writes a new maximum value to the settings database upping the maximum to 500 messages. The fix is "permanent" until you clear data. After that, it would need to be applied again.

There are two versions of the app, one signed with BAMF keys for our ROM, and the other signed with AOSP keys which should work fine on almost every other ROM. If not, have your favorite developer resign it with their keys and I'll add a link to the post. This fix should work on ANY Jelly Bean ROM for ANY device, but is completely untested outside of the Galaxy Nexus.

Please note, you are essentially disabling a security feature put in by Google, and we CANNOT be held responsible for any adverse effects this may have on your device.


Download for BAMF ROMs: http://www.teambamf.net/files/file/3...-bamf-keysapk/

Download for AOSP ROMs: http://www.teambamf.net/files/file/4...-aosp-keysapk/

Flashable zip for CM based ROMs that prevent install: http://www.teambamf.net/files/file/4...apkflasherzip/
Droid Eris --> Droid X --> Moto Atrix (I hate you AT&T) -->HTC Thunderbolt --> HTC Rezound --> Galaxy Nexus
The Following 25 Users Say Thank You to erishasnobattery For This Useful Post: [ Click to Expand ]
 
crixley
Old
#2  
Senior Member
Thanks Meter 1007
Posts: 1,969
Join Date: May 2012
this is awesome! thanks a lot, I've been looking for something to fix this. hitting allow over and over again gets annoying
 
akira02rex
Old
#3  
Account currently disabled
Thanks Meter 355
Posts: 1,561
Join Date: Nov 2010
I just applied it to paranoid android. How do we know it actually worked besides SMS bombing someone?

Sent from my Galaxy Nexus using xda app-developers app
 
adrynalyne
Old
#4  
adrynalyne's Avatar
Recognized Developer
Thanks Meter 5661
Posts: 9,618
Join Date: Dec 2008
Quote:
Originally Posted by akira02rex View Post
I just applied it to paranoid android. How do we know it actually worked besides SMS bombing someone?

Sent from my Galaxy Nexus using xda app-developers app


Thats pretty much the only way, unless you want to query the database with sqlite.
If you like what I do, buy me a brew!
 
erishasnobattery
Old
#5  
Senior Member - OP
Thanks Meter 689
Posts: 682
Join Date: Jun 2010
Location: St. Louis, MO

 
DONATE TO ME
Also, the second dialog tells you immediately if it failed for some reason.

But really, if it installs and runs, there is no way for it not to work.

Sent from my Galaxy Nexus using Tapatalk 2
Droid Eris --> Droid X --> Moto Atrix (I hate you AT&T) -->HTC Thunderbolt --> HTC Rezound --> Galaxy Nexus
 
msavic6
Old
#6  
msavic6's Avatar
Senior Member
Thanks Meter 380
Posts: 1,605
Join Date: Jun 2010
Location: Vancouver
Any chance of a screenshot of the dialogue that pops up, or a quick way to send 100 texts without writing them all out.

Sent from my Galaxy Nexus using xda premium
 
RoyJ
Old
#7  
RoyJ's Avatar
Senior Member
Thanks Meter 878
Posts: 1,949
Join Date: Apr 2012
Location: 203
Awesome, thanks. Looking forward to the next release

Sent from my BAMF Nexus
*Click for device info
 

ROM: All of them at least once
KERNEL: Bricked Stable
RECOVERY: TWRP 2.3.6.4
Other Devices: Galaxy Nexus
 
malibu_23
Old
#8  
malibu_23's Avatar
Senior Member
Thanks Meter 118
Posts: 932
Join Date: May 2007
Location: Chicago
Quote:
Originally Posted by msavic6 View Post
Any chance of a screenshot of the dialogue that pops up, or a quick way to send 100 texts without writing them all out.

Sent from my Galaxy Nexus using xda premium


Sent from my Galaxy Nexus using xda premium

---------- Post added at 08:43 PM ---------- Previous post was at 08:42 PM ----------

Sup with all the permissions? Does this need root?

Sent from my Galaxy Nexus using xda premium


Nexus 10/Galaxy Nexus
Both rooted and customized to my approved level of awesomeness...
 
erishasnobattery
Old
#9  
Senior Member - OP
Thanks Meter 689
Posts: 682
Join Date: Jun 2010
Location: St. Louis, MO

 
DONATE TO ME
Quote:
Originally Posted by malibu_23 View Post


Sent from my Galaxy Nexus using xda premium

---------- Post added at 08:43 PM ---------- Previous post was at 08:42 PM ----------

Sup with all the permissions? Does this need root?

Sent from my Galaxy Nexus using xda premium
Permissions are inherited because it's a system app. And no, it doesn't need root, because it's a system app.

Sent from my Galaxy Nexus using Tapatalk 2
Droid Eris --> Droid X --> Moto Atrix (I hate you AT&T) -->HTC Thunderbolt --> HTC Rezound --> Galaxy Nexus
 
msavic6
Old
#10  
msavic6's Avatar
Senior Member
Thanks Meter 380
Posts: 1,605
Join Date: Jun 2010
Location: Vancouver
So it doesn't block all msgs from sending? Just makes you allow them to send.

Sent from my Galaxy Nexus using xda premium

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes