please help flashing my xz1c - Sony Xperia XZ1 Compact Questions & Answers

hello,
I would like to flash lineage OS and get a phone without google.
can you confirm me what I have to do:
- enable OEM Unlocking ?? (isn't it exactly what we won't do before backup TA ?)
- downgrade in 47.1.A.2.324_CE1 with newflasher (before flashing: Delete Userdataxxx.sin and files ending in .ta)
- backup TA https://forum.xda-developers.com/xp...devonly-exploits-temp-root-to-backup-t3795510
-flash TWRP by adb
-flash lineageOS by TWRP
-flash a kernel ??? what to do with this : https://forum.xda-developers.com/xp...oted-kernel-hiding-bootloader-unlock-t3898711
thanks for helping me.

hazote said:
hello,
I would like to flash lineage OS and get a phone without google.
can you confirm me what I have to do:
- enable OEM Unlocking ?? (isn't it exactly what we won't do before backup TA ?)
- downgrade in 47.1.A.2.324_CE1 with newflasher (before flashing: Delete Userdataxxx.sin and files ending in .ta)
- backup TA https://forum.xda-developers.com/xp...devonly-exploits-temp-root-to-backup-t3795510
-flash TWRP by adb
-flash lineageOS by TWRP
-flash a kernel ??? what to do with this : https://forum.xda-developers.com/xp...oted-kernel-hiding-bootloader-unlock-t3898711
thanks for helping me.
Click to expand...
Click to collapse
Hi, I can help confirm a few things:
1. If by enable OEM unlocking you mean "allow the bootloader to be unlocked" in the developer options then yes, you need to do this and it won't damage your phone.
2. Downgrading to Oreo is a must to unlock the bootloader. You'll need newflasher to do this but it's a very easy and simple process. I think 47.1.A.2.324 is the fw I downgraded to but I can't honestly remember. Make sure to delete all TA files in the main folder but not the TA file in the boot folder. I did that the first time, entered a bootloop and had to use xperifirm to get back to stock pie and a working phone(not horrible but more work than I needed to do).
I also deleted the persist.sin file because I had read it was necessary to keep the android attest key(which I'm not 100% knowledgeable about) but i didn't delete userdataxxx.sin. I just made sure everything was backed up so I could have a clean flash/install every time with as few problems as possible.
3. Once on oreo, use the back up tools for your TA partition. This was the longest and hardest part for me because I didn't read the directions closely enough before hand. My problem was I didn't realize I had to open another command prompt after I established temp root in the first prompt. This sounds complex(at least, to me) but it's really not. Again, follow the instruction and you'll be fine. Now you can unlock the bootloader with your code and then restore the TA partition.
4. At this point, it's all up to you from where to go next. If you want to stay on Oreo, then flash TWRP through ADB and flash a rom, root it and enjoy. If you want a rom based on Pie, flash the latest fw with newflasher(deleting TA files and persist.sin) and then flash TWRP, rom and root.
I hope that little bit helps. I really can't give you any advice on lineage or a kernel as I am on crDroid but the devs are super helpful and hardworking on the forums and there are a lot of experienced members. If anyone can explain it better or I didnt' say it right, please correct me.
A.Karimov

Thanks a lot.
For you, why should I go for carbon and not lineage?

hazote said:
Thanks a lot.
For you, why should I go for carbon and not lineage?
Click to expand...
Click to collapse
No worries, I'm glad to help:good:
I don't have any experience with Lineage other than an old build on a tablet. I had considered flashing it but I really like having more freedom to customize things. CrDroid has been very stable for me. It is a very responsive and fast rom.

Related

[Q&A] [STOCK][D58XX][5.0.2] Firmware 23.1.A.0.690 Generic [ROOT/XZDR/SuperSU]

Q&A for [STOCK][D58XX][5.0.2] Firmware 23.1.A.0.690 Generic [ROOT/XZDR/SuperSU]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [STOCK][D58XX][5.0.2] Firmware 23.1.A.0.690 Generic [ROOT/XZDR/SuperSU]. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Can i flash zip or ftf via adb? i'm using cm12 rom.
hi guys,
I bought a Z3C and I just checked the bootloader is not locked .
pen the dialler and enter #*#7378423#*# to access the service menu.
Tap Service info > Configuration > Rooting Status. Bootloader unlock allowed says Yes
I wanted to know if I could flash via Flashtool software directly ?
OK, so I've used the method described in the thread, flashed firmware.zip from recovery on rooted 4.4.4. (.77), after flashing I wiped cache and dalvik, rebooted, android was upgraded, system booted, and all of my apps and settings remained intacted. Is this normal? I expected clean start. I used D5803_23.1.A.0.690_Generic_NCB-Root-XZDR2.8.3-SuperSU.
savudin said:
OK, so I've used the method described in the thread, flashed firmware.zip from recovery on rooted 4.4.4. (.77), after flashing I wiped cache and dalvik, rebooted, android was upgraded, system booted, and all of my apps and settings remained intacted. Is this normal? I expected clean start. I used D5803_23.1.A.0.690_Generic_NCB-Root-XZDR2.8.3-SuperSU.
Click to expand...
Click to collapse
If you didn´t wipe data in recovery, then no data should be wiped. That´s normal.
Yes, that's it. But, did I had to wipe data? I've read that clean install is recommended. I've noticed no problems in the last couple of hours of usage.
Dirty Flash from 23.0.1.A.5.77
I dirty flashed 23.1.A.0.690 from Greatslon MIUI v5 23.0.1.A.5.77 and still have root.
The phone froze and bootlooped a couple of times when i installed and restarted it, but patience was rewarded, as it finally booted.
I can still mount /system as rw both via adb shell, "onboard" terminal and through Root Browser.
Can i be of some help with a logcat, and in case how?
I am a software developer myself, but in a different branch than android. I just can't see through how i should get started with android development.
Great work guys
I guess i should add, that i still have my bootloader locked.
So to summarize:
>Bootloader locked (never unlocked)
>Firmware 23.1.A.0.690 from this thread
>Full root
>System R/W
Hey,
is there a chance to change the carrier name on the lockscreen? In the upper left corner it says "no service" but my carrier is already set up successfully.
Maybe its just because im from germany and its a generic rom or something. so is there a option to set up manually?
greets
Interesting, I did exactly the same but only have partial root, meaning that my system indicates root but I don't have writing permissions. Tried the ADB fix but did not work. Any other suggestions for getting full root again?
FYI: Nut has mentioned that he fixed recovery in his main development thread and will be working on releasing it to everyone soon.
Tnx for ur great work... but i have problem to download from mega site.. and specialy from the folder...
can anyone give me the direct link of [5.0.2] Firmware 23.1.A.0.690 Generic and A.5.77... not the folder link...
and can anyone tell me where exactly save the file we download from mega site ?
i cant find it anywhere...
Tnx alot.. :xX
How to delete recovery when it not working, thanks
Can't try new xposed for lollipop because it require install from recovery. And recovery not working in 5.0.2
air32 said:
Hey,
is there a chance to change the carrier name on the lockscreen? In the upper left corner it says "no service" but my carrier is already set up successfully.
Maybe its just because im from germany and its a generic rom or something. so is there a option to set up manually?
greets
Click to expand...
Click to collapse
edit the build.prop
what if I restore the TA Backup after that?
AndreDNA said:
what if I restore the TA Backup after that?
Click to expand...
Click to collapse
You would only need to restore the TA backup if you've unlocked your bootloader in the past.
I'm locked now, but it seem that I have to be unlocked to manage in upgrading to LP and keep the R/W is that right?
Sent from my D5803 using XDA Free mobile app
AndreDNA said:
I'm locked now, but it seem that I have to be unlocked to manage in upgrading to LP and keep the R/W is that right?
Sent from my D5803 using XDA Free mobile app
Click to expand...
Click to collapse
No, system rw is working atm with the newest(2.8.3) release from nut with locked bl. At least for Z3C . the system rw not working refers to other devices.
So when he manages to get the new recovery working you should just be able to install it. That is my hope at least. Anyway in case it doesnt you can backup with titanium backup and after flashing everything again just restore.
2mal16 said:
No, system rw is working atm with the newest(2.8.3) release from nut with locked bl. At least for Z3C . the system rw not working refers to other devices.
So when he manages to get the new recovery working you should just be able to install it. That is my hope at least. Anyway in case it doesnt you can backup with titanium backup and after flashing everything again just restore.
Click to expand...
Click to collapse
oh!
Really thanks for the answers, but I'm not sure to have understand (first sony for me).
I have kk, rooted and with locked bootloader. I have no recovery (I can't manage in flashing that without unlock), so how can I flash the preeroted LP?
I understand that if I backup TA, unlock BL, flash a recovery, flash a pre-rooted LP (after a full wipe), flash the last NUT recovery and then relock the BL restoring TA, I should finally have LP with root, R/W, and drm feature right? Am I missing something? Sorry for the High Noob Lvl xD
AndreDNA said:
oh!
Really thanks for the answers, but I'm not sure to have understand (first sony for me).
I have kk, rooted and with locked bootloader. I have no recovery (I can't manage in flashing that without unlock), so how can I flash the preeroted LP?
I understand that if I backup TA, unlock BL, flash a recovery, flash a pre-rooted LP (after a full wipe), flash the last NUT recovery and then relock the BL restoring TA, I should finally have LP with root, R/W, and drm feature right? Am I missing something? Sorry for the High Noob Lvl xD
Click to expand...
Click to collapse
Go to the thread of NUT dual recovery and (assuming your on a windows pc) download the installer for nut dual recovery. it will let you install the recovery on locked bootloader by running the install.bat file. with this recovery you can then flash a prerooted lollipop zip (you can do it yourself with prf creator, include the newest SuperSU zip and the newest dual recovery zip together with stock lollipop rom) after wiping your phone. people also just flashed over KK but i prefer to do it clean and set up my phone newly again. you will then end up with a phone which has system rw and root on lollipop but the recovery will be gone until NUT fixes it. That is what everybody is waiting for.
So unlocking BL wont really gain you anything except sonys DRM keys not working. it will just introduce an additional step to relock them.
Here is the thread: http://forum.xda-developers.com/showthread.php?t=2261606
to get into recovery just spam the volume up button(or down since it has two recoveries ) when your phone boots and lights up the led.

About Root,Downgrading and Unlocking BL

Hey seniors out there, am new guy on Sony things..i've spent three days to serch and read some pages, and how-to modding our xperia Z3+.
But seems cannot find the satisfied and clear answers, and finally i decided to post here, as i still confused bout alot of things to do.
First i'm E6533 variants, on the lateat Nougat release from sony, as i wanna full controll i need to root the devices, custom rom is a must thing for me. So the questions is :
1. Can we achieve root on latest firmware (Nougat)?. As ive tried some one-clik tools seems didn't work at all.
2. I read some post, there's rootable firmware using tool called ivy-root, in the post said its on firmware 28.0.A.8.266 which is lollipop versions. Can i downgrading the device to that specific firmware versions without brick??
3. As i concerned about DRM key backup, and how really important it was, so i need to root first, and the only way to achive whole things was downgrading??
Anyone please share and guide me. Thanks
Finally done, TA /DRM key backup, u locking BL and flashing the LineageOS by Quarx on my E6533.
Just wanna share you , in case someone needed or has the same questions above:
1. Downgrading to 28.0.A.8.266 i flashed through Flashtool.
2. TA,DRM key backup i used iovy-root tools, rund the .bat script, and keep that backup in the safe places.
3. Upgrading back to Nougat firmware, unlocking BL, flashing TWRP.
4. Flash LineageOS ,thanks @Quarx its really stable enough
SH1M4BD3 said:
Finally done, TA /DRM key backup, u locking BL and flashing the LineageOS by Quarx on my E6533.
Just wanna share you , in case someone needed or has the same questions above:
1. Downgrading to 28.0.A.8.266 i flashed through Flashtool.
2. TA,DRM key backup i used iovy-root tools, rund the .bat script, and keep that backup in the safe places.
3. Upgrading back to Nougat firmware, unlocking BL, flashing TWRP.
4. Flash LineageOS ,thanks @Quarx its really stable enough
Click to expand...
Click to collapse
Hi,i have the same problem,i'm not too god in that but i try to fix my Xperia z3+ Dual E6553
Can you help me with link for iovy-root tools ( this not mean that .zip file ? )
And one more thing,can you relate step by step the proccess what you do ?
Thanks and sory for my unknow
1. Just download flashtool latest versions would be better,
2. Download that specifics firmware version using Xperiafirm which its already incl. Inside flash tool.
3. Once it already downloaded, put your phone into flashmode (hold Vol- buttons togather while you plug into usb ports), once its done power on the devices.
4. Enable Usb Debug On developer options, download iovy-root tools here
https://forum.xda-developers.com/crossdevice-dev/sony/iovyroot-temp-root-tool-t3349597 remember this not Root your devices permanently, its just teml-root so that the TA backup can be done.
Extract and run the Tabackup.bat (in this step you might get some hang process wait till the tool doing the job, you might also need to retry the process untill TA backup done succesfully, indicates that you have taxxx.img extenttions inside the extracted iovy-tool folder.
Save it,ake some double backup,upload to your drive perhaps..
4. Request unloock head to sony official dev pages, follow every instructions that you got, once you have the code enter the fastboot mode (vol+ ) unlock your BL as sony provided the commands line
5 Profit now you have fully control your devices, flash twrp (i used Oliver's versions)

[STOCK][DUMPS][FIRMWARE] Essential stock firmware and rom dumps

I am not responsible if you break your phone in any way, these are here for your aid. I will help as much as i can, but it is on YOU, the user to read the OP and understand exactly what it is you are doing at ALL times.
READ THIS: http://mata.readthedocs.io/en/latest/ LEARN FROM IT, DONT EVEN CONTINUE UNLESS YOU HAVE READ THIS
These can be used to return to 100% stock as long as you can get into fastboot mode on the device, and have unlocked the bootloader and critical partitions. All images contained in the zips are directly from the essential Fastboot zips and OTA's, and dumps for the rest
Prerequisites:
1. Working fastboot environment in bootloader: (test using the command fastboot devices should return your s/n) Windows drivers are at the bottom of the OP.
Essentials windows drivers contain working ADB/Fastboot and places an environment variable to link to these binaries, i would HIGHLY recommend ditching any and all adb/fastboots you may have (minimal, HTC, etc) and use what is supplied by essential, they just work (Not gonna help you either if your hellbent on using your adb/fastboot).
The zips contain all the firmware (19 Images), TWRP11.img (the latest version), and a stockboot.img (so you can conveniently place on your phone and flash in twrp) when rooting with magisk, and boot.fix.red.img (In case you kill verity).
2. Bootloader unlocked: run the command fastboot flashing unlock in bootloader (THIS WIPES USER DATA, BACKUP BEFOREHAND), conversely fastboot flashing lock will relock the bootloader. I dont recommend this, as there are lots of bricks from messing up a flash and locking yourself out afterward.
3. Critical partition unlocked: run the command fastboot flashing unlock_critical in bootloader (THIS WIPES USER DATA, BACKUP BEFOREHAND), conversely fastboot flashing lock_critical will relock the critical partition flashability. I dont recommend this, as there are lots of bricks from messing up a flash and locking yourself out afterward.
4. Common Sense: Use IT!!!!!
Downloads
Android 10 BTS Folder: https://sourceforge.net/projects/mata-bts/files/10
Q Beta BTS Folder: https://sourceforge.net/projects/mata-bts/files/Q-Beta/
Pie BTS & Novendor Folder: https://sourceforge.net/projects/mata-bts/files/Pie
P Beta BTS: https://sourceforge.net/projects/mata-bts/files/P-Beta/
Oreo BTS & NOVENDOR: https://sourceforge.net/projects/mata-bts/files/Oreo/
The Files below are OLD as dirt BTS
OPM1.180104.010 mega.nz (oreo 8.1 beta1)
OPM1.170911.254 mega.nz (oreo 8.0 beta3)
OPM1.170911.213 mega.nz (oreo 8.0 beta2)
OPM1.170911.130 mega.nz (oreo 8.0 beta)
NMK32F AFH (latest nougat 7.1)
NMJ88C mega.nz (nougat 7.1)
NMJ51B AFH (nougat 7.1)
NMJ32F AFH (nougat 7.1)
NMJ20D mega.nz (nougat 7.1)
NMI81C AFH (nougat 7.1)
Drive Folder of Patched Essential Boot images Credit Goes to @dazeone
Some OLD AS DIRT Novendor zips aswell... if anyone still cares
OPM1.180104.010 mega.nz (oreo 8.1 beta1)
OPM1.170911.254 mega.nz (oreo 8.0 beta3)
OPM1.170911.213 mega.nz (oreo 8.0 beta2)
Windows Drivers
drivers
Unzip this and check out the flash-all.[bat,sh] scripts for win/lin (they're identical but provided for easier flashability).
They're set up to flash to both slots. Most people will want to do this on a back to stock mission, but they can be adjusted if your goal is something else.
If coming from some other rom, you're also going to want to wipe your data, or you're not going to boot. This can be accomplished by the command in the bootloader: fastboot -w keep in mind there are multiple scripts to wipe for you in the zips.
These can also be used to make custom roms/rooted boot images/etc too, so have fun with it!
Thanks:
@invisiblek - aer0zer0 stole his thread, he put most of it together
@aer0zer0 - i stole the thread from aer0, his 2yr old son makes more use of the PH-1 than he does.
@bmg1001 - Root thread, found here root
@dazeone - Provides independent patched boot images and has an awesome YouTube Channel of Guides! DazeOne Youtube Channel
Enjoy
Heck ya
Yesssss
Ill be giving this a shot in a few days hoping to return my phone back to complete stock.
Hot diggity... been fun reading/watching you all work on this through Discord, think I'll go ahead and unlock it while I still have my S8 in case I trash things
Anyone planning on trying to make some custom roms for this phone? I am waiting to see if there will be any decent dev community for this phone before I actually buy it.
vekenti said:
Anyone planning on trying to make some custom roms for this phone? I am waiting to see if there will be any decent dev community for this phone before I actually buy it.
Click to expand...
Click to collapse
Lineage okay for you lol?
You've got one of the top devs on Lineage working on this so I think you're good.
Thank you! I'll be rooting now that we have a safety net!
I am trying this out now got a lot of errors saying:
FAILED (remote: Flashing is not allowed for Critical Partitions
However the main partitions like modem and system seem to work fine.
invisiblek said:
So as we're still waiting for Essential to release official factory images, I thought it'd be helpful to link the dumps that we've produced. These can be used to return to 100% stock as long as you can get into fastboot mode on the device.
Click to expand...
Click to collapse
Thanks for this. My fingerprint sensor was not working for some reason after rooting and I thought i would go completely stock. This thread helped me to go completely stock and get the fingerprint back to working.
Thought I haven't locked the bootloader yet. Will try it later.
---------- Post added at 05:55 AM ---------- Previous post was at 05:48 AM ----------
sarcoptic said:
I am trying this out now got a lot of errors saying:
FAILED (remote: Flashing is not allowed for Critical Partitions
However the main partitions like modem and system seem to work fine.
Click to expand...
Click to collapse
For flashing to critical partition you need to unlock them. The command is similar to unlock boot-loader.
Code:
fastboot flashing unlock_critical
And to lock it again
Code:
fastboot flashing lock_critical
The unlock_critical command worked fine....have you tried updating to the latest build from essential? I tried a couple times and I keep getting a installation problem.
sarcoptic said:
The unlock_critical command worked fine....have you tried updating to the latest build from essential? I tried a couple times and I keep getting a installation problem.
Click to expand...
Click to collapse
New zip on the way. I know why that is. The system image was modified (I had forgot I mounted it once which broke its signature).
I'll update once its ready. Sorry about that.
EDIT: OP updated with new link. Again, sorry about that. Slight oversight. With the new zip the OTA will take fine.
invisiblek said:
New zip on the way. I know why that is. The system image was modified (I had forgot I mounted it once which broke its signature).
I'll update once its ready. Sorry about that.
EDIT: OP updated with new link. Again, sorry about that. Slight oversight. With the new zip the OTA will take fine.
Click to expand...
Click to collapse
Freaking rockstar thanks!
invisiblek said:
New zip on the way. I know why that is. The system image was modified (I had forgot I mounted it once which broke its signature).
I'll update once its ready. Sorry about that.
EDIT: OP updated with new link. Again, sorry about that. Slight oversight. With the new zip the OTA will take fine.
Click to expand...
Click to collapse
Thanks mate.
Thanks for the dump! Just yesterday I was trying to figure out how to do the adb backup command but I gave up cause I couldn't get a good reliable connection to my phone (driver issues, then to failed to connect to device, then to using the adb shell and a mouse on recovery, fun times.)
Great
please can someone guide on how to root it
chambar said:
please can someone guide on how to root it
Click to expand...
Click to collapse
I'm not sure how you missed this:
https://forum.xda-developers.com/es.../guide-rooting-essential-ph-1-magisk-t3701976
charlie.s said:
I'm not sure how you missed this:
https://forum.xda-developers.com/es.../guide-rooting-essential-ph-1-magisk-t3701976
Click to expand...
Click to collapse
Much appreciated, indeed dunno how i missed it.
free XDA points for @invisiblek .......Thanks for putting it all together, hopefully you can get a teiko sports watch when you turn all the points in, LOL
Seriously, thanks for putting it all together

Help requested with updating Custom ROM.

Hello,
I currently have the following:
Phone: OnePlus 3T A3003
Recovery: TWRP 3.1.1-x | blu_spark v37
Rom: RR-N-v5.8.3-20170603-oneplus3-official
I installed all of this after hours of googling last year. I now want to upgrade but I am not finding many helping guides are upgrading (rather than installing from scratch).
I downloaded RR-O-v6.1.0-20180627-oneplus3-official and tried to install it via TWRP (after backing up and wiping some stuff). But I got the an error stating something along the lines of "this rom is for oneplus3/t" and your device is "". Googling lead me to believe I needed to update my recovery. So I downloaded TWRP-3.2.2-0oneplus3.img but I really have no idea if I should be installing this? Last time I installed the blu_spark variant but I have no idea why.
Anyway, my question is:
Given the above, please could someone give me a laymans guide to updating my Custom ROM and which things I should install and in which order.
Thank you!
Glendog1 said:
Hello,
I currently have the following:
Phone: OnePlus 3T A3003
Recovery: TWRP 3.1.1-x | blu_spark v37
Rom: RR-N-v5.8.3-20170603-oneplus3-official
I installed all of this after hours of googling last year. I now want to upgrade but I am not finding many helping guides are upgrading (rather than installing from scratch).
I downloaded RR-O-v6.1.0-20180627-oneplus3-official and tried to install it via TWRP (after backing up and wiping some stuff). But I got the an error stating something along the lines of "this rom is for oneplus3/t" and your device is "". Googling lead me to believe I needed to update my recovery. So I downloaded TWRP-3.2.2-0oneplus3.img but I really have no idea if I should be installing this? Last time I installed the blu_spark variant but I have no idea why.
Anyway, my question is:
Given the above, please could someone give me a laymans guide to updating my Custom ROM and which things I should install and in which order.
Thank you!
Click to expand...
Click to collapse
Clean Flash:
1) Latest Official TWRP (Can be done from within old TWRP)
2) Reboot Recovery to new TWRP
3) Wipe
4) Latest Firmware (OB29)
5) ROM
6) OpenGapps Arm64 8.1 Nano or Pico
7) Root Optional
Don't forget to Nandroid first, and it might be a good idea to remove any security measures on your current setup too. (Fingerprint/Pin/Pattern)
Queue up the zips for Firmware/ROM/Gapps and flash in that order together.
Thank you,
Some follow up questions:
* What should I be wiping during step 3.
* Should I install TWRP 3.2.2, does it matter that I currently have the blu_spark variant? (I don't even know what blu_spark means)
* I am just reading about firmware. I am assuming I need OB29 to work with RR-O-v6.1.0-20180627-oneplus3-official? Is that a simple process?
Glendog1 said:
Thank you,
Some follow up questions:
* What should I be wiping during step 3.
* Should I install TWRP 3.2.2, does it matter that I currently have the blu_spark variant? (I don't even know what blu_spark means)
* I am just reading about firmware. I am assuming I need OB29 to work with RR-O-v6.1.0-20180627-oneplus3-official? Is that a simple process?
Click to expand...
Click to collapse
Just follow the steps. The TWRP you download will be an .img file. In the TWRP Install menu press the button for Image to flash the .img file.
For step 3, from the Wipe menu just swipe to wipe.
DirkGently said:
Just follow the steps. The TWRP you download will be an .img file. In the TWRP Install menu press the button for Image to flash the .img file.
For step 3, from the Wipe menu just swipe to wipe.
Click to expand...
Click to collapse
Thank you, final question. I note you advised to remove security. I changed from 'Pin' to 'None' and gave me a warning about removing it which I agreed to. It still states my phone is encrypted however, and I still need to enter my PIN when restarting. Will this be a problem?
Thank you,
Glendog1 said:
Thank you, final question. I note you advised to remove security. I changed from 'Pin' to 'None' and gave me a warning about removing it which I agreed to. It still states my phone is encrypted however, and I still need to enter my PIN when restarting. Will this be a problem?
Thank you,
Click to expand...
Click to collapse
I believe removing your stored fingerprints removes the boot PIN. Don't stress if you can't do this, it's just an additional precaution.
DirkGently said:
I believe removing your stored fingerprints removes the boot PIN. Don't stress if you can't do this, it's just an additional precaution.
Click to expand...
Click to collapse
Pin/password and fingerprints are two different things. Fingerprints are just a convenient method of authenticating. Removing them does nothing for the actual security with is pin/password.
The reason for removing the lock screen password before taking a backup is that if you install a new ROM and set a password and then restore your older backup, you can't get past the lock screen password. So, remove the password before taking the backup and then you can restore it later and set a new password.
I find the better option is to not remove the password and then, if you need to restore the backup after having changed passwords, you can delete the passwords of the restored backup in TWRP from Advanced>Terminal with these commands:
Code:
cd /data/system
rm -f gatekeeper.* locksettings.*
Changing the pin/password to none doesn't wipe out the on-boot password. However, when setting up a new password and selecting to not set an on-boot password will remove the current on-boot password for some users, but not for others (it doesn't for me).
Sent from my OnePlus 3T using XDA Labs
Thanks guys.
I followed your instructions @DirkGently and it worked a charm.
What you recommend for rooting the device and is as simple as flashing a zip file like above?
Also, is the recovery on a separate partition? So if I mess around flashing firmware/rom/apps and mess up, I'll always be able to boot into the recovery partition and flash again?
Thanks,
Glendog1 said:
What you recommend for rooting the device and is as simple as flashing a zip file like above?
Click to expand...
Click to collapse
Magisk
Glendog1 said:
Also, is the recovery on a separate partition? So if I mess around flashing firmware/rom/apps and mess up, I'll always be able to boot into the recovery partition and flash again?
Click to expand...
Click to collapse
Yes and yes, but firmware may be tricky and messing up too much may render phone unusable. Messing with ROMs is fine though.
Thanks for the reply.
I note that on the Magisk page it states:
"If you plan to flash a custom kernel, flash it AFTER installing Magisk"
I have already installed a custom rom, will this be an issue?
Sorry for so many question. I get really nervous about this stuff!
Glendog1 said:
I have already installed a custom rom, will this be an issue?
Click to expand...
Click to collapse
That's ok of you asking questions, that's what this forum is about.
You should have got no problems if you're running a kernel shipped with custom ROM. Custom kernel is like EX, Mady's Xtended, Franco and so on.
Glendog1 said:
Thanks for the reply.
I note that on the Magisk page it states:
"If you plan to flash a custom kernel, flash it AFTER installing Magisk"
I have already installed a custom rom, will this be an issue?
Sorry for so many question. I get really nervous about this stuff!
Click to expand...
Click to collapse
You don't need to worry about Kernel stuff. RR already includes Caesium Kernel. You chose a good ROM by the way!
Here's a little information about Firmware. The OP3 and OP3T have unified builds. This means that in some cases the same Custom ROM can be used on both. There is some device specific software though so this has to be separated out and treated as independent from the ROM. This is what we refer to as Firmware. When Oneplus release new builds they include the updated Firmware in their Official ROM. If you look at the Firmware thread i linked you to, you'll see that kamilmirza takes the Firmware from the Official OOS builds and makes them available as flashable .zip files that we can use on Custom ROMs. Bookmark his Thread for future use.
There is no need to stress about always being on the latest Firmware for your Custom ROM, just ensure it is the Firmware intended for your device. The version you flashed earlier will probably do you for a while. At the same time, if you do always want to be on the latest, there's no reason not to. There's little to be gained by it though. If you're following the RR thread you'll probably see people mention it when the ROM requires a new Firmware. Again, don't stress about it.
As far as flashing Firmware, you can do it any time. You can do it before flashing an updated build of your ROM, or on it's own in a separate visit to Recovery. It's not particular either way. I would stick with the Open Beta Firmware, which people usually abbreviate to OBXX, i.e OB29. Just remember what you flashed so that you know which version you are using.
Now that you're rocking your Custom ROM you're next questions will be about updating it. This can be done easily and safely by Dirty Flashing. I've done dozens of updated builds since my last clean flash and everything has gone perfectly every single time.
Dirty Flash:
1) Download new ROM build (and Firmware if applicable) to Internal Storage.
2) Boot into Recovery
3) Nandroid Backup
4) From Install Menu, flash Firmware (if applicable), and ROM.
5) Wipe Dalvik & Cache when prompted. (BillGoss will tell you it's not necessary. It doesn't hurt either way, so up to you!)
6) Reboot phone.
For a Dirty Flash, you do not need to use the 'Wipe' Menu at all.
I always take a new Nandroid before flashing an updated build. I will have had a whole week on the previous build so i know i'm not backing up a bug and the backup will be as recent as possible if a problem occurs. Once i boot back into the phone i delete the old Backup. The new one is there if i need it. Always have that one recent Backup, just in case. As i've said, RR is great and i'm yet to run into a problem with it. From now on you can Dirty Flash the updated weekly builds with little to worry about and with a Backup to fall back to if anything goes wrong.
I don't mention Magisk because i don't use it, and i don't advise others use it. Unless you need Root access for something specific, don't bother. Half the threads on XDA are about problems with Magisk. Avoid the added complication if you can. Now this statement will trigger the Magisk fans, but nobody has ever had a bug or failure with something that they did not flash in the first place. Keep it as simple as possible.

How to Update/Return to Stock your OnePlus 6/6T(ROOT | NO ROOT | STOCK BASED |OTHERS)

Today i want to explain how to update your phone in all cases you can be. The Thread is divided into situations and methods.
CASES
1. I have a stock rom with an unlocked bootloader and without modifications:
You can use:
Local Update Method (Recommended)
Fastboot Update Method
MSM Tool Restore Method
2. I have a stock rom with an unlocked bootloader and I'm rooted or I made some modifications:
You can use:
Local Update Method (Recommended)
Fastboot Update Method
TWRP Update Method
MSM Tool Restore Method
3. I have a stock rom with an unlocked bootloader and I'm unable to boot the stock rom:
You can use:
Fastboot Update Method (Recommended)
TWRP Update Method
MSM Tool Restore Method
4. I have a stock rom with an unlocked bootloader and I've not the stock rom or a rom stock based:
You can use:
Fastboot Update Method (Recommended)
TWRP Update Method
MSM Tool Restore Method
5. My Phone is bricked, i can't boot the rom, i can't enter in TWRP:
In this can you can try with:
Fastboot Update Method (Recommended)
MSM Tool Restore Method
METHODS
Local Update Method
With this method you can flash a newer version or the same version you already have
- Download the stock rom you want to flash from Official site or from XDA Thread ( OnePlus 6T or OnePlus 6 );
- Put the stock rom in your internal storage in the main folder;
- Go in settings/system/system updates/advanced settings/Local Update and choose your new rom ( Here you can find a video guide for this passage);
- Click on Install and at the end of the process you need to reboot the phone;
- If this is a big update it's better if you wipe your data.
Fastboot Update Method
With this method It's better flash the same version you already have:
The full method is explained in the relative thread:
OnePlus 6T Fastboot ROMS
OnePlus 6 Fastboot ROMS
TWRP Update Method
With this method It's better flash the same version you already have
- Download the stock rom you want to flash from Official site or from XDA Thread ( OnePlus 6T or OnePlus 6 );
- Put the stock rom in your internal storage;
- Click on Install;
- Choose the stock rom and flash it.
MSM Tool Restore Method
The full method is explained in the relative thread:
OnePlus 6T T-Mobile Version
OnePlus 6T
OnePlus 6
DONATE LINK
If you want to support the project please consider making a donation, thanks.
​
[/CENTER]
mauronofrio said:
Today i want to explain how to update your phone in all cases you can be. The Thread is divided into situations and methods.
CASES
I have a stock rom with an unlocked bootloader and without modifications:
You can use:
Local Update Method (Recommended)
Fastboot Update Method
MSM Tool Restore Method
I have a stock rom with an unlocked bootloader and I'm rooted or I made some modifications:
You can use:
Local Update Method (Recommended)
Fastboot Update Method
TWRP Update Method
MSM Tool Restore Method
I have a stock rom with an unlocked bootloader and I'm unable to boot the stock rom:
You can use:
Fastboot Update Method (Recommended)
TWRP Update Method
MSM Tool Restore Method
I have a stock rom with an unlocked bootloader and I've not the stock rom or a rom stock based:
You can use:
Fastboot Update Method (Recommended)
TWRP Update Method
MSM Tool Restore Method
My Phone is bricked, i can't boot the rom, i can't enter in TWRP:
In this can you can try with:
Fastboot Update Method (Recommended)
MSM Tool Restore Method
METHODS
Local Update Method
With this method you can flash a newer version or the same version you already have
- Download the stock rom you want to flash from Official site or from XDA Thread ( OnePlus 6T or OnePlus 6 );
- Put the stock rom in your internal storage in the main folder;
- Go in settings/system/system updates/advanced settings/Local Update and choose your new rom ( Here you can find a video guide for this passage);
- Click on Install and at the end of the process you need to reboot the phone;
- If this is a big update it's better if you wipe your data.
Fastboot Update Method
With this method It's better flash the same version you already have:
The full method is explained in the relative thread:
OnePlus 6T Fastboot ROMS
OnePlus 6 Fastboot ROMS
TWRP Update Method
With this method It's better flash the same version you already have
- Download the stock rom you want to flash from Official site or from XDA Thread ( OnePlus 6T or OnePlus 6 );
- Put the stock rom in your internal storage;
- Click on Install;
- Choose the stock rom and flash it.
MSM Tool Restore Method
The full method is explained in the relative thread:
OnePlus 6T T-Mobile Version
OnePlus 6T
OnePlus 6
Click to expand...
Click to collapse
Great Mauronofrio
Sent from my [device_name] using XDA-Developers Legacy app
---------- Post added at 02:18 PM ---------- Previous post was at 02:01 PM ----------
The second case?..Im rooted with twrp and stock rom on 6t..
so I have to flash the eventually full rom via twrp? !? which twrp?
Sent from my [device_name] using XDA-Developers Legacy app
isoladisegnata said:
Great Mauronofrio
Sent from my [device_name] using XDA-Developers Legacy app
---------- Post added at 02:18 PM ---------- Previous post was at 02:01 PM ----------
The second case?..Im rooted with twrp and stock rom on 6t..
so I have to flash the eventually full rom via twrp? !? which twrp?
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
No, the recommended is the local update
Nice work
Thanks for this. This is my first OnePlus device. I'm coming from a 5-year-old HTC One so updating pretty much meant wiping phone completely and reinstalling the ROM. I watched that video on the local update method. Good to know that even the full ROM installation doesn't wipe my data.
I do need some clarification on some things, though. I'm case 2 - stock ROM, unlocked BL & rooted. I have YouTube Vanced installed via Magisk as well as AdAway. I assume those would be considered modifications. In this guide, https://forum.xda-developers.com/showpost.php?p=78026660&postcount=3, it says that rooted users need to first uninstall Magisk & restore images before installing the update. Then reinstall Magisk after updating. But here it doesn't mention the need to do this. What's the difference between these two processes? I've read lots of posts lately where people get into a soft brick situation after making some modifications. But I'm not seeing any explinations as to why this happens & I'd like to avoid that.
If I use the local update method from this thread, will Magisk survive the update and will I still be rooted? Or will I need to reinstall it & re-root?
sharksfan7 said:
Thanks for this. This is my first OnePlus device. I'm coming from a 5-year-old HTC One so updating pretty much meant wiping phone completely and reinstalling the ROM. I watched that video on the local update method. Good to know that even the full ROM installation doesn't wipe my data.
I do need some clarification on some things, though. I'm case 2 - stock ROM, unlocked BL & rooted. I have YouTube Vanced installed via Magisk as well as AdAway. I assume those would be considered modifications. In this guide, https://forum.xda-developers.com/showpost.php?p=78026660&postcount=3, it says that rooted users need to first uninstall Magisk & restore images before installing the update. Then reinstall Magisk after updating. But here it doesn't mention the need to do this. What's the difference between these two processes? I've read lots of posts lately where people get into a soft brick situation after making some modifications. But I'm not seeing any explinations as to why this happens & I'd like to avoid that.
If I use the local update method from this thread, will Magisk survive the update and will I still be rooted? Or will I need to reinstall it & re-root?
Click to expand...
Click to collapse
If you flash a stock rom you will lose all the mods you already do, root and twrp included. If you want you can keep the root, i will attach a image guide.
mauronofrio said:
If you flash a stock rom you will lose all the mods you already do, root and twrp included. If you want you can keep the root, i will attach a image guide.
Click to expand...
Click to collapse
Those are the instructions that I was referring to that had me a bit confused. Is there any benefit to doing the update that way compared to using the local update method and re-flashing Magisk, the way I did when I rooted the first time? Does one method have less potential for messing something up?
sharksfan7 said:
Those are the instructions that I was referring to that had me a bit confused. Is there any benefit to doing the update that way compared to using the local update method and re-flashing Magisk, the way I did when I rooted the first time? Does one method have less potential for messing something up?
Click to expand...
Click to collapse
It's the same thing...
mauronofrio said:
It's the same thing...
Click to expand...
Click to collapse
Great. Thank you.
I have bricked my new phone. With your flash-all.bat I have restored it in like 2 minutes.
Thanks A LOT mauronofrio! Grazie, Grazie molto!
SOS: please help to restore my oneplus6t to factory condition
mauronofrio said:
Today i want to explain how to update your phone in all cases you can be. The Thread is divided into situations and methods.
CASES
1. I have a stock rom with an unlocked bootloader and without modifications:
You can use:
Local Update Method (Recommended)
Fastboot Update Method
MSM Tool Restore Method
2. I have a stock rom with an unlocked bootloader and I'm rooted or I made some modifications:
You can use:
Local Update Method (Recommended)
Fastboot Update Method
TWRP Update Method
MSM Tool Restore Method
3. I have a stock rom with an unlocked bootloader and I'm unable to boot the stock rom:
You can use:
Fastboot Update Method (Recommended)
TWRP Update Method
MSM Tool Restore Method
4. I have a stock rom with an unlocked bootloader and I've not the stock rom or a rom stock based:
You can use:
Fastboot Update Method (Recommended)
TWRP Update Method
MSM Tool Restore Method
5. My Phone is bricked, i can't boot the rom, i can't enter in TWRP:
In this can you can try with:
Fastboot Update Method (Recommended)
MSM Tool Restore Method
METHODS
Local Update Method
With this method you can flash a newer version or the same version you already have
- Download the stock rom you want to flash from Official site or from XDA Thread ( OnePlus 6T or OnePlus 6 );
- Put the stock rom in your internal storage in the main folder;
- Go in settings/system/system updates/advanced settings/Local Update and choose your new rom ( Here you can find a video guide for this passage);
- Click on Install and at the end of the process you need to reboot the phone;
- If this is a big update it's better if you wipe your data.
Fastboot Update Method
With this method It's better flash the same version you already have:
The full method is explained in the relative thread:
OnePlus 6T Fastboot ROMS
OnePlus 6 Fastboot ROMS
TWRP Update Method
With this method It's better flash the same version you already have
- Download the stock rom you want to flash from Official site or from XDA Thread ( OnePlus 6T or OnePlus 6 );
- Put the stock rom in your internal storage;
- Click on Install;
- Choose the stock rom and flash it.
MSM Tool Restore Method
The full method is explained in the relative thread:
OnePlus 6T T-Mobile Version
OnePlus 6T
OnePlus 6
DONATE LINK
If you want to support the project please consider making a donation, thanks.
​
[/CENTER]
Click to expand...
Click to collapse
Hey guys,
Re: OnePlus6T, Oxygen OS 9.0.7
SOS: Can anyone give me a Guide for Dummies (lol) kinda tutorial on how to unroot, remove twrp, remove magisk, remove adb+fastboot and everything else that had been done in the process of rooting+modding. (root as per https://oneplus.gadgethacks.com/how-to/root-your-oneplus-6t-with-magisk-0190586/ ) (stereo mod as per https://forum.xda-developers.com/oneplus-6t/themes/magisk-stereo-speaker-mod-oneplus-6t-t3860041)
Actually, i am a total newbie/non-techie. But right after updating to os 9.0.7, i took fancy to having a stereo output through the earpiece, too. But in the end, there was no sound from the earpiece. Also, i found some other complications in other sections of the phone, although i don't know whether they were related/due to the stereo mod or the rooting process. And being a non-techie, I did not want to tinker with my phone any further. So, i decided to roll back and intuitively (1)first uninstalled stereo mod from magisk, (2)then uninstalled magisk from within the magisk itself, (3)then used the case #2 method, illustrated at https://forum.xda-developers.com/oneplus-6t/how-to/how-to-update-return-to-stock-oneplus-6-t3870795 to go back to the stock rom.
But i find that i have still not gone fully back to the factory state. When booting, i find the screen which informs me about the unlocked fastboot status, etc., which shows that twrp etc are still on my system. I would certainly want to go back to the factory condition. Will someone of you guide me step by step (as i am a non-techie) into removing this fastboot, twrp, etc. and bring me back to the factory condition and also (ii)in removing any fastboot/adb related things, if any, from my windows 10 PC? I shall be very grateful, as I am scared as well as left with no further technical skill to delve further into technical misadventure. It was my big mistake to undertake this exercise, without possessing any technical knowhow, i admit.
Anyway, someone please help.
mnbvcxzaq1 said:
Hey guys,
Re: OnePlus6T, Oxygen OS 9.0.7
SOS: Can anyone give me a Guide for Dummies (lol) kinda tutorial on how to unroot, remove twrp, remove magisk, remove adb+fastboot and everything else that had been done in the process of rooting+modding. (root as per https://oneplus.gadgethacks.com/how-to/root-your-oneplus-6t-with-magisk-0190586/ ) (stereo mod as per https://forum.xda-developers.com/oneplus-6t/themes/magisk-stereo-speaker-mod-oneplus-6t-t3860041)
Actually, i am a total newbie/non-techie. But right after updating to os 9.0.7, i took fancy to having a stereo output through the earpiece, too. But in the end, there was no sound from the earpiece. Also, i found some other complications in other sections of the phone, although i don't know whether they were related/due to the stereo mod or the rooting process. And being a non-techie, I did not want to tinker with my phone any further. So, i decided to roll back and intuitively (1)first uninstalled stereo mod from magisk, (2)then uninstalled magisk from within the magisk itself, (3)then used the case #2 method, illustrated at https://forum.xda-developers.com/oneplus-6t/how-to/how-to-update-return-to-stock-oneplus-6-t3870795 to go back to the stock rom.
But i find that i have still not gone fully back to the factory state. When booting, i find the screen which informs me about the unlocked fastboot status, etc., which shows that twrp etc are still on my system. I would certainly want to go back to the factory condition. Will someone of you guide me step by step (as i am a non-techie) into removing this fastboot, twrp, etc. and bring me back to the factory condition and also (ii)in removing any fastboot/adb related things, if any, from my windows 10 PC? I shall be very grateful, as I am scared as well as left with no further technical skill to delve further into technical misadventure. It was my big mistake to undertake this exercise, without possessing any technical knowhow, i admit.
Anyway, someone please help.
Click to expand...
Click to collapse
You can try to use msmtool, it should be fix all these problems
mauronofrio said:
You can try to use msmtool, it should be fix all these problems
Click to expand...
Click to collapse
Can you give more details about "msmtool", what it is, where to find it and how to use it? Thanks.
mnbvcxzaq1 said:
Can you give more details about "msmtool", what it is, where to find it and how to use it? Thanks.
Click to expand...
Click to collapse
As is written in the first post:
MSM Tool Restore Method
The full method is explained in the relative thread:
OnePlus 6T T-Mobile Version
OnePlus 6T
OnePlus 6
mauronofrio said:
As is written in the first post:
MSM Tool Restore Method
The full method is explained in the relative thread:
OnePlus 6T T-Mobile Version
OnePlus 6T
OnePlus 6
Click to expand...
Click to collapse
Ok. Thanks a lot. I am gonna try it.
I have a query tough. That msmtool post relates to 9.0.5. I already am on 9.0.7. Shall i still use it?
mnbvcxzaq1 said:
Ok. Thanks a lot. I am gonna try it.
I have a query tough. That msmtool post relates to 9.0.5. I already am on 9.0.7. Shall i still use it?
Click to expand...
Click to collapse
Yes it's not a problem
mauronofrio said:
Yes it's not a problem
Click to expand...
Click to collapse
Thanks to you and this XDA community, for correctly guiding/directing me to the msmtool. Msmtool saved my life. i can't thank you guys enough.
Cheers.
Hi I need your help, Iwant yo re-lock the bootloader on my OnePlus 6T
I understand that I have to go back everything on factory but I dont know how do it.
I did the ''root'' because I wanted to change the font and improve the sound but tlost quality on Netflix, and I that is important to me because I use it a lot. I want to back to L1
The problem was when I tried to eliminate the ''root'' (magisk) The system did not star and i was afraid because Iam not an expert so i flashed the ''full OTA'' and it works again, Now I want to remove twrp but I dont know how so I need help because i dont want brick my phone
I got the recovery 9.0.7 stock.img if I flash it will work?
I have stock rom with TWRP, Can I relock the bootloader?
MSMTool remove TWRP?
sorry for my english..
ross92 said:
Hi I need your help, Iwant yo re-lock the bootloader on my OnePlus 6T
I understand that I have to go back everything on factory but I dont know how do it.
I did the ''root'' because I wanted to change the font and improve the sound but tlost quality on Netflix, and I that is important to me because I use it a lot. I want to back to L1
The problem was when I tried to eliminate the ''root'' (magisk) The system did not star and i was afraid because Iam not an expert so i flashed the ''full OTA'' and it works again, Now I want to remove twrp but I dont know how so I need help because i dont want brick my phone
I got the recovery 9.0.7 stock.img if I flash it will work?
I have stock rom with TWRP, Can I relock the bootloader?
MSMTool remove TWRP?
sorry for my english..
Click to expand...
Click to collapse
First post is pretty clear. If you don't know what to do go with the fastboot method, the local update method (if that's what you did with full OTA) must have overwritten your recovery anyway. Boot in recovery to see which recovery you have.
Hello,
I used your fastboot guide yesterday to recover my phone but I accidently flashed a newer version (9.0.10) then I had (9.0.7).
Do I need to reflash my device? If so with what method?
Steps I did:
1. Boot TWRP and wiped all except Internal Storage
2. Reboot in to the bootl;oader
3. Unpacked 9.0.10-OnePlus6TOxygen_34_OTA_017_all_1812111237_f52c4612-FASTBOOT.zip
4. Used flash-all.bat
5. Phone rebooted and working
I did not used TWRP because it did not show the correct internal storage??? If antone knows how to fix that please let me know using latest blu_spark TWRP

Categories

Resources