mavrikmeercat
Android Enthusiast
I've came up with my own way to restore apps after flashing a new version and thought I might share.. Hope I don't confuse too many people..or I'm not posting something someone has already posted..
I took Blood's ApkInstaller.zip and edited the updater-script to include
apps for data on sd-ext.
Looks like this:
This would only work if you use these settings in KoumaMod settings:
Then i pulled my entire /data/app directory from my phone after i had it all set up like i wanted it to a folder named data on my PC.
then opened the ApkInstaller.zip archive and moved data to the root of the zip folder so the archive now looks like this:
so now I can put Blood's removed (system) apps that i want into system/app and all my apps from my sd-ext into data/app in the zip and flash.
The reason I decided to go this route is because I had quite a bit of trouble with apps after restoring from Titanium Backup. even when restoring apps without app data.
How to:
put all your apps from /sd-ext/app/ into data/app in the zip
Flash Blood's latest ROM version and reboot into CTMod
set up KoumaMod settings like the screenshot
reboot back into CTmod to make sure Kouma settings are right
reboot into cwm
install zip from sdcard
reboot
I took Blood's ApkInstaller.zip and edited the updater-script to include
apps for data on sd-ext.
Looks like this:
Code:
ui_print("App Restore Pkg");
ui_print("");
ui_print("Installing Data Apps");
show_progress(0.500000, 0);
ui_print("");
ui_print("Mounting /sd-ext");
mount("ext4", "/dev/block/mmcblk0p2", "/sd-ext");
ui_print("");
ui_print("Extracting Files");
package_extract_dir("data", "/sd-ext");
show_progress(0.100000, 0);
unmount("/sd-ext");
ui_print("");
ui_print("Done");
ui_print("");
ui_print("Installing System Apps");
show_progress(0.500000, 0);
ui_print("");
run_program("/sbin/mount", "-t", "auto", "/dev/block/stl12", "/system");
ui_print("");
package_extract_dir("system", "/system");
show_progress(0.100000, 0);
unmount("/system");
ui_print("");
ui_print("Done");
ui_print("");
ui_print("Flashing Complete");
ui_print("Reboot System Now");

Then i pulled my entire /data/app directory from my phone after i had it all set up like i wanted it to a folder named data on my PC.
then opened the ApkInstaller.zip archive and moved data to the root of the zip folder so the archive now looks like this:
Code:
data
META.INF
system
so now I can put Blood's removed (system) apps that i want into system/app and all my apps from my sd-ext into data/app in the zip and flash.
The reason I decided to go this route is because I had quite a bit of trouble with apps after restoring from Titanium Backup. even when restoring apps without app data.
How to:
put all your apps from /sd-ext/app/ into data/app in the zip
Flash Blood's latest ROM version and reboot into CTMod
set up KoumaMod settings like the screenshot
reboot back into CTmod to make sure Kouma settings are right
reboot into cwm
install zip from sdcard
reboot