xzpdcm: fix dl fail
Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
parent
92a9affa22
commit
f781d17d76
14 changed files with 39 additions and 18 deletions
BIN
abl_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
BIN
abl_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
Binary file not shown.
BIN
cmnlib64_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
BIN
cmnlib64_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
Binary file not shown.
BIN
cmnlib_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
BIN
cmnlib_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
Binary file not shown.
BIN
devcfg_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
BIN
devcfg_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
Binary file not shown.
BIN
hyp_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
BIN
hyp_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
Binary file not shown.
BIN
keymaster_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
BIN
keymaster_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
Binary file not shown.
|
|
@ -6,31 +6,31 @@
|
|||
blflash() {
|
||||
echo "Flashing P114 bootloader with N59G XFL..."
|
||||
echo "Writing P114 abl..."
|
||||
su -c dd if=/data/local/tmp/abl_X_BOOT_MSM8998_LA2_0_P_114.mbn of==/dev/block/by-name/abl
|
||||
su -c dd if=/data/local/tmp/abl_X_BOOT_MSM8998_LA2_0_P_114.mbn of==/dev/block/bootdevice/by-name/abl
|
||||
echo "Writing P114 cmnlib..."
|
||||
su -c dd if=/data/local/tmp/cmnlib_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/by-name/cmnlib
|
||||
su -c dd if=/data/local/tmp/cmnlib_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/bootdevice/by-name/cmnlib
|
||||
echo "Writing P114 cmnlib64..."
|
||||
su -c dd if=/data/local/tmp/cmnlib64_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/by-name/cmnlib64
|
||||
su -c dd if=/data/local/tmp/cmnlib64_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/bootdevice/by-name/cmnlib64
|
||||
echo "Writing P114 devcfg..."
|
||||
su -c dd if=/data/local/tmp/devcfg_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/by-name/devcfg
|
||||
su -c dd if=/data/local/tmp/devcfg_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/bootdevice/by-name/devcfg
|
||||
echo "Writing P114 hyp..."
|
||||
su -c dd if=/data/local/tmp/hyp_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/by-name/hyp
|
||||
su -c dd if=/data/local/tmp/hyp_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/bootdevice/by-name/hyp
|
||||
echo "Writing P114 keymaster..."
|
||||
su -c dd if=/data/local/tmp/keymaster_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/by-name/keymaster
|
||||
su -c dd if=/data/local/tmp/keymaster_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/bootdevice/by-name/keymaster
|
||||
echo "Writing P114 pmic..."
|
||||
su -c dd if=/data/local/tmp/pmic_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/by-name/pmic
|
||||
su -c dd if=/data/local/tmp/pmic_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/bootdevice/by-name/pmic
|
||||
echo "Writing P114 rpm..."
|
||||
su -c dd if=/data/local/tmp/rpm_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/by-name/rpm
|
||||
su -c dd if=/data/local/tmp/rpm_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/bootdevice/by-name/rpm
|
||||
echo "Writing P114 tz..."
|
||||
su -c dd if=/data/local/tmp/tz_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/by-name/tz
|
||||
su -c dd if=/data/local/tmp/tz_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/bootdevice/by-name/tz
|
||||
echo "Writing P114 tzxfl..."
|
||||
su -c dd if=/data/local/tmp/tzxfl_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/by-name/tzxfl
|
||||
su -c dd if=/data/local/tmp/tzxfl_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/bootdevice/by-name/tzxfl
|
||||
echo "Writing P114 tzxflattest..."
|
||||
su -c dd if=/data/local/tmp/tzxflattest_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/by-name/tzxflattest
|
||||
su -c dd if=/data/local/tmp/tzxflattest_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/bootdevice/by-name/tzxflattest
|
||||
echo "Writing P114 xbl..."
|
||||
su -c dd if=/data/local/tmp/xbl_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/by-name/xbl
|
||||
su -c dd if=/data/local/tmp/xbl_X_BOOT_MSM8998_LA2_0_P_114.mbn of=/dev/block/bootdevice/by-name/xbl
|
||||
echo "Writing N59G XFL..."
|
||||
su -c dd if=/data/local/tmp/xfl_X_BOOT_MSM8998_LA1_1_N_59_G.mbn of=/dev/block/by-name/xfl
|
||||
su -c dd if=/data/local/tmp/xfl_X_BOOT_MSM8998_LA1_1_N_59_G.mbn of=/dev/block/bootdevice/by-name/xfl
|
||||
rm -rf /data/local/tmp/xzp_docomo_p114_n59g.zip
|
||||
}
|
||||
|
||||
|
|
@ -43,11 +43,32 @@ dlfail() {
|
|||
unzip() {
|
||||
cd /data/local/tmp
|
||||
echo "Downloading bootloader files..."
|
||||
curl -Lo xzp_docomo_p114_n59g.zip https://git.disroot.org/cuynu/xzpdcm_p114/raw/branch/master/xzp_docomo_p114_n59g.zip
|
||||
[ ! -f /data/local/tmp/xzp_docomo_p114_n59g.zip ] && dlfail
|
||||
echo "Extracting files..."
|
||||
unzip xzp_docomo_p114_n59g.zip
|
||||
blflash
|
||||
curl -Lo abl_X_BOOT_MSM8998_LA2_0_P_114.mbn https://git.disroot.org/cuynu/xzpdcm_p114/raw/branch/master/abl_X_BOOT_MSM8998_LA2_0_P_114.mbn
|
||||
|
||||
curl -Lo cmnlib_X_BOOT_MSM8998_LA2_0_P_114.mbn https://git.disroot.org/cuynu/xzpdcm_p114/raw/branch/master/cmnlib_X_BOOT_MSM8998_LA2_0_P_114.mbn
|
||||
|
||||
curl -Lo cmnlib64_X_BOOT_MSM8998_LA2_0_P_114.mbn https://git.disroot.org/cuynu/xzpdcm_p114/raw/branch/master/cmnlib64_X_BOOT_MSM8998_LA2_0_P_114.mbn
|
||||
|
||||
curl -Lo devcfg_X_BOOT_MSM8998_LA2_0_P_114.mbn https://git.disroot.org/cuynu/xzpdcm_p114/raw/branch/master/devcfg_X_BOOT_MSM8998_LA2_0_P_114.mbn
|
||||
|
||||
curl -Lo hyp_X_BOOT_MSM8998_LA2_0_P_114.mbn https://git.disroot.org/cuynu/xzpdcm_p114/raw/branch/master/hyp_X_BOOT_MSM8998_LA2_0_P_114.mbn
|
||||
|
||||
curl -Lo keymaster_X_BOOT_MSM8998_LA2_0_P_114.mbn https://git.disroot.org/cuynu/xzpdcm_p114/raw/branch/master/keymaster_X_BOOT_MSM8998_LA2_0_P_114.mbn
|
||||
|
||||
curl -Lo pmic_X_BOOT_MSM8998_LA2_0_P_114.mbn https://git.disroot.org/cuynu/xzpdcm_p114/raw/branch/master/pmic_X_BOOT_MSM8998_LA2_0_P_114.mbn
|
||||
|
||||
curl -Lo rpm_X_BOOT_MSM8998_LA2_0_P_114.mbn https://git.disroot.org/cuynu/xzpdcm_p114/raw/branch/master/rpm_X_BOOT_MSM8998_LA2_0_P_114.mbn
|
||||
|
||||
curl -Lo tz_X_BOOT_MSM8998_LA2_0_P_114.mbn https://git.disroot.org/cuynu/xzpdcm_p114/raw/branch/master/tz_X_BOOT_MSM8998_LA2_0_P_114.mbn
|
||||
|
||||
curl -Lo tzxfl_X_BOOT_MSM8998_LA2_0_P_114.mbn https://git.disroot.org/cuynu/xzpdcm_p114/raw/branch/master/tzxfl_X_BOOT_MSM8998_LA2_0_P_114.mbn
|
||||
|
||||
curl -Lo tzxflattest_X_BOOT_MSM8998_LA2_0_P_114.mbn https://git.disroot.org/cuynu/xzpdcm_p114/raw/branch/master/tzxflattest_X_BOOT_MSM8998_LA2_0_P_114.mbn
|
||||
|
||||
curl -Lo xbl_X_BOOT_MSM8998_LA2_0_P_114.mbn https://git.disroot.org/cuynu/xzpdcm_p114/raw/branch/master/xbl_X_BOOT_MSM8998_LA2_0_P_114.mbn
|
||||
|
||||
curl -Lo xfl_X_BOOT_MSM8998_LA1_1_N_59_G.mbn https://git.disroot.org/cuynu/xzpdcm_p114/raw/branch/master/xfl_X_BOOT_MSM8998_LA1_1_N_59_G.mbn
|
||||
[ ! -f /data/local/tmp/xfl_X_BOOT_MSM8998_LA1_1_N_59_G.mbn ] && dlfail
|
||||
}
|
||||
|
||||
mismatchmodel() {
|
||||
|
|
|
|||
BIN
pmic_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
BIN
pmic_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
Binary file not shown.
BIN
rpm_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
BIN
rpm_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
Binary file not shown.
BIN
tz_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
BIN
tz_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
Binary file not shown.
BIN
tzxfl_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
BIN
tzxfl_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
Binary file not shown.
BIN
tzxflattest_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
BIN
tzxflattest_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
Binary file not shown.
BIN
xbl_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
BIN
xbl_X_BOOT_MSM8998_LA2_0_P_114.mbn
Normal file
Binary file not shown.
BIN
xfl_X_BOOT_MSM8998_LA1_1_N_59_G.mbn
Normal file
BIN
xfl_X_BOOT_MSM8998_LA1_1_N_59_G.mbn
Normal file
Binary file not shown.
Loading…
Reference in a new issue