Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
my build host has gone offline theoretically it is still running the build vast.ai says i won't be charged while it is offline i'm worried, however, that if i just let it do it's thing, i will forget it is there, and then when it comes back online i will be charged a lot.

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
reminding myself that the build instructions page links to a telegram community to find the most up-to-date steps

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
building the phh treble git tip failed with this error: [100% 250/250] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja FAILED: out/soong/build.ninja cd "$(dirname "out/soong/.bootstrap/bin/soong_build")" && BUILDER="$PWD/$(basename "out/soong/.bootstrap/bin/soong_build")" && cd / &&

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
the build instructions from the wiki are very simple. it's just one command. meanwhile, the phone i actually use is a free government phone, and i'd like to see what the barrier is around using it with an open source OS. the factory OS has more advertisement apps than normal apps, and it takes a

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
found finally the building instructions at https://github.com/phhusson/treble_experimentations/wiki/How-to-build-a-GSI%3F

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
the latest release boots. i can switch to the tip sources, and look into other phones.

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
oh it was their fancy splash image

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
v310 worked fine v313 is just showing me a picture from a donald duck comic on boot ...

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
so, i tried android 11, v301, and it actually booted !! maybe when i tried last time i just hadn't done the 'flashing unlock' command i can totally use newer git trees than i am. back to bisecting release versions ...

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
it seems like it would make sense to build the tip release since i have little experience building android roms then of course i could bisect backward to see what changes are associated with what issues the builds are generic, not for a specific phone

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
here's the next issue: out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp error: vendor/foss/SeedvaultOverlay/Android.bp:1:1: unrecognized

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
i made a github repo with the same name and branch name as phhusson's and modified the build script to check my user before checking his it now proceeds past the repo sync

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
the full repo sync is 97GB so far

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
change submission at https://github.com/phhusson/treble_manifest/pull/18

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
the sync is resuming if i manually change that file to reference that user i'll submit a pull request

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
this is likely the analogous repo: https://gitlab.com/00p513-dev/gmsexpress

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
this looks like the fix: https://github.com/phhusson/treble_manifest/pull/16/files

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
total size of the build folder is presently 68GB gmexpress mentions: .repo/local_manifests/gmsexpress.xml: https://github.com/phhusson/treble_manifest i'm imagining that gmsexpress has moved and phhusson's xml file could use an update

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
the problematic repository is https://gitlab.com/gms-mirror/gmsexpress.git/

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
the repo sync has been stalled for some time because one of the gitlab repositories has apparently been renamed since whatever repository list it is using was made

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
build-dakkar is almost done with repo init i've drafted manual building instructions i'm having a lot of dyskinesia, hard to continue. i'd like next to make build-rom.sh work, it wasn't for me before: https://github.com/phhusson/treble_experimentations/issues/2129

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
the window in which i was editing the build instructions draft was logged out of gmail when i tried to save it. "we're sorry, but your account is temporarily unavailable."

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
i've drafted a build script for the other thread. the repo init is going much faster on the remote system. it's cloned 6.8 gigabytes so far, which is more than my free space locally.

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
repo needs git configure with user and email i'll start a draft to the other thread to put these things in

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
this system is ubuntu 18; it looks like newer version of repo than the one from apt have more tolerance for quirks. found https://storage.googleapis.com/git-repo-downloads/repo-1 from stackoverflow, replaces /usr/bin/repo

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
it looks like the build script is outdated. repo appears to now need python3, but the build script sets up a venv with python 2.

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
`virtualenv2` is supposed to be `python2 -m virtualenv` i patched the build script to do the latter. installing repo.

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
i'm on a machine and have cloned the repo the build-dakkar script is raising command not found around "virtualenv2" not familiar with this command, although i assume it's part of python venv.

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
I made a python package for interface with https://vast.ai to quickly and briefly rent powerful shell servers. `pip3 install libvastai` may function, not certain. I don't know if my local version has import fixes. I've used it to create 3 instances with code like: import vast, logging

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-07-19 Thread Undiscussed Horrific Abuse, One Victim of Many
I never figured out mtkclient, unfortunately. I never even got in communication with one of the devs or users. However, I've got all the v2xx phhusson treble builds booting on the device using fastboot, which is great stability on that front. Even running a rooted phone at all would be a step up

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-06 Thread Undiscussed Horrific Abuse, One Victim of Many
Here's another one: https://github.com/bkerler/mtkclient Dev is presently active on that one.

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-06 Thread Undiscussed Horrific Abuse, One Victim of Many
Turns out there's another one of these at https://github.com/MTK-bypass/bypass_utility/blob/master/src/device.py . > It has a different focus, around using an exploit with phones that are locked to prevent flashing.

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-05 Thread Undiscussed Horrific Abuse, One Victim of Many
2022-05-05 1902 ET I've written code to parse the download agent firmware for the different mediatek phones and dumped the chip id -> platform table used to index the firmware. It was difficult to do the table dumping. If I've ever written a patcher before, it was a very very long time ago. It

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-04 Thread Undiscussed Horrific Abuse, One Victim of Many
My work on this is paused and is at https://github.com/xloem/backyard_mediatek_flasher , where the relevent commands are noted as comments in test.py as I reviewed strace logs. The next step is probably to figure out how to extract the download agent firmware from its binary file, and optionally

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-04 Thread Karl Semich
On Wed, May 4, 2022, 5:23 PM grarpamp wrote: > On 5/4/22, Undiscussed Horrific Abuse, One Victim of Many > wrote: > > What I ended up doing was piping /dev/urandom into the serial port. After > > some time, this got the serial port to close and the phone rebooted. > > When all else fails... ;)

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-04 Thread grarpamp
On 5/4/22, Undiscussed Horrific Abuse, One Victim of Many wrote: > What I ended up doing was piping /dev/urandom into the serial port. After > some time, this got the serial port to close and the phone rebooted. When all else fails... ;) > Doing that doesn't seem to have trashed any partitions

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-04 Thread Undiscussed Horrific Abuse, One Victim of Many
2022-05-03 I came back to this project and it wasn't working any more. The phone was just echoing the handshake byte. I thought I'd run the mediatek flasher and use stty to capture the serial settings, in case they had changed, but it wouldn't flash either. It said I needed to remove the

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-03 Thread Undiscussed Horrific Abuse, One Victim of Many
1114 i'm looking at the disassembly around the ioctl calls using gdb. the object actually has debugging symbols, so functions are named. it looks like ioctl is called by passing arguments on registers (fastcall?) here. the first argument is in edi, fd 13. esi, edx, and eax are also set. i'll

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-03 Thread Undiscussed Horrific Abuse, One Victim of Many
1035 I used the linux tool to read back some bytes and it looks like the device has a normal dos/mbr partition table, which is cool given all the scatter file weirdness i'm going to struggle and try to strace the serial calls ;p 1035 1048 - scan: checks device tree that pid and vid are

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-03 Thread Undiscussed Horrific Abuse, One Victim of Many
eventually I found from https://www.rigacci.org/wiki/doku.php/doc/appunti/android/sp_flash_tool that the flasher is available for linux (binary only). if it works with my glibc, this could make it much easier to work with. I also took a usb log of the windows flasher using usbpcap. unfortunate

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-02 Thread Undiscussed Horrific Abuse, One Victim of Many
when I tried 'fastboot flashing unlock' it said I needed to enable oem bootloader unlocking. I booted into a factory rom and did this under developer settings, doing the dance of repeatedly tapping the build number. maybe this was why it wouldn't boot with partition changes? it's 1414 and it

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-02 Thread Undiscussed Horrific Abuse, One Victim of Many
- the factory flash tool needs the device to be plugged in _after_ it scans or starts - the scatter file it uses is basically just a list of mappings between filenames and partitions: or at least, it performs uploads if I treat it that way - using that approach I flashed the twrp but the phone

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-02 Thread Undiscussed Horrific Abuse, One Victim of Many
here are some quack b2sums as I have them: > aa80d380ac31502dfc548da57414cd6e56ccd12e21be647f82508bec59ae3f36e4d3eee6d3047c73c03075b5d54c15f7bd6bba90a1bf5f73c26bbd33056e3c1e v207-system-quack-arm64-ab-vanilla.img

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-02 Thread Undiscussed Horrific Abuse, One Victim of Many
1107 booting into graphical mode, I again encountered that my touchpad is broken. these things broke shortly after the warranty expired. it turns out my wifi card disappears when I go into graphical mode, which has halted the download. I found this trying to websearch on the system for gnome

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-02 Thread Undiscussed Horrific Abuse, One Victim of Many
1056 one of the firmwares downloaded if I let them all download on their own I should move the download to a folder with more space. when I flash it says "not allowed in locked state" which means doing something else first, or flashing a different way. 1058a 1101a On the qualcomm phone,

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-02 Thread Undiscussed Horrific Abuse, One Victim of Many
oh whoops, I was just using a broken keyboard. system not frozen, just links. I make errors like that a lot. 1045 v207-v222 fastboot flash system FILENAME https://github.com/phhusson/treble_experimentations/releases/download/TAG/system-quack-arm64-ab-vanilla.img.xz 1047 i've got them all

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-02 Thread Undiscussed Horrific Abuse, One Victim of Many
the whole system has now frozen 0_o gotta keep dmesg open next time I power that drive up.

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-02 Thread Undiscussed Horrific Abuse, One Victim of Many
the phone came out dec 2019, which is also the month of the first tag, so they all could be relevent. I had fastboot installed to an external drive which had powered down. thankfully, it powered back up. I was downloading the latest tag with links, but links seems to have mostly frozen up,

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-02 Thread Undiscussed Horrific Abuse, One Victim of Many
i'm guessing the post date is the time of last edit, not the real date so some earlier system-quack-arm64-ab-vanilla . I should probably get all of them. 1028 the last quack was v222 additional quacks: v221, v220, v219, v218, v217, v216, v215, v214, v213, v212, v211, v210, v209, v208, v207 .

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-02 Thread Undiscussed Horrific Abuse, One Victim of Many
it's 1018 my touchpad is broken. this happened on its own for some reason while I wasn't using the system over the past 3-4 months. so maybe i'll download the release from the terminal. 1020 https://github.com/phhusson/treble_experimentations/releases january 18, 2021 1022 it looks like the

Re: [ot][personal][spam] trying to make my unihertz titan boot

2022-05-02 Thread Undiscussed Horrific Abuse, One Victim of Many
My host system is in windows right now, so this is a good time to first try anything that might need a factory reflash to repair. - the phone presently appears to have factory firmware enough to show the logo when charging. the battery is dead. Maybe I can prepare to install TWRP. Looks like