Now Reading
64bit computing on a finances

64bit computing on a finances

2023-07-02 05:54:46

With all that Dec Alpha talk, and the way onerous it’s to get {hardware}, and the way seemingly exclusionary it’s, I believed I might attempt to contact on a extra obtainable 64bit ‘risc’ platform, for the plenty!

Whereas a pair years in the past I had touched on operating Windows 10 on the Raspberry Pi 4, within the courageous new world of 2023 getting ahold of a pi4 is dear, onerous to search out, and form of depressive, which lead me to this (outdated) however thrilling mission, the Renegade Project!

Lengthy story brief, there exists sufficient drivers & data to facilitate a port to the Snapdragon 845, a 64bit System On a Chip( SOAC!), which means that when you’ve got a tool with this chip it *can* be barely attainable to put in Home windows 10 onto it.

system compatibility matrix, for ants.

Glancing on the system matrix, to me the obtrusive gap is Charging. 3 techniques outright help it, all of them from Xiaomi, the Xiaomi Mix 2s, Xiaomi Combine 3 & the Xiaomi PocoPhone F1. Trying round eBay to start out this journey I discovered a PocoPhone F1!

Getting the Telephone

This appeared like an excellent begin, 29.99, 128GB of flash storage, and I’d later be taught 6GB of RAM. The primary drawback got here from Xiaomi. Seems that the telephone was nonetheless locked, the vendor had uncared for to logout from his Xiaomi account. Even worse although he had forgotten his login and password. Calling Xiaomi help was mainly nugatory. With out unlocking the telephone on a reset to root the telephone lead me to this:

Locked!

I bought fortunate nonetheless after speaking to the vendor, he agreed to go above and past and we have been capable of unlock the telephone collectively. So every thing went effectively. If you happen to do purchase one among these telephones used, MAKE SURE TO CHECK THE XIOAMI login id! It must be unlocked and clean so you’ll be able to register it and get the unlock. It can require a legitimate electronic mail & telephone quantity + sim for it to ship/obtain SMS codes.

Entry to the positioning could be very up & down, so I archived what I had downloaded to unlock the phone here. miflash_unlock_en_7.6.602.42.7z

I ought to add that we’ve cleared the primary few hurdles of precuring the gadget and unlocking it. And I’m glossing over stuff. Getting up to now was not straightforward and took every week. The unlock course of will not be intuitive, and I’m positive many telephones are bought on the market which have their google entry wiped, however haven’t been logged out all the best way, or the flash erased. I can’t present you mine as I ended up erasing Android however pay attention to this!

Preparing for Home windows

Mainly on the Android facet there’s three primary modes, the boot, the restoration and the ‘fastboot’ mode. Holding energy & down brings you to fastboot, the place utilizing the fastboot software you’ll be able to load a picture out of your PC into ram and execute it. EDK2 UEFI firmware, is the primary half or the renegade mission you’ll encouter. It’s actually highly effective, permitting you to not solely boot into Home windows, nevertheless it additionally helps a linux disk goal mode, permitting you to partition and entry the flash instantly from a PC. Naturally that is SUPER harmful, and backup your modem files!

With the telephone unlocked softbooting E2DK you’ll be able to put it right into a goal disk mode, join it to a laptop and partition away!

disk mode… for ants!

The guide (part 1.2) advices pushing the disk instruments to the telephone booted up in twrp-3.7.0_9-0-beryllium.img. Actually its simpler to only partition it in your pc. HOWEVER when you have been to make use of Home windows, there’s a slight challenge:

The gadget could now not be capable to boot into fastboot mode

I bumped into this challenge and thought I had bricked my telephone. I used to be really in the course of researching the best way to do a bodily onerous reset, and place it into EDL mode (taking it aside and discovering which pads to brief, when I discovered this part of the troubleshooting information, the place it’s the partition names. So as a substitute, I ended up doing the partitioning on a Digital Machine utilizing VMware and Ubuntu.

(parted) print
print
Mannequin: SAMSUNG KLUDG4U1EA-B0C1 (scsi)
Disk /dev/block/sda: 123GB
Sector measurement (logical/bodily): 4096B/4096B
Partition Desk: gpt
Disk Flags:

Quantity  Begin   Finish     Measurement    File system  Title        Flags
 1      24.6kB  41.0kB  16.4kB               swap
 2      41.0kB  73.7kB  32.8kB               ssd
 3      73.7kB  524kB   451kB                bk01
 4      524kB   786kB   262kB                bk02
 5      786kB   1049kB  262kB                bk03
 6      1049kB  1573kB  524kB                keystore
 7      1573kB  2097kB  524kB                frp
 8      2097kB  4194kB  2097kB               bk04
 9      4194kB  8389kB  4194kB               misc
10      8389kB  16.8MB  8389kB               logfs
11      16.8MB  33.6MB  16.8MB               oops
12      33.6MB  50.3MB  16.8MB               devinfo
13      50.3MB  67.1MB  16.8MB               bk05
14      67.1MB  134MB   67.1MB  ext4         persist
15      134MB   201MB   67.1MB  ext4         persistbak
16      201MB   268MB   67.1MB               logdump
17      268MB   403MB   134MB                minidump
18      403MB   1275MB  872MB   ext4         cust
19      1275MB  1342MB  67.1MB               restoration
20      1342MB  1611MB  268MB   ext4         cache
21      1611MB  123GB   121GB                userdata

Earlier than I did something, that is what the telephone partition desk regarded like. It’s an distinctive quantity. The brand new parted v 3.0 that’s advisable to make use of, doesn’t help the resize command so I needed to manually do the numbers after destroying partition 21.

Initially, I had made a 32Gb partition to maintain some Android performance however someplace it simply stopped booting. However I didn’t care.

rm 21
mkpart userdata ext4 1611MB 32G
mkpart esp fat32 32G 32.5G
set 22 esp on
mkpart win ntfs 32.5GB 123G

21      1611MB  32.0GB  30.4GB  ext4         userdata
22      32.0GB  32.5GB  499MB   fat32        esp         boot, esp
23      32.5GB  123GB   90.5GB  ntfs         win         msftdata

Clearly dont comply with this. I’m solely offering output for instance.

If I have been extra affected person, I suppose I might have dd’d your entire telephone to get a full total backup. However I didn’t get this telephone to run Android, so I actually don’t care.

There’s a LOT of disks being offered to Home windows, in case you ever questioned how these 128GB flash units get bought with solely 114GB of person house.

So many partitions!

And even that 112GB is definitely usable!

Bear in mind the system partition wants the boot,esp flags, and the home windows partition is msftdata. Additionally ensure that the partition names are both single phrases, or NO phrases. Areas will kill the fastboot mode.

I put all of the disks which can be offered in offline mode, so I don’t get confused. Be certain that you’re going to mess with the proper volumes when formatting after the partitioning. That is NOT for the novice, it will be straightforward to not solely brick the telephone however screw up your current set up. You probably have bodily disks connected you don’t completely want, take away them or put them offline to be sure to don’t screw up.

I used diskpart to pick out the suitable volumes and format them.

choose disk 8
choose quantity 5
format fast fs=fat32 label="System"
assign letter="S"
choose quantity 6
format fast fs=ntfs label="Home windows"
assign letter="W"

This isn’t a information, only a reflection of what I went via.

With the disk now formatted, it’s a matter of choosing an OS to put in.

I had actually dangerous luck choosing random variations of Home windows, so I regarded till I may discover a confirmed working model on this video, Rodando o Windows 10 ARM nativamente em um Dispositivo Android (Pocophone F1 + UEFI). Lengthy story brief, it’s Home windows construct 210521-1658 with model 0.4 of the bootloader. Lengthy story brief I messed with LOTS of Home windows on ARM driver units, earlier than I lastly had the courageous concept to only load it with no drivers:

booted

However that picture is much too stale, and expires out in a short time, decreasing any helpful performance as soon as it’s linked to the web. So it’s one thing that most likely could possibly be mounted, nevertheless it’s far simpler to only seize a picture that’s newer.

The x86_64 picture I’m utilizing now could be 19045.3031, so I guessed to choose one thing comparable on ARM64. I used one thing referred to as 19045.3031_arm64_en-us_professional, though it too was old-fashioned, however Home windows replace introduced it as much as 22H2 19045.3086 . I had tried the downloader software and apply all of the updates offline, however I had points. I believe now on reflection it was drivers.

One other factor I realized the onerous method is that a few of these pictures have a number of OS pictures put in. I suppose it’s de-duplication, together with compression, however be sure you index the picture first! I by accident put in a Dwelling model. Yuck.

dism /Get-ImageInfo /imagefile:set up.wim

Index : 1
Title : Home windows 10 Dwelling
Description : Home windows 10 Dwelling
Measurement : 17,706,743,995 bytes

Index : 4
Title : Home windows 10 Professional
Description : Home windows 10 Professional
Measurement : 17,836,320,420 bytes

So simply don’t go wildly apply picture #1. I wasted an excessive amount of time on that one.

However within the launch I’m utilizing it’s picture #1. I checked. Belief me.

dism /apply-image /ImageFile:10.0.21390.1.co_release.210521-1658_arm64freinstall.wim /index:4 /ApplyDir:W:

The S quantity must be populated with the UEFI boot information. I had foolishly thought the boot.wim file would come with the boot information, however as a substitute bcdboot can set it up based mostly on the situation of a Home windows set up.

bcdboot W:Home windows /s S: /f UEFI

The subsequent factor to do is set up the drivers.

I used to be fortunate sufficient to get some perception into some driver mixture to work, and I got here up with this a lot:

minimal 2210.1-fix
USB beryllium v2.0rc2
FG beryllium v2.0rc2

The important thing in fact is that there’s a minimal set in 2210.1-fix that may convey the system up with working USB. The FG bundle brings in sufficient of the ability administration to know the battery standing.

dism /Picture:W: /Add-Driver /Driver:drivers /Recurse

The drivers are usually not signed, so meaning we have to change a bunch of boot flags. I additionally turned on debugging so have Home windows dump core information, so you’ll be able to run analysts on them with Windgb.

S:
cd S:EFIMicrosoftBoot
bcdedit /retailer BCD /set "{default}" testsigning on
bcdedit /retailer BCD /set "{default}" nointegritychecks on
bcdedit /retailer BCD /set "{default}" recoveryenabled no
bcdedit /retailer BCD /set "{default}" debug on

In fact the catch being that with no drivers loaded it’s in a brilliant fundamental mode, with no USB, no contact display screen, no energy administration, no wifi no nothing. So it’s a brick. However at the very least we’ve reproduced sufficient to indicate you could boot Home windows.

Sadly, loading all of the drives from 2210.1-fix or beryllium v2.0rc2 result in this:

the cracked glass provides to the sensation.

Add in a a lot wanted OTG adapter and a mouse or keyboard, and you may full the set up.

Nevertheless, since I left off the vast majority of the gadget drivers as I didn’t need to spend eternally making an attempt to trace it down, I used a random USB to Ethernet adapter and fortunately It simply labored!

Accessing the telephone over RDP.

I added a flowery USB 3.0 ‘dock’ with USB-C connector you could plug a charger into, in order that not solely can the telephone keep linked to energy, however there’s room for the Ethernet. It additionally has HDMI, maybe is the drivers have been extra steady, it could possibly be a viable desktop? And I’ve what I needed, which was a non Intel/AMD 64bit platform that’s hopefully extra dependable than the Alpha64 platform, and possibly one thing to do some form of distinction of the previous vs future

This was NOT a easy factor to undergo. I might be extraordinarily hesitant to advise different individuals to comply with go well with. However within the off probability anybody who needs to do it, may need a greater concept of what’s concerned.

Learn the Troubleshooting guide & the Installation guide. Maintain notes! I might have completely given up, with out maintaining notes.

Even easy monitoring of disasters like this at the very least helped me alongside:

210521-1658
10.0.21390.1.co_release.210521-1658_arm64fre
boot-beryllium Model 0.4.1.img
boot-beryllium-ebbg Launch - 2210.1.img
boot-beryllium-ebbg Launch - 2210.1.img

boot-beryllium-ebbg Launch - 2210.1.img

boot-beryllium-ebbg Launch - 2210.1.img

boot-beryllium-ebbg Launch - 2210.1.img
no drivers

no drivers

v1.1.1


v1.1


FocalTechTouch v2.0rc1


v2.0rc1
INTERNAL_POWER_ERROR

installer


SYSTEM THREAD EXCEPTION NOT HANDLED


SYSTEM THREAD EXCEPTION NOT HANDLED

installer


SYSTEM THREAD EXCEPTION NOT HANDLED

Sorry the desk doesn’t format effectively.

TL;DR don’t do it, until you don’t thoughts spending an excessive amount of time on this. Get a used Floor X as a substitute.

Source Link

What's Your Reaction?
Excited
0
Happy
0
In Love
0
Not Sure
0
Silly
0
View Comments (0)

Leave a Reply

Your email address will not be published.

2022 Blinking Robots.
WordPress by Doejo

Scroll To Top