After Wipe Dalvik and Cache cant use SU anymore - G2 and Desire Z General

found my answer, can someone delete this post.
thanks

Related

So... Clearing Dalvik Cache...

What does it do exactly? And is it safe to clear it once in a while to give the system a refresh?
-thanks
EDIT: NM.. read up some more and it seems to be safe to do so. MODs please delete...
cbaty08 said:
What does it do exactly? And is it safe to clear it once in a while to give the system a refresh?
-thanks
EDIT: NM.. read up some more and it seems to be safe to do so. MODs please delete...
Click to expand...
Click to collapse
Its ok to leave this here. People can learn from it.
I use root explorer to completely erase everything inside of /data/dalvik-cache
Its ok to delete every single file, they get rebuilt upon a reboot. I suggest rebooting immediately after cleaning the file dalvik-cache file.
It seemed to help actually....
I went into system/data and completely deleted the whole dalvic-cache folder and it worked beautifully. I would suggest this to all after you have finalized your MODs!

Full Wipe.zip?

Hi, would it be possible for someone to create a zipped script that wipes the system, boot, data, cache and dalvik cache which can be flashed within the recovery? That would save us having to select each setting individually.
Thanks
cd993 said:
Hi, would it be possible for someone to create a zipped script that wipes the system, boot, data, cache and dalvik cache which can be flashed within the recovery? That would save us having to select each setting individually.
Thanks
Click to expand...
Click to collapse
+1
I like the sounds of this. Im so over having to manually select each over and over again. Would be so nice and easy just too flash a Wipe.zip before flashing
Anyone wanna give it a go creating this ? wouldnt be that hard would it seeing as when you flash a ROM anyways some have inbuilt wipe feature.
I found the following attached .zip (from HERE) which wipes system, data and cache. Is that all that needs to be wiped in order to be completely clean?
cd993 said:
I found the following attached .zip (from HERE) which wipes system, data and cache. Is that all that needs to be wiped in order to be completely clean?
Click to expand...
Click to collapse
+1
Thank you Very Much!!!!
And I usually Format boot,system,data,cache,dalvik cache. But this should be fine... I opened up the .zip and it doesn't look to hard to edit it too include more and it already includes all those except dalvik...
But Anyone tried this / confirmed working, before start editing it ?
Actually not sure if this will work. The update script in this .zip uses FORMAT iv noticed that Lee in his Rom uses the following code to formate /system on flash..
Code:
delete_recursive("/system");
So I think u would have to completely re-write the script in this to be usable...
But then again i havnt even got round to trying this yet, just having a look first
I think this is pretty much it . just figuring out the boot one and stuff..
Code:
ui_print("Easy WIPE by mero01");
ui_print("yeww");
ui_print(" ");
ui_print("Deleting EVERYTHING!!!...");
set_progress(1.000000);
mount("MTD", "system", "/system");
delete_recursive("/system");
mount("MTD", "userdata", "/data");
delete_recursive("/data");
delete_recursive("/data/dalvik-cache");
Can Someone please check this for me
EDIT********************
Nope this didnt work at all i keep getting syntax error or somthign someone ?

[Q] Manually delete cache pls help

Just a quick question: how can I delete my cache files from youtube for example using root explorer? Because i've low memory and when I watch many films, youtube force closes. And when I go to manage applications and click on youtube it keeps ' counting' all the time!
I do not know the root explorer way...
but settings--applications---manage app---click on all apps---click youtube---clear cache!
Hope this Helps!
katkoriaarpan said:
I do not know the root explorer way...
but settings--applications---manage app---click on all apps---click youtube---clear cache!
Hope this Helps!
Click to expand...
Click to collapse
Like i said it just keeps on 'counting' I cant delete the cache.
That's why I asked for the root explorer way
Please tell me were my cache files are stored and how I delete a view if them (and wich ones I can delete). I just tried to clear my cache witch a cache clear app and it sais there's no cache!
Do you have CWM on your phone? You can go into Recovery Mode and delete the cache there.
bautrupp said:
Do you have CWM on your phone? You can go into Recovery Mode and delete the cache there.
Click to expand...
Click to collapse
i dont hav cwm yet. soon ill install g3mod... but the problem is: i dont want to reboot my phone because if i do it takes a very long time for my phone to scan my apps on my sdcard. and sometimes it doesnt scan them at all! its very frustating...
When I issue the mount command in the Terminal-App I see among others this partition:
/dev/block/stl8 mounted on /cache
Perhaps this is what you are looking for?
A reboot solved it. It took about half an hour to scan my apps... (I really need to format my sd...) But it worked quite...

[SOLVED]Script to wipe dalvik cache & reboot once a week

Please is there anyway to make a flashable script or cron script that will make @zeppelinrox sclean(clear dalvik cache) script run once every week from the xbin or bin folder?
http://forum.xda-developers.com/showthread.php?t=2700146

How to Fix Broken Notifications on Custom Roms

A short while ago my notifications stopped working on Lineage os after living with it for about a couple of months I decided Enough is Enough so I thought I'd write this guide so other users don't have to go through the frustration and pain I went through :crying:
1 Take a Backup of Your Current ROM (optional) I didn't because I didn't care really because I was starting fresh
Reboot to TWRP
Backup
system , Data , boot
2 Download Push Notification Fixer Root from the play store which may or may not fix your problems it didn't for me but you might get lucky.
https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer&hl=en
3 fstrim Command
The fstrim -v command bacically clears the uneeded files in a partition. If you have flashed a lot of roms like me you may have a lot of data from different roms this could be causing the problem of notifications being broken.
reboot to twrp
wipe dalvik, cache
mount
system , data ,cache
wipe dalvik, cache
select advanced terminal type
fstrim -v /system
fstrim -v /data
fstrim -v /cache
wipe dalvik, cache
reboot into your ROM
5 Test your notifications work this can be done by emailing yourself on your computer if after a few minutes you get a notification congratulations in worked
I hope this guide helps many people because it was very frustrating troubleshooting.
minilandl said:
A short while ago my notifications stopped working on Lineage os after living with it for about a couple of months I decided Enough is Enough so I thought I'd write this guide so other users don't have to go through the frustration and pain I went through :crying:
1 Take a Backup of Your Current ROM (optional) I didn't because I didn't care really because I was starting fresh
Reboot to TWRP
Backup
system , Data , boot
2 Download Push Notification Fixer Root from the play store which may or may not fix your problems it didn't for me but you might get lucky.
https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer&hl=en
3 fstrim Command
The fstrim -v command bacically clears the uneeded files in a partition. If you have flashed a lot of roms like me you may have a lot of data from different roms this could be causing the problem of notifications being broken.
reboot to twrp
wipe dalvik, cache
mount
system , data ,cache
wipe dalvik, cache
select advanced terminal type
fstrim -v /system
fstrim -v /data
fstrim -v /cache
wipe dalvik, cache
reboot into your ROM
5 Test your notifications work this can be done by emailing yourself on your computer if after a few minutes you get a notification congratulations in worked
I hope this guide helps many people because it was very frustrating troubleshooting.
Click to expand...
Click to collapse
Hey, I Use OFox and I Went To Terminal And Tried Using The "fstrim" Command But All Partitions Came With A Reply "inaccessible or not found". What's The Issue?
Edit- Just Found An Easy App On Playstore Called Trimmer(fstrim), instant use. https://play.google.com/store/apps/details?id=com.fifthelement.trimmer
I am using LineageOS 18.1 GSI and notifications are broken on my phone. Nothing worked, I tried disabling idlestate and disabling battery optimization. Then finally I found the fix. Downloaded NotificationsOff Root, gave it root permission, didn't change any settings and BAM, notifications are working!

Categories

Resources