[Q] Phone keeps resetting itself - Android Q&A, Help & Troubleshooting

I'm using a OnePlus One, and the latest gapps and 12.1 nightly builds.
However, I noticed that every morning when i wake up, the install screen of cyanogenmod is back. It seems all data and so on is still on the phone, because it says I already provided a Google account and so. This is the third time I'm setting up the device from scratch to 12.1 stable nightly. Any idea why it keeps resetting? Using no custom roms or kernels, just the ones provided in the CM 12.1 Nightly builds (18/04) was the latest official one).
The device is rooted, but it's annoying to spend 2 hours setting it back up every time, re-installing everything. Any help would be appreciated.
gapps stock: http://forum.xda-developers.com/android/software/reborn-gapps-5-t3074660
nightly bacon (OnePlus One): http://download.cyanogenmod.org/?device=bacon

Your issue is CM. Use another rom and I bet you will not see the issue again.

CM is the original OS/ROM for the OnePlus One. Or, it was until they released OxygenOS. However, after having tried out OxygenOS, it seems it's simply a beta test for the OnePlus Two. I do not believe they'll push updates for the One, but most likely develop it further with the next model in mind, where it will come pre-installed.
EDIT: CM has confirmed they'll continue development for OPO for two more years.

Related

[ROM][CM14.1][UNOFFICIAL] Samsung Galaxy Tab A 7.0 LTE SM-T285

*** This project is now abandoned in favor of the LineageOS variant ***
This is a port of Cyanogenmod 14.1 for the Samsung Galaxy Tab A 7.0 (2016) LTE SM-T285. Cyanogenmod needs no introduction, it is one of the most popular aftermarket ROM distributions around.
5.1.1 is the best that you can get from samsung right now and it is not known if they plan to do any upgrades. I have absolutely no idea why samsung chose to stay with the outdated 5.1.1 mid 2016 when we already got 7.1 coming out. This custom rom is probably the best you can get if you want an upgrade from Lollipop. Performance on the latest build is also better, you be the judge.
As this is the first CM-14.1 release, I don't recommend you use this as a daily driver, but it should be good enough for some. Make sure you read the pending issues below and decide if this is acceptable to you before you flash this rom. This rom probably won't get much use out of some people until bluetooth is fixed.
Based off on Cyanogenmod 14.1 sources which is based on Nougat 7.1.
Device Tree:
=========
https://github.com/jedld/device_samsung_gtexslte.git
https://github.com/jedld/vendor_samsung_gtexslte.git
https://github.com/jedld/kernel_samsung_gtexslte.git
Update Dec 3, 2016
===============
Fixed GPS, Wifi Hotspot, Graphics issues, Calls, Camera,sdcard is now marked as adoptable.
Works:
- Wifi/SMS
- Audio
- Graphics with glitches (minor screen tearing, blank screen showing up on overlays)
- GPS
- Wifi Hotspot
- Incoming/Outgoing Calls
- MTP
Does not work:
- Bluetooth
- Camera
- LTE (Due to APN issues)
- Battery Meter not updating
Bugs/Known Issues
* Problems recording video
Other Notes:
- selinux permissive
Most of the issues are fixable, I just need more time and encouragement
SM-T280 Users: Unfortunately this rom would probably not work on it since the SM-T285 and SM-T280 have different kernels and slightly different hardware. I don't have access to this device so it would be hard for me to port it over. However I believe there are a lot of similiarities in the device tree that can be shared. If a dev with the SM-T280 is interested I can probably help.
Download
========
Remember flashing an unofficial ROM on your samsung device will probably void your warranty, Samsung representatives will probably not be able to help you as they are still stuck at 5.1.1 land as of now and have no idea how to handle a SM-T285 that is running 7.1.
As always flash this at your own risk. Make sure you have a copy of the stock ROM so that you have something to fall back to, which is highly the case when using an experimental rom.
See DevDB download section.
BUILD12032016
Note that this rom is pure stock and does not come with the Play Store or any Gapps, I suggest you download a micro gapps package separately and install it via recovery.
There have been reports that recent versions of open gapps don't work properly, it is advised to use older versions instead (e.g. open_gapps-arm-6.0-nano-20161109.zip)
Installation Instructions
==================
Perform a backup of all of your important files. This ROM is experimental and I will not be responsible for your loss of data.
Download the zip file and extract the tar.
Use Odin/Heimdall to flash the tar file to your device. If you are coming from stock oranother rom make sure you wipe first using TWRP. Coming from a previous version of OMNIRom for SM-T285 may not require a wipe, however please perform a wipe if you encounter problems.
Root and customization
===================
This ROM is a purely based on source and is not rooted out of the box. However you can easily root it by using TWRP to install the latest version of SuperSU.
If you want to customize this ROM and repackage it you may use this guide as a reference.
XDA:DevDB Information
CM-14.1 Samsung Galaxy Tab A 7.0 LTE (SM-T285), ROM for the Samsung Galaxy Tab A series
Contributors
jedld
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
Based On: CyanogenMod
Version Information
Status: Abandoned
Created 2016-12-03
Last Updated 2017-01-31
Nice job!!!
Great job! The ROM is impressively fluid, and I particularly love the way it renders fine text, which I appreciate because I prefer DPIs of 140 to 160. Unfortunately, just like in the early iterations of OmniROM 6.0, the tablet will not connect to the internet over cellular networks no matter how much I tinker with APNs. It's a great build, nevertheless, and I look forward to future releases.
Thank you !! Will give it a try.
posting here too (as did on omni - realized this is the cm 14.1 board)...
"briefly tried the cm14.1....much better very fast response-on the omni the pull down was an issue (would also ask me to format the sd card)
noticed here too the signal tends to drop in and out (wonder if it is some power saving going on-it goes to full strength during a call)...speakerphone also does not work here but must say this is better than the omni even though data does not work"
keyboard much better here too
on both cm14.1 and the omni, the dialer tends to be have some lag when pressing the numbers (do it too fast and can get many errors)-minor thing understand this is an alpha and the omni is a beta
thanks
I can't get Soft Keys to work, worked fine on the Omni ROM, only problem I have come across so far.
mazmorbid said:
I can't get Soft Keys to work, worked fine on the Omni ROM, only problem I have come across so far.
Click to expand...
Click to collapse
needs some xml changes that needs to be compiled into the framework for that I believe. Though there are more critical bugs I need to fix with this 7.1 rom.
I wish I could help in some way, appreciate your work.
thank for your awesome work, but i cant download any app from Playstore, it's downloading for a long time, i tried many way to force it works but nothing change. Have any one meet this trouble?
khanhpt said:
thank for your awesome work, but i cant download any app from Playstore, it's downloading for a long time, i tried many way to force it works but nothing change. Have any one meet this trouble?
Click to expand...
Click to collapse
Try using an older gapps package like from october, recent versions seem to have issues.
jedld said:
Try using an older gapps package like from october, recent versions seem to have issues.
Click to expand...
Click to collapse
Thank Jedld, i has tried 27th,october version and it WORKS, thank.
I used the version as recommended in the Omni ROM, which was from the 9th of November, no problems with the app store or downloading apps either.
Any closer to another release ?
Nougat will take a while unfortunately
jedld said:
Nougat will take a while unfortunately
Click to expand...
Click to collapse
hello jedid any hope here for data on cm14.1? Thanks
https://review.cyanogenmod.org/175308
https://review.cyanogenmod.org/175307
https://review.cyanogenmod.org/175306
http://forum.xda-developers.com/moto-g-2014/orig-development/rom-cyanogenmod-14-0-t3458931
http://forum.xda-developers.com/mot...ent/rom-cyanogenmod-14-1-moto-x-play-t3515135
mac231us said:
hello jedid any hope here for data on cm14.1? Thanks
https://review.cyanogenmod.org/175308
https://review.cyanogenmod.org/175307
https://review.cyanogenmod.org/175306
http://forum.xda-developers.com/moto-g-2014/orig-development/rom-cyanogenmod-14-0-t3458931
http://forum.xda-developers.com/mot...ent/rom-cyanogenmod-14-1-moto-x-play-t3515135
Click to expand...
Click to collapse
Tough to know for sure. Hopefully some progress will happen before christmas.
Sent from my Samsung SM-T285 using XDA Labs
jedld said:
Tough to know for sure. Hopefully some progress will happen before christmas.
Sent from my Samsung SM-T285 using XDA Labs
Click to expand...
Click to collapse
not knowledgeable here on CM and how things are done but those links for the CM...looks like they got merged just 6 days back. Or maybe these are not relevant? just asking/wondering thanks
mac231us said:
not knowledgeable here on CM and how things are done but those links for the CM...looks like they got merged just 6 days back. Or maybe these are not relevant? just asking/wondering thanks
Click to expand...
Click to collapse
Those patches didn't help unfortunately Though I've fixed network type selection in CM-14.1 already, unfortunately data connection still won't come online due to errors related to APNs. Seeing as this was working perfectly in CM-13 this could be a CM-14 or Nougat related change, it will take a while to figure out what that is. As for bluetooth I was able to get it to turn on, however it is still unable to detect/pair to any device, this is also something that was working in CM-13.
any hope on porting this to t280?
klemen241 said:
any hope on porting this to t280?
Click to expand...
Click to collapse
I don't have the T280 so I wouldn't know. There are devs that are trying or have tried to work on it, not sure about their progress.

Resurrection remix vs lineage os

What are your opinions on resurrection remix vs lineage is at their current and future stages? I just received my mido from China and I would like to install a custom rom into it. I'm torn between lineage and resurrection. What makes lineage better than resurrection, as RR has much better customisation but I'm concerned about updates. Which is better in you opinion?
I'm looking for stability over customisations.
I had been using Cyanogenmod/Lineage on a Samsung S3 Mini and my current Moto G 4G. I found them to be similar in terms of stability and never encountered any deal-breaking bugs on both operating systems. Back when I started using Custom OSes on the little Samsung, I installed every single ROM update as soon as I could. That has changed, and I update every 1-3 months if there are no major issues. I prefer Resurrection Remix because of its better customization options and when my Redmi Note 4 arrives in what I hope to be 2 weeks' time, I'll install RR on that one as well.
On my RN3P ive been using RR for a long time. First marshmallow release and now the nougat release. What I experienced there is a faster bug fixing (camera nougat patch has been included way faster in official builds then on lineage) and a very active community on XDA.
Flashed my Mido yesterday with RR and I'm pretty happy with it. Camera shutter has a delay and video recording is kinda slow but beside of that everything works out of the box for me. I tried lineage several times but I miss so many functions which are only available on RR...
Is lineage updated more regularly? As there have barely been updates for RR since it's release for mido
Aventhe said:
Is lineage updated more regularly? As there have barely been updates for RR since it's release for mido
Click to expand...
Click to collapse
Both will get updates, as dev said LineageOS going to be official once the kernel sources gets released, you know about RR, it's already Official.
rr is more flexible and complicated while lineage is stable
I installed today LineageOS latest version and now I find it has something missing like "no blue filtering" mode. In addition, After installing even today I got a pop saying to install latest update and went for this too but don't know why the downloading gets stopped suddenly after sometime. I noticed this to happen more than 5 time. Now I give up updating and considering to move to Remix.
I recommend RR
I used both of them. But I feel RR is more customizable, flexible, complicated & stable. I recommend to flash RR who want to mess up with all UI.
Came across this, thought I'd share my views. I bought this phone 2 days ago and am waiting for the bootloader to unlock thereafter once I'm done playing with the stock ROM, will promptly Install CrDroid.
I've had CrDroid on my Honor 5x & HTC one m8, never encountered any issues and found it to be very stable with all features working.
If I recall it's derived of both Lineage + RR and that's evident through the customisation it offers + stability - maybe you can give that a try?

LineageOS install (Nexus 7 - 2012 version)

i have a Nexus 7 (2012 version) that my daughter-in-law gave me (several years ago) because it would not boot. i previously reinstalled the OS and she was good for a while until the issue resurfaced. i get the spinning circles when booting and it just sits there. since this reoccurred (the second time actually occurred about 2 years ago which was a month or two after the initial encounter, been sitting there since then) i decided to see if i could fix it again.
have tried using Recovery Mode to no avail. only thing that helped after the first time was a complete OS reload. pretty sure i used Nexus Root Toolkit to do this.
rather than reload the stock Android i was thinking of loading the LineageOS. i believe that the LineageOS for the Nexus 7 (2012) is an unofficial release.
however, i have a question concerning what version to download. i was under the impression that even though it would be unofficial that there would be a single version of it, being maintained by numerous developers. but when i looked on the www.lineageosdownloads.com/download-nexus-7-2012-lineage-os/ site it links me to the Android File Host web site. and here it has the developer being 'aaopt'. but if i poke around i see other developers for the Nexus 7 (2012) each seeming to have their own version.
are each of these developers creating their own fork of some base release and if so how do you know which one you want? or was their release done at some point in time and their changes got merged back in the main branch.
i would much rather grab a release that is maintained by a bunch of developers (working together) than someone who forks off their own branch.
if you have a suggestion as to what would be the latest/best release could you provide a link?
thanks!

[ROM][7.1.2][UNOFFICIAL] LineageOS 14.1 weekly builds for Asus Zenpad 8.0 Z380K[N]L

Hello,
As the thread where I originally announced this was locked for reasons apparently unrelated to my build, and the links removed, I'm creating a new thread to keep the community aware of these builds.
I've been building LineageOS 14.1 from the official LineageOS source repository for my personal devices for some time now, and it finally occurred to me that others might find them useful.
These builds are created every Saturday night from a 100% unaltered LineageOS repository, which is synchronized with upstream every day. I must stress that there are NO MODIFICATIONS at all; if it worked/didn't work in the last official Cyanogenmod/LineageOS releases, it works/doesn't work in my builds. At Apple we called these "sustaining builds" -- they keep devices in sync with the latest security patches, but receive no new features.
The build for the Asus Zenpad 8.0 Z380K[N]L (aka P024) is at https://lineageos.disavowed.jp/p024/. This appears to work on both the Z380KL (as reported in the locked thread) and my Z380KNL. There are other devices being built as well ... if you would like me to add a 14.1 or 15.1 device to the weekly build roster, please let me know.
I hope this helps out folks who want to extend the service lifetime of their gear. Share and enjoy.
Edit: per moderator request, I need to provide a link to the source repository used to generate these builds to comply with XDA's interpretation of the GPL. It is the stock LineageOS repository, located at git://github.com/LineageOS/android.git. TheMuppets binary repository was used for the vendor blobs; it is at https://github.com/TheMuppets/
Hi, I have been using your build and updated my device weekly! it' s still good and awesome. (I also use your build for my nexus7)
if you find Oreo, Pie version! please let everyone know. Thank you.
Thank's keep update bro.
Hi, I don't see your weekly build for 22 Nov 2019.
Are there any issues ?
Nice update thanks friends l.
Yeap yesterday i reported, and TS promised to update.
Argh, apparently I wasn't subscribed to my own thread. Fixed.
Sorry about the SIM recognization problem. Somehow my private dev builds were being uploaded instead of the sustaining builds. @DEV87WHY pinged me a few days ago to let me know. The newest build is from the correct tree, and hopefully this won't happen again.
Sorry about that ...
Argh, apparently I wasn't subscribed to my own thread. Fixed.
Sorry about the SIM recognization problem. Somehow my private dev builds were being uploaded instead of the sustaining builds. @DEV87WHY pinged me a few days ago to let me know. The newest build is from the correct tree, and hopefully this won't happen again.
Sorry about that ...
Question about Unofficial rom for Asus ZenPad 8.0 z380knl
How do you update device with rom without losing apps and data? Is it possible to update from unofficial lineage os 14.1 from your repository to latest unofficial lineage os 14.1 build from your repository without having to reinstall apps? My understanding is that you follow the process of normal flash of rom but you don't wipe? Is that it?
Another question:
Does MTP(file transfer) work with this ROM?
Also, did you manage to unlock bootloader(oem unlock). I know it is possible to flash the rom without bootloader unlock. Is that how you do it or you have found a way to unlock bootloader?
Thank you so much.
poka_dan said:
How do you update device with rom without losing apps and data? Is it possible to update from unofficial lineage os 14.1 from your repository to latest unofficial lineage os 14.1 build from your repository without having to reinstall apps? My understanding is that you follow the process of normal flash of rom but you don't wipe? Is that it?
Another question:
Does MTP(file transfer) work with this ROM?
Also, did you manage to unlock bootloader(oem unlock). I know it is possible to flash the rom without bootloader unlock. Is that how you do it or you have found a way to unlock bootloader?
Thank you so much.
Click to expand...
Click to collapse
Hi there,
First off -- thanks for the gift! Much appreciated.
If you're just flashing one of my newer builds on top of one of my older builds, then you shouldn't have to do anything special. Just kick the device into recovery and flash on top of the older build. If you're coming from the ancient Cyanogenmod or the stock ROM, then AFAIK you'll have to wipe.
MTP *should* work but I've never tried it. I don't have my device with me right now so I can't do a quick verification.
For unlocking the bootloader, I'm trying to remember (this was several years ago). IIRC I put it into fastboot and did a tethered recovery boot (i.e., "fastboot boot /path/to/recovery_image_on_pc.img"). Then I did a full wipe and a flash ... and bricked the device because I had a Z380KNL and the Cyanogenmod image at the time supported only the Z380KL.
I then put the stock ROM back on, and when the KNL bits hit the Cyanogen repository, I flashed it with success. At no point did I ever successfully unlock the bootloader as far as I can tell -- I downloaded the ASUS unlock but it never reported success. When booted into fastboot, there's a locked symbol at the lower right of the screen. That doesn't interfere with flashing anything from recovery.
Oh, and important safety tip: to enter recovery from fastboot after you've flashed it via the tethered recovery boot, you'll have to choose "factory reset" on the KNL.
I hope that helps.
As soon as I find out MTP is working I will flash the rom
wileyc said:
Hi there,
First off -- thanks for the gift! Much appreciated.
If you're just flashing one of my newer builds on top of one of my older builds, then you shouldn't have to do anything special. Just kick the device into recovery and flash on top of the older build. If you're coming from the ancient Cyanogenmod or the stock ROM, then AFAIK you'll have to wipe.
MTP *should* work but I've never tried it. I don't have my device with me right now so I can't do a quick verification.
For unlocking the bootloader, I'm trying to remember (this was several years ago). IIRC I put it into fastboot and did a tethered recovery boot (i.e., "fastboot boot /path/to/recovery_image_on_pc.img"). Then I did a full wipe and a flash ... and bricked the device because I had a Z380KNL and the Cyanogenmod image at the time supported only the Z380KL.
I then put the stock ROM back on, and when the KNL bits hit the Cyanogen repository, I flashed it with success. At no point did I ever successfully unlock the bootloader as far as I can tell -- I downloaded the ASUS unlock but it never reported success. When booted into fastboot, there's a locked symbol at the lower right of the screen. That doesn't interfere with flashing anything from recovery.
Oh, and important safety tip: to enter recovery from fastboot after you've flashed it via the tethered recovery boot, you'll have to choose "factory reset" on the KNL.
I hope that helps.
Click to expand...
Click to collapse
Gift was my pleasure
The info is most usefull. Thank you for that.
I am currently running my ZenPad 8.0 z380knl on Asus stock rom but ardently looking to upgrade to android 7.1.2 for security reasons as well as other reasons.
I was investigating if everything is working on the new rom. Also upgrade procedure from stock rom to lineage os and from lineage os 14.1 to latest 14.1 lineage os. Thankfully you cleared all that up. Thanks so much !
Only thing that remains for me to find out is if MTP is working on rom, so please check it for me when you have the time.
BTW, I haven't seen your new buld since last week.Will there be no update ?
Is everything working with this ROM?
Can i get confirmation from someone who is actively using it..
MTP and everything else working?
pokadan said:
Gift was my pleasure
Only thing that remains for me to find out is if MTP is working on rom, so please check it for me when you have the time.
Click to expand...
Click to collapse
I just tried MTP (using OpenMTP-2.4.1 on MacOS) and it seems to work fine.
androidlover2019 said:
BTW, I haven't seen your new buld since last week.Will there be no update ?
Click to expand...
Click to collapse
There should be an update (or two!) today. The build rooster hung about midway through last week's build for deb, and was actually still running after seven days. I killed off the deb build process and it's progressing to the other devices, although much slower than it should be. I'll troubleshoot this after the regularly scheduled build completes late tonight.
(I'm using Arch Linux on this build machine, and it seems that something in the filesystem layer in kernel > 5.4.10 doesn't like operating under sustained heavy load)
I saw your new build today and have installed it. Thank you
However, The latest security patch has not been applied yet. Hope it will come in next build.
Thank you so much for maintaining the device.
Thank you wileyc !
wileyc said:
I just tried MTP (using OpenMTP-2.4.1 on MacOS) and it seems to work fine.
Click to expand...
Click to collapse
I have put the latest available rom lineage-14.1-20200202-UNOFFICIAL-P024.zip on my device and works flawlessly!
Million thanks
I have installed the newest one (built on 08 Feb)
the Android security patch was updated to Jan 2020! Thank you very much.
I am worried how long you will keep sharing your build weekly.
Hope next 2 years Thanks again.
I have also installed the latest. Thanks so much!
Thankyou for the update :good:
What about selinux?

Custom ROMSs Vs GSI

I just got a Moto G Power, replacing a UMIDIGI Power 3(don't ask). I'm currently on the stock ROM and rooted.
I'm hoping to move to a custom ROM.. Can someone let me know which custom ROM is the most stable and consistently updated? Looking for one that is kept security patch updated.
Also, has anyone tried to flash a GSI?
I can try all of these myself, just trying learn by shortcut.
smvsmv said:
I just got a Moto G Power, replacing a UMIDIGI Power 3(don't ask). I'm currently on the stock ROM and rooted.
I'm hoping to move to a custom ROM.. Can someone let me know which custom ROM is the most stable and consistently updated? Looking for one that is kept security patch updated.
Also, has anyone tried to flash a GSI?
I can try all of these myself, just trying learn by shortcut.
Click to expand...
Click to collapse
I've tested a couple of times out on here which were the OmniRom and the Pixel experience. I like certain features on the Pixel experience but I think Omnirom is a bit more stable and things work better on Omnirom. I'm currently on Pixel Experience which has a few notable problems such as that I get a camera error on PE and the Bluetooth won't connect to my speakers on PE. But I like the ringtones and notification sounds better on PE. Don't get me wrong. The PE is still a usable rom though.
I tried OmniRom, Havoc, RRMix and Erfan Generic Gsi(This one was Android 11). Decided to stick to Havoc as I like customization and Havoc is next to RRMix in this. RRMix would have been my choice but I was unable to install Viper4Android successfully and hence had to settle down with the next best (Havoc with November 5 Security patch). All of them were otherwise stable. Omni was on March Security Patch if I remember right. Can't say about the update frequency as It's just over 3 weeks for me. Have fun!!.
havoc seems to be the only rom that's up to date with security patches. that's what I'm running.
Havoc. It just works and can be beautiful.

Categories

Resources