Device encryption questions - Android Q&A, Help & Troubleshooting

Hello,
I have a Samsung Galaxy S10 5G version SM-G977P on Sprint.
The issue I have is when rebooting the device, randomly it will change my userID to the point the system things it is being hard reset. All my apps force close and nothing works except wiping the data partition and re-setting up my entire device.
I have no idea what is happening, I thought I had all security disabled but something is causing a new user to be detected or whatever. All I know is its annoying. I do have EdXposed, which I want to keep, but I do not think that is the sole cause. I can't force it to happen either.
What I am looking for is someone who understands the startup/shutdown procedure for android and what things in that would cause this kind of behavior. I do have a logcat attached that was taken right after this happened.
Whoever helps me out, I wouldn't mind donating a beer/coffee, cause this is driving me mad.
Thanks,
Seth

Additional information:
So I installed an application via adb, and the device immediately showed the boot animation and soft rebooted itself. Which I overlooked, every time I would reboot the device, it was right after installing an apk via adb. Is there something with the installer that is screwing up and getting user information wrong?

Some more:
I noticed that device encryption is disabled but user_de still shows up. And when this random event occurs, apps crash because they can't read their data in the user_de location (Permission Denied) unless I set 777 to the entire contents of user_de. So the apps no longer are the owner of those files. Its so weird and I think what is happening is the device installs an app and gives it a different user or something and when I reboot, it makes all the apps have this owner and nothing can communicate.

@elesbb
If an app gets installed then by default it's always installed for the headlesss system user ( user 0 ).

jwoegerbauer said:
@elesbb
If an app gets installed then by default it's always installed for the headlesss system user ( user 0 ).
Click to expand...
Click to collapse
That is what I thought.. But, ya know, they changed a million things in Android 10 to make it "more secure" so I have no idea what the heck is happening. Another thing I noticed is EdXposed log contains duplicate entries for loading of the classes, could this be part of the problem?
I honestly am so lost as to what could be doing this.

Related

'Google Talk authentication failed' error

I just got my Atrix yesterday, I seem to have the issue where it wont successfully log in to google talk which also means that I cant download apps. I've tried making a new account which also failed to work. Are there any ideas out there for how I could fix it?
Can anybody help me?
I had the same problem and figured out that it was Droid Wall keeping Gtalk from connecting. Make sure Talk can access the network freely.
Sent from my Nexus S using XDA Premium App
Real solution
Gibsonflyingv said:
I just got my Atrix yesterday, I seem to have the issue where it wont successfully log in to google talk which also means that I cant download apps. I've tried making a new account which also failed to work. Are there any ideas out there for how I could fix it?
Click to expand...
Click to collapse
After cloning a samsung gio s5660 through a CWM backup I started experiencing the same issue. Heres What REALLY happens.
Google authenticates you in their services trought unique "keys" which are automatically generated upon system installation / factory reset, so if you clone your device or install a rom which has these "keys" pre-installed, obviously, your rom will only autheticate you in google servers if your phone is the only one using the service at that given time... Upon failure, your phone assumes to be the one who's wrong, and google servers won't autheticate you until you either tell your phone he is not wrong (by deleting the data from play store, which resets its status and errors) or you change the "keys". SO, what can we learn from this? deleting the play store data IS a temporary solution, and won't solve a thing. Let's delete the duplicated keys shall we?
Navigate with your favourite folder explorer on your android (I use X-plore, you can tell me anything, there's nothing better) to the following directory:
- "(root)/data/data/com.google.android.gsf"
Now you have two real options, either you may delete the all folder, which was the perfect solution for me, since my rom is prepared to re-create it upon phone restart and new keys will be generated, OR, you might want to just delete the contents of app_sslcache inside com.google.android.gsf whish are THE KEYS I HAVE BEEN TALKING ABOUT THIS ALL TIME, YEEEIHHHH and reboot your phone...
Needless to say, take a nandroid backup before you do any of this...
Thank me later
For those who remember me from symbian s60v3 phones, yes, it is me, I'm back, and I've moved to the droid world, it's much better indeed
Let me just say, I have no idea why this thread was moved or resurrected. Whoever did so was about a year and a half too late. Please close/delete this thread.

[Q] "Process System Not Responding"

Hi guys,
Wonder if anyone can shed a light why this happens. It's been going on for the last few months – Originally I thought I'd wait and see if the problem resolves by itself. But seems to get slightly worse over time now.
I am currently: Rooted & Unlocked
Problem: System hangs after reboot at home screen with message “Process System Not Responding” - with option to wait or terminate the process – Whatever option is chosen, ATP will reboot itself.
Frequency: Unpredictable – But once the message appears after switching it on, ATP will reboot itself 2 to 4 times before I can use it again.
I had done a lot of searches, but there doesn't appear to be any solution / or anyone knows why this is happening. One useful comment I found recently said this may be due to some processes starting before they are meant to during boot up sequence – but no details were given.
What I had tried (based on numerous suggestions after searching the net):
Wipe Dalvik Cache / Caches
Clear “Media Storage” and “Google Framework Services” data
Remove my accounts (currently I have two accounts registered in my ATP) and re-register the accounts.
Remove all the widgets from home screen
Hard reset / Factory Reset
Finally – Multiple different combinations of the above
Getting quite frustrated here.
Wonder if anyone can help please?
Thank you in advance.
[Q] "Process System Not Responding" researching and even downgrading to .15 --> .21, I think the problem is finally solved.
Allegedly "Process System is Not Responding" may be caused by process(es) that hangs or take too long to complete during the boot up sequence. So I uninstall blindly one program at a time - and it appears that Cachemate might have caused it.
Prior to this, every 3-4 normal boots, were followed by 2-3 "Process System is Not Responding" until a normal boot followed. I am now 48 hours problem free. Hopefully it will stay this way.
Edit (11/06) - Ok, spoke too soon. Got the message again after 24hours of use and after roughly 15 normal reboots (I switched ATP off/on these many times to make sure the problem was well and truly gone). The Cachemate could just be a red herring then. However there appear to be less in term of frequency. I noted that the message came on after I watched a video (3hours long video - 600mb in size) and rebooted ATP. Tried disabling media storage (no real logic here, I thought I just gave it a go) - but the problem is still there. So this evening, I reflashed the asus .21 rom --> downgrade to .15 --> reroot --> upgrade back to .21 (again to real logic here, thought I give it a go).
I can't think what else to do. I wonder if large hosts file (mine is 8mb) could cause the problem or the wallpaper I use that is stored under /sdcard - but again, the problem/message only comes up randomly.
Edit (13/06) - Finally managed to narrow down the problem. Everytime a large hosts file (mine is about 8mb) is created, the problem comes (faithfully everytime). And when the original smaller hosts file is restored - problem is gone entirely.
Any input on workaround is very much appreciated.
alright i fixed it on my phone. i did a full wipe. tell me if i need to explain how to do this. reflashed the ROM and gapps. when i went through the setup the first time there was an option to restore from google. it was checked by default. i left it checked. same problem... system process not responding... wiped and started over and reflashed ROM and gapps. unchecked restore google and it didnt come back. phone hasnt crashed since. the problem lies within the wifi passwords restore. the problem started when i was trying to start wifi. i dont know where to report the bug or i would. good luck and any questions? just quote this so i get an email and ill try to explain if this didnt make sense. hope it helped. if it did consider buying my buddy a beer who is a dev and needs a new computer. http://johntriger-development.yolasite.com/

Crash loop due to stuck text-to-speech download

Hello,
I'm trying to get an Alcatel Idol X (One Touch 6040D, no custom roms or modifications) out of a crash loop, but have been unsuccessful so far. The trouble started when the phone wanted to download and install text-to-speech voice data ("Female for English"). At some point this download/install crashes, causing the phone to reboot. When rebooting the phone hangs on the Alcatel screen with white background. I have to power it off then on again. Then it boots and starts the download/installation again, causing it to crash seconds after.
I've tried the following to no avail:
Clear cache partition from recovery menu.
Force stopping "Download Manager" and clearing cache & data. I have to be very quick to do this, otherwise the phone reboots. Unfortunately clicking the clear buttons has no effect. The used disk space stays the same (80.00KB data, 12.00KB cache). The phone will not reboot at this point, but many apps (Google Play, Settings,...) and processes are crashing repeatedly (android.process.acore, android.process.media and com.google.process.gapps). Eventually, so much has stopped working that the phone reboots.
There's a thread, I found almost a month ago on Androidcentral, about this very same problem. But what worked for the thread starter and other people, i.e. the clearing of cache and data of the "Download Manager" doesn't work for me. Probably because the cache/data clearing is not actually executed. So that might be something to look into further. See point two above. My replies in that thread haven't been responded too, unfortunately.
I'm aware that the cleanest solution is probably a factory reset from the recovery menu. However that would mean data loss of photos and app data, that haven't been backed up. My main goal is to get the phone into a state that a recovery/syncing of that data can be done. After, I don't mind doing a factory reset.
Any help is greatly appreciated!
Kind regards,
eXistenZ_69
P.S.: post copied from here as per recommendation of XDA Assistant
Hello,
this problem still could not be resolved unfortunately Does anybody have any idea why the "clean cache" doesn't appear to have any effect?
Cheers,
eXistenZ_69
Not too familiar with Alcatel as they aren't popular around where I live... I would think that there's an option to wipe cache in recovery however. If that doesn't help, I would try to quickly toggle airplane mode to stop the download process so you can backup what you need.
Hello es0tericcha0s,
thanks for your reply. The problem seems not to be related to Alcatel specifically. See Google Text-to-Speech Won't Stop Downloading for other brands of Android smartphones that had the same issue. Unfortunately, what helped others, i.e. clearing the cache, does absolutely nothing in my case I also already tried clearing the cache partition in the recovery menu. Disabling wifi is another thing I tried to no avail. The download manager still starts installing or trying to download the voice data and crashes. Any other suggestions?
Cheers,
eXistenZ_69
Are you rooted by any chance? What's going on with the Download Manager shouldn't affect your ability to backup your photos at least when you plug it into a computer. If you aren't rooted, you might look into trying to do an adb backup if your phone supports it. http://forum.xda-developers.com/showthread.php?t=2091047&highlight=4+4
No, the phone is not rooted. Never did any modifications of that sort.
I tried connecting to the pc before, but it's not possible to browse the phone content. The crashing services I mentioned in my first post are probably interfering. I will try it again on another pc... Will an adb backup work in that case? Or is it possible to do an adb backup without booting android fully?
Cheers,
eXistenZ_69
So I tried again plugging the phone into a computer. The computer plays the connection sound and shows the phone when clicking on the "Safely disconnect USB device" in the task bar, but unfortunately it's not possible to browse the phone contents using the file explorer :crying: There is a slowly moving progress bar shown in the file explorer location bar and eventually it just stops and nothing happens.
I couldn't try the ADB backup tool in the thread you suggested cause the site is down. It most likely won't work anyway given the fact that the USB connection cannot be established successfully.
*sigh* I'm starting to think I'm out of options. It's just so frustrating to know that the images and contact data are present on the device, but there is no practical way to get to them. I could do a reset to factory settings and hope to recover any images using a tool like Recuva, but that would definitely endanger them.
eXistenZ_69
Only other thing I could think of would be to root and hopefully you could freeze/disable the Download Manager in time before the crash to be able to recover stuff.
Adb still might work even though MTP isn't. Just have to hurry through the settings to enable it. If you don't have adb on your computer search : Minimal ADB and Fastboot here on xda.
Hello es0tericcha0s,
Today I had a major breakthrough. Using ADB I successfully copied over the /sdcard directory contents on the phone. This means all pictures have been recovered!! So happy about that Thank you so much for your help! :highfive: It didn't work right away after installing minimal adb & fastboot though, my phone was not listed when doing "adb devices". I then installed some software from Alcatel called "One Touch Center", which is used for managing phonebook, sms, ringtones, etc... that was not able to connect to the phone either. However I think it installed some driver, because after ADB was able to connect to the phone :good:
I'm currently trying to figure out how to root the phone so I can delete the download manager cache/data. From what I've read by now is that those should be present somewhere under /data/data/ . Those directories require root privileges unfortunately. I tried Kingo Root which lists the phone as supported, but that failed to acquire root.
Would be great to succeed in fixing the crash loop too, so I can sync contacts and other data too.
Thanks again!
Cheers,
eXistenZ_69

Lenovo Tab 2 A10-70 - I think I bricked my tablet?

Hello all! I registered real quick in hopes this community could help me out with something.
So quite a while ago I rooted my Lenovo Tab 2A 10-70 tablet with KingoRoot in order to generate a logcat file. That went fine and dandy, and then I disabled some misc. apps (like Kindle for Android). I can't remember exactly what I messed with, so please bear with me.
The issue is that a couple of days ago I tried taking an image with my tablet with the default Camera app, when suddenly it started giving me some errors with generating thumbnails. Worse yet, my computer could not open these and they were seemingly corrupted. The camera started acting up as well, and claimed that "Unfortunately, Gallery has stopped working." whenever I attemted to record. I tried clearing the cache based on some recommendations through others and force stopping the app, and this seemingly worked for one recording/picture, but then would stop again. I found deleting the DCIM folder entirely from my Android's Internal Storage helped, but it'd quickly corrupt again.
Frustrated, I asked a friend for help on what to do figuring he had more knowledge in Android devices then me. He suggested I tried another camera app, but I couldn't get Google Play to download anything to the internal storage or my SD card, despite clearly having enough space.
As a last resort, I tried updating through the official "Updates" app to see if that would help me, and it claimed there was a new ROM available. I tried that, but then suddenly it failed and now my tablet seems to bricked? I can now only get the "No command." screen to show up.
I've tried using the following options while on this screen:
- reboot system now - this takes me back to this menu after it shows a Lenovo screen twice, which makes me think it's having trouble booting into Android itself.
- Apply update from ADB/sdcard - Both did nothing for fairly good reason, but I checked these options out of curiosity.
- wipe data/factory reset - Tried these the very first time I got to this screen after a failed installation. It seemingly hasn't worked for me.
- wipe cache partition - Tried this a bit later, but got similar results.
- root integrity check - Scanned a bunch of .apk files, but then later threw up some errors after that was done and said the check failed.
So, in short, I'm stuck in this menu and I'm getting kind of frustrated/scared. Is there anything that I can do to save the tablet at this point? Is there something I did wrong that might have bricked it? I'm not terribly experienced with Android, so I'd love to hear some thoughts from others! I'll gladly take anyway to restore the tablet back to a point where it can actually boot into the OS, and I understand I'd lose some data doing any sort of clean install.
Thank you!
Cornholio309 said:
Hello all! I registered real quick in hopes this community could help me out with something.
So quite a while ago I rooted my Lenovo Tab 2A 10-70 tablet with KingoRoot in order to generate a logcat file. That went fine and dandy, and then I disabled some misc. apps (like Kindle for Android). I can't remember exactly what I messed with, so please bear with me.
The issue is that a couple of days ago I tried taking an image with my tablet with the default Camera app, when suddenly it started giving me some errors with generating thumbnails. Worse yet, my computer could not open these and they were seemingly corrupted. The camera started acting up as well, and claimed that "Unfortunately, Gallery has stopped working." whenever I attemted to record. I tried clearing the cache based on some recommendations through others and force stopping the app, and this seemingly worked for one recording/picture, but then would stop again. I found deleting the DCIM folder entirely from my Android's Internal Storage helped, but it'd quickly corrupt again.
Frustrated, I asked a friend for help on what to do figuring he had more knowledge in Android devices then me. He suggested I tried another camera app, but I couldn't get Google Play to download anything to the internal storage or my SD card, despite clearly having enough space.
As a last resort, I tried updating through the official "Updates" app to see if that would help me, and it claimed there was a new ROM available. I tried that, but then suddenly it failed and now my tablet seems to bricked? I can now only get the "No command." screen to show up.
I've tried using the following options while on this screen:
- reboot system now - this takes me back to this menu after it shows a Lenovo screen twice, which makes me think it's having trouble booting into Android itself.
- Apply update from ADB/sdcard - Both did nothing for fairly good reason, but I checked these options out of curiosity.
- wipe data/factory reset - Tried these the very first time I got to this screen after a failed installation. It seemingly hasn't worked for me.
- wipe cache partition - Tried this a bit later, but got similar results.
- root integrity check - Scanned a bunch of .apk files, but then later threw up some errors after that was done and said the check failed.
So, in short, I'm stuck in this menu and I'm getting kind of frustrated/scared. Is there anything that I can do to save the tablet at this point? Is there something I did wrong that might have bricked it? I'm not terribly experienced with Android, so I'd love to hear some thoughts from others! I'll gladly take anyway to restore the tablet back to a point where it can actually boot into the OS, and I understand I'd lose some data doing any sort of clean install.
Thank you!
Click to expand...
Click to collapse
Theirs a Guide here on how to re flash your tablet back to stock
http://forum.xda-developers.com/android/general/guide-lenovo-tab-2-a10-70-root-t3279322
Quite a late reply, but thank you! That ended up working quite nicely! I upgraded my tablet from Lollipop to Kitkat too, which seems to be working a bit better app performance wise for me.

ZTE Blade L2 apps crashing

I dont know what the problem is and it is driving me crazy, i tried flashing stock rom, a couple of custom roms and the usual fixes i came upon such as android web view or clearing cache and data do nothing. I even checked for bad blocks, the internal and external memory both. The apps that usually crash are facebook messenger, settings, gallery and plenty of others until i restart my phone when they start working for a couple of hours and then crash again. I also lose network sometimes and my alarm does not go off. I am desperate, if anyone has experience with this, your help of any kind would be kindly appreciated.
Just a slight update on the situation, reflashed a stock rom again, still the same problem, gapps crashing, instagram and many other apps, i noticed my gallery wont save pictures either of screenshots or from camera when the problem occurs
Since there is no help for me, does anyone know something i can discover the reason for the crashing, a logger or something like that? I tried watchdog but it also crashes and doesnt provide me with a log
I used logcat to log the errors, but i dont know what they tell, i notice many are sqlite database and sth like that
Did you find a solution? I have the same issue...
I found a lot of those questions but all of them remain unanswered or there are answers like wipe all cache and stuff.
It's really weird, cause this problem is still unanswered, and device doesn't matter, I have a Huawei, for example.
Mokin said:
Since there is no help for me, does anyone know something i can discover the reason for the crashing, a logger or something like that? I tried watchdog but it also crashes and doesnt provide me with a log
Click to expand...
Click to collapse
I'm not going to be of any help but I've got the same issue as well right now down to gallery not saving pics. It's frustrating as hell. Ironically,c the apps I use that might help out are crashing. I'm doing the 'turn off, empty cache etc but now I'm going to try re installing busy box pro. Don't ask me, it's a shot in the dark. Why is there nobody out there?
Oh by the way I have a Samsung A5 2017. Custom Rom Revolution
One thing I did prior to flashing Revolution was to remove bloatware with a script.
Have same problem with a ZTE Blade L2, I try flash custom recovery via fastboot and I received this error: partition 'recovery' not support flash. When clear data and cache, the system boot with all files and info, if deleted some files from de internal memory, reboot and the files still remian in the internal memory. Look like the internal memory is blocked and unable to write data. Going to search about his error

Categories

Resources