Hovatek Forum DEVELOPMENT Android [Downloads] Custom ROMS's for Infinix S5(not GSI/treble roms)
Try our Online TWRP Builder..its free!
Can't login? Please, reset your password.


[Downloads] Custom ROMS's for Infinix S5(not GSI/treble roms)

[Downloads] Custom ROMS's for Infinix S5(not GSI/treble roms)

Pages (2): Previous 1 2
someone2305
someone2305
someone2305
Techie Member
63
16-08-2022, 03:54 PM
#11



(15-08-2022, 03:13 PM)kelvinchinedu Since u are running a9 u don't need to delete logical partitions,the only commands u need are as follow

Adb devices
Adb reboot bootloader
Fastboot devices
Fastboot flash vbmeta vbmeta.img
Fastboot erase system
Fastboot flash system system.img

And do a factory reset on recovery (only on stock recovery)


Note that bootloader most be unlocked and  install USB driver and have platforms tools

And the image file most be rename to system.img and both the empty vbmeta and system.img most be in platforms tools
Hey ! 
I did as you said and all steps worked except the last one which was flashing the system
Code:

fastboot flash system system.img
Invalid sparse file format at header magic
error: write_sparse_skip_chunk: don't care size 901162568 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 766948936 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 632735304 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 498521672 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 364308040 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 230094408 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 95880776 is not a multiple of the block size 4096
Sending sparse 'system' 1/8 (131068 KB)            error: write_sparse_skip_chunk: don't care size 901162568 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 901162568 is not a multiple of the block size 4096
OKAY [  6.348s]
Writing 'system'                                   FAILED (remote: 'sparse chunk size is too big.')
fastboot: error: Command failed
It says this and looks like it failed ! What can I do ? I dont really have a backup so I'm kinda stuck ! I really need this phone on !
someone2305
someone2305
someone2305
Techie Member
63
16-08-2022, 05:04 PM
#12
(15-08-2022, 03:13 PM)kelvinchinedu Since u are running a9 u don't need to delete logical partitions,the only commands u need are as follow

Adb devices
Adb reboot bootloader
Fastboot devices
Fastboot flash vbmeta vbmeta.img
Fastboot erase system
Fastboot flash system system.img

And do a factory reset on recovery (only on stock recovery)


Note that bootloader most be unlocked and  install USB driver and have platforms tools

And the image file most be rename to system.img and both the empty vbmeta and system.img most be in platforms tools
Long story short , the system.img didn't work , apparently the partition size allocated for this img was too large than what my phone was currently allocated with and therefore did not flash , so I reflashed the stock rom for now , let me know if there is anything to get that custom rom installed as I am still very much interested in having a android 10 rom !
kelvinchinedu
kelvinchinedu
kelvinchinedu
Contributor
1,302
16-08-2022, 08:48 PM
#13
Wherever u got this error know that your platforms tools is the issue , install all Google USB driver and also use Mfastboot.exe
It will fix it for u.



Pls a word is enough for the wise
We always encourage that u take a backup before doing a modding stuff on your phone.
This post was last modified: 16-08-2022, 08:48 PM by kelvinchinedu.
kelvinchinedu
kelvinchinedu
kelvinchinedu
Contributor
1,302
16-08-2022, 08:50 PM
#14
Wherever u got this error know that your platforms tools is the issue , install all Google USB driver,use latest platforms tools from sdk and also use Mfastboot.exe
It will fix it for u.



Pls e word is enough for the wise
We always encourage that u take a backup before doing a modding stuff on your phone.
someone2305
someone2305
someone2305
Techie Member
63
17-08-2022, 04:42 AM
#15



(16-08-2022, 08:50 PM)kelvinchinedu Wherever u got this error know that your platforms tools is the issue , install all Google USB driver,use latest platforms tools from sdk  and also use Mfastboot.exe
It will fix it for u.



Pls e word is enough for the wise
We always encourage that u take a backup before doing a modding stuff on your phone.
I made sure using the latest platform tools , and all other tools to be used in the latest versions possible , considering all other commands work fine ,  but it seems that this GSI wont work for my device since its partition parameters are a little different , my device has a 256mb partition size for the system partition and the GSI image is clearly larger for my device , either I change the allocated sizes for the system partition or this img just wont work ..

But hey I'm still interested in any other compatible GSI Roms if you have (except ressurection , I prefer a clean de-bloated experience rather than customization at the expense of a higher ram usage)
someone2305
someone2305
someone2305
Techie Member
63
17-08-2022, 04:45 AM
#16
I think though regardless of me using all the tools and all , having a custom recovery like TWRP would just be plain better ,  I'll use MTK Cleint to dump the recovery partition and then I'll try porting it to twrp and see if it works , while I did try this before and was unsuccessful , maybe that was because I was using a previous version of the partition and my phone has had multiple OTA updates since , I'll see how it goes ...
kelvinchinedu
kelvinchinedu
kelvinchinedu
Contributor
1,302
17-08-2022, 06:12 PM
#17
Use parted to partition your system partition to make it larger so that u can flash even the largest gsi including Gapps inside system.


@ https://www.hovatek.com/forum/thread-32750.html
someone2305
someone2305
someone2305
Techie Member
63
17-08-2022, 06:20 PM
#18
(17-08-2022, 06:12 PM)kelvinchinedu Use parted to partition your system partition to make it larger so that u can flash even the largest gsi including Gapps inside system.


@ https://www.hovatek.com/forum/thread-32750.html
I'm actually not sure about the partition sizes for my device , and also I think making the system partition larger would also reduce usable storage within android , right ?
kelvinchinedu
kelvinchinedu
kelvinchinedu
Contributor
1,302
18-08-2022, 12:40 PM
#19
Yeah it will reduce it but I will have enough space on system and porting twrp will be good especially when I run into bootloop


There are stable twrp which u can get for your device
someone2305
someone2305
someone2305
Techie Member
63
18-08-2022, 12:56 PM
#20



(18-08-2022, 12:40 PM)kelvinchinedu Yeah it will reduce it but I will have enough space on system and porting twrp will be good especially when I run into bootloop


There are stable twrp which u can get for your device
Actually today , I did try porting twrp using Hovatek TWRP porter and it did not work , the phone was booting properly but twrp did not open but the stock recovery was opening as if nothing really happened , if you have the twrp recovery image for my device please provide it if you can , since all my efforts till now have resulted in nothing and always end up reflashing the stock rom ..
Pages (2): Previous 1 2
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram