Quantcast
Channel: xda-developers - Galaxy Note GT-N7000 Android Development
Viewing all articles
Browse latest Browse all 232

[HowTo] [for cooks] preload partition / how and why you should use it!

$
0
0
Hi folks,

an other very short tutorial for the people (cooks), who do not know how to use the preload (hidden) partition and symlink system apps to it.

Some basics on preload-partition and why you should use it:

We have the so called 'hidden/preload partition' (mmcblk0p12) on our device. Besides the system partition with around 840 mb space, this hidden partition has additional 500 mb...this 500 mb were thought from sammy in the beginning mainly for their own crap like gamehub apps or learning hub and so on. But as system partition is on the edge right now with jelly bean they also use it for placing system apps inside --> the reason is that 840 mb in system is far to less for all files!

Usually most cooks just transfered system apps to data partition (located on your usb storage) to get out of this mess. This method with using hidden partition just gives great opportunity to keep your system partition smaller and you can transfer apps to it which you can not move to data! Your device will probably also perform faster with less space used inside system-partition. Our kernel dev Phil also made it possible now to backup/restore preload-partition within nandroid on his newer CWM-recoveries --> so now you can do a full backup/restore including this preload-partition....before it was not possible!

How to symlink system-apps to preload-partition:

just take the app 'Notepad++' (google for it) on your PC/Laptop, open it, create a new file and put the following inside ('nameofapp.apk' is just an example for any app you wanna symlink):

Quote:

Link: /preload/symlink/system/app/nameofapp.apk
save and close as 'nameofapp.apk' --> this is the one to put inside /system/app to symlink to the original one you put inside /preload/symlink/system/app.

Now do this steps with every system app you wanna symlink...

This is the manual way to this, though I know scripts can be used to do these steps automatically...;) But this way you at least get a basic understanding how it works!

I won't tell you how to push apps to preload-partition inside CWM-flashable ROM in general, cause this is basic knowledge when you wanna cook a ROM - but you could download any ROM already using this method and look inside 'META-INF\com\google\android\updater-script' and you will know how to do this. ;)

Viewing all articles
Browse latest Browse all 232

Trending Articles