A flashable zip with appropriate updater script might be the way to go for those on ROMS where preload is not utilized. .....
Sent from my GT-N7000 using xda app-developers app
Sent from my GT-N7000 using xda app-developers app
Yesis it posible to use this method on GB rom??
Sent from my GT-N7000 using Tapatalk 2
No reply??Sooo, basically; symlinking is like creating a shortcut for an app or folder in Windows....
And;
Is it possible to make a script to move /system/app folder to /preload/symlink/system/app and after that symlink those apps to /system/app.
So that we can get more space in our existing Roms without trying to move them to /data/app folder?
e.g:
copy_dir("/system/app", "/preload/symlink/system/app")
delete_recursive(/system/app")
symlink("/preload/symlink/system/app", "/system/app");
Is something like that possible??
AFAIK scripter doesn't duplicate files from a partition to another, only from a temp folder which in our cases its unpacked zip...No reply??
Wow. Symlinking from /system/apps to /preload to /sdcard/data because of only 493 MB of free space.So I've got 493mb left on system on cm10.1 rom, is there any way to link the preload partition to say sdcard/data or sd-ext?
Sent from my CM-N7000
There is a script in Utackas PA thread, that links Dalvik to preload. Did not tested it, but sounds promising, as it gives some more free space.So I've got 493mb left on system on cm10.1 rom, is there any way to link the preload partition to say sdcard/data or sd-ext?
Sent from my CM-N7000
so after playing around with the dalvik2preload, which works, i tried editing it for a couple of others. nothing off sdcard will work, cos sd card isn't mounted till after boot.Wow. Symlinking from /system/apps to /preload to /sdcard/data because of only 493 MB of free space.
yescan i view this partition using any root file manager?
but these symptoms were seen with lsa cwm deodexed roms too which didnt have apps in preloadSome people report that system apps in preload causes random freezes, boot problems after crashes (freeze on "Samsung galaxy note" text).
What do you thing about this?
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):
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.![]()