yashsingh1/xdaforums huggingface dataset:
[Sony Xperia 1 II Questions & Answers] cd993:
I'm currently on rooted:

XQ-AT51_Customized UK_1321-7192_58.0.A.0.1040_R8A

Looking to update to:

XQ-AT51_Customized UK_1321-7192_58.0.A.3.31_R8A

What's the best way to do this?

Research seems to suggest delete all .TA files aswell as the userdata file and if that works, to flash an extracted/pactched boot.img that I've already prepped. Though some users mention that they then get a decryption error resulting in the need to fully wipe.

I'd be grateful to hear from anyone who has successfully updated their Xperia 1 ii (with Flashtool or newflasher?).

Many thanks
[Sony Xperia 1 II Questions & Answers] cd993:
Bump - anyone successfully updated their rooted firmware yet?
[Sony Xperia 1 II Questions & Answers] Montane:
I assumed by flashing to Customized UK we would still get updates pushed to the phone? I flashed my new device last week to 58.0.A.3.39 and assumed if I wanted to update it'd ask me through my settings. Do I have to manually do this now?
[Sony Xperia 1 II Questions & Answers] cd993:
Hmm I thought that by being rooted/bootloader unlocked it's messed with the system updates. See attached, as Xperia Assist says there's an update available yet then clicking via Software Update it says I'm up to date.

I'm on 58.0.A.0.1040 customized UK and yet there's 58.0.A.3.39 available via Xperifirm
[Sony Xperia 1 II Questions & Answers] Winrahr:
I updated my AT52 from 3.31 to 3.39 with newflasher. Worked fine. Haven't tried to remove the userdata file to not lose all my stuff though, gonna try that for the next update.

Basically I downloaded with xperifirm and just ran newflasher and went through the prompts, didn't remove any files because I wanted to flash all partitions. Then patched the boot.img from that firmware and flashed through fastboot.
[Sony Xperia 1 II Questions & Answers] cd993:
Cheers. I'm curious if there's a way to update without wiping data, but I guess a good clean flash is not a bad thing, albeit timely
[Sony Xperia 1 II Questions & Answers] Winrahr:
Removing userdata_X-FLASH-CUST-2389.sin from the directory before running newsflasher should be equivalent to a dirty flash. But I've never tried it since this is my first Sony device since the Z1.
[Sony Xperia 1 II Questions & Answers] Montane:
I guess it's a whole new flash then. Backup and go again. Like you said. Timely :rolleyes:
[Sony Xperia 1 II Questions & Answers] cd993:
Thanks yeah I may try that, or just stick to clean flashes

Yup, though a thought is to perhaps get a sd card and use that for most data. Least that way when internal storage gets wiped, the sd card would be untouched. Not been able to do that for a while!
[Sony Xperia 1 II Questions & Answers] Winrahr:
Feels good to have an sd card to put all your backups on again doesn't it haha. I will not miss having to back up the internal storage slowly through USB2.0 just in case I have to wipe the entire storage.

I'm going to try a dirty flash on the next firmware update and hopefully I don't soft brick it again. Not having TWRP is new and scary to me.
[Sony Xperia 1 II Questions & Answers] cd993:
Bump

With an updated firmware slowly rolling out (the one adding the RAW support and July security update) patch) etc, anyone managed to update when bootloader unlocked and rooted, avoiding losing data?

If I have to do a clean flash it wouldn't be the end of the world but I would love to avoid the hassle of (even with the usage of Swift Backup etc) and little things like not losing my autobrightness settings which have been learning my usage etc
[Sony Xperia 1 II Questions & Answers] YandereSan:
As others have said, delete the userdata file to make sure that partition isn't erased. I don't think dirty flashing is as a big of a deal as people are making it out to be nowadays.

Just make sure you extract and pre-patch the new boot image with Magisk before you flash.
[Sony Xperia 1 II Questions & Answers] cd993:
Thanks for the response.

When the time comes I'll certainly give that a go, though will indeed br sure to make a full backup in case.

I'm still hoping for someone to comment confirming this method works as I've read that some users get a decryption error, but I'll give it a go soon and post back ?
[Sony Xperia 1 II Questions & Answers] Winrahr:
Newflasher guy gets mad when you talk about anything other than flashing every file so I'll post my update here.

Removed persist.sin and userdata.sin from the 3.88 update and ran through newflasher v33. Booted right back up and lost no data. YMMV.
[Sony Xperia 1 II Questions & Answers] Montane:
I'm no pro to all this but I rooted for WiFi calling when I first got the phone. The other day I saw the update for Raw on my phone and updated just fine!?
[Sony Xperia 1 II Questions & Answers] Winrahr:
By "rooting" for WiFi calling did you just flash another customization or did you unlock the bootloader? AFAIK there's no reason to root for getting WiFi calling as flashing another firmware is the easiest way.
[Sony Xperia 1 II Questions & Answers] cd993:
Do you mean to say you received at OTA update notification via the system update option when rooted? Or you did a manual flash via newflasher?
[Sony Xperia 1 II Questions & Answers] Montane:
I'll shutup. I flashed my stock Xp1 ii from O2 XQ_AT51 to enable wificalling for Vodafone etc.
[Sony Xperia 1 II Questions & Answers] Winrahr:
If you unlocked your bootloader then you will not be able to take OTAs. You do not need to have bootloader unlocked to flash another stock firmware (ie through flashtool or newflasher). You do need to have bootloader unlocked to obtain root privileges.
[Sony Xperia 1 II Questions & Answers] YandereSan:
I unlocked my Xperia 1 II, downloaded the latest raw update from XperiFirm, deleted the userdata file, put the phone into download mode (vol. down + power), flashed via NewFlasher v33.

Phone booted up perfectly fine. Running the latest update and have raw option for all 3 cameras.

The only time your device will wipe is when you first unlock the bootloader. Otherwise, you shouldn't have any issues updating it.
[Sony Xperia 1 II Questions & Answers] cd993:
Nice, did you need to remove the persist.sin file as well as the userdata.sin file, as another user suggested?
[Sony Xperia 1 II Questions & Answers] cd993:
Hmm just tried flashing via Newflasher and I'm getting a "no usb device" error - all drivers are installed fine and dI managed to flash firmware before. Any ideas?
[Sony Xperia 1 II Questions & Answers] Winrahr:
persist.sin is skipped by default, but I just remove for a peace of mind.

Did you get it in flash mode (vol down) instead of fastboot mode (vol up)? I mess that up all the time.
[Sony Xperia 1 II Questions & Answers] YandereSan:
Your device has to be in download mode, not fastboot. Power off the device, then hold vol. down + connect usb cable. If it's still failing, you need to install the driver from the Newflasher.
[Sony Xperia 1 II Questions & Answers] cd993:
Thank you for getting back to me, that helped!
[Galaxy S6 Q&A, Help & Troubleshooting] Ackoman:
Hi,

My Mum's old phone has finally given up the ghost, and I thought I'd help her out by giving her my old S6, which has been gathering dust for a couple of years.

My S6 was locked to Vodafone, but my Mum is on EE.

As such, using Odin 3.14.4, I installed G920FXXU6ERF5_G920FEVR6ERF2_G920FXXU6ERF6_HOME to the S6 - booted it up and saw that it now has all the appearance of being an EE phone, and so posted it off to my Mum.

I also had to get EE to send an new sim, since the S6 takes a nano and my Mum's old phone took at micro.

My sister is now visiting my Mum and trying to get the phone to work, but is having difficulty. The pin number that EE provided with the new sim does not work, and it is now saying that the sim is invalid.

I am now worried that putting the EE firmware onto the phone was not sufficient to unlock it from Vodafone.

Is there some other step I should have taken?

Thanks,

Ackoman
[Motorola One Action Questions & Answers] breno007:
não consigo ativar a opção oem nas configurações consigo fazer root do mesmo jeito

?
[Razer Phone 2 Guides, News, & Discussion] eedwin101:
Thank you excellent post just what I needed.
[Razer Phone 2 Guides, News, & Discussion] Usyless:
:D I'm glad it helped you
[Razer Phone 2 Guides, News, & Discussion] eedwin101:
If you don't mind what other GSI ROMs have you tried that worked well with this phone I am particularly interested in the Google pixel Android 11. Thanks again you have extended the life of this phone for me.
[Razer Phone 2 Guides, News, & Discussion] Usyless:
I know that phhussons AOSP works on this phone with no issues aswell, you might have to use securize to get safety net to pass tho.

android 11 will boot on this phone however iirc you won't be able to hear and other people won't hear you in phone calls.

havoc gsis I believe works but I haven't tested it and I have only heard of one person using it.

BLISS/LOSQ/CAOS don't work on this phone at all.

and after that I don't think there really is many more GSIs that work as they just won't boot for bizarre reasons
[Razer Phone 2 Guides, News, & Discussion] _Sherrif:
How about text messaging. Currently i have not been able to get SMS to work with any GSI on Android 10. Are you able to send and receive text messages? Did you have to do anything to get it working? If so, let me know because i have been having a heck of a time with it.
[Razer Phone 2 Guides, News, & Discussion] Usyless:
oh this issue... are you on T-Mobile by any chance as if you are there is no fix yet and you will have to wait for official lineageOS.

I am on three (UK) and everything works perfectly.
[Razer Phone 2 Guides, News, & Discussion] _Sherrif:
No AT&T.
[Razer Phone 2 Guides, News, & Discussion] Usyless:
you might be able to use this fix (it's a magisk module) as it is made for AT&T https://t.me/razer_phone/14202

its called a volte fix but it should help with sms, if it doesn't work you can just remove the module, reboot then delete some qualcomm.ims app (should be shown in your app list)
[Razer Phone 2 Guides, News, & Discussion] Usyless:
or you could try this: https://t.me/razer_phone/12949

install instructions shown in the message
[Razer Phone 2 Guides, News, & Discussion] _Sherrif:
Aight! Definitely worth a try. Tried everything else.

Thank you!
[Razer Phone 2 Guides, News, & Discussion] frannet:
Thanks!! Excellente guide, very important your note : "I recommend you connect it to a USB 2.0 port", with usb 3 doesn't work bootloader commands.
[Razer Phone 2 Guides, News, & Discussion] Usyless:
Thanks :)

It doesn't necessarily not work with usb 3.0, for some people (and for me) it works with a usb 3.0 port however for a lot of people they have issues with it.

I will add it tho.
[Razer Phone 2 Guides, News, & Discussion] frannet:
It's strange. With my razer blade it has not worked (usb 3) but with a Dell Precision with a one port usb 2, work fine. I was going crazy. :eek:
[Razer Phone 2 Guides, News, & Discussion] Usyless:
Yeah I remember I helped somebody else root their phone and it didn't work with their razer blade either, they had to use some very old laptop.
[Razer Phone 2 Guides, News, & Discussion] frannet:
Guys, sorry for the off-topic, is available the dark mode for razer menu? i can't find it
[Razer Phone 2 Guides, News, & Discussion] Usyless:
What do you mean razer menu? if you mean settings then it's a MAYBE.

on a gsi, dark mode is available

on stock android 9 it is possible. you need to use smali patcher to enable signature spoofing and then use swift theme installer alpha (substratum themes won't theme the settings)(you need to contact the developer to get the alpha version as others wont work)
[Razer Phone 2 Guides, News, & Discussion] frannet:
Yeah I talk about the settings menu. I thought dark mode was available for all android versions ??
[Razer Phone 2 Guides, News, & Discussion] Usyless:
yeah tbh idek, all the android fanboys were saying at how long it took apple to make a dark mode but it was implemented in android 10 later than ios 12 I swear ?

but as you are rooted you should be able to get a dark mode, just do as I said with smali patcher and the swift installer alpha
[Razer Phone 2 Guides, News, & Discussion] frannet:
i

Hahaha, yeah, If I'm honest, dark mode in iOS work fine, very fine, normally I use my iPhone 11 and I play with android devices for.. for play with the OS and develoment OS, and as second andriods phone for maybe.... I go to check the gsi mode, thanks guy!!
[Razer Phone 2 Guides, News, & Discussion] Usyless:
no problem :p

I'm considering in the future to get an iPhone 13 pro as my main phone and keep the razer phone 2 (if it survives for that long as a toy or to mess around with software) or get a cheap ass android phone to mod
[Razer Phone 2 Guides, News, & Discussion] w2830:
**Really dump question warning** Does it mean I'll be on Android 10 after following through this guide?
[Razer Phone 2 Guides, News, & Discussion] Usyless:
yes, just skip the only root part, so do the BASICS, INSTALLING TWRP, GSI + ROOT, and PASSING SAFETYNET
[Razer Phone 2 Guides, News, & Discussion] Votrexx:
Nice guide. Help most people.

Can you tell us whats not working and bug you found? Is the chroma working?
[Razer Phone 2 Guides, News, & Discussion] Usyless:
Chroma is working if you install the Logo+ App.

There are no bugs afaik
[Razer Phone 2 Guides, News, & Discussion] w2830:
Appreciate the instruction! Will definitely find a time and give it a go. This phone is awesome, just getting a bit bored:D
[Razer Phone 2 Guides, News, & Discussion] w2830:
Hey Useless, would you have any idea on why the phone is not showing up in "My Computer" on windows 10? Yes, the mode was changed to File transfer. Tried 2 different computers, different cables, reboots, even tried a MTP fix...it just wouldn't show up. Computer recognizes it as seen in the right bottom corner of the screen. By the way, it shows up fine on my MacBook. Is it possible to complete the installation on MacOS? Thank in advance for your time.

Neil
[Razer Phone 2 Guides, News, & Discussion] uwekro:
Excelent description. Thanks a lot. Are OTA updates available in Q GSI roms? And does the 120hz mode work?
[Razer Phone 2 Guides, News, & Discussion] Usyless:
I am not exactly sure about that, you could try going into device manager when you plug the phone in to see what appears, delete that driver and then replug the phone and it should appear.

However, it is also possible on macOS but the steps are just different, you need to follow the macOS install instructions on the Google USB drivers and Google ADB and FASTBOOT drivers (on google developers website not sure) and then put .\ in front of every fastboot command you run in the terminal.

Here you can get the macOS ADB and FASTBOOT tool, but you still need a find a guide on how to install it all.
[Razer Phone 2 Guides, News, & Discussion] Usyless:
120hz is available, even 1080p is available, you can use 120, 90, 60, 50, 48 and 30. However you do miss out on the variable refresh rate so battery life may be worse but I haven't experienced that myself.

On GSIs OTA updates are not available however it is very easy to update, you get the latest .IMG file, flash it in TWRP, resize system, flash GAPPS and reboot to system, it takes a couple minutes but then boots to the updated version.
[Razer Phone 2 Guides, News, & Discussion] w2830:
Really appreciate the info!:good:

It'd be a bummer if the battery life is going be worse than stock. But I'm still all in for it.
[Razer Phone 2 Guides, News, & Discussion] Usyless:
yeah no problem.

I get the usual 3-5 hours screen on time depending on what I use in my phone and how much it heats up.
[Razer Phone 2 Guides, News, & Discussion] metty2k13:
cant get phone to flash boot_a and boot_b i send the commands and it just does nothing not even any failed text it just hangs im on windows 10 bootloader is unlocked and fastboot devices shows up my device but if i put the command in again phone serial under fastboot devices then displays this ??????? and phone then says hold any key to shut down... any help at all guys its driving me mad im on mr3 aswell
[Razer Phone 2 Guides, News, & Discussion] Usyless:
Which windows version are you on?

Also I would recommend setting up a Linux VM using VMWare workstation, then installing fastboot drivers onto that by typing

sudo apt update && sudo apt install android-tools-adb android-tools-fastboot

in the Linux terminal, after that fastboot should work in Linux.

Windows is broken with the fastboot drivers that razer uses sadly.
[Razer Phone 2 Guides, News, & Discussion] metty2k13:
im using windows 10 version 1909 os build 18363.959

i tried the linux route but i got completely lost on it especially using a vm for it
[Razer Phone 2 Guides, News, & Discussion] Usyless:
Did you unlock both critical and normal bootloader partitions?

I would recommend the VM route tho as it's guaranteed to work.

Download VMware Workstation from here https://www.vmware.com/uk/products/workstation-player/workstation-player-evaluation.html

Then download Linux mint 20 cinnamon https://linuxmint.com/download.php

then do the first thing I said in my first reply to you, make sure to allow usb pass through to the VM
[Razer Phone 2 Guides, News, & Discussion] metty2k13:
yes both the unlock bootloader commands worked but anything relating to flashing just hangs i will try the linux thing again i just used ubuntu last time but ill try youre way now thank you for your help
[Razer Phone 2 Guides, News, & Discussion] Usyless:
Yeah no problem, this way should work 100% just do everything as I mentioned there and use what I linked.

Also when setting it up in VMWARE I think you need to set it to like Linux kernel based 5.4 or something I can't remember
[Razer Phone 2 Guides, News, & Discussion] metty2k13:
set up the vm the phone is detected in it done both commands you listed how ever when i do fastboot flash boot_a boot.img

i just get waiting for device are the commands the same as linux or am i sending wrong command the usb device is definatly passed through to the vm as when booted it shows up the storage system and its listed as razer usa android in the vm with the green dot on it in the file bar
[Razer Phone 2 Guides, News, & Discussion] Usyless:
you don't just type boot.img, you need to type the path to boot.img like something/something/boot.img
[Razer Phone 2 Guides, News, & Discussion] metty2k13:
i believe thats correct just fails and phone goes to a differant screen press any key to shutdown
[Razer Phone 2 Guides, News, & Discussion] Usyless:
Oh this issue... are you connecting the phone to a USB 2 or 3 port?

if changing that doesn't work you probably have to try a different pc.
[Razer Phone 2 Guides, News, & Discussion] metty2k13:
usb2 and ive tried multiple cables too i dont have another pc....this damn thing is starting to annoy me now
[Razer Phone 2 Guides, News, & Discussion] Usyless:
maybe try USB3? at this point im not sure where to guide you.

other people who ive helped with this issue had to switch to a different pc sadly.

one final thing, is your pc intel or AMD based?
[Razer Phone 2 Guides, News, & Discussion] metty2k13:
my pc is intel based and its ok you've been a great help regardless thanks anyways
[Razer Phone 2 Guides, News, & Discussion] Usyless:
no problem, i would help more but i have no clue what to do anymore.

maybe try googling the issue and that could lead you somewhere.

Good luck :)
[Razer Phone 2 Guides, News, & Discussion] metty2k13:
its fine i already moved off the razer phone 2 to a xiaomi mi9 lite due to the poor battery life of the razer phone just wanted to mess around with it see if a custom rom or something could improve battery life
[Razer Phone 2 Guides, News, & Discussion] Usyless:
oh okay i understand, i also moved off of the razer phone 2 and i am using an oppo find x2 pro now.

btw, GSIs pretty much gave the same battery life as usual
[Razer Phone 2 Guides, News, & Discussion] r7zhh:
It is so damn clear of your step by step guidance. I've already completed the factory image flash and magisk root, and 3rd party ROM lineage 17.1 flashing on the way.

Now I wonder if Havoc OS chosen for the GSI, could I just follow the guidance and complet the flashing? Is there any mod of ROM needed, for I found the linked lineage 17.1 image is not official edition?

Thanks again for your kind sharing.
[Razer Phone 2 Guides, News, & Discussion] Usyless:
Yes the linked lineageos is not official as it is only a GSI which is made to run on as many phones as possible.

To run havocOS you would need to find a havocOS GSI, make sure it's for arm64 A/B devices and it might work.

Remember that not all GSIs work, for example lineageos works but a bliss gsi won't work on this phone so it's up to you to test it.

Also, no ROM modification is needed.
[Razer Phone 2 Guides, News, & Discussion] r7zhh:
OK, I would like to give it a try. Many thanks.
[Razer Phone 2 Guides, News, & Discussion] r7zhh:
There is a weired problem when I try to flash GSI, to be concrete, when it comes to step4, I tried several times, however the resize operation failed once after another, and the feedback goes as follows,

Repairing System before resizing.

Repairing System using e2fsck...

/sbin/e2fsck -fp /dev/block/bootdevice/by-name/

system_a process ended with ERROR: 8

Unable to repair System.

Would you please kindly advise any further solution, Thanks in advance.
[Razer Phone 2 Guides, News, & Discussion] Usyless:
I've not seen this before, with my experience sometimes the resize failed but then I retried 1-2 times and it worked eventually.

One question, when you open TWRP, does it ask you for a decryption password? (it shouldn't if you flashed f2fs)
[Razer Phone 2 Guides, News, & Discussion] r7zhh:
I remember it asked for the decrypt password while I ignored it and went on. So it could be the f2fs installation fault? But when I install the f2fs zip after the kernel zip, TWRP made it successfully
[Razer Phone 2 Guides, News, & Discussion] r7zhh:
I just redo the whole process from the very beginning of stock ROM flashing ,while still encountered the same problem when chose to resize the system in step 4, and this time f2fs flashed with no doubts.

Thanks anyway, I should have not missed any point I think, but it doesn't work, maybe should stay with stock ROM for a while.
[Razer Phone 2 Guides, News, & Discussion] Usyless:
Okay then ?
[Razer Phone 2 Guides, News, & Discussion] aximil7:
I completed the steps listed and rebooted. Now I've got a screen with a curved aqua line that has a circle running through it. I'm assuming it's the LineageOS loading screen but it's been 10 minutes and nothing has happened.

How long should I wait? Should I go through the steps again?
[Razer Phone 2 Guides, News, & Discussion] Usyless:
Yes that's the loading screen, it should take up to like 5 minutes to boot the first time.

questions:

1. do you run the global version of the razer os (aura)?

2. did you resize system after flashing the .IMG to flash gapps and magisk

also here are some things to try:

1. go back into the recovery and factory reset, then reflash the .IMG, resize system and flash gapps and magisk
[Razer Phone 2 Guides, News, & Discussion] aximil7:
I ended up reflashing the img, gapps, and magisk and it booted up after just a few minutes this time. However it is not detecting my SIM card. So I'm going to try reflashing again.

How would I know if I was running the global version?
[Razer Phone 2 Guides, News, & Discussion] Usyless:
Did you try restarting and ejecting your SIM and putting it back in?

also if you don't have a carrier splash screen when the phone boots you're on the global version.

Make sure to factory reset and wipe dalvik too (wipe -> advanced -> select dalvik cache and wipe) before reflashing it all.