Lauda

RNS315 update

Feb 29th, 2020
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.19 KB | None | 0 0
  1. Here is how to prepare SD for RNS315
  2.  
  3. 1 - SD/microSDHC memory card samsung EVO/EVO+ 16/32/64Gb older then summer 2016. Format the SD card in FAT32 by Guiformat.exe utility (https://fat32-format.en.softonic.com/).
  4. 2 - Unpack by last WinRar and copy navpsf_update on card . Nothing more!
  5. 3 - Start Laptop from boot flash Ubuntu (previously created in PC by LiLi USB Creator or UNetbootin: http://unetbootin.github.io/)
  6. 4 - Copy file mmc and mmc32 to Desktop
  7. 5 - Right cick -> open terminal, then go to the Desktop folder ( by command "cd Desktop" )
  8. 6 - Make command execution rights by command "chmod 777 mmc32" and "chmod 777 mmc"
  9. 7 - Insert the SD in slot. Terminal command "df" and verify the name card.
  10.  
  11. Somewhere down everything must occur "mmcblk0" + p + a number.
  12. The suffix p "number" is the partition on the card, we are not interested, just use "mmcblk0".
  13. When you do not see anywhere mmcblk0,
  14. you must try different Laptop with on matherboard integrated cardreader.
  15.  
  16. Now you can read the original CID by command "cat /sys/block/mmcblk0/device/cid"
  17.  
  18. 8 - change CID by terminal command:
  19. "sudo ./mmc32 prog_cid /dev/mmcblk0 5d53424c32424d31013917ca53010400"
  20. or
  21. "sudo ./mmc prog_cid /dev/mmcblk0 5d53424c32424d31013917ca53010400"
  22.  
  23. Writing new CID: 5d53424c32424d31013917ca53010400
  24. Success! Remove and Reinsert SD card to check new CID.
  25.  
  26. If you do not see messages about success, remove and reinsert SD card
  27. and check CID by command "cat /sys/block/mmcblk0/device/cid"
  28.  
  29. Now will be displaying the new CID 5d53424c32424d31013917ca53010400
  30. You should see 5d53424c32424d31013917ca53010400 line.
  31. The last two characters may be different, for example, be 01.
  32. If CID changed besides the last two numbers, so it's okay.
  33. On the last two numbers does not matter,
  34. it's just a checksum, which generates SD card itself.
  35.  
  36. If the CID unchanged try again command for changing, remove and reinsert SD card
  37. and check CID by command "cat /sys/block/mmcblk0/device/cid"
  38.  
  39. If not change, try the same command, but with different bit version of mmc,
  40. remove and reinsert SD card
  41. and check CID by command "cat /sys/block/mmcblk0/device/cid"
  42.  
  43. If not change, you must use a different EVO
  44.  
  45. 9 - Locking using passwords
  46.  
  47. For the RNS315, you must to lock the card by appropriate password.
  48. Double-check that you have the correct folder on the card and all data inside. Nothing else!
  49. It's not possible to unlock easy again !!!
  50.  
  51. Lock command :
  52. "sudo ./mmc lock_sd /dev/mmcblk0 C99A20843ED7D90B6801E49F2BC80277"
  53. or
  54. "sudo ./mmc32 lock_sd /dev/mmcblk0 C99A20843ED7D90B6801E49F2BC80277"
  55.  
  56. Ignores the error messages if they are some, especially this:
  57.  
  58. "ioctl: Connection timed out - Could not read response to SEND_STATUS from /dev/mmcblk0"
  59. Do not be disappointed - everything is alright!
  60.  
  61. "ioctl: Connection timed out" - It is a proper report from the system
  62. - when you lock the card, it is immediately invisible to the system
  63. and system report, that can not connect to SD card !
  64.  
  65. "Could not read response to SEND_STATUS from /dev/mmcblk0"
  66. - also right - system could not read response on query on the status from SD card.
  67.  
  68. Remove and reinsert SD card to check lock - when system not recognize, so its locked.
  69. Try in a car.
Add Comment
Please, Sign In to add comment