Advanced Backup/Restore tactics... - Bada Software and Hacking General

Okidoki.
With help of WinComm and little bit luck I found this...
See Screenshot.
This Backup Restore thingie is maybe same mechanism like Kies use...
These folders are removed after finish... I have NO idea what happens with these files... or where stored...
WinComm only show me this:
Code:
+[055]=> [641.314]Packaging Start[/Media/_SamsungBnR_/DRM.bk]
+[056]=> [641.560]Packaging Finish[/Media/_SamsungBnR_/DRM.bk]:[Success]
+[057]=> [641.618]Packaging Start[/Media/_SamsungBnR_/Configuration.bk]
+[058]=> [642.016]Packaging Finish[/Media/_SamsungBnR_/Configuration.bk]:[Success]
+[059]=> [642.072]Packaging Start[/Media/_SamsungBnR_/Message.bk]
+[060]=> [642.095]Packaging Finish[/Media/_SamsungBnR_/Message.bk]:[Success]
+[061]=> [642.152]Packaging Start[/Media/_SamsungBnR_/MusicSetting.bk]
+[062]=> [642.176]Packaging Finish[/Media/_SamsungBnR_/MusicSetting.bk]:[Success]
+[063]=> [642.231]Packaging Start[/Media/_SamsungBnR_/PhotoSetting.bk]
+[064]=> [642.251]Packaging Finish[/Media/_SamsungBnR_/PhotoSetting.bk]:[Success]
.
.
.
But I can't find *.bk files...
http://forum.xda-developers.com/showpost.php?p=19756666&postcount=10
You need Internal Menu...
Maybe someone could help to understand how it work...
Thanx.
Best Regards

hmmmmmm
This backup function done from the internal menu makes the files only while real backup is done by Kies
What i mean is if you clicked backup in Kies it sends a command to backup these files just like from internal menu then copy them to the *.sbu file
You can see that Kies is making a temp folder during backup that has all the files then deletes it after completing...I catched one of those temp folders before just before its delete but it don't has *.bk files at all ....It contains real data
Best Regards

If I'm fast enough, then I can catch few files...
Attached is filelist...
Hmmm.
But I don't understand where result is stored...
My testdevice is nearly empty... Maybe on full device better to see something.
Best Regards

Searching for String _SamsungBnR_ leads to this:
WsSyncml.so
in ShpApp.app
And in FFS I see this:
Contents.xml
...
Best Regards
Edit 1.
With help of this:
http://forum.xda-developers.com/showpost.php?p=21142664&postcount=186
Thanx again.
I have made ELF file... it is attached.
But my brain is too small.
Maybe someone can see, what where how is stored.
Thanx.
Best Regards

I am wondering why we never used alternate ways for faster Restore in "new" Firmware...
1. Multiloader "advanced" stuff
All user used Kies update in bada 1.x know.
That it is possible to update WITHOUT dataloss.
1.1
Users can read... in Multiloader
Differences only.
Why I never seen Tutorial to make own PFS + ShpApp_HD.app.
1.2
It seems most now only MINOR changes in apps_compressed... ever same size...
I have also few tests, where I have only flashed apps_compressed.bin...
Why we ever flash FULL and erase all our stuff...
I ever thought. Lemmings is an only nice Game....
2.
FOTA update is without dataloss...
Okidoki. But other problems as only few users are able to enter...
3.
Now 1 of the advanced thingie...
Why not investigate some time and energy to BACKUP database... in main it is:
DB2 and Registry folder...
Its long time ago...
I was able to make clones...
1:1 copy on 2 handsets...
Last tested Version was XXJL2.
Warning! During security it is not risk free to play with database.
Bootcycle etc...
But hey...
We not know how long Samsung need to rollout bada 2.0 ...
and make PFS + ShpApp_HD.app for S8500/S8530
I think it is NOT magic or impossible... Only little bit time and brain needed.
Best Regards

small pfs i used to work with

b.kubica
Thanx again.
It takes long time before I have realized how usefull SHP_CSC_FEATURES.zip is.
http://forum.xda-developers.com/showpost.php?p=21697568&postcount=13
After short look into your attached PFS I must smile little bit...
SHP_CSC_FEATURE_RECORD_VOICE=1
Thank you very much for all your findings.
Best Regards

sorry i haven't seen your thread when i opend my new thread
but these are all i've found from sbu files
that might help you
http://forum.xda-developers.com/showthread.php?t=1469175
---------- Post added at 03:35 PM ---------- Previous post was at 03:30 PM ----------
another thing that i understood right now!!
when you extract a .sbu file via 7zip you see a file "_mainfest.xml" which includes a "device id" that is static for all backups of a device
so maybe replacing this device id with our device id (which can be found with making a small backup) might help installing a device's backup on another

@Adfree
About PFS updating
I made an update for my own custom with my own hands ....No need for Kies anymore
http://www.sammobile.com/forum/showthread.php?t=3417
How i did it
I used WinMerge to compare every file from XXKL6 & XXLA1
Made PFS file from differences
Added some tweaks to make CSC & Registry updates
PFS is really a nice idea to update registry if what you are updating doesn't need master reset
Best Regards

Little progress...
*.bk files are simple ZIP.
I have catch them during Kies Backup...
My handset was new flashed... nothing installed...
Now several ideas...
Best Regards

a dummy question!!!
what do you want to do by knowing the mechanism of backups?
i myself like to restore a backup of a handset on another !

Totally forgotten...
But it seems now with DisableBadaIntegrity you can backup and restore DB2 folder... :good:
Via Multiloader...
This means f. Database...
Not tested yet by me... maybe "sooon"...
On bada 1.x it was possible to make 1:1 Backups...
Thank you b.kubica
Best Regards

BackupInfo.dcf
These files are created in every Info folder... if Internal Menu Backup is used...
http://forum.xda-developers.com/showpost.php?p=19756666&postcount=10
If you open these files... you can see:
Content-Vendor:htpp://samsungindia.com
http://forum.xda-developers.com/showpost.php?p=33260382&postcount=47
...
Best Regards

Related

Moving SMS to new device

I am upgrading from a PPC2003 device to a WM5 device.
Does anyone one where the files relating to SMS text files both in and out are stored (presumably in the Windows directory somewhere) please as I would like to move them to the new device if possible.
Many thanks
Brian Leach
As far as I know they are stored in a database. And there are quite few (commercial) backup solutions available. But try to search the forum, I remember a small and free solution being posted here. (Btw: it's always good for the community if you post your solution here once found.)
I think I have a software which can backup SMS to move from old device to new device or from new version to new version.
I've tried, I sure that it works very well.
You will try it
Ahh! I forgot that, I have file .exe for installing from your computer. And other one to run direct
Many thanks.
I'll give them a try.
Brian Leach
Tried both zip files and neither will run under xp
Should they be run from the device or what am I doing wrong please.
Thanks
Brian Leach

using another phone's backup

I played with the OEMName reg settings as posted here to tinker with the other oem apps, and it stopped all my applications from working, I had to hard reset to get any apps to function again. Luckily, I had saved my 7008 backup files and I used the method posted [url="http://forum.xda-developers.com/showthread.php?t=1060103&highlight=backup+file+locations+zune]here[/url] to revert my locked 7392 Focus to the 7008 backup. I had saved the backup. These are some observations:
- When I updated to 7390 and created the backup, my phone was already unlocked and prevent unlock was done, when I restored my backup, the unlock was preserved
- the unlock retained through my subsequent update to 7392 (expected, but nice to know)
- The sideloaded apps on the phone at the time of the 7008 backup also installed with the backup
Even with my phone on the pin lock, as soon as I connected it to the PC, Zune opened and synced and prompted for the update. Is this new bahavior?
I was able move the saved backup files into the Windows Phone Update folder after the phone was connected and synced.
Once I was back to 7008, I hard reset the phone and updated again without setting up my Live Account info to create a "pure" 7008 backup for the purpose of posting here for others to tinker with.
If there is interest, i will post the files when I get home.
That backup could be very handy to have around! Please post it!
Backup is for one phone only, not all around. I know, you can change the DeviceId, but it will fail when you try to restore to another phone. I guess a backup is useless for others.
The best backup is the firmware itself.
I do believe this will work. There are two .xml files in the restore point. Each of these has a deviceID field. I believe that if you change these fields to your own unique device id number and wait until after the phone is connected to zune to replace the files, you may be able to use someone else's backup files on your phone.
Also, I reverted my phone to 7008, but once there, I was unable to get the chevron unlock to work. I'm not sure why this is or what I did wrong.
Later tonight, I will try to restore my wife's phone using my restore point as a proof of concept
Proof of Concept failed...
this is what I did...
1. First, I located the existing backup files on my computer.
C:\Users\#USER#\AppData\Local\Microsoft\Windows Phone Update
In this location, there is a folder with a long name that looks like this:
B12da62f - d8d2d122 – 81d60512 - 6aaa3f12
This folder holds your restore files. This number is your unique device ID number.
2. I copied this folder and its contents to a safe place in case I needed it later. I have made it a practice to make a backup copy of all my backups so I can restore to any point. Restoring your own backups definitely works. I’ve done this several times with many old and new backups. See this thread http://forum.xda-developers.com/showthread.php?t=1060103&highlight=backup+file+locations+zune for details on how
3. Next, I got a backup file that didn’t belong to my phone and I edited the .xml files
- in the properties folder, you’ll find properties.xml
- I opened this file using notepad and change the #’s in the DeviceUrlId field to my unique device ID number
<DeviceUrlId>zune-tuner://windowsphone/XXXXXXXX%20-%20XXXXXXXX%20-%20XXXXXXXX%20-%20XXXXXXXX</DeviceUrlId>
- in RestorePoint\5372F2DE-F333-4717-9CB8-1846BE19900E\Data there is Manifest.xml
- I alsoopened this file using notepad and change the X’s in the DeviceId field to my unique device ID number
<DeviceId>XXXXXXXX - XXXXXXXX - XXXXXXXX - XXXXXXXX</DeviceId>
4. I connected my Focus to the computer and opened and waited for Zune to open
- waited for it to finish syncing
- left my Focus connected and Zune open.
5. Then I replaced the authentic backup files with the edited files from the other phone.
- Opened the backup file location on your computer from step 1
- Delete the existing Properties and RestorePoint folders
- Copied the Properties and RestorePoint folders from step 3 into this folder
6. I returned to Zune, went into Settings, then go to Update
- Wait for Zune to finish looking for an update
- It indicated that I had a restore point
- I selected to restore and followed the prompts
- All appears to be going well
7. On Step 3: Restoring Backup, the phone restarts, the and the Backup fails
- It spits out error code 801812E0
- I can't find anything on this code anywhere
At the beginning of step 3 it must be checking something in one of the other files?
IDK...
I do think this could work if we knew what Zune was checking that gives it the fail.
A quick look at the data files suggests to me that they may be encrypted. This would make sense, since otherwise you could overwrite the OS at a very low level by modifying your backup and then "restoring" it.
I bet the encryption key is stored in the device somehow, though.
GoodDayToDie said:
A quick look at the data files suggests to me that they may be encrypted. This would make sense, since otherwise you could overwrite the OS at a very low level by modifying your backup and then "restoring" it.
I bet the encryption key is stored in the device somehow, though.
Click to expand...
Click to collapse
they are encrypted and sighed against your imei and CID from the sd card.
and it could be that it is sighed online when you are downloading the update (but I don't know that for sure)
but the main problem is that you can't use another his backup because the activation email adress is stored in the backup.
and it is way to complicated to get that out because it is stored on to many parts of the backup.
so if there was a way to hack the encryption you could only use it on your own phone.
ceesheim said:
they are encrypted and sighed against your imei and CID from the sd card.
and it could be that it is sighed online when you are downloading the update (but I don't know that for sure)
but the main problem is that you can't use another his backup because the activation email adress is stored in the backup.
and it is way to to get that out because it is stored on to many parts of the backup.
so if there was a way to hack the encryption you could only use it on your own phone.
Click to expand...
Click to collapse
I don't think the email has anything to do with it.
I have tried all variables of restore files to phones with live activation set up and not set up.
With the false restore files, it fails the same regardless.
With restore files from the phone, it works the same, regardless of what live account is activated on the phone or in the restore.
Sent from my Focus using XDA Windows Phone 7 App
As I mentioned, it is not the way we can walk. One phone, one backup, another phone, another and so on. Sad but true.
well, FWIW, here are the 7008 backup files...
7008_Backup.zip
the file is 515 MB.
There is no Live account associated with the backup and I've already replaced the device ID info in the two xml files with X's
munkeyphyst said:
well, FWIW, here are the 7008 backup files...
7008_Backup.zip
the file is 515 MB.
There is no Live account associated with the backup and I've already replaced the device ID info in the two xml files with X's
Click to expand...
Click to collapse
It would've spared you some time, I did it before you and it's not working. As ceesheim said, they are tied to hardware.
I'm looking now to patch Zune to bypass that.
Thanks, I didn't see that. I hope the "clean" 7008 restore files are of use.
Is there the possibility to extract specific files ie those related to SMS and use them in another backup?
efjay said:
Is there the possibility to extract specific files ie those related to SMS and use them in another backup?
Click to expand...
Click to collapse
Not at the moment, as the backup files are encrypted. Different people (myself too) are working on various approaches, to try to access or unpack the rom files (from backups).
EnderPsp said:
Not at the moment, as the backup files are encrypted. Different people (myself too) are working on various approaches, to try to access or unpack the rom files (from backups).
Click to expand...
Click to collapse
Thanks for the reply.
I wrote something about this topic overhere.
EnderPsp said:
It would've spared you some time, I did it before you and it's not working. As ceesheim said, they are tied to hardware.
I'm looking now to patch Zune to bypass that.
Click to expand...
Click to collapse
it isn't zune that check it but the ULDR that validates it , so it doesn't bring you anywhere to patch ZUNE I think.
7008_Backup.zip
7008_Backup.zip multiuplood link please
ranya said:
7008_Backup.zip multiuplood link please
Click to expand...
Click to collapse
There is no way (yet) to use another phone's backup so a link would not help you.
Sorry to resurrect this thread, but maybe all we would need to do is change the activeid and the folder, that goes 8-4-4-4-12 with random numbers. Is there another 7008 backup to compare that number with? maybe all you need is the activeid for your phone, if phones have seperate active ids.

[Q] Wave S8500: gaining access to hidden OSP partition

Hello everybody. I have just found this very interesting forum...
As from title, I have just upgraded my ROM and forgot to backup some important files. I.e., I had many notes written down on the mini diary. Even if I think the mini diary data might be now overwritten, I would like to know for the next times if there is a way for gaining "disk" access to the OSP (hidden) partition. With "disk" access I mean being able to see the partition as a disk for using prohgrams like GetDataBack or Active File Recovery to restore any deleted file...
The reason I would like to do that is because usual programs, i.e. WaveBackup, are only able to backup not deleted files, as you know. Beside that, WaveBackup gives me an error message saying "could not retrieve..." a certain file, several times.
I'm aware that way would mean booting up from another partition or, anyway, accessing the OSP partition in an alternative way in wich Bada boot up should be avoided...
Thanks for any response or opinion
Use Kies Backup function that came with bada 2.0
Best Regards
Sorry.
You can only backup exisiting files.
There are NO Software Tools available, to restore overwritten/erased stuff from memory.
Handset is more complex/complicated as USB Memory Stick... you have NO direct access to "OSP partition"...
forgot to backup some important files.
Click to expand...
Click to collapse
Next time FIRST Backup.
Best Regards
mylove90 said:
Use Kies Backup function that came with bada 2.0
Best Regards
Click to expand...
Click to collapse
Unfortunately I'm still using Bada 1.2. Thanks for advising, I'll search for knowing about it
adfree said:
Sorry.
You can only backup exisiting files.
There are NO Software Tools available, to restore overwritten/erased stuff from memory.
Handset is more complex/complicated as USB Memory Stick... you have NO direct access to "OSP partition"...
Next time FIRST Backup.
Best Regards
Click to expand...
Click to collapse
It's a pity to know Thanks anyway. I'll surely remember, the next time
Bye!

Offline App installation

Hi every one
i think it would be nice if we can install one bada phone's backup on another phone
These are all i know about samsung backups:
1.samsung makes a registry entry for each backup in HKEY_CURRENT_USER/SOFTWARE/SAMSUNG/KIES2.0/BNR
2.samsung backups include imei and application names in registry entries
3. also when you have a .sbu file without registry entry you can give it to kies via "find backup file" button and it makes a registry entry from the file, SO imei and other info s are included in .sbu file too.
i've tried changing imei in registry entries but again i couldnt restore another bada phone's backup!! maybe because of no 3.
so sharing our ideas can help finding a way for offline app installation in bada 2.
i request everyone participates in this topic especially talented users like adfree and other friends
Please don't make stupid questions and let this topic goes right
sorry for my bad english

Kies Restore... Bada 2.0

Let's Discussing Again How To make that Kies Restoring works on Bada 2.0.In this case Kies doesn't Restore Apps and Games
How ?
1.
Maybe use WinComm to log...
2.
Sniff USB Communication from Kies... Commands etc...
3.
Usefull... Analyze *.sbu files...
Maybe someone find Tool or way to extract easily...
If we can see inside... Then higher chance to understand what is missing...
Best Regards
Usefull... Analyze *.sbu files...
Maybe someone find Tool or way to extract easily...
Click to expand...
Click to collapse
kies extract it in temp folder before transfer to device
hero355 said:
Let's Discussing Again How To make that Kies Restoring works on Bada 2.0.In this case Kies doesn't Restore Apps and Games
How ?
Click to expand...
Click to collapse
I used to have lots of problems getting apps to restore. I now empty any folders before doing a backup and have no problems at all.
Possibly a problem with folders or a problem with there appearing to be more than 16 apps per page.
Simon
Restore data inside .sbu file using KIES with SBU extractor (It may be useful):
Code:
mobilecon.info/restore-data-inside-sbu-file-using-kies.html
Best Regards

Categories

Resources