From 5c8e2338be51e9def51615aed6beed55479a0eef Mon Sep 17 00:00:00 2001 From: Ari Archer Date: Sun, 27 Aug 2023 05:06:10 +0300 Subject: [PATCH] update @ Sun 27 Aug 05:06:10 EEST 2023 Signed-off-by: Ari Archer --- blog.json | 6 ++++++ scripts/blog.py | 2 ++ 2 files changed, 8 insertions(+) diff --git a/blog.json b/blog.json index 4f571b3..cf2c7d8 100644 --- a/blog.json +++ b/blog.json @@ -638,6 +638,12 @@ "content": "i have so much to talk about, i am so sorry i havent posted a doml in so long\n\nstart of the summer was pretty chill, i mainly spent it at home, doing nothing, when\none day a friend called me to go out to a concert i was not planning on going to, but\nafter rejecting it once he said 'come anyway' so well, i did, in that concert i donated\nsome money to some org and whatnot and then it was awkward after, although that friend\npicked a random person and basically made us converse, we bonded instantly, lets call\nher 'gzodis', gzodis and me shared a lot of same problems, doctors even, in general life\nstuff and we bonded over it, turns out her friend is also my crush and she knows a lot\nof mutuals and whatnot, gzodis then joined my friend grp, she was a good fit, it was fun\nbut thats where the lore starts\n\ngzodis is very extroverted and i am very introverted, meaning i had to adapt, we hung\nout basically daily and stuff, we did a fuckton of shit together, for example get high\ntogether, write a fuckton of shit under bridges and whatnot, many sentimental things like\nthat and genuinely i feel like shes my best friend even after like idk 2-3 months of knowing her\nas of today, she is genuinely amazing and we click together, although we do face issues\n\nfirst major thing that happened had police involved even, i dont feel comfortable sharing\nher name and let alone details of this, but i ran out in shorts on midnight to call police,\nthey showed up in 11 fucking minutes ( WHEN IT WAS ***EXTREMELY*** URGENT )\nbut anyway, besides that, it went horribly, turned out to be a false alarm, but a very loud\nand scary false alarm, this shit made both of us feel like total shit, it broke down\nour relationship terribly and we thought wed never talk again, at that time i just couldnt\nmyself, trauma, trauma i say, during that week a fuckton of shit more happened, overall,\nhorrible shit and it just oof, it broke down her, me and her friends ( her friends are\nan inseparable part of her so usually how she feels affects her friends in a similar way\ni feel like, at least from my perspective ), after all of it passed, we were good again,\nhoping this would never happen again and to be fair nothing like that happened again, although\nduring it ( literally a day after this all started ) something bad happened again, it didnt\ninvolve gzodis, but it involved me, camera, live, and overall just almost repeated the\nsecond day ( the event ) again by accident, you can take this paragraph as 2 breaking points,,\nbut ...\n\nthere was another breaking point, actually quite recent, me and her got into kinda a fight,\nand as this is the 3 rd time something like this happens i was scared for it to repeat again and\ni decided to just suggest ending the relationship on good terms, we did to be fair, but it was\nsad, i explained why and how and whatnot and she knew all of it, not from me, but yeah, she\nknew, n!t sure who told her, but yeah, anyway, sometimes i am scared of her and her friends\nand i do have reasons, i know and knew why and she is getting better at it, which im glad,\nim hoping after these 3 breaking points there wont b a 4 th and then a 5 th and then a 6 th\nand then ..., im scared of it repeating and i hope it doesnt,,\n\ngzodis was probably the biggest event during this shitty summer, its crazy how much happened\nin this short period of time and its just crazy, we clicked so good, we exploded apart, we\ngot back together, we exploded again and now were good again, im glad, but well see what the future\nholds for us, im hoping i can replace the void my best friend of 10 ( would b 11 soon ) left in me\n\nnow, speaking of my best friend, this summer we broke apart, i couldnt take it anymore and just idk,\nits extremely sad, i still grief about it today, it was 10 yrs, so many memories, conversations,\nwords said to one another, i remember our minecraft phase for example when we used to build\nworlds \/ minimaps for one another, how we used to talk in our own language in 2 nd grade in lessons,\nhow we, well used to now, exchange gifts, how we used to go on birthday things, i think its all over\nand i am very sad about it, its honestly depressing much time we spent together and all for it\nto just end, i understand that friends come and go but you know, 10 yrs, ten years is quite\nliterally 2\/3 rds of my life, im hoping sometime as adults we can meet and discuss our memories\nand b friends again, hopefully less troubled and wiser with a lot to share, happier than before\n\nthis summer i also got in touch with my old friend corbin, we met through minecraft a few yrs ago\n( back in 2020-21 ? ) when i was really into minecraft stuff, he was nice, very nice, i honestly\nmiss him, but he has changed, when i got in touch with him we called and he seemed apathetic and\ncold, idk, something about him just is changed and he isnt the same anymore, he used to b sweet,\ncaring and just nice from what i remember, we used to talk so much online even 7000 km apart,\nwe used to play minecraft, talk about stuff, do random things and stay up talking, i remember once\ni fell asleep on call and corbin also fell asleep with me so i just woke up to corbin sleeping on call\nwith me and it was honestly so wholesome lol, that day nobody was home and i was tired and didnt\nknow what to do, so out of the boredom i just fell asleep as i was restless that day, today i remembered\na song he listened with me on call with me once and said 'this is the song that keeps me alive' or\nsomething along the lines of that, today i literally looked up 'cat singing boop beep song' and found it --\n and i am very glad, i left an open letter to him lol :\n\n> i miss you corbin, if you ever see this and remember this song, i am ari, i remember you\n> listening to this song once, i think you were going through a touch episode that day and\n> im genuinely remembering this now, missing the day when we were on a call and overall talking to\n> u, u were a good friend, although the sad thing is that uve changed and i dont think our relationship\n> would b the same, but i do miss and appriciate every moment we had together, i know its\n> stupid for me to write an open letter to u on a song u listened to 2-3 yrs ago, but i dont care lol,\n> i just want to let my thoughts spill and maybe ull remember when we listened to this together and find\n> this, thank you corbin for all ur time, memories ( even though 7000 km apart ) and genuinely being\n> my friend, and even though our relationship wouldnt b the same anymore,\n> i will always cherish everything we did together\n\nand saw my comment 2 yrs ago ( im assuming 3 soon ) saying\n\n> \"\"\"\n> Lyrics :\n> Baby blue buildings far above the crystal grove\n> Magenta plated terrace with a table and a stove\n> Guarded golden railing just to frame the pretty stars\n> Fix that old piano and the birds will fall apart\n> \"\"\"\n>\n> W H A T\n\nhonestly pretty funny how it went from 'lmao what' to 'corbin, i miss you and all the memories we had\ntogether, i just want u to know that i appreciate you and time we spent together' or something along\nthe lines of that\n\ncorbin was 1 out of 4 really cool people ive met through minecraft, one of them reached out to me,\nfound me, sly, i remember we had a bedrock realm named [redacted] or something, i remember we had a\nwebsite for it, i still have the sources for it, i have a pic of him too, and his phone number lol,\neverything he gave me access to i still have lol, i am very unsure how he found me but i can only assume\nold comments, my website or looking my full name up lol, he emailed me asking me if i remember him\nand i literally begun shaking, my autistic ass cannot handle that much happiness at once, i gave him my\ndiscord right after he emailed me, i cant wait to talk to him, i missed him and was hoping that this day\nwould come, i remember how badly our relationship ended, cheating, ( skiddy ) hacking, destroying, anger,\netc,, it ended on quite bad terms, but i am glad he reached out a while later lol\n\nthere were 2 more people i can only hope to find in this wide world, mff ( shortened bc privacy\n) and some other guy\ni cant put my finger on really and eva, eva and me were friends from an lgbt support grp iirc\nand we bonded over minecraft ( also there was some guy named max in that group which was very cool,\nhe was a skater alien green heart type of person, also rodrigo which was like a parent figure for me\nonline, now a role my best friend holds ), all of us ( me, eva, mff and the other guy ( he associates with\ncolour yellow for me ) ) were friends until something happened and then it all went to shit, i think\nit mightve happened during when me and sly broke down ? i can only imagine what went down lol\n\nminecraft era was mainly about friends for me, but i have no clue why im talking about this in a doml,\nwell its kinda related bc well stuff happened and minecraft was the game that bonded and broke relationships\nfor me, i might b a propriatary software and micropenis hater, but i am thankful i had my minecraft phase\n\nthis summer was really friends, memories, sentimental stuff oriented,, as per me, i didnt do much,\ni thought id do way more this summer, but this summer is shitty overall\n\ni worked on a silly bot called [124](https:\/\/ari-web.xyz\/gh\/124)\nfor my friend group to use, pretty cool, i like it, developed a library called [rebelai](https:\/\/ari-web.xyz\/gh\/rebelai)\nfor it, now currently working on re-doing [pwdtools](https:\/\/ari-web.xyz\/gh\/pwdtools)\nfrom scratch and more modular and re-usable, i got new hardware too, which is nice, although\nits so new my for example wifi card doesnt work lol, i have to use a wifi adapter ( pls someone ( fucking mediatek )\nimplement a driver for `mediatek 7902`, i only have exp in basic drivers in linux, from stuff i see\nthe demand is growing and ye ), currently doubled the ram ( 8 gigs instead of 4 ), a much better cpu\n( amd ryzen 5 7530u ) and overall nicer hardware, im glad i have this compared to my old\nlaptop lol, this is so much nicer to work with, the ram is probably what made the biggest diff for me,\nim so glad i got a ram upgrade lol\n\nthis summer i went from vegetarian to vegan because of multiple developed allergies and intolerances,\nmy self-harm and eating disorder stuff has gotten better which is cool i guess, not a clue how or why\nbut it happened, but idk, i feel like when school starts its all going to go to shit\n\ni tried out for example weed, which was nice, actually the thing that restored hope in my life kinda,\nit was a huge wakeup call when my anxiety, depression and whatnot became so clear and me just like always\nliving with it, it was such a mind boggling exp and idk, im glad i did i guess ?\n\nmy relationship with my parents is getting better, which is also very cool, im glad ive gotten to a point\nwhere i can stay with for example my mother in the same room for a big before my anxiety takes hold of me,\nor be comfortable enough to talk abt things like makeup with her casually, or literally have an lgbt flag\non my wall displayed, overall just like being comfortable around her is something i never really saw happening,\nbut it did, its happening and i am so glad it is, theyre also respecting my privacy more and im just very\nthankful everything like this currently\n\nim turning 16 in less than a month ( sep 10 th ), turning a 10 grader even sooner ( IN 8 DAYS ), getting my\nID pic taken too ( i am restless, ill look even worse than i would have if i slept in it ), next summer im working,\nwho knows if ill even pass grade 10, 10 th exams, overall high expectations, im very scared for 10 th grade,\nand i know my grades will b shit, for example the mathematics trigonometry course is giving me shiver right now,\nim going to do so bad and im so sure about it, i hate it, even thinking abt it gives me the worst anxiety ever,\ni feel terribly overwhelmed with it and its not even started yet, idk, ill see what will happen but oh god ...\n\nim hoping to make most of this academic yr and not fail, hoping to at least get a 4 so i could pass lol, and im\nhoping to do more in terms of self\n\ni feel scared of growing up and its soon, in 2 yrs i will b considered a legal adult and i barely know\nwtf a pvm is \ud83d\udc80 im scared of the future, im anxious abt everything that could happen lol, i know literally\nnothing and idk, im just lost yk\n\nanyway, as u can tell this summer pretty boring and in terms of self i barely did anything, eventwise\nthis summer was pretty bad, but my summer did have some hidden jewels scattered around, im happy im\nhere currently, but i would not like to relive most of this summer lol, but i also dont want for\ntime to go by either so idk, i just wanna b stuck in time happily living my life as is currently\n\nthanks for listening to my rambling\n\nari\n\n2023\/08\/23\n", "time": 1692753230.799684, "keywords": "life doml ari-blog friends family code technology lifestyle journal summer school teen mental mental-health health vegan rambling vent friendship end blogpost happiness joy hope sad breakup" + }, + "install-lineageos-root-ur-xiomi-redmi-8-phone-using-magisk": { + "title": "How to install lineageos and root ur xiomi redmi 8 phone using magisk without twrp", + "content": "_( probably works with other redmis too, but ull have to change some shit with firmware and whatnot )_\n\ni recently rooted my phone and installed lineageos so making this guide i guess\n( huge credits to ducky, a person on the linux gang discord server, who has helped me a lot through all of this )\n\n**warning** thill will void ur warranty and this worked for me, i cannot guarantee anything for ur device, make sure both magisk and lineageos support ur device\n\n- lineageos supported devices : \n- magisk supported devices : theres no such list, but if lineageos supports it ur probably good, although i would recommend asking ai, looking stuff up and \/ or consulting others for guidance\n\nrequirements :\n\n- at least 1 computer\n- windows ( **required** for unlocking the bootloader )\n- linux ( for everything else, although can b done on windows too, just easier on linux lol and as im a linux user this has more resources on that )\n- a xiomi redmi 8 phone which is [supported by lineageos](https:\/\/wiki.lineageos.org\/devices\/Mi439\/) ( this guide might work with other redmis, but u will have to make changes in firmware and stuff u download )\n\n( u might want to dualboot if u have access to a singular computer )\n\n**by reading further u take full responsibility for anything that might happen to ur device and want to see the tutorial**\n\n## abstract\n\nthis tutorial walks through the process of enabling developer options on a redmi 8 device,\nunlocking the bootloader using the official mi unlock tool, then\nthrough the process of installing lineageos through recovery,\npatching the boot image using magisk and installing it so u can have a rooted lineageos system, i also\ncover the process of recovery in case of a failed installation\n\nthis guide is for redmi 8 mainly, although if ur using it as a resource for other redmis\nmake sure to change out redmi 8 specific parts like partition flashing, roms, etc\n\n## part one -- developer options\n\nfirst u will have to enable developer options before doing anything, u might\nhave to repeat this step multiple times during the process of this tutorial\n\n- to to settings\n- go to miui version\n- spam click til it says 'u are now a developer'\n\nnow :\n\n- go to settings home\n- go to additional settings\n- go to developer options\n- enable OEM unlocking\n- enable usb debugging\n\n## part two -- host machine setup\n\ni personally used linux for most of this process, but i did have to use windows on my stepfathers laptop\nfor unlocking the bootloader ( mentioned below ), stuff u will need is simple\n\n- adb\n- fastboot\n\nthese tools are usually available as `android-tools` in linux, for example\n[the arch linux android-tools package](https:\/\/archlinux.org\/packages\/extra\/x86_64\/android-tools\/)\non windows u will probably also require a few usb drivers, although i dont rlly have a clue,\non my stepfathers windows 10 pc i had to install\n\n- the drivers from the mi unlock tool ( mentioned below ) by pressing 'install driver' button\n- https:\/\/www.xiaomidriversdownload.com\/xiaomi-usb-drivers-official\/\n\nthen had to reboot the laptop\n\nbut at this step, if ur on windows, ull have to figure out what drivers u need and how to install\n`fastboot` and `adb`, everything else should work for both linux and windows\n\n## part three -- bootloader unlocking prep\n\nxiomi devices come with a locked bootloader, meaning u have to unlock them,\nin our case we will use the official [mi unlock tool which u can download here](https:\/\/en.miui.com\/unlock\/download_en.html)\nwhich is only available on windows, i have tried everything else, including ( but not limited to ) fucking around\nwith adb and the unofficial mi unlock tool, but nothing worked, so its best u just get\na laptop with windows or maybe a vm with usb passthrough, maybe find some better solution that works\non linux ( or ur setup ), but idk\n\nafter downloading the tool, run it and log into ur account using ur password and phone number\n( password will be required later so make sure to note it or something, make sure to not make it very\ncomplex because the password will be required to type by hand later ), if u dont have one, make sure\nto make one\n\nthen connect ur phone to ur pc using a usb connection and make sure to allow usb debugging when\nit prompts u to enable it\n\nthen open settings -> additional settings -> developer options and\npress on 'mi unlock status' and then :\n\n- make sure u have a sim card inserted\n- turn off wifi and enable mobile data\n- press add account and device\n\npress agree and follow the instructions\n\nthen u will have to wait a painful long while, at least a week if not longer,\nxiomi **_really_** hates users who want to gain control of their device, it might be anywhere\nfrom a week to months, nobody knows, but all u have to do at this stage is\n\n- not log out of the mi unlock tool ( yes u can close it, but not log out, logging out resets everything )\n- wait\n- check on it semi-weekly ( like every 1.5-2 weeks or so )\n\n### how do u know that u are legible for unlocking ?\n\nwell, just repeat the process of running the tool, connecting and whatnot\nand one day u will see that the 'unlock' button will b available\n\n## part four -- bootloader unlocking\n\nnow, as u can unlock the bootloader, dont jump straight into it, make sure :\n\n- u know ur mi account password and it isnt so complex u cant type it by hand\n- u have all ur data backed up ( this step will erase all data )\n- u dont care about the warranty ( this step will void it )\n\nthen, if ur device is ready and all set, press 'unlock', this step shouldnt take long, it should\ngo by pretty quickly and then ull b booted into a stock rom basically\n\nwhen u boot into it, u will b prompted for ur mi account password to unlock ur phone,\nenter it and thats it, after this step u will have to repeat the enabling developer options\nstep again\n\n## part five -- lineageos installation\n\n**this part might fail, if it does, just see <#:recovery>**\n\nnow, as ur phone is fully unlocked and set up for lineageos, its time to flash it, for redmi 7a, 8, 8a and 8a dual\nthe rom download page is so grab the latest build from there\nand extract it, also make sure to download `super_empty.img` as its not included in the build zip\n\nnow, connect ur phone again with usb debugging enabled and fastboot it using this command\n( on windows ull probably have to use cmd.exe or powershell or something, not a clue ) :\n\n adb reboot bootloader\n\nextract ur build ( make sure u still have the zip of the build saved, but do extract it ), `cd` into the\ndirectory, make sure u have the `super_empty.img`, then flash the needed partitions for installation through recovery :\n\n fastboot flash dtbo dtbo.img\n fastboot flash vbmeta vbmeta.img\n fastboot wipe-super super_empty.img\n fastboot flash recovery recovery.img\n fastboot boot recovery.img\n\nif the `wipe-super` command is not found, make sure ur adb is up to date\n\nthese commands vary based on what firmware u have, always make sure to consult the lineageos wiki,\nfor example \n\nthen using volume and power keys go to factory reset -> format data \/ factory reset and format\neverything, this will erase _everything_\n\nafter that go back to the home menu of the recovery, press 'apply update' and select 'apply from adb', then\nuse this command to fully install lineageos :\n\n adb sideload lineage-<...>.zip\n\nthe zip is the one u downloaded from the builds page\n\nif something fails, try to flash the stock rom first, which is covered in <#:recovery>,\nafter it is all done, proceed to boot into lineageos\n\n## part six -- magisk installation ( rooting )\n\n**this part might fail, if it does, just see <#:recovery>**\n\nin the extracted lineageos zip there is a `boot.img` file, save it on ur phone using `adb push boot.img \/path\/on\/to\/phones\/storage` or anything else\nu prefer and install the [latest magisk app from their releases by downloading the apk](https:\/\/github.com\/topjohnwu\/Magisk\/releases)\nthen open the magisk app, press install, check both 'patch vbmeta in boot image' and 'recovery mode'\ncheckboxes, press next, press select 'select and patch a file' or something, select the `boot.img`\nand patch it, after its done patching, transfer it back to ur computer using preferred method, i prefer\n`adb pull \/path\/on\/to\/phones\/storage\/magisk_patched-<...>.img .` personally\n\nnow fastboot ur phone again, making sure its still connected, then boot the patched image :\n\n fastboot boot magisk_patched-<...>.img\n\nthis boot into rooted lineageos, when it boots, go into the magisk app, press 'install' and select 'direct install',\nwhen it asks for superuser access, allow it, then itll install\n\nafter it installs, u are now free to reboot into ur rooted lineageos system\n\n## part seven -- verifying root\n\nnow, after u boot into ur rooted system, verify it, go into magisk and see the 'superuser' tab, if its grayed out,\nur phone isnt rooted, if u can access it, then it is rooted, even then, not counting that in, in the 'install section'\nit should show that u have magisk installed and should show u the version of magisk installed\n\nif it didnt root, maybe proceed to repeat the rooting step or seek community support\n\nand if it did, ur done, enjoy ur new rooted lineageos system :)\n\n## recovery\n\nif lineageos is working, but u borked ur boot image, just fastboot and run this :\n\n fastboot flash boot boot.img\n\nwhere `boot.img` is ur original boot image ( u can get it in the lineageos build zip ), then just reboot\n\nelse, if something failed and u only have fastboot access ( meaning u havent bricked ur phone ) its easily fixable :\n\n- download default fastbot rom, for redmi 8 its ( older firmware -> fastboot ( currently 4.05 GB tgz file ) )\n- extract the tgz using `tar xvf .tgz`\n- `cd` into the directory\n- make sure ur phone is connected through usb\n- run `bash flash_all.sh`\n- boot into stock rom\n\nand well, if ur phone is in a state where it wont even boot into fastboot, i have nothing to say, best of luck\ntrying to fix it :)\n", + "time": 1693091152.770053, + "keywords": "twrp lineageos android android-development rooting no-twrp twrp xiomi redmi redmi8 rom romming tutorial guide firmware oem oem-unlocking usb-debugging adb fastboot bootloader linux windows flashing operating-system os" } } } \ No newline at end of file diff --git a/scripts/blog.py b/scripts/blog.py index 6ed56fb..424fc57 100755 --- a/scripts/blog.py +++ b/scripts/blog.py @@ -119,6 +119,8 @@ CONTEXT_WORDS: Tuple[str, ...] = ( "how", "what", "for", + "with", + "without", ) BLOG_MARKDOWN_TEMPLATE: str = """