Jump to content


Photo

Re-partitioning System, Cache and User Data.

* * * * * 1 votes

  • Please log in to reply
5 replies to this topic

#1
ccorasaaa

ccorasaaa

    Regular

  • Members
  • PipPip
  • 139 posts
  • Devices:LiquidE
Guys how can i change partition size?
-Thepasto: he told me that i've to modificate the kernel and i can't do this. [HE TALK ABOUT HEX VALUE]
-Parvata: Upon further digging I found that these are defined in ./kernel/acer/salsa/arch/arm/mach-msm/nand_partitions.c file. take a look at that file. Although I have not tried it. When you change the values in the BoardConfig.mk file ensure that those corresponding values are reflected in this nand_partitions.c file. Be careful not to brick your device. But I guess as long as your recovery bootloader is intact you should be fine.


@Parvata:
francesco@Francesco-AMD64:~$ adb pull ./kernel/acer/salsa/arch/arm/mach-msm/nand_partitions.c [~/francesco]
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
remote object './kernel/acer/salsa/arch/arm/mach-msm/nand_partitions.c' does not exist

Where is the file "BoardConfig.mk"? And what it does?
Edit: ok it's a part of the kernel...
Edit2: Ok, tomorrow i'll try to compile a kernel with your information. Thanks

Edited by ccorasaaa, 13 November 2012 - 08:38 PM.

  • 1

#2
parvata

parvata

    Regular

  • Members
  • PipPip
  • 138 posts
  • Devices:liquid E

Guys how can i change partition size?
-Thepasto: he told me that i've to modificate the kernel and i can't do this. [HE TALK ABOUT HEX VALUE]
-Parvata: Upon further digging I found that these are defined in ./kernel/acer/salsa/arch/arm/mach-msm/nand_partitions.c file. take a look at that file. Although I have not tried it. When you change the values in the BoardConfig.mk file ensure that those corresponding values are reflected in this nand_partitions.c file. Be careful not to brick your device. But I guess as long as your recovery bootloader is intact you should be fine.


@Parvata:
francesco@Francesco-AMD64:~$ adb pull ./kernel/acer/salsa/arch/arm/mach-msm/nand_partitions.c [~/francesco]
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
remote object './kernel/acer/salsa/arch/arm/mach-msm/nand_partitions.c' does not exist

Where is the file "BoardConfig.mk"? And what it does?
Edit: ok it's a part of the kernel...
Edit2: Ok, tomorrow i'll try to compile a kernel with your information. Thanks


Both these files are in the cm9 source tree from thepasto. The BoardConfig.mk is under device/acer/salsa. The sizes in there are used during compile time and somewhere in the build a checkis made whether the images that are created fit in these sizes. However the actual partition sizes are created from the nand_partitions.c file. Since these files are from the source tree there is no meaning in pulling it from the device. Hope it makes sense.

  • 0
Keeping the Acer development alive takes a lot of time and effort. Kindly consider supporting my contributions towards Acer development now and into the future.
Posted Image

#3
thepasto

thepasto

    Diehard

  • Members
  • PipPipPipPip
  • 430 posts
  • Gender:Male
  • Devices:Acer Liquid E
  • Twitter:@thepasto

Guys how can i change partition size?
-Thepasto: he told me that i've to modificate the kernel and i can't do this. [HE TALK ABOUT HEX VALUE]
-Parvata: Upon further digging I found that these are defined in ./kernel/acer/salsa/arch/arm/mach-msm/nand_partitions.c file. take a look at that file. Although I have not tried it. When you change the values in the BoardConfig.mk file ensure that those corresponding values are reflected in this nand_partitions.c file. Be careful not to brick your device. But I guess as long as your recovery bootloader is intact you should be fine.


@Parvata:
francesco@Francesco-AMD64:~$ adb pull ./kernel/acer/salsa/arch/arm/mach-msm/nand_partitions.c [~/francesco]
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
remote object './kernel/acer/salsa/arch/arm/mach-msm/nand_partitions.c' does not exist

Where is the file "BoardConfig.mk"? And what it does?
Edit: ok it's a part of the kernel...
Edit2: Ok, tomorrow i'll try to compile a kernel with your information. Thanks


https://github.com/t...26d039ab#diff-1

This is the patch i used to change system to 200mb size. You should do the same changing your values. But it's a bit dangerous.. if you don't know what are you doing. Reading what you wrote in your post i suggest you to be really careful :P

Board-config file can be skipped atm, it's only a check to warn if built image is bigger than your partition size.

Remember to built twrp recovery or cwm with your new kernel and perform a full wipe then, without this step you'll mess up your device and there are several risks of brick

  • 0

Posted Image


Don't want to change phone yet? Support the devs!! :)


Posted Image


#4
Diljeet

Diljeet

    Enthusiast

  • Members
  • PipPipPip
  • 272 posts
  • Gender:Male
  • Location:Acer Liquid Modaco Forum
  • Interests:CM7.2 - CM9 - CM10
  • Devices:Acer Liquid A1
Hello ccorasaaa did you succeed in CM10 build, i mean the partition resize thing?
Best of Luck

  • 0
@Developers: Thanks for your hard work

#5
ccorasaaa

ccorasaaa

    Regular

  • Members
  • PipPip
  • 139 posts
  • Devices:LiquidE
No, sorry, i can't... It seems to me that someone had already made a CM10 for our E-Liquid?

  • 0

#6
Diljeet

Diljeet

    Enthusiast

  • Members
  • PipPipPip
  • 272 posts
  • Gender:Male
  • Location:Acer Liquid Modaco Forum
  • Interests:CM7.2 - CM9 - CM10
  • Devices:Acer Liquid A1

No, sorry, i can't... It seems to me that someone had already made a CM10 for our E-Liquid?

Oh great can you please give me the link to the forum, because i was not aware of that.
Posted Image Thanks for trying, its great news.

  • 0
@Developers: Thanks for your hard work




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users