I use a custom ringtone and notification sound on my phone. Each time I update my ROM, I have to copy two .ogg files from my /sdcard/, to /system/media/ringtones.
Is there any way to get an app or scripts that will get su permissions, mount /system/, copy the files, then unmount all in one go?
Not that I'm aware of, I do the same thing every flash.
Btw the notification sound goes in system/media/audio/notifications
You could try making a flashable.zip of the sounds you want and flash them after your ROM.
Sent from my Paranoid Nexus 4
You can put them in
sdcard/ringtones
sdcard/notifications
Sent from my Nexus 4
If making a flashable zip is the easiest option, how would I make one of those?
Sent from my Nexus 4 using Tapatalk 4 Beta
Related
I'm searching for a zip to flash original boot screen animation. Actually i have cm10 animation and i don't like it. So if somebody can help me... thanks
Sent from my Nexus 7 using xda premium
Nobody knows??
Sent from my Nexus 7 using xda premium
pull it out of a stock or aosp rom, then copy/paste it into /data/local/ or /system/media/. its easier than putting together a zip to flash.
Here you go http://db.tt/FZXC70fK. Note I make no guarantees as to how long the link will be available as I tend to delete files from Dropbox after some time.
It is really easy to create your own zip files. All you need is ES File Explorer or Solid Explorer to extract and pack zip files. And use ZipSigner to sign the zip file. It's a useful skill to learn.
Sent from my Nexus 7
Here ya go, drop in /system/media
For the record almost any boot animation changer on the market will work with The rooted nexus..
I have one very serious.. well maybe not serious just more of WHY does the boot animation matter so much to people.. I never reboot my tablet enough to really care.
anyone know???
What are these files for after rooting my Nexus 7 I found them in the sdcard dir, /storage/sdcard/!ReadyToFlash/Root_Files/busybody.zip and /storage/sdcard/!ReadyToFlash/Root_Files/CWM-SuperSU-v0.94.zip and /storage/sdcard/TWRP/.twrps? Should I delete them if I do not wish to use them?
Sent from my Nexus 7 using xda app-developers app
those are the super user and busy box apps . They were pushed to your device by the root method you used. They are quite small in size and are not hurting anything being there.. I would just leave them be. But they were pushed there then extracted to the correct directories.
A different opinion:
If you are using TWRP for recovery, then keep that folder and delete the !Ready... one. If you are using CWM for recovery, then you can delete both folders.
Not much point in keeping files you don't need.
Sent from my HTC Desire S
I installed a handwriting app from another thread via twrp recovery by choosing install from zip file , so the nexus sees it as a stock app, only giving me the option to disable instead of delete. How do I uninstall it, now that it's a system app? I've searched all over the web and can't figure it out. I tried using titanium backup to do it, but it just boots me into twrp and I see no setting in there that let's you delete an app that you flashed via zip... Thanks!
Sent from my Nexus 7 using xda app-developers app
Restore the backup image you made before installing the app
Sent from my Nexus 7 using Tapatalk 2
If you know the name of the app and are rooted, you can go to /system/app and delete or rename the app. Disabling the app would work also. Why is that not ok?
I don't want to have things taking up unnecessary space. I'll try un installing by deleting that folder, since I didn't make a backup, I never imagined I would have to go so far as to restore just to uninstall an app, my mistake. I just can't believe that's the only way, I've restored before from backups and it's quite a lengthy process sometimes. At least when I used titanium backup.
Sent from my Nexus 7 using xda app-developers app
Solange82200 said:
I installed a handwriting app from another thread via twrp recovery by choosing install from zip file , so the nexus sees it as a stock app, only giving me the option to disable instead of delete. How do I uninstall it, now that it's a system app? I've searched all over the web and can't figure it out. I tried using titanium backup to do it, but it just boots me into twrp and I see no setting in there that let's you delete an app that you flashed via zip... Thanks!
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
If you are Rooted you can use Ron Toolbox from the store. It allows you to uninstall any app. Even System apps. I have been using it for some time and love it. It's great for getting rid of crapware installed by the OEM and Carriers that you don't want on your device. But it does require Root.
Thank you all, I am rooted. Deleting the apk in system /apps folder seemed to work, at least I no longer see it when I look in settings and downloaded apps. I will try rom toolbox though, thanks again for the quick responses!
Sent from my Nexus 7 using xda app-developers app
If it is an HTC phone with S-ON (i.e. no S-OFF), then then any change to the /system partition will be reverted on next reboot, so, yes, you can uninstall a system app, for example using TitaniumBackup, but it will re-appear after reboot.
If you don't have a nandroid backup, then you could open the original ZIP file that you flashed, look what it does, and create an UNDO.zip and then flash it. If it overwrites some existing files, then you can pull them from the original ROM.
For example, if all you need to do is remove some files:
1. Take the zip attached in this thread http://forum.xda-developers.com/showthread.php?t=2058944.
2. Unpack the zip.
3. Edit updater_script in a text editor, and modify the paths to the files you want removed.
4. Repack the zip.
5. Flash via recovery.
The operation can be done completely on the device if you have a proper file manager with archive support. I used TotalCommander which can open ZIPs and edit files in them, and when you press the back button it will ask you to repack the modified file back into the ZIP.
More info on creating your own flashable ZIP files:
http://forum.xda-developers.com/showthread.php?t=2290009
Since I am a registered Flashaholic, I find it very tedious to constantly copy my custom ringtones, notifications and alarms back into my System directory, set the appropriate permissions and reboot after each new ROM. I could leave them on my virtual SD card, but I think they play nicer with all apps when copied into the System Directory.
I have linked the Zip files I created. They were specifically created for the Nexus 4 (N4) (has ringtones) and Nexus 7 (N7) (no ringtones), but if your phone or tablet has the following directory structure: System/Media/Audio/XXX (<--- Where XXX is either alarms, notifications or ringtones), Then these might work for you too.
Additionally I have added new Zips for the N7 & N4 to allow for system files to be flashed. Already in the ZIP are ADOBE FLASH (Installed as a user app) and the Stock ICS browser (Not Chrome), which can play flash files in Jelly Bean. Remove them if you don't want them.
These zip files have some sample stuff already in them.... ... ... OK... They're my ringtones/notifications/alarms. I made them or kanged some of them... ... (Don't Judge! ).
To use your own sounds (.ogg is recommended but .mp3 will work too) just
Download the desired file(s) to your computer.
Modify the zip files for your sounds.
-To modify:
------Open the .zip with an archive program (7zip, WinRAR etc) and dig down the archive to:
system/media/audio/
------Open the folder for the type of sound you want to add and copy in your sounds and/or remove existing sounds.
------Save the zip file. Often this is automagically done by the archiver
Ensure you have the latest TWRP or CWM Recovery installed.
Copy .zip to your SD card
Flash zip file in Recovery
I usually keep the sound zip, Franco's latest kernel zip and Misledz's Nexus Louder in a separate folder on my SD card, when I flash a new ROM I line up gapps and these in Goo Manager and I'm nearly all set up! Best of all, off I dirty flash my next AOKP nightly all my sounds stay the way I set them, ringtones, notifications and alarms!
Download Links are Below.
NOTE: THESE HAVE ONLY BEEN TESTED ON THE NEXUS 4 AND NEXUS 7. FOR OTHER DEVICES, USE AT YOUR OWN RISK.
Have Fun! And Hit Thanks if this Helped you!
N4 System Sounds
N4 System Apps and Adobe Flash
N7 System Sounds
N7 System Apps and Adobe Flash
I though this was a great idea so I tried it and I get a red failed in TWRP 2.3.3.3. I tried two copies of it, one I modified and then the original and they both failed to install. Please let me know what I am doing wrong or if you get this to work, please let me know.
Thanks
Re: [ZIP] Flashable Zips for Flashaholics (N7,N4)
FuzeLearner said:
I though this was a great idea so I tried it and I get a red failed in TWRP 2.3.3.3. I tried two copies of it, one I modified and then the original and they both failed to install. Please let me know what I am doing wrong or if you get this to work, please let me know.
FIXED!
Click to expand...
Click to collapse
Time Saver!
The new upload works great, thanks!
Re: [ZIP] Flashable Zips for Flashaholics (N7,N4)
FuzeLearner said:
The new upload works great, thanks!
Click to expand...
Click to collapse
Yeah, I needed a new update-binary for the N4. I found one on the TWRP site. I put it in both zips so they should be good to go for a while.
Sent from my Nexus 7
can you add a zip for n4 apps as well , thanks.
Re: [ZIP] Flashable Zips for Flashaholics (N7,N4)
munchy_cool said:
can you add a zip for n4 apps as well , thanks.
Click to expand...
Click to collapse
What kind of apps? System or just installed?
Sent from my Nexus 7
TheByteSmasher said:
What kind of apps? System or just installed?
Sent from my Nexus 7
Click to expand...
Click to collapse
system apps bro , just add the apks to the zip file, flash from CWM and you have all the apps which you want
Re: [ZIP] Flashable Zips for Flashaholics (N7,N4)
munchy_cool said:
system apps bro , just add the apks to the zip file, flash from CWM and you have all the apps which you want
Click to expand...
Click to collapse
Yeah, I can do that. Gimmie a day or so.
Sent from my Nexus 4
TheByteSmasher said:
Yeah, I can do that. Gimmie a day or so.
Sent from my Nexus 4
Click to expand...
Click to collapse
no problem bro, whenever you can
Added System Apps and ADOBE FLASH+ STOCK BROWSER (NOT Chrome) for the N7.. Working on the N4 Zip.
TheByteSmasher said:
Added System Apps and ADOBE FLASH+ STOCK BROWSER (NOT Chrome) for the N7.. Working on the N4 Zip.
Click to expand...
Click to collapse
thanks a lot bro ..
Re: [ZIP] Flashable Zips for Flashaholics (N7,N4)
OP updated. Added 2 more zips for system files (already including flash and stock browser) for N4 & N7. Also switched to dev host.
Sent from my Nexus 7
Re: [ZIP] Flashable Zips for Flashaholics (N7,N4)
munchy_cool said:
thanks a lot bro ..
Click to expand...
Click to collapse
Did you try the system apps one yet? Someone else said there was a problem with it...
EDIT: Problem with the system apps flash... sorry. I'll fix it as soon as my box is done compiling a new MAKO build
Sent from my Nexus 4 or 7
FIXED
I HAVE FIXED THE N4 SYSTEM APS AND FLASH ZIP. THE OP IS UPDATED. NEW FILE IS HERE
So I decided to try out Cataclysm after being on both Ubermallow and Pure Nexus for some time. Problem is, unless I can figure out how to extract the AOSP keyboard from either of those to replace this lacking Google keyboard without the longpress punctuations, I'm going to need to go back. In the past it was as easy as extracting the LatinIME.apk but apparently I've been in cold storage because the ROM zips look nothing like they used to.
So does anyone know how I can extract the keyboard apk from our 6P's roms? Thanks!
Sent from my Nexus 6P using Tapatalk
Try the google play store? they have a asop version.
chipstien said:
So I decided to try out Cataclysm after being on both Ubermallow and Pure Nexus for some time. Problem is, unless I can figure out how to extract the AOSP keyboard from either of those to replace this lacking Google keyboard without the longpress punctuations, I'm going to need to go back. In the past it was as easy as extracting the LatinIME.apk but apparently I've been in cold storage because the ROM zips look nothing like they used to.
So does anyone know how I can extract the keyboard apk from our 6P's roms? Thanks!
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
There is obviously a way to extract the new format, you can find it somewhere on XDA (hint: SystemExtractor).
Also, why not just back up your current ROM, flash that ROM, boot it and grab the APK?
Sent from Google Nexus 6P @ CM13
[WARNING: XDA One have not implemented "mark forum as read" - do not use]
AndyYan said:
There is obviously a way to extract the new format, you can find it somewhere on XDA (hint: SystemExtractor).
Also, why not just back up your current ROM, flash that ROM, boot it and grab the APK?
Sent from Google Nexus 6P @ CM13
[WARNING: XDA One have not implemented "mark forum as read" - do not use]
Click to expand...
Click to collapse
I tried that. But when I try restoring the keyboard in Cataclysm it just sits there and continues to run and run but never finishes.
Sent from my Nexus 6P using Tapatalk
Hmmm. I'd try this. Boot back into your aosp ROM with the keyboard you want. Use a root file browser (I use root browser, I like the simplicity of it) and go into system/apps. Copy the latinIME folder which should contain the latinIME.apk and some libSO files to your SD card. Restore back up of cataclysm ROM. Place latinIME folder from the aosp ROM that's now on your SD card into the /system directory of your phone. While its there make sure you set all the permissions to what they're set to in cataclysm ROM for the folder, the apk and libso files. Then move the folder to to /system/app and overwrite existing file. Reboot and profit?
chipstien said:
I tried that. But when I try restoring the keyboard in Cataclysm it just sits there and continues to run and run but never finishes.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
What "run and run"? You used Titanium backup for that purpose? Overkill...
The post above me pretty much said it all... Just remember to set proper permissions for each file and folder you copy there.