Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,397 Members 48,990 Now Online
XDA Developers Android and Mobile Development Forum

[SOLVED] How to restore SMS in Android 4.4 / Hangouts

Tip us?
 
qwer23
Old
(Last edited by qwer23; 2nd November 2013 at 06:25 PM.)
#1  
qwer23's Avatar
Senior Member - OP
Thanks Meter 270
Posts: 1,280
Join Date: Jan 2010
Location: Realm of Württemberg
Default [SOLVED] How to restore SMS in Android 4.4 / Hangouts

Edit: SMS Backup and Restore was updated to support 4.4, an even restoring from backups that were created before updating works fine.



Quote:
Originally Posted by Original post
Does anyone know a method or an app that is able to restore SMS in Android 4.4 KitKat? I'm running this N5 port, which works great, but I cannot find a single app that is updated to support restore on Android 4.4. With SMS Backup & Restore I am able to restore into the 4.3 stock messaging app that I pushed via adb, but all messages are empty afterwards. And they are not shown at all in Hangouts.

I know that Google said SMS backup apps need to be updated in order to support KitKat (read 3rd section on this blogpost), but I can't believe there is no single updated app or other method yet.

Any advices, guys?


Edit: Here's the relevant section of the Android Developer Blog post:
 
Advice for SMS backup & restore apps
Because the ability to write to the SMS Provider is restricted to the app the user selects as the default SMS app, any existing app designed purely to backup and restore SMS messages will currently be unable to restore SMS messages on Android 4.4. An app that backs up and restores SMS messages must also be set as the default SMS app so that it can write messages in the SMS Provider. However, if the app does not also send and receive SMS messages, then it should not remain set as the default SMS app. So, you can provide a functional user experience with the following design when the user opens your app to initiate a one-time restore operation:

1. Query the current default SMS app's package name and save it.
Code:
String defaultSmsApp = Telephony.Sms.getDefaultSmsPackage(context);
2. Request the user change the default SMS app to your app in order to restore SMS messages (you must be the default SMS app in order to write to the SMS Provider).
Code:
Intent intent = new Intent(context, Sms.Intents.ACTION_CHANGE_DEFAULT);
intent.putExtra(Sms.Intents.EXTRA_PACKAGE_NAME, context.getPackageName());
startActivity(intent);
3. When you finish restoring all SMS messages, request the user to change the default SMS app back to the previously selected app (saved during step 1).
Code:
Intent intent = new Intent(context, Sms.Intents.ACTION_CHANGE_DEFAULT);
intent.putExtra(Sms.Intents.EXTRA_PACKAGE_NAME, defaultSmsApp);
startActivity(intent);

Nexus 7 (2013) - Rooted stock
Nexus 4 - Android 4.4 stock (Nexus 5 port from boykioy
Samsung Galaxy Nexus (GSM) -- AOKP
ASUS Eee Pad Transformer -- Revolver 4 by Gnufabio (daily driver)
SE Xperia X10i -- T.E.A.M ROM by Pvyparts & iridaki
SE Xperia X1i -- X2 port by jerpelea/FXP & XDAndroid


If someone has helped you, hit the thanks button!
The Following 4 Users Say Thank You to qwer23 For This Useful Post: [ Click to Expand ]
 
Alex93917
Old
#2  
Alex93917's Avatar
Senior Member
Thanks Meter 2174
Posts: 1,345
Join Date: Sep 2011

 
DONATE TO ME
After a reboot, my SMS were disapeared.
Actual device : Nexus 4 16Gb ==> Android 4.4.2 Stock Rooted + Franco Kernel 208
 
qwer23
Old
#3  
qwer23's Avatar
Senior Member - OP
Thanks Meter 270
Posts: 1,280
Join Date: Jan 2010
Location: Realm of Württemberg
Mine too. So back to square one :/

Sent from my Nexus 4 using Tapatalk 4

Nexus 7 (2013) - Rooted stock
Nexus 4 - Android 4.4 stock (Nexus 5 port from boykioy
Samsung Galaxy Nexus (GSM) -- AOKP
ASUS Eee Pad Transformer -- Revolver 4 by Gnufabio (daily driver)
SE Xperia X10i -- T.E.A.M ROM by Pvyparts & iridaki
SE Xperia X1i -- X2 port by jerpelea/FXP & XDAndroid


If someone has helped you, hit the thanks button!
 
wreckone
Old
#4  
Member
Thanks Meter 6
Posts: 75
Join Date: Oct 2011
sms backup just got an update today .. it works
N5 (White 32gb) Paranoid ROM
N4 Paranoid JB ROM
The Following User Says Thank You to wreckone For This Useful Post: [ Click to Expand ]
 
qwer23
Old
#5  
qwer23's Avatar
Senior Member - OP
Thanks Meter 270
Posts: 1,280
Join Date: Jan 2010
Location: Realm of Württemberg
Yep, works perfectly now, even with backups that were done before updating the app. So... Solved again.

Sent from my Nexus 7 using Tapatalk 4

Nexus 7 (2013) - Rooted stock
Nexus 4 - Android 4.4 stock (Nexus 5 port from boykioy
Samsung Galaxy Nexus (GSM) -- AOKP
ASUS Eee Pad Transformer -- Revolver 4 by Gnufabio (daily driver)
SE Xperia X10i -- T.E.A.M ROM by Pvyparts & iridaki
SE Xperia X1i -- X2 port by jerpelea/FXP & XDAndroid


If someone has helped you, hit the thanks button!
 
electric0ant
Old
#6  
Senior Member
Thanks Meter 66
Posts: 320
Join Date: Feb 2011
I'm trying to restore on my N5 but no new messages show up in my hangouts even with the newest SMS backup and restore version.
It has set my hangouts back as default SMS app but still nothing there.
The Following User Says Thank You to electric0ant For This Useful Post: [ Click to Expand ]
 
janoliver
Old
#7  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Aug 2010
Quote:
Originally Posted by electric0ant View Post
I'm trying to restore on my N5 but no new messages show up in my hangouts even with the newest SMS backup and restore version.
It has set my hangouts back as default SMS app but still nothing there.
Same here...
 
VelocityGrill
Old
#8  
Member
Thanks Meter 51
Posts: 73
Join Date: Dec 2011
Quote:
Originally Posted by janoliver View Post
Same here...
Yup, same here
 
uberNoobZA
Old
(Last edited by uberNoobZA; 5th November 2013 at 09:17 AM.)
#9  
uberNoobZA's Avatar
Senior Member
Thanks Meter 306
Posts: 488
Join Date: Oct 2008
Location: Oxford
I had the same issue on my Nexus 5 with stock Kitkat 4.4 , so this may help.
- SMS Back and Restore made copy of texts on my Nexus 4
- copied backup to my Nexus 5
- restored messages, setting SMS Backa and Restore and def. SMS app when prompted, and then set Hangouts as def. app after

No text messages in Hangouts. Rebooted phone, still not text messages in Hangouts. I performed a test backup with SMS Backup and Restore, and it showed a bunch of messages being backed up, so it seems the messages WERE restored but just not showing.

I then went in Settings > Apps > All
Selected Hangouts, and cleared Cache and then Cleared all Data

I loaded Hangouts and all of a sudden, all my text messages were there.

Hope this helps, if so, don't be shy to hit that Thanks button below
Don't be shy to hit that 'Thanks' button
Current -
Samsung Galaxy S5 G900F - Stock 4.4.2
Samsung Galaxy Camera GC110 - Stock 4.1
ASUS Transformer Book T100 - Win8.1 Pro

Retired / Sold -
Galaxy Note 3 | Nexus 5 | Nexus 4 | Lumia 925 | Galaxy S3 | HTC Desire | HTC Desire HD | Galaxy S2 | Galaxy Nexus
Galaxy Note 10.1 (2014 Edition) | Nexus 7 (2013) | Nexus 7 (2012) | Galaxy Note | Galaxy Tab | Archos 80 G9 | Asus Transformer | Galaxy Note 10.1 GT-N8000
The Following 21 Users Say Thank You to uberNoobZA For This Useful Post: [ Click to Expand ]
 
ganny
Old
#10  
Senior Member
Thanks Meter 16
Posts: 112
Join Date: Feb 2009
Quote:
Originally Posted by uberNoobZA View Post
I then went in Settings > Apps > All
Selected Hangouts, and cleared Cache and then Cleared all Data

I loaded Hangouts and all of a sudden, all my text messages were there.
Thank you! This did the trick

Tags
4.4 restore sms, kitkat restore, kitkat sms restore, sms restore
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes