Skip to content

Instantly share code, notes, and snippets.

@adawolfa
adawolfa / README.md
Created August 22, 2023 15:54 — forked from plugnburn/README.md
NokiaTool - simple interface Bash script for MediaTek-based Nokia simple phones

NokiaTool: control MediaTek-based Nokia phones from your PC

Overview

NokiaTool is a simple Bash script (nokiatool.sh) that allows you to use an undocumented serial connection in USB-enabled MediaTek-based Nokia feature phones manufactured by Microsoft (even the most basic ones, like the new 105) in order to control them from your PC.

This project is an ongoing work and uses only some bits and pieces of information about the phone internals available to the public, so under any circumstances don't consider it stable or a replacement for official tools if any are present.

<?php
function reverse_linked_list(Node &$node): void
{
for (
$current = $node,
$previous = null,
$following = $current->next;
$current !== null;
$previous = $current,