2021年09月12日

motorola edge s proにRETAPAC版ROMを焼いて日本語環境を構築した!?

「motorola edge s pro」はグローバルで発表された「motorola edge 20 pro」
の中国版です。

s-IMG20210912084615.jpg
背面も高級感があります。

基本は中国語または英語での使用が前提であり、Google PlayStoreもインストールされていないという状況です。

単にPlayStoreアプリをインストールしても、Googleサーバーと通信できない状況で、日本で使うには何かと問題がありそうでした。

ということで、

「motorola edge 20 pro」のROMとして公開されているRETAPAC版(アジア太平洋版)をROM焼きして使うことにしました。

以下に簡単にROM焼きの方法を書き留めておきます。

手順としては、

@OEMロック解除を有効にする
Aアンロックデータを取得する
Bアンロックコードを取得する
Cブートローダーをアンロックする
DRETAPAC版ROMをフラッシュする

これだけです。

所要時間は、約30分でグローバル版にROM焼き出来ました。

では、順番に解説します。

@からCについては、

 下記サイトの情報の通りです。(^^;

DRETAPAC版ROMをフラッシュする

 motorola edge 20 proのRETAPAC版ROMをダウンロードします。
 
 s-2021-09-10.jpg

 これを解凍しておきます。

 2021-09-12 (1).png
 ここにはadbとfastbootコマンドが使えるように赤線のファイルを追加しました。

 PCとfastbootモードで接続して、

 s-IMG20210912084552.jpg

 コマンドプロンプトから、flashfile.batの内容を実行しました。

 以下はそのときのログです。

C:\adb>cd C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboto devices
xxxxxxxxxx fastboot
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot getvar max-sparse-size
max-sparse-size: 268435456
finished. total time: 0.000s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot oem fb_mode_set
...
OKAY [ 0.002s]
finished. total time: 0.002s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash partition gpt.bin
target reported max download size of 805306368 bytes
sending 'partition' (206 KB)...
OKAY [ 0.008s]
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Committing 'gpt.default.xml'
(bootloader) - flashing 'gpt_main0.bin' to 'partition:0'
(bootloader) - flashing 'gpt_main1.bin' to 'partition:1'
(bootloader) - flashing 'gpt_main2.bin' to 'partition:2'
(bootloader) - flashing 'gpt_main3.bin' to 'partition:3'
(bootloader) - flashing 'gpt_main4.bin' to 'partition:4'
(bootloader) - flashing 'gpt_main5.bin' to 'partition:5'
OKAY [ 0.321s]
finished. total time: 0.330s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash bootloader bootloader.img
target reported max download size of 805306368 bytes
sending 'bootloader' (22517 KB)...
OKAY [ 0.552s]
writing 'bootloader'...
(bootloader) Validating 'default.xml'
(bootloader) Committing 'default.xml'
(bootloader) - flashing 'tz.mbn' to 'tz'
(bootloader) - flashing 'hyp.mbn' to 'hyp'
(bootloader) - flashing 'devcfg.mbn' to 'devcfg'
(bootloader) - flashing 'keymaster.mbn' to 'keymaster'
(bootloader) - flashing 'storsec.mbn' to 'storsec'
(bootloader) - flashing 'uefi_sec.mbn' to 'uefisecapp'
(bootloader) - flashing 'prov64.mbn' to 'prov'
(bootloader) - flashing 'cmnlib.mbn' to 'cmnlib'
(bootloader) - flashing 'cmnlib64.mbn' to 'cmnlib64'
(bootloader) - flashing 'abl.elf' to 'abl'
(bootloader) - flashing 'aop.mbn' to 'aop'
(bootloader) - flashing 'qupfw.elf' to 'qupfw'
(bootloader) - flashing 'spss2p.mbn' to 'spss'
(bootloader) - flashing 'xbl_config.elf' to 'xbl_config'
(bootloader) - flashing 'xbl.elf' to 'xbl'
OKAY [ 0.165s]
finished. total time: 0.718s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash vbmeta vbmeta.img
target reported max download size of 805306368 bytes
sending 'vbmeta' (4 KB)...
OKAY [ 0.003s]
writing 'vbmeta'...
(bootloader) WARNING: vbmeta anti rollback downgrade, 2 vs 3
OKAY [ 0.006s]
finished. total time: 0.008s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash vbmeta_system vbmeta_system.img
target reported max download size of 805306368 bytes
sending 'vbmeta_system' (4 KB)...
OKAY [ 0.003s]
writing 'vbmeta_system'...
(bootloader) WARNING: vbmeta_system anti rollback downgrade, 2 vs 3
OKAY [ 0.006s]
finished. total time: 0.009s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash modem NON-HLOS.bin
target reported max download size of 805306368 bytes
sending 'modem' (178560 KB)...
OKAY [ 4.169s]
writing 'modem'...
OKAY [ 0.237s]
finished. total time: 4.408s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash fsg fsg.mbn
target reported max download size of 805306368 bytes
sending 'fsg' (19424 KB)...
OKAY [ 0.449s]
writing 'fsg'...
OKAY [ 0.043s]
finished. total time: 0.493s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash bluetooth BTFM.bin
target reported max download size of 805306368 bytes
sending 'bluetooth' (620 KB)...
OKAY [ 0.016s]
writing 'bluetooth'...
OKAY [ 0.016s]
finished. total time: 0.032s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash dsp dspso.bin
target reported max download size of 805306368 bytes
sending 'dsp' (65536 KB)...
OKAY [ 1.521s]
writing 'dsp'...
OKAY [ 0.078s]
finished. total time: 1.600s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash logo logo.bin
target reported max download size of 805306368 bytes
sending 'logo' (10520 KB)...
OKAY [ 0.242s]
writing 'logo'...
OKAY [ 0.015s]
finished. total time: 0.258s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash boot boot.img
target reported max download size of 805306368 bytes
sending 'boot' (98304 KB)...
OKAY [ 2.282s]
writing 'boot'...
OKAY [ 1.597s]
finished. total time: 3.882s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash vendor_boot vendor_boot.img
target reported max download size of 805306368 bytes
sending 'vendor_boot' (65536 KB)...
OKAY [ 1.518s]
writing 'vendor_boot'...
OKAY [ 0.134s]
finished. total time: 1.653s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash dtbo dtbo.img
target reported max download size of 805306368 bytes
sending 'dtbo' (24576 KB)...
OKAY [ 0.567s]
writing 'dtbo'...
OKAY [ 0.205s]
finished. total time: 0.771s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash super super.img_sparsechunk.0
target reported max download size of 805306368 bytes
sending 'super' (459104 KB)...
OKAY [ 10.675s]
writing 'super'...
OKAY [ 0.092s]
finished. total time: 10.769s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash super super.img_sparsechunk.1
target reported max download size of 805306368 bytes
sending 'super' (514496 KB)...
OKAY [ 12.004s]
writing 'super'...
OKAY [ 0.002s]
finished. total time: 12.008s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash super super.img_sparsechunk.2
target reported max download size of 805306368 bytes
sending 'super' (474816 KB)...
OKAY [ 11.034s]
writing 'super'...
OKAY [ 0.003s]
finished. total time: 11.037s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash super super.img_sparsechunk.3
target reported max download size of 805306368 bytes
sending 'super' (519920 KB)...
OKAY [ 12.091s]
writing 'super'...
OKAY [ 0.003s]
finished. total time: 12.094s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash super super.img_sparsechunk.4
target reported max download size of 805306368 bytes
sending 'super' (474716 KB)...
OKAY [ 11.034s]
writing 'super'...
OKAY [ 0.002s]
finished. total time: 11.038s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash super super.img_sparsechunk.5
target reported max download size of 805306368 bytes
sending 'super' (506844 KB)...
OKAY [ 11.784s]
writing 'super'...
OKAY [ 0.003s]
finished. total time: 11.787s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash super super.img_sparsechunk.6
target reported max download size of 805306368 bytes
sending 'super' (524216 KB)...
OKAY [ 12.187s]
writing 'super'...
OKAY [ 0.001s]
finished. total time: 12.191s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash super super.img_sparsechunk.7
target reported max download size of 805306368 bytes
sending 'super' (524248 KB)...
OKAY [ 12.184s]
writing 'super'...
OKAY [ 0.003s]
finished. total time: 12.187s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash super super.img_sparsechunk.8
target reported max download size of 805306368 bytes
sending 'super' (524252 KB)...
OKAY [ 12.181s]
writing 'super'...
OKAY [ 0.003s]
finished. total time: 12.185s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash super super.img_sparsechunk.9
target reported max download size of 805306368 bytes
sending 'super' (524264 KB)...
OKAY [ 12.170s]
writing 'super'...
OKAY [ 0.002s]
finished. total time: 12.174s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash super super.img_sparsechunk.10
target reported max download size of 805306368 bytes
sending 'super' (329264 KB)...
OKAY [ 7.658s]
writing 'super'...
OKAY [ 0.002s]
finished. total time: 7.661s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot erase mdmddr
erasing 'mdmddr'...
OKAY [ 0.002s]
finished. total time: 0.002s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot erase mdm1m9kefs1
erasing 'mdm1m9kefs1'...
OKAY [ 0.005s]
finished. total time: 0.005s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot erase mdm1m9kefs2
erasing 'mdm1m9kefs2'...
OKAY [ 0.002s]
finished. total time: 0.003s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot erase carrier
erasing 'carrier'...
OKAY [ 0.001s]
finished. total time: 0.001s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.045s]
finished. total time: 0.045s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot erase metadata
erasing 'metadata'...
OKAY [ 0.002s]
finished. total time: 0.003s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot erase ddr
erasing 'ddr'...
OKAY [ 0.002s]
finished. total time: 0.002s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash fsg fsg.mbn
target reported max download size of 805306368 bytes
sending 'fsg' (19424 KB)...
OKAY [ 0.450s]
writing 'fsg'...
OKAY [ 0.043s]
finished. total time: 0.495s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot flash bluetooth BTFM.bin
target reported max download size of 805306368 bytes
sending 'bluetooth' (620 KB)...
OKAY [ 0.016s]
writing 'bluetooth'...
OKAY [ 0.015s]
finished. total time: 0.033s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot oem fb_mode_clear
...
OKAY [ 0.001s]
finished. total time: 0.001s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>fastboot reboot
rebooting...
finished. total time: 0.000s
C:\Users\nekomasa\Downloads\XT2153-1_PSTAR_RETAPAC_11_RRA31.Q3-19-32_subsidy-DEFAULT_regulatory-XT2153-1-RETAPAC_CFC_V2.xml>

以上で、motorola edge 20 pro(XT2153-1)にフラッシュされました。

ブートローダーアンロック後は、言語を選択して初期設定からやり直しです。

以上、参考まで。


posted by 62歳のガジェットオタク!? at 09:02| 山口 ☁| Comment(0) | motoEdgeS | このブログの読者になる | 更新情報をチェックする
この記事へのコメント
コメントを書く
お名前:

メールアドレス:

ホームページアドレス:

コメント: