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.

Awesome Note Recovery to new iPhone

Restoring your iPhone manually sure is a pain.  But if you want to avoid any conflicts or issues with restoring backups to a new iPhone, you really have no choice.

I previously wrote a post about iBlacklist and this is the next in the series.  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 Awesome Notes data.  And after a quick search found the files I was looking for. It was not quite as simple but was able to find the info I was looking for without too many difficulties.

Requirements:
  • Jailbroken iPhones
  • OpenSSH on both old and new Jailbroken iPhones
  • Awesome Note application installed on both iPhones
Backup Location:
  • Appears to be random but within a folder in /User/Applications/ directory.
Steps to recover your  Awesome Note: 
  1. Close Awesome Note on your 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.  
  2. Get the IP Address from your iPhones:  Settings => Wi-Fi => Click on Blue arrow on your Wi-Fi access point => DHCP => IP Address
  3. SSH to your old iPhone:
    • ssh root@[old iPhone IP Address]
  4. Locate your Awesome Note directory: 
    • find / -name '*aNote*' -print
    • The output should display /private/var/mobile/Applications/[aNote Directory]/Library/aNoteFolder
  5. Create a container (otherwise known as zip) of the application data.  This includes the preferences. 
    • tar cvf /private/var/mobile/Applications/[aNote Directory]/aNoteLibrary.tar /private/var/mobile/Applications/[aNote Directory]/Library
  6. Copy the files from old iPhone:
    • scp root@[old iPhone IP Address]:/private/var/mobile/Applications/[aNote Directory]/aNoteLibrary.tar .
  7. SSH to your new iPhone:  
    • ssh root@[new iPhone IP Address]
  8. Locate your Awesome Note directory: 
    • find / -name '*aNote*' -print
    • The output should display /private/var/mobile/Applications/[aNote Directory]/Library/aNoteFolder
  9. Copy the files to your new iPhone: 
    • scp aNoteLibrary.tar root@[new iPhone IP Address]:/private/var/mobile/Applications/[aNote Directory]/aNoteLibrary.tar
  10. Backup the original data directory: 
    • mv /private/var/mobile/Applications/[aNote Directory]/Library /private/var/mobile/Applications/[aNote Directory]/Library.old
  11. Unpack the container file: 
    • tar xvf /private/var/mobile/Applications/[aNote Directory]/aNoteLibrary.tar
  12. Launch Awesome Note on your new iPhone and confirm that everything is there. 
  13. Reset your passcodes for any folders that were passcode protected.  I am not sure why these settings were not carried over. 
  14. Done
Once done, you end up with all the settings from your previous phones including all the images and maps 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.

Tuesday, January 24, 2012

iBlacklist Recovery to new iPhone

iBlacklist has a backup/recovery function that stores your backup in a location that can sync with iTunes in case you ever need it later. 

My dilemma, was that i was switched phones and did not want to 1) recover the entire phone and 2) did not want to lose all the data and settings for iBlacklist.  So I had a look at the system to see if I could find the iBlacklist backup and recover to my new iPhone.  And after a quick search found the files I was looking for. 

Below is a guide to extract the data from the old iPhone and import into the new iPhone so you have everything exactly how it was in the old iPhone. 

Requirements: 
  • Jailbroken iPhones
  • OpenSSH on both old and new Jailbroken iPhones
  • iBlacklist Cracked (you need the cracked version to generate a key as previously bought versions cannot be used if you purchased over a year ago)

Backup Location: 
  • /private/var/mobile/Library/Preferences/iBlacklist/Images/ - This is the location of MMS images sent to your phone
  • /private/var/mobile/Library/Preferences/iBlacklist/iBlacklist.sqlitedb - This is the backup DB

Steps to recover your  iBlacklist:  
  1. I would start by pulling the SIM card to ensure you do not lose any Calls/Messages that were received during this procedure. 
  2. Get the IP Address from your iPhones:  Settings => Wi-Fi => Click on Blue arrow on your Wi-Fi access point => DHCP => IP Address
  3. Backup your database on old iPhone:  
    • Launch iBlacklist
    • On main menu select Database Manager
    • Select Backup database file
  4. SSH to your old iPhone:
    • ssh root@[old iPhone IP Address]
    • tar cvf Images.tar /private/var/mobile/Library/Preferences/iBlacklist/Images
  5. Copy the files from old iPhone:
    • scp root@[old iPhone IP Address]:/private/var/mobile/Library/Preferences/iBlacklist/Images.tar .
    • scp iBlacklist.sqlitedb root@[old iPhone IP Address]:/private/var/mobile/Library/Preferences/iBlacklist/iBlacklist.sqlitedb .
  6. Copy the files to your new iPhone: 
    • scp Images.tar root@[new iPhone IP Address]:/private/var/mobile/Library/Preferences/iBlacklist/Images.tar
    • scp iBlacklist.sqlitedb root@[new iPhone IP Address]:/private/var/mobile/Library/Preferences/iBlacklist/iBlacklist.sqlitedb
  7. SSH to your new iPhone:  
    • ssh root@[new iPhone IP Address]
    • tar xvf /private/var/mobile/Library/Preferences/iBlacklist/Images.tar
  8. Install iBlacklist on new iPhone by going to one of the Cydia repositories providing cracked apps.  (Google is your friend)
  9. Recover your database on new iPhone: 
    • Launch iBlacklist
    • On main menu select Database Manager
    • Select Restore database file
  10. Run iBLKeygen
  11. Done
Once done, you end up with all the settings from your previous phones including all the message/call history including MMS images sent to you.  

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