yashsingh1/xdaforums huggingface dataset:
[General Omni Discussion] dt192:
The developer has included their own script since v2322, having compared theirs to mine I would advise sticking with mine for now, so you will need to delete their script 91-v4a.sh

ViPER4Android and XHiFi backup and restore script

OK here is the final working script, it backs up and restores your v4a drivers between flashes, it's the same one as the previous one, except I've just added some code to output what is happening to the log.

Just rename the file 90-v4a.sh, upload it to your system/addon.d folder and set permissions to 0755

Enjoy.

Update: I've made a script that backs up and restores the system apps as well as the drivers, 90-a4vsys.sh, install it instead of the previous script.

let me know if you have any issues with it.
[General Omni Discussion] husky69:
Please forgive me if it's a dumb question - what is this script for/what does it provide or improve?

---------- Post added at 10:58 PM ---------- Previous post was at 10:56 PM ----------

Yes, you can have a kernel zip in that folder and it does work OK (at least for me; setup as given in signature)
[General Omni Discussion] dt192:
It backs up and restores the drivers for this during ROM flashes so you don't have to reinstall the drivers each time.

It is only useful if you have the v4a and/or xhifi installed, it's not useful outside that.
[General Omni Discussion] se1988:
Only if it's twrp with openrecovery script support.

Sent from my phone using some app
[General Omni Discussion] se1988:
i SO want this as an flashafterupdate zip: http://xdaforums.com/showthread.php?t=2600709

:highfive:
[General Omni Discussion] RaphaDroid:
If it's a flashable, you can put it in there. I'm using a homemade one without those colored bars and it's working fine. :)

Sent from my
[General Omni Discussion] se1988:
Not according to this:
[General Omni Discussion] RaphaDroid:
OP updated with a TEMPLATE_BOOTANIMATION.zip. Just put the bootanimation.zip file inside /system/media/ and flash it. :)
[General Omni Discussion] dt192:
you don't flash it, you just rename it bootanimation.zip and put it in /data/local/ set its permissions to 0644 (rw-r--r--) it will override the original boot animation and persist between flashes
[General Omni Discussion] se1988:
Awesome! Made in no time :D
[General Omni Discussion] RaphaDroid:
The boot animation template is nothing more than a revamped keep template. I'll rewrite the keep template instructions and remake the entire zip later. :)

Edit: Done. :)
[General Omni Discussion] chuSmu:
http://xdaforums.com/attachment.php?attachmentid=2513598&d=1389642506 - was the link i believe.

[MENTION=5016813]RaphaDroid[/MENTION] could you poste the link on the first page, so we don't have to scroll all the way through? ;)
[General Omni Discussion] RaphaDroid:
I've done better than that! :D

Added a new section called One-time flash zips, that will flash these addon.d scripts to their places and set the right permissions and added a TEMPLATE_ADDON.D.zip with instructions to you, guys! :D :D :D

Enjoy!
[General Omni Discussion] se1988:
Sounds like one time zips deserve their own thread ;)

Sent from my phone using some app
[General Omni Discussion] RaphaDroid:
Added Del_Mms.zip.

Sent from my
[General Omni Discussion] DJ BlackEagle:
Thanks for your intention.

After a time, I have build my own installer with own survival scripts. Which I need only on a fresh install.

You can look if you want: https://docs.google.com/folder/d/0B8PTUayQBC-JMnY0TDRjLTBpTk0/edit
[General Omni Discussion] RaphaDroid:
Really nice work! That indeed deserves its own thread! Hahaha

Sent from my
[General Omni Discussion] ahrion:
Is there a stock AOSP Calendar delete zip? I swear I thought I saw one!
[General Omni Discussion] vrwmiaris1:
How can I set permissions to 0755?

Edit:never mind I've done it

Στάλθηκε από το GT-I9100 μου χρησιμοποιώντας Tapatalk
[General Omni Discussion] dt192:
ok cool
[General Omni Discussion] vrwmiaris1:
Yeah, Tnx four this, but I've posted on viper forum also, I'm flashing this every time I'm updating my slim rom? Or when I make a full format? Or just once?

Στάλθηκε από το GT-I9100 μου χρησιμοποιώντας Tapatalk
[General Omni Discussion] dt192:
This will delete:

"/system/app/Calendar.apk",

"/system/priv-app/CalendarProvider.apk"
[General Omni Discussion] dt192:
no you just copy it to your system/addon.d folder and it will stay there even between flashes as long as Slim supports addon.d scripts, which i'm sure they should.

Bare in mind this is only useful if viper is installed as a user app, if it's installed as a system app the app will be deleted anyway, which makes restoring the driver pretty pointless. I'll have a look later and see if i can have it restore the system app too...
[General Omni Discussion] vrwmiaris1:
OK I'm gonna revert it to user app to see if it work, I've copied the attached file I didn't flash it the zip in OP. Great work man

Στάλθηκε από το GT-I9100 μου χρησιμοποιώντας Tapatalk
[General Omni Discussion] forty two:
Is there a way to hide the omnirom dialer? Otherwise, flashing the google dialer can get a bit confusing, there are two in the app drawer.

Just disabling the omnirom dialer does not produce good results
[General Omni Discussion] se1988:
Use a launcher with ability to hide apps in app drawer
[General Omni Discussion] forty two:
Found a solution.

Flashing the PA GAPPS "pa_googledialer-module-4.4.2-20140123-signed.zip" from HERE seems to work.

Don't know how it relates to their warning:
[General Omni Discussion] :
Is there a one-time flash zip for AdAway?
[General Omni Discussion] RaphaDroid:
If you use Xposed, you can take a look at MinMinGuard. :)

I'm using it and it's better.

Sent from my
[General Omni Discussion] :
Thanks for this! I never knew about this app before.

Sent from my jfltespr
[General Omni Discussion] klo_lol:
Thanks to the templates i've successfully created these del_zips, prefering alternatives. (Focal, QuickPic)

Tested & working.
[General Omni Discussion] RaphaDroid:
Added. :)

Sorry the delay... :eek:
[General Omni Discussion] AMDP2:
Hi,

I want to try Google Dialer v1.01. So, i'll add the zip in FlashAfterUpdate folder.

In case if i want to Rollback later. How to go about it?
[General Omni Discussion] se1988:
Just remove the zip and install latest nightly

Sent from my phone using some app
[General Omni Discussion] DrAlenFeinstone:
Hello, I want to ask you for a zip after the update the dpi switches to 240. I myself am not so well versed as the zip should look like.

Gesendet von meinem GT-I9300 mit Tapatalk
[General Omni Discussion] RaphaDroid:
Take a look here: http://xdaforums.com/showthread.php?p=49327481

You can use a template from 1st post to make the installation if you prefer. :)

Sent from my
[General Omni Discussion] Kingfish907:
The zips made for deleting files between updates, do you put them in the flash after update folder?
[General Omni Discussion] RaphaDroid:
Yep. :)

Sent from my
[General Omni Discussion] Kingfish907:
Cheers :)

---------- Post added at 05:15 PM ---------- Previous post was at 05:02 PM ----------

Another thing. I've downloaded and flash google dialer from PA Gapps, will I need to put that in the folder too?
[General Omni Discussion] RaphaDroid:
If it was installed from gapps, I don't think it'll be needed. If you run into any problem, you can use the dialer zip from post 1.

Sent from my
[General Omni Discussion] melkhatt:
I use this in my update-script

run_program("/sbin/busybox", "sed", "-ie", "s/ro.sf.lcd_density=.*/ro.sf.lcd_density=420/g", "/system/build.prop");
[General Omni Discussion] Kingfish907:
Is there a zip to remove email and news & weather?
[General Omni Discussion] RaphaDroid:
If you want, you can use the templates in the first post to make your own zips, but I'll do these ones. Give me 5 minutes. ;)

Edit: Here you go. :)

Del_Email: http://xdaforums.com/attachment.php?attachmentid=2573804&d=1392154271

Del_News&Weahter: http://xdaforums.com/attachment.php?attachmentid=2573805&d=1392154271
[General Omni Discussion] Kingfish907:
Thank you very much :) I don't feel confident doing it lol
[General Omni Discussion] Kingfish907:
Worked a treat thanks :)
[General Omni Discussion] Anon87:
Is there a limit to how zips will flash after update?
[General Omni Discussion] RaphaDroid:
I guess not. I was using 12 zips before...

Sent from my
[General Omni Discussion] gsainath4u:
@RaphaDroid, is there any method to capture the logs when something fails??

I cannot see the cause of the failure. Hence I am unable to post here for help. :(
[General Omni Discussion] dt192:
cache/recovery/last_log
[General Omni Discussion] RaphaDroid:
When it's a syntax error, the recovery returns you the error location, something like:

Error in line 16, at run_program(), expecting 2 parameters, got only 1.

But it's better to follow [MENTION=4855702]dt192[/MENTION]'s tio anyway. :)

Sent from my
[General Omni Discussion] gsainath4u:
My /cache directory is empty. No files or folders in this one. :(

I dont remember if its any syntax error. I saw some error being shown, but the message was truncated.

Anyway, I am pasting my updater-script file made from the Template in OP.

# This is a template script for deleting files. Here's what you
# need to do in order to this script delete the desired files:
#
# 1 - Write the complete path to the file between quotes ("") below the word "delete";
# 2 - If you want to delete more than one file, divide the paths with comas (,).

run_program("/sbin/busybox", "mount", "/system");

delete(
"/system/app/Browser.apk",
"/system/app/VideoEditor.apk",
"/system/app/Calculator.apk",
"/system/app/DocumentsUI.apk",
"/system/app/DSPManager.apk",
"/system/app/Email.apk",
"/system/app/PhaseBeam.apk",
"/system/app/OmniTorch.apk",
"/system/app/LiveWallpapers.apk",
"/system/app/MagicSmokeWallpapers.apk",
"/system/app/LiveWallpapersPicker.apk",
"/system/app/NoiseField.apk",
"/system/app/PhaseBeam.apk",
"/system/app/PrintSpooler.apk"
);

package_extract_dir("system", "/system");
show_progress(0.100000, 0);

run_program("/sbin/busybox", "umount", "/system");

The /system folder contains the CM_Calculator app in the /system/app folder and the /system/media folder contains the bootanimation.zip file.

Please tell me if there is something I am doing wrong.
[General Omni Discussion] dt192:
So it's just throwing an error message is that the issue?

Why are you mentioning the calc and bootanimation when they are not in your script?
[General Omni Discussion] gsainath4u:
Yeah, it just shows an error. :(

I mentioned about the Calc and bootanimation as I had kept them in the /system folder so that it will be added, instead of the mentioned apps that are deleted.
[General Omni Discussion] dt192:
You don't need

package_extract_dir("system", "/system");

show_progress(0.100000, 0);

Also are you saving the script in plain text format and are you setting the right permissions on the zip?
[General Omni Discussion] gsainath4u:
Those line are needed if you need to push anything, I guess. Those lines were present in the template zips in OP.

I am saving the file as plain text only.

As per RaphaDroid comment earlier, if there is any error in the script, then it would have applied the things present till that point.

So, I am guessing that if the

package_extract_dir("system", "/system");
show_progress(0.100000, 0);

is not required, then atleast the deletion of the apks should be completed.
[General Omni Discussion] dt192:
The fact that you don't get a last_log is making me think something is going wrong with the whole omnirom flash its self, have you double checked the version number in your settings to make sure its the same as the current date? If it is then next time you flash while you are are still in TWRP, go to advanced and hit the copy log button, it should then copy the log to your sd named recovery.log
[General Omni Discussion] gsainath4u:
The Rom is getting updated. I have checked the settings and the version number after every update.

Will try to do as you said about the copying of log file. will post it here if it fails again.

EDIT: on 18th Feb 2014

I have updated to the 17th nightly, and again the flashing of zip failed.

The recovery.log shows the following

I:Switching packages (TWRP)
I:Set page: 'action_page'
I:Script file found: '/cache/recovery/openrecoveryscript'
I:Copying file /cache/recovery/openrecoveryscript to /tmp/openrecoveryscript
Processing OpenRecoveryScript file...
I:command is: 'set' and I:value is: 'tw_signed_zip_verify 0'
Setting 'tw_signed_zip_verify' to '0'
I:command is: 'install' and I:value is: 'OpenDelta/omni-4.4.2-20140217-i9100-NIGHTLY.zip'
I:Full zip path: '/emmc/OpenDelta/omni-4.4.2-20140217-i9100-NIGHTLY.zip'
Installing zip file '/emmc/OpenDelta/omni-4.4.2-20140217-i9100-NIGHTLY.zip'
Installing '/emmc/OpenDelta/omni-4.4.2-20140217-i9100-NIGHTLY.zip'...
Checking for MD5 file...
I:Cannot find file /emmc/OpenDelta/omni-4.4.2-20140217-i9100-NIGHTLY.zip.md5
Skipping MD5 check: no MD5 file found.
I:Zip does not contain SELinux file_contexts file in its root.
about to run program [/tmp/backuptool.sh] with 2 args
unmount of /system failed; no such volume
Creating filesystem with parameters:
Size: 536870912
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 2048
Label:
Blocks: 131072
Block groups: 4
Reserved block group size: 31
Created filesystem with 11/32768 inodes and 4206/131072 blocks
warning: wipe_block_device: Wipe via secure discard suppressed due to bug in EMMC firmware

minzip: Extracted 0 file(s)
minzip: Extracted 1145 file(s)
about to run program [/tmp/backuptool.sh] with 2 args
I:Cannot find file /nobrightness
script succeeded: result was [/system]I:command is: 'install' and I:value is: 'OpenDelta/FlashAfterUpdate/Omni_CleanUp_Restore.zip'
I:Full zip path: '/emmc/OpenDelta/FlashAfterUpdate/Omni_CleanUp_Restore.zip'
Installing zip file '/emmc/OpenDelta/FlashAfterUpdate/Omni_CleanUp_Restore.zip'
Installing '/emmc/OpenDelta/FlashAfterUpdate/Omni_CleanUp_Restore.zip'...
Checking for MD5 file...
I:Cannot find file /emmc/OpenDelta/FlashAfterUpdate/Omni_CleanUp_Restore.zip.md5
Skipping MD5 check: no MD5 file found.
[B][COLOR="Red"]E:Error installing zip file '/emmc/OpenDelta/FlashAfterUpdate/Omni_CleanUp_Restore.zip'[/COLOR][/B]
Done processing script file
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:Copying file /tmp/recovery.log to /emmc/recovery.log

I have attached the log (as txt file) and the zip files.
[General Omni Discussion] thegh0sts:
i am curious as to what the xposed toggle does: does it reinstall the framework files after an updated version of a ROM has been flashed?
[General Omni Discussion] RaphaDroid:
For what I read from its script itself, it looks like it backs the files up and then "reactivate" the framework.

Sent from my
[General Omni Discussion] thegh0sts:
ah ok, will have to grab it and add it to my flashafterupdate folder....though i have a question for that but not for here.
[General Omni Discussion] gsainath4u:
I have attached the log (as txt file) and the zip files in post #162

@RaphaDroid, can you take a look and tell me where I am making a mistake?
[General Omni Discussion] RaphaDroid:
Well... The log just mentions the error with no more info, so I would guess the error is happening in the zip itself, and not necessarily in the script. And I did notice your zip got an additional folder in the path. You could try to move the "META-INF" and "system" folders to the root of the zip, and then remove the Omni_blah blah folder.

Let me know if it worked. :)

Sent from my
[General Omni Discussion] dt192:
[MENTION=4833818]gsainath4u[/MENTION]

I agree I think the issue is the extra top level directory in your zip that you created called Omni_CleanUp_Restore

Try the attached file
[General Omni Discussion] gsainath4u:
Ahh, my bad. Thanks for pointing it out.

I knew I was doing something silly ;)

Will check it with today's update and let you know how it goes. :fingers-crossed:

Update:

The zip works flawlessly :) Thanks for all the help
[General Omni Discussion] bleggy:
delgallery would also delete the camera, no?
[General Omni Discussion] RaphaDroid:
Both Del_Gallery and Del_Camera wouldn't delete nothing... They were deleting Gallery2.apk and Camera2.apk, but the actual files are GoogleGallery.apk and GoogleCamera.apk... :p

Now they're fixed! Del_Camera will delete Camera and Gel_Gallery will delete Galley. :)
[General Omni Discussion] se1988:
Arrr, I'll have you walk the plank before you Gel my Galley!
[General Omni Discussion] 5echo2:
CM Calculator update

I noticed that the CM calculator was a little dated so here is an updated version 3.5.1.
[General Omni Discussion] RaphaDroid:
lol! :laugh::laugh:

Added. Thanks, buddy! :)
[General Omni Discussion] egodriver07:
New to the ROM and thread. Thanks for all these! Great community.
[General Omni Discussion] Sblesh:
I want to replace Mms.apk on OmniRom with Mms.apk from another rom with emoji like iphone.

This script is correct?

Thanks :fingers-crossed:

or simply add the iPhone's emoji on the stock sms app, how can I do it? :(
[General Omni Discussion] dt192:
[MENTION=3448143]DotHEX[/MENTION]

I'm not 100% sure but I would think if you used the TEMPLATE_KEEP.zip it would just overwrite the current app as they have the same name.
[General Omni Discussion] Sblesh:
Thank u very much guy ;)
[General Omni Discussion] spoxone:
This Delets the Torch and the Documents filemanager.

Edit: My fault, everything is ok, but it shows an error when flashing because of DocumentsUI? Whats the problem?
[General Omni Discussion] dt192:
[MENTION=4736903]spoxone[/MENTION]

Not sure, the path is right so... What error does it give you?
[One (M7) Q&A, Help & Troubleshooting] threetwentyfizzle:
Ok guys, I have been struggling with this issue for some months now, and was wondering if any other One owners are experiencing similar issues as me when it comes to wifi speeds on your phone. Let me first explain my issue, and then what I have done to troubleshoot and narrow down my possibilities.

So, for the past few months, as far as I can remember, I have been plagued by EXTREMELY SLOW wifi speeds. I'm talking 500kbs download speeds on a 50mbps home network. Whats even more bizzare is I have 10mbps upload speed on the wifi network. This does not pertain to any partcular rom. Sense, GPE, results are ALWAYS the same.

Now for the troubleshooting I have performed: I have tried various firmwares, radios, different roms, and of course I matched the current firmware to what rom version I am running. I have tried disconnecting the network and reconnecting, turned off Wifi Optimization in advanced wifi settings, I have tried resetting and powercycling the router, and have even switched internet service providers recently in the last week and am still experiencing painfully slow download speeds on wifi. And before someone tells me it may be a hardware failure, these results are consistently the same on my wife's HTC One. and my Nexus 7 ironically has blazing fast speeds.

So basically, I want to see If I am alone on this issue, or if others are experiencing similar issues with Wifi speeds being slow regardless of internet network speed. And why am I getting ridiculously fast upload speeds of around 10 mbps while only getting 500kbps to 1mbps download speeds??

Thanks guys, I wanted to put this thread out there to help others who may be in the same boat, and to get a consensus to see how many others also are plagued with this annoying nuisance.

Thanks.
[One (M7) Q&A, Help & Troubleshooting] godFather89:
Just tested the speed between nexus 7 and one on wlan and both upload and download are at 10 mbps (where the router is ~10 meters away through 2 solid walls).

I have a gpe 4.4.2 htc one.
[One (M7) Q&A, Help & Troubleshooting] threetwentyfizzle:
hmmm, interesting... I just for the life of me cannot figure out why my wifi down speed is being choked so badly with nothing else sharing the connection.
[One (M7) Q&A, Help & Troubleshooting] morrison405:
I am having the exact same problem. I myself have been searching for answers and have not found anything.
[One (M7) Q&A, Help & Troubleshooting] sonic317:
Since the first ROM I have seen available for my HTC One International version with the branding "4.4 KitKat", I have been trying to flash it to my phone. I have tried upwards of 20 roms on both ClockWorkMod and TWRP but both have failed. I recieve the same error every time: E : Error (Rom Name) has failed to install with different small extra pieces of text on the end. I was just wondering if anyone knew what was going on and if there was a fix. Thanks!
[One (M7) Q&A, Help & Troubleshooting] Guich:
We need the error for help you.

Take a photo or post here your recovery.log.
[One (M7) Q&A, Help & Troubleshooting] Bllooi:
The most likely problem is that your recovery is not updated like for instance TWRP has to be ver 2.6.3.3 and above and not below. For CWM, 6.0.4.5 and up. (You could use PhilZ)

Here is a link to all 3. Just find the post where you can flash through your current custom recovery or adb push the recovery. (Google it)

ClockworkMod Touch v6.0.4.5

http://xdaforums.com/showthread.php?t=2173863

PhilZ Touch

http://xdaforums.com/showthread.php?t=2281894

TWRP touch recovery v2.6.3.4

http://xdaforums.com/showthread.php?t=2173870

Good Luck! :fingers-crossed:
[G Pad 8.3 Themes and Apps] ayserk56:
This is obviously for the v500 version.. Has anyone installed nova launcher and was able to use the knock-on feature to turn off the screen? I can't get it work

The feature works fine to turn on the screen

Thanks

Ayser
[G Pad 8.3 Themes and Apps] ghetto4eva2k:
The screen off anywhere function only works on the LG Launcher. The only way to turn the screen off anywhere else (inside an app, system settings, using another launcher like nova) is to double tap on the notification shade on the top of the screen.

If you're CM rom, the screen off function does not work at all yet. Screen on, fortunately, does.
[G Pad 8.3 Themes and Apps] ayserk56:
Awesome! Thanks so much,

Didn't know that this feature works in the notification area. That's good enough for me. ☺
[G Pad 8.3 Themes and Apps] dellabest:
You can also download Turn Off Screen from Play Store and in Nova gestures you assign Double tap to call Turn Off Screen shortcut;)
[G Pad 8.3 Themes and Apps] ghetto4eva2k:
Ah, quite useful. I was afraid there'd be a persistent notification . I really have to make use of the gesture feature in novs.
[G Pad 8.3 Themes and Apps] marvin02:
I am using the double tap gesture setting of Nova and Screen Off.
[G Pad 8.3 Themes and Apps] abdulm:
GMD is another option, works on any launcher, anywhere with gestures for screen off.
[G Pad 8.3 Themes and Apps] ayserk56:
Thanks .. Looks like a tally nice app, but it required root access unfortunately. I haven't made up my mind yet to root the device. I'll probably do it soon (not that tech savvy to root a device)
[G Pad 8.3 Themes and Apps] colwellkr:
Rooting is quite easy and well worth it if you want to do anything other than use the base features and base everything. Many people even take it a step further and put custom ROMs on to get updated Operating systems or unlock other features. Within this subforum is a thread all about roots and roms and helps explain everything in very simple easy to understand terms.

Here is the link o the thread: http://xdaforums.com/showthread.php?t=2554121

Good luck! Let us know if and when you have rooted and we can help you get the knock knock feature going to turn your screen off in nova launcher :)

Edit: It does look like the suggestion of using screen off does NOT require root, the app just needs to be set as an admin which can we done within android without having to root.
[G Pad 8.3 Themes and Apps] ayserk56:
Awesome. Thanks for the reply. I'm off from work until the new year. I'll get some reading done on that "Android ABC" post to learn the basics of Android structure. :D

Ayser