Tutorials

Hello Everyone!

Again during our Material Design class, our teacher has introduced us another great web-site which allows us to make a map of our thoughts!

It may sound as a simple thing, because it is a simple thing but what it provides us is reducing complexity of our thoughts and and transferring them into a sheet of paper in which we can see them in order. Like this,

NopeIdontWanttoPay.PNG

Although it is a great service and a decent material designing tool for everyone, it is simply not worth the money it wants. Yes, in order to export your maps into usable formats such as jpg, png and even pdf. If you want to export your maps into such formats, you gotta pay them minimum at least 5 dollars each month!

2018-05-27.png

But do not worry about it! Because I got you there 🙂 Here, I will explain how to export your mind-maps as jpg and png files.

  1. Make Your Mind-Map
  2. Press on Windows Key on your keyboard and then type “Snipping Tool”2018-05-27 (2).png
  3. Open Snipping Tool and then press on “New”2018-05-27 (3).png
  4. Crop the screen however you want2018-05-27 (4).png
  5. Save the cropped image 2018-05-27 (5).png
  6. Enjoy.

Thank you for leaving your time and reading my post!

Hello Everyone!

Since it’s been released, we have waited for a long time to root our Sony Xperia XZ1 phones… But finally, thanks to these three people N1ghtr08d, modpunk and janjan from XDA Developers, we can now 🙂

xdawallpaper-1280x720

In this tutorial I will show you how to root your Sony XZ1 on Linux by combining the amazing tutorial compiled by N1ghtr08d and using Linux Terminal.

maxresdefault

Steps

1) Unlock Your Developer Options

  • Settings > System > About Phone
  • Tap repeatedly on Build Number until you unlock Developer Settings

2) Unlock Your Bootloader

  • Settings > System > Developer Options
  • Turn on OEM Unlocking
  • Open your dialer and type *#*#7378423#*#* to access the service menu
  • Service Info > Configuration > Rooting Status (If it’s yes, you can root your device)

3) Drivers

  • No drivers required for Linux users.

4) Tools

  • Make a directory as WorkDir on your Desktop
  • Download Platform Tools and extract it to WorkDir

5) Getting Your OEM Password

  • Click on this link and then select your device
  • Open your dialer and type *#*#7378423#*#* to access the service menu
  • Service Info > Configuration > IMEI
  • Copy the IMEI Number and paste it on the required field and get your OEM Password.

6) Enable USB Debugging

  • Settings > System > Developer Options > USB Debugging
  • Turn on USB Debugging

7) Fastboot

  • Turn off your device
  • Connect it to your computer via a USB-cable
  • On your device, press the volume up button, if it connects you will see a blue light.
  • Start a terminal and log-in as root (sudo -i)
  • cd /home/yourusername/Desktop/WorkDir/platform-tools
  • run this command and check that you get no errors afterwards ./fastboot devices
  • run this command to unlock your Bootloader /.fastboot -i 0x0fce oem unlock 0x<insert your unlock code>
  • Verify that you get no errors.
  • Open your phone

8) Downloading Root Files and Preparing Your Work Field

  • modpunk’s port of TWRP
  • janjan’s Kernel and DRM Package
  • mkdir /home/yourusername/Desktop/WorkDir/TWRP /home/yourusername/Desktop/WorkDir/JanJan
  • Copy TWRP image into TWRP folder and extract janjan’s package into JanJan folder.
  • Connect your phone and copy the three zip files in janjan’s package into your phone

9) Rooting

  • Connect your phone to your computer
  • Start a Terminal and log-in as root (sudo -i)
  • cd /home/yourusername/Desktop/WorkDir/platform-tools
  • ./adb reboot bootloader
  • ./fastboot flash boot ../JanJan/JANJAN_XZ1_Kernel+DRM-patch+Magisk/1-boot.img
  • Once the boot image is flashed, unplug and boot up your phone and check your kernel version. Settings > System > About Phone > Kernel Version (It should be “4.4.78-Amjal-Safi-amjalsafi@amjalsafi #1“)
  • Once again boot into bootloader by running ./adb reboot bootloader
  • ./fastboot flash recovery ../TWRP/twrp-3.2.1-0-poplar-4-patchlevel-2018-02-05.img
  • Boot up your phone and then power off it.
  • Boot into TWRP by holding power button and volume down button at the same time and release them when you hear the first vibration.
  • Once you boot into TWRP if it asks you a password, it is the pin you’ve set for the phone or if you did not, it’s default_password.
  • In TWRP select Install and then install 2-Patching_drm_Su and 3-Magisk-v15.3
  • Reboot your phone and check if Magisk is installed or not. If it’s installed, don’t open it yet.
  • Turn off your phone and boot into TWRP again by holding power and volume down buttons at the same time.
  • Install 4-kernel_permissive and then reboot your phone.
  • Open Magisk App and check the modules section to be sure that the Magisk SELinux Permissive Script is active.

10) Enjoy

  • Enjoy your rooted phone!

Resources

XDA

Sony

Hello Everyone!

In this tutorial I will be showing you how to install Nvidia Graphics Card into an Ubuntu running Optimus Laptop.


 

How to verify that you have two gpus

lspci | grep -E “VGA|3D”

How to Disable Nouveau

echo -e “blacklist nouveau\noptions nouveau modeset=0\nalias nouveau off” > /etc/modprobe.d/blacklist-nouveau.conf

update-initramfs -u && reboot

After the installation

/etc/X11/xorg.conf

How to find PCI = nvidia-xconfig –query-gpu-info | grep ‘BusID : ‘ | cut -d ‘ ‘ -f6

Section “ServerLayout”
Identifier “layout”
Screen 0 “nvidia”
Inactive “intel”
EndSection

Section “Device”
Identifier “nvidia”
Driver “nvidia”
BusID “PCI:10:0:0”
EndSection

Section “Screen”
Identifier “nvidia”
Device “nvidia”
Option “AllowEmptyInitialConfiguration”
EndSection

Section “Device”
Identifier “intel”
Driver “modesetting”
EndSection

Section “Screen”
Identifier “intel”
Device “intel”
EndSection

—-

/usr/share/gdm/greeter/autostart/optimus.desktop
/etc/xdg/autostart/optimus.desktop

[Desktop Entry]
Type=Application
Name=Optimus
Exec=sh -c “xrandr –setprovideroutputsource modesetting NVIDIA-0; xrandr –auto”
NoDisplay=true
X-GNOME-Autostart-Phase=DisplayServer

——

run nvidia-smi to verify that your card is running


 

If this was helpful to you, please leave a comment and like 🙂

Please ask your questions here. So, that other people can see and benefit from them 🙂