新加LID至PRODUCT INFO之后 用Meta工具和Apk读写数据异常
时间:10-02
整理:3721RD
点击:
[Description]
目前在MP版本的product info的客制化过程中,另行添加一个a_LID后,无论是用meta还是借助apk对a_LID进行读写,都有值不对的现象存在。
为确认问题需要做的测试流程(假设新加LID为a_LID,原先已经在的为AP_CFG_REEB_PRODUCT_INFO_LID,简称p_LID):
1. Format the whole flash –> download with FlashTool
2. Readback partition pro_info and check if the default value is 0x00
3. Connect Phone with Meta, read p_LID and a_LID, check them
4. Write a_LID with 0x01 0x02 0x03, save it to nvram. Then read a_LID and p_LID, check them
5. Readback partition pro_info and check the value
6. Write p_LID with 0x04 0x05 0x06, save it to nvram. Then read a_LID and p_LID, check them
7. Readback partition pro_info and check the value
如果测试结果表明,写入NvRAM的时候,无论写入product info的index是多大,都会从offset为0的地方开始写/dev/pro_info的,则考虑打上我们的patch。
[Cause]
读写NvRAM的地方有异常。
[Solution]
ALPS.JB2.MP.V1.2: ALPS00501592
ALPS.JB.MP.V1.15: ALPS00484040
ALPS.JB.MP.V1.39: ALPS00501592
ALPS.JB3.MP ALPS00839977
ALPS.JB3.TDD.MP ALPS00839977
[Platform]
目前只在JB2.MP、JB.MP和ICS2.MP上都有patch。
目前在MP版本的product info的客制化过程中,另行添加一个a_LID后,无论是用meta还是借助apk对a_LID进行读写,都有值不对的现象存在。
为确认问题需要做的测试流程(假设新加LID为a_LID,原先已经在的为AP_CFG_REEB_PRODUCT_INFO_LID,简称p_LID):
1. Format the whole flash –> download with FlashTool
2. Readback partition pro_info and check if the default value is 0x00
3. Connect Phone with Meta, read p_LID and a_LID, check them
4. Write a_LID with 0x01 0x02 0x03, save it to nvram. Then read a_LID and p_LID, check them
5. Readback partition pro_info and check the value
6. Write p_LID with 0x04 0x05 0x06, save it to nvram. Then read a_LID and p_LID, check them
7. Readback partition pro_info and check the value
如果测试结果表明,写入NvRAM的时候,无论写入product info的index是多大,都会从offset为0的地方开始写/dev/pro_info的,则考虑打上我们的patch。
[Cause]
读写NvRAM的地方有异常。
[Solution]
ALPS.JB2.MP.V1.2: ALPS00501592
ALPS.JB.MP.V1.15: ALPS00484040
ALPS.JB.MP.V1.39: ALPS00501592
ALPS.JB3.MP ALPS00839977
ALPS.JB3.TDD.MP ALPS00839977
[Platform]
目前只在JB2.MP、JB.MP和ICS2.MP上都有patch。
学习学习
进来学习
