台电论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

【Exclusive!】 T20 NVRAM image generator Java Version

[复制链接]

5104

CODEPLAY 一级台风 发表于 2019-6-28 15:50:45 | 显示全部楼层 |阅读
先说明一下,中文的已经放在贴吧里了,这里发个英文的,希望可以帮到海外的朋友

I was helping friends re-write their NVRAM of T20 recently, I uploaded my own NVRAM image into cloud disk and updated real data such as IMSI, Serial No, WIFI MAC and Blue Tooth MAC by using a tool named sn_gen. But yesterday I found,images of MP0B_001(IMSI) and MP09_001(SN) generated by that kind of tools are not matched T20, because encoding scheme is changed since MTK67 seriial device. sn_gen is dedicated for A750(MTK6575),

Defference are masking data and magic code of MP0B_001, this will lead integrety check broken when OS load NVRAM. Another difference is length of serial number in MP09_001, A750 request 18 charactors of serial number, but T20 SN seem only be 16 charactors.

I wrote a Java program last night, to generate NVRAM image from my fake-data image and input parameters. I uploaded iit to cloud, with source code. It's easy to use, open DOS window , enter the directory, inpit java -cp. PatchT20NVRAM and press entry, you can find usage inforamtion. There are some comments in the PatchT20NVRAM.java.

Maybe this is the only tool can generate MTK 67 serial image in the internet. Hope iy can help.
Good Lucky friends.
 楼主| CODEPLAY 一级台风 发表于 2019-6-28 15:57:26 | 显示全部楼层
Linck--> delete line-feed below
pan.
baidu.
com/
s/14SAEWufeE6FXdfpy_xBN2w

passcode: q3xj

mmkkllpp 一级台风 发表于 2019-7-2 08:50:07 | 显示全部楼层
请问这个新的怎么使用,上次贴吧的文件,我刷了似乎平板没什么变化
 楼主| CODEPLAY 一级台风 发表于 2019-7-8 12:15:42 | 显示全部楼层
mmkkllpp 发表于 2019-7-2 08:50
请问这个新的怎么使用,上次贴吧的文件,我刷了似乎平板没什么变化

旧的不成功是因为image里面用了sn_gen生成的MP09_001个MP0B_001,而sn_gen的这两个数据的编码和T20的不兼容。如果你电脑里有java的话可以打下面的命令:
  1. java -cp . PatchT20NVRAM T20 SN=XXXX..X  IMEI=XXXX..XX MAC1=AA:BB:CC:DD:EE:FF MAC2=AA:BB:CC:DD:EE:FF
复制代码

SN是序列号,16字符,但发现8.1.1版不会显示
IMEI是14或者15个数字
MACI1是Wifi的MAC地址
MAC2是蓝牙的MAC地址

假设你的序列号是I_AM_T20_1234567,IMEI是12345678904444,Wifi MAC是00:92:A1:A2:A3:04,蓝MAC是00:92:B1:B2:B3:04,
那么命令就是:
  1. java -cp . PatchT20NVRAM  T20 SN=I_AM_T20_1234567 IMEI=12345678904444 MAC1=00:92:A1:A2:A3:04 MAC2=00:92:B1:B2:B3:04
复制代码

跑完之后会生成几个文件,其中一个就是NVRAM_T20_V7.1.x_AB00000_500000-mine.img,用此image写入NVRAM即可。也可以用网盘中附带的iamge直接写。




新的分享地址后面是/1uqWd5MGOb7sjzl7gduFmFg
提取码: xi9e

mmkkllpp 一级台风 发表于 2019-7-9 12:42:03 | 显示全部楼层
CODEPLAY 发表于 2019-7-8 12:15
旧的不成功是因为image里面用了sn_gen生成的MP09_001个MP0B_001,而sn_gen的这两个数据的编码和T20的不兼 ...

感谢大佬热心回复,我去试试,相信这次必定成功,序列号显示0123456789ABCDEF的问题,估计nvram分区压根就没有序列号信息吧,因为我丢失了nvram分区之后,序列号显示的也是这个号,除了imei码没有和WiFi mac地址不固定以外,暂时没发现bug
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

All Contents Copyright @2003 - 2017 Teclast Electronics Co., Ltd. 粤ICP备17036103号 

快速回复 返回顶部 返回列表