Anyone thought of building a connected drive server?

rhodesman

Corporal
Mar 21, 2017
186
78
0
44
Maryland
rhodesman.com
Ride
2010 BMW E88 N54 135i
@BLACKHAT @Xer0449 could one of you look into the files in mnt/persistency/normal ? There is one file in particular called DataComIP which seems to have some communication info in it but none of my apps seem to be able to read it in a legible formate for me. (how are these files encoded?)
 

Xer0449

Corporal
Jan 30, 2017
174
59
0
This almost seems like it's a log?

Code:
cat generalPersistencyData_DataComIP
�� u    DataComIPe���ee��BeF��B��B��q��֓�}�n@Online-Status OK@ , 30042016220817 , 30042016221129 , b2v.bmwgroup.com , 41 , 310 , 41 , 310 , 10.119.8.15 ,  ���z��$k@Online-Status OK@ , 07062016163638 , 07062016164629 , b2v.bmwgroup.com , 41 , 310 ,  ,  , 10.126.183.93 ,  Z��z��$k@Online-Status OK@ , 07062016163638 , 07062016164653 , b2v.bmwgroup.com , 41 , 310 ,  ,  , 10.126.183.93 , 0�w��~�o@Online-Status OK@ , 02082016080713 , 02082016080745 , b2v.bmwgroup.com , 41 , 310 , 41 , 310 , 10.119.83.30 ,
 

BLACKHAT

Lurker
Mar 4, 2017
17
9
0
Ride
335
Yeah the persistancy folder looks like just a form of persistent memory, it could be of some use for finding the latest status of a function.

@Xer0449 If i had a CIC I would have the drive out in a heartbeat. I'm trying to source one now as there is only so much that can be reversed without a running system. I'm stuck with CCC at the moment, The reason i jumped on this project is because I've been working a hardware device to provide remote telemetry etc, from what i can see so far, I can achieve the same just by using software/scripting on the CIC.

/usr/sbin/tcpdump is attached (Just remove the .pdf)

Once I've had some coffee (Just gone 5AM here), I'll try and map out the boot sequence.. /OS/Scripts/Applications/etc.
 

Attachments

  • tcpdump.pdf
    703.1 KB · Views: 337

Xer0449

Corporal
Jan 30, 2017
174
59
0
I just ordered a PATA/USB adapter. At least I can attempt to have a backup if I torch the disk. Should be here Thursday. Surely @rhodesman will have an .img by then, though :)
 

BLACKHAT

Lurker
Mar 4, 2017
17
9
0
Ride
335
I've hit a road block that i think only an image will help with, in the boot script we have the following (I've removed the bulk of it down to what actually matters.

Problem is, a few of these binaries don't exist so (srv-starter-QNX srv-starter-QNX & /etc/start.cfg is empty), they could be from the boot img that is referenced above, they could be nothing of importance.


Code:
/proc/boot/devc-sersci devc-sersci -e -F -H -t0,48 -r60 -b57600 -c49500000/16 scif1 -e -F -H -t0,48 -r60 -b57600 -c49500000/16 scif0
PATH=/proc/boot:/bin:/sbin:/usr/sbin:/usr/bin:/usr/Hmi/bin:/mnt/EFS_RO/bin:/mnt/EFS_RO/sbin:/mnt/EFS_RO/usr/bin:/mnt/EFS_RO/opt/bin:/mnt/EFS_RO/usr/sbin
LD_LIBRARY_PATH=/proc/boot:/lib:/lib/dll:/usr/lib:/usr/Hmi/otf:/mnt/EFS_RO/Hmi/lib:/mnt/EFS_RO/lib/dll:/mnt/EFS_RO/usr/lib

/dev/ser1

-------------------------------------
Welcome QNX6.3 - Harman/Becker BMW L6
STARTING OptMain BOOT SCRIPT
-------------------------------------


/usr/bin/slogger slogger -s128
/usr/bin/srv-starter-QNX srv-starter-QNX -c /etc/starter.cfg -vvv -g -u
/bin/login login
HOME=/home/root
/usr/bin/pidin pidin
/usr/bin/pidin pidin syspage
bin/sloginfo sloginfo
 
Last edited:

rhodesman

Corporal
Mar 21, 2017
186
78
0
44
Maryland
rhodesman.com
Ride
2010 BMW E88 N54 135i
w0ZKzuW.png


Hold onto your butts! Also, silly Apple requiring "m" vs. "M". :rolleyes:
 

rhodesman

Corporal
Mar 21, 2017
186
78
0
44
Maryland
rhodesman.com
Ride
2010 BMW E88 N54 135i
Still holding my butt :D
Hold that butt no longer, PMs sent!

Further findings: Upon reconnecting my CIC HDD to my car ALL the CIC options were grayed out except for the radio and cd/media player. (poo came out!) Even doing the volume reboot didn't resolve this!! HOWEVER, pulling the battery terminal, counting to 15 then reconnecting it got all the iDrive options back up. This leads me to believe that IF we changed code on the CIC system, we would be best off removing the HDD, changing the code via a tethered connection to a computer then reinserting it into the car and doing a power cycle on the car's battery. I guess the CIC system holds the data it reads from the HDD in flash/memory storage and only a full power cycle of the cic system will force it to reboot itself by reading off the HDD for booting up.

Also: I totally forgot how F-ing SLOW IDE is. Jesus, my Mac Pro was reading the drive at 4-5mb/s and writing the data at 25-30mb/s every minute or so (it's internal SSD can r/w at ~950mb/s). I checked on it at 2:00AM EST and even though I started the copy when i got home at 6:00PM, it was still not done! So I am definitely going to be ordering a PATA SSD today!
 

Xer0449

Corporal
Jan 30, 2017
174
59
0
Hold that butt no longer, PMs sent!

Further findings: Upon reconnecting my CIC HDD to my car ALL the CIC options were grayed out except for the radio and cd/media player. (poo came out!) Even doing the volume reboot didn't resolve this!! HOWEVER, pulling the battery terminal, counting to 15 then reconnecting it got all the iDrive options back up. This leads me to believe that IF we changed code on the CIC system, we would be best off removing the HDD, changing the code via a tethered connection to a computer then reinserting it into the car and doing a power cycle on the car's battery. I guess the CIC system holds the data it reads from the HDD in flash/memory storage and only a full power cycle of the cic system will force it to reboot itself by reading off the HDD for booting up.

That's really interesting... how would it even know the drive was removed?
 

Xer0449

Corporal
Jan 30, 2017
174
59
0
I'm having a hell of a time trying to mount this image using the QNX VM's. It definitely doesn't want to boot, either. In QNX, I can mount it but the filesystem shows empty and reports "corrupted".

How about you guys?
 

rhodesman

Corporal
Mar 21, 2017
186
78
0
44
Maryland
rhodesman.com
Ride
2010 BMW E88 N54 135i
Same here :mad: My new plan is I created an extra qnx4 ide drive and am ftping the img to it. My hope is I can mount the img inside the VM better than outside the VM.
 

Xer0449

Corporal
Jan 30, 2017
174
59
0
You wouldn't happen to come across any .ifs files from what you've copied over so far, have you? I didn't see any in the git repo.