[Q] Factory reset to some apps at fix permissions... Is possible? - HTC Sensation

Hi developers!
My phone since always, has (or had?) a little issue: the phone shuts down at taking a photo with flash.
(issue since having stock ROM until nowadays (vipers ROM)).
So, I tried the famous "Safe mode" (push volume down at startup)... all normal, the phone doesn't shuts down at taking a photo with flash.
Then I fixed permissions (through CWM recovery) (a trick that I've seen on the web, that improves performance)
Now my phone starts fastly (than before), but some apps performed an own "factory reset"
ergo, I open facebook and it opens like a fresh install!
Apps like: facebook, swiftkey, outlook and others that I don't remember.
My question is: ¿is normal that some apps perform an own factory reset at applying "fix permissions" and/or entering to safe mode?

padre629 said:
Hi developers!
My phone since always, has (or had?) a little issue: the phone shuts down at taking a photo with flash.
(issue since having stock ROM until nowadays (vipers ROM)).
So, I tried the famous "Safe mode" (push volume down at startup)... all normal, the phone doesn't shuts down at taking a photo with flash.
Then I fixed permissions (through CWM recovery) (a trick that I've seen on the web, that improves performance)
Now my phone starts fastly (than before), but some apps performed an own "factory reset"
ergo, I open facebook and it opens like a fresh install!
Apps like: facebook, swiftkey, outlook and others that I don't remember.
My question is: ¿is normal that some apps perform an own factory reset at applying "fix permissions" and/or entering to safe mode?
Click to expand...
Click to collapse
I wouldn't advise 'Fix Permissions' if you've not done a clean install. The data directory has specific permissions.
A good example is a sense based ROM. If you run fix permissions on a sense ROM, you won't see contact images anymore.
You'll have to repair the permissions in /data, live with setting up the applications again or do a factory reset to avoid possible issues.

Related

[Q] Interesting problem

*** I have spent an hour searching through posts looking for this issue. Unless my search-fu is way off today, I can not find this issue.
Problem Cause
Improper shutdown
Was in a game of Battleheart, battery was dying, I plugged it in;not realizing that the power bar I plugged into was not on, tablet power off mid play a few moments later.
So I plug it in for a few mins, then turn it back on to nothing but a bunch of force closes rendering the tablet nearly inoperable.
Problem:
Constant force closes.
-com.google.process.gapps
-com.google.android.patrsnership
-com.google.android.gm
-com.google.android.vending
-com.google.android.calander
com.google.android.gmail
-com.google.providers.calander
etc
Force close Issues
-No Wifi,
-Cannot modify home screens in any way. If I try to remove a widget, the launcher goes into a constant force close loop com.android.launcher, effectivly disabling the tablet.
-Settings will not "take" I have read that solving the typical force closes that I am seeing is disableing the syncing via google and also clearing data/cache from gmaps, calander, bookmarks etc. However, while I can access settings and choose the options to remove this data, nothing actually happens. I deselect the sycing options under settings, but after reboot they are re selected.
-Cannot install any applications. Another solution mentioned was to install a new launcher, like ADW, or LP. Trying to install an apk immediately sends the device to the ausus boot logo and it will boot loop 5 times (loading circle dots rotate, then disappear while still at the asus logo) before finally loading to the home screen and its many force closes.
Solution?
I have not found one yet that is satisfactory. I was hoping toi pick the brains among some of you here, who may have more knowledge insight in solving this issue,
-Factory Reset? While this is always an option, it stinks. Like really. I'm about 15/16gb used on my internal mem. I have tons of apps, music, books, pics, progress in games etc that really sucks to lose.
-Hard Reset? See above
If anyone has any suggestions, I'd love to hear em! Thanks!
have you tried a cold linux boot? hold the power and volume down for 10 seconds. You will then have the option to wipe the tablet. wait a few seconds, and another option becomes available(a not wipe symbol). This cold boots the os
Try clearing your dalvik cache.
+1 on wipe caches
had this problem, just wiped 'em and tada
Sent from my Transformer TF101 using Tapatalk
Thanks for the quick replies.
Sorry I should have mentioned, I am running stock. No root, no custom recovery.
Is wiping the dalvik cache still an option?
aaaand people ask why we use CWM. This is why.
idk unless nvflash can fix it you have to lose all your crap in a factory reset.

[Q] Scroll lag

Does anyone get this; open something with a long list (e.g. gallery), then scroll quickly by flicking the list up/down and do it so the list keeps scrolling. I get lag when doing this, and its not smooth (believe the effect i'm after is called "buttery..?"). What ends up happening for me is that the scroll stutters and it ends up opening a file in the list that i'm scrolling.
I get this with a fair few ROMs and have always lived with it until today when I decided enough is enough and I need to man up and ask for help, plus I really want to use the Viper S rom effectively as the comments about this ROM suggest that this should not be happening.
I've wiped (factory reset in recovery then wipe all excpet sd, then cleared cache and dalvic PLUS i also select the wipe function in the viper aroma before install) and installed the ROM 3 times. Strange thing is, i don't get the problem after the first few restarts (not FC but me restarting it) but then for no reason at all, this lag issue appears (i have yet to restore titaniaum apps/download any apps at this point).
Sometimes it happen.
If you can't live with it, you can try the following:
a. Change the governor. On demand or lag free will offer you better performance. (affecting negatively your battery life)
b. Overclock a bit.
c. Change your kernel. Sebastian's seems to be working nice.
d. Use system tuner to check the apps that auto start and use your resources.
I hope it helps.
Regards
Sent from my HTC Sensation

Android Lollipop 5.0 Stock Factory Image: "Couldn't add widget" on recent apps list

Android Lollipop 5.0 Stock Factory Image: "Couldn't add widget" on recent apps list
I just installed the Android Lollipop 5.0 factory image on my Nexus 5, thenrooted, and I'm getting a gray box on top of my recent apps list, I guess where the search bar should be, with the error message "Couldn't add widget". Reboot didn't fix the issue. Anyone have any ideas?
You've deleted Google search app
Sent from my Android 5.0 Nexus 5
That's not it because the search bar is there on my home screen. I should also mention that I rooted...
Weird, mine shows and I'm rooted and have removed a load of system apps. Have you removed system apps? If so which?
Sent from my Android 5.0 Nexus 5
I removed no system apps. But I logged in as guest and the search bar is correctly there. So it must be something corrupted for my user..
I have this too. I didn't remove anything, but I am rooted. Dunno if it had that before rooting.
Edit: This worked fine on the last preview and I don't think I did anything different this time. I did a new install (full wipe), rooted (Cf auto root) and restored stuff with Titanium (no system stuff other than text messages). I DID choose to restore my setting and such from Google this time when I logged in the first time. I think that might be the only difference.
Edit #500: Ok, it is working now. Not sure what I did exactly, but this is everything I tried in order more or less:
Cleared data for Google Search
Set Home back to Google Now Launcher (was Nova)
Reboot into safe mode (press power button, long press on "Power off")
Check if it works - it does
Reboot again
Done (set Home back to Nova, still works).
Maybe safe mode fixed it.
jobarr said:
I have this too. I didn't remove anything, but I am rooted. Dunno if it had that before rooting.
Edit: This worked fine on the last preview and I don't think I did anything different this time. I did a new install (full wipe), rooted (Cf auto root) and restored stuff with Titanium (no system stuff other than text messages). I DID choose to restore my setting and such from Google this time when I logged in the first time. I think that might be the only difference.
Edit #500: Ok, it is working now. Not sure what I did exactly, but this is everything I tried in order more or less:
Cleared data for Google Search
Set Home back to Google Now Launcher (was Nova)
Reboot into safe mode (press power button, long press on "Power off")
Check if it works - it does
Reboot again
Done (set Home back to Nova, still works).
Maybe safe mode fixed it.
Click to expand...
Click to collapse
I had the same exact issue you described, clean flash and then root, not sure if it was that way before root. I followed the exact same steps you did and it fixed it for me.
Good. I would suggest to anyone else to just try safe mode. Maybe that is all you need to do.
jobarr said:
Good. I would suggest to anyone else to just try safe mode. Maybe that is all you need to do.
Click to expand...
Click to collapse
Safe mode fixed it for me. I don't think some of my widgets carried over correctly from the upgrade from 4.4.4 so I was getting that weird error also on the recent apps screen. Safe mode will wipe them out so you can start over again.
Yeah, clearing google search data fixed it for me, but I reset my home screen and all my widgets are unconfigured, if safe mode works like most people have reported it to do, use that instead.
Clearing Google Search data didn't work for me. But booting into safe mode, then booting normally worked for me.
Guys, I have this problem and no of the 2 solution worked for me... Any help, please?
custom launchers
Looks like this is happening when using a different laucher than the default one. The same happens to me with solo launcher. As the new launcher takes care of the widgets it causes the search bar not to be loaded. Hopefully the devs for the custom launchers find a solution soon.
Solved with full wipe...
Fixed with safe mode
A safe mode reboot fixed it for me on a fully stock nexus 6 running 5.0 but, except for the evernote shortcut, every widget on every screen was removed (after the safe mode reboot). The fix remains after adding back all the widgets and after a normal reboot. After another safe mode reboot (just to check), all the widgets were gone again (had to add them back again but the fix remained.)
Safe mode fixed it for me.
Thanks!
NVIDIA Shield tablet, WiFi only version. Android 5.0.1
Safe mode ftw. Thank you.
I HAVE deleted google search app because its not needed and normally that is where the search bar would be... Any way to get rid of this "Couldnt add widget" message?
jobarr said:
I have this too. I didn't remove anything, but I am rooted. Dunno if it had that before rooting.
Edit: This worked fine on the last preview and I don't think I did anything different this time. I did a new install (full wipe), rooted (Cf auto root) and restored stuff with Titanium (no system stuff other than text messages). I DID choose to restore my setting and such from Google this time when I logged in the first time. I think that might be the only difference.
Edit #500: Ok, it is working now. Not sure what I did exactly, but this is everything I tried in order more or less:
Cleared data for Google Search
Set Home back to Google Now Launcher (was Nova)
Reboot into safe mode (press power button, long press on "Power off")
Check if it works - it does
Reboot again
Done (set Home back to Nova, still works).
Maybe safe mode fixed it.
Click to expand...
Click to collapse
Work perfectly! Thanks!
I got this same message after a clean 5.0.1 factory install. No root,recover, or 3rd party launcher, just whatever Google thought to backup to my account. I actually enjoy Google's Now Launcher, I left it as is
After a Safe Mode reboot, it worked fine

How to Delete the voice mail app w/o errors.

I usually leave my J7 (2015 updated to 7.1.1) in the Maximum Power Saving mode, which would stop apps like VoiceMail app from running if you hit the voice mail icon at the bottom left of the phone pad screen, allowing it to auto-dial your number and immediately access your vm messages; would stop it from trying to update to superfluous newer versions that added junk I didn't want any time it was tripped into running w/power saving off, or the extremely annoying bug where it kept pushing messages in the drop down that there were "new messages" since sometime last year despite having ZERO messages saved or otherwise, and would completely fail to notify of NEW messages. TBH, this garbage was part of the final straw that forced me to root the phone.
Try this at your own risk.
1. Anyhow, once rooted, use Titanium Backup and open.
2. Go to Menu in upper right -> Overview of App Storage. CAREFULLY Find the Voicemail app and DOUBLE-CHECK IT'S CORRECTLY SELECTED (select wrong process and up a creek; back-up the app to be safe). I cleared it then deleted, dunno if it matters.
3. Shut phone off.
4. Boot into twrp recovery (or whatever you have that can clear cache and dalvik cache- assuming one or the other, I did both; someone correct if wrong); If you have twrp recovery, dalvik cache clearing is free and doesn't require another app to do it. Titanium Backup requires the pay service version of it to work via it's internal option.
5. Go to the wipe option and select dalvik cache and cache (again, I did both, dunno if dalvik was only one needed) ONLY.
6. Boot phone back up (turn power saving off) and go to the phone screen.
7. Now, hit your "voice mail" icon in the lower left corner. Congrats! It should now immediately dial your number and go straight to the voice mail menu asking for password if you have one w/o errors and w/o the missing garbage voice mail app interjecting nonsense into the affair. Should now behave exactly like older phones or current phone with the Power Saving Mode turned on.
P.S. To all you programming whizzes that make the software for these things, I tip my hat.

Clearing Dalvik cache via TWRP causes apps to launch A LOT slower

Hello guys! I have a bit tricky/technical question here. Yesterday I wanted to refresh my Pixel 3 a bit (clean flash with the December firmware, then rooted and never received OTA updates) so I booted TWRP and cleared the Dalvik Cache. When I rebooted, I noticed that some apps (especially Google ones like Youtube, built-in Camera, Maps) all suffer from a slow launch. A lot slower. Like... 3-4 seconds before the YouTube app can show anything different than the white splash screen with the red play logo. The Camera is also slow enough to see the fully black screen with the small centered camera icon for 2 seconds too. This only happens on clean start (when the app is cleared from the Recent Apps panel).
I checked the /data/dalvik-cache folder and it seems that all files are re-created after the wipe, however it's fairly obvious that the apps are no longer running from the odex/oat/whatever it's called now binaries. Clearing the app cache doesn't solve the issue, I've tried that. The only 'working' solution seems to be uninstalling the offending apps (e.g. Youtube) and then performing a clean install from the PlayStore. Then, the app launches fast as usual. However, I'm afraid that I can't do this for all of my apps (I'm going to lose preferences) plus I'm kind of afraid that the System apps (like the "Settings" app) cannot be re-installed with such ease and I will be stick with slow 'clean starts' here and there forever.
Do you guys know how I can trigger the 'App optimization' process that is observed when an OTA update is applied? You know, that time consuming screen that says 'Optimizing apps, 7 of 82'. This is when Android rebuilds the dalvik-cache and apparently I need to manually perform that. The other option would be to perform a clean flash (I'm already 4 months behind anyway), but I'm not particularly thrilled by the idea. Any suggestions on how to manually trigger the App Optimization process in order to rebuild my Dalvik?
I don't have a fix for you, but don't do that with TWRP. It does not apply to newer phones.

Categories

Resources