lglaf icon indicating copy to clipboard operation
lglaf copied to clipboard

FR: add support to push data like lgup etc does

Open steadfasterX opened this issue 8 years ago • 2 comments

it would be nice if we could send data (in my case image files like twrp , system image etc) when in download mode. would that be possible? This could make the kdz flasher tools obsolete for me due to the fact that i can extract them with the kdztools, then i want to push them to the device and flash them with dd..

Any chance that this may come one day?

steadfasterX avatar Jul 22 '17 11:07 steadfasterX

just realized this PR #1

steadfasterX avatar Jul 22 '17 11:07 steadfasterX

This could make the kdz flasher tools obsolete for me due to the fact that i can extract them with the kdztools, then i want to push them to the device and flash them with dd..

I've been looking all around for a way to flash kdz stock ROM files from linux.

@steadfasterX If I understand correctly, I could extract the files from the kdz image, then push them on the phone (using adb push), then just do adb shell and dd my file on the appropriate device file? If so, I have two questions:

  1. What's the format of the file I should push on the phone (rather than the kdz)? Is it some .img file generated by one of the scripts of this repository or a ZIP archive (like LineageOS install ROMs)?
  2. What's the device file I should dd the files on (/dev/block/mmcblk0pX)?

sim590 avatar Nov 23 '17 07:11 sim590