Bin4ry / deejayeye-modder

Other
362 stars 144 forks source link

4.1.22-3028592 patch errors #170

Closed crot4lus closed 6 years ago

crot4lus commented 6 years ago

Hi, trying to patch 4.1.22-3028592 and receiving these errors. I've also tried 4.1.15-3027412 after I spotted that you need the unencrypted version of 4.1.22. Is there a solution?

Thanks for the great work so far.

os2unix: converting file ../patches/4.1.22-3028592/enableCacheControl.patch to Unix format... patching file smali_classes6/dji/setting/ui/general/VideoCacheOpenSwitch.smali Hunk #1 FAILED at 100. 1 out of 1 hunk FAILED -- saving rejects to file - dos2unix: converting file ../patches/4.1.22-3028592/enableMavicFlightModesOnSpark.patch to Unix format... patching file res/raw/product_26 dos2unix: converting file ../patches/4.1.22-3028592/enable_MapBox.patch to Unix format... patching file smali_classes6/dji/setting/ui/general/MapboxTrialSwitch.smali Hunk #1 FAILED at 54. 1 out of 1 hunk FAILED -- saving rejects to file - dos2unix: converting file ../patches/4.1.22-3028592/fakeLogin.patch to Unix format... patching file 'smali_classes6/dji/pilot/usercenter/protocol/e$5.smali' Hunk #1 FAILED at 93. 1 out of 1 hunk FAILED -- saving rejects to file - dos2unix: converting file ../patches/4.1.22-3028592/forceFCC.patch to Unix format... can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was:

|diff -Naur orig/smali/dji/midware/data/model/P3/DataRcGetWifiFreqInfo.smali mod/smali/dji/midware/data/model/P3/DataRcGetWifiFreqInfo.smali |--- orig/smali/dji/midware/data/model/P3/DataRcGetWifiFreqInfo.smali 2018-02-11 13:14:52.953171400 +0100 |+++ mod/smali/dji/midware/data/model/P3/DataRcGetWifiFreqInfo.smali 2018-02-11 13:33:07.617653800 +0100

File to patch: