Search This Blog

Root Google Pixel 4 Android 13 with Ubuntu 22.04 LTS

 

Root Google Pixel 4 Android 13 – Ubuntu 22.04 LTS using terminal


1. Install Google Chrome (no Chromium)

                wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb              
                sudo dpkg -i google-chrome-stable_current_amd64.deb

2. Instal ADB i Fastboot tools in Ubuntu

                sudo apt update

                sudo apt install android-tools-adb android-tools-fastboot

                sudo dnf install android-tools

*create directories on your Ubuntu, for example on the Desktop or Home… under the name for example “Google Pixel 4 rooting”

3. Very Important – BACKUP your data (photos, videos...)


**** all data such as pictures, videos, documents and others will be deleted ****

This is an example of the Google Pixel 4 rooting procedure, at your own risk!!!


4. In Google Pixel 4 go to Settings – About Phone – Build Number fast tap 7x

            4.1 go to System – Developer Options – USB Debugging - ON

            4.2 go to System – Developer Options – OEM Unlocking - ON

5. Go to https://flash.android.com/

             
            5.1 click +Add new device and allow ADB

            5.2 Select Pixel 4 and connect

            5.3 Select build – and select

            5.3.1 Wipe Device

            5.3.2 Force Flash all Partition

            5.3.3 Disable Verity

            5.3.4 Disable Verification

            5.3.5 Install Build

*maybe a message in Your Google Pixel 4 will appear to unlock bootloader, follow the instructions from the website and on the Google Pixel 4, wait for installation, Google Pixel 4 will reboot after some time

6.1 Go to https://github.com/topjohnwu/Magisk/releases and download Magisk-v28.1.apk

            6.2 copy Magisk-v28.1.apk in Your Google Pixel 4

            6.3 install Magisk-v28.1.apk in Your Google Pixel 4

7. Go to https://developers.google.com/android/images and find your model Pixel 4

            7.1 go to Settings in Your Google Pixel 4 – About Phone – Build Number

            7.2 find and download images

*example:

TP1A.221005.002.B2, Feb 2023

https://dl.google.com/dl/android/aosp/flame-tp1a.221005.002.b2-factory-38e4f49a.zip

          

            7.3 go to your working directory where you created it and unzip

                            *flame-tp1a.221005.002.b2.zip

            7.4 go to flame-tp1a.221005.002.b2 directory and unzip

                            *image-flame-tp1a.221005.002.b2.zip

            7.5 find boot.img and copy to Your Google Pixel 4

8. Run Magisk aplication in Your Google Pixel 4

            9.1 click install, select and patch a file (select file boot.img)

            9.2 find in Downloads directory in Your Pixel 4 file *magisk_patched-28100_P4nwz.img

            9.3 copy *magisk_patched-28100_P4nwz.img in your working directory in Ubuntu

9. In Google Pixel 4 go to Settings – About Phone – Build Number fast tap 7x

            10.1 go to System – Developer Options – USB Debugging - ON

            10.2 go to System – Developer Options – OEM Unlocking - ON

10. In Ubuntu go to terminal and find Your device with command

            adb devices

                Results: List of devices attached

                9B151FFAZ00J2P device

            adb reboot bootloader

            fastboot flash boot magisk_patched-28100_P4nwz.img

11. Reboot your Google Pixel 4


Your Google Pixel 4 is ROOT!


check Your Your Google Pixel 4 with Root Checker https://root-checker.en.uptodown.com/android/download

Ubuntu 14.04 - Problem with Kodi Error livetvSerbia addon

Ubuntu 14.04 - Problem with Kodi Error livetvSerbia addon




livetvSerbia
We failed to reach a server. - [Errno 1]
_ssl.c:510: error:14077410:SSL

 
Problem is old version Python 2.7.6

Install Python version 2.7.12

sudo apt-add-repository ppa:fkrull/deadsnakes-python2.7 
sudo apt-get update 
sudo apt-get install python2.7 python2.7-dev

How to disable or enable apport in Ubuntu with terminal?

How to disable or enable apport in Ubuntu with terminal? 

Open the terminal (CTRL + ALT + T)  


$ sudo -i gedit /etc/default/apport

# set this to 0 to disable apport, or to 1 to enable it
# you can temporarily override this with
# sudo service apport start force_start=0
enabled=0 






How to install Envy24 Audiophile 2496 M-audio sound card in Ubuntu with terminal?

How to install Envy24 Audiophile 2496 M-audio sound card (alsa-tools alsa-tools-gui) in Ubuntu with terminal? 

Open the terminal (CTRL + ALT + T)  

$ sudo apt-get update 

$ sudo apt-get install alsa-tools alsa-tools-gui 

After installation start Envy24 mixer and go to "Analog Volume" tab.

Tested: Ubuntu 12.04 LTS, 14.04 LTS, 16.04 LTS, unity and gnome, 32 bit and 64 bit system

How to install VPN package in Lubuntu with terminal?

How to install VPN package (network-manager-pptp and pptp-linux) in Lubuntu with terminal?

Open the terminal (CTRL + ALT + T)

$ sudo apt-get update
$ sudo apt-get install network-manager-pptp pptp-linux

$ sudo reboot

How to defrag linux partition using e4defrag?

How to install and defragmated linux partition ext4 ext3 using "e4defrag" with terminal?


Open the terminal (CTRL + ALT + T)

$ sudo apt-get update
$ sudo apt-get install e4defrag


Open the terminal (CTRL + ALT + T)


$ sudo e4defrag -c /

$ sudo e4defrag -v /

or only directory

$ sudo e4defrag -c /home/


ibm@ibmr60e-ThinkPad-R60e:~$ sudo e4defrag 
Usage : e4defrag [-v] file...| directory...| device...
: e4defrag  -c  file...| directory...| device...




ibm@ibmr60e-ThinkPad-R60e:~$ sudo e4defrag -c /
<Fragmented files>                             now/best       size/ext
1. /var/log/syslog                               2/1            4 KB
2. /var/log/lastlog                              2/1            6 KB
3. /home/ibm/.mozilla/firefox/ilpwg9sp.default/cert8.db
                                                 2/1           66 KB
4. /home/ibm/.config/chromium/BrowserMetrics-active.pma
                                                 6/1          182 KB
5. /home/ibm/.config/chromium/Default/Current Session
                                                 3/1          172 KB

 Total/best extents 121685/121597
 Average size per extent 97 KB
 Fragmentation score 0
 [0-30 no problem: 31-55 a little bit fragmented: 56- needs defrag]
 This directory (/) does not need defragmentation.
 Done.




ibm@ibmr60e-ThinkPad-R60e:~$ sudo e4defrag -v /
....
...
..
[179130/179143]/bin/mount: 100%  extents: 1 -> 1 [ OK ]
[179131/179143]/bin/unicode_start: 100%  extents: 1 -> 1 [ OK ]
[179132/179143]/bin/loadkeys: 100%  extents: 1 -> 1 [ OK ]
[179133/179143] "/bin/bzcmp"
File is not regular file [ NG ]
[179134/179143]/bin/udevadm: 100%  extents: 1 -> 1 [ OK ]
[179135/179143]/bin/sleep: 100%  extents: 1 -> 1 [ OK ]
[179136/179143]/bin/zgrep: 100%  extents: 1 -> 1 [ OK ]
[179137/179143]/bin/ed: 100%  extents: 1 -> 1 [ OK ]
[179138/179143]/bin/ntfsfix: 100%  extents: 1 -> 1 [ OK ]
[179139/179143]/bin/bzcat: 100%  extents: 1 -> 1 [ OK ]
[179140/179143]/bin/loginctl: 100%  extents: 1 -> 1 [ OK ]
[179141/179143]/bin/ntfsdump_logfile: 100%  extents: 1 -> 1 [ OK ]
[179142/179143]/bin/gzip: 100%  extents: 1 -> 1 [ OK ]
[179143/179143]/bin/kbd_mode: 100%  extents: 1 -> 1 [ OK ]

Success: [ 121512/179143 ]
Failure: [ 57631/179143 ]
Total extents: 121583->121575
Fragmented percentage:  0%->0%






How to disable google analytics tracking in host file?

How to disable google analytics advertising tracking in host file? 

Open the terminal (CTRL + ALT + T)

$ sudo gedit /etc/hosts

(gedit or leafpad or nano)

copy in hosts file, save and reboot Ubuntu

127.0.0.1 www.google-analytics.com # block Analytics
127.0.0.1 ssl.google-analytics.com
127.0.0.1 google-analytics.com
127.0.0.1 www.googleadservices.com # block remarketing
127.0.0.1 googleadservices.com







Featured Post

Root Google Pixel 4 Android 13 with Ubuntu 22.04 LTS

  Root Google Pixel 4 Android 13 – Ubuntu 22.04 LTS using terminal 1. Install Google Chrome (no Chromium)                ...