[Galaxy S II Android Development] Troubadour666:
Need more space on system ??

Hi,

i have made a little pack (100Mo :( ) that make space on system and then i can install open_gapps-arm-5.1-pico-20151024.zip

my updater-script :

run_program("/sbin/busybox", "mount", "/system");
unmount("/system");
show_progress(0.500000, 0);
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/data");
delete("/system/tts/lang_pico/it-IT_ta.bin");
delete("/system/tts/lang_pico/it-IT_cm0_sg.bin");
delete("/system/tts/lang_pico/fr-FR_ta.bin");
delete("/system/tts/lang_pico/fr-FR_nk0_sg.bin");
delete("/system/tts/lang_pico/es-ES_zl0_sg.bin");
delete("/system/tts/lang_pico/es-ES_ta.bin");
delete("/system/tts/lang_pico/en-GB_ta.bin");
delete("/system/tts/lang_pico/en-GB_kh0_sg.bin");
delete("/system/tts/lang_pico/de-DE_ta.bin");
delete("/system/tts/lang_pico/de-DE_gl0_sg.bin");
delete("/system/lib/libwebviewchromium.so");
delete("/system/font/NotoColorEmoji.ttf");
delete_recursive("/data/app/com.google.android.inputmethod.latin-1");
delete_recursive("/data/app/com.google.android.inputmethod.latin-2");
delete_recursive("/data/app/com.google.android.inputmethod.latin-3");
delete_recursive("/data/data/com.google.android.inputmethod.latin");
delete("/data/dalvik-cache/arm/data@app@com.google.android.inputmethod.latin-1@base.apk@classes.dex");
delete("/data/dalvik-cache/profiles/com.google.android.inputmethod.latin");
package_extract_dir("system", "/system");
package_extract_dir("data", "/data");
set_metadata("/system/bin/linker", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/data/fonts/NotoColorEmoji.ttf", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/data/fonts/libwebviewchromium.so", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
symlink("/data/fonts/NotoColorEmoji.ttf", "/system/fonts/NotoColorEmoji.ttf");
symlink("/data/lib/libwebviewchromium.so", "/system/lib/libwebviewchromium.so");
set_metadata_recursive("/system/fonts", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/etc/fonts.xml", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/etc/fallback_fonts.xml", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/data/app/com.google.android.inputmethod.latin-1", "uid", 1000, "gid", 1000, "dmode", 0755, "fmode", 0644);
set_metadata("/data/app/com.google.android.inputmethod.latin-1/base.apk", "uid", 1000, "gid", 1000, "fmode", 0644);
set_metadata("/data/app/com.google.android.inputmethod.latin-1/lib/arm/libjni_keyboarddecoder.so", "uid", 1000, "gid", 1000, "fmode", 0644);
set_metadata("/data/app/com.google.android.inputmethod.latin-1/lib/arm/libjni_unbundled_latinimegoogle.so", "uid", 1000, "gid", 1000, "fmode", 0644);
unmount("/system");
unmount("/data");

yes, i move BIG lib libwebviewchromium.so and NotoColorEmoji.ttf on data and symlink, that work ! No PIT for me, never !!!

ok, i delete some langage too , but its test , adpat it if needed.

my test :

- coming from slimLP

- format data

- flash RR 5.5.8

- flash supersu 2.52

- reboot device

- reboot recovery

- flash my tool

- reboot recovery again (to refresh system partition space)

- flash gapps i mentioned

- reboot

then add your GOOGLE account in settings account.

at end , activate Google KB i added in my tool ;) and benefit with IOs 9.1 emoticons hahaha !

(source : http://xdaforums.com/general/general/mod-google-keyboard-updated-ios-9-1-t3232213)

link to my tool :

RR-I9100-AndroidKB-GoogleKeyboardWithUpdated_iOS_9.1_Emojis-Signed.zip - 101.53 MB

thanks.