update? pacth

lucky43113

Member
Jul 10, 2014
23
2
0
what are you tring to install.
the official update. That is not a good idea.

no modified version has been made yet

---------- Post added at 08:35 PM ---------- Previous post was at 08:31 PM ----------



yeah the logcat method would only work if they made there update program output good logs.

but they do make a text file that goes next to the update.zip

and that text file has the address in it,\.

==>>blu official 7.4.2 to 8.4 update
My phone is not rooted but I do not have ads either they never came back after i unrooted
 

yepi15

Senior Member
Jun 19, 2014
178
8
0
29
Coloncito
what are you tring to install.
the official update. That is not a good idea.

no modified version has been made yet

---------- Post added at 08:35 PM ---------- Previous post was at 08:31 PM ----------



yeah the logcat method would only work if they made there update program output good logs.

but they do make a text file that goes next to the update.zip

and that text file has the address in it,\.

==>>blu official 7.4.2 to 8.4 update
Have you already downloaded the update?
 

mrmazak

Senior Member
Jun 16, 2013
3,212
1,324
253
How do i edit it to install by twrp
what I do is remove the following:
1. all extra bin, txt, and img files,
2. rc folder (root checker),

3. sig folder (signature files- allows phone to boot if bootloader is locked)

this leaves just three folder.

1 META-INF
2 patch
3 system

Then open META-INF > com > google > android > updater-script

and replace all "abort" with "ui_print" this allows for install on modded system and shows what files will be skipped.



then remove lines that change preloader, lk, tee1 , tee2, logo,
Code:
assert(package_extract_file("uboot.img", "/tmp/lk.img"),
       write_raw_image("/tmp/lk.img", "lk"),
       delete("/tmp/lk.img"));
apply_sig(package_extract_file("sig/boot.sig"), "/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/boot");
show_mtupdate_stage("/cache/recovery/last_mtupdate_stage");
ifelse (
less_than_int(get_mtupdate_stage("/cache/recovery/last_mtupdate_stage"), "1") ,
(
ui_print("start to update general image");
package_extract_file("lk.bin", "/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/lk");
package_extract_file("secro.img", "/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/secro");
package_extract_file("logo.bin", "/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/logo");
assert(package_extract_file("preloader_p6601.bin", "/tmp/preloader_p6601.bin"),
       write_raw_image("/tmp/preloader_p6601.bin", "/dev/block/mmcblk0boot0"),
       delete("/tmp/preloader_p6601.bin"));
set_mtupdate_stage("/cache/recovery/last_mtupdate_stage", "1");
),
ui_print("general images are already updated");
);
ifelse (
less_than_int(get_mtupdate_stage("/cache/recovery/last_mtupdate_stage"), "3") ,
(
if less_than_int(get_mtupdate_stage("/cache/recovery/last_mtupdate_stage"), "2") then

ui_print("start to update alt loader image");
package_extract_file("trustzone.bin", "/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/tee2");
set_mtupdate_stage("/cache/recovery/last_mtupdate_stage", "2");
endif;

switch_active("tee1", "tee2");
set_mtupdate_stage("/cache/recovery/last_mtupdate_stage", "3");
),
ui_print("alt loder images are already updated");
);
ifelse (
less_than_int(get_mtupdate_stage("/cache/recovery/last_mtupdate_stage"), "5") ,
(
if less_than_int(get_mtupdate_stage("/cache/recovery/last_mtupdate_stage"), "4") then

ui_print("start to update main loader image");
package_extract_file("trustzone.bin", "/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/tee1");
set_mtupdate_stage("/cache/recovery/last_mtupdate_stage", "4");
endif;

switch_active("tee2", "tee1");
),
ui_print("main loader images are already updated");
);
this "should" patch your system up to 8.4

I am almost ready to put up a link to twrp install of the 8.4 already patched.
 
  • Like
Reactions: yepi15

yepi15

Senior Member
Jun 19, 2014
178
8
0
29
Coloncito
what I do is remove the following:
1. all extra bin, txt, and img files,
2. rc folder (root checker),

3. sig folder (signature files- allows phone to boot if bootloader is locked)

this leaves just three folder.

1 META-INF
2 patch
3 system

Then open META-INF > com > google > android > updater-script

and replace all "abort" with "ui_print" this allows for install on modded system and shows what files will be skipped.



then remove lines that change preloader, lk, tee1 , tee2, logo,


this "should" patch your system up to 8.4

I am almost ready to put up a link to twrp install of the 8.4 already patched.
Okay, but just as you can tell
 

mrmazak

Senior Member
Jun 16, 2013
3,212
1,324
253
can i use this my phone is still on v 6.1
Yes​ should be able to

---------- Post added at 07:02 AM ---------- Previous post was at 06:08 AM ----------

Download Update does not appear where you told me
That is where I found it. You need to enable root explore to see it. If not rot explorer then folder will show empty.
Also need to select show hidden files.
 
Last edited:

yepi15

Senior Member
Jun 19, 2014
178
8
0
29
Coloncito
Yes​ should be able to

---------- Post added at 07:02 AM ---------- Previous post was at 06:08 AM ----------



That is where I found it. You need to enable root explore to see it. If not rot explorer then folder will show empty.
Also need to select show hidden files.
Exactly that I did try with another explorer