[Solved]Deleted the weather app animations - One (M7) Q&A, Help & Troubleshooting

Hi, after a factory reset from twrp, i lost all the preinstalled apps and the weather app animation. Right now i'm downloadind viper one to try to extract them e put them back into my one. Should it works? Any other help?
Edit
Just extact from any stock-based rom the folder "weather" from system>media and put into the same folder in my One. Put permission to 755, restart and everything works fine!

aliud said:
Hi, after a factory reset from twrp, i lost all the preinstalled apps and the weather app animation. Right now i'm downloadind viper one to try to extract them e put them back into my one. Should it works? Any other help?
Edit
Just extact from any stock-based rom the folder "weather" from system>media and put into the same folder in my One. Put permission to 755, restart and everything works fine!
Click to expand...
Click to collapse
I need some help. I have the same problem. I downloaded a stock rom and copied the folder on my phone via usb cable. I tried to copy the weather folder in /system/media and it only copies around 20 files, not all 36 of them. Anyway, after reboot the folder is gone. Can someone please tell me what am i doing wrong and why does the folder disappear on restart?

paulhm81 said:
I need some help. I have the same problem. I downloaded a stock rom and copied the folder on my phone via usb cable. I tried to copy the weather folder in /system/media and it only copies around 20 files, not all 36 of them. Anyway, after reboot the folder is gone. Can someone please tell me what am i doing wrong and why does the folder disappear on restart?
Click to expand...
Click to collapse
You can't write files to /system unless you have an unsecured kernel, otherwise all files will be deleted after reboot like you are experiencing. Weather animations are stored in /data/preload btw.

alray said:
You can't write files to /system unless you have an unsecured kernel, otherwise all files will be deleted after reboot like you are experiencing. Weather animations are stored in /data/preload btw.
Click to expand...
Click to collapse
ok, thanks for the info. I copied the files in data/preload and restarted the phone and it doesn't work. I rooted my phone a week ago and I noticed the weather wasn't animated anymore and I searched the forum for a solution and this thread said "solved" and that was the solution to copy them in system/media/weather/. Do you have any idea why isn't it working?
Thanks!
nervermind - permissions 755

paulhm81 said:
ok, thanks for the info. I copied the files in data/preload and restarted the phone and it doesn't work. I rooted my phone a week ago and I noticed the weather wasn't animated anymore and I searched the forum for a solution and this thread said "solved" and that was the solution to copy them in system/media/weather/. Do you have any idea why isn't it working?
Thanks!
nervermind - permissions 755
Click to expand...
Click to collapse
I guess it depend on what sw version you are. On dev edition sw they are located in /data/preload. If you lost you weather animation, I guess its because you have unlocked bootloader. When you unlock the bootloader, /data get wiped including the /preload folder where stock apps like calculator, flashlight etc are stored and where the weather animations are stored. Don't forget to set permission to rw-r-r for all files in /data/preload

Same issue for unlock bootloader
alray said:
I guess it depend on what sw version you are. On dev edition sw they are located in /data/preload. If you lost you weather animation, I guess its because you have unlocked bootloader. When you unlock the bootloader, /data get wiped including the /preload folder where stock apps like calculator, flashlight etc are stored and where the weather animations are stored. Don't forget to set permission to rw-r-r for all files in /data/preload
Click to expand...
Click to collapse
Can u please tell me if I Lock the bootloader again (and of course doing a factory reset):
*Loose root access?
*can have flashlight, calculator and whether animations back?

bonhX said:
Can u please tell me if I Lock the bootloader again (and of course doing a factory reset):
*Loose root access?
*can have flashlight, calculator and whether animations back?
Click to expand...
Click to collapse
no. Factory reset wipe user data stored in /data partition. Root files are stored in /system partition so a factory reset will not unroot the phone. Relocking the bootloader (and/or factory reset) will not restore wiped apps (apps stored in /data/preload) caused by htcdev.com bootloader unlock. All files in /data/preload must be restored manually or you have to reset your phone back to 100% stock using a ruu, a nandroid backup, a stock odexed rom or a guru reset rom.

Got it!
Would you mind giving me that apk's & animations so I can install/put them in their folders back? ?
Sent from my HTC One using XDA Free mobile app

bonhX said:
Got it!
Would you mind giving me that apk's & animations so I can install/put them in their folders back? ?
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
There are all different depeding your phone software version number. Post the output of "fastboot getvar all" except the imei and serialno.

Related

First time rooter, missing ringtones question.

I've just rooted to Cyanogen's 4.0.1 last night and I'm having some issues:
All of the default Android ringtones are gone; the ones that came with the phone. I've installed Rings Extended and my custom ringtones are available, but when I try to select a ringtone from "Android System," Android System shows the same ringtones found in Rings Extended but not the ones that it should be showing. How do I get them back and behaving properly?
Also, all of my contacts with custom ringtones have been cleared. Will I have to re-select these ringtones each time I upgrade a rom? Is there an easy way to backup custom contact ringtone information?
Similarly, I have several email accounts. Will I have to set each and every one up each time I flash the rom? Is the data missing from my Mileage application gone forever?
pilkro said:
I've just rooted to Cyanogen's 4.0.1 last night and I'm having some issues:
All of the default Android ringtones are gone; the ones that came with the phone. I've installed Rings Extended and my custom ringtones are available, but when I try to select a ringtone from "Android System," Android System shows the same ringtones found in Rings Extended but not the ones that it should be showing. How do I get them back and behaving properly?
Also, all of my contacts with custom ringtones have been cleared. Will I have to re-select these ringtones each time I upgrade a rom? Is there an easy way to backup custom contact ringtone information?
Similarly, I have several email accounts. Will I have to set each and every one up each time I flash the rom? Is the data missing from my Mileage application gone forever?
Click to expand...
Click to collapse
I have some bad news....if you didn't backup any of this data, then yes, everything is gone and you will have to set it up manually. The good news is that you can use Backup for root users in the future to backup email, contacts and other things. I don't think the mileage app is included in there but if you want to know where the database for this program is stored you will have to explore the /data/data from adb or terminal. From there look for a file in the format similar to com.mileage.android or some variation on that. With that file, there should be a database folder and user pref folder. Back those up next time before a wipe then restore them to the new place and you should be good to go.
As far as the ringtones, they are in cyanogen's post where his stable build is under a heading of Audio Resources (unzip to your SD card). Unzip them to your sd card and place the ringtones in a folder labeled "media" and your phone will automagically recognize them and you can setup your contacts again.
DirectMatrix said:
The good news is that you can use Backup for root users
Click to expand...
Click to collapse
If I restore my nandroid's backup status, will I get these things back? Meaning, go to bootloader, restore what was backed up, download "Backup for Root Users," run it, then re-root the phone?
DirectMatrix said:
Unzip them to your sd card and place the ringtones in a folder labeled "media" and your phone will automagically recognize them and you can setup your contacts again.
Click to expand...
Click to collapse
But this will simply put the android ringtones mixed in with my custom ones, right? So it's not possible to keep them under the separate heading of "Android System?"
pilkro said:
If I restore my nandroid's backup status, will I get these things back? Meaning, go to bootloader, restore what was backed up, download "Backup for Root Users," run it, then re-root the phone?
Click to expand...
Click to collapse
That is a good question. It would seem that it should work because the point of a nandroid backup is to get you back to exactly where you were before you started. I would say if you have some time, restore your nandroid, download the backup app and then install your choice of custom rom again. Remember if your making a lateral move, then you don't need to wipe. (ie upgrading from one CM build to another)
I also think you are getting your steps and/or terminology confused. If you created a nandroid backup before you lost all your settings, then you were already rooted. You cannot create a nandroid backup without having root access. So when you say re-root the phone, I assume you mean install another custom rom....??
pilkro said:
But this will simply put the android ringtones mixed in with my custom ones, right? So it's not possible to keep them under the separate heading of "Android System?"
Click to expand...
Click to collapse
The is a way around this but it requires some knowledge of the android file system structure and some basic commands. You can push the ringtones through adb or terminal.
DirectMatrix said:
That is a good question. It would seem that it should work because the point of a nandroid backup is to get you back to exactly where you were before you started. I would say if you have some time, restore your nandroid, download the backup app and then install your choice of custom rom again. Remember if your making a lateral move, then you don't need to wipe. (ie upgrading from one CM build to another)
I also think you are getting your steps and/or terminology confused. If you created a nandroid backup before you lost all your settings, then you were already rooted. You cannot create a nandroid backup without having root access. So when you say re-root the phone, I assume you mean install another custom rom....??
The is a way around this but it requires some knowledge of the android file system structure and some basic commands. You can push the ringtones through adb or terminal.
Click to expand...
Click to collapse
I was about to say the same thing. If he just rooted then when was the nandroid done. Only if it was done on RC29.
DirectMatrix said:
So when you say re-root the phone, I assume you mean install another custom rom....??
Click to expand...
Click to collapse
yes. thank you. I was confused.
search audio resources
So now I'm home and I've re-added the sound files, including UI. But I cannot get touchscreen typing to use the haptic feedback or play the typing sounds. I have put them in their default location from the zip file: media/audio/ui
How can I get these features back?

[Q] Missing Dialer 2.2.2 (phone.apk i think?)

Hi
I accidently removed dialer 2.2.2 from the device using Titanium Backup, and i need to restore it in order for my phone calls to work.
I tried downloading some froyo Phone.apk but i cant install. It stops fast and syas "Application not installed" when i click it.
I put it in /system/app/ using adb. I didnt work either to install it through adb. It said cannot find file.
I need a original copy of Phone.apk and maybe some explanation of how to install it as it were before i removed it.
http://forum.xda-developers.com/showthread.php?t=960374 has a complete dump of 2X global version. You can find the dialer in there.
There are several threads about the joys of reinstalling system apps (usually ppl killed the launcher) among them are http://forum.xda-developers.com/showthread.php?t=992945
EDIT: next time freez in stead of uninstalling... frozen apps will be restored by a simple factory reset. uninstalled won't.
Thx I am downloading and hoping it will work with the original Phone.apk
vivet said:
Thx I am downloading and hoping it will work with the original Phone.apk
Click to expand...
Click to collapse
it should work.
I downloaded the package and pushed the Phone.lnk to the /system/app/ directory. After that i went to a file browser on the phone and tried to execute the Phone.apk file.
It came with the same message. Do i need to install through adb or hard reset?
vivet said:
I downloaded the package and pushed the Phone.lnk to the /system/app/ directory. After that i went to a file browser on the phone and tried to execute the Phone.apk file.
It came with the same message. Do i need to install through adb or hard reset?
Click to expand...
Click to collapse
You don't need to install apk when putting in /system/app.
Copy apk to sd, download and install rootexplorer copy apk forom sd with rootexplorer go to system/app push button “mount R/W“ paste apk and reboot the phone. Done
Well isnt that the same as using adb.
I have the Phone.apk from the optimus 2x dump in the /system/app/ folder now, but i doesnt fix the problem. It doesnt seem to get installed when rebooting.
How can i see if its installed. I checked Titanium Backup, which still shows the Dialer 2.2.2 grey with strike-through (Data backed up, with no possiblity of restore).
How do i force it to "reinstall" upon reboot.
I tried restoring a widget that i removed, and that worked, so maybe the phone.apk is installed after i pushed it to /system/app, but something else is wrong.
What could be the problem? Missing data or something, which i need to restore somehow?
Isn't there a way to reflash the device with original rom?
Any ideas?
I downloaded the Global System.zip from this forum. I successfully went to the android recovery menu on the phone. I can choose to update the phone using System.zip on sdcard.
Is that the way to go?
have solved the problem?
Is possible to edit the phone.apk? the stock "incall" app is simple orrrrrrible
i too am missing my dialer app. whenever i touched the phone icon it would crash and go to home screen i thought if i uninstalled it and reinstalled it with titanium pro it would fix it. but it now wolnt let me reinstall. ive been searching the forum and trying different ways to fix the issue but nothing is working so far ... how can i get this is work?
Phone.apk
Did you guys figure this out? I installed

App is not installed after moving .apk to system/app!

Hi there.
I would be very grateful if someone will help me solve my problem.
Well, after moving .apk to system/app (This time it was Google Wallet, but earlier I had the same with other apps) and data/app (tried both), it doesn't appear in the app drawer. What is more, It's not seen by Titanum Backup, nor the adb sees it as the installed package (adb shell, pm list packages) - no app on the list).
As I said, it works with every app - nothing appears after moving .apk to system directory manually.
Okay, wiping Dalvik-Cache and fixing the permissions may solve the problem, but I am afraid it may enable THIS screen appear on EVERY reboot (correct me if I am wrong).
Do you know any other solution? Or wiping dalvik-cache and fixing the permissions from recovery is the only proper one?
P.S. Can wiping dalvik-cache and fixing the permissions cause some problems, like it will delete the records in games or will have to configure the settings again?
use es File Explorer as you need to set the permissions, es automatically sets them correctly
Sent from my 4.3 Xperia S via Tapatalk
Well, what I forgot to add, I of course set the permissions (644 as all system apps)... Is in that case only solution wiping dalvik-cache?
Will wiping dalvik cache delete my games records
'
DidierDrigbi said:
Well, what I forgot to add, I of course set the permissions (644 as all system apps)... Is in that case only solution wiping dalvik-cache?
Will wiping dalvik cache delete my games records
'
Click to expand...
Click to collapse
I would suggest to wipe dalvik and the regular cache.
Any game data won't be touched (those aren't cache files correct me if I'm wrong)
If the problem persists tell us what rom etc. you're on and maybe do a full reinstall with backing up data before.
Sent from my LG-P880
DidierDrigbi said:
Well, after moving .apk to system/app (This time it was Google Wallet, but earlier I had the same with other apps) and data/app (tried both), it doesn't appear in the app drawer. What is more, It's not seen by Titanum Backup, nor the adb sees it as the installed package (adb shell, pm list packages) - no app on the list).
Click to expand...
Click to collapse
Are you using an apk from the stock rom on another rom? I'm asking this because I wanted LG Weather on CM 10.1 and I put it in system/app, rebooted and it didn't appear anywhere. The thing is that the stock rom is not deodexed and CM is. I had to use a tool to deodex the app and then put it in place, fix permissions and reboot.
DidierDrigbi said:
Okay, wiping Dalvik-Cache and fixing the permissions may solve the problem, but I am afraid it may enable THIS screen appear on EVERY reboot (correct me if I am wrong).
Do you know any other solution? Or wiping dalvik-cache and fixing the permissions from recovery is the only proper one?
P.S. Can wiping dalvik-cache and fixing the permissions cause some problems, like it will delete the records in games or will have to configure the settings again?
Click to expand...
Click to collapse
You shouldn't need to wipe the dalvik cache, simply rebooting will appear that screen only for the apps that you manually put in system/app.
tyraek said:
Are you using an apk from the stock rom on another rom? I'm asking this because I wanted LG Weather on CM 10.1 and I put it in system/app, rebooted and it didn't appear anywhere. The thing is that the stock rom is not deodexed and CM is. I had to use a tool to deodex the app and then put it in place, fix permissions and reboot.
I'm on the Stock ROM. So I should odex this file to use it? Could you tell me which tool should I use?
Click to expand...
Click to collapse
Click to expand...
Click to collapse
1. you dont move the apk. you copy it in system/app.
2. the game data is in data not in cache.
3. you dont need to wipe dalvic. a new app installed just creates a new file in dalvic
kessaras said:
1. you dont move the apk. you copy it in system/app.
2. the game data is in data not in cache.
3. you dont need to wipe dalvic. a new app installed just creates a new file in dalvic
Click to expand...
Click to collapse
Yeah, I copy it in system/app. And nothing appears in the app drawer!
DidierDrigbi said:
Yeah, I copy it in system/app. And nothing appears in the app drawer!
Click to expand...
Click to collapse
then its some kind of permission problem. i cant help from here , since i cant see it sorry
kessaras said:
then its some kind of permission problem. i cant help from here , since i cant see it sorry
Click to expand...
Click to collapse
Well I fix thew permissions in file manager. I don't know how to make the apps install this way,
Even if you copy it to /system/app/ and set permissions, it won't be installed for sure. You'd better check logs to know what's happening.

App not installed on lp 5.1.1

Hey guys really need your help I can't seems to install the some apps on 5.1.1 like dubai racing. I used titanium backup to back up it and after flashing another rom I cant install back the app. Any throughs?
reasonz20 said:
Hey guys really need your help I can't seems to install the some apps on 5.1.1 like dubai racing. I used titanium backup to back up it and after flashing another rom I cant install back the app. Any throughs?
Click to expand...
Click to collapse
Take the apk from your titanium backup, and move it manually to /data/app. Create the folder for the app, put the app in the folder, and make sure the folder and app permissions are set correctly. Look at the permissions for the other folders and apps that are already in /data/app to know what the permissions need to be. Once you've done that, then reboot, and check to see if the app is in your app drawer.
bouchigo said:
Take the apk from your titanium backup, and move it manually to /data/app. Create the folder for the app, put the app in the folder, and make sure the folder and app permissions are set correctly. Look at the permissions for the other folders and apps that are already in /data/app to know what the permissions need to be. Once you've done that, then reboot, and check to see if the app is in your app drawer.
Click to expand...
Click to collapse
What you mean when you say create the fold for the app? could you give an with app please and thanks in advance
reasonz20 said:
What you mean when you say create the fold for the app? could you give an with app please and thanks in advance
Click to expand...
Click to collapse
Go into /data/app using root explorer or something similar, and you will see what I mean. The file structure for LP is different than KK.
Example (uk.co.nickfines.RealCalc-1 app):
bouchigo said:
Go into /data/app using root explorer or something similar, and you will see what I mean. The file structure for LP is different than KK.
Example (uk.co.nickfines.RealCalc-1 app):
Click to expand...
Click to collapse
I know this is asking a lot but could you do a video on ow to do it because am not getting it?
reasonz20 said:
I know this is asking a lot but could you do a video on ow to do it because am not getting it?
Click to expand...
Click to collapse
It doesn't work anyway (Dubai Racing). I tried it, and it won't even show up in the app drawer unless it's installed to /system/app. Even then, the app opens and begins to load, and then it just stays stuck at a blank screen and never loads.
Re-reading your initial post, does titanium backup not see your backup of Dubai Racing only, or it cannot you not see any of your backups?
If that is the case, make sure you don't have a lot of /0 folders in /data/media. There should only be one /data/media/0 folder If there is more than one you have to fix that. Make sure titanium backup is pointing to the correct backup location in settings too.
Also try this in terminal emulator: restorecon -FR /data/media/0
bouchigo said:
It doesn't work anyway (Dubai Racing). I tried it, and it won't even show up in the app drawer unless it's installed to /system/app. Even then, the app opens and begins to load, and then it just stays stuck at a blank screen and never loads.
Re-reading your initial post, does titanium backup not see your backup of Dubai Racing only, or it cannot you not see any of your backups?
If that is the case, make sure you don't have a lot of /0 folders in /data/media. There should only be one /data/media/0 folder If there is more than one you have to fix that. Make sure titanium backup is pointing to the correct backup location in settings too.
Also try this in terminal emulator: restorecon -FR /data/media/0
Click to expand...
Click to collapse
Thanks a lot for the help it worked!

How do I reinstall Google as system app? Hotword detection from any screen gone.

I know, I should have a backup, I'm an idiot. I manually deleted the Google App planning to just reinstall it with the store version so I could hibernate it with Greenify.
I reinstalled it and everything except Hotword detection from any screen works.
I still have a backup of the system files, but I don't know how to properly reinstall them.
Here's the files I backed up:
com.google.android.googlequicksearchbox.apk
com.google.android.googlequicksearchbox.odex
com.google.android.googlequicksearchbox.zip
extra_secondary_data.zip
info.txt
I've just done a factory reset, and the Google App was gone after resetting. This leads me to believe that the necessary files Android uses to restore Apps have been deleted.
General question: Where are these files stored and what do they look like? Would it be possible to manually move the necessary files back there (I still have the backups) and do another factory reset so they properly reinstall?
Could anyone with a Tab S2 maybe look for the necessary files and where they are located in the /system folder and maybe reupload them for me so I can place them back where they belong?
Help would be much appreciated.
Try copy them to a self named map in /system/app
Give proper permission and reboot
Thanks a lot for your help. Apparently I have lost my backup files. Do you or does anybody else have the correct files so I can put them back into the system folder? I'm so close to getting this thing to work.
In case anyone ever encounters a similar problem, I fixed it by downloading the stock-ROM from sammobile.com (you have to register to download but it's worth it) and flashing the md5 with ODIN (tried Flashify before, but somehow that didn't work).
Just follow this tutorial but use your stock ROM from Sammobile instead. http://www.theandroidsoul.com/samsung-galaxy-tab-s2-root-sm-t810-sm-t710-sm-t715-84217/
You'll lose root access but I guess you could just redo the tutorial with the autoroot file and you should be back to normal.
Thanks for your help everybody!

Categories

Resources