wierd reboot - OnePlus 5T Questions & Answers

Got a wierd issues. Don't think it's rom related because it has persisted through the last few updates.
I'm 5T Encrypted running 10.5a beta, Blu spark recovery, and stock kernel. No xposed only navbar substratum.
So whenever I reboot my phone it boots up to the pin unlock screen, I put in my pin then starts to load up but then reboots back to bootanimation. Then back at pin screen I reenter my pin and everything loads fine. Only happens once per reboot. Any ideas???

Remove PIN & other security.
Copy youre stuff to PC.
Format Data in recovery (this will whipe ALL in youre phone). Restart to Recovery.
Copy rom to internal memory. Flash rom.
Copy back youre stuff.

Related

[Q][Very serious]Non-booting/non-changing/not working problem

I woke up today to a bootloop. After pulling out the battery, I cant turn it on, it was stuck at the google logo. I thought it was some rom issue or something. When I had the time, in the afternoon, I just boot to recovery, and wiped data+sd card. Turns out sd card was not wiped.
Just now, I found a way to boot it. (AFTER WIPING DATA) I used the gnex toolkit and boot with insecure image, and guess wat? My old rom boots. Everything was the way it was, and then it crashed and stuck on the google logo again.(I made sure i wiped things two to three times, data and sd) I did a few experiments:
1) Flash using ODIN
2) Flash CWM using toolkit--it changed back to twrp after reboot
3) Changing the icon on my homescreen after boot--- everything was the same again after booting
4) Flash stock image using toolkit
5) Wipe data using manual adb
6) Try to lock my bootloader

Is it possible to have a rooted AND encrypted device?

I have tried several ROMs (Genesys, Imperial, RR, CM, stock) and can not seem to be able to encrypt my phone. I have done the
Code:
su
pkill -KILL daemonsu
exit
thing and the phone reboots but does not encrypt. I have even gone as far as installing the unrooted stock ROM and setting it up, then encrypting it, THEN rooting it. However, I get tons of FC's and can not enter in the password to decrypt the device.
Does anyone have any ideas on getting encryption working with a rooted device? And no, running pure unrooted stock is not an option.
It can be tricky. Very tricky. Try disabling/freezing SuperSU. Also try going into safemode, then try. I've done it before, it just took a ton of trying. Hold the power off button until you get to the menu. Then press and hold the off option. You should see an option for safe mode in a second or two.
Since SuperSU is a system app, I believe it still starts in SAFE MODE. Also, I couldn't find SuperSU in Titanium Backup even when "System" apps were checked so I couldn't freeze it.
I think I might have succeeded. Here's how I did it:
Download Genisys 3.8 & Genisys Theme 3.6
Reboot to recovery
Wipe system, data, cache, and dalvik (3 times)
Flash Genisys 3.8
Boot up and sign in
*OPTIONAL* Reboot to recovery and flash Genisys Theme 3.6 and reboot system
Open SuperSU and under Settings ---> Full Unroot (should reboot automatically, if not reboot manually)
Encrypt phone ---> Full encryption ---> set pin (DO NOT set boot up pin/password, only unlock pin/password/knock/pattern)
Verify encryption by going to Settings --> Security ---> Encrypt Phone (Should say "Encrypted")
*OPTIONAL* Encrypt SD Card
Reboot to recovery and flash UPDATE-SuperSU-v2.46.zip.
Reboot System
No guarantees, but this worked for me. Remember, DO NOT set the boot up pin because there are tons of FC's preventing you from entering your pin/password on this screen. Just set the lockscreen pin/password/knock/pattern.

How To re-encrypt my OnePlus 3 ?

Hello,
I am a happy owner of OnePlus 3 and at the beginning when I got this Smartphone and run it, I had to set-up a Pin which was also used for Encryption,
due to the decision that I wanted to change it, I have tried numerous things to do this, either via System -> Security, System -> Lock Screen or TWRP Recovery.
Then I have stumbled upon a wiping feature in TWRP. (TWRP Menu -> Wipe) where there was a couple of options like Advanced Wipe, Format Data and Swipe to Factory Reset. So I have
decided to see what Format Data does which showed me the following statement before I continued with it "Format Data will wipe all of your apps, backups, pictures, videos, media and
removes encryption on internal storage". Well when it said it removes the encryption I have proceeded because at this point where all of the methods failed I wanted to remove and
re-encrypt my OnePlus 3 again in order to change my encrypting pin. Ok, cool this worked perfectly except that now I can't restore my original rom or encrypt my OnePlus 3 again ....
Then I have flashed CyanogenMod 13 Nightly from August (The latest one on the CyanogenMod website) and when I went into System -> Security there was Encrypt button instead of saying
Encrypted at the top of the menu then I have played around with setting up a new Pin/Password and when I went throug all the process at the end the following happens within a few
seconds: a green dissasembled android shows then screen turns black and returns to lock screen. I checked if OnePlus 3 is encrypted and is not. This is not the normal as usually
encrypting takes some time.
Also, I have tried to restore my original rom which came with my smartphone and was encrypted, when I restored it, OnePlus 3 stucks on the first screen showing OnePlus logo on the
middle of the screen and text "Powered by Android" on the bottom of the screen.
I presume that CyanogenMod 13 encryption is broken or that I shouldn't have format Data ?
Is there any way that I can encrypt my smartphone again ?
P.S I know that OnePlus 3 encryption is handled by Hardware.
You can try downloading the official OxygenOS ROM, flashing it and trying to encrypt again. Last I tried doing it on Sultan's CM13, it didn't work, so it might be a CM problem.
As per my knowledge, if you flash stock OxygenOS rom and also be on stock oneplus recovery. Performing a Factory Reset will automatically encrypt your device again. But you must be on stock recovery + stock kernel + stock rom in order for it to work.
abhibnl said:
As per my knowledge, if you flash stock OxygenOS rom and also be on stock oneplus recovery. Performing a Factory Reset will automatically encrypt your device again. But you must be on stock recovery + stock kernel + stock rom in order for it to work.
Click to expand...
Click to collapse
Why do I need to be on stock recovery ?
Won't TWRP work just fine ?
formating data with TWRP -28 will decrypt your phone, it's madethis way so it can work on beta 9 and f2fs ...
that said i had encrypted device before on CM
so if you're not using beta 9 and your data partition is not f2fs, you can have an ecrypted device, the easiest way is to sideload official rom 3.2.8 (make sure you're on stock recovery and start adb sideload from there) , after the sideload the phone will be encrypted, if you're staying at MM, fastboot TWRP .22 or 23 or just the official in case .28 decrypts the phone.
Gliop022 said:
Why do I need to be on stock recovery ?
Won't TWRP work just fine ?
Click to expand...
Click to collapse
Well man i want you be on as much safe side as possible. When you perform factory data reset on stock recovery, it will wipe and reformat your internal memory as well. TWRP only wipes data partition, and you need to format whole internal memory manually. But stock is recommended for full compatibility.
Ok, I have finally re-encrypted my smartphone.
So for the future people who have the same problem as I have, do the following:
SIDE NOTE: You don't need to unroot anything, just re-flash original Oxygen OS and go forwards from there
1) Download Oxygen OS from official website (downloads.oneplus.net)
2) Copy it over to internal storage
3) Enter Recovery Mode => Volume Down + Power Button
4) Flash downloaded .zip file via Recovery Mode (SIDE NOTE: The flashing progress might look like it have a loop but it takes a little bit of time to flash it, more than CyanogenMod anyway).
5) Now, after you have flashed the system .zip file and rebooted your smarpthone, it will take some time to load so don't panic that you have stuck in bootloop as it again, takes some time to load the first time.
SIDE NOTE: My suspicions are that it takes some time to flash and run the first time because it needs to set-up some encryption parameters or something like that but I might be wrong.
6) Then when you finally get to the wizard screen and go through the initial setup like wi-fi, sim card etc, the system will ask you if you want to protect device before it turns on, you choose yes and type your PIN or Password. After that step your smartphone is successfully encrypted again, enjoy !
Gliop022 said:
Ok, I have finally re-encrypted my smartphone.
So for the future people who have the same problem as I have, do the following:
SIDE NOTE: You don't need to unroot anything, just re-flash original Oxygen OS and go forwards from there
1) Download Oxygen OS from official website (downloads.oneplus.net)
2) Copy it over to internal storage
3) Enter Recovery Mode => Volume Down + Power Button
4) Flash downloaded .zip file via Recovery Mode (SIDE NOTE: The flashing progress might look like it have a loop but it takes a little bit of time to flash it, more than CyanogenMod anyway).
5) Now, after you have flashed the system .zip file and rebooted your smarpthone, it will take some time to load so don't panic that you have stuck in bootloop as it again, takes some time to load the first time.
SIDE NOTE: My suspicions are that it takes some time to flash and run the first time because it needs to set-up some encryption parameters or something like that but I might be wrong.
6) Then when you finally get to the wizard screen and go through the initial setup like wi-fi, sim card etc, the system will ask you if you want to protect device before it turns on, you choose yes and type your PIN or Password. After that step your smartphone is successfully encrypted again, enjoy !
Click to expand...
Click to collapse
Hello Gliop022,
Do you know if flashing OxygenOs stock from TWRP 3.1.0 encrypts the phone or do I have to be on stock recovery?
Then once the phone is encrypted, are you able to flash an OOS based ROM (e.g. FreedomOs) and keep the encryption?

Guaranteed way to flash ROMs?

I've been a huge fan of ROMs and trying out all the new ones and what not. but lately for this device i have been having some non-reversible issues without having an external backup of the device.
steps I use:
-set lockscreen to none
-reboot to apply to twrp as well
-backup all apps using titanium
-reboot into twrp and run backup of all sections(check everything under the backup menu)
-once complete i reboot into OS to copy literally everything to external storage
-once that is done i reboot to twrp
-wipe -> swipe to factory reset
-home
-install rom and twrp
-reboot
these steps seems to work 13% of the time, i have only ever had 100% success rate with nitrogen rom. I have tried DU, pixel dust, RR, abc, carbon, aoscp, and I may have got each one to boot maybe once. but lately I have been faced with boot loops consistently. this is my main issue, when i am faced with this bootloop i try to boot back into twrp but everything is encrypted on the device at that point, unless the rom boots after literally 10 minutes of waiting I am screwed, i have to plug it into my computer and reboot to bootloader and flash stock. then copy everything back over and restore my twrp backup to get my device in working order again. am i missing something at all?
tl;dr - followed what i understood as proper flashing procedures, faced with bootloop and when rebooting back into twrp everything is encrypted and cant do anything except flash stock wiping everything.

Stuck in install loop - keeps getting wiped on boot?

I'm trying to install LineageOS 17 on a OnePlus 6.
I can boot into twrp and the install process appears to work successfully. I can swap slots and install into either slot.
When I reboot the phone I get to the screen that says "Start" and "Fastboot mode" at the top. If I try to start the phone it comes back to this screen. When I go back into twrp, the contents of /sdcard is empty. I can copy over files using adb push, install the rom and then reboot. However, every time I reboot it seems like it completely wipes the phone including the install it's just done and /sdcard is also wiped.
When I booted into twrp previously, it required my unlock code. It now no longer does that. I wonder if this is part of the problem?
If I install just oxygenos, it takes me to the oxgenos recovery screen but I cant' do anything from there. I'm guessing that won't allow me to boot with an unlocked bootloader?
Can anyone advise how I can get out of this? Installing anything using twrp looks like it works, but it's like it gets wiped every time I reboot.
I can't even seem to get OxygenOS back to working.
Can anyone give me some tips on where to go from here? Nothing I can do from TWRP seems to help. I have tried wiping everything in both slots and reinstalling oxygen, no luck
Still stuck?

Categories

Resources