LINE is a messaging/call application.
I bought a new Android phone, and want to transfer LINE friends, chat history, call logs, groups, groups chat history, from my former Android phone.
How to do?
LINE is a messaging/call application.
I bought a new Android phone, and want to transfer LINE friends, chat history, call logs, groups, groups chat history, from my former Android phone.
How to do?
Restored: Chats, Contacts, Media not older than a few weeks
Not restored: Sealed letter messages, Group chats, Media older than a few weeks
Warning: LINE only allows one active phone, and will destroy data on the old phone as soon as you log in on the new phone, so be sure to correctly perform this procedure BEFORE logging in on the new phone.
/sdcard/TitaniumBackup/
) from your old phone to your new phone. It should contain 3 files or so./data/data/jp.naver.line.android/databases/naver_line
to your /sdcard/
, then transfer it to a desktop computer (via ADB or email)Execute SQL
tab.delete from setting;
then press the Execute button. Click "Write changes" then exit, and copy the modified file back to /data/data/jp.naver.line.android/databases/naver_line
This restores your friends, chat history, call logs, groups, groups chat history.
Note about Letter Sealing: if you forgot to disable it in step 1, new incoming messages will show up as an error and you won't be able to send messages. To fix this problem, just:
/data/data/jp.naver.line.android/databases
.Thanks to TechGravy for the procedure. Thanks to YandereSan for the Letter Sealing fix.
If you are unlucky enough to have a phone that can't be rooted (the old one or the new one or both), then your only option is this:
Backup all
) to the SD card (or email if you prefer)./sdcard/LINE_Backup
.Import chat history
, confirm.In total this will take about 1 minute per friend if you are fast, for instance about 3 hours if you have 200 friends.
Warning: Groups chat history can not be restored by this procedure. This only restores friends, chat history, call logs, groups. Also, it loses any media older than a couple of weeks.
An updated version of @nicolas-raoul 's answer, for when your phone is ROOTed. The following procedure does NOT require uploading your private chats to Google (everything is done locally). Works with Letter Sealing.
Disclaimer: These steps worked for me, and I tried to be as detailed as possible. I'm not responsible for any loss of data, or other damages. Try at your own risk.
Locate settings_ssaid.xml
on your old and new phone. Likely can be found in 1 of these locations (what I did and what the below instructions assume):
/data/system/users/0/settings_ssaid.xml
sbin/.magisk/mirror/data/system/users/0/settings_ssaid.xml
Or you can use an app like Android ID Editor to find/edit an app's Android ID (untested)settings_ssaid.xml
(see Preparation step)<setting id="xxx" name="yyyyy" value="aaaaaaaaaaaaaaaa" package="jp.naver.line.android" defaultValue="bbbbbbbbbbbbbbbb" defaultSysSet="false" tag="null" />
. Copy+paste this line (or whole file) somewhere outside your phone.settings_ssaid.xml
on your new phone)settings_ssaid.xml
(Android 10):settings_ssaid.xml
jp.naver.line.android
: change the values to of value
and defaultValue
to values found on your old phone (aaaaaaaaaaaaaaaa
and bbbbbbbbbbbbbbbb
, respectively)
- (untested) If not found: Copy the whole <setting id ... tag="null" />
and change id to 1 higher than the other apps (e.g. setting id="27"
)/data/data/jp.naver.line.android/databases/naver_line
. If using SQL Editor:naver_line
, press the 3 dots right-top and uncheck "Show only database files" (it's a database file, but without extension)naver_line
-> setting -> delete everything with specific phone info (I deleted entries here on a a previous transfer, so I forgot what I deleted, sorry)I figured this stuff out with the help of the following resources:
You lost your old phone, the other root solutions do not work here, but luckily you have a backup of naver_line
database found in jp.naver.line.android/databases/naver_line
(maybe you have set up Syncthing to always have the latest version)
You have installed NAVER LINE on your new phone, but were not able to set your chat history back at first startup.
naver_line
db and copy your new merged db into e.g. /data_mirror/data_ce/null/0/jp.naver.line.android/databases
Another "Fast procedure" for un-rooted phones is by using a 3rd party tool called Backuptrans Android Line Transfer. You need to follow these steps:
That is it.