[Q]Youtube app stopped working 'Unable to stat' - ONE Q&A, Help & Troubleshooting

I have been using the OnePlus One for about a month now, but all of a sudden the Youtube app stopped working.
Whenever I push the app icon the screen goes black for a second, and an error message shows for less then a second.
I have tried reverting the phone to factory defaults, but Youtube still won't open.
I have TWRP recovery and the device is rooted.
When I boot to TWRP recovery the log shows a problem with a file in the Youtube app, and the magazines app. I do not use the latter.
I get this in the log:
E:Unable to stat '/data/data/com.google.android.apps.magazines/cache'
E:Unable to stat '/data/data/com.google.android.youtube/shared_prefs/com.google.android.youtube_preferences.xml'
Any ideas of how to fix this?

Fixed
I have succeessfully solved my issue.
It involved encrypticting the phone first, and then afterwards formatting it in TWRP.
After this the phone was fully restored to factory defaults and now the Youtube app is working again.

BigBenja said:
I have succeessfully solved my issue.
It involved encrypticting the phone first, and then afterwards formatting it in TWRP.
After this the phone was fully restored to factory defaults and now the Youtube app is working again.
Click to expand...
Click to collapse
Hi,
can you say something more about fixing this problem? I've exactly the same. What do you mean saying "encrypting the phone"?

I found an article on thewire.com called "Android's Factory Reset Doesn't Delete Everything. Here's How to Really Wipe Your Data"
1. Plug in your phone to charge.
This is going to take at least an hour, and will fail if your battery dies during the process.
2. Open the Settings Icon on your Android device
3. Select Security within the Settings list
4. Select Encrypt Phone
Wait about an hour.
5. When the process is complete, restore to factory settings as you usually would.
Click to expand...
Click to collapse

Related

[Q] Unfortunately, settings has stopped

I get that message when I go into Settings>Application Manager and tap on the All tab. If I try this several times, the phone starts rebooting when I just try to go into Settings. I tried wiping cache in the stock recovery, but that didn't help? Any ideas?
wipe data
droidstyle said:
wipe data
Click to expand...
Click to collapse
Thanks. Wiping data is the same as a factory reset in that it will revert phone to original state when purchased, correct?
Wingnuts said:
Thanks. Wiping data is the same as a factory reset in that it will revert phone to original state when purchased, correct?
Click to expand...
Click to collapse
yes and it will reformat your internal sd, so back it up first.
OK, thanks for you help.
I've backed up my IMEI with adb nvbackup and QPST. The Synergy backup .zip doesn't work unless I'm rooted and unlocked, correct? Should I root / unlock and flash the Synergy zip before wiping data? Any chance rooting and unlocking will fix the 'settings has stopped' issue? I assume wiping data will cause me to lose root and unlocked state. Thanks for your help.
sordswi seems
Same thing with me on Samsung GT-I9300 with Android 4.1.1
I came across this problem 2 times.
The first time it happened when I installed a game "Waking Mars". The game was working fine, I played for around 20 minutes and then wanted to check free storage left after installing. But when I opened Application manager swiping was very laggy and after a few (5-10) secs it crashed with "Unfortunately, Settings has stopped" error or just closed. At that time I didn't know that it was because of "Waking Mars" and started to delete unnecessery applications I installed that day and yesterday, but problem vanished only after uninstalling "Waking Mars". Also, while this app was installed, phone's screen was glitchy and became bleached (the glitch disappeared after rebooting), like when "Natural" screen mode is activated, but it wasn't. When I had tried to install the game again, the problem came back.
The second time it was because of "Galaxy On Fire 2" installed. Same problems appeared: crashing Application manager and glitchy screen.
Both games contained their data in ".apk" file, but another Waking Mars version with separate data (cache) caused the same problem too.
By the way, funny thing is that both games are about space
P.S.: Sorry for my English, it isn't my native language.

[Q] Nexus S (wind mobile) can't factory reset! (jellybean)

Hi, first post here.
So I bought a Nexus S that was rooted and updated to Jellybean. It's an unlocked phone originally locked to Wind Mobile.
So it's been having issues with getting stuck on the google logo after reboot, so I decided to sell it. Problem is when I go to factory reset the phone it shows the reset bar but then that turns into a big triangle with an exclamation mark on it with a little android guy next to it. The phone gets stuck there. All I can do from there is remove the battery.
From there I tried going on bootloader using power and volume up (says unlocked btw), and from there I load recovery. On recovery there is an option to factory reset and I click on there, however it doesn't do it. This is what I says:
"--wiping data...
formatting /data...
E:format_volume: make_extf4fs failed on /dev/blo/ck/platform/s3c-sdhci.0/by-name/userdata
Formatting /cache...
Formatting /sd-ext...
Formatting /sdcard/.android_secure...
Error mounting /sdcard/ .android_secure!
Skipping format...
Data wipe complete."
So I think the error might be accociated to the sd card because the Nexus S doesn't come with an sd card, it has built in memory? Also on recory when choose "mount sd card" it says"Error mounting /sdcard!".
So how do I go about fixing my problematic phone? I have a dude that wants to buy it but I can't even reset the damn thing, let alone fix the freezing at start up issue. I am also totally new to this.
Extra info: When the phone freezes at the google logo at start up I get passed that by using a blow dryer on the phone. That's the only way I start up the phone after the battery comes out. This is the gt-i9020t model.
Are you using a custom recovery? If not, that might be the reason your phone is behaving like that as I had the same issue like yours when I first started flashing things!
gunner49 said:
Are you using a custom recovery? If not, that might be the reason your phone is behaving like that as I had the same issue like yours when I first started flashing things!
Click to expand...
Click to collapse
I don't know if it's a custom recovery because the previous owner installed everything/rooted.
When I press power and vol. up, It looks identical to the uploaded picture's bootloader/recovery.
Its a custom recovery (Clockworkmod) ok. I'm not familiar with it but there should be a setting somewhere - maybe in "advanced" - where you have the option of restoring default settings for the recovery. Do that and then try doing factory reset again.
gunner49 said:
Its a custom recovery (Clockworkmod) ok. I'm not familiar with it but there should be a setting somewhere - maybe in "advanced" - where you have the option of restoring default settings for the recovery. Do that and then try doing factory reset again.
Click to expand...
Click to collapse
In advanced there is no option that worked.
*Solution*
Ok so for those having this problem this is what I dug up:
Internal SD card error causes the boot freeze/factory reset error. When you try mounting SD card it fails, this is also what makes me think it's a fault with the phone's internal SD card.
I do not know how to "fix" this fault, however I'll tell you what I did to get passed this issue.
1) Heating up the phone helps bypass the frozen screen. On Boot it goes to the google logo and freezes, but you can get passed this by heating up the phone (using a blow dryer) before hand and it's relatively successful.
2) I believe that before factory resetting the phone (whether using recovery or the actual reset option on settings), if you heat up the phone, it might work the same way it works when booting up.
I did not try 2) because I managed to "reset" my phone manually by uninstalling all apps, deleting all files/cache/photo's/accounts, and by clearing all app data. This works just as fine if you ask me.
Overall this solution has not been "fixed", I encourage people to find a real fix, but for now using the blow dryer and manually resetting is one way around the problem.

Major problem with phone after (botched?) stock restore

I'm truly lost for how to fix this. I'm trying to restore my phone to factory and I've wound up with major issues with the phone when it starts up. I get immediately those messages you get when a process dies: "Unfortunately, the process com.google.phone has stopped." I get this message for a huge range of apps, as far as I can tell it may be all or most of the built-in system apps, one after the other. I can't access settings or anything.
I tried restarting into fastboot and using "flash-all.bat" to wipe everything and install the stock images, then booted into recovery and attempted to wipe the data. I got everything wiped, or so I thought, but then the same problem still occurs when it starts up. How is this possible? Surely there could be nothing remaining of the old system on there at this stage?
After you flash factory images, there's no need to go in recovery again. Also, when setting up google account, don't sync app data.

[Q] Issues after upgrading to LMY47I

Hi All,
I did an upgrade to 5.1 (LMY47I) on my Nexus 5 and started facing some strange issues and have no clue on how to resolve them. Before the upgrade I had the following config:
Recovery: TWRP
Root status: Rooted
ROM: Stock 5.0 LRX22C
I used following method for the upgrade: http://forum.xda-developers.com/goo...e-update-rooted-device-to-5-1-lmy47d-t3050789
It was successful but post that I came across few issues as below:
1. Power button functionality was erratic. Sometimes it would lock my mobile but at other times it was locking and waking up my phone immediately. At times "Power Off" popup was also showing up. While I tried to figure out reason for that, trying power button multiple times, my phone rebooted and started the "Optimising Apps" sequence once again. It happened again a couple of times and so I decided to try out factory reset (since I hadn't done that after upgrading).
2. I did a factory rest from Settings. After factory reset, apps and other settings were gone but I noticed that user data in the storage was intact. I guess that also gets removed on a factory reset. Am I wrong on this one?
3. I wanted to install Cerberus as a system app and so I downloaded its zip from the website and flashed using recovery. I was surprised to see that the app wasn't showing after booting up. I tried couple of times more but got no success. So, I decided to install it from Play store and convert to system app using Link2SD. When I tried doing that, Link2SD gave me an error saying "/system: not enough storage space". I tried converting few other apps but got same error. Any thoughts on what could be going on here?
Thanks,
Anurag
crypticlight said:
Hi All,
I did an upgrade to 5.1 (LMY47I) on my Nexus 5 and started facing some strange issues and have no clue on how to resolve them. Before the upgrade I had the following config:
Recovery: TWRP
Root status: Rooted
ROM: Stock 5.0 LRX22C
I used following method for the upgrade: http://forum.xda-developers.com/goo...e-update-rooted-device-to-5-1-lmy47d-t3050789
It was successful but post that I came across few issues as below:
1. Power button functionality was erratic. Sometimes it would lock my mobile but at other times it was locking and waking up my phone immediately. At times "Power Off" popup was also showing up. While I tried to figure out reason for that, trying power button multiple times, my phone rebooted and started the "Optimising Apps" sequence once again. It happened again a couple of times and so I decided to try out factory reset (since I hadn't done that after upgrading).
2. I did a factory rest from Settings. After factory reset, apps and other settings were gone but I noticed that user data in the storage was intact. I guess that also gets removed on a factory reset. Am I wrong on this one?
3. I wanted to install Cerberus as a system app and so I downloaded its zip from the website and flashed using recovery. I was surprised to see that the app wasn't showing after booting up. I tried couple of times more but got no success. So, I decided to install it from Play store and convert to system app using Link2SD. When I tried doing that, Link2SD gave me an error saying "/system: not enough storage space". I tried converting few other apps but got same error. Any thoughts on what could be going on here?
Thanks,
Anurag
Click to expand...
Click to collapse
1- Possibly hardware (power key) issue
2- Factory reset from Android OS *should* erase all user data.
3- Its just that, /system does not have enough free space to put more apps in there. Common issue after Lollipop. Remove some other app from /system, such as Maps, for example, to free up some more space. Be reminded that once you start messing with /system, this will (or might) cause issues with OTA updates.
So I managed to tackle (or at least figured the reason) for all the issues I was having:
1- Yes, there is some issue with the power key. ? But the other issue of optimising apps loop was because I did not do a clean install which disappeared when I did the factory reset after that.
2- After doing some reading on the Internet, I came to know that stock recovery cleans the user data but twrp doesn't by default. Since I had twrp, it just removed apps and settings but retained other data. In order to do a clean install I flashed stock LMY47I again including recovery, userdata etc. (used flash-all.bat). This removed everything from storage and made my phone as good as a new one (software wise).
3- Yes, it was the issue with storage space and was a surprise for me. Thanks for clarifying on that. Before I did a clean install, I tried removing couple of system apps and was able to install cerberus after that via recovery too. However, clean install solved everything.. ☺
Sent from my Nexus 5 using XDA Free mobile app

bricked (?) with "phone is starting"?

this morning, my gps wasn’t working and i did a reboot, since then my phone won’t start anymore. originally: bootloader unlocked, twrp installed, magisk as well.
after typing in the security pin, it was stuck. i assumed there was some problem with that, so i went into twrp and deleted those lock settings files, reboot, now i’m at "phone is starting" after each reboot now and i can access settings and basic stuff, but no home or anything, and tapping on system update tells me that the app is not responding ("settings keeps stopping"). booting into twrp asks for a pin which does NOT work anymore (neither my original one, nor 0000 or default_password).
i used magisk uninstaller (sideloaded), and reflashed what i assumed was an OTA-zip from the oneplus website, so i’ve got stock recovery installed now (bootloader still open), but otherwise not much changed - after booting i can basically only access settings (from the quick settings bar), nothing else works.
i ASSUME it has got something to do with not being able to decrypt data anymore. i also assumed i can just reflash the 2gb-zip from oneplus and that would include a fresh system/boot img and deleting those lock files from twrp would remove decryption, but i guess i was wrong.
other that formatting data now .. any recommandations/suggestions? any help would be greatly appreciated. :/
could be stock launcher is frozen or disabled?
it did this to me, even if I had another launcher.
virtyx said:
could be stock launcher is frozen or disabled?
Click to expand...
Click to collapse
thanks for your guess - but, no, not disabled, i can see it in the list of apps. the only app "disabled" was the oneplus gallery, switched that back on, no effect ..
frank93 said:
thanks for your guess - but, no, not disabled, i can see it in the list of apps. the only app "disabled" was the oneplus gallery, switched that back on, no effect ..
Click to expand...
Click to collapse
wipe cache in recovery
virtyx said:
wipe cache in recovery
Click to expand...
Click to collapse
tried that, didn’t work. and even after a "factory reset", starting from the "hello!"-page from scratch, everything stopped on the next page ("just a sec ..") - so i guess there was something seriously wrong with my data partition. not sure why though.
after formatting data (and crying during those few seconds) it "worked" again, now, and fortunately i had some kind of app backup at least, but ..
yeahwell.
frank93 said:
tried that, didn’t work. and even after a "factory reset", starting from the "hello!"-page from scratch, everything stopped on the next page ("just a sec ..") - so i guess there was something seriously wrong with my data partition. not sure why though.
after formatting data (and crying during those few seconds) it "worked" again, now, and fortunately i had some kind of app backup at least, but ..
yeahwell.
Click to expand...
Click to collapse
very strange
maybe the restricted. XML file was stuck
no point trying since you formatted
four hours later, fresh setup - it’s starting to happen again, sudden "hangs" and "phone is starting .." out of nowhere, then "system ui is not responding", force reboot, .. working right now, but there’s something really fishy and i’m starting to assume it’s a hardware thing.
I'm having the same issue after rebooting to fix gps/mobile data issues. Any other solutions?

Categories

Resources