"Project butter" for ics Aurora_5.0_u9 compatible - Huawei Ideos X5 U8800

Just flash in recovery, MOUNT SYSTEM before doing it!
This is not the project butter, more like a package of tweaks that will smooth the ui and some programs
I noticed a huge improvement in system ui as in application! fluidity is definitely better!
Post your opinion
http://depositfiles.com/files/u33j5sigx
Thanks to the original post and author :
http://forum.xda-developers.com/showthread.php?t=1911327
Sent from my U8800 using xda app-developers app

I will port it to Mlora... thanks
Sent from my U8800 using xda app-developers app

I just flashed it on Mlora, seems that works.

I have flashed it to MIUI V4 but the build.prop changes didn't copied and the other files too. I did it manually and I think I have quite worse performance than before
cheers

For me using Aurora_5.0_u9 works like a charm, Facebook and other apps running a lot smother..
Sent from my U8800 using xda app-developers app

websorcer said:
For me using Aurora_5.0_u9 works like a charm, Facebook and other apps running a lot smother..
Sent from my U8800 using xda app-developers app
Click to expand...
Click to collapse
Can you confirm that it is flashed correctly and it is not a placebo?
Can you please check these 2 things:
1. is the last line of the /system/build.prop file the following
ro.HOME_APP_ADJ=1
2. do you have an adreno_config.txt file inside /system/etc?
thank you!

Yes, i have the txt file. You have to mount system in order to be correctly patched.
See the original post for more details.
Sent from my U8800 using xda app-developers app

Seems that the author removed it...
Sent from my u8800pro using xda premium

I'm testing this, and it really seems to make the UI smoother. There's only one small mistake after installing it, it creates an aditional build.prop file with it's contents being only "/n". It can safely be deleted.

fjsferreira said:
I'm testing this, and it really seems to make the UI smoother. There's only one small mistake after installing it, it creates an aditional build.prop file with it's contents being only "/n". It can safely be deleted.
Click to expand...
Click to collapse
Boot speed is the same?
Sent from my u8800pro using xda premium

Somcom3X said:
Boot speed is the same?
Sent from my u8800pro using xda premium
Click to expand...
Click to collapse
Yes. This doesn't include init.d scripts, those are what slows down boot speed.

I haven't tried this but the correct line on the updater script in order for this to work is
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
or this
Code:
run_program("/sbin/busybox", "mount", "/system");
rest is plain placebo

ezet said:
I haven't tried this but the correct line on the updater script in order for this to work is
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
or this
Code:
run_program("/sbin/busybox", "mount", "/system");
rest is plain placebo
Click to expand...
Click to collapse
Other way to install is just to mount /system in CWM before flashing the zip (tested by me )

I'm having problems with some apps, after flashed project butter. I'm using go SMS pro(not the latest, but 4.30 version) which doesn't work any more. I have a lot of apps(~200), and except go sms I faced this problem at all -made by me- apps, which are some tutorial apps and 5 small apps. All of them are 2.2+ and work fine on 2.2, 2.3 and ICS rom(I've test them). The problem seems to be the same in all apps I tested. Appears only a black screen, and seems that something works(because If I tap on the screen I can hear the sound which indicates that something pressed), but nothing change visually.
So, I'm thinking that is some graphics problem which affects apps compiled on JB previous android platform(one of my apps is compiled with android 4.0 platform).
I don't care for my home made apps, because I can try to recompile them, but I want to keep using GO SMS pro 4.30 version, which has the offline SMS backup future.
Can you figure out what cause this problem?

Can this be installed in Elora 1.11.09? Or is this ROM already optimized/'butterrized'? :silly:

Many of my applications are built for ics, have you mount system before flash the zip? I have encountered some issues like those when I first flash the zip file and forgot to mount system..
Sent from my U8800 using xda app-developers app

J ust installed this over miui V4 + v6 supercharger scrpits and its working good.
Didn't need to mount system.
---------- Post added 13th November 2012 at 12:07 AM ---------- Previous post was 12th November 2012 at 11:34 PM ----------
Djuganight said:
J ust installed this over miui V4 + v6 supercharger scrpits and its working good.
Didn't need to mount system.
Click to expand...
Click to collapse
I didn't see any changes in build.prop nor the adreno file in /system/etc, therefore I decided to flash the zip again, now with the system mounted.
Now I felt good differences in smoothness and apps looks like load faster but lost wifi completely.
Tried several reboots but no wifi.
Had to restore a backup. What can it be?

This isn't nowhere near to Project Butter. All this does is disabling the software rendering path via renaming the libGLES_Android.so file + some build.prop tweaks.
It should be just called as an another tweak package.. Since it's not project butter

Unrealized said:
This isn't nowhere near to Project Butter. All this does is disabling the software rendering path via renaming the libGLES_Android.so file + some build.prop tweaks.
It should be just called as an another tweak package.. Since it's not project butter
Click to expand...
Click to collapse
Buahahahahah
Where is project butter then?

Djuganight said:
Buahahahahah
Where is project butter then?
Click to expand...
Click to collapse
Project Butter is a feature in Jelly Bean. This is just a package of tweaks, which are not relevant to Project Butter at all. It requires a lot of library changes to be enabled in ICS, this has no modified libs, it just disables one and edits build.prop.

Related

[HOW-TO] Remove the FPS limit on stock-ROMs

Huawei decided to put a FPS limit on its stock-ROMs, and this limit makes a stock-rom jerky and unsuitable for gaming.
I have looked for a script that was able to remove this FPS limit but the only one i found was not working correctly.
Then i found a really useful script that disables the VSYNC (enabled by default in the kernel).
I have tested this script on my u8800pro (stock 2.3.5 + root + CWM recovery + kernel .35 by genokolar) and it works really well. The rom now is really smoot, like CM7, and fast.
I haven't noticed any lag.
This is how to remove the FPS limit:
download this file http://sourceforge.net/projects/matteof93.u/files/69uncapfps/download
put it in your sdcard
download the app "script manager" from the market
open the script with script manager (remember to select run as root and run at boot)
after running the script for the 1st time, reboot the phone
To check if the script works, use an app like Neocore (i get 55FPS).
This script should work with both u8800 and u8800pro. I don't know if it works with the stock kernel.
First you say it doesn't remove the limit but disables the vsync, then later you say how to remove the FPS limit and the topic also states that.
What's it gonna be?
Ok, the script simply edits a system file to disable the vsync...
Code:
#!/system/bin/sh
#zdzihu: uncap fps
mount -t debugfs debugfs /sys/kernel/debug
echo '0' > /sys/kernel/debug/msm_fb/0/vsync_enable
umount /sys/kernel/debug
Nice move, but it's not cool to just tell people to run some script from "megaupload" or whatever...
VuDuCuRSe said:
First you say it doesn't remove the limit but disables the vsync, then later you say how to remove the FPS limit and the topic also states that.
What's it gonna be?
Click to expand...
Click to collapse
it removes the FPS limit disabling the vsync. it's ok now?
Can confirm it works.
Tested using Droid2DTest and LagTest.
comfim it works
Thank you very much
I have u8800 and got 55,1fps with this script
Druida69 said:
I have u8800 and got 55,1fps with this script
Click to expand...
Click to collapse
this is my same score
This works on stock GB kernel. The screen is super smooth, thanks a lot!
It works well on 2.3.5 with OC Kernel from Genokolar.
doesn't work
EDIT: it works but my phone recognizes my finger every 5 pixel
Sent from my U8800 using xda premium
alex1301 said:
doesn't work
EDIT: it works but my phone recognizes my finger every 5 pixel
Sent from my U8800 using xda premium
Click to expand...
Click to collapse
which kernel do you use?
genos
Sent from my U8800 using xda premium
excelent
Works great on u8800-51 (entelpcs chile) with stock rom 2.2.2
Thank you very much sir.
alex1301 said:
genos
Sent from my U8800 using xda premium
Click to expand...
Click to collapse
are you using the u8800 or the u8800pro? 2.2.2 or 2.3.5?
the normal one with 2.3
Sent from my U8800 using xda premium
Thank you.
I wanted to do this.
Working great here on MIUI!
thanks.
afigienas said:
hate when need to post 10 post to be able to post something in developers section! stupid rule.. now i have to spam just to be able to post one answer there.
Click to expand...
Click to collapse
do spam and will get sanction for sure
2.6 All members are expected to read and adhere to the XDA rules.
Click to expand...
Click to collapse
doesn't have anyone a solution? i've also started a thread.

[GUIDE] How to keep the old CM10 partition layout & stay up to date with changes

OK, so the debate over partitioning in CM10 is all but done and I'm not going to discuss it here.
I've been building CM10 for my own use with the partition layout change reverted and this works nicely for me. But what about people who can't compile the source for themselves (for whatever reason)?
That's why I'm posting this brief guide to what I'm calling "fudgedating" (its like updating). Using the method below you will be able to stay up to date with all the CM10 nightly updates (except kernel changes) without compiling or doing anything difficult.
ALWAYS MAKE A NANDROID BEFORE FLASHING
I'VE TESTED THIS WITH CM10 NIGHTLIES FROM 23082012 & 22082012 BUT IF IT FAILS TO WORK FOR YOU THEN I'M SORRY, THAT'S LIFE. RESTORE YOUR BACKUP & MOVE ON
What you'll need:
1. My cm-10-20120918-FISHEARS-galaxysmtd.zip file (my nightly that has a working kernel with the old partition layout)
2. Any current Nightly zip of CM10
3. A computer with a Zip-capable archive tool
What you need to do:
1. Make a copy of cm-10-20120918-FISHEARS-galaxysmtd.zip and call it something like CM10-FUDGEDATE.zip
2. delete the /system folder from within CM10-FUDGEDATE.zip (or whatever you called it)
3. extract the /system folder from your official CM10 Nightly
4. add that /system folder to your CM10-FUDGEDATE.zip (or whatever you called it)
Now you have a CM10-FUDGEDATE.zip (or whatever you called it) containing the kernel and partition layout from cm-10-20120918-FISHEARS-galaxysmtd.zip and the system from the CM10 Nightly.
Copy CM10-FUDGEDATE.zip (or whatever you called it) to your SD card and flash it in CWM.
Reboot & profit
NOTE: currently you can NOT flash any custom kernels because there aren't any that support the latest CM10 while still having the old partition layout.
Whenever you want to repeat the process for a new Nighly, just do steps 2,3 & 4 again and flash it as before.
Please don't flame this thread. If you think its a bad idea then please state only technical objections to support your view.
All credit to Team Hacksung & Pawitp for the awesome effort that continues to go into CM10.
Well... old partition nightlies worked very good for me.So I will try this.
Anyway I noticed there are some jb ROMs with less changes than yours calling theirselfs stable so far etc.
Will you make thread of cm10 (or call it like you want) with old partition and newest nightly?
Thanks. Sorry for poor English.
Sent from my GT-I9000 using xda premium
---------- Post added at 12:36 AM ---------- Previous post was at 12:26 AM ----------
Sent from my GT-I9000 using xda premium
Thanks but I don't want to start the hard work of maintaining a ROM thread. This is just instructions to stay up to date.
I do compile my own CM10 which you can download by clicking on my signature. Again, I won't be starting a thread for this as its really just for me but I don't mind sharing.
I will change the thread title though.
Sent from my GT-I9000 using Tapatalk 2
Well.works good for me no deference betwin this or other layout.Thank you very much
Sent from my GT-I9000 using xda premium
slaj76 said:
Well.works good for me no deference betwin this or other layout.Thank you very much
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
That's good to know. I think we both must have phones with the faster NAND because I didn't see any improvement when the official partition layout changed.
fishears said:
That's good to know. I think we both must have phones with the faster NAND because I didn't see any improvement when the official partition layout changed.
Click to expand...
Click to collapse
2011.3.10 my phone's production date.
http://forum.xda-developers.com/showthread.php?t=1818372
You can check your's.
Sent from my GT-I9000 using xda premium
slaj76 said:
2011.3.10 my phone's production date.
http://forum.xda-developers.com/showthread.php?t=1818372
You can check your's.
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
Yeah, mine was made April 2011. No reason for us to lose all that data space
Sent from my GT-I9000 using Tapatalk 2
thanks for sharing this with us
i'll try this
fishears one more question can i flash your latest rom without wipe?
Thanks.
slaj76 said:
fishears one more question can i flash your latest rom without wipe?
Thanks.
Click to expand...
Click to collapse
No need to wipe.
If you are flashing a new build over a previous one then you also don't need to reflash gapps
fishears said:
No need to wipe.
If you are flashing a new build over a previous one then you also don't need to reflash gapps
Click to expand...
Click to collapse
Thanks.
thanks
Lorog said:
thanks
Click to expand...
Click to collapse
Hit thanks to fishears.
Sent from my GT-I9000 using xda premium
Managed to install your rom, and I got what I want. However I have a probler with Adaway said: /data/data/host not enough spare. Try Adfree solve the problem. Anyway thank you for the idea and rom.
Edit: Just discovered that System had only 300k free space out of 350MB. Maybe I have to delete some not important apk (like those live wallpapers) & unused ringtones.
Edit2: After deleting Chinese & Korean fonts Droidsansfallback , MTL* & Nanum Gothic, I got 12MB free space and Adaway runs smoothly.
sawari said:
Managed to install your rom, and I got what I want. However I have a probler with Adaway said: /data/data/host not enough spare. Try Adfree solve the problem. Anyway thank you for the idea and rom.
Edit: Just discovered that System had only 300k free space out of 350MB. Maybe I have to delete some not important apk (like those live wallpapers) & unused ringtones.
Edit2: After deleting Chinese & Korean fonts Droidsansfallback , MTL* & Nanum Gothic, I got 12MB free space and Adaway runs smoothly.
Click to expand...
Click to collapse
Good I also deleted cmwallpapers and DSP manager.
Sent from my GT-I9000 using xda premium
slaj76 said:
Good I also deleted cmwallpapers and DSP manager.
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
I usually have around 15mb free on /system after deleting only Exchange & Movie Studio
Sent from my GT-I9000 using Tapatalk 2
fishears said:
I usually have around 15mb free on /system after deleting only Exchange & Movie Studio
Sent from my GT-I9000 using Tapatalk 2
Click to expand...
Click to collapse
Never mind, your released rom should be as is, let us delete whatever we want. Easier for you and less trouble for us.TQ
Sent from my GT-I9000 using Tapatalk 2
sawari said:
Never mind, your released rom should be as is, let us delete whatever we want. Easier for you and less trouble for us.TQ
Sent from my GT-I9000 using Tapatalk 2
Click to expand...
Click to collapse
That's fine. I think pawitp might get a bit lazy with the system size now that his build has a 2gb /system
Maybe I'll have to trim it down in the future.
Sent from my GT-I9000 using Tapatalk 2
A rom more in line with the Slim Bean philosophy (about 280mb system with google apps) would even allow you to create a larger datadata partition (at the expense of unused system partition space, circa 80mb) and improve usability. Using this mind-frame i guess we could gain some 50mb to datadata while still keeping 30mb free in system for people who want to add some removed system apps.
Nevertheless, this is your rom and ultimately your decision.
AlexandreT said:
A rom more in line with the Slim Bean philosophy (about 280mb system with google apps) would even allow you to create a larger datadata partition (at the expense of unused system partition space, circa 80mb) and improve usability. Using this mind-frame i guess we could gain some 50mb to datadata while still keeping 30mb free in system for people who want to add some removed system apps.
Nevertheless, this is your rom and ultimately your decision.
Click to expand...
Click to collapse
Its a good idea & perfectly possible. Pawitp just asked for some chip id data in the CM10 thread. It looks like lags could be associated with phones having the older Samsung MoviNand chip. Newer devices have a Sandisk iNand (same as Nexus S). I have the Sandisk so that's why the new partition layout made no difference to me. I'm not sure that increasing datadata would help. I don't use it because I don't see any gain in practice.
Sent from my GT-I9000 using Tapatalk 2

[DUALBOOT MOD] Shared Apps

Hello everyone!
First of all, I am posting here as I am not able to post in the Development Forum. If a moderator sees this fit could he/she please move this thread to the Development forum.
This is a mod to Siyah's Kernel which allows Dual Booting.
Currently you are unable to share apps between your two ROM's and to me that is really annoying.
WELL, after much research and testing I have devised a script to allow sharing of apps between ROM's.
WARNING: Should only be used on freshly flashed 2nd ROM's otherwise you will lose all your downloaded apps for your 2nd ROM!!!
They way this works is to mount the data from your 1st ROM in your 2nd ROM, then symbolic link the app folder.
Now for all you people that are going to nag saying it has issues, stop it! If it has issues fix it yourself! I tested this on Omega ROM and ParanoidAndroid and it works fine.
First go through the process of flashing your 2nd ROM. Once that is completely boot into your 1st ROM again and download the attached file and extract its contents to "/data/media" otherwise known as the root of your internal SD Card.
Once completed, reboot into your 2nd ROM and download/open your Terminal app and type in the following commands
(lines starting with # are comments so don't type those into your terminal, also hit enter at the end of each line):
Code:
# Escalate to root (hit grant if a dialog pops up)
su
# Remount the system so you can write to it
mount -o rw,remount /system
# Now copy the file from your SD Card to /system/etc/init.d
cp /data/media/01userinit.sh /system/etc/init.d/01userinit.sh
# Change working directory to /system/etc/init.d
cd /system/etc/init.d
# Rename the 01userinit.sh to 01userinit
# If 01 is already used then choose the next lowest number e.g. 01banner so choose 02
rename 01userinit.sh 01userinit
# Change permissions just to make sure (remember to use your number if you changed the 01 part)
chmod 771 01userinit
After doing this close the terminal and reboot the phone into the 2nd ROM again. This time it should take a little longer and might say its upgrading a few apps.
This is largely untested so there is no guarantee it will work.
WARNING!!!! MUST READ THIS WARNING!!!!
Uninstalling an application from either ROM WILL uninstall it from the other ROM as well!!!
You are sharing apps directly, no mimics or anything!!!
Thanks for reading! Feedback is much appreciated, if there are issues I will be glad to listen and see if I can fix them but I make no promises. :silly:
charsleysa said:
Hello everyone!
First of all, I am posting here as I am not able to post in the Development Forum. If a moderator sees this fit could he/she please move this thread to the Development forum.
***deleted**
Thanks for reading! Feedback is much appreciated, if there are issues I will be glad to listen and see if I can fix them but I make no promises. :silly:
Click to expand...
Click to collapse
Good work keep it up!
Exactly what I was looking for! Will try this when I'm home, will give feedback then! Thanks
Sent from my GT-I9300 using xda app-developers app
Good works.
this method run with the contact and message also???
very thanks for this.
I will try.
gazou_hb said:
Good works.
this method run with the contact and message also???
very thanks for this.
I will try.
Click to expand...
Click to collapse
This script won't do that. I can create a script to do that if I have time but first I need to work on assignments.
Looks like good work, will give it a go later and/maybe congratulations
Sent from my GT-I9300 using xda premium
I try this with Samsung ROM xxdlib ans cm10 ROM. All application have present.
Your method and file work perfectly.
I thinks that it's better to make a recoevry install for easy method. If it's possible.
Good works.
Sorry for my bad english.
For my request concerning the same method for the contact and messages (SMS) talk me when i test...
Sent from my GT-I9300 using xda premium
Nice mod! It is worth noting that the script only links the apps (APKs) between ROMs. It does not link the data (databases/preferences) used by these apps.
I'm trying to link the sms messages across ROMs but the db seems to be different between Samsung and CM ROMs. I would like to see what would you do here
Sent from my GT-I9300 using Tapatalk 2
I would like to have the data linked to, any way to do that?
Sent from my GT-I9300 using xda app-developers app
lightning18 said:
Nice mod! It is worth noting that the script only links the apps (APKs) between ROMs. It does not link the data (databases/preferences) used by these apps.
I'm trying to link the sms messages across ROMs but the db seems to be different between Samsung and CM ROMs. I would like to see what would you do here
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
I just tried linking contacts, sms and calendar and I managed to corrupt my entire 2nd ROM so I don't think it's possible without providing a 3rd app to run in the background.
Interesting, will give it a try
Great! Just waiting to full sync between ROMS
I love the concept but cannot get this to work. No matter what I do it won't work
Drew071
Sent from my GT-I9300 using xda app-developers app
it is not working... initially the app dir was loaded as /data/app/app tweaked the script to load the app directory ( dataapp ) .. still i am not able to see the apps in the launcher .. .
drew071 said:
I love the concept but cannot get this to work. No matter what I do it won't work
Drew071
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
smartvinu said:
it is not working... initially the app dir was loaded as /data/app/app tweaked the script to load the app directory ( dataapp ) .. still i am not able to see the apps in the launcher .. .
Click to expand...
Click to collapse
Could you please tell me what ROM's you are using and whether or not they are fresh installs.
Just tried this with Omega v28 and PA 2.2 as 2nd, didn't work but not a fresh install. I'm swapping then backing up PA to try again now and see if it works.
Edit: Just formatted 2nd rom and reinstalled as per OP's instructions and it worked. So that's the key I guess Awesome work OP!!
Tried this and didn't work, tried numerous times.
1st ROM: Paranoid
2nd ROM: Omega 28 (did a fresh install)
Does not show any of my apps in omega ROM from paranoid ROM.
I did encounter a problem in the terminal stage, on the moving file part its says can not find the file, I have to do it manually.
Sent from my GT-I9300 using xda app-developers app
jayc1980 said:
Tried this and didn't work, tried numerous times.
1st ROM: Paranoid
2nd ROM: Omega 28 (did a fresh install)
Does not show any of my apps in omega ROM from paranoid ROM.
I did encounter a problem in the terminal stage, on the moving file part its says can not find the file, I have to do it manually.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Perhaps it's related to that? Make sure you put it in the right spot and have the permissions right.
Sent from my GT-I9300 using xda premium
Its very strange, all else seems fine.
Just that one error, all else is fine. Moved to the location stated but still nothing??
Sent from my GT-I9300 using xda app-developers app
---------- Post added at 07:10 PM ---------- Previous post was at 06:57 PM ----------
If I set the permissions manually what's the correct set up, currently it's:
These parts are ticked -
User: read, write, execute
Group: read, write, execute
Other: execute
jayc1980 said:
Its very strange, all else seems fine.
Just that one error, all else is fine. Moved to the location stated but still nothing??
Sent from my GT-I9300 using xda app-developers app
---------- Post added at 07:10 PM ---------- Previous post was at 06:57 PM ----------
If I set the permissions manually what's the correct set up, currently it's:
These parts are ticked -
User: read, write, execute
Group: read, write, execute
Other: execute
Click to expand...
Click to collapse
Yeah the permissions are the same as mine. Hmm bit weird
Sent from my GT-I9300 using xda premium

Dirty installiation | Flash other roms without losing your apps

My newest developement
This will delete all rom releated confilicting stuff and will leave your apps and data
Code:
ui_print("");
ui_print("Dirty Installer");
ui_print("Cleaning up for dirty installiation");
ui_print(" General cleanup");
delete("/data/ISP_CV");
delete("/data/anr");
delete("/data/app-asec");
delete("/data/app-private");
delete("/data/backup");
delete("/data/baro.dat");
delete("/data/cfw");
delete("/data/dalvik-cache");
delete("/data/data");
delete("/data/dontpanic");
delete("/data/drm");
delete("/data/gg_address");
delete("/data/gldata.sto");
delete("/data/gps");
delete("/data/lbsdata-000.sto");
delete("/data/local");
delete("/data/log");
delete("/data/lost+found");
delete("/data/misc");
delete("/data/property");
delete("/data/radio");
delete("/data/resource-cache");
delete("/data/rngd.pid");
delete("/data/ssh");
delete("/data/st_gbias.dat");
delete("/data/system");
delete("/data/tombstones");
delete("/data/user");
delete("/data/xposed");
ui_print(" Cleaning /data/data");
#Auto generated
delete("/data/app/com.android.backupconfirm");
delete("/data/app/com.android.bluetooth");
delete("/data/app/com.android.calculator2");
delete("/data/app/com.android.calendar");
delete("/data/app/com.android.cellbroadcastreceiver");
delete("/data/app/com.android.certinstaller");
delete("/data/app/com.android.contacts");
delete("/data/app/com.android.defcontainer");
delete("/data/app/com.android.deskclock");
delete("/data/app/com.android.development");
delete("/data/app/com.android.dreams.basic");
delete("/data/app/com.android.dreams.phototable");
delete("/data/app/com.android.email");
delete("/data/app/com.android.exchange");
delete("/data/app/com.android.facelock");
delete("/data/app/com.android.galaxy4");
delete("/data/app/com.android.gallery3d");
delete("/data/app/com.android.htmlviewer");
delete("/data/app/com.android.inputdevices");
delete("/data/app/com.android.inputmethod.latin");
delete("/data/app/com.android.keychain");
delete("/data/app/com.android.lmt");
delete("/data/app/com.android.location.fused");
delete("/data/app/com.android.magicsmoke");
delete("/data/app/com.android.mms");
delete("/data/app/com.android.musicvis");
delete("/data/app/com.android.nfc");
delete("/data/app/com.android.noisefield");
delete("/data/app/com.android.packageinstaller");
delete("/data/app/com.android.phasebeam");
delete("/data/app/com.android.phone");
delete("/data/app/com.android.providers.applications");
delete("/data/app/com.android.providers.calendar");
delete("/data/app/com.android.providers.contacts");
delete("/data/app/com.android.providers.downloads");
delete("/data/app/com.android.providers.downloads.ui");
delete("/data/app/com.android.providers.drm");
delete("/data/app/com.android.providers.media");
delete("/data/app/com.android.providers.settings");
delete("/data/app/com.android.providers.telephony");
delete("/data/app/com.android.providers.userdictionary");
delete("/data/app/com.android.settings");
delete("/data/app/com.android.sharedstoragebackup");
delete("/data/app/com.android.smspush");
delete("/data/app/com.android.soundrecorder");
delete("/data/app/com.android.stk");
delete("/data/app/com.android.systemui");
delete("/data/app/com.android.vending");
delete("/data/app/com.android.videoeditor");
delete("/data/app/com.android.voicedialer");
delete("/data/app/com.android.vpndialogs");
delete("/data/app/com.android.wallpaper");
delete("/data/app/com.android.wallpaper.holospiral");
delete("/data/app/com.android.wallpaper.livepicker");
delete("/data/app/com.cyanogenmod.CMWallpapers");
delete("/data/app/com.cyanogenmod.filemanager");
delete("/data/app/com.cyanogenmod.lockclock");
delete("/data/app/com.cyanogenmod.samsungservicemode");
delete("/data/app/com.cyanogenmod.settings.device");
delete("/data/app/com.google.android.apps.genie.geniewidget");
delete("/data/app/com.google.android.apps.maps");
delete("/data/app/com.google.android.apps.plus");
delete("/data/app/com.google.android.apps.translate");
delete("/data/app/com.google.android.apps.uploader");
delete("/data/app/com.google.android.backup");
delete("/data/app/com.google.android.configupdater");
delete("/data/app/com.google.android.feedback");
delete("/data/app/com.google.android.gm");
delete("/data/app/com.google.android.gms");
delete("/data/app/com.google.android.googlequicksearchbox");
delete("/data/app/com.google.android.gsf");
delete("/data/app/com.google.android.gsf.login");
delete("/data/app/com.google.android.inputmethod.latin.dictionarypack");
delete("/data/app/com.google.android.location");
delete("/data/app/com.google.android.marvin.talkback");
delete("/data/app/com.google.android.onetimeinitializer");
delete("/data/app/com.google.android.partnersetup");
delete("/data/app/com.google.android.setupwizard");
delete("/data/app/com.google.android.street");
delete("/data/app/com.google.android.syncadapters.bookmarks");
delete("/data/app/com.google.android.syncadapters.calendar");
delete("/data/app/com.google.android.syncadapters.contacts");
delete("/data/app/com.google.android.talk");
delete("/data/app/com.google.android.tts");
delete("/data/app/com.google.android.voicesearch);
ui_print(" Cleaning /data/app-lib");
#Auto generated
delete("/data/app-lib/com.android.backupconfirm");
delete("/data/app-lib/com.android.bluetooth");
delete("/data/app-lib/com.android.calculator2");
delete("/data/app-lib/com.android.calendar");
delete("/data/app-lib/com.android.cellbroadcastreceiver");
delete("/data/app-lib/com.android.certinstaller");
delete("/data/app-lib/com.android.contacts");
delete("/data/app-lib/com.android.defcontainer");
delete("/data/app-lib/com.android.deskclock");
delete("/data/app-lib/com.android.development");
delete("/data/app-lib/com.android.dreams.basic");
delete("/data/app-lib/com.android.dreams.phototable");
delete("/data/app-lib/com.android.email");
delete("/data/app-lib/com.android.exchange");
delete("/data/app-lib/com.android.facelock");
delete("/data/app-lib/com.android.galaxy4");
delete("/data/app-lib/com.android.gallery3d");
delete("/data/app-lib/com.android.htmlviewer");
delete("/data/app-lib/com.android.inputdevices");
delete("/data/app-lib/com.android.inputmethod.latin");
delete("/data/app-lib/com.android.keychain");
delete("/data/app-lib/com.android.lmt");
delete("/data/app-lib/com.android.location.fused");
delete("/data/app-lib/com.android.magicsmoke");
delete("/data/app-lib/com.android.mms");
delete("/data/app-lib/com.android.musicvis");
delete("/data/app-lib/com.android.nfc");
delete("/data/app-lib/com.android.noisefield");
delete("/data/app-lib/com.android.packageinstaller");
delete("/data/app-lib/com.android.phasebeam");
delete("/data/app-lib/com.android.phone");
delete("/data/app-lib/com.android.providers.app-liblications");
delete("/data/app-lib/com.android.providers.calendar");
delete("/data/app-lib/com.android.providers.contacts");
delete("/data/app-lib/com.android.providers.downloads");
delete("/data/app-lib/com.android.providers.downloads.ui");
delete("/data/app-lib/com.android.providers.drm");
delete("/data/app-lib/com.android.providers.media");
delete("/data/app-lib/com.android.providers.settings");
delete("/data/app-lib/com.android.providers.telephony");
delete("/data/app-lib/com.android.providers.userdictionary");
delete("/data/app-lib/com.android.settings");
delete("/data/app-lib/com.android.sharedstoragebackup");
delete("/data/app-lib/com.android.smspush");
delete("/data/app-lib/com.android.soundrecorder");
delete("/data/app-lib/com.android.stk");
delete("/data/app-lib/com.android.systemui");
delete("/data/app-lib/com.android.vending");
delete("/data/app-lib/com.android.videoeditor");
delete("/data/app-lib/com.android.voicedialer");
delete("/data/app-lib/com.android.vpndialogs");
delete("/data/app-lib/com.android.wallpaper");
delete("/data/app-lib/com.android.wallpaper.holospiral");
delete("/data/app-lib/com.android.wallpaper.livepicker");
delete("/data/app-lib/com.cyanogenmod.CMWallpapers");
delete("/data/app-lib/com.cyanogenmod.filemanager");
delete("/data/app-lib/com.cyanogenmod.lockclock");
delete("/data/app-lib/com.cyanogenmod.samsungservicemode");
delete("/data/app-lib/com.cyanogenmod.settings.device");
delete("/data/app-lib/com.google.android.app-libs.genie.geniewidget");
delete("/data/app-lib/com.google.android.app-libs.maps");
delete("/data/app-lib/com.google.android.app-libs.plus");
delete("/data/app-lib/com.google.android.app-libs.translate");
delete("/data/app-lib/com.google.android.app-libs.uploader");
delete("/data/app-lib/com.google.android.backup");
delete("/data/app-lib/com.google.android.configupdater");
delete("/data/app-lib/com.google.android.feedback");
delete("/data/app-lib/com.google.android.gm");
delete("/data/app-lib/com.google.android.gms");
delete("/data/app-lib/com.google.android.googlequicksearchbox");
delete("/data/app-lib/com.google.android.gsf");
delete("/data/app-lib/com.google.android.gsf.login");
delete("/data/app-lib/com.google.android.inputmethod.latin.dictionarypack");
delete("/data/app-lib/com.google.android.location");
delete("/data/app-lib/com.google.android.marvin.talkback");
delete("/data/app-lib/com.google.android.onetimeinitializer");
delete("/data/app-lib/com.google.android.partnersetup");
delete("/data/app-lib/com.google.android.setupwizard");
delete("/data/app-lib/com.google.android.street");
delete("/data/app-lib/com.google.android.syncadapters.bookmarks");
delete("/data/app-lib/com.google.android.syncadapters.calendar");
delete("/data/app-lib/com.google.android.syncadapters.contacts");
delete("/data/app-lib/com.google.android.talk");
delete("/data/app-lib/com.google.android.tts");
delete("/data/app-lib/com.google.android.voicesearch);
So what do you do? More info would be good.
Sent from my GT-I9300T using xda premium
Or convert to a script which we could run before flashing
Sent via TCP/IP
gsw5700 said:
Or convert to a script which we could run before flashing
Sent via TCP/IP
Click to expand...
Click to collapse
Easy just copy and paste into the run script of a CWM zip or in AROMA... I assume this will be done?
Sent from my GT-I9300 using Tapatalk 2
This basically removes any rom related files in /data partition
rlorange said:
Easy just copy and paste into the run script of a CWM zip or in AROMA... I assume this will be done?
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
That's what I tried but I get Error Status 6 when I flash it in CWM
Envoyé depuis mon Galaxy S3 avec Tapatalk
Auto Updater Script
Attached a Updater Script Zip for Recovery
Made using GR0S Code and based in an updater zip by mike1986 (SuperWipe Script for Android Revolution HD).
Thanks for your work GR0S.
I haven't try it, so NO warranty
If you're deleting /data/data, you're losing app data so would still need to add titanium restore to this process surely? So its only saving you restoring the apks?
Sent from my GT-I9300 using Tapatalk 2
jfrm said:
Attached a Updater Script Zip for Recovery
Made using GR0S Code and based in an updater zip by mike1986 (SuperWipe Script for Android Revolution HD).
Thanks for your work GR0S.
I haven't try it, so NO warranty
Click to expand...
Click to collapse
Thx but i get the same error as with my script
Envoyé depuis mon Galaxy S3 avec Tapatalk
Did someone with higher knowledge could have a deeper look on the script?
If something like that is really possible it will be a real milestone for us, poor flasholics...
ster97 said:
Thx but i get the same error as with my script
Click to expand...
Click to collapse
Thank you for trying it.
This is a good script to save our time
Thanks for your work
jfrm said:
Did someone with higher knowledge could have a deeper look on the script?
If something like that is really possible it will be a real milestone for us, poor flasholics...
Thank you for trying it.
Click to expand...
Click to collapse
If you use Philz recovery there is a complete Rom cleaning script included.
http://forum.xda-developers.com/showthread.php?t=2201860
[02.06.2013]CWM 6.0.3.2 Advanced Edition / PhilZ Touch 5.06.1 + JB 4.2 + exFAT...
Sent from my GT-I9300 using Tapatalk
I use it and for me is the best Recovery I have found.
But I think the CWM cleaning scripts do a full wipe / Dalvik ...
And the one here is a diferent aproach.
I do not think this can really work because most of the time, the data that is saved is for system specific data like settings and such. When you flash a new rom which has a different set of settings and system built in apps, the data that is from the old conflicts with the new.
I only dirty flash when I am moving between same based roms but going from CM to Stock it makes sense to do a full wipe.
jetbruceli said:
I do not think this can really work because most of the time, the data that is saved is for system specific data like settings and such. When you flash a new rom which has a different set of settings and system built in apps, the data that is from the old conflicts with the new.
I only dirty flash when I am moving between same based roms but going from CM to Stock it makes sense to do a full wipe.
Click to expand...
Click to collapse
If you look at the script, it deletes /data/data where that "system data" is stored. It deletes pretty much everything except /data/app, which is why it seems pointless to me
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
If you look at the script, it deletes /data/data where that "system data" is stored. It deletes pretty much everything except /data/app, which is why it seems pointless to me
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Exactly... Its pointless to even try this
Sent from my GT-I9300 using Tapatalk 4 Beta
Maybe someone is looking for some thanks to fill up their meter!
rootSU said:
If you look at the script, it deletes /data/data where that "system data" is stored. It deletes pretty much everything except /data/app, which is why it seems pointless to me
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
It's my mistake. I intented it to delete system related libs, data and cache from /data

Exclude apps from upgrade/installation when flashing

Hey together,
is there any chance to exclude single apps from the upgrade/installation process when flashing a new rom (nightlies)?
There's a bunch of apps I don't need or want, e.g. those "beauties" like phase beam, black hole, etc.
Maybe it can be done through a script in /system/addon.d or or a new zip in OpenDelta/FlashAfterUpdate?
Thanks in advance,
klenamenis
Sent from my GT-N7100 using XDA Premium 4 mobile app
you can freeze them and they will still be frozen after upgrade.
来自我的 Find 5 上的 Tapatalk
klenamenis said:
There's a bunch of apps I don't need or want, e.g. those "beauties" like phase beam, black hole, etc.
Maybe it can be done through a new zip in OpenDelta/FlashAfterUpdate?
Click to expand...
Click to collapse
Yep, this can be done easily.
Code:
ui_print("Mounting system partition");
ifelse(!is_mounted("/system"), run_program("/sbin/busybox", "mount", "/system"));
ifelse(!is_mounted("/system"), abort("Failed to mount /system"));
delete("/path/to/app");
run_program("/sbin/busybox", "umount", "/system");
webore said:
you can freeze them and they will still be frozen after upgrade.
来自我的 Find 5 上的 Tapatalk
Click to expand...
Click to collapse
I know, but they shall be removed.
PonsAsinorem said:
Yep, this can be done easily.
Code:
ui_print("Mounting system partition");
ifelse(!is_mounted("/system"), run_program("/sbin/busybox", "mount", "/system"));
ifelse(!is_mounted("/system"), abort("Failed to mount /system"));
delete("/path/to/app");
run_program("/sbin/busybox", "umount", "/system");
Click to expand...
Click to collapse
Thanks, but which update-binary should I use?
Is it possible to prevent that they even got flashed?
Thanks anyway for help.
Sent from my GT-N7100 using XDA Premium 4 mobile app
klenamenis said:
Thanks, but which update-binary should I use?
Click to expand...
Click to collapse
I'd grab a recent one out of OmniROM. Or you could try this update-binary (from http://teamw.in/project/twrp2 )
klenamenis said:
Is it possible to prevent that they even got flashed?
Click to expand...
Click to collapse
Yes, with an addon.d script. I don't feel like making one right now, because that syntax gives me a headache. But you should be able to look at others, (like Chainfire's su one), and see what it does and how it deletes files. After that, you could puzzle it out yourself with some time.
PonsAsinorem said:
I'd grab a recent one out of OmniROM. Or you could try this update-binary (from http://teamw.in/project/twrp2 ).
Click to expand...
Click to collapse
Yep, I already took a sample from someone's guide about creating zips.
Problem solved.
Sent from my GT-N7100 using XDA Premium 4 mobile app
klenamenis said:
Hey together,
is there any chance to exclude single apps from the upgrade/installation process when flashing a new rom (nightlies)?
There's a bunch of apps I don't need or want, e.g. those "beauties" like phase beam, black hole, etc.
Maybe it can be done through a script in /system/addon.d or or a new zip in OpenDelta/FlashAfterUpdate?
Thanks in advance,
klenamenis
Sent from my GT-N7100 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Why? Free space in /system has no benefits, and none of those apps autostart, so you gain nothing by removing them.
Entropy512 said:
Why? Free space in /system has no benefits, and none of those apps autostart, so you gain nothing by removing them.
Click to expand...
Click to collapse
Because almost daily backing up and flashing between ROMs needs less time, TitaniumBackup's list of installed apps is shorter and some of the apps I remove have some background services running which I don't want.

Categories

Resources