[Q] No more media folder in some lollipop roms - T-Mobile Samsung Galaxy S 4

I've noticed that a few lollipop roms don't contain a system/media folder. I used to insert my own sound files before flashing a rom. I know I can copy them to the folder after the rom is flashed but how do you change the permissions on all those files without having to change them one by one.
any help is appreciated

Related

[Q] help with DSIXDA Kitchen

can I extract the contents of a mod.zip and take the .jar or .apk and copy and paste them into the framework dir of the working working folder? i tried copying a custom .apk file into the framework dir of the working folder and it went into a boot loop.
alucke
There could be several reasons for a boot loop. If I understand you correctly, you are working on a ROM using dsixda's kitchen, and you want to add an apk before flashing? Could you provide more information like what apk and what folder you are trying to add it to? I suspect it might have something to do with the signature of the apk. I'm not 100% sure but I believe that the system apks all need the same signature when flashing a new ROM.
alucke said:
can I extract the contents of a mod.zip and take the .jar or .apk and copy and paste them into the framework dir of the working working folder? i tried copying a custom .apk file into the framework dir of the working folder and it went into a boot loop.
alucke
Click to expand...
Click to collapse
If you are changing things within the framework you also need to edit the .xml files within the framework. The best way to learn is to take the stock rom and load it into a working folder. then take a custom rom that you can find all the differences to stock on when loaded on your phone and load that into the kitchen. Compare the stock roms working folder with the custom rom working folder and take note of all the differences and figure out how they were achieved. Dont just look at apk files. Look at the update script as well as the xml files in all the folders too. Repeat with another ROM and you will start to see how to change things around yourself.

ResettingOf Themes

Hi there could someone assist me how am I to go abt changing the to defaultThemes upon using a particular one in the Samsung Galaxy S, Android 2.2.1, Thanks s
salmannizam said:
Hi there could someone assist me how am I to go abt changing the to defaultThemes upon using a particular one in the Samsung Galaxy S, Android 2.2.1, Thanks s
Click to expand...
Click to collapse
I posted this in my theme thread, but here goes...
Using 7-zip or WinRAR, take a look inside the downloaded theme zip file. In there browse to the /system/framework and /system/app folders - these are the files that get installed.
What you need to do is make a note of the file names, then go to your phone and make a copy of the same files from /system/framework and /system/app to a folder on your sdcard.
Then copy this folder over to your pc.
Make a copy of the theme zip and call it e.g. mybackup.zip. Open mybackup.zip and copy the files you've backed up into their respective folders, overwriting the ones that are already there.
Close 7-zip/WinRAR and you're done.
Backup created. You can flash it using ClockworkMod recovery.
Each theme replaces different files. You need to check each time you want to try a new theme if you have the right files backed up that the theme is going to overwrite - if you hope to go back to 100% now it was before.

[Q] help to wright a script

hi im trying to make a script that i can flash to move 3 audio file from my sd card
to my ringtones folder in the system and delete all the ringtones that are already in there
the files are located in
sd/tones/alarms/01 break ya neck.mp3
sd/tones/notifications/vampier_2002.mp3
sd/tones/ringtones/wild international ringtone.mp3
any help is greatly appreciated and thanks in advance
cruse2382 said:
hi im trying to make a script that i can flash to move 3 audio file from my sd card
to my ringtones folder in the system and delete all the ringtones that are already in there
the files are located in
sd/tones/alarms/01 break ya neck.mp3
sd/tones/notifications/vampier_2002.mp3
sd/tones/ringtones/wild international ringtone.mp3
any help is greatly appreciated and thanks in advance
Click to expand...
Click to collapse
Correct me if i'm wrong but all you want to do is move 3 audio files to system folder? well, you need root access for that and once you gain root access, you can install root explorer or some sort of explorer through which you can copy your 3 audio files and paste them into the system folder. Look here if you want to root your phone.
Hope this helped!
shad0wboss said:
Correct me if i'm wrong but all you want to do is move 3 audio files to system folder? well, you need root access for that and once you gain root access, you can install root explorer or some sort of explorer through which you can copy your 3 audio files and paste them into the system folder. Look here if you want to root your phone.
Hope this helped!
Click to expand...
Click to collapse
thanks for the reply but thats the way i do it already but i flash a new rom every few days so it gets a bit annoying having to move them all the time then set permissions so was hoping to make a script that i could just flash after flashing a new rom
bump
i've made flashable zips for just this very reason. i was flashing too many roms and i wanted to keep the same sounds. i flash them straight after flashing a new rom.
what do you want to replace? ringtones only? or ringtones, notifications and alarms?
let me know and i can send you a zip
this zip is to replace all of the sound files in 'alarms', 'notifications', and 'ringtones'
navigate through the zip and drop your sound files in to the appropriate folders, then delete the .txt file that's also in there. don't delete the .txt file first or the directory will disappear
then all you have to do is flash the zip in recovery
whenever i update my rom i stay in recovery and flash this zip straight after, it makes life a lot simpler!
so just to repeat: this will delete ALL of the alarms, ringtones and notifications currently on your phone and replace them with whatever you put in to the corresponding folders in this zip
just as an extra tip: if you don't want to delete everything, you can change this behaviour by modifying 'updater-script' with an appropriate text editor like notepad++. get rid of the lines "delete_recursive". e.g. if you want to keep your alarms, delete the line delete_recursive("/system/media/audio/alarms");
maatsby said:
this zip is to replace all of the sound files in 'alarms', 'notifications', and 'ringtones'
navigate through the zip and drop your sound files in to the appropriate folders, then delete the .txt file that's also in there. don't delete the .txt file first or the directory will disappear
then all you have to do is flash the zip in recovery
whenever i update my rom i stay in recovery and flash this zip straight after, it makes life a lot simpler!
so just to repeat: this will delete ALL of the alarms, ringtones and notifications currently on your phone and replace them with whatever you put in to the corresponding folders in this zip
just as an extra tip: if you don't want to delete everything, you can change this behaviour by modifying 'updater-script' with an appropriate text editor like notepad++. get rid of the lines "delete_recursive". e.g. if you want to keep your alarms, delete the line delete_recursive("/system/media/audio/alarms");
Click to expand...
Click to collapse
thanks i owe you one will give it a try later and let you know how it goes
maatsby said:
this zip is to replace all of the sound files in 'alarms', 'notifications', and 'ringtones'
navigate through the zip and drop your sound files in to the appropriate folders, then delete the .txt file that's also in there. don't delete the .txt file first or the directory will disappear
then all you have to do is flash the zip in recovery
whenever i update my rom i stay in recovery and flash this zip straight after, it makes life a lot simpler!
so just to repeat: this will delete ALL of the alarms, ringtones and notifications currently on your phone and replace them with whatever you put in to the corresponding folders in this zip
just as an extra tip: if you don't want to delete everything, you can change this behaviour by modifying 'updater-script' with an appropriate text editor like notepad++. get rid of the lines "delete_recursive". e.g. if you want to keep your alarms, delete the line delete_recursive("/system/media/audio/alarms");
Click to expand...
Click to collapse
works perfect thanks

[Q] HTC Locations' App. on other Custom ROMs

Hi,
I need to install HTC's Locations app on any custom ROM (ie: MyOneV or CM9/CM10)
So any1 can help me with this ?
(i tried it though, by moving these files (from MyOneV5.0FX Removed apks) htclocation.apk,locationpicker.apk,locatiooninstaller.apk in System/app folder bt it didn't worked)
When you move those files to system app manually, you need to put right permission rw-r--r-- then reboot.
Or the simplest way is, open the Removed_Apks_RC5.x.zip with 7-zip (not extract), delete all apks that you don't need and leave those location files in zip.
Then flash the zip in recovery.
And these files will not work on a CM rom.
ckpv5 said:
When you move those files to system app manually, you need to put right permission rw-r--r-- then reboot.
Or the simplest way is, open the Removed_Apks_RC5.x.zip with 7-zip (not extract), delete all apks that you don't need and leave those location files in zip.
Then flash the zip in recovery.
And these files will not work on a CM rom.
Click to expand...
Click to collapse
:good:
Thankz
I tried that too, by removing all apks from zip keeping the said three files & flash it in recovery, still it doesn't appeared in apps!
Though i'll try again may b missed something or some file..
I just tried it, it works.
Your filename looks different, attached here the files from the Removed_Apks_RC5.x.zip, I named it to location.zip. Flash in recovery.
It Worked: Thanx

S3 Matrix Boot animation for STOCK ROM

I've searched and searched but could never find a Matirx code rain boot animation made for the Samsung Galaxy S3 for a STOCK ROM. Bootanimation.zip files don't work on a stock ROM for the S3 so I took some of the better ones I found in zip files and converted them to the .qmg files that the S3 wants. I've included the boot animation as well as the shutdown animation and the Matrix sounds for them also.
You do need to have ROOT to install these and ROOT Explorer is recommended to copy them into the right folders and change permissions. If you aren't rooted I highly recommend 'towelroot' and it doesn't get any easier than that app for rooting.
Download my zip file then:
- rename your existing files (the ones that have the same names as I have included in the Zip file) in the folders listed below to something else you will remember like bootsamsung.bak and do this for each file you will be replacing with ones I have included in the Zip file.
- I suggest a complete backup with TWRP in case anything goes wrong. If you don't have TWRP get it - best thing going and I also use an app called 'Quickboot' which lets you get into TWRP recovery without having to do the 3 finger grip on the buttons you normally need to do to get into recovery.
- copy bootsamsung.qmg and bootsamsungloop.qmg to your system/media folder with Root Explorer
- use Root explorer change permissions on them to rw-rr
- copy the *.ogg (sound) files to system/media/audio/ui folder
- copy shutdown.qmg to system/media/video/shutdown folder
- use Root explorer change permissions on them to rw-rr
Reboot and enjoy a reminder of one of the best movies ever made !
I wish I could recall where all the parts for the above animations came from but I am not sure. Some probably came from xda forum so if any of these were from something you created I'll gladly give credit. I did have to resize exactly 100 pictures to make them the correct size for the Galaxy S3. However the shutdown animation came from somewhere else and did not need to be resized or rebuilt. I used Samsung's Theme Designer to convert the files to the needed qmg format for Galaxy's. There is about 3 pages of instructions on how to do that Here
The .ogg files were from my own collection of Matrix sound files and ringtones and used another program to convert them from MP3's to OGG files.
BTW if I am wrong about not being able to use bootanimation.zip files on a Galaxy S3 please let me know. I tried every way to Sunday to try using them but had no luck. I don't mind flashing a good ROM but I don't trust flashing a bootanimation file and I'm not even sure you can do that on a stock S3 ROM. If anyone has more info on that please post here. I've still got a lot to learn

Categories

Resources