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
Related
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 ?
found my answer, can someone delete this post.
thanks
I am using Nexus 4 TWRP recovery v2.8.7.0 wiped everything (Dalvik Cache, System, Data, Internal Storage and Cache) while installing custom rom. Later I found nothing in SD card to install ROM. Then using adb push command (adb push chroma_mako-ota-2015-06-17.zip /sdcard/) places my rom to SD. After that when I flash ROM i get below errors:
unmount of /system failed; no such volume
updating partition details...
E:Unable to mount '/usb - otg'
What should I do now? I cant use my phone...pls help. :crying:
Woah, seems like your partition table is messed up. Can you try downloading the latest stock image and flashing that through fastboot? That should reset your table.
Sent from my Nexus 4 using XDA Free mobile app
The reason your zip file disappeared is that when you wiped your internal storage you wiped your sdcard.
If you don't know how to flash factory images this is a guide to do so: http://androidforums.com/threads/guide-how-to-flash-a-nexus-factory-image-manually.706533/
[SOLUTION] (for me atleast) I installed SU zip before installing rom. Steps i fllowed are
1. wipe everything (System,data dalvik etc etc etc )
2. Install SU zip
3. Install Rom (Now i dont get that error(unmount of /system failed no such volume.))
4. Install Gapps
5. restart to system
Enjoy
lsdhillon said:
[SOLUTION] (for me atleast) I installed SU zip before installing rom. Steps i fllowed are
1. wipe everything (System,data dalvik etc etc etc )
2. Install SU zip
3. Install Rom (Now i dont get that error(unmount of /system failed no such volume.))
4. Install Gapps
5. restart to system
Enjoy
Click to expand...
Click to collapse
This has fixed my problem, I really can't tell you how happy I am with a simple thank you, but thank you.
HopperPlaysMC said:
This has fixed my problem, I really can't tell you how happy I am with a simple thank you, but thank you.
Click to expand...
Click to collapse
Glad I could help you
lsdhillon said:
[SOLUTION] (for me atleast) I installed SU zip before installing rom. Steps i fllowed are
1. wipe everything (System,data dalvik etc etc etc )
2. Install SU zip
3. Install Rom (Now i dont get that error(unmount of /system failed no such volume.))
4. Install Gapps
5. restart to system
Enjoy
Click to expand...
Click to collapse
Thank you. After a year, it always help!:laugh:
Help
lsdhillon said:
[SOLUTION] (for me atleast) I installed SU zip before installing rom. Steps i fllowed are
1. wipe everything (System,data dalvik etc etc etc )
2. Install SU zip
3. Install Rom (Now i dont get that error(unmount of /system failed no such volume.))
4. Install Gapps
5. restart to system
Enjoy
Click to expand...
Click to collapse
Will it fix "mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at /system: No such file or directory
unmount of /system failed; no such volume"?
lsdhillon said:
[SOLUTION] (for me atleast) I installed SU zip before installing rom. Steps i fllowed are
1. wipe everything (System,data dalvik etc etc etc )
2. Install SU zip
3. Install Rom (Now i dont get that error(unmount of /system failed no such volume.))
4. Install Gapps
5. restart to system
Enjoy
Click to expand...
Click to collapse
Holy crap, THANK YOU! This worked for my Honor View 10 flashing Lineage OS 15.1! After a week without a phone! Thank you so much!
nop
lsdhillon said:
[SOLUTION] (for me atleast) I installed SU zip before installing rom. Steps i fllowed are
1. wipe everything (System,data dalvik etc etc etc )
2. Install SU zip
3. Install Rom (Now i dont get that error(unmount of /system failed no such volume.))
4. Install Gapps
5. restart to system
Enjoy
Click to expand...
Click to collapse
still not working
Orginally posted by Hawker (This Topic's Starter)
http://androidforums.com/members/hawker.632880/ on
http://androidforums.com/threads/a-true-wipe.481722/
A TRUE wipe
Going on from my Full wipe thread ( http://androidforums.com/threads/full-wipe-whats-the-big-deal-steps-to-take-15-mins.481696/ ) I was wondering what a Wipe data/Factory reset actually deletes from the device?
I would imagine it deletes /data, but does it remove anything else? Does it clear the root (/) filesystem full stop, or a select few folders?
I would also imagine that flashing a ROM would at least remove the /system folder and possibly a few others in the root prior to installation?
So this leaves potentially lots of untouched folders that will remain lurking indefinitely.
What is safe to remove?
For example, on my root partition I have the following folders:
acct
app-cache
cache (gets wiped in a Wipe Cache process)
config
customkernel
d
data (wiped in factory reset? The dalvik-cache folder is stored within here)
dbdata
dev
efs (very important!!!)
etc (symbolic link to /system/etc)
lib
misc
mnt
proc
res
sbin
sys
system
tmp
vendor
as well as a few files (build.prop and a few *.rc files)
And as for the /sdcard partition, I have LOADS of folders that remain untouched by a factory reset. Does the *# method wipe any these, or any other folders in the root filesystem that a factory reset does not? I think most of these have been lurking around since day 1 and probably a good few could be removed.
My concerns are :
How can i Backup everything ???
Flashfire- a solution ???
Then if nothing is there means how can i restore ???
Can i delete everything ???
How can i delete everything and install fresh original official firmware ???
My problem is i can use my phone but can use dual pacther.. i was using before.. recently i cant dual boot.. i posted logs in dual pacther forum ( http://forum.xda-developers.com/showpost.php?p=68217671&postcount=9602 ) as i am a flashaholic.
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!