reyalp
These functions don't exist on some cams. In that case, you just point them to a return instruction (BX LR). You need to examine the code of your physwtask to figure this out.
Obviously, in your firmware all addresses will be different.
Ok, in my firmware at 0xFF810B04, there is also BX LR, so i used the same address for those functions.
Now, i examined every "not found" functions. The statistics:
Found with help of sd980's stubs_entry_2.S: 8 functions.
Pointed to BX LR: 6 functions.
Deadcode for not found: 13 functions.
Now the sx20's stubs_entry_2.S:
#include "stubs_asm.h"
NHSTUB(EnterToCompensationEVF, 0xFF836D84)
NHSTUB(ExitFromCompensationEVF, 0xFF825454) // maybe
NHSTUB(GetBatteryTemperature, 0xDEADC0DE) // NA #1
NHSTUB(GetCCDTemperature, 0xDEADC0DE) // NA #1
NHSTUB(GetZoomLensCurrentPoint, 0xFF9566D4) // maybe
NHSTUB(GetZoomLensCurrentPosition, 0xDEADC0DE) // NA #1
NHSTUB(Lseek, 0xFF83539😎
NHSTUB(PT_PlaySound, 0xFF8840D4) // maybe
NHSTUB(RefreshPhysicalScreen, 0xFFA0492C)
NHSTUB(Remove, 0xDEADC0DE) // NA #1
NHSTUB(TurnOffBackLight, 0xFF89B6A4)
NHSTUB(UIFS_WriteFirmInfoToFile, 0xDEADC0DE) // NA #1
NHSTUB(kbd_pwr_off, 0xFF810B04) // BX LR
NHSTUB(kbd_pwr_on, 0xFF810B04) // BX LR
NHSTUB(openfastdir, 0xDEADC0DE) // NA #1
NHSTUB(readfastdir, 0xDEADC0DE) // NA #1
NHSTUB(rename, 0xDEADC0DE) // NA #1
NHSTUB(PostLogicalEventForNotPowerType, 0xDEADC0DE) // NA #1
NHSTUB(LEDDrive, 0xDEADC0DE) // NA #1
NHSTUB(apex2us, 0xFFA080B😎
NHSTUB(WriteSDCard, 0xFF9409C4)
NHSTUB(UnlockAF, 0xDEADC0DE) // NA #1
NHSTUB(DoAFLock, 0xDEADC0DE) // NA #1
NHSTUB(rewinddir, 0xFF810B04) // BX LR
NHSTUB(SetZoomActuatorSpeedPercent, 0xFF810B04) // BX LR
NHSTUB(Unmount_FileSystem, 0xFF810B04) // BX LR
NHSTUB(Mount_FileSystem, 0xFF810B04) // BX LR
NHSTUB(platformsub_kbd_fetch_data, 0xDEADC0DE) // NA #1
What is the next step? I still got E31. 😀 😀 😀