The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 07-23-2008, 10:12 AM
What's Jailbreak?
 
Join Date: Mar 2008
Device + Firmware: iphone 1.1.3 jailbroken
Operating System: xpsp2
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Iphone itunes Library Persistent ID match

hello all. Not sure where exactly to post this question, but Dev seems like a good start:
Where is the Library Persistent ID stored in the iPhone? I can reset it on the itunes side, but i need the id stored on the iphone. Plz help.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 10-19-2008, 01:21 AM
What's Jailbreak?
 
Join Date: Dec 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

I need to know this as well....
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 03-22-2009, 07:29 AM
What's Jailbreak?
 
Join Date: Sep 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

I know that this thread is a bit old, but was an answer to this ever found? I was searching Google and came across this thread, and I was wondering the same question. I lost the ID to my original library due to a format, and all I have is the database on my phone.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 05-29-2009, 02:10 PM
What's Jailbreak?
 
Join Date: May 2008
Device + Firmware: iPhone 1.13
Operating System: XP
Posts: 3
Thanks: 25
Thanked 0 Times in 0 Posts

Wow, this thread is almost a year old without being answered. I too have this problem after my main pc died. Anyone know if I can SSH into my iphone and locate the original iTunes "Library Persistent ID" it shared with my now-dead pc?

Thanks in advance!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 07-15-2009, 03:29 PM
What's Jailbreak?
 
Join Date: Mar 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
does anyone have a working itunesdb and iTunes Music Library.xml

if anyone has an iphone that they can sink to their itunes, if they could post their

1. iTunes Music Library.xml file
2. the itunesdb file from their iphone, i could figure out how to fix this if you have lost your existing iTunes Music Library.xml file due to computer crash or whatever reason.

this is what situation i'm in right now, my computer crashed so when i reinstalled windows, i lost my "iTunes Music Library.xml" file, but i am fairly familiar w/ the itunesdb where most of the library settings are stored on the iphone so if i have some working examples i can easily figure this out.

please help someone

you can use this program to get your itunesdb file from your iphone Downloads - iphonebrowser - Google Code
here's the actual installer http://iphonebrowser.googlecode.com/...owser.1.91.exe
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6  
Old 08-19-2009, 03:16 PM
What's Jailbreak?
 
Join Date: Feb 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

log to private/var/mobile/media/itunes_control/itunes
and find the itunesDB or itunesCDB file, open it with a hex editor and look the the middle 4 segments of the 3rd line.
This is the byte reverse order of your persistent ID so that means,
if it says like 12 34 56 78 90 12 34 56, then your id is actually 5634129078563412, replace the id in your library.xml and library.itl with this one and you're done.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7  
Old 08-29-2009, 06:17 AM
What's Jailbreak?
 
Join Date: Aug 2009
Device + Firmware: Iphone 3GS
Operating System: Windows Xp
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
How to find persistent ID on your iphone 3GS with ssh

How to find persistent ID on your iphone 3GS with ssh(NO need library.xml and library.itl)

1.open ssh
2.log to private/var/mobile/media/itunes_control/itunes
3.find the iTunesPrefs file
4.open it with a hex editor
5.look at the first row '00000000' column 'C'

This is the byte reverse order of your persistent ID so that mean
if it says like 12 34 56 78 90 12 34 56, then your id is actually 5634129078563412, replace the id in your library.xml and library.itl with this one and you're done.

i have found it on a 3GS soo i dont know if its the same on all iphone.

thanks to jmeteor0525 for the idea
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8  
Old 09-09-2009, 03:51 PM
What's Jailbreak?
 
Join Date: Sep 2009
Device + Firmware: iPhone 16GB, Firmware 3.0.1
Operating System: Mac / PC
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Obtain Library Persistent ID from iPhone

There are two ways to locate your iTunes Library Persistent ID on your iPhone, this is usefull when you want to sync your iPhone to multiple iTunes libraries , not just your home one. Especially when you don't have access to your home computer at the moment, or it has crashed or cannot be recovered and you need to find your Library Persistant ID, this allows you to avoid restoring your iPhone, and avoid losing all your music,contacts,photos,apps,notes,calandars,bookmar ks,ect,ect. from there you can back up and sync your iPhone to any new computer and pick up where you left off

I will explain both methods here.
you will need to install a Hex Editor on your computer (ex. HexEdit, UltraEdit)
Obviously You will need a jailbroken iPhone to do this, Also you will need to install Open SSH from Cydia. If you do not know how to SSH into your iPhone I will not explain how to do this, they are many other tutorials for this.

Method 1:
SSH into the file; private/var/mobile/Media/iTunes_Control/iTunes and open the file called "iTunesCDB" with your Hex Editor. The Library Persistent ID is written in reverse on the third line down (20) in the middle eight sets of characters (Row 20 - Column 4,5,6,7,8,9,a,b). Sets of double characters stay the same, just reverse the overall order of the sets from first to last (say for example if your Hex Editor displayed "b4 10 63 cc c5 57 ec 7f" then your Library Persistent ID would actually be "7FEC57C5CC6310B4")

Method 2:
SSH into the file; private/var/mobile/Media/iTunes_Control/iTunes and open the file called "iTunesPrefs" with your Hex Editor. The Library Persistent ID is written in reverse on the seventh or eleventh line down (60 or a0) in the first eight sets of characters (Row 60 or a0 - Column 0,1,2,3,4,5,6,7). Sets of double characters stay the same, just reverse the overall order of the sets from first to last (say for example if your Hex Editor displayed "b4 10 63 cc c5 57 ec 7f" then your Library Persistent ID would actually be "7FEC57C5CC6310B4")

This actually works great if you follow the steps correctly
Good Luck!

Last edited by JackTheRipper420; 09-09-2009 at 05:39 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9  
Old 09-10-2009, 04:39 AM
What's Jailbreak?
 
Join Date: Sep 2009
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post

Actually there's a 3rd way to obtain the Persistent ID from the iPhone. This method doesn't require a jailbreaked phone:

- Backup the iPhone using iTunes by right clicking on the device in the Devices list and selecting 'Backup'. This will backup certain files from your iPhone to somewhere on your system; depending on which OS you're using. %appdata%\apple computer\mobilesync\backup\<unique identifier> on Windows. Library/Application Support/MobileSync/Backup on OS X IIRC.

- Inside the most recent backup-directory, find the file called info.plist and open that using your favorite text editor.

- Look for the iTunesPrefs key in there, and grab the content of its data element. This data is base 64 encoded. Decode the data using a base 64 decoder. I googled, found and used Base 64 Decoder

- Save the binary file from the decoder somewhere and open that in a hex editor like in the other solutions.

- If the first 4 bytes are now 'frpd' you're on the right track. The Persistent ID is now located at offset 12 (0x0c). 8 bytes in reverse order.

If someone wants to make a proper guide from this. Go ahead.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10  
Old 10-17-2009, 07:19 AM
What's Jailbreak?
 
Join Date: Oct 2009
Device + Firmware: 3.0.2
Operating System: Windows XP
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Persistent Library ID

Hi, i have managed to get to 'frpd' the only problem now is that i cannot identify the offset 12 (0x0c). To be honest i don't really know how to find it. Could you please help me out? This is my bin file, could you please decode it and let me know my library persisten ID?

frpd�
���]�X�eԱ�<��8������������������������s�t�v�� ��������������yE��0�������B���@�i���������d� ���������������������������������������B���@�i ���������������������������������Tz�-%&O�#��x/�ݪ�������������������������������������������� ����������������������������������������������� �������������������������������������������������� �����������Familia Silva��������������������������������������������� ������YOUR-9C1825B5CD���������������������������������������� �������������������������������������������������� �����������������������Silva Family�������������������������������������������� ��������YOUR-9C1825B5CD���������������������������������������� ���������Silva Family�������������������������������������������� ��������DASILVA����������������������������������� ����������������������Silva Family�������������������������������������������� ��������DASILVA����������������������������������� �������������������������������������������������� �������������������������������������������������� �������������������������������������������������� Silva Family�������������������������������������������� ��������YOUR-9C1825B5CD���������������������������������������� �������������������������

Thanks in advance,

Orfeugars
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11  
Old 10-17-2009, 07:42 AM
What's Jailbreak?
 
Join Date: Sep 2009
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post

You need to open the resulting 'frpd' file in an HEX editor. Then copy the bytes at offset 12, and note that these are in reverse order. So if you see 0102030405060708 the persistent id is 0807060504030201
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12  
Old 10-17-2009, 10:24 AM
What's Jailbreak?
 
Join Date: Oct 2009
Device + Firmware: 3.0.2
Operating System: Windows XP
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Persistent Library ID

Lassem,

Thanks for your reply... The problem is, as i said, i don't know how to identify the offset 12! Could you please have a look at the code on the previous post and see if you can identify my persistent ID? Or perhaps help me to identify the offset 12???

Thanks for your help,

orfeugars

lassem,

This is what came out when i decoded the iTunesPrefs key:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ApplicationIDs</key>
<array>
<string>com.sbgame.Ankagua</string>
<string>com.linloole.aRSLiteDistr090128</string>
<string>5N9Z6T4VH7.com.astraware.boardgames</string>
<string>tv.bestbefore.AudioBoo</string>
<string>com.stylem.Backgrounds</string>
<string>net.intua.BeatMaker</string>
<string>com.yourcompany.Blocked</string>
<string>com.gameloft.ChessAndBackgammonClassics</string>
<string>com.ea.cluebv</string>
<string>com.yourcompany.DrumKit</string>
<string>com.crudegames.enigma</string>
<string>com.gameloft.Ferrari</string>
<string>fizzsoftware.com.fizzbrain</string>
<string>com.freeverse.marillion</string>
<string>com.firemint.flightcontrol</string>
<string>com.gameloft.GuitarRockTour2</string>
<string>com.dmbc.bible</string>
<string>com.howang.hwBrowser</string>
<string>com.indianic.brainggames</string>
<string>pl.spruce.iFoosball</string>
<string>com.eingrad.RadioBox</string>
<string>com.chillingo.iPingpong</string>
<string>com.blackfrogindustries.iswapfaces</string>
<string>se.codify.labyrinth</string>
<string>com.coolmoon.LCube</string>
<string>com.yourcompany.Frog</string>
<string>XVUGHA4552.mm.com.anusen.mathseries</string>
<string>com.mboxmail.mboxmail</string>
<string>com.yourcompany.MiniPiano</string>
<string>com.backflipstudios.PaperToss</string>
<string>net.podmap.PocketGuitar</string>
<string>com.kissthemachine.Reversi</string>
<string>com.readdle.Shakespeare</string>
<string>com.skizzix.ShredderChess</string>
<string>V2VBAEJZ7S.WorkoutWarrior</string>
<string>com.skype.skype</string>
<string>com.apple.Holdem</string>
<string>com.skyworks.PingPong</string>
<string>com.jlcmobile.iMakeSoundsLite</string>
<string>com.redkeysoftware.sudoku</string>
<string>NTYFK6GEE8.tChessLite</string>
<string>com.handheldgames.TouchSportsTennis</string>
<string>com.chillingo.vegaspoolsharks</string>
<string>com.yourcompany.VirtualPool</string>
<string>de.buzzworks.WorldView</string>
</array>
<key>MoviePlaylistIDs</key>
<array/>
<key>MovieTrackIDs</key>
<array/>
<key>MusicAlbumIDs</key>
<array/>
<key>MusicArtistIDs</key>
<array/>
<key>MusicGenreNames</key>
<array/>
<key>MusicPlaylistIDs</key>
<array>
<integer>7246840382870647222</integer>
</array>
<key>PodcastChannelIDs</key>
<array/>
<key>PodcastPlaylistIDs</key>
<array/>
<key>PodcastTrackIDs</key>
<array/>
<key>RingtoneTrackIDs</key>
<array/>
<key>TVShowAlbumIDs</key>
<array/>
<key>TVShowNames</key>
<array/>
<key>TVShowPlaylistIDs</key>
<array/>
<key>TVShowTrackIDs</key>
<array/>
<key>iPodPrefs</key>
<data>
ZnJwZAEADQABAAACXeaZAli4ZQXUsao8igjYOAAAAAAAAAABAA AAAAAAAAAAAAAAAQAA
AAECAABzqRF0GOiIdgAAAAAAAAAA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WlseQAAAAAAAAAAAA AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEQVNJTFZBAA AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAABTaWx2YSBGYW1pbHkAAAAAAAAAAA AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWU9VUi05Qz E4MjVCNUNEAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAA
AAAAAAAAAAA=
</data>
<key>iTunesUChannelIDs</key>
<array/>
<key>iTunesUPlaylistIDs</key>
<array/>
<key>iTunesUTrackIDs</key>
<array/>
</dict>
</plist>


Does this mean anyhing?

thanks,

Last edited by orfeugars; 10-17-2009 at 10:24 AM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13  
Old 10-17-2009, 10:34 AM
What's Jailbreak?
 
Join Date: Oct 2009
Device + Firmware: 3.0.2
Operating System: Windows XP
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Library ID

Sorry lassem,

Now i sent the bin file as an attachment. This should help. It would be great if you could help.
thanks,

orfeugars
Attached Files
File Type: zip DecodedBase64.zip (343 Bytes, 43 views)
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14  
Old 10-17-2009, 11:42 AM
What's Jailbreak?
 
Join Date: Sep 2009
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post

From the file I read 5de6990258b86505, and that would produce the persistent id: 0565b8580299e65d
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to lassem For This Useful Post:
orfeugars (10-17-2009)
  #15  
Old 10-17-2009, 03:24 PM
What's Jailbreak?
 
Join Date: Oct 2009
Device + Firmware: 3.0.2
Operating System: Windows XP
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Persistent ID

Hey lassem,

Thank you very much man! It's incredible! I can't even beleive, but my iphone is now working the way it should. You are the man!

Cheers,

orfeugars.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 08:44 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Top