question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Repacking documentation for Gen 2 devices

See original GitHub issue

Hi, I am trying to modify the firmware of my NEX-5R. Unpacking the firmware / updater will “deeply” unpack all files. How can I repack an unpacked firmware.tar file?

I am trying to modify files in firmware.tar_unpacked/0700_part_image/dev/nflasha8_unpacked_unpacked and I dont see an obvious way to create a firmware.tar file from the various “unpacked” and “unpacked_unpacked” folders that will work. I guess there is a trick somewhere that I do not understand.

My first guess was to simply edit the files in the camera in-place, but the interesting parts of the filesystem are mounted read-only and there seems to be no way to remount using the busybox interface via telnet.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
CyberUSB2commented, May 8, 2021

Closest thing to any form of documentation is the “sony hack” personal-view website:

http://www.personal-view.com/faqs/sony-hack/hack-development

But I noticed that ma1co is develping a QEMU virtual machine called OpenMemories: Continuous Integration for running the camera’s firmware in. So if you use a virtual machine, you might be able to modify the files in the virtual machine directly and not have to go about re-packing and re-writing firmware on a real live camera.

0reactions
c1kocommented, May 11, 2021

Simply remounting the filesystem rw did the trick for me. mount -o remount, rw /[partition] I then copied over the files I wanted to replace from the SD-card. The files seem to be permanent over a camera reboot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MDCG Q&A on Repackaging and Relabeling Activities
The MDCG has published and questions-and-answers document dedicated to repackaging and relabeling activities in accordance with the MDR and ...
Read more >
Labeling Regulatory Requirements for Medical Devices - FDA
Labeling regulations promulgated under the above Acts which pertain to medical devices are currently found in the following Parts of Title 21 of...
Read more >
REPACKAGED PRODUCT PROGRAM - UL Solutions
Type 2 Repackagers are issued a single Procedure covering the entire core product categories already approved under the specific Repackaging product category.
Read more >
Repackaging Drugs Under A Serialization Regulation - RxTrace
must be documented on the original pedigree, certified under penalty of perjury, and passed on/ continue with the newly repackaged prescription ...
Read more >
Unique Device Identification System - Federal Register
This rule requires the label of medical devices to include a unique ... health care systems, and other entities that repackage devices, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found