My setup is a Oneplus 3 with OOs 5.0.1 with TWRP, Magisk and Franco Kernel. Naptime and Servicely are two other installed apps that interferes with the normal system behaviour.
My phone randomly reboots two to four times a day, whenever that happens sometimes the booting completes (with longer than usual times), other times it stay stuck at the boot animation and I have to manually shut it down and power it on repeating the whole process till I get a successful boot.
Some suggested to look at the logcat but from my understanding using a logcat viewer, the log starts from the boot so I can't tell what happened before the reboot.
Before proceeding with a trial and error approach by removing everything (the kernel, apps and magisk) is there a smarter and more efficient way to tackle down what's happening?
I will try to use a terminal emulator app to run in background 'logcat -f myfile.txt' but since I down know when the next reboot will happen the file might get HUGE.
Related
I was trying to boot into recovery so I could restore some stock apps I had removed previously. I've done this plenty of times with no problems.
In a moment of extreme stupidity, I pressed volume UP and power. My phone vibrated three times and then would not reboot until I removed the battery. Immediately after doing so, I realized my error and booted straight into recovery the proper way (did not do a normal boot between my error and recovery), removed the apps without issue, etc.
After rebooting, it appears some of my data is missing. I had no contacts, text messages, phone storage. I DID have all my apps (which continuosly FC) and rosie settings intact.
After doing some research, it appears I entered Qualcomm Diag mode by pressing the incorrect keys. What does that mean, is it related to my other problems? Is there any way to recover my missing data? I can live without texts. I just don't want to reconfigure all my apps. I don't have a recent backup.
Thanks
preardon said:
I was trying to boot into recovery so I could restore some stock apps I had removed previously. I've done this plenty of times with no problems.
In a moment of extreme stupidity, I pressed volume UP and power. My phone vibrated three times and then would not reboot until I removed the battery. Immediately after doing so, I realized my error and booted straight into recovery the proper way (did not do a normal boot between my error and recovery), removed the apps without issue, etc.
After rebooting, it appears some of my data is missing. I had no contacts, text messages, phone storage. I DID have all my apps (which continuosly FC) and rosie settings intact.
After doing some research, it appears I entered Qualcomm Diag mode by pressing the incorrect keys. What does that mean, is it related to my other problems? Is there any way to recover my missing data? I can live without texts. I just don't want to reconfigure all my apps. I don't have a recent backup.
Thanks
Click to expand...
Click to collapse
I have no idea what would fix that, maybe fix permissions? I hear that helps with constant fc's, but idk if it would help here or not.
Sent from my Droid Incredible running Myn's Warm Two Point Two RLS5.3.
preardon said:
I was trying to boot into recovery so I could restore some stock apps I had removed previously. I've done this plenty of times with no problems.
In a moment of extreme stupidity, I pressed volume UP and power. My phone vibrated three times and then would not reboot until I removed the battery. Immediately after doing so, I realized my error and booted straight into recovery the proper way (did not do a normal boot between my error and recovery), removed the apps without issue, etc.
After rebooting, it appears some of my data is missing. I had no contacts, text messages, phone storage. I DID have all my apps (which continuosly FC) and rosie settings intact.
After doing some research, it appears I entered Qualcomm Diag mode by pressing the incorrect keys. What does that mean, is it related to my other problems? Is there any way to recover my missing data? I can live without texts. I just don't want to reconfigure all my apps. I don't have a recent backup.
Thanks
Click to expand...
Click to collapse
#1 Try fixing permissions in CWM or RM. Should help you with the FC. If not that wipe everything and reflash the rom.
#2 Did you make a nandroid before you removed stock apps? Just go back to that one. If not, well now you know to do so before you do anything major.
If you did a nandroid you should be able to boot into recovery and load your backup....if not idk man...always backup...
Re-written to be more concise and readable:
Long story short: I installed the program "Permissions Denied" from the market and restricted a few games. When I rebooted something was broken and I can't quite figure out what, but it runs deep through the phone.
The phone isn't bootlooping, but when I starts up it will very often become unresponsive immediately after getting to the lockscreen, my theory is that things are trying to load and crashing in the background. The only fix for this is to wait until it appear to reboot itself; the screen will come back on and show me a quick few cycles of the boot animation, then back to the lockscreen. After this, it asks to re-activate on the network. Whether or not everything works after this point has been highly variable. Currently, my phone is on but has no way of signing into a google account (isn't even an option in the list under settings).
If I try to restore a nandroid, at the very end it spits out "Error while restoring /data!". I've done this with a couple nandroids that I've used fine in the past. Fully wiping from CWM and installing a fresh rom yields similar results.
Basically my thinking at this point is to back up anything I want while I have access to the phone and try to do as full a factory reset as possible. Any ideas? Of note is that I've run the "fix permissions" function both in CWM and ROM Manager, and when I run it in ROM Manager the log shows permissions for a bunch of programs that have been wiped. So I'm guessing that permissions settings persist across wipes, but I don't know what to address that with specifically.
Bump? (rewrote OP to make it less of a train wreck of my late-night detective work)
Edit with maybe-progress: I found and installed an older apk for Permissions Denied and even though this is an older nandroid and everything has been wiped time and again, the permissions for the games I changed are still disabled.
Having trouble getting the program to actually undo anything though, and rebooting the phone is a rather tiresome task with all this going on just to find out nothing changed.
Does anyone know
1)Where permissions live, and if I can reflash whatever that is, as it is clearly corrupt here.
2)Where I can get a copy of the v2.9 apk for this app, as maybe it will be better at restoring what it did than the older version I dug up.
Edit2:I eventually just did a factory reset and it fixed everything. I had also emailed the developer of the app and he got back to me with the following advice:
It sounds like the permissions file is locked, packages.xml. Try opening my app, going into the settings, and make sure that the first option is NOT checked.
Then hit the unlock option to unlock the file.
If that doesn't work, try the following in a terminal...
su
chattr -ia /data/system/packages.xml\
Click to expand...
Click to collapse
Intuitively this sounds like it may have fixed the problem, so I'm posting it here in case anyone ends up with similar problems and finds this thread searching.
I first noticed this problem last week - the phone is '3' branded (UK), un-rooted, running the stock firmware.
If I install an app from the Market and then subsequently try to un-install it via any of the usual methods (App settings, drag un-install from the apps screen), the un-install process just sits there showing a progress bar. CPU usage goes up (e.g., 50% on 2 cores) and the phone gets hot. The application, however, does not get removed. If I then try to use ADB to remove the app, the process never returns.
If I reboot the phone and try ADB to un-install again, the app does actually get removed.
Anybody know what's going on here? It's kind of annoying to have to reboot the phone and use ADB whenever I want to remove an app.
I'm having a problem with my new Note 4. After a reboot something gets stuck. The Wifi hangs checking the status of connection and my power button will not turn the screen off. Eventually it times out, the boot sequence finishes, and everything works normally.
I factory reset the phone and everything was normal for a couple days but now it's doing it again. I've tried uninstalling a few of the more recently installed apps but it hasn't helped.
What I have discovered is that if I force close the "IMS Framework Service" it immediately completes the boot sequence.
Can anyone help me track down a) what the source of this hangup is? and b) what the down side of killing the IMS Framework Service might be?
THanks
So hello there!
I'm having the following issue and I'm kinda out of ideas.
I was running a (KingRoot) rooted fireOS 4.6.6.1 (420) if I'm not mistaken.
So this is what happened:
Phone was running just fine, but I wanted to get rid of the facebook background services which kept running without the actual app installed. Also a friend proposed to run the 'fstrim' command. So reading through xda I found an app called 3C Toolbox (http://www.3c71.com/android/?q=node/916) which seemed to be safe to use. Installed it and still didn't change a thing except for the three 'fstrim' actions to perform. After that I restarted my phone.
Powered off just fine, but at the start only the 'Amazon' logo comes up and vanishes into a black screen with the backlight still on. Even after waiting several hours nothing changes.
So what did I attempt to get it wirking again?
At first I tried to simply restart it. --> Nothing changed.
Tried to get into recovery and clean the cache. --> Nothing changed except the 'Amazon' being on for a bit longer
Get into ADB and try pull/uninstall... --> Guess due to the locked bootloader I'm not allowed to issue any command other than 'adb sideload [packagename]' for system updates. As for ADB itself I can only get it to recognize on the PC when I get into recovery and choose the 'apply update from ADB' option.
Get into fastboot according to this tutorial (https://forum.xda-developers.com/showthread.php?t=1668159) --> doesn't work.
Get into 'Safe Mode' with this tutorial (https://forum.xda-developers.com/fire-phone/help/how-to-fire-phone-to-boot-safe-mode-t2828240) --> doesn't work either.
So does anybody has another idea I could give a try or should I just abondon all my data and flash a new clean image?
Also I'm not sure if updating from ADB will erase all personal data too. Guess so, but maybe I can get a clearification in here too.