Dirty installiation | Flash other roms without losing your apps - Galaxy S III General

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

Related

[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

"Project butter" for ics Aurora_5.0_u9 compatible

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.

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.

Fix 4.4 lags on Xperia Z and all

I have found this from the thread from here . post by @Denis_96 . so i tired and flashed. now my Xperia Z run smoothly and no LAGs.. so i just wanted to share it..
Original post from here
Just do it your own RISK
Mine working fine
I'm using @Rajeev's This rom
Working on any 4.4/4.4.x ROM.
ONLY FOR DEODEXED ROMS
Before you flash wipe dalvic cash and cash
:good:
If you want to revert back just flash KRT16S_stock_revert.zip and wipe Dalvic cash and cash ..
it doesnt have lag even when u use live wallpaper ??
@iamkani
yes it is working
the performance is seriously godlike superb
nielneal said:
@iamkani
yes it is working
the performance is seriously godlike superb
Click to expand...
Click to collapse
Yes.. It's really working ???
Xperia Z
iamkani said:
If you want to revert back just flash KRT16S_stock_revert.zip and wipe Dalvic cash and cash ..
Click to expand...
Click to collapse
Those are the stock libs from a different device, copied from the thread that these originally came from here. Flashing them will replace the dalvik vm and some bionic libraries with the wrong, non stock versions.
I wouldn't advise that.
Sent from my C6603 using Tapatalk
iamkani said:
If you want to revert back just flash KRT16S_stock_revert.zip and wipe Dalvic cash and cash ..
Click to expand...
Click to collapse
Kingvortex is right those files are from a different device and will not revert the stock files for xperia Z. You can grab the files from xperia Z system/lib folder and create a revert file.
Sent from my C6603 using XDA Free mobile app
Stock xperia z files attached.
Sent from my C6603 using Tapatalk
Tested on odexed stock firmware.
I don't know is it placebo effect or not, or maybe because of clean dalvik-cache but i fell less lag.
Sent from my C6603 using Tapatalk
question
So is this only for unlocked bootloaders?
burger30 said:
So is this only for unlocked bootloaders?
Click to expand...
Click to collapse
No. You don't need to be deodexed either.
Sent from my C6603 using Tapatalk
kingvortex said:
No. You don't need to be deodexed either.
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
Just, odexed roms can not use these files for system applications.
System applications allready odexed in system partititon.
Sent from my C6603 using Tapatalk
eryen said:
Just, odexed roms can not use these files for system applications.
System applications allready odexed in system partititon.
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
Hmm. Are you saying the dalvik vm won't run for system apps when using these zips? That would mean that no system apps would run at all, surely.
In any case, this is the only place that I've seen that says you need to be deodexed. The original thread says all stock roms and stock roms are always odexed.
Sent from my C6603 using Tapatalk
kingvortex said:
Hmm. Are you saying the dalvik vm won't run for system apps when using these zips? That would mean that no system apps would run at all, surely.
In any case, this is the only place that I've seen that says you need to be deodexed. The original thread says all stock roms and stock roms are always odexed.
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
i guess these files will (if) mostly impove your user apps. If you are in odexed rom.
Because of system apps allready extracted dex files.
After clear dalvik-cache, phone will generate only user apps dex files. System files will be ignored because of existwns of odex file.
Maybe, proccesing dex and odex file might improve tottaly.
Like i said, i guess...
Sent from my C6603 using Tapatalk
These zips replace the dalvik vm binary and libs relating to the dalvik vm and bionic and should therefore affect all running apps, whether user or system.
As I understand it, there is no need to be deodexed to replace these files. Deodexing is for ease of modifying apks only. If someone has a link to correct me on this, then please do so, as I'm only an interested amateur and I'm always willing to learn something new.
Sent from my C6603 using Tapatalk
Shame on you Sony, somebody in here can fix what you are unable to fix, you have filled your departments with idiots, congratulations.
moh.sakhaii said:
Shame on you Sony, somebody in here can fix what you are unable to fix, you have filled your departments with idiots, congratulations.
Click to expand...
Click to collapse
Do u not read more? Its Google's 4.4.2 bugs.. Sony's specific bugs are like 10-15% maximum.. And these blobs aren't by some user, its officially given by Qualcomm and its just shared by some user.. And most importantly some user informed me when he compared checksums, our KK has already these blobs related to dalvik.. And problem is on all KK devices(4.4.2).. I highly suggest all users who just upgraded to KK, let the ROM settle.. And give it a few reboots, maybe along with a cache wipe and dalvik cache wipe..
Get your facts straight boy, if it is from qualcomm it has nothing to do with the OS itself and it is a driver issue, which the goddamn Sony should have made sure that they are bug free. Giving reboots to solve problems!!! what a nice suggestion!! do all phones come with reboot instructions from factory??? That made my night, thanks.
moh.sakhaii said:
Get your facts straight boy, if it is from qualcomm it has nothing to do with the OS itself and it is a driver issue, which the goddamn Sony should have made sure that they are bug free. Giving reboots to solve problems!!! what a nice suggestion!! do all phones come with reboot instructions from factory??? That made my night, thanks.
Click to expand...
Click to collapse
You don't know what the hell you're on about either, Mr. So-called-"moh.sakhaii".
moh.sakhaii said:
if it is from qualcomm it has nothing to do with the OS itself and it is a driver issue
Click to expand...
Click to collapse
The dalvik vm and the bionic libraries aren't part of the OS?
LOL. That's all I can say about that.
Sent from my C6603 using Tapatalk

[FIX] Data Encryption Problem AOSP Roms

I think I should open a post just for this and to save some people
When it happens reboot to recovery connect phone to PC
Run ADB shell and put this command
Code:
e2fsck -f -y /dev/block/mmcblk0p47
That's all
None of your data gets deleted you keep it all
Just restart and you will be back to normal!
Not saying this isn't a good topic and I'm sure people will find this useful but probably doesn't belong in Original Development. May want to ask a mod to move it to General.
Sent from my HTC One_M8 using Tapatalk
Tiffany84 said:
Not saying this isn't a good topic and I'm sure people will find this useful but probably doesn't belong in Original Development. May want to ask a mod to move it to General.
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
I posted it here because all people having this problem are using AOSP, IDK it's just me
maxrdlf95 said:
I think I should open a post just for this and to save some people
When it happens reboot to recovery connect phone to PC
Run ADB shell and put this command
Code:
e2fsck -f -y /dev/block/mmcblk0p47
Click to expand...
Click to collapse
Do you lose data doing this?
Sent from my One M8 using Tapatalk
Darknites said:
Do you lose data doing this?
Sent from my One M8 using Tapatalk
Click to expand...
Click to collapse
Looking up the command itself and the switches, I don't think it will. This is like running a chkdsk for Windows or running ScanPST on a Outlook PST file. Seems to fix the corrupted header on the internal card. Glad this was found since now I can flash an AOSP ROM without worries. Thanks to the OP! :highfive:
asianflavor said:
Looking up the command itself and the switches, I don't think it will. This is like running a chkdsk for Windows or running ScanPST on a Outlook PST file. Seems to fix the corrupted header on the internal card. Glad this was found since now I can flash an AOSP ROM without worries. Thanks to the OP! :highfive:
Click to expand...
Click to collapse
Ya was thinking that but wanted to be sure.
Sent from my One M8 using Tapatalk
Darknites said:
Ya was thinking that but wanted to be sure.
Sent from my One M8 using Tapatalk
Click to expand...
Click to collapse
No problem... here's the site that I found that explains all the switches.
I just updated to the latest TWRP 2.7.1.0 and got the encryption bug running the latest PA build. This thread saved me. Thank you so much
Sent from my One M8 using XDA Premium 4 mobile app
Nice find. Thanks for the information.
Sent from my One M8 using Tapatalk
Can this or will be incorporated in the Roms in future coz I don't have a computer .
I broke mine.
Sent from my 831C using XDA Premium 4 mobile app
pantmunu said:
Can this or will be incorporated in the Roms in future coz I don't have a computer .
I broke mine.
Sent from my 831C using XDA Premium 4 mobile app
Click to expand...
Click to collapse
No because you only use this when you have the problem it could still happen again this fix it
It's not a permanent fix, but it's always a fix if you understand I mean every time you get the problem, you use the command every time you use it it will work!
Okay here is a question. Is it possible to run that command from a updater script? So it could be made into a flashable zip 9n it's own and could fix bugs when user is not around a computer? That would be awesome.
Sent from my HTC6525LVW using Tapatalk
pimpmaneaton said:
Okay here is a question. Is it possible to run that command from a updater script? So it could be made into a flashable zip 9n it's own and could fix bugs when user is not around a computer? That would be awesome.
Sent from my HTC6525LVW using Tapatalk
Click to expand...
Click to collapse
You may want to check this old thread from the Desire. Looks like the dev did have a flashable zip to do this. Not sure if it needs to be updated to match our partition for the internal card. If I have time, I'll can look at the zip to see this does and update it for the M8. I am trying to finish moving to my house, build a swing set for my kids, get my network up and running so I can get back some MIUI porting... gonna be a fun weekend.
pimpmaneaton said:
Okay here is a question. Is it possible to run that command from a updater script? So it could be made into a flashable zip 9n it's own and could fix bugs when user is not around a computer? That would be awesome.
Sent from my HTC6525LVW using Tapatalk
Click to expand...
Click to collapse
The very problem itself encrypts your storage... I presume what you are implying is to put it on the external storage, but without that this is no help.
If the zip that fixes it is on your storage, it's not available till you actually run the fix manually suggested in the OP.
Sent from my One M8 using XDA Premium 4 mobile app
kickassdave said:
The very problem itself encrypts your storage... I presume what you are implying is to put it on the external storage, but without that this is no help.
If the zip that fixes it is on your storage, it's not available till you actually run the fix manually suggested in the OP.
Sent from my One M8 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Exactly you would need to put it on Ext SD to run it
Would this work? for script if yes I will upload zip
Code:
show_progress(0.1, 0);
ui_print("Fixing /data Partition");
ui_print("HTC One (M8)");
ui_print("maxrdlf95");
ui_print("ef2sck on /data");
run_program("ef2sck", "-f", "-y", "/dev/block/mmcblk0p47");
ui_print("");
ui_print("Partition is fixed you can now use your phone");
ui_print("XDA-Developers");
show_progress(0.100000, 0);
maxrdlf95 said:
Would this work? for script if yes I will upload zip
Code:
show_progress(0.1, 0);
ui_print("Fixing /data Partition");
ui_print("HTC One (M8)");
ui_print("maxrdlf95");
ui_print("ef2sck on /data");
run_program("ef2sck", "-f", "-y", "/dev/block/mmcblk0p47");
ui_print("");
ui_print("Partition is fixed you can now use your phone");
ui_print("XDA-Developers");
show_progress(0.100000, 0);
Click to expand...
Click to collapse
Have you seen the change log for TWRP 2.7.1.0?
TWRP said:
Add GUI option to change or repair file systems on individual partitions. The change is destructive so backup your data including internal sdcard first. This option should make it a little easier to migrate a device from ext4 -> f2fs, for instance. You will find this option under Wipe -> Advanced Wipe, then select only one partition and then press the Repair or Change File System button. If a developer has added f2fs support for your device and we don't have it in TWRP, please contact me via PM to arrange for it to be added.
Click to expand...
Click to collapse
So maybe this is the same thing.
Next question, will it matter that CM is now Android 4.4.3, with the newest nightly? Will that change the commands?
Repairing it's the same command? It's same it's destructive but I'm not sure if it's the change or the repair
Enviado desde mi One M8 mediante Tapatalk

Categories

Resources