Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

Any program out there to decrypt the files of a ResMed AirSense 10 Elite?
#1
Any program out there to decrypt the files of a ResMed AirSense 10 Elite?
Hi, I'm trying to re-add data to my SD Card that was deleted to fix a problem with the date on my CPAP machine. I've managed to reconstruct both the files and the folder structure but even if I put these folders back in the correct spot the CPAP doesn't see them. I think one of the encrypted files in the Settings folder probably has a table of contents that tells the CPAP which folder names to look for. Unfortunately most of these files are encrypted.

Anyone know of a program or a way to decrypt them? (I guess I'd need to re-encrypt them later too.)

Thanks.
Post Reply Post Reply



Donate to Apnea Board  
#2
RE: Any program out there to decrypt the files of a ResMed AirSense 10 Elite?
https://gitlab.com/sleepyhead/sleepyhead...loader.cpp

Not encryption; just a proprietary binary file format that (like most such) takes some tedious reverse engineering, which jedimark & friends have done for you.

Have fun. Smile
"I wanted to be a Boy Scout, but I had all the wrong qualities.  They were looking for kids who were trustworthy, loyal, helpful, friendly, courteous, kind, obedient, cheerful, thrifty, brave, clean, and reverent.  Whereas I tended to be devious, fickle, obstructive, hostile, rude, mean, defiant, glum, extravagant, cowardly, dirty, and sacrilegious."  (George Carlin)
Post Reply Post Reply
#3
RE: Any program out there to decrypt the files of a ResMed AirSense 10 Elite?
Have you tried to use SleepyHead or Resmed's software?

If you put the card back into the machine, it may rewrite it. Copy everything off your card onto your computer. Then delete everything on the card. Put it in the machine and wait. There's a light on the side for when the card is being written. You may want to wait until the next day after you have used it to pull the card and see what is there.

If the machine itself was reset, I don't believe the card will put it back onto the machine.
PaulaO2
Apnea Board Moderator
www.ApneaBoard.com


Breathe deeply and count to zen.

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.




Post Reply Post Reply
#4
RE: Any program out there to decrypt the files of a ResMed AirSense 10 Elite?
(05-14-2018, 09:15 PM)PaulaO2 Wrote: Have you tried to use SleepyHead or Resmed's software?

He wants to re-write (to the card) data files that he had already copied from the card to his computer, after which the card was erased, but he wants to do that without deleting the data gathered since then (a merge operation). It's certainly possible, just a small matter of programming (SMOP). Resscan is useless because it's not open-source. Sleepyhead is very useful for figuring out what's what, but the problem is that it only translates in one direction: from the SD-card files to SH's internal data structures. Someone would have to write a module to go in the other direction, because both are necessary in this case.

Of course, from the DME's shocked & appalled point of view, what he wants to do is a big no-no. Bad boy! Mustn't do that!

And for all I know (I haven't read the resmed_loader.cpp code; I just know that it exists), Resmed might have put some scheme in place to try to prevent such tampering, thus making the data effectively read-only. I don't know one way or the other.
"I wanted to be a Boy Scout, but I had all the wrong qualities.  They were looking for kids who were trustworthy, loyal, helpful, friendly, courteous, kind, obedient, cheerful, thrifty, brave, clean, and reverent.  Whereas I tended to be devious, fickle, obstructive, hostile, rude, mean, defiant, glum, extravagant, cowardly, dirty, and sacrilegious."  (George Carlin)
Post Reply Post Reply



Donate to Apnea Board  
#5
RE: Any program out there to decrypt the files of a ResMed AirSense 10 Elite?
It sounds like then the card is missing the key files, not the data files. He can get them from putting the card back in again. Are the
identification.crc
indentifcation.tgt
STR.edf
files on the computer?

I've taken date from my card, erased it, and put it back on several times. As long as the data is on the computer, it should be put-able on the card.

If the OP uses sleepyhead, the backup is there, all files.
PaulaO2
Apnea Board Moderator
www.ApneaBoard.com


Breathe deeply and count to zen.

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.




Post Reply Post Reply
#6
RE: Any program out there to decrypt the files of a ResMed AirSense 10 Elite?
You cannot merge the files for the machine. What is the end game ?
Post Reply Post Reply
#7
RE: Any program out there to decrypt the files of a ResMed AirSense 10 Elite?
I didn't know about this one (open-source) until now.  I haven't tried it yet.

EDF Browser
"I wanted to be a Boy Scout, but I had all the wrong qualities.  They were looking for kids who were trustworthy, loyal, helpful, friendly, courteous, kind, obedient, cheerful, thrifty, brave, clean, and reverent.  Whereas I tended to be devious, fickle, obstructive, hostile, rude, mean, defiant, glum, extravagant, cowardly, dirty, and sacrilegious."  (George Carlin)
Post Reply Post Reply



Donate to Apnea Board  
#8
RE: Any program out there to decrypt the files of a ResMed AirSense 10 Elite?
also this one

"S9 Data Format" at the Sleepyhead wiki

and, thanks to xxyzx,

https://en.wikipedia.org/wiki/European_Data_Format
http://www.edfplus.info/downloads/
http://www.edfplus.info/specs/
"I wanted to be a Boy Scout, but I had all the wrong qualities.  They were looking for kids who were trustworthy, loyal, helpful, friendly, courteous, kind, obedient, cheerful, thrifty, brave, clean, and reverent.  Whereas I tended to be devious, fickle, obstructive, hostile, rude, mean, defiant, glum, extravagant, cowardly, dirty, and sacrilegious."  (George Carlin)
Post Reply Post Reply
#9
RE: Any program out there to decrypt the files of a ResMed AirSense 10 Elite?
First, thanks for all the info. So, my end game. I wanted to be able to restore the data that was lost when my resp therapist wiped my sd card so he could set the correct time/date. I recovered the files later using a file/partition recovery program. The first 2 links are to images of a couple days of data that my CPAP recorded after the wipe and the last 2 show the files in 2 folders from the old data.

https://ibb.co/nbzd5d
https://ibb.co/keTudy
https://ibb.co/e33hWJ
https://ibb.co/m7eNWJ

The folders in the Datalog folder are just the days date as a string of numbers. I've noticed in MOST but not all situations the first and second file that represents the start of a new folder have CSL at the end of the file name (not the extension.) The one exception to this that I've found is in the 3rd image where there is a second set of CSL files just a few files down from the top. I'm not sure why this is, but that was how the file/folder structure was when I recovered it. I also recovered the Settings folder and the two Identification files and the STR file but when I tried copying the SD card (with only the data from AFTER the wipe) onto my computer and tried deleting the new data and pasting the old data back onto the card the CPAP couldn't see the information even though Sleepyhead eventually did. I also tried adding the folders from after the wipe but in that case the CPAP could only see the new data.

I'm not really sure why the old data isn't visible to the CPAP. That's mainly what I'm trying to figure out.

I'll try some of the programs that you guys linked for me.

Thanks.

Edit: I should add that I only found Sleepyhead after the wipe. All the old data I have was retrieved using a file recovery program.
Post Reply Post Reply
#10
RE: Any program out there to decrypt the files of a ResMed AirSense 10 Elite?
You may be able to input those files into SleepyHead. Point it to the directory where you put the saved files. For example, the image you shared of the files with the folder called datalog? Put all those files and folders, as they appear, in another folder. Let's call it DATALOST and you put it on your desktop. Open sleepyhead, tell it to download, tell it to go where you tell it. Tell it to go to Desktop>DATALOST. Not the contents in the folder, but that folder directly. See if it works.

You can also ask the DME for your files back, although I doubt they thought to make a copy. Idiots.
PaulaO2
Apnea Board Moderator
www.ApneaBoard.com


Breathe deeply and count to zen.

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.




Post Reply Post Reply



Donate to Apnea Board  


Possibly Related Threads...
Thread Author Replies Views Last Post
  My ResMed S9 Elite is a used cpap. I need help with cpap treatment DaveL 57 1,336 11-11-2018, 09:29 PM
Last Post: DaveL
  [CPAP] Whistling on inhalation from Resmed Airsense 10 Samwrites 3 229 11-08-2018, 02:47 PM
Last Post: BadGoodDeb
  [CPAP] ResMed AirSense 10 makes loud noise when inhaling. sanger 96 60,277 11-03-2018, 11:46 AM
Last Post: sonicboom
  Problem with New Resmed Airsense 10 DS123 20 653 10-30-2018, 06:18 PM
Last Post: Sleeprider
  Resmed Airsense 10 Autoset vs "For Her" model barry15 5 338 10-15-2018, 08:11 PM
Last Post: barry15
  [Equipment] Checking Hours on an S9 Elite drbones 2 129 10-02-2018, 11:06 PM
Last Post: drbones
  [CPAP] Water Chamber (Resmed Airsense 10) empties every 2 days. What does it mean? Determinism 39 2,342 10-01-2018, 04:13 PM
Last Post: Zhaylin


New Posts   Today's Posts






About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.