Come posso scaricare dai server samsung i firmware test?

  • 2 Risposte
  • 5352 Visite

0 Utenti e 1 Visitatore stanno visualizzando questo topic.

Offline ItalianGamer91

  • Membro Anziano
  • ***
  • 294
Sotto mano ho in chiaro i dati di login  per il server http://fota-cloud-dn.ospserver.net/firmware/ ma il problema questo

nella applicazione com.wssync blah blah i database sql hanno delle info crittate in un linguaggio strano e non riesco a decrittarle info come url ect ect cose.
Il tool samfirm prima fa tunnell con porta 443 in https://neofussvr.sslcs.cdngc.net
poi si collega in https://neofussvr.sslcs.cdngc.net/NF_DownloadGenerateNonce.do
al infine https://neofussvr.sslcs.cdngc.net/NF_DownloadBinaryInform.do

Se il file esiste

Spoiler: mostra
<?xml version="1.0" encoding="UTF-8"?>
<FUSMsg>
   <FUSHdr>
      <ProtoVer>1.0</ProtoVer>
      <SessionID></SessionID>
      <MsgID>2</MsgID>
   </FUSHdr>
   <FUSBody>
      <Results>
         <CmdRef>2</CmdRef>
         <Status>200</Status>
         <LATEST_FW_VERSION>
            <Data>J510FNXXS2AQI4/J510FNITV2AQI4/J510FNXXU2AQG1/J510FNXXS2AQI4</Data>
         </LATEST_FW_VERSION>
      </Results>
      <Put>
         <CmdID>1</CmdID>
         <BINARY_CRC>
            <Data>2283883805</Data>
         </BINARY_CRC>
         <BINARY_NAME>
            <Data>SM-J510FN_1_20171010125601_i4w4qqh8r6.zip.enc4</Data>
         </BINARY_NAME>
         <BINARY_SIZE>
            <Data>1379315</Data>
         </BINARY_SIZE>
         <BINARY_BYTE_SIZE>
            <Data>1412419040</Data>
         </BINARY_BYTE_SIZE>
         <DESCRIPTION>
            <Data></Data>
         </DESCRIPTION>
         <DESCRIPTION_FLAG>
            <Data>0</Data>
         </DESCRIPTION_FLAG>
         <SUPPORT_HIDDEN>
            <Data>0</Data>
         </SUPPORT_HIDDEN>
         <FW_INDEX>
            <Data>1</Data>
         </FW_INDEX>
         <DEVICE_MODEL_NAME>
            <Data>SM-J510FN</Data>
         </DEVICE_MODEL_NAME>
         <DEVICE_MODEL_TYPE>
            <Data>9</Data>
         </DEVICE_MODEL_TYPE>
         <MODEL_PATH>
            <Data>/neofus/9/</Data>
         </MODEL_PATH>
         <DEVICE_BUYER_CODE>
            <Data>XX</Data>
         </DEVICE_BUYER_CODE>
         <DEVICE_LOCAL_CODE>
            <Data>ITV</Data>
         </DEVICE_LOCAL_CODE>
         <ANNOUNCE_FLAG>
            <Data>0</Data>
         </ANNOUNCE_FLAG>
         <ANNOUNCE>
            <Data></Data>
         </ANNOUNCE>
         <NOTIFY>
            <Data>1</Data>
         </NOTIFY>
         <LAST_MODIFIED>
            <Data>20171031203613</Data>
         </LAST_MODIFIED>
         <DEVICE_PLATFORM>
            <Data>Android</Data>
         </DEVICE_PLATFORM>
         <PLATFORM_SUPPORT>
            <Data>0</Data>
         </PLATFORM_SUPPORT>
         <DEVICE_BOOT_FILE>
            <Data></Data>
         </DEVICE_BOOT_FILE>
         <DEVICE_PDA_CODE1_FILE>
            <Data>J510FNXXS2AQI4_J510FNITV2AQI4_J510FNXXU2AQG1_HOME.tar.md5</Data>
         </DEVICE_PDA_CODE1_FILE>
         <DEVICE_CSC_CODE2_FILE>
            <Data></Data>
         </DEVICE_CSC_CODE2_FILE>
         <DEVICE_PHONE_FONT_FILE>
            <Data></Data>
         </DEVICE_PHONE_FONT_FILE>
         <DEVICE_CONTENTS_DATA_FILE>
            <Data></Data>
         </DEVICE_CONTENTS_DATA_FILE>
         <DEVICE_LANGUAGE_FILE>
            <Data></Data>
         </DEVICE_LANGUAGE_FILE>
         <DEVICE_BINARY_FOLDER>
            <Data></Data>
         </DEVICE_BINARY_FOLDER>
         <DEVICE_AMSS_FILE>
            <Data></Data>
         </DEVICE_AMSS_FILE>
         <DEVICE_RSRC1_FILE>
            <Data></Data>
         </DEVICE_RSRC1_FILE>
         <DEVICE_RSRC2_FILE>
            <Data></Data>
         </DEVICE_RSRC2_FILE>
         <DEVICE_CSC_FILE>
            <Data></Data>
         </DEVICE_CSC_FILE>
         <DEVICE_X_FS_FILE>
            <Data></Data>
         </DEVICE_X_FS_FILE>
         <DEVICE_APPS_FILE>
            <Data></Data>
         </DEVICE_APPS_FILE>
         <DEVICE_SHPAPP_FILE>
            <Data></Data>
         </DEVICE_SHPAPP_FILE>
         <DEVICE_FOTA_FILE>
            <Data></Data>
         </DEVICE_FOTA_FILE>
         <DEVICE_PFS_FILE>
            <Data></Data>
         </DEVICE_PFS_FILE>
         <DEVICE_PFS_SIZE>
            <Data></Data>
         </DEVICE_PFS_SIZE>         
         <DEVICE_BSY_FILE>
            <Data></Data>
         </DEVICE_BSY_FILE>
         <DEVICE_CDS_FILE>
            <Data></Data>
         </DEVICE_CDS_FILE>
         <DEVICE_UIIMAGE_FILE>
            <Data></Data>
         </DEVICE_UIIMAGE_FILE>
         <DEVICE_PSIFLASH_FILE>
            <Data></Data>
         </DEVICE_PSIFLASH_FILE>
         <DEVICE_INI_FILE>
            <Data></Data>
         </DEVICE_INI_FILE>
         <DEVICE_DSP1_FILE>
            <DATA></DATA>
         </DEVICE_DSP1_FILE>
         <DEVICE_DSP2_FILE>
            <DATA></DATA>
         </DEVICE_DSP2_FILE>
         <DEVICE_EFS_FILE>
            <DATA></DATA>
         </DEVICE_EFS_FILE>
         <DEVICE_BOOT_ADDRESS>
            <Data></Data>
         </DEVICE_BOOT_ADDRESS>
         <DEVICE_CODE1_ADDRESS>
            <Data></Data>
         </DEVICE_CODE1_ADDRESS>
         <DEVICE_CODE2_ADDRESS>
            <Data></Data>
         </DEVICE_CODE2_ADDRESS>
         <DEVICE_FONT_ADDRESS>
            <Data></Data>
         </DEVICE_FONT_ADDRESS>
         <DEVICE_DATA_ADDRESS>
            <Data></Data>
         </DEVICE_DATA_ADDRESS>
         <DEVICE_VIA_BOOT_FILE>
            <Data></Data>
         </DEVICE_VIA_BOOT_FILE>
         <DEVICE_VIA_CODE_FILE>
            <Data></Data>
         </DEVICE_VIA_CODE_FILE>
         <DEVICE_PIT_FILE>
            <Data></Data>
         </DEVICE_PIT_FILE>
         <CURRENT_DISPLAY_VERSION>
            <Data>J510FNXXS2AQI4/J510FNITV2AQI4/J510FNXXU2AQG1/J510FNXXS2AQI4</Data>
         </CURRENT_DISPLAY_VERSION>
         <LATEST_DISPLAY_VERSION>
            <Data>J510FNXXS2AQI4/J510FNITV2AQI4/J510FNXXU2AQG1/J510FNXXS2AQI4</Data>
         </LATEST_DISPLAY_VERSION>
         <CASH_SERVER_IP>
            <Data></Data>
         </CASH_SERVER_IP>
         <BLOCKING_APP>
            <Data>0</Data>
         </BLOCKING_APP>
         <BINARY_EMERGENCY_OTP_RECEIVE>
            <Data></Data>
         </BINARY_EMERGENCY_OTP_RECEIVE>
         <DEVICE_IMEI_NUMBER>
            <Data></Data>
         </DEVICE_IMEI_NUMBER>
         <UPDATE_NOTICE>
            <Data>0</Data>
         </UPDATE_NOTICE>
         <BINARY_TYPE>
            <Data>0</Data>
         </BINARY_TYPE>
         <SUPPORT_BD_20>
            <Data>0</Data>
         </SUPPORT_BD_20>
         <BINARY_CRC_BD_20>
            <Data></Data>
         </BINARY_CRC_BD_20>
         <BINARY_SIZE_BD_20>
            <Data></Data>
         </BINARY_SIZE_BD_20>
         <BINARY_NAME_BD_20>
            <Data></Data>
         </BINARY_NAME_BD_20>
         <LAST_MODIFIED_BD_20>
            <Data></Data>
         </LAST_MODIFIED_BD_20>
         <DEVICE_BINARY_FOLDER_BD_20>
            <Data></Data>
         </DEVICE_BINARY_FOLDER_BD_20>
         <DEVICE_AMSS_FILE_BD_20>
            <Data></Data>
         </DEVICE_AMSS_FILE_BD_20>
         <DEVICE_RSRC1_FILE_BD_20>
            <Data></Data>
         </DEVICE_RSRC1_FILE_BD_20>
         <DEVICE_RSRC2_FILE_BD_20>
            <Data></Data>
         </DEVICE_RSRC2_FILE_BD_20>
         <DEVICE_X_FS_FILE_BD_20>
            <Data></Data>
         </DEVICE_X_FS_FILE_BD_20>
         <DEVICE_APPS_FILE_BD_20>
            <Data></Data>
         </DEVICE_APPS_FILE_BD_20>
         <DEVICE_CSC_FILE_BD_20>
            <Data></Data>
         </DEVICE_CSC_FILE_BD_20>
         <DEVICE_SHPAPP_FILE_BD_20>
            <Data></Data>
         </DEVICE_SHPAPP_FILE_BD_20>
         <DEVICE_FOTA_FILE_BD_20>
            <Data></Data>
         </DEVICE_FOTA_FILE_BD_20>
         <DEVICE_PFS_FILE_BD_20>
            <Data></Data>
         </DEVICE_PFS_FILE_BD_20>
         <DEVICE_PFS_SIZE_BD_20>
            <Data></Data>
         </DEVICE_PFS_SIZE_BD_20>
         <FW_INDEX_BD_20>
            <Data></Data>
         </FW_INDEX_BD_20>
         <LATEST_DISPLAY_VERSION_BD_20>
            <Data></Data>
         </LATEST_DISPLAY_VERSION_BD_20>
         <LATEST_FW_VERSION_BD_20>
            <Data></Data>
         </LATEST_FW_VERSION_BD_20>
         <BINARY_EMERGENCY_OTP_RECEIVE_BD_20>
            <Data></Data>
         </BINARY_EMERGENCY_OTP_RECEIVE_BD_20>
         <BNR_SUPPORT>
            <Data>0</Data>
         </BNR_SUPPORT>
         <CDNURL>
            <Data>https://neofussvr.sslcs.cdngc.net/</Data>
         </CDNURL>
         <DEVICE_MODEL_DISPLAYNAME>
            <Data>Galaxy J5 ⑥</Data>
         </DEVICE_MODEL_DISPLAYNAME>
         <FACTORY_SUPPORT>
            <Data>3</Data>
         </FACTORY_SUPPORT>
         <FACTORY_DO_EXIST>
            <Data>1</Data>
         </FACTORY_DO_EXIST>
         <BINARY_NATURE>
            <Data>0</Data>
         </BINARY_NATURE>
         <FACTORY_KEY_TYPE>
            <Data>6</Data>
         </FACTORY_KEY_TYPE>
         <NOTICE_URL_FIRST>
            <Data></Data>
         </NOTICE_URL_FIRST>
         <NOTICE_URL_LAST>
            <Data></Data>
         </NOTICE_URL_LAST>
         <MEMORY_SIZE_CHECK>
            <Data>3</Data>
         </MEMORY_SIZE_CHECK>
         <ROUTING_SUPPORT>
            <Data>0</Data>
         </ROUTING_SUPPORT>
         <SN_TYPE>
            <Data></Data>
         </SN_TYPE>
         <SETTING_INFO>
            <Data></Data>
         </SETTING_INFO>
         <MEMORY_ANNOUNCE>
            <Data></Data>
         </MEMORY_ANNOUNCE>
         <UPGRADE_VARIABLE>
            <Data>0</Data>
         </UPGRADE_VARIABLE>
         <BUTTON_TYPE>
            <Data>0</Data>
         </BUTTON_TYPE>
         <ADD_DESCRIPTION_FLAG>
            <Data>0</Data>
         </ADD_DESCRIPTION_FLAG>
         <ADD_DESCRIPTION>
            <Data></Data>
         </ADD_DESCRIPTION>
         <ADD_ANNOUNCE_FLAG>
            <Data>0</Data>
         </ADD_ANNOUNCE_FLAG>
         <ADD_ANNOUNCE>
            <Data></Data>
         </ADD_ANNOUNCE>
         <ADD_LATEST_DISPLAY_VERSION>
            <Data>J510FNXXS2AQI4/J510FNITV2AQI4/J510FNXXU2AQG1/J510FNXXS2AQI4</Data>
         </ADD_LATEST_DISPLAY_VERSION>
         <ADD_LATEST_FW_VERSION>
            <Data>J510FNXXS2AQI4/J510FNITV2AQI4/J510FNXXU2AQG1/J510FNXXS2AQI4</Data>
         </ADD_LATEST_FW_VERSION>
         <CURRENT_OS_VERSION>
            <Data>Marshmallow(Android 6.0.1)</Data>
         </CURRENT_OS_VERSION>
         <LATEST_OS_VERSION>
            <Data>Marshmallow(Android 6.0.1)</Data>
         </LATEST_OS_VERSION>
         <ADD_OS_VERSION>
            <Data>Marshmallow(Android 6.0.1)</Data>
         </ADD_OS_VERSION>
         <ADD_NOTICE_URL_FIRST>
            <Data></Data>
         </ADD_NOTICE_URL_FIRST>
         <ADD_NOTICE_URL_LAST>
            <Data></Data>
         </ADD_NOTICE_URL_LAST>
         <OBEX_SUPPORT>
            <Data>0</Data>
         </OBEX_SUPPORT>
         <ABSOLUTE_SUPPORT>
            <Data>0</Data>
         </ABSOLUTE_SUPPORT>
         <COMMON_PLUGIN>
            <Data>1</Data>
         </COMMON_PLUGIN>
         <VERSION_HELP_TEXT>
            <Data>1</Data>
         </VERSION_HELP_TEXT>
         <LOGIC_OPTION_HOME>
            <Data>1</Data>
         </LOGIC_OPTION_HOME>
         <LOGIC_VALUE_HOME>
            <Data>t19nknmk1xws03ye</Data>
         </LOGIC_VALUE_HOME>
         <LOGIC_OPTION_FACTORY>
            <Data>1</Data>
         </LOGIC_OPTION_FACTORY>
         <LOGIC_VALUE_FACTORY>
            <Data>1329q84uz6k6pi4v</Data>
         </LOGIC_VALUE_FACTORY>
         <CDN_TRAFFIC>
            <Data>0</Data>
         </CDN_TRAFFIC>
         <CDN_TRAFFIC_OPTION>
            <Data>null</Data>
         </CDN_TRAFFIC_OPTION>
         <BATTERY_STANDARDS>
            <Data>3700</Data>
         </BATTERY_STANDARDS>
         <BATTERY_PERCENT>
            <Data>20</Data>
         </BATTERY_PERCENT>
         <SHARING_BINARY>
            <Data>0</Data>
         </SHARING_BINARY>
         <DEVICE_CSC_HOME_FILE>
            <Data></Data>
         </DEVICE_CSC_HOME_FILE>
         
         <USER_DATA_BINARY>
            <Data>0</Data>
         </USER_DATA_BINARY>
         <DEVICE_USER_DATA_FILE>
            <Data></Data>
         </DEVICE_USER_DATA_FILE>
         <DVIF_SALES_VER>
            <Data>0</Data>
         </DVIF_SALES_VER>
         <SIZE_CHECK_PATH>
            <Data>/data:,/dev/block/mmcblk0p28:</Data>
         </SIZE_CHECK_PATH>
         <SSP_DEVICE_SIZECHECK>
            <Data>1</Data>
         </SSP_DEVICE_SIZECHECK>
      </Put>
   </FUSBody>
</FUSMsg>


Se il file non esiste quindi roba del canale test

Spoiler: mostra
<?xml version="1.0" encoding="utf-8" ?>
<FUSMsg>
   <FUSHdr>
      <ProtoVer>1.0</ProtoVer>
      <SessionID></SessionID>
      <MsgID>1</MsgID>
   </FUSHdr>
   <FUSBody>
      <Results>
         <CmdRef>2</CmdRef>
         <Status>400</Status>
      </Results>
   </FUSBody>
</FUSMsg>


vorrei capire dalla sorgente del tool https://github.com/eladkarako/samfirm-sourcecode come far scaricare da questo canale http://fota-cloud-dn.ospserver.net/firmware/ITV/SM-J510FN/version.test.xml i firmware.
Io  ho la username che il mio imei il server id il server passoword ed la user password per accedere nel sito fus, fota ect ect cose
« Ultima modifica: 03 Dicembre 2017, 00:13 da ItalianGamer91 »

Offline ItalianGamer91

  • Membro Anziano
  • ***
  • 294
Re:Come posso scaricare dai server samsung i firmware test?
« Risposta #1 il: 04 Dicembre 2017, 16:11 »
UPDATE

Offline ItalianGamer91

  • Membro Anziano
  • ***
  • 294
Re:Come posso scaricare dai server samsung i firmware test?
« Risposta #2 il: 05 Dicembre 2017, 16:44 »
update dal sorgente di samfirmware ho fatto delle modifiche ma ho un problema
[assembly: System.Runtime.CompilerServices.Extension] dove devo mettere la chiave this?