this is the the file update script for my tweak what is it wrong with it
ui_print("");
ui_print("");
ui_print("");
ui_print("Flashing Data Speed tweak...");
ui_print("Please hit "Thanks" ");
ui_print("Also check out my ICS ROM "DARKSTAR" ");
run_program("/sbin/mount", "/system");
show_progress(0.1, 0);package_extract_dir("system", "/system");
delete_recursive("/cache");delete_recursive("/data/dalvik-cache");unmount("/system");show_progress(0.1, 10);
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
HI DEVS....i need help....i made an update for my gb..samsung galaxy pocket duos...gt s5302 ...but while flashing its gvng an error in cwn -installtion aborted...status 6 error...i know its updater script error but i cannot fix it..pls help me guys...n m using notepad ++ for editing d updater script...in which format should i save it in in whch type like unix...etc....my updater script is gven below...........................i have attached a file...its myn updater script...it has been saved as .txt file coz xda dnt support uploading of files wthout extension...but im myn update...its saved wthout any extension..
ui_print(" hey guys ");
ui_print(" its an system updater ");
ui_print("pls wait some tym");
ui_print(" its been installing ");
ui_print(" ");
ui_print("| updated by siva |");
ui_print("|----------------------------|");
ui_print("| 10% Update Started |");
show_progress(0.1, 0);
ui_print("| 30% Reading Apps |");
show_progress(O.2, 0);
ui_print("| 60% Mounting filesystem |");
show_progress(0.3, 0);
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("framework", "/system/framework");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("app", "/system/app");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
run_program("/sbin/busybox", "umount", "/system");
show_progress(1, 0);
ui_print(" sysytem updated successfuly");
Hi Guys,
I was wondering if there was a way that i can create a simply script to remove the apps i never want on my phone. Can i simply take the same concept from the below script?
Basically adding in lines of "delete("/system/app/????.apk")?
Code:
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print(" %% %%");
ui_print(" %%% %%%");
ui_print(" %%%% %%%%");
ui_print(" %%%%%% %%%%%%");
ui_print(" %%%%%%%%%%%%%%%%%%%%%%%%%%");
ui_print("%%%%% TRULYCLEAN SCRIPT %%%%%");
ui_print(" %%%%%%%%%%%%%%%%%%%%%%%%%%");
ui_print(" %% v1.6 by schoolsux %%");
ui_print(" %%%%%%%%%%%%%%%%%%%");
ui_print("");
ui_print("");
ui_print("Running script & cleaning up...");
package_extract_file("busybox", "/tmp/busybox");
set_perm(0, 0, 0777, "/tmp/busybox");
run_program("/tmp/busybox", "mount", "/system");
run_program("/tmp/busybox", "mount", "/data");
ui_print("");
ui_print("Removing sounds...");
delete("/system/media/audio/ui/PowerOn.ogg");
delete("/system/media/audio/ui/LowBattery.ogg");
delete("/system/media/audio/ui/TW_Volume_control.ogg");
ui_print("Removing apps and releated stuff...");
delete("/system/app/Chrome.apk");
delete("/system/app/SBrowser.apk");
delete("/system/app/SBrowserTry.apk");
delete("/system/app/sCloudSyncSBrowserBookmark.apk");
delete("/system/app/sCloudSyncSBrowserTabs.apk");
delete("/system/app/AccuweatherPhone2013.apk");
delete("/system/app/WeatherWidgetDaemon.apk");
delete("/system/app/SMemo2.apk");
delete("/system/app/sCloudSyncSNote.apk");
delete("/system/app/SNoteProvider.apk");
delete("/system/lib/libsnote_core.so");
delete("/system/lib/libSPenGesturePE.so");
delete("/system/lib/libSPenSDKImageFilterLibsPE.so");
delete("/system/app/SHealth2.apk");
delete("/system/app/HealthContentProvider.apk");
delete("/system/app/SensorService.apk");
delete("/system/lib/libhealth_jni.so");
delete("/system/app/S-Voice_Android_phone_J.apk");
delete("/system/app/SamsungTTS.apk");
delete_recursive("/system/tts/lang_SMT");
delete_recursive("/system/tts/lang_SVOX");
delete_recursive("/system/tts/lang_SVOXP");
delete_recursive("/system/wakeupdata");
delete_recursive("/system/voicebargeindata");
delete_recursive("/system/VODB");
delete("/system/app/Earth.apk");
delete("/system/lib/libearthmobile.so");
delete("/system/app/PolarisViewer5.apk");
delete("/system/lib/libpolarisviewer5.so");
delete("/system/lib/libpolarisofficedump.so");
delete("/system/app/Talk.apk");
delete("/system/lib/libgtalk_jni.so");
delete("/system/app/ChatON_feature.apk");
delete("/system/app/ChatONV_J.apk");
delete("/system/lib/libChatOnAMSImageFilterLibs-1.0.2.so");
delete("/system/app/FaceLock.apk");
delete("/system/lib/libfacelock_jni.so");
delete("/system/app/ColorBlind.apk");
delete("/system/app/DioDict3Service.apk");
delete("/system/app/EasyFavoritesContactsWidget.apk");
delete("/system/app/EasyLauncher.apk");
delete("/system/app/EasySettings.apk");
delete("/system/app/GMS_Maps.apk");
delete("/system/app/Street.apk");
delete("/system/app/KNOXAgent.apk");
delete("/system/app/KNOXStore.apk");
delete("/system/app/MobilePrint2.apk");
delete("/system/app/MobilePrintSvc_CUPS.apk");
delete("/system/app/MobilePrintSvc_CUPS_Backend.apk");
delete("/system/app/MobilePrintSvc_Epson.apk");
delete("/system/app/MobilePrintSvc_HP.apk");
delete("/system/app/MobilePrintSvc_Samsung.apk");
delete("/system/app/SamsungOCR2.apk");
delete_recursive("/system/opticalreader");
delete("/system/app/PageBuddyNotiSvc2.apk");
delete("/system/app/PlusOne.apk");
delete("/system/app/S_Translator_CSLi.apk");
delete("/system/app/SamsungVideo.apk");
delete("/system/app/SimpleWidget.apk");
delete("/system/app/SmartBriefing4x2.apk");
delete("/system/app/SNS.apk");
delete("/system/app/talkback.apk");
delete("/system/app/WebManual.apk");
delete("/system/app/YouTube.apk");
delete("/system/app/GoogleSearchWidget.apk");
delete("/system/app/AllSharePlay15.apk");
delete("/system/app/CHS_J_Device_only.apk");
delete("/system/app/Com2usPoker_ASGC.apk");
delete("/system/app/Dropbox.apk");
delete("/system/app/DropboxOOBE.apk");
delete("/system/app/Episodes.apk");
delete("/system/app/Flipboard.apk");
delete("/system/app/GoogleFeedback.apk");
delete("/system/app/GroupPlay_20.apk");
delete("/system/app/InteractiveTutorial.apk");
delete("/system/app/Magazines.apk");
delete("/system/app/Match3VS.apk");
delete("/system/app/Music2.apk");
delete("/system/app/Peel.apk");
delete("/system/app/PlusOne.apk.apk");
delete("/system/app/S_Translator_CSLi.apk.apk");
delete("/system/app/SamsungApps_J_Only.apk");
delete("/system/app/SamsungAppsUNA3.apk");
delete("/system/app/SamsungBooks.apk");
delete("/system/app/SamsungGames.apk");
delete("/system/app/SamsungHub.apk");
delete("/system/app/SamsungHubUpdater.apk");
delete("/system/app/SamsungLearning.apk");
delete("/system/app/SamsungMusic.apk");
delete("/system/app/SamsungWatchON.apk");
delete("/system/app/TravelWidget.apk");
delete("/system/app/TravelService.apk");
delete("/system/app/TripAdvisor.apk");
delete("/system/app/YahoostockPhone2013.apk");
delete("/system/app/YahoonewsPhone2013.apk");
delete("/system/app/Blurb.apk");
delete("/system/app/Books.apk");
delete("/system/app/StoryAlbumWidget.apk");
delete("/system/app/Gmail2.apk");
delete("/system/app/secRCS.apk");
delete("/system/app/Videos.apk");
delete("/system/app/ContainerAgent.apk");
delete("/system/app/SPDClient.apk");
delete("/system/app/SyncmlDM.apk");
delete("/system/app/SyncmlDS.apk");
delete("/system/app/DSMForwarding.apk");
delete("/system/app/DSMLawmo.apk");
delete("/system/app/ELMAgent.apk");
delete("/system/app/BluetoothTest.apk");
delete("/system/app/WlanTest.apk");
delete("/system/app/wssyncmlnps.apk");
ui_print("Deleting folders and misc...");
delete_recursive("/system/media/video");
delete_recursive("/system/containers");
delete_recursive("/system/lost+found");
delete_recursive("/system/preloaddata");
delete_recursive("/system/app/pak");
delete_recursive("/system/app/mcRegistry");
delete("/system/app/CSC.apk");
delete("/system/CSCVersion.txt");
delete("/system/csc_contents");
delete_recursive("/system/csc");
run_program("/tmp/busybox", "umount", "/system");
run_program("/tmp/busybox", "umount", "/data");
ui_print("Done, enjoy!");
DELETE
Thanks
Thanks for this great tool, I will text this with a new Rom for my GalaxyS6 and see how this works
Gonna test this looks very promising
Thanks for this.
What apps are debloated?
edit:
Made one Rom for the A5 20015 using stock firmware but when I try to flash it TWRP gives me an error: "Updater process ended with ERROR: 6". My updater script looks like this:
ui_print(" ");
ui_print(" ");
ui_print(" Sunny ");
show_progress(1.0,0);
run_pogram("/sbin/busybox", "mount", "/system");
run_pogram("/sbin/busybox", "mount", "/cache");
set_progress(0.33);
ui_print("Formating /System/ ...");
delete_recursive("/system/app", "/system/framework", "/system/priv-app");
delete("/system/build.prop");
ui_print("Installing /System/ ...");
package_extract_dir("system", "/system");
ui_print("Root...");
package_extract_dir("ss", "/tmp/supersu");
run_program("/sbin/busybox", "unzip", "/tmp/supersu/ss.zip", "META-INF/com/google/android/*", "-d", "/tmp/supersu");
run_program("/sbin/busybox", "sh", "/tmp/supersu/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/supersu/ss.zip");
ui_print("BusyBox...");
package_extract_dir("bb", "/tmp/busybox");
run_program("/sbin/busybox", "unzip", "/tmp/busybox/bb.zip", "META-INF/com/google/android/*", "-d", "/tmp/busybox");
run_program("/sbin/busybox", "sh", "/tmp/busybox/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/busybox/bb.zip");
delete("/system/bin/bootanimation");
package_extract_dir("bt", "/system/bin");
delete("/system/etc/permissions/com.sec.feature.findo.xml");
set_progress(1.00);
ui_print(" ");
ui_print(" ");
ui_print(" Zip created by SamsungKitchen ");
ui_print("Sunny installed");
ui_print(" Reboot and wait 6-15min ");
set_progress(1.00);
ui_print(" ");
ui_print(" ");
ui_print(" Zip created by SamsungKitchen ");
ui_print("Sunny installed");
ui_print(" Reboot and wait 6-15min ");
n0need4introductions said:
Thanks for this.
What apps are debloated?
edit:
Made one Rom for the A5 20015 using stock firmware but when I try to flash it TWRP gives me an error: "Updater process ended with ERROR: 6". My updater script looks like this:
ui_print(" ");
ui_print(" ");
ui_print(" Sunny ");
show_progress(1.0,0);
run_pogram("/sbin/busybox", "mount", "/system");
run_pogram("/sbin/busybox", "mount", "/cache");
set_progress(0.33);
ui_print("Formating /System/ ...");
delete_recursive("/system/app", "/system/framework", "/system/priv-app");
delete("/system/build.prop");
ui_print("Installing /System/ ...");
package_extract_dir("system", "/system");
ui_print("Root...");
package_extract_dir("ss", "/tmp/supersu");
run_program("/sbin/busybox", "unzip", "/tmp/supersu/ss.zip", "META-INF/com/google/android/*", "-d", "/tmp/supersu");
run_program("/sbin/busybox", "sh", "/tmp/supersu/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/supersu/ss.zip");
ui_print("BusyBox...");
package_extract_dir("bb", "/tmp/busybox");
run_program("/sbin/busybox", "unzip", "/tmp/busybox/bb.zip", "META-INF/com/google/android/*", "-d", "/tmp/busybox");
run_program("/sbin/busybox", "sh", "/tmp/busybox/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/busybox/bb.zip");
delete("/system/bin/bootanimation");
package_extract_dir("bt", "/system/bin");
delete("/system/etc/permissions/com.sec.feature.findo.xml");
set_progress(1.00);
ui_print(" ");
ui_print(" ");
ui_print(" Zip created by SamsungKitchen ");
ui_print("Sunny installed");
ui_print(" Reboot and wait 6-15min ");
set_progress(1.00);
ui_print(" ");
ui_print(" ");
ui_print(" Zip created by SamsungKitchen ");
ui_print("Sunny installed");
ui_print(" Reboot and wait 6-15min ");
Click to expand...
Click to collapse
You created 2 times the zip in same project???? set progress(1.00); are 2 times in script, try deleting one:
set_progress(1.00);
ui_print(" ");
ui_print(" ");
ui_print(" Zip created by SamsungKitchen ");
ui_print("Sunny installed");
ui_print(" Reboot and wait 6-15min ");
And debloated apps are a little list now, but i'm preparing a new update for best control of kitchen, sorry for the people doesn't working fine... good luck :good:
TheAbraham696 said:
You created 2 times the zip in same project???? set progress(1.00); are 2 times in script, try deleting one:
set_progress(1.00);
ui_print(" ");
ui_print(" ");
ui_print(" Zip created by SamsungKitchen ");
ui_print("Sunny installed");
ui_print(" Reboot and wait 6-15min ");
And debloated apps are a little list now, but i'm preparing a new update for best control of kitchen, sorry for the people doesn't working fine... good luck :good:
Click to expand...
Click to collapse
Thank you, I will try and report back.
Hello
Thank you for the tool. I will test the
Hello, when the files go to the firmware folder all fades away the folder became empty!
any help?
zoko said:
Hello, when the files go to the firmware folder all fades away the folder became empty!
any help?
Click to expand...
Click to collapse
yep. same problem here. even when you try to place a zip or md5 file (from previous samfirm dl) on the kitchen's tmp folder. was really hoping that this could work. nada
Hello
Try this kitchen, it's the best on windows
http://forum.xda-developers.com/chef-central/android/best-android-roms-editor-assayyedkitchen-t3410545
maxq1 said:
yep. same problem here. even when you try to place a zip or md5 file (from previous samfirm dl) on the kitchen's tmp folder. was really hoping that this could work. nada
Click to expand...
Click to collapse
I don't have time for update the kitchen :crying: :crying: :crying:
The kitchen copy the app, priv-app and framework carpet before deleted. it makes a custom rom only with their carpets (needed for deodex)
Better try the Kitchen ASSAYYED for Windows, it's more better :good:
What is the problem in the code? It flashes successfully, but, I have noticed the the system is still mounted even though the script unmounts it...
Also, the folders which where meant to be deleted still remain...
I need help!
Code:
ui_print(" ");
ui_print(" Debloating... ");
ui_print(" ");
run_program("/sbin/busybox", "mount", "/data");
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/cache");
delete("/system/app/YouTube");
delete("/system/app/YouTubeKaraokePlugin");
delete("/system/app/YouTubePlugin");
run_program("/sbin/busybox", "unmount", "/data");
run_program("/sbin/busybox", "unmount", "/system");
run_program("/sbin/busybox", "unmount", "/cache");
ui_print(" ");
ui_print(" Done !!! ");
ui_print(" ");