• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.
Sign in to follow this  
Followers 0

Re-partitioning System, Cache and User Data.

6 posts in this topic

Posted (edited) · Report post

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
1

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

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/thepasto/liquid-chocolate/commit/937012fe35e9fb6d4ca112599b8d685f26d039ab#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

Share this post


Link to post
Share on other sites

Posted · Report post

Hello ccorasaaa did you succeed in CM10 build, i mean the partition resize thing?

Best of Luck

0

Share this post


Link to post
Share on other sites

Posted · Report post

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

0

Share this post


Link to post
Share on other sites

Posted · Report post

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.

41.gif Thanks for trying, its great news.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.