Git Product home page Git Product logo

Comments (7)

coolirc avatar coolirc commented on July 26, 2024

hello i used the qdload utility suggested by veveveve but it seems the utility is creating only one file called current-r.bin but the second file current-w.bin is not created ?
it says found partition in reading mode .
here's the output of the command

` Loading loaders/NPRG9x25p.bin...

Sending programmer to device...

Programmer has been sucsessfully sent

Protocol version: 3
Platform: MDM9x25
NAND controller base address: f9af0000
Flash chip: Hynix H27S4G8F2EDA-BC , NAND 512MiB 1.8V 8-bit
Sector size: 516 bytes
Page size: 2048 bytes (4 sectors)
Pages per block: 64
OOB size: 64 bytes/page
ECC algo: BCH, 4 bits
ЕСС size: 7 bytes/sector
Spare size: 4 bytes/sector
Badblock marker position: user+1d1
Flash chip size = 4096 blocks (512 MB)


  • Found: read mode partition table`

from qtools.

coolirc avatar coolirc commented on July 26, 2024

Hello again
actually after viewing the source code of qdload.c the part of saving the partition table to ptable\current-w.bin is commented out , i tried to uncomment it and to compile but it seems the variables are changed you'll get many errors and it won't compile.
thanks for fixing it .

from qtools.

coolirc avatar coolirc commented on July 26, 2024

the issue is fixed with an old release of qdload. 2015 version.
but still the new release should be fixed also .

qdload -p22 -k3 -s -i -t
Ожидаем пакет Hello от устройства...

Идентификатор образа для загрузки: 00000007

Загружаем loaders/NPRG9x25p.bin...

Передаём загрузчик в устройство...

Загрузчик запущен успешно
Отсылка hello...ok
Чипсет: MDM9x25 (f9af0000)
Флеш-память: Hynix H27S4G8F2EDA-BC , NAND 512MiB 1.8V 8-bit
Версия протокола: 3
Максимальный размер пакета: 1024 байта
Размер сектора: 512 байт
Размер страницы: 2048 байт (4 секторов)
Размер OOB: 64 байт
Тип ECC: BCH, 4 бит
Общий размер флеш-памяти = 4096 блоков (512 MB)


  • Найдена таблица разделов режима чтения
  • Найдена таблица разделов режима записи

from qtools.

carver-ua avatar carver-ua commented on July 26, 2024

I recommend a magic utility called WinHex ))
allows you to cut both tables from the qtools dump.
the second the magic utility - is called DD ))

Well seriously, it's about nothing.

from qtools.

coolirc avatar coolirc commented on July 26, 2024

well actually for you it's nothing for me i'm trying to learn and try to flash partitions separately

but still qwflash utility is not accepting the partition table

qwflash.exe -p22 -s ptable\current-w.bin -w 02-0-EFS2.bin:efs2

--Раздел-- ------- Файл -----

00 0:efs2 02-0-EFS2.bin

secure mode...ok
Отсылаем таблицу разделов... ошибка!
! send_ptable() вернул ошибку: Unknown error accepting partition table
Код ошибки = 00000007

from qtools.

carver-ua avatar carver-ua commented on July 26, 2024

попробуй по смещению писать. укажи конкретный адрес
qwdirect -p 23 -k 3 -b 0x14 -fi 02-0-EFS2.oob

команда, что ты написал, с 02-0-EFS2.bin, по идее так не должно работать.

  1. буты обычно не понимают слово efs2. скорее большинство старых бутов
    при флешировании на слова не отзываюются. х.з. но там часто просят номер.
    (ну если qwflash - это квалкомовский флеш)

  2. ну и если 02-0-EFS2.bin - это дамп с другого устройства, то через квалком он не флешится.
    02-0-EFS2.bin для квалкомовской загрузки - ты должен сделать сам.

для этого нужен CEFS, еще зовется фактори EFS. это другой формат.
колдуется специальной прогой из tar и xml. х.з. я ниразу не делал, но в гугле так.

иногда CEFS - можно получить в QMAT. там опция есть, фактори EFS.
в 99% случаев - не работает. потому что прошивка - не отдает фактори уже.

так-что, имно для EFS - только qwdirect и адресс.

from qtools.

coolirc avatar coolirc commented on July 26, 2024

ok thanks so in generally i should do it with raw mode. and address specefic for it 0x...
that's what qwdirect is for.

from qtools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.