yashsingh1/xdaforums huggingface dataset:
[HTC U11  Questions & Answers] Time2Design:
[MENTION=9749470]Htcu11user[/MENTION] did you decrypt your system with TRWP before using the windows htc info tool by wiping the system, going back to main menu of twrp and rebooting to recovery? don't know if it helps

I successfully downgraded from Android 10 to 8 with s-on and vodafone phone (changed cid to htc)
[HTC U11  Questions & Answers] Htcu11user:
Yes tried that many times but now i got the device info then typed the new misc version but after apllying changes nothing happens. It just got stuck after i click on apppy changes
[HTC U11  Questions & Answers] Time2Design:
do you mean the os version with misc version? you can also change the os version by using a hex editor (better than text editor) on pc to edit the file called "sde1" (located in root/dev/block on your phone, I guess phone needs to be rooted and TWRP ist required) where the os version is written in - see here for more info
[HTC U11  Questions & Answers] Htcu11user:
so i solved the isuue with adb shell. Beacause htc_devinfo_toool did not work for me.

here is what worked

setup adb in pc and go to twrp recovery in android

then on pc open powershell in the adb folder and type adb shell

then follow these commands :

check misc version

dd if=/dev/block/bootdevice/by-name/misc bs=1 skip=2208 count=11

then clear the misc version that is set to 0

dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=1 seek=2208 count=11

then check again if the misc version is cleared or not

dd if=/dev/block/bootdevice/by-name/misc bs=1 skip=2208 count=11

now flash your RUU
[HTC U11  Questions & Answers] HsHTCsen:
Hi

I'm trying to run htc_fastboot flash hosd hosd_signed.img but keep gettin htc_fastboot.exe error that MSVCR100.dll is missing.

I've tried reinstalling the Batch Tools and also installing the applicable Microsoft Visual C++ 2010 SP1 Redistributable Package (x64) for that .dll but still getting the error.

If i try with the Google htc_fastboot i get:

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

sending 'hosd' (42397 KB)... OKAY

writing 'hosd'... FAILverify HOSD fail

FAILED (remote: verify HOSD fail)

Execution time is 1(s)

Any suggestions please?
[HTC U11  Questions & Answers] aristidis_halk:
try downloading only that exact .dll

i did it recently and i also had this same error. I also installed the c++ 2015-2019 version just in case. I dont remember what exactly solved this sorry.

As for the other error search to see if anyone also had this error or try google it and see what the cause is.
[HTC U11  Questions & Answers] HsHTCsen:
Hi

Did you end up solving this? thanks
[HTC U11  Questions & Answers] Aldo101t:
i think you have to flash hosd from bootloader.
[HTC U11  Questions & Answers] HsHTCsen:
Hi, thanks for reply.

I have been flashing from bootloader but keep running into that same error: "remote: 'verify HOSD fail"

Have googled the error but can't find anything about to move forward.
[HTC U11  Questions & Answers] Moondroid:
For posterity, if anybody else comes across this error, I fixed it by updating the .Net Framework on my Windows 7 Pro x64 to version 4.7.2. Download the Runtime version of 4.7.2 here. (It did not require a reboot on my machine, just FYI.)
[HTC U11  Questions & Answers] katabatic77:
What is hosd_signed.img and why is it important when downgrading?
[HTC U11  Questions & Answers] ssakuma:
Hello, everyone.

I am a Japanese living in Tokyo.

I just performed a write back from custom ROM to stock ROM, so I would like to share the information. I hope this will be helpful.

My U11 was automatically updated from Oreo to Pie on the first setup. A few days ago, I unlocked the Bootloader and installed PixelExperience Plus 10, but found that the navigation buttons and NFC did not work, so I decided to revert to stock ROM.

Basically, I did exactly as described on GUIDE - Downgrade for HTC U11 (from Oreo to Nougat with S-ON) - Solution for various.

I had Oreo's RUU (2PZCIMG_OCEAN_UHL_O80_SENSE90GP_JAPAN_MR_HTC_JPN_2.53.454.4_Radio_8998-002772-1802141355_release_522498_combined _signed_2_4.zip), so I performed the following operation.

Enter TWRP Recovery mode, and run Sapprook's HTC_Version_Tool and rewrite the version number from Pie (3.37.454.1) to Oreo (2.53.454.4 - same as the RUU version).

Copy the RUU zip file to the SD card and rename it to 2PZCIMG.zip.

Insert the SD card into the U11 and start it in download mode.

Press the Volume Up key when prompted.

Press the Power key when prompted.

Make sure it boots without any problems, lock the boot loader (fastboot oem lock) if necessary.
[HTC U11  Questions & Answers] hammered58:
Just wondering if everything worked correctly after ?
[HTC U11  Questions & Answers] ssakuma:
It's true that I haven't tested everything, but I was able to relock the system properly, so I don't think there's a problem.;)
[HTC U11  Questions & Answers] Kivki:
Does this methord still work in 2023?

I dont have SD card but can I still downgrade?
[HTC U11  Questions & Answers] aristidis_halk:
last time couple of years ago i also did it without sd. just flash the rom through recovery(adb sideload)
[HTC U11  Questions & Answers] Moondroid:
Check out this video for flashing an RUU without an SD card. This is also for changing CID etc, but start at about 2:10 to see how the RUU flashing goes.

You WILL need an RUU type firmware download for the Oreo you want to downgrade to. Check the spreadsheet. I'm attaching it here in case you can't find a working download link.
[OnePlus 7 Pro Questions & Answers] sulliwane:
Hello, this morning I thought I'd try to apply Oneplus OTA update, but while keeping Magisk and its modules installed.

So I googled it and I was candid enough to follow this tutorial.

Here are the exact steps I followed:

Apply the Oneplus OTA update (download & install) BUT did not reboot

Magisk Manager → Uninstall → Restore Images (Maybe that's where I screwed up as I should have run this before above step?)

installed TWRP A/B Retention Script from Magisk Manager (installed module but did not reboot).

Magisk Manager → Install Magisk → Install to Inactive Slot

Pressed the reboot button in Magisk Manager

Now the phone rebooted, oneplus boot logo, then phone unlock screen and automatically "restarted" as shown on this picture:

[IMG="oneplus 7 pro bootloop"]https://i.imgur.com/jL7FflK.jpg[/IMG]

And then it rebooted into TWRP, asking for my password. After I enter the password, TWRP decrypt my partition and then I don't know what to do.

I flashed magisk again, but with no luck.

Thanks a lot in advance for your help and suggestions!

[EDIT] here is what happen when I flash twrp zip installer

Shoud I flash FULL oneplus firmware from this link?
[OnePlus 7 Pro Questions & Answers] sulliwane:
I solved it by flashing oneplus full update image, then directly flashing twrp (from twrp), then flashing magisk, and finally rebooting.
[OnePlus 7 Pro Questions & Answers] sulliwane:
I spoke too fast.

I was able to boot into oneplus system, but Magisk was not there anymore.

So I booted into recovery (twrp), flashed magisk (it said flashing on slot A this time), rebooted: Bam, same bootloop issue than before!!

Is it related to magisk modules that were not disabled? Or what?

Any feedback would be much appreciated! Thanks
[OnePlus 7 Pro Questions & Answers] sulliwane:
Ok, so finally I did identified the root problem : Magisk module incompatibility! The faulty module is LOS Call Recorder, so I had to do this:

Removing the los call recorder module folder from TWRP file explorer (/data/adb/modules/folder_to_remove) worked!
[OnePlus 7 Pro Questions & Answers] larsdennert:
Yes the guide specifies you disable modules. If you skip that you will boot loop. You could have gone back to the other slot and disabled them or disabled them from TWRP and then booted the new slot.
[OnePlus 7 Pro Questions & Answers] finkalink:
I agree, and to elaborate one step further than this, I had the exact same issue and found that you don't just have to disable the modules, but you have to fully remove them (using the little trash icon in Magisk). I've heard the call recording module causes issues, but from now on I remove all of them to avoid the issue.

The way that I solved it post-bootloop was by booting to TWRP (either your phone retained it or use Fastboot boot with the .img file), and then using the function in TWRP 'Advanced > File Explorer' browsing to access 'Data\adb\modules'. For each offending module, browse into the module folder, then hit the blue folder icon on the bottom right to select and delete the entire folder. Be sure to only do this to the specific modules, I don't want you accidentally removing anything core to the OS.

That's the steps that worked for me I hope this helps you!
[OnePlus 7 Pro Questions & Answers] larsdennert:
You actually don't have to trash them but it makes it clearer to most people. The issue is that after the update, Magisk thinks a particular module is installed when it isn't. If you simply disabled it previously, you can boot no problem after the OTA however if you then reenable the module, your next boot will loop because the module isn't there. Confusing so really the best advice is to uninstall modules and reinstall them so that nobody will simply reenable a dead module.
[OnePlus 7 Pro Questions & Answers] Zack D'Mello:
I'm having this exact issue, except I DON'T HAVE ANY MODULESSS

I don't know what to do... I've completely factory reset and it still didn't help :(
[OnePlus 7 Pro Questions & Answers] larsdennert:
Have you flashed full stock without root?
[OnePlus 7 Pro Questions & Answers] Zack D'Mello:
Haha, I actually did and that was the fix... After many Magisk Uninstaller flashes and Magisk installations, I realised the issue was with the OS itself, and flashing the stock image replaced the boot image which was causing the problem (I think... Idk if I'm right about this)
[OnePlus 7 Pro Questions & Answers] larsdennert:
Depending on the phone model you'll need another rooted boot image. If you need a current one for the 1917, I can get you one.
[OnePlus 7 Pro Questions & Answers] Bxperiaz3:
Hi so i'm having this exact problem. Is there any solution that doesn't include a factory reset? Currently I'm stock os android 10 and was running magisk 20.4. had a bootloop uninstalled all modules etc and still bootloop. Only when I uninstall magisk does my phone boot to system. Reflash and we get a bootloop. Does anyone know what could be corrupted etc to stop magisk from rooting my phone? I'm sure a factory wipe will fix this but surely theres a better way.

Again,works perfectly without magisk installed. Then install magisk and we get a bootloop. Please help.
[OnePlus 7 Pro Questions & Answers] larsdennert:
Try removing magisk manager and then flash magisk. How are you doing magisk? With an image or twrp? Could be you are using a bad boot image.
[OnePlus 7 Pro Questions & Answers] Bxperiaz3:
Magisk has been fully removed by flashing the zip file in twrp. Everything is deleted. When I reflash the zip in twrp I get a bootloop. It's the same steps as I originally used to root the phone without issue.
[OnePlus 7 Pro Questions & Answers] larsdennert:
You understand that magisk is two parts? Boot code and an apk to manage settings. Was the apk also removed?
[OnePlus 7 Pro Questions & Answers] Bxperiaz3:
Yes when you run the installer it removes the apk also. So when I can boot back to the os there is no trace of the manager apk.
[OnePlus 7 Pro Questions & Answers] Joker123##:
Try checking the /data/adb/modules to see if any modules is present,magisk don't result in bootloop unless it's one of the modules that you installed.

Uninstaller should have removed the modules,just check in twrp

You can also try flashing magisk after flashing stock boot image(use the correct versions one),maybe boot image might be corrupted
[OnePlus 7 Pro Questions & Answers] Bxperiaz3:
All modules have been removed. I might try flashing the stock boot image and see if that helps. my other plan was to dirty flash the stock rom and the magisk again to see if this repairs the problem.

---------- Post added at 10:49 PM ---------- Previous post was at 10:23 PM ----------

SOLVED!

In case anyone runs into this issue in future. I'm guessing something must have happened to the boot image because I fired up TWRP, cleared Dalvik, flashed the stock os, booted straight back to recovery, flashed TWRP again, then magisk 20.2. Then I switched slots and did the same thing and then rebooted. Now I have everything working again, magisk updated to 20.4 and no data or app loss. Very happy
[Xiaomi Redmi Note 7 Questions & Answers] isaakmg:
What's happened with custom kernel in xiaomi.eu 9.8.22 or THIS base?

DON'T open camera.....Nothing custom kernel fix It?

No develoepers answer. Nothing answered.....

Very rare...
[Shield Android TV Q&A, Help & Troubleshooting] callumw:
Hi

I recently replaced our aging DVR with an NVidia Shield and HDHomerun Tuner and we also use the Shield to host our main PLEX Media Server to record live TV

We leave it running 24/7 and the unit has been pretty solid, but on occasion it'll gets its knickers in a twist and needs a reboot.

So I was looking to schedule a reboot of it every week just to keep things moving along (and to prevent the inevitable phonecall when I'm out of "The TV isn't working... haaalp"), but there doesn't seem to be much around the internet on how to do this - other than buy a plug-in time/adapter and switch it off/on that way.

Rather than buy more stuff, I figured there must be a more elegant way of doing this?

So I sideloaded IFTTT and Tasker but didn't get very far.

IFTTT would only offer me existing recipes rather than let me create my own (limitation of an unsupported device?) and Tasker set up nicely, but when I added the reboot task I got an error:

Error: Missing Permissions:
android.permission.ACCESS.SUPERUSER

The only other idea I have is to use the manual entry part of Tasker to simulate the remote control taking the shield to the home screen and navigating to the settings, reboot and "are you sure "Yes"".

I've not tried that yet, but I'm thinking this may be the only way to do it.

.... unless anyone has a better idea?
[Shield Android TV Q&A, Help & Troubleshooting] callumw:
Workaround

Ok, so I think I found a way

It's not ideal, but it works and may be useful to someone else trying this

re: Tasker:

I cleared the permissions errors by using the Android Debug Bridge (ADB)

https://developer.android.com/studio/command-line/adb

Developer Mode was already enabled, but I enabled Network Debugging in it to allow remote connection.

Once enabled I ran the following ADB commands from a CMD prompt to clear the error:

NOTE: When authorising access to the Shield, tell the shield to remember the computer fingerprint. This is important for later

adb connect [YourShieldIP]:5555 -- The shield will ask you to you confirm remote access
adb devices -- This is just to confirm it's seeing the shield
adb shell pm grant net.dinglisch.android.taskerm android.permission.DUMP
adb shell pm grant net.dinglisch.android.taskerm android.permission.SYSTEM_ALERT_WINDOW
adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS

Once done you can confirm the settings with the following. In each case they should come back as "=true"

adb shell dumpsys package net.dinglisch.android.taskerm | find /I "permission" | find /I "=" | find /I "dump"
adb shell dumpsys package net.dinglisch.android.taskerm | find /I "permission" | find /I "=" | find /I "SYSTEM_ALERT_WINDOW"
adb shell dumpsys package net.dinglisch.android.taskerm | find /I "permission" | find /I "=" | find /I "WRITE_SECURE_SETTINGS"

I did this and got no error.... manually ran the Tasker reboot task ... and it failed

Something about "IOException: Cannot run program "su": error=13, Permission denied"

So basically Tasker needs root access to reboot the device :rolleyes:

But, I did spot an item in ADB that lets me remote reboot a connected android device.

So I set up a scheduled task on a fileserver PC we use and sometimes leave running late.

The task runs weekly on Mon/Wed/Fri @ wee hours of the morning and calls a simple batch script:

(You need the shield to remember the computer fingerprint for this to work. See ln. 10 above)

echo off
cls
cd /D "[ADB Install Path]\platform-tools"

cls
echo Clearing any existing connections
adb kill-server

ping -n 5 127.0.0.1 > NUL

cls
echo Connecting to Shield
adb connect [YourShieldIP]:5555

ping -n 5 127.0.0.1 > NUL

cls
echo Rebooting Shield
adb reboot

timeout 60
exit

I'll see how that goes - otherwise I may have to resort to using Tasker Input to simulate using the controller to reboot the shield.
[Shield Android TV Q&A, Help & Troubleshooting] callumw:
I had a Eureka moment in the shower which led to an update to how the remote reboot is scheduled.

As the "sometimes on" fileserver pc isn't available all the time, it means that it could easily reboot the shield anywhere from 3 times a week up to not at all .

This is too inconsistent for my liking, so I changed the logic on how this will run.

The reboot schedule now runs daily @ wee hours of the morning and the updated reboot script checks a file to see the last date the shield was rebooted.

If it was last recorded > 7 days ago then it'll reboot it and reset the date in the file.

If it was last recorded < 7 days then it'll do nothing and exit the script.

It won't be perfectly 7 days as the machine isn't on all the time, but it'll make the reboot schedule a lot more consistent.

Assuming your ADB install is in "C:\ADB\platform-tools":

echo off
setlocal

:: Get date parameters
cls
set TRACDAY=0
for /F "usebackq" %%T in (`Powershell $date ^= Get-Date^; $date ^= $date.AddDays^(0^)^; $date.ToString^('dd/MM/MMM/yyyy/HH/mm/ss'^)`) do set TRACDAY=%%T
set nowday=%TRACDAY:~0,2%
set nowmonth=%TRACDAY:~3,2%
set nowmon=%TRACDAY:~6,3%
set nowyear=%TRACDAY:~10,4%
set nowyear2=%TRACDAY:~12,2%
set nowhour=%TRACDAY:~15,2%
set nowmin=%TRACDAY:~18,2%
set nowsec=%TRACDAY:~21,2%

set /A CurrentDay=%nowyear%%nowmonth%%nowday%
set /A CurrentDay7=%CurrentDay% -7
REM echo %nowyear2% %nowyear%/%nowmonth%/%nowmon%/%nowday% %nowhour%:%nowmin%:%nowsec% %CurrentDay% %CurrentDay7%

set ADBROOT=C:\ADB\platform-tools
set ShieldLastBootFile=%ADBROOT%\..\_LastReboot.log
if not exist %ShieldLastBootFile% echo %CurrentDay% > %ShieldLastBootFile% && goto end

:: Get the date from the last reboot
for /F %%F in (%ShieldLastBootFile%) do set /A LastReboot=%%F

:: Check to see if the last reboot time was more than 7 days ago. If no, goto the end
if %LastReboot% GTR %CurrentDay7% goto end

:: If its more than 7 days, lets reboot
cd /D %ADBROOT%

cls
echo Clearing any existing connections
adb kill-server

ping -n 5 127.0.0.1 > NUL

cls
echo Connecting to Shield
adb connect [YourShieldIP]:5555

ping -n 10 127.0.0.1 > NUL

cls
echo Rebooting Shield
adb reboot

timeout 60

:: Record today as the latest reboot time
echo %CurrentDay% > %ShieldLastBootFile%

:end
endlocal
exit
[Shield Android TV Q&A, Help & Troubleshooting] sd_shadow:
Glad you found a solution, but why not ask in

https://xdaforums.com/shield-tv/help

?
[Shield Android TV Q&A, Help & Troubleshooting] callumw:
'cos I'm a blind numpty :eek:

Could a moderator please move this to the right place?

Ta ... and sorry :)
[Shield Android TV Q&A, Help & Troubleshooting] sd_shadow:
No worries, I was just curious.

XDA can be tricky to navigate, if you have a question about a device, try the search.

I will report the thread, and ask that it be moved.

In future best way to get moderator assistance is to use the report post option.

See

[Using "Report" button] How to Report issues / Moderators assistance by TonyStark

https://xdaforums.com/showthread.php?t=1718423
[Samsung Galaxy Note 10+ Questions & Answers] Bolivian6:
Hello,

I've got a problem with some media files, I'm not finding any reasonable answers and my brain is gonna blow up!

I manually copied (I mean without smartswitch) videos from my old phones (P20 pro, mate 20 pro) on my note 10 plus. The gallery preview is working well, but I can't play them well. I have the sound but not the image.

I only encounter the issue with videos that have been encoded in h265, those in h264 are well played.

The h265 videos produced with the note 10 are played without any problems of course, and most of the h265 videos which are not from my old phones are fine.

I tried to install MX player with codecs, VLC, it does not solve the problem.

The best result is on MX player, by activating the SW decoder. I have the image, but not smooth at all.

Do you have any suggestions, ideas about the origin of the problem ? It's really painful not being able to consult all of my medias...

I put you a sample video that I'm not able to read, if you ever want to test on your device and confirm that it does not work either.

https://we.tl/t-Iu2aanB98E?src=dnl
[Samsung Galaxy Note 10+ Questions & Answers] knight900:
I tested the clip you send and was having the same issues you said. But I have downloaded some h265 clips and it is working fine
[Samsung Galaxy Note 10+ Questions & Answers] Bolivian6:
Thanks for trying. It confirms me that the problème comes from the file. And I played the same video in my old phone and my computer, and it's working fine of course.

I'm just wondering why a video recorded on a Huawei (aac, h265) couldn't be played on a Samsung which is using the same codecs to record videos...

Is there any reasons...? I'm lost.
[Samsung Galaxy Note 10+ Questions & Answers] pete4k:
H265 codec is very complex, for example it supports 15 different color spaces etc and not every option is implemented on every device, so I would speculate some codec setting in your old phone is not implemented in the new one. I would simply recode it on a PC to settings I know work on new phone, changing as little as possible to preserve quality. I use xmedia recode, with nvidia codec it is extremely fast and you can highlight multiple files and do all at once. You can probably finish recoding the files before you figure what in particular is not working and knowing the problem still doesn't guarantee solution. Who knows, the incompatibility may have been there even on purpose.
[Samsung Galaxy Note 10+ Questions & Answers] xfaega:
I was able to play your video clip with no issues on my note 10+ using both MX Player and Samsung Video Play. Both are set on default.
[Samsung Galaxy Note 10+ Questions & Answers] pete4k:
Actually xfaega is right, your video plays fine on mine as well with stock Samsung player.
[Samsung Galaxy Note 10+ Questions & Answers] marctronixx:
joining the party. works on diceplayer, MX player. didn't use stock player. unlocked note 10plus
[Samsung Galaxy Note 10+ Questions & Answers] Bolivian6:
Hummm.... That's strange.

Maybe the beginning of an explanation. I'm in Europe so my note 10 plus works with the exynos chipset.

Maybe you guys, have the snapdragon version?

I was waiting some système updates to see if it fix the problème... Still Not working :(
[Samsung Galaxy Note 10+ Questions & Answers] torickray:
Have you tried using mx player?
[Samsung Galaxy Note 10+ Questions & Answers] Bolivian6:
Of course.

With mx player, It's working only with the software option. I've got an image but it's not working fine, really jerky.
[OnePlus 7 Pro Questions & Answers] cbadk:
I'm trying to install the OpenGapps package for LineageOS 16 on my new Oneplus 7 Pro, but have a problem installing it.

First I tried the "open_gapps-arm64-9.0-micro-20190827.zip" package, but it told me its the wrong platform. Is it not arm64?

Second I tried to install the "open_gapps-arm-9.0-micro-20190827.zip", but gives me an error 70, saying I do not have enough space.

Maybe someone have a solution for this?

Thanks
[OnePlus 7 Pro Questions & Answers] oryanh:
Try MindtheGapps. I've seen this work for some.

http://downloads.codefi.re/jdcteam/javelinanddart/gapps