Wednesday, January 25, 2012

KakaoTalk Recovery to new iPhone

The process to recover KakoTalk is very similar to Awesome Note.  For more details about Awesome Note recovery, please refer to my previous post here

This is the third article in this series.  Hopefully, the last too.  But I will continue one by one until all my important apps with data stored locally are restored.

So I had a look at the system to see if I could find the KakaoTalk data.  And after a quick search found the files I was looking for. The process is similar to the previous restores, but only the directories and restore files are different. 

Requirements:

  • Jailbroken iPhones
  • OpenSSH on both old and new Jailbroken iPhones
  • KakaoTalk application installed on both iPhones
Backup Location:
  • Appears to be random but within a folder in /User/Applications/ directory.
Steps to recover your  KakaoTalk: 
  1. First, I would suggest to login to KakaoTalk on your old phone and update all the chats you have open.  
  2. Then close KakaoTalk on your old iPhone and new iPhone and make sure it is not running in the background.  If it is, double tap your home button and hold down any backgrounded app for 2 seconds to allow you to close the app.  
  3. Get the IP Address from your iPhones:  Settings => Wi-Fi => Click on Blue arrow on your Wi-Fi access point => DHCP => IP Address
  4. SSH to your old iPhone:
    • ssh root@[old iPhone IP Address]
  5. Locate your Awesome Note directory: 
    • find / -name '*kakao*' -print
    • The output should display /private/var/mobile/Applications/[kakao Directory]/Library/KakaoTalk.app
  6. Create a container (otherwise known as zip) of the application data.  This includes the preferences. 
    • tar cvf /private/var/mobile/Applications/[kakao Directory]/KakaoLibrary.tar /private/var/mobile/Applications/[kakao Directory]/Library
    • tar cvf /private/var/mobile/Applications/[kakao Directory]/KakaoDocuments.tar /private/var/mobile/Applications/[kakao Directory]/Documents
  7. Copy the files from old iPhone:
    • scp root@[old iPhone IP Address]:/private/var/mobile/Applications/[aNote Directory]/KakaoLibrary.tar .
    • scp root@[old iPhone IP Address]:/private/var/mobile/Applications/[aNote Directory]/KakaoDocuments.tar .
  8. SSH to your new iPhone:  
    • ssh root@[new iPhone IP Address]
  9. Locate your Awesome Note directory: 
    • find / -name '*kakao*' -print
    • The output should display /private/var/mobile/Applications/[kakao Directory]/Library/KakaoTalk.app
  10. Copy the files to your new iPhone: 
    • scp KakaoLibrary.tar root@[new iPhone IP Address]:/private/var/mobile/Applications/[kakao Directory]/KakaoLibrary.tar
    • scp KakaoDocuments.tar root@[new iPhone IP Address]:/private/var/mobile/Applications/[kakao Directory]/KakaoDocuments.tar
  11. Backup the original data directory: 
    • mv /private/var/mobile/Applications/[kakao Directory]/Library /private/var/mobile/Applications/[kakao Directory]/Library.old
    • mv /private/var/mobile/Applications/[kakao Directory]/Documents /private/var/mobile/Applications/[kakao Directory]/Documents.old 
  12. Unpack the container file: 
    • tar xvf /private/var/mobile/Applications/[kakao Directory]/KakaoLibrary.tar
    • tar xvf /private/var/mobile/Applications/[kakao Directory]/KakaoDocuments.tar
  13. Launch Kakao on your new iPhone and the application will optimize the data that you just imported and then ask to re-register your phone. 
  14. Done
Once done, you end up with all the settings from your previous iPhone including all the images and chats you had on your old iPhone.  

Let me know if you need clarification.  And as always, please comment if this procedure was useful for you.

0 comments:

Post a Comment