RIFF JTAG – Lenovo LePhone 3G W100 Unbrick – Boot repair supported

19.12.2011  Lenovo LePhone 3G W100 Unbrick – Boot repair supported

Resurrecting Lenovo LePhone 3GW100 is easy. To establish JTAG connection make sure battery is charged enough and hold Power On button during initiation of JTAG connection.
To resurrect Lenovo LePhone 3GW100:

  •  Solder JTAG cable to Lenovo LePhone 3GW100 JTAG pads;
  •  Insert battery;
  •  Make sure Lenovo LePhone 3GW100 is selected in the list of models;
  •  Press and hold Power On key;
  •  Click Resurrect button;
  •  Wait till software signals a successful operation completion;
  •  Disconnect power supply, de-solder JTAG wires;

Now phone is in bootable condition, that is, even if it does not start up normally, you can flash it using known flashing methods.

RIFF JTAG – CDMA Motorola w210 supported

16.12.2011 CDMA Motorola w210 supported

Resurrecting Motorola W210 is simple. Phone is auto powered on with charger connected; battery presence is not required. Pin TMODE has to be connected to GND in order to enable JTAG connection.
Please note, MSM6000 draws power from JTAG pins, thus board can be detected via JTAG even without any power supplied. But for successful resurrection the power (battery or charger) is required. Thus when resurrection is complete don’t forget to disconnect phone from RIFF BOX to de-power it completely.
Current resurrector contains Firmware and EEPROM zones for memory chip with ID 0x0089/0x8855

To resurrect Motorola W210:

  •  Solder JTAG cable to Motorola W210 JTAG pads;
  •  Connect charger for auto power on or use battery;
  •  Make sure Motorola W210 is selected in the list of models;
  •  Click Resurrect button;
  •  Choose which areas to flash;
  •  Wait till software signals a successful operation completion;
  •  De-solder JTAG wires;
_

RIFF JTAG – Direct JTAG Access to Flash Memory Plugin v1.00 released

16.12.2011 Direct JTAG Access to Flash Memory Plugin v1.00

Release info:

This plugin performs direct access to a flash memory used in the selected target. No DCC Loader is used here, thus it is completely independent of target hardware implementation (RAM memory availability, visibility, addressing and layout, core clocking, etc.). Main disadvantage is a noticeable data exchange speed decrease comparing to the DCC Loader’s data exchange speeds (approximately 10…20 times slower).

With the help of this plugin you can do:

  • Read selected flash memory range;
  • Write selected flash memory range;
  • Erase selected flash memory range.

Currently supported memory controllers are:

  • OneNAND Memory (connected directly to the MCU’s address space);
  • CFI Compliant NOR Memory with CFI Command sets 0x0001, 0x0002, 0x0200 and 0x0003;
  • NAND Controller in MSM6250, MSM6250A;
  • NAND Controller in QSC6055, QSC6085, QSC6240, QSC6270;
  • NAND Controller in MDM6085, MDM6200, MDM6600;
  • NAND Controller in MSM6245, MSM6246, MSM6270, MSM6275, MSM6280, MSM6280A, MSM6281, MSM6290, MSM6800A, MSM6801A;
  • NAND Controller and OneNAND Controller in MSM7225, MSM7227, MSM7625, MSM7627;
  • NAND Controller in MSM7200, MSM7200A, MSM7201A, MSM7500, MSM7500A, MSM7501A, MSM7600;
  • NAND Controller in QSD8250, QSD8650;
  • eMMC Controller #2 in MSM7230, MSM8255, MSM8255T;
  • eMMC Controller #0 in S5PV310;


Currently supported chipsets and cores for JTAG I/O operations:

  • Generic ARM Cores: ARM7, ARM9 (ARM920, ARM926, ARM946), ARM11, CORTEX-A8,CORTEX-A9;
  • Qualcomm QSC Family: QSC1100, QSC1110, QSC6010, QSC6020, QSC6030, QSC6055, QSC6085, QSC6240, QSC6270;
  • Qualcomm MSM Family: MSM6000, MSM6150, MSM6245, MSM6246, MSM6250, MSM6250A, MSM6260, MSM6275, MSM6280, MSM6280A, MSM6281, MSM6800A, MSM6801A, MSM6290, MSM7225, MSM7227, MSM7625, MSM7627, MSM7230, MSM8255, MSM8255T, MSM8260;
  • Qualcomm QSD Family: QSD8250, QSD8650;
  • Qualcomm ESM Family: ESM7602A;
  • Qualcomm MDM Family: MDM6085 MDM6200, MDM6600;
  • OMAP Family: OMAP1710, OMAP3430, OMAP3630, OMAP4430;
  • NVIDIA Family: TEGRA2;
  • Marvell/XScale Family: PXA270, PXA271, PXA272, PXA310, PXA312, PXA320.
  • Samsung Processors: S5P6422, S5PV310.

Memory reading/programming logic is almost same as is performed on the DCC Read/Write page in the JTAG Manager – Main and Spare fields, Auto FullFlash size detection, ability to flash image files (for NAND)., etc. Users familiar with the DCC Read/Write page features will not be required to learn almost anything new in order to be able to use this plugin. Thus it means data files read from memory by this plugin (partial or full flash image) can be flashed back through the DCC Read/Write page, and vice versa.
Here, it is user’s task now to know such info about target as what exact MCU is used in current device, what memory is used (NAND, OneNAND, NOR, eMMC/SD, MDOC or other), which component of target system can see this memory (for example NAND memory is usually visible to MCU’s Embedded Memory Controller, while NOR is directly accessible by the MCU itself; OneNAND memory in most cases is directly accessible by MCU but sometimes it can be visible via MCU’s Embedded Memory Controller).

Please note main differences with the DCC Read/Write methods:

  • Exact chipset (MCU) name selection is required;
  • Memory type selection is required (for example: NAND or NOR memory);
  • Which component of target system can see this memory (for example: MCU itself or MCU’s Embedded Memory Controller): the ‘Memory Type & Host’ setting;
  • Memory Controller Mode is introduced here (while on DCC Read/Write page in the JTAG Manger the Memory Controller Mode was automatically chosen depending on ROMi Address Space selected). Many Qualcomm NAND Controllers are widely configurable, for example they allow for firmware to select any desired position of bad block marker byte inside of NAND page’s main or spare area, and upon reads/writes this byte will be handled by controller itself, making it ‘invisible’ in the NAND page data. Thus reading NAND with configuration different to the one used by the manufacturer for writing data into this NAND memory (firmware for example) will result in 1 byte to be erroneously read or lost. In many cases (by many manufacturers) the default bad block marker position is configured to be at offset 0x01D1 in the page’s main area (abbreviated Memory Controller Mode you will see in the list as this: “M:0200/S:10/BM:01D1” – meaning NAND controller to be configured for main area 0x0200 bytes, spare area 0x0010 bytes, bad block marker position in main area (BM) at offset 0x01D1 (BM:01D1)); other most common case is for bad block marker to be at position 0x0006 in spare area (such abbreviated Memory Controller Mode you will see in the list as this: “M:0200/S:10/BS:0006” – meaning NAND controller to be configured for main area 0x0200 bytes, spare area 0x0010 bytes, bad block marker position in spare area (BS) at offset 0x0006 (BS:0006));
  • During NAND read operations, if ECC Module Enable is checked, the ECC status is checked too. Thus make sure to disable ECC checks during reads unless you’re in need for an advanced operation.

Short Manual how to Read/Write/Erase memory:

  • Select chipset (MCU) used in the current target (for example MSM6280);
  • Select memory type and it’s host (MCU or MCU’s Embedded Memory Controller);
  • Setup TCK/RTCK frequencies, JTAG I/O Voltage levels, target’s core position on the JTAG scan chain (TAP#);
  • Connect target device to the RIFF BOX, make sure it has power, and click Connect & Flash ID button to ensure target device is connected and selected memory is initialized and visible;
  • All further actions are completely same as is done when using DCC Read/Write page features.

Most common errors which can happen during direct read/write operations:

  • The NRST signal is neglected by user. Please take into account that NRST signal is the most important one. Making system reset helps debugger (RIFF BOX) to establish device into 100% pre-known hardware state, which guarantees that a MCU’s memory controller selected by user will be configured as it should be and successful memory access will be established;
  • Cannot connect to selected memory (Connect & Flash ID): check NRST signal; check Reset Method in settings; make sure proper MCU, memory type and controller is selected in settings; in case NOR or directly accessible OneNAND memory is selected make sure valid memory base is set;
  • “Resetting and Halting Target…” fails: make sure device is powered and power on key (if present) is pressed during this stage; some devices like HTCs based on the MSM8255 chipsets are fused, and JTAG may be enabled only by started firmware – thus you may need to vary the Reset Method settings: disable reset at all (which is not desirable though) or adjust higher waiting time after system is reset by the NRST signal assertion to the moment when an attempt to HALT core is made (for fused HTCs based on MSM8255 this is 670 ms and more);

RIFF JTAG – Samsung Star Duos (C6712) Unbrick – Boot repair supported

29.11.2011  Samsung Star Duos (C6712) Unbrick – Boot repair supported

Samsung C6712 resurrection is simple. Battery is not required. To power the board it’s most convenient to use an USB Data Cable.
In order to contact to JTAG pads you may need to carefully scratch off paint covering (mask layer) above them. Sometimes there is reset problem with these phones, thus you may need to disconnect and then connect USB cable again.

To resurrect Samsung C6712 do this:

  •  Solder JTAG cable to Samsung C6712 JTAG pads;
  •  Insert battery and connect USB cable to phone and PC;
  •  Make sure Samsung C6712 is selected in the list of models
  •  Click Resurrect button;
  •  Wait few seconds until software signals a successful operation completion;
  •  Disconnect USB cable, de-solder JTAG wires;

Now phone is in bootable condition, that is, even if it does not start up normally, you can flash it using original Samsung downloader software to restore it to the working state.

To enter download mode:

  •  Disconnect PC cable;
  •  Insert battery;
  •  Hold both ‘Volume Down’ and ‘SIM Swap’ keys and press Power-On.
__

RIFF JTAG – Unbrick Samsung Galaxy TAB Wi-Fi (P1010), more CDMA Models supported

22.11.2011  Unbrick Samsung Galaxy TAB Wi-Fi (P1010), more CDMA Models supported

Samsung P1010 is based on the OMAP3630 (ARM core is Cortex-A8).

Note, one simple way to connect over JTAG – connect USB cable to PC and insert battery. In this case phone is automatically powered on. But note, in very rare cases it is possible that you will have to hold Power On key during initial connection.
In case after resurrection (after you have tried with both boot versions) the download mode is not initiated (LCD remains blank) do repeat resurrection with ‘Clone Gremlin zone’ option checked.
Please note, in most cases you will be required to insert Samsung P1010 RIFF™ MagicCard into phone’s SD slot before starting resurrection. In case you don’t have such card yet, you can create it on the “Samsung P1010 RIFF™ MagicCard” page of the resurrector settings dialog.
This is IRAM version of the Samsung P1010 resurrector. We recommend you using it only in case you had problems connecting to phone with normal Samsung P1010 resurrector DLL.

To resurrect Samsung P1010:

  •  Solder JTAG cable to Samsung P1010 JTAG pads;
  •  Insert Samsung P1010 RIFF™ MagicCard into phone’s SD slot;
  •  Connect USB cable to phone and PC;
  •  Insert battery;
  •  Make sure Samsung P1010 is selected in the list of models;
  •  Click Resurrect button;
  •  Wait till software signals a successful operation completion;
  •  Disconnect USB cable, de-solder JTAG wires;

Now phone is in bootable condition, that is, even if it does not start up normally, you can flash it using original Samsung downloader software to restore it to the working state.

To enter download mode:

  •  Disconnect PC cable;
  •  Insert battery;
  •  Hold both ‘Volume Down’ and ‘Home’ keys and press Power-On.
There are two DLL-s (Normal and iRAM version) – You can use iRam version in case normal one doesnt work properly. iRam version is much slower, but more robust.
CDMA Models added today :
  • ZTE  AC2766
  • ZTE  AC2746
  • AnyData  ADU555C
Please click “Check for Updates” button in order to download and install new updates.

RIFF JTAG – CDMA Updates released

21.11.2011  CDMA Updates released

Whats new:

  • Added repair support for ZTE F280
  • Added repair support for Micromax C100
  • Added repair support for Intex In50
  • Added repair support for Huawei ETS2225
  • Added repair support for Huawei ETS 2222
  • Added repair support for Huawei ETS2205
Please click “Check for Updates” button in Box Service TAB in order to download and install new files.

RIFF JTAG – QUALCOMM MDM6600 Generic DLL released

19.11.2011  – QUALCOMM MDM6600 NAND Generic DLL released

Whats new:

  • QUALCOMM MDM6600 NAND DLL

Use this for phones which have MDM6600 in baseband – eg LG P999, iPhone 4s, and many other phones which use TEGRA2 AP CPU.

 

  • QUALCOMM MSM7227 OneNAND DLL (2kb page)
  • QUALCOMM MSM7227 OneNAND DLL (4kb page)
  • QUALCOMM QSC6xxx OneNAND DLL

All other QUALCOMM Generic DLL-s are now under same branch, so here is full revised list :

 

  • ESM7xxx L41 D04 NAND
  • MDM6600 NAND
  • MSM6xxx L06 D02 NAND
  • MSM7227 L41 D08 OneNAND
  • MSM7227 L41 D08 OneNAND 4k
  • MSM7xxx L41 D04 NAND
  • MSM7xxx L41 D08 NAND
  • QSC1100 x14 NOR
  • QSC60xx L18 D08 NOR
  • QSC6xx L20 D08 NOR
  • QSC60xx L24 D08 NOR
  • QSC6xxx L32 D08 NAND
  • QSC6xxx L36 D08 NAND
  • QSC6xxx L36 D08 OneNAND
  • QSD8xxx L41 D04 NAND
Press “Check for updates” button in order to download and install new files.

RIFF JTAG – LG P999 G2X (LG Star) Modem unbrick/repair supported

19.11.2011  LG P999 G2X (LG Star) Modem unbrick/repair supported

Resurrecting LG P999 Modem part is very hard because it requires non-beginner soldering skills (since JTAG pads on board are very small and are close to each other).
Phone is auto powered on with USB Data Cable connected to the PC while battery is inside; sometimes during connection pressing Power On key may be required.

To resurrect LG P999 Modem Part:

  •  Solder JTAG cable to LG P999 Modem JTAG pads;
  •  Insert USB Data cable into board and PC;
  •  Make sure LG P999 Modem is selected in the list of models;
  •  Click Resurrect button;
  •  Wait till software signals a successful operation completion;
  •  Disconnect power supply, de-solder JTAG wires;

Now phone is in bootable condition, that is, even if it does not start up normally, you can flash it using known flashing methods.

 

RIFF JTAG – Unlock/IMEI/TA repair – SonyEricsson x8, x10, x10 Mini, x10 mini pro (e15, e10,u20 etc)

11.11.2011    Unlock/IMEI/TA repair –  SonyEricsson x8, x10, x10 Mini, x10 mini pro (e15, e10,u20 etc)

Resurrecting SonyEricsson phones is easy. Phone is auto powered on with USB Data Cable connected to the PC while battery is inserted.

With current resurrector you can choose Unlock or Resurrection operation to perform. During resurrection, you can select which areas to be repaired. Please note, in some cases phone reports failure during firmware update: in this case you may need to select option to erase Modem SW zone during resurrection.

Example :

During Unlock operation full backup of relevant zones is made, thus you have no risk killing your phone permanently – you have always an option to restore your phone to its original condition with the backup file. Backup files are created in JTAG Manager root directory, in the folder ‘BackupFiles’.

Example :

RIFF JTAG – JTAG Manager v1.37, RIFF Box firmware v1.28 released

11.11.2011      JTAG Manager v1.37, RIFF Box firmware v1.28 released

Whats new :

JTAG Manager 1.37
—————————

  • Fixed bug which caused not to report improper firmware version of riff box
  • (SDK): more functions are now available (exported) for future Resurrector DLLs;

Firmware 1.28
—————————

  • Added few more H/W script (*.has) instructions;
  • Added some security extensions for Xperia repair;