Hovatek
  • Private Support
  • Blog
  • Home
Login Register Ask Question Hello There, Guest!
Login
Username:
Password: Lost Password?
 

OR

       

Hovatek is hiring: Application is open to residents of Lagos, Nigeria only! Click Here To Apply
Telegram Channel: Join the discussions @ t.me/Hovatek


  1. Hovatek Forum
  2. MOBILE PHONES HELP SECTION
  3. Android
 
Thread Rating:
  • 0 Vote(s) - 0 Average

Thread Modes

building firmware has smaller files to cutting the ROM, how does it effect partition?

wilemansion
Junior Member
*
Posts: 20
Threads: 7
Joined: Aug 2020
Reputation: 0
#1

16-09-2020, 03:03 PM


when using WWR to process the ROM dump, the build firmware produces much smaller .img/.bin files in contrast to cutting the ROM.  Once flashed onto the device, does this re-adjust the partition tables (PGPT) to accommodate difference file sizes?

Find
Reply
X3non
Hovatek Representative
Posts: 18,469
Threads: 550
Joined: Jul 2014
Reputation: 326
#2

17-09-2020, 10:46 AM
(16-09-2020, 03:03 PM)wilemansion Wrote:  when using WWR to process the ROM dump, the build firmware produces much smaller .img/.bin files in contrast to cutting the ROM.  Once flashed onto the device, does this re-adjust the partition tables (PGPT) to accommodate difference file sizes?

there's a tooltip for each option when you place the mouse over
build clean firmware trims trailing zeroes, so you get a smaller file (take note that the content of a partition isn't usually the full partition size, a good example could be seen from preloader with partition size 4mb but real content only a few kbs)
cut the rom as it is doesn't trim trailing zeroes, so you get the full partition size

either one doesn't affect pgpt in any way,
Find
Reply
wilemansion
Junior Member
*
Posts: 20
Threads: 7
Joined: Aug 2020
Reputation: 0
#3

19-09-2020, 01:30 AM
(17-09-2020, 10:46 AM)X3non Wrote:  
(16-09-2020, 03:03 PM)wilemansion Wrote:  when using WWR to process the ROM dump, the build firmware produces much smaller .img/.bin files in contrast to cutting the ROM.  Once flashed onto the device, does this re-adjust the partition tables (PGPT) to accommodate difference file sizes?

there's a tooltip for each option when you place the mouse over
build clean firmware trims trailing zeroes, so you get a smaller file (take note that the content of a partition isn't usually the full partition size, a good example could be seen from preloader with partition size 4mb but real content only a few kbs)
cut the rom as it is doesn't trim trailing zeroes, so you get the full partition size

either one doesn't affect pgpt in any way,

so if we flash a custom rom where its' system.img is larger in size than the previous system.img , what happens to the pgpt?
Find
Reply
X3non
Hovatek Representative
Posts: 18,469
Threads: 550
Joined: Jul 2014
Reputation: 326
#4

19-09-2020, 07:25 PM
(19-09-2020, 01:30 AM)wilemansion Wrote:  so if we flash a custom rom where its' system.img is larger in size than the previous system.img , what happens to the pgpt?

so long as the system.img you attempt to flash doesn't exceed the partition size of system then nothing happens
if it exceeds the partition size, then whatever tool you are using will notify you of this and most likely fail to flash
Find
Reply
« Next Oldest | Next Newest »

Share

Share Tweet Share Share Pin


Possibly Related Threads…
Thread / Author Replies Views Last Post
Scatter and ROM building
Victor1964
7
942
Last Post by hovatek
15-12-2019, 08:01 PM
Tecno POP 1s Pro (F4 Pro) does not load, does not flash
serferr
8
3,156
Last Post by X3non
24-04-2019, 10:31 AM
How to partition an SD card using MiniTool Partition Wizard
hovatek
0
2,078
Last Post by hovatek
20-04-2017, 11:44 PM
FAT partition not present and USERDATA is too big - Backing up full ROM with Userdata
bellskar
9
7,688
Last Post by hovatek
26-11-2015, 09:53 AM

  • View a Printable Version


Users browsing this thread: 1 Guest(s)
  1. Hovatek Forum
  2. MOBILE PHONES HELP SECTION
  3. Android

About

The Hovatek Forum is a free Tech. Support Forum. We provide solutions to all your device related problems and questions. We'll love to have you participate in discussions here whether you're a Newbie or Experienced.

         

Forum Team

Powered By MyBB. Crafted by EreeCorp.




Linear Mode
Threaded Mode