Does the OnePlus 6T’s screen have HDR?

Nothing on Google really says if it does or doesn’t. Apparently the 6 does for YouTube. So it might, but possibly only for YouTube.

The Nokia 7.1 advertises HDR on the screen, it’s slower, and cheaper.

Nice BunnyCDN went offline

Need to delete some stuff from the cache, forgot to black out the serial number of my phone. Won’t do you any good though, warranty voided on it.

No idea if BunnyCDN’s site will be back before I go to bed, it’s just loading forever.

Pretty annoying, when you need to access their site, you can’t.

Their site finally loaded. First got an error saying Firefox couldn’t verify the data.

What kind of username is _______?

If I had a forum, I’d ban people that can’t make a real username. Like people on online games, that have no name. If I ran a game server, I’d ban them too. Get a real name, or leave.

Manjaro emmcdl

You can find it compiled here.

You have to run “export CXXFLAGS=-pthread” in Manjaro and Arch to compile it.

After cloning it’s git, run the below.

git checkout 05a9615a5b70334d14f95fd194b0f34d482d3803

Nothing will work in Windows, USB redirection is to slow.

That doesn’t seem to work in Linux either.

Serial Port No data within five seconds. Resource temporarily unavailable

You also have to run autoreconf and automake.

Based on that message, I’m guessing it doesn’t like my computer.

Don’t use the file some site said, tried with the flasher in the image file from the blankflash. It failed because no XML file. Now to make my own XML file, by copying the one from the site that doesn’t work. XML is fine, the programmer doesn’t work.

Well, flashing gpt worked. That was a test, to see if it’ll even work. You have to do the power button + volume down trick to get it to work, the program will get an error and stop, keep running the command, until it can find ttyUSB0. Using watch -n 1 lsusb might not be fast enough.

Now to find the Python script that makes that file. That’s faster then trying to figure out how to modify the one I have.

Do you need more then GPT? Probably. And the thing I flashed was wrong, you have to extract it. Most likely.

The number of disk sectors is 4294967295, fdisk -l gpt_main0.bin told me so.

Anyone know how to get the ParseGPT Python script to work? I got a partition.xml file, but I still need a rawprogram0.xml.

Going to try using the programmer for my phone, but the other files from the other file. Doesn’t matter if it works, I’m to lazy to make a rawprogram0.xml file.

<?xml version="1.0" ?>
  <!-- NOTE: This is an ** Autogenerated file ** -->
  <!-- NOTE: Sector size is 512bytes -->
  <program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="gpt_main0.bin" label="PrimaryGPT" num_partition_sectors="48" physical_partition_number="0" size_in_KB="24.6" sparse="false" start_byte_hex="0x0" start_sector="1"/>

That’s how you flash gpt_main0.bin, if you use 0 for start, it won’t work. But phone is still dead. Now to see if I can tell what sector the other partitions start at.

Nice! Somehow I revived it, in fast boot. Well, I accidentally flashed gpt_main0.bin to xbl_a. I forgot to change the filename.

<?xml version="1.0" ?>
  <!-- NOTE: This is an ** Autogenerated file ** -->
  <!-- NOTE: Sector size is 512bytes -->
  <program SECTOR_SIZE_IN_BYTES="3584000" file_sector_offset="0" filename="xbl.elf" label="PrimaryGPT" num_partition_sectors="48" physical_partition_number="0" size_in_KB="3584" sparse="false" start_byte_hex="0x0" start_sector="256"/>
  <program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="gpt_main0.bin" label="PrimaryGPT" num_partition_sectors="48" physical_partition_number="0" size_in_KB="24.6" sparse="false" start_byte_hex="0x0" start_sector="1"/>

If xbl.elf doesn’t work, replace with gpt_main0.bin. Probably should boot TWRP. Don’t think the flashing is going to work. Need the fastboot it came with. No idea how to flash or boot anything. It just hangs.

Plugged it into USB 3.0 hub, “Failed to load/authenticate boot image: Load Error”.

Excellent, got the working fastboot. Now I can run a flash all, or see if TWRP boots now. Yes, it does.

How did I get it to flash the stock bootloader? I already forgot. Just keep messing with it. Oh, I think plugging into the hub made the flashing work.

Apparently qboot doesn’t work in Manjaro. Or on my computer.

I used to get the partition.xml file, which I used the values to make the XML.

I may or may not write a complete how to. And if I do, it’ll probably be on my other site, there’s a how to category on there.

emmcdl -p ttyUSB0 -f programmer.elf -x rawprogram0.xml  -SetActivePartition 0

That’s the command I used. You get the programmer.elf from the blankflash after extracting the image, and you get gpt_main0.bin by extracting gpt.bin that you get from extracting the image.

That is for the Moto X4, that XML probably won’t work for anything else. If you like piecing stuff together, then you should be able to unbrick your Moto X4 with the above info, in Linux. If using Windows, you can probably use QFIL. And qboot might work in Windows as well. Might even work in a different Linux distro. Downgrading the kernel enough could make it work.

The X4 seems to be fully functional, I put my SIM card in, and it got a signal. It shows my WiFi. Didn’t actually connect, I plan on selling it. So I can buy a Nokia 7.1 most likely, you can’t unlock the bootloader, unless that was some other brand. Or they changed something. If the Nokia gets bricked, it’ll be under warranty. Sounds like some Nokia phones can be unlocked, that’s a bummer.

Sell my bike for $300

That’ll give me enough for a OnePlus 6T. Probably not enough for an iPhone XR no monthly bill.

Actually, I only need $199 for OnePlus 6T. To bad my soundbar didn’t sell. Or the subwoofer. That wouldn’t be $199 though.

Use WiFi only till December. Or January. I need $400 for the iPhone XR.

Sell my Switch for $300 too, then I’ll have enough for a phone.

How to get past the hanging in blanflash

If you don’t want to hold the button constantly, there’s another way, run the below.

echo 0 > /sys/bus/usb/devices/1-6/authorized
echo 1 > /sys/bus/usb/devices/1-6/authorized

To get the path, use the below.

for X in /sys/bus/usb/devices/*; do 
    echo "$X"
    cat "$X/idVendor" 2>/dev/null 
    cat "$X/idProduct" 2>/dev/null

All stolen from here.

Holding the power button, might restart it or something, so it’ll never work. Probably has to run all commands, without it rebooting. And replugging the cable would be easier.

while true; do
        echo 0 > /sys/bus/usb/devices/1-6/authorized
        echo 1 > /sys/bus/usb/devices/1-6/authorized
        sleep 30

Is thirty seconds of sleeping long enough? Or to long? Might be to long, at least I don’t have to mash the keyboard every time it stops now. I can easily run the blankflash 200+ times, until it magically works.

You could make a script to automate the entire thing, I’d use Python, check how long the output stays the same, if longer then 10 seconds, reset USB.

The only thing that might revive my Moto X4

Is a different computer, or buy a PCIe USB card, and plug it into that. Might not be compatible with my ports. Not the USB 2.0 on the front of the case, USB 3.0 hub, or directly in the back.

Somebody said to run it more then three times. I’ve probably ran it more then three times by now.

Will a Debian VM work? I have one.

USB redirection works in QEMU

You have to add a Spice server, and you should probably install UsbDk.

You can have more then one display adapter in QEMU. I disabled the other one, not the AMD RX 470. Had to disable it, because I would get the AMD reset bug on the first shutdown and second startup. Apparently my script to enable and disable doesn’t do the trick with another video adapter.

remote-viewer --spice-usbredir-auto-redirect-filter="0x03,-1,-1,-1,0|-1,-1,-1,-1,1" spice://localhost:5900

That’s the command I use in Linux, to auto attach new USB devices. It’s the command on their site.

Oh and my USB ethernet doesn’t disconnect when trying to revive my phone in Windows now, it’s using Spice.

That’ll make some stuff way easier, some USB devices change the mode they are in, and shows up as something different. If you don’t auto connect new USB devices, you have to switch to Linux, and add the “new” device.