יום חמישי, מרץ 28, 2024

If you have a recent #pinephonepro or #pinephone that had been puchased post June 2023, you should not downgrade the modem version. as it would brick without the #opensource firmware, there was no warning from #pine64 about it

אם רכשתם מכשיר pinephone או pinephonepro החל מנובמבר 2023 הזהרו שלא לשנמך גירסה, כי מתברר שגרסת הbootloader של המודם תשבית לכם את המודם, אבל יש דרך להמנע מהבלאגן הזה והיא לעבור להשתמש בגרסה הפתוחה שלא מכילה את הפיטצ'ר הזה או ואפילו מתקנת מספר חורי אבטחה בגרסאות ישנות.

במסמך של הייצרן שמצאתי האזהרה קיימת, תאריך המסמך הוא נומבר 2022, באתר של pine64 לא ראיתי שום אזהרה לגבי זה.  האזהרה היא :
1. In Russia and Iran, cellular modules will not be able to register on network and GNSS modules will not be
able to fix position after the firmware upgrade.

2. The old firmware version can be upgraded to the new version but the new one does not support firmware
downgrade. For any required upgrade, please contact Quectel Technical Support (support@quectel.com)
in advance. Any firmware upgrade without prior approval of Quectel may lead to module crashing.
באתר המוצר כן קיים מלל שאומר שיש תמיכה ב GLONASS (טכנלוגיה רוסית)

ע"פ מה שהצלחתי למצוא כל גרסה שבה יש 2XX היא גירסה עם המגבלה הזו , למשל הגרסה EG25GGBR07A08M2G_30.202.30.202 ,אמורה להכיל את התוספת ההזאת בגלל שזה 202 את הגרסה ניתן לקבל ע"י שליחת הקשה AT+QGMR? למודם.

בדקתי גרסאות וראיתי שזה מגיע לפחות מיוני 2023 : 
ATI;+CSUB;+CVERSION                                                                                                                                                      
                                                                                                                                                                         
Quectel                                                                                                                                                                  
EG25                                                                                                                                                                     
Revision: EG25GGBR07A08M2G                                                                                                                                               
                                                                                                                                                                         
SubEdition: V01                                                                                                                                                          
                                                                                                                                                                         
VERSION: EG25GGBR07A08M2G                                                                                                                                                
Jun 14 2023 14:37:04                                                                                                                                                     
Authors: QCT
 
 זה שזה פוגע בכל המשתמשים זה כבר סיפור אחר. החלק המצחיק הוא שהמודם הזה משמש בתשתיות רוסיות (GLASNOSS) אבל חוסם את השימוש לרוסיה ואירן (אבל לא לצפון קוריה  משום מה).

במחלקת הפיתוח של מערכת ההפעלה החופשית למודם מצאו דרך לעקוף את  הנזק מהשנמוך, קודם כל יש להשיג גיבויי עדגני של ה firmware  יש האומרים שהגיבויי כבר קיים פה.  יש לבנות את כלי ה edl מקוד מקור ופתיחת המודם  לADB.


את הגיבוי ניתן לבצע עם הפקודוה:
sudo adb  reboot edl
edl rs backup

מבנה התיקיות שלי הוא:
  edl printgpt
Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2023.
main - Trying with no loader given ...
main - Waiting for the device
......
main - Hint:   Press and hold vol up+dwn, connect usb. For some, only use vol up.
main - Xiaomi: Press and hold vol dwn + pwr, in fastboot mode connect usb.
        Run "./fastpwn oem edl".
main - Other:  Run "adb reboot edl".

...............
..............
............main - Device detected :)
sahara - Protocol version: 2, Version supported: 1
main - Mode detected: sahara
sahara - 
Version 0x2
------------------------
HWID:               (MSM_ID:,OEM_ID:0x0000,MODEL_ID:0x0000)
CPU detected:      "MDM9207"
PK_HASH:           0xcYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
Serial:            xxxxxxxxx

sahara - Possibly unfused device detected, so any loader should be fine...
sahara - Trying loader: /home/mobian/src/edl/edlclient/../Loaders/qualcomm/factory/mdm9x07/fhprg_9x07.mbn
sahara - Protocol version: 2, Version supported: 1
sahara - Uploading loader /home/mobian/src/edl/edlclient/../Loaders/qualcomm/factory/mdm9x07/fhprg_9x07.mbn ...
sahara - 32-Bit mode detected.
sahara - Firehose mode detected, uploading...
sahara - Loader successfully uploaded.
main - Trying to connect to firehose loader ...
firehose - Supported Functions: program configure power benchmark read getstorageinfo erase nop 
firehose_client
firehose_client - [LIB]: No --memory option set, we assume "eMMC" as default ..., if it fails, try using "--memory" with "UFS","NAND" or "spinor" instead !
firehose - TargetName=9x07
firehose - MemoryName=NAND
firehose - Version=
firehose - Trying to read first storage sector...
firehose - Running configure...
firehose - Storage report:
firehose - total_blocks:2048
firehose - block_size:131072
firehose - page_size:2048
firehose - mem_type:NAND
firehose - prod_name:
firehose_client - Supported functions:
-----------------
program,configure,power,benchmark,read,getstorageinfo,erase,nop
firehose - Nand storage detected.
firehose - Scanning for partition table ...
Progress: |██████████| 100.0% Scanning (Sector 0x400 of 0x400, ) 0.00 MB/s                                                                                                       
firehose - Found partition table at sector 640 :)
firehose - Nand storage detected.
firehose - Scanning for partition table ...

Parsing Lun 0:
Name                Offset              Length          Attr                    Flash
-------------------------------------------------------------
sbl                     00000000        00140000        0xff/0x1/0x0    0
mibib                   00140000        00140000        0xff/0x1/0xff   0
efs2                    00280000        01100000        0xff/0x1/0xff   0
sys_rev                 01380000        00500000        0xff/0x1/0x0    0
rawdata                 01880000        00140000        0xff/0x1/0x0    0
tz                      019C0000        00180000        0xff/0x1/0x0    0
rpm                     01B40000        00120000        0xff/0x1/0x0    0
cust_info               01C60000        00200000        0xff/0x1/0x0    0
aboot                   01E60000        00180000        0xff/0x1/0x0    0
boot                    01FE0000        007C0000        0xff/0x1/0x0    0
recovery                027A0000        007C0000        0xff/0x1/0x0    0
modem                   02F60000        03580000        0xff/0x1/0x0    0
misc                    064E0000        000A0000        0xff/0x1/0x0    0
recoveryfs              06580000        01440000        0xff/0x1/0x0    0
usr_data                079C0000        03C00000        0xff/0x1/0x0    0
sec                     0B5C0000        00080000        0xff/0x1/0x0    0
system                  0B640000        049C0000        0xff/0x1/0x0    0
הפעלה של הגיבוי נראת כך רק שצריך לבצע adb shell
./edl rl ../bakup_edl
Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2023.
main - Trying with no loader given ...
main - Waiting for the device
main - Device detected :)
main - Mode detected: firehose
main - Trying to connect to firehose loader ...
firehose - fh.attrs.Verbose is set to 0
firehose - Supported Functions: program configure power benchmark read getstorageinfo erase nop 
firehose_client
firehose_client - [LIB]: No --memory option set, we assume "eMMC" as default ..., if it fails, try using "--memory" with "UFS","NAND" or "spinor" instead !
firehose - TargetName=9x07
firehose - MemoryName=NAND
firehose - Version=
firehose - Trying to read first storage sector...
firehose - Running configure...
firehose - Storage report:
firehose - total_blocks:2048
firehose - block_size:131072
firehose - page_size:2048
firehose - mem_type:NAND
firehose - prod_name:
firehose_client - Supported functions:
-----------------
program,configure,power,benchmark,read,getstorageinfo,erase,nop
firehose - Nand storage detected.
firehose - Scanning for partition table ...
Progress: |██████████| 100.0% Scanning (Sector 0x400 of 0x400, ) 0.00 MB/s                                                                                                       
firehose - Found partition table at sector 640 :)
firehose - Nand storage detected.
firehose - Scanning for partition table ...
firehose_client - Dumping partition sbl with sector count 640 as ../bakup_edl/sbl.bin.
firehose - 
Reading from physical partition 0, sector 0, sectors 640
Progress: |██████████| 100.0% Read (Sector 0x280 of 0x280, ) 5.89 MB/s                                                                                                           
firehose_client - Dumped partition sbl with sector count 640 as ../bakup_edl/sbl.bin.
firehose_client - Dumping partition mibib with sector count 640 as ../bakup_edl/mibib.bin.
firehose - 
Reading from physical partition 0, sector 640, sectors 640
Progress: |██████████| 100.0% Read (Sector 0x280 of 0x280, ) 6.79 MB/s                                                                                                           
firehose_client - Dumped partition mibib with sector count 640 as ../bakup_edl/mibib.bin.
firehose_client - Dumping partition efs2 with sector count 8704 as ../bakup_edl/efs2.bin.
firehose - 
Reading from physical partition 0, sector 1280, sectors 8704
Progress: |██████████| 100.0% Read (Sector 0x2200 of 0x2200, ) 6.99 MB/s                                                                                                         
firehose_client - Dumped partition efs2 with sector count 8704 as ../bakup_edl/efs2.bin.
firehose_client - Dumping partition sys_rev with sector count 2560 as ../bakup_edl/sys_rev.bin.
firehose - 
Reading from physical partition 0, sector 9984, sectors 2560
Progress: |██████████| 100.0% Read (Sector 0xA00 of 0xA00, ) 5.55 MB/s                                                                                                           
firehose_client - Dumped partition sys_rev with sector count 2560 as ../bakup_edl/sys_rev.bin.
firehose_client - Dumping partition rawdata with sector count 640 as ../bakup_edl/rawdata.bin.
firehose - 
Reading from physical partition 0, sector 12544, sectors 640
Progress: |██████████| 100.0% Read (Sector 0x280 of 0x280, ) 5.50 MB/s                                                                                                           
firehose_client - Dumped partition rawdata with sector count 640 as ../bakup_edl/rawdata.bin.
firehose_client - Dumping partition tz with sector count 768 as ../bakup_edl/tz.bin.
firehose - 
Reading from physical partition 0, sector 13184, sectors 768
Progress: |██████████| 100.0% Read (Sector 0x300 of 0x300, ) 5.74 MB/s                                                                                                           
firehose_client - Dumped partition tz with sector count 768 as ../bakup_edl/tz.bin.
firehose_client - Dumping partition rpm with sector count 576 as ../bakup_edl/rpm.bin.
firehose - 
Reading from physical partition 0, sector 13952, sectors 576
Progress: |██████████| 100.0% Read (Sector 0x240 of 0x240, ) 6.14 MB/s                                                                                                           
firehose_client - Dumped partition rpm with sector count 576 as ../bakup_edl/rpm.bin.
firehose_client - Dumping partition cust_info with sector count 1024 as ../bakup_edl/cust_info.bin.
firehose - 
Reading from physical partition 0, sector 14528, sectors 1024
Progress: |██████████| 100.0% Read (Sector 0x400 of 0x400, ) 5.87 MB/s                                                                                                           
firehose_client - Dumped partition cust_info with sector count 1024 as ../bakup_edl/cust_info.bin.
firehose_client - Dumping partition aboot with sector count 768 as ../bakup_edl/aboot.bin.
firehose - 
Reading from physical partition 0, sector 15552, sectors 768
Progress: |██████████| 100.0% Read (Sector 0x300 of 0x300, ) 5.65 MB/s                                                                                                           
firehose_client - Dumped partition aboot with sector count 768 as ../bakup_edl/aboot.bin.
firehose_client - Dumping partition boot with sector count 3968 as ../bakup_edl/boot.bin.
firehose - 
Reading from physical partition 0, sector 16320, sectors 3968
Progress: |██████████| 100.0% Read (Sector 0xF80 of 0xF80, ) 5.70 MB/s                                                                                                           
firehose_client - Dumped partition boot with sector count 3968 as ../bakup_edl/boot.bin.
firehose_client - Dumping partition recovery with sector count 3968 as ../bakup_edl/recovery.bin.
firehose - 
Reading from physical partition 0, sector 20288, sectors 3968
Progress: |██████████| 100.0% Read (Sector 0xF80 of 0xF80, ) 5.94 MB/s                                                                                                           
firehose_client - Dumped partition recovery with sector count 3968 as ../bakup_edl/recovery.bin.
firehose_client - Dumping partition modem with sector count 27392 as ../bakup_edl/modem.bin.
firehose - 
Reading from physical partition 0, sector 24256, sectors 27392
Progress: |██████████| 100.0% Read (Sector 0x6AF8 of 0x6B00, ) 5.64 MB/s                                                                                                         
Progress: |██████████| 100.0% Read (Sector 0x6B00 of 0x6B00, ) 5.73 MB/s                                                                                                         
firehose_client - Dumped partition modem with sector count 27392 as ../bakup_edl/modem.bin.
firehose_client - Dumping partition misc with sector count 320 as ../bakup_edl/misc.bin.
firehose - 
Reading from physical partition 0, sector 51648, sectors 320
Progress: |██████████| 100.0% Read (Sector 0x140 of 0x140, ) 6.21 MB/s                                                                                                           
firehose_client - Dumped partition misc with sector count 320 as ../bakup_edl/misc.bin.
firehose_client - Dumping partition recoveryfs with sector count 10368 as ../bakup_edl/recoveryfs.bin.
firehose - 
Reading from physical partition 0, sector 51968, sectors 10368
Progress: |██████████| 100.0% Read (Sector 0x2880 of 0x2880, ) 5.82 MB/s                                                                                                         
firehose_client - Dumped partition recoveryfs with sector count 10368 as ../bakup_edl/recoveryfs.bin.
firehose_client - Dumping partition usr_data with sector count 30720 as ../bakup_edl/usr_data.bin.
firehose - 
Reading from physical partition 0, sector 62336, sectors 30720
Progress: |██████████| 100.0% Read (Sector 0x77F8 of 0x7800, ) 5.64 MB/s                                                                                                         
Progress: |██████████| 100.0% Read (Sector 0x7800 of 0x7800, ) 6.67 MB/s                                                                                                         
firehose_client - Dumped partition usr_data with sector count 30720 as ../bakup_edl/usr_data.bin.
firehose_client - Dumping partition sec with sector count 256 as ../bakup_edl/sec.bin.
firehose - 
Reading from physical partition 0, sector 93056, sectors 256
Progress: |██████████| 100.0% Read (Sector 0x100 of 0x100, ) 5.65 MB/s                                                                                                           
firehose_client - Dumped partition sec with sector count 256 as ../bakup_edl/sec.bin.
firehose_client - Dumping partition system with sector count 37760 as ../bakup_edl/system.bin.
firehose - 
Reading from physical partition 0, sector 93312, sectors 37760
Progress: |██████████| 100.0% Read (Sector 0x9370 of 0x9380, ) 10.55 MB/s                                                                                                        
Progress: |██████████| 100.0% Read (Sector 0x9378 of 0x9380, ) 8.40 MB/s                                                                                                         
Progress: |██████████| 100.0% Read (Sector 0x9380 of 0x9380, ) 8.25 MB/s                                                                                                         
firehose_client - Dumped partition system with sector count 37760 as ../bakup_edl/system.bin.
  

אין תגובות: