yashsingh1/xdaforums huggingface dataset:
[Google Pixel 3a Questions & Answers] sic0048:
Coming from a custom ROM, I suggest that you flash the full factory image from Google. You can find the images and directions here. This will fully reset your phone and wipe all data from it, including everything on the "SD Card" partition, so make sure you back up anything important to an off phone storage location.

The directions should be pretty easy to follow. The entire process does take some time to flash however (perhaps 45 minutes) - just be patient with it. Let us know if you have any issues.

Doing this will obviously remove root, but it does not relock the bootloader. If you want to keep the completely stock ROM, you can relock the bootloader after flashing the full factory image. However, if you root it or otherwise modify the phone at all, do not relock the bootloader.
[Google Pixel 3a Questions & Answers] PGHammer:
Reverting back to stock (all Pixels)

Reverting back to stock is dead-simple with *all* Pixels - all you need is a factory image and the proper cabling (in this case, USB-A to USB-C). When you extract the factory image, you will see two scripts - flash-all.sh (for Linux computers) and flash-all.bat (for Windows computers). Where the decision gets tough is *what* factory image do you want to revert to - especially with older Pixels. (The original Pixel has Android 7.1.1 as an optional factory image - it is, in fact, the "only" Pixel that goes back that far, as this version of Android 7 was unique to it. Yes; there are still original Pixels in service; my Mom has one, in fact. However, I had no interest in saddling Mom's refurbished Pixel with the unicorn that is Android 7.1.1; instead - despite that the phone she had been running was sporting the even older - and moldier - Android 7/Nougat - she would follow me to Android 10. (The difference is that she is not running in "dark mode"; however, that is the only difference.)
[Google Pixel 3a Questions & Answers] Bramton1:
Grab an Android Pie factory image (Google "Pixel Factory Images") and flash it in Fastboot. Will wipe the internal memory and restore the stock recovery. Setup the phone with the bare basics (you will wipe it again). Then boot back to Fastboot and relock the bootloader. Phone will auto wipe. Done.
[Samsung Galaxy Note 9 Questions & Answers] SkylerMews:
I would like to start off by saying thank you to all of you who work hard and make this forum the great place that it is! You all are wonderful!

Now, to the point. Recently since updating my phone to the newest updates, auto-correct no longer works on ANY keyboard I try. I've used GBoard, Swiftkey, and Samsung's default keyboard and none of them work.

List of debugging steps I've taken:

Restarting phone

Turning phone off and leaving it for 10+ seconds

Clearing phone cache in boot menu

Uninstall both Gboard and Swiftkey and reset their data

Toggle on and off the auto-correct settings on all keyboards and do restarts in between

Make sure the default keyboard was the keyboard I was trying to use

Start phone in safe mode to make sure none of my apps had disabled the feature some how

Update the keyboard language to a newer version

Update Samsung keyboard to newest version

Enable all disabled bloatware I had disabled

Clear Samsung keyboard Cache and Data

Reset Samsung keyboard settings to defaults

I've tried everything in the list and then some. And every single time, autocorrect won't work. I'll see it make the proper suggestion for a word, but when I go to put a space, it won't correct the word and just leaves the typo. For instance, I type "testibg" instead of "testing" The suggestions guess perfectly what I meant, but it never replaces it.

This drives me nuts! If anyone can help, I would much appreciate it! I'm legally blind, so typing is difficult for me and I often make mistakes and would like to have this feature back!

I've included a logcat log while I was trying to use the autocorrect feature. Maybe this can show why?
[OnePlus 7 Questions & Answers] who ah way:
EDIT

TL;DR: in this post lower on the thread I shared some of the things I learned in the process.

--

Original Post

Hi everyone,

My OP7 (non pro) is on the way. Really excited about it!

I'm trying to line up all the information and downloads in advance in order to root the device calmly when it arrives.

One thing I remember when I tried to root my last phone (Huawei P10) is that I rushed too much and ended up losing a lot of time. Also there were some "gotchas" that made it kind of hard with the particular version I had bought. In the end, after bricking and unbricking a couple of times, I gave up.

So, my question: with the OP7, are there any "Gotchas" I should be aware of, little subtleties that it would be better to know before starting?

If I follow the steps under Steps for unlocked bootloader with TWRP AND Root(Magisk) on this thread, should it just work?

(Don't have it in hand yet so don't have any version numbers, but in case that helps answer the question, here is the Amazon listing where I bought the phone.)

So far this is the list of files I have downloaded:

MagiskManager-v7.3.2.apk

twrp-3.3.1-52-guacamole-unified.img

Magisk-uninstaller-20190604.zip

Magisk-v19.3.zip

platform-tools_r29.0.2-windows.zip

twrp-3.3.1-52-guacamole-unified-installer.zip

OnePlus7Oxygen_14.E.14_OTA_014_all_1907280716_7e28877dd39949e3.zip

Should I download something else (for instance a system upgrade)?

Thank you in advance for any tips!
[OnePlus 7 Questions & Answers] swehes:
So don't do an over the air update afterwards even if the option is there. It put my phone in bootloop. Had to reinstall twrp afterwards.
[OnePlus 7 Questions & Answers] Deleted member 5408779:
Not sure what you are talking about. I did it 3 times and it worked perfectly.

1. Install OTA via Updater

2. install TWRP trough magisk

3. Install magisk to inactive slot

4. reboot

---------- Post added at 06:15 AM ---------- Previous post was at 06:13 AM ----------

So far it sounds good. But I have 2 tips.

1. Never lock Bootloader if phone isn't stock! You will 100% brick it.

2. If you flash twrp with twrp installer.zip you also need to flash magisk. It won't work that way if you don't flash magisk.
[OnePlus 7 Questions & Answers] jeromemo:
does rooting require unlocking bootloader? i dont want to unlock my phone's bootloader, but i want to try to root it.
[OnePlus 7 Questions & Answers] Deleted member 5408779:
Root without unlock is impossible.
[OnePlus 7 Questions & Answers] who ah way:
Hi everyone, thank you very much for your replies.

My plan is to root via TWRP + Magisk.

From the discussion, I am understanding that it is easier to update OxygenOS before rooting?

In other words, can I install 9.5.8 from August 8 then root?

I see that after root, there is also a guide (for the OP7 Pro, but guessing the process is same for OP7) to perform an OTA update via TWRP.

Thanks in advance for your thoughts.
[OnePlus 7 Questions & Answers] who ah way:
[MENTION=5408779]Kollachi[/MENTION] thank you for this tip. How can I be sure that the phone is stock?

In the original post, I linked to the Amazon listing I bought it from. It seems stock to me, but is there a way to double check?
[OnePlus 7 Questions & Answers] Deleted member 5408779:
Yes it's possible to update first and than root.

---------- Post added at 09:11 AM ---------- Previous post was at 09:09 AM ----------

fastboot oem device-info

That's the command to see phone is locked or not. I would check that first.

When I sold my OP7 I used MSMTOOL to be 100% sure phone is stock!
[OnePlus 7 Questions & Answers] who ah way:
The root process was successful! Installed Magisk Manager. So far, so good. :)

One newbie question: with this kind of root (TWRP + Magisk), do I always have to use "Magisk Modules / Downloads" to install all Apps that have rooted features? I ask this because I read that Magisk is important to avoid tripping Google's "SafetyNet".

Or can I use any apps that used rooted features, such as Greenify, Titanium Backup, NotificationsOff, AdAway, etc?
[OnePlus 7 Questions & Answers] strongst:
You can use any apps without the need being a magisk module.

They'll absolutely work.
[OnePlus 7 Questions & Answers] who ah way:
Now that my setup is basically done, thought I'd come back and share the "gotchas" that I found during the process:

- after rooting, DO frequent backups with TWRP (like every hour of setup at the most) so you don't lose too much

- DO NOT install Pixel Netcut, that's what caused the one bootloop I got on the first install

- If installing Xposed inside Magisk watch out which one, I got a boot loop with one of the versions, from what I read edXposed is the one that works

- DO ask here if you're not sure… The community is super knowledgeable and friendly!
[Samsung Galaxy S8 Questions and Answers] manousos1:
Hello my phone diesnt recognize by pc cant acces to recovery cant acess to fas5boot only samsung logo screen can any body help me?????
[Samsung Galaxy S8 Questions and Answers] khawarjaved:
What happened did you try to flash something or what?
[Samsung Galaxy S8 Questions and Answers] manousos1:
I flash pie bootloader and nougat twrp or nougat bl and pie twrp i dont remember exacly i make treble and i flash system img first mybpc recognition mybdevice but as (unknown device)and after remove my battery and conected back happened this
[Samsung Galaxy S8 Questions and Answers] manousos1:
The big problem is any pc dont recognise my device i conect to pc and is like dont conect it and i cant do nothing
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Dro!d3r:
In post: OFFICIAL

In file name: UNOFFICIAL

?
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] 50UND2 3NG1N33R:
Can you please provide screenshots?
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] 50UND2 3NG1N33R:
Installed with gapps pico and hotdog custom kernel.

thanks [MENTION=8930353]Amirabdolmaleki[/MENTION] . Awesome work.

few bugs , but I will report more after using it for a while. I will say its my favourite ROM after AOSiP. So similar if features.
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] ANONMAN01:
hello firstly thanks. I wonder if there is any bug? İf there is none i will flash the rom
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] Hshakil11:
camera isnt working need fix
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] ankkit_kr:
Please fix the camera error

I like this rom very much but camera isn't working
[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] FSadino:
Thread closed due to violation of GPL
[HTC U11  Questions & Answers] kovsza:
Hi Everybody!

Im hungarian man and sorry very small speak English. :) Google Translate helps me.

I have an HTC U11 Black Dual SIM CID34 (4/64) phone. I opened the bootloader and installed TWRP the phone is S-ON status.

Everything is fine so far.

I copy the ROM to SD card and start the phone Recovery mode.

I selected the ROM from this list:

Link: Removed by System

I wanted to install this ROM

2PZCIMG_OCEAN_DUGL_O80_SENSE90GP_MR_HTC_Europe_2.33.401.10_Radio_8998-002772-1711161638_release_signed.zip

Link: Removed by System

TWRP always writes in an invalid ZIP format.

Your phone is not loading Android now. It starts to load but stops at the boot screen. I can boot my phone into Bootloader, Recovery, Download mode.

Thank you for your help!

Please if you write simply to write or step by step how to fix the phone.

Best regards: Szabolcs
[HTC U11  Questions & Answers] hammered58:
Try renaming the zip file to 2pzcimg.zip,, and place it on the root of your sdcard and boot into downloader mode. Hth, this looks to be an ruu so it will put your phone back to stock and wipe all but the sd card.
[HTC U11  Questions & Answers] kovsza:
I'll try and give you feedback.
[HTC U11  Questions & Answers] kovsza:
I start the phone Downloaded mode. Phone autodetect the SD card ZIP file. I pressed VolUp buttons... and nothing.

Error message: FAIL12 RU_ZIP_ERROR

What's next?
[HTC U11  Questions & Answers] Pantumaca:
Here you have some details, but are for downgrade from Oreo to nougat (maybe could it works??)

https://xdaforums.com/u11/how-to/guide-downgrade-htc-u11-oreo-to-nougat-t3754481
[HTC U11  Questions & Answers] hammered58:
If you are on pie and trying to downgrade to oreo this cannot be done with out soff , and i do not think

Pie soff is supported,
[HTC U11  Questions & Answers] kovsza:
If this is the problem then is there an easy way to set it to S-OFF?
[HTC U11  Questions & Answers] kovsza:
This is the description I read. Based on what I described, I got to the version change. The version change failed. But in another place I read that in Download mode you can easily reinstall the previous version.
[HTC U11  Questions & Answers] hammered58:
I have used this procedure to downgrade from oreo to nougat, but have not used it to from pie to oreo,
[HTC U11  Questions & Answers] kovsza:
Then even that solution won't work.
[HTC U11  Questions & Answers] hammered58:
Like i said I have not tried it, as far as i know once you are on pie there is no going back unless someone else knows a solution
[HTC U11  Questions & Answers] kovsza:
I see if somebody knows the solution or tried it.
[HTC U11  Questions & Answers] kovsza:
Nobody? :(
[HTC U11  Questions & Answers] filandry:
is it work on single sim devices to change cid??
[HTC U11  Questions & Answers] tejHackerDev:
I think it works but always have a backup before doing anything because i tested it on my HTC dual sim 6/128GB dual sim variant and successfully changed CID from HTC__J15 to HTC__060 and downgraded from PIE to OREO
[HTC U11  Questions & Answers] mehrdad_esmaeeli:
It's not working.error sad you must change version number.

What is the best way for change version number?
[HTC U11  Questions & Answers] mehrdad_esmaeeli:
Who to change cid and version number?
[HTC U11  Questions & Answers] tejHackerDev:
Edited the post and forgot to add changing the version number check from step 2 again. If that too not work run this command "adb shell dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=1 seek=2208 count=16" it will blank out misc version and follow the instructions i posted above.
[HTC U11  Questions & Answers] mehrdad_esmaeeli:
Ok Finally I could

Tnx so much
[HTC U11  Questions & Answers] zujko:
Hello.. I'm stuck here, where I'm wrong?

C:\Android\com>fastboot flash hosd hosd_signed.img

target reported max download size of 1560000000 bytes

sending 'hosd' (42397 KB)...

OKAY [ 2.219s]

writing 'hosd'...

(bootloader) HOSD CL#1088389

FAILED (remote: 35 RU_PARTITION_NOT_SUPPORT hosd)

finished. total time: 4.244s

EDIT: 2nd problem:D

C:\Android\com>fastboot flash zip 2PZCIMG.zip

target reported max download size of 536870912 bytes

Invalid sparse file format at header magi

error: write_sparse_skip_chunk: don't care size 2093237440 is not a multiple of the block size 4096

sending sparse 'zip' (0 KB)...

error: write_sparse_skip_chunk: don't care size 2093237440 is not a multiple of the block size 4096

error: write_sparse_skip_chunk: don't care size 2093237440 is not a multiple of the block size 4096

OKAY [ 0.000s]

writing 'zip'...

FAILED (remote: Not allowed on PRODUCTION device)

finished. total time: 0.000s
[HTC U11  Questions & Answers] blueberry60:
You can't flash hosd.img via download mode, try it from bootloader mode:

htc_fastboot reboot-bootloader
[HTC U11  Questions & Answers] zujko:
Pass!

C:\Android\com>adb reboot bootloader

C:\Android\com>htc_fastboot reboot-bootloader

htc_fastboot v3.0.9.2 (2015-05-29)

rebooting into bootloader...

OKAY [ 0.000s]

finished. total time: 0.000s

htc_fastboot finished. total time: 0.125s

C:\Android\com>htc_fastboot flash hosd hosd_signed.img

htc_fastboot v3.0.9.2 (2015-05-29)

target reported max download size of 536870912 bytes

sending 'hosd' (42397 KB)...

OKAY [ 0.887s]

writing 'hosd'...

OKAY [ 0.688s]

finished. total time: 1.576s

htc_fastboot finished. total time: 1.677s

But,I'm stuck here, again..

C:\Android\com>htc_fastboot flash zip rom.zip

htc_fastboot v3.0.9.2 (2015-05-29)

target rom version: 2.33.401.10

found large-zip header, file count: 27

processing file 1/27...

sending 'zip' (117063 KB)...

OKAY [ 2.467s]

writing 'zip'...

FAILED (remote: Not allowed on PRODUCTION device)

finished. total time: 2.467s

htc_fastboot finished. total time: 3.045s

In bootloader mode!

U11 (BL unlocked, S-ON)
[HTC U11  Questions & Answers] mehrdad_esmaeeli:
You can do flash ruu from sd card method. This is a best way
[HTC U11  Questions & Answers] zujko:
i tried that too, but...

Here ss

I don't know where I went wrong!
[HTC U11  Questions & Answers] blueberry60:
You had flash hosd.img succesfully, but firmware.zip and RUU files should be flashed only via download mode, also you can try SDCard method renaming RUU file to 2PZCIMG
[HTC U11  Questions & Answers] zujko:
This is from download mode.

C:\Android\com>htc_fastboot flash zip rom.zip

htc_fastboot v3.0.9.2 (2015-05-29)

target rom version: 2.33.401.10

found large-zip header, file count: 27

processing file 1/27...

sending 'zip' (117063 KB)...

OKAY [ 4.269s]

writing 'zip'...

(bootloader) HOSD CL#1002308

FAILED (remote: 9 RU_SECURITY_FAIL zip from usb command in download mode)

finished. total time: 5.273s

htc_fastboot finished. total time: 5.786s

C:\Android\com>

And above post I put screenshot.

And, this is from bootloader

C:\Android\com>htc_fastboot flash zip rom.zip

htc_fastboot v3.0.9.2 (2015-05-29)

target rom version: 2.33.401.10

found large-zip header, file count: 27

processing file 1/27...

sending 'zip' (117063 KB)...

OKAY [ 2.473s]

writing 'zip'...

FAILED (remote: Not allowed on PRODUCTION device)

finished. total time: 2.475s

htc_fastboot finished. total time: 2.975s

C:\Android\com>

And this is from sd card
[HTC U11  Questions & Answers] kovsza:
Thank for replyes.

My phone is died.

Any ROM I installed on it had no ringing sound in the speaker and I could not hear me.

Then I found a patch for this bug here on XDA and installed it.

The phone has been turned off since then cannot be turned on.

Sometimes the red LED blink. Battery level when turned off was 87%.

I tried to hold down all 3 buttons for 1 minute and nothing happened.

Whatever I do with it, it responds to nothing. Not detected by PC. Charging it does not detect. The red LED is off.

Died?
[HTC U11  Questions & Answers] mehrdad_esmaeeli:
You need to get application htc version tools for change version number

---------- Post added at 09:08 AM ---------- Previous post was at 09:07 AM ----------

https://drive.google.com/open?id=1ubjDGNqCfIply-aRN8C7IQNb-YVkD4M7

---------- Post added at 09:09 AM ---------- Previous post was at 09:08 AM ----------

You must first change your version number .

---------- Post added at 09:11 AM ---------- Previous post was at 09:09 AM ----------

What is your phone ? Dual SIM or one sim ?

If is dual SIM this is mistake rom
[HTC U11  Questions & Answers] AoEKiller:
Your bootloader is LOCKED, writing 'zip'...

FAILED (remote: Not allowed on PRODUCTION device)
[HTC U11  Questions & Answers] mehrdad_esmaeeli:
More explain!
[HTC U11  Questions & Answers] AoEKiller:
Do you get any token code with fastboot oem get_identifier_token

http://www.htcdev.com/bootloader/unlock-instructions/page-2

if phone has frp and need you need to enable dev mode, it is not possible in fastboot.
[HTC U11  Questions & Answers] mehrdad_esmaeeli:
Why zip?
[HTC U11  Questions & Answers] AoEKiller:
I'm trying to help zujko out. his bootloader seem to be locked as I can see from log he posted.
[HTC U11  Questions & Answers] muvensa:
How did you solve this problem?

I am getting the exact same error:

C:\Android\com> .\htc_fastboot flash zip rom.zip

htc_fastboot v3.0.9.2 (2015-05-29)

target rom version: 2.33.401.10

found large-zip header, file count: 26

processing file 1/26...

sending 'zip' (117063 KB)...

OKAY [ 4.425s]

writing 'zip'...

(bootloader) HOSD CL#1088389

FAILED (remote: 9 RU_SECURITY_FAIL zip from usb command in download mode)

finished. total time: 6.435s

htc_fastboot finished. total time: 7.490s
[HTC U11  Questions & Answers] zujko:
https://xdaforums.com/u11/how-to/guide-downgrade-htc-u11-oreo-to-nougat-t3754481

Here is the solution!

Enjoy:)
[HTC U11  Questions & Answers] muvensa:
In the last step, while flashing the zip file in the download mode, i am getting the following error. How can i fix this? :(

12_RU_ZIP_ERROR

12_RU_ZIP_ERROR

FAIL12 RU_ZIP_ERROR
[HTC U11  Questions & Answers] muvensa:
In the step 14, I get following error:

35 RU_PARTITION_NOT_SUPPORT hosd

Can you help me?
[HTC U11  Questions & Answers] CJ2311:
I've had the same, you need to flash the file from step 14 that gets stuck from bootloader mode, not download mode

htc_fastboot reboot-bootloader
[HTC U11  Questions & Answers] Meastersquallx:
Same Issue here
[HTC U11  Questions & Answers] filandry:
probably you didn't change/clear the version number on htc devinfo tool
[HTC U11  Questions & Answers] Meastersquallx:
i tried to change it but the problem it can not be empty tried but didnt work so i wrote 1.00.000.0 in the version

any help or ideas

Thank you
[HTC U11  Questions & Answers] filandry:
write the version that your going to flash ruu it

ex : i downloaded ruu for my phone version 2.33.401.10

then just change software number to that number on htc devinfo tool
[HTC U11  Questions & Answers] Meastersquallx:
yes it worked

one of my mistake was flashing "hosd_signed.img" in download mod

i was supposed to flash it in bootloader mode

i downgraded fine from PIE to Oreo

Thank you guys
[HTC U11  Questions & Answers] Devaster:
in my case it says that hosd is not known partition ... cid is 034. even in bootloader mode it is not working - htc fastboot is stucked - no info shown ...
[HTC U11  Questions & Answers] linuxdep:
thanks, i have downgrade from Pie to Oreo, because i need clear backup without TWRP for the next OTA, Android 10 is announced from HTC to the end of 2019? I hope so. Then i have a clean Backup...

Some issues are in first post's, but read all find all stumbling fall. ;)
[HTC U11  Questions & Answers] Devaster:
resolved. on another computer it was working fine, i was able to downgrade now. maybe it needs USB 2.0 only ...
[HTC U11  Questions & Answers] linuxdep:
but TWRP don't work on Pie... so i don't can make a clean backup. :(
[HTC U11  Questions & Answers] htc_one_mini_m4:
Any ideas how to get root ?

I'm on original HTC Pie ROM ( OTA Update ) and TWRP isn't working.

How can I get root to allow version modification with HTC DevTool that requires root ?
[HTC U11  Questions & Answers] kurtschmeichel:
I answered in your other thread.
[HTC U11  Questions & Answers] Kyle_xy:
same issue here, cant flash hosd via download mode with 35 ru.... error.

when i turn to flash it via bootloader mode,it says :

c:\Android\com>htc_fastboot flash hosd hosd_signed.img

htc_fastboot v3.0.9.2 (2015-05-29)

Traceback (most recent call last):

File "E:\largezip\htc_fastboot\htc_flashzip.py", line 160, in main

File "E:\largezip\htc_fastboot\htc_flashzip.py", line 262, in do_fastboot

File "E:\largezip\htc_fastboot\htc_flashzip.py", line 278, in do_fastboot_command

File "E:\largezip\htc_fastboot\fastboot.py", line 133, in get_device_host

ValueError: invalid literal for int() with base 16: 'raw'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "htc_fastboot.py", line 187, in main

File "E:\largezip\htc_fastboot\htc_flashzip.py", line 172, in main

AttributeError: 'ValueError' object has no attribute 'message'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "htc_fastboot.py", line 215, in <module>

File "htc_fastboot.py", line 196, in main

AttributeError: 'AttributeError' object has no attribute 'message'

can you help fix this? thx a lot.