Source: custom rom with dex | XDA Forums
Engineering and technology
[ROM][10] hadesRom Q v3.0 for Exynos S8 / S8+ / Note8 [04.02.2022] | XDA Forums
LineageOS 19.1 (Android 12L) [Signature Spoofing][OTA updates] for S8/S8+/Note8
Root Note8 (Exynos) + OEM Issue Fix + EFS Backup (Note8/S8/S8+) | XDA Forums
How to Use
1.Enable Developer Option (settings – about phone – Software information – Tap 7 times on build number to activate developer option in settings menu)
2.Enable OEM Unlock from developer option (Read above for workaround if you don’t have this option)
3.Download and copy N950F_root_OEM_issue_devices.zip according Oreo/Pie to Ext SD card
4.Download TWRP for N8
5.Switch Off device
6.Press Vol down + Bixby + Power to reboot to download mode, press volume up when asked to continue to download mode
7Download Odin and open it, Disable ‘Auto reboot’ from option menu of Odin
8.Select TWRP (tar image) with AP tab of Odin and Start
9.Once Successfully flashed, you will see ‘Passed’ in Odin tab
10.Disconnect device and hold Vol down + power till screen goes off, Now immediately press Vol Up + Bixby + Power to reboot to TWRP
11.Select to allow modification
12.From TWRP, Select WIPE menu – Then FORMAT DATA – You need to type ‘yes’ to perform wipe. WARNING : This will erase all data including Int SD storage from device
13.Once format device completes, go back and select REBOOT’ Menu and then – ‘RECOVERY’, This will reboot to TWRP again
14.Now select Install and navigate path to Ext SD card – N950F_root_OEM_issue_devices.zip, you have copied earlier
15.Once Magisk flash successfully, Reboot to System
Open settings – Developer option – Look for OEM Unlock option. If it is there, it is safe to reboot device.
Credits and Thanks goes to BlackMesa123 for this post for OEM patch script.
Important Note for Pie – There will be OEM unlock option there in developer setting but it will be disabled and can not enabled, this is because of it is hacked. Just ignore it. You can not boot device with TWRP if it is really disabled. Also If magisk app may not appear then simply download Magisk_for_Pie.apk from below attachement and install as regular app.
Source: [Guide] (Oreo) Root Note8 (Exynos) + OEM Issue Fix + EFS Backup (Note8/S8/S8+) | XDA Forums
Gear S3 Root and Kernel Source! (Android Wear Port Thread)
15 best music player apps for Android
Why You Can’t Really Damage Your Microphone Port with a SIM Eject Tool
write a struct array to spiffs
CODE: SELECT ALL long start_time_spiffs = millis();
File configFile = SPIFFS.open("/lights.conf", "w+");
if (!configFile)
{
Serial.println(F("Failed to open test.conf"));
} else {
Serial.println(F("Opened Hue_conf.txt for UPDATE...."));
Serial.printf("Start Position =%u \n", configFile.position());
unsigned char * data = reinterpret_cast<unsigned char*>(Lights); // use unsigned char, as uint8_t is not guarunteed to be same width as char...
size_t bytes = configFile.write(data, sizeof(HueLight) * _LightCount ); // C++ way
Serial.printf("END Position =%u \n", configFile.position());
configFile.close();
}
Grafana reporter dashboard not found · Issue #21 · IzakMarais/reporter
apache2 – Configure apache to listen on port other than 80 – Stack Overflow
In /etc/apache2/ports.conf, change the port as
Listen 8079
Then go to /etc/apache2/sites-enabled/000-default.conf
And change the first line as
<VirtualHost *: 8079>
Now restart
sudo service apache2 restart
Apache will now listen on port 8079 and redirect to /var/www/html
Source: apache2 – Configure apache to listen on port other than 80 – Stack Overflow
Install Grafana on Ubuntu 20.04
1. Install Grafana
Update the system packages.
$ sudo apt update
Install required system packages.
$ sudo apt-get install -y gnupg2 curl software-properties-common
Add Grafana GPG key.
$ curl https://packages.grafana.com/gpg.key | sudo apt-key add -
Install the Grafana repository.
$ sudo add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"
Update the system packages.
$ sudo apt update
Install Grafana
$ sudo apt -y install grafana
Start Grafana service.
$ sudo systemctl start grafana-server
Enable Grafana service to start on system boot.
$ sudo systemctl enable grafana-server
Check the service status.
$ sudo systemctl status grafana-server
By default, Grafana is accessible on port 3000. To use Grafana on port 80, you can run a reverse proxy to forward all traffic on port 3000 to port 80. To do this, you can follow the instructions in the next step. Otherwise, use port 3000 to access the Grafana web interface.
2. Install and Configure Nginx Reverse Proxy (Optional)
Install Nginx.
$ sudo apt install nginx -y
Start Nginx service.
$ sudo systemctl start nginx
Enable Nginx service to start on system boot.
$ sudo systemctl enable nginx
Check Nginx service status.
$ sudo systemctl status nginx
Unlink the default configuration file.
$ sudo unlink /etc/nginx/sites-enabled/default
Create a new configuration file.
$ sudo nano /etc/nginx/sites-available/grafana.conf
Add the following code in the new file, save and close the file:
server {
listen 80;
location / {
proxy_pass http://localhost:3000;
}
}
Link and activate the new configuration file.
$ sudo ln -s /etc/nginx/sites-available/grafana.conf /etc/nginx/sites-enabled/grafana.conf
Test the configuration file.
$ sudo service nginx configtest
Restart Nginx service.
$ sudo systemctl restart nginx
3. Access Grafana Dashboard
To access the Grafana Web Interface without reverse proxy, go to your browser and visit http://Server_IP:3000/. For example:
http://192.0.2.10:3000/
To access the Grafana Web Interface over the reverse proxy, go to your browser and visit http://Server_IP/. For example:
http://192.0.2.10/