Discuss Delete search feature? at the iOS 4.x (iPhone OS 4.x) - Hackint0sh.org; I just discovered my iPhone 4 will let me search deleted text messages. Is there ...
-
Delete search feature?
I just discovered my iPhone 4 will let me search deleted text messages. Is there any way to permanently erase texts?
-
-
Super Moderator
Array
What iOS revision are you on? As I recall, this was fixed in either 4.1 or 4.2.1? (EDIT: I was wrong, this is still an issue with how iOS handles the spotlight cache as of 4.3, and there is no non-JB way to resolve this on a stock phone with stock firmware)
That said, once jailbroken, you can actually just delete the SMS history database -- but that will delete ALL texts. Alternately, you can download the file to your PC and use an SQlite database editor to remove the offending text messages permanently. I think you have to compact the database after removing though, to ensure that the removed data is actually out of the file. Don't quote me on that, I'm not an SQLite database guru.... (EDIT: No compacting is needed, upon further research. Just clear the offending entries and re-save the file.)
Once you have removed the offending SMS messages from the SQLite database, you will need to clear the Spotlight cache on the iPhone, the easiest method for doing this is to SSH into the phone and delete the contents in the following directories.
/private/var/mobile/Library/Spotlight/com.apple.MobileSMS
/private/var/mobile/Library/Spotlight/com.apple.SpotlightTopHits
Until you delete the files in the two directories above, your SMS messages will still appear in the spotlight search results (as they have been cached into the spotlight search database), so if you only do half of the steps, you won't get the outcome you're looking for.
Last edited by n1ckn4m3; 03-25-2011 at 03:47 PM.
Reason: Updated, added instructions on clearing spotlight cache.
The preceding forum post has been brought to you by the letter "N" and the number 42.
iPhone 4, 32GB (iOS 6.1.2 | evasi0n | SHSH: 4.0 - 6.1.2)
iPad 2 3G, 64GB (iOS 6.1.2 | evasi0n | SHSH: 4.3 & 4.3.3 - 6.1)
Restore problems? Read this: http://www.hackint0sh.org/f137/130802.htm Did we solve your problem? Got a dollar or two spare? Please Donate!
-
-
-
Super Moderator
Array
Thread closed, an answer has provided.
Please read the stickies & search forum before posting!
How to report an iTunes restore/update fail in a useful manner
-
iPad 3G 64GB (4.3.3, Redsn0w) oldest SHSH 3.2.2
iPhone 4 32GB (4.2.1, Redsn0w JB-monte) oldest SHSH 4.1
iPhone 3GS 32GB (4.3.3; Pwnagetool) factory unlocked oldest SHSH 3.1
iPhone 8GB (3.1.3; Pwnagetool) AT&T Locked - Unlocked with bootneuter
-
Did we solve your problem? Got a dollar or two spare ?
Donate!
-
Similar Threads
-
By w.32.da.bagle in forum iPhone OS 3.x
Replies: 0
Last Post: 04-16-2010, 09:48 AM
-
By hackint0sh in forum Latest Headlines
Replies: 0
Last Post: 03-03-2010, 11:20 PM
-
By Number_41 in forum Free Toolchain Software
Replies: 9
Last Post: 05-09-2008, 07:43 AM
-
By alela in forum General
Replies: 0
Last Post: 10-27-2007, 12:50 AM
-
By viper in forum General
Replies: 12
Last Post: 10-02-2007, 05:07 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks