[Guide] How to root GloDroid 12 on the PinePhone64 - Android General

This should work on any version of GloDroid for the PinePhone but I've only tested it on 12.
You'll need:
Magisk 24.1
GloDroid 12
adb
fastboot
Steps:
1. adb root
2. adb shell
3. Backup boot.img:
dd if=/dev/block/mmcblk2p5 of=/sdcard/boot.img
4. Backup recovery_boot.img
dd if=/dev/block/mmcblk2p3 of=/sdcard/recovery_boot.img
5. Install Magisk 24.1
6. Patch both files in Magisk
7. Transfer both files onto computer
8. Boot into bootloader:
adb reboot bootloader
9. Flash recovery_boot:
fastboot flash recovery_boot mrecovery_boot.img
10. Flash boot.img:
fastboot flash boot mboot.img
11. Reboot phone:
fastboot reboot
Enjoy!

I tried to install to my pinephone64 going to try your link this time...
*edit*
I flashed it with a phone instead of a computer, put up a fight, but I got it. The build is two days old, Tiramisu.....

How can i put my PinePhone on adb state?

Related

[Guide] How to do OTA on stock rooted Mi A1

Scenario
You are rooted with systemless SuperSU.
You have untouched /system partition.
You have unlocked bootloader.
What you'd need
fastboot and adb from platform-tools.
tissot_images_xxx.tgz - Stock ROM for your current version (before the OTA).
cfar_xiaomi_mi-a1_tissot_xxx.zip - CF-Auto-Root package for your current version (before the OTA).
SR5-SuperSU-v2.82-SR5-xxx.zip or a later version
How to install OTA
Uninstall FlashFire if it's installed. It hijacks OTA installation but fails as the device is not (yet?) supported.
Start the OTA installation. (Settings > About phone > System update)
Restart the device. You'd get into a boot loop because of the patched boot image.
Hold down the power + volume down buttons to get into Fastboot mode.
Code:
fastboot getvar all
to find out the current active slot.
Extract boot.img from tissot_images_xxx.tgz.
Code:
fastboot flash boot_x boot.img
where x is the current active slot.
Code:
fastboot reboot
You'd see the update engine screen for a bit, and then it'd reboot again.
Once you're back in Android, you should see that you're on the latest version. (Settings > About phone)
How to root for both slots
Wait for "Finishing Android update..." to complete (if it's still not done yet).
Code:
adb reboot-bootloader
to get into Fastboot mode.
Code:
fastboot getvar all
to find out the current active slot.
Code:
fastboot set_active x
where x is the inactive slot.
Extract boot.img from cfar_xiaomi_mi-a1_tissot_xxx.zip.
Code:
fastboot boot boot.img
You'd see nothing happen for a while. Just be patient. It'd reboot automatically and it'd take a while.
WARNING: Do not flash this image. If you accidentally flash it, you can reflash the stock boot.img.
Click to expand...
Click to collapse
Once you're back in Android, you should see that you're on the old version. (Settings > About phone)
Install FlashFire.
Code:
adb push SR5-SuperSU-v2.82-SR5-xxx.zip /sdcard/
(adjust the filename accordingly).
Code:
adb shell "su -c 'echo BINDSBIN=true > /data/.supersu'"
to install SuperSU in SBIN mode. Recommended.
Run FlashFire. Add "Flash ZIP or OTA" action and select the SuperSU zip. Select Slot A.
Add "Flash ZIP or OTA" action and select the SuperSU zip. Select Slot B.
Wait for "Finishing Android update..." to complete (if it's still not done yet).
Hit the flash button. Wait while FlashFire does its job. Be patient. It might reboot a few times. Do not interrupt the process.
Code:
adb reboot-bootloader
to get into Fastboot mode.
Code:
fastboot getvar all
to find out the current active slot.
Code:
fastboot set_active x
where x is the inactive slot.
Code:
fastboot reboot
and you're done.
If you want to read this in Markdown: https://gist.github.com/teohhanhui/98810ee282292157e8290e7e3ed87537
References / Credits
Guide on how to root mi A1 all future updates
Root new OTA updates [September Update]

[TWRP RECOVERY] + [ROOT] Teclast Tbook 11 (E5A6) Android 5.1

Hello,
This is my first post on how to root and install TWRP recovery on the Teclast Tbook 11 (E5A6) android 5.1
The TWRP works with touch and I haven't encounterd any problems with it
I have not created the TWRP, it is made by nik2670
We only flash or boot the recovery, then install SuperSU 2.82- 201705271822. Nothing else !
Sorry for the mirrors. (I will remove them if you're the owner)
Be sure to have ADB drivers v1.4.3 installed before you continue.
Download TWRP 2.8.7.0. Recovery Tbook 11 and ADB and Fastboot and put it in a folder on your desktop
Enable USB debugging on your tablet (Settings->Developers->usb-debugging)
Connect your tablet with your PC
Open up a CMD prompt in the folder you have your ADB. Win+R type CMD, hit enter. Copy the path of ADB and put in the CMD prompt
Code:
cd [path]
Mine was cd "C:\Users\Thermaltake\Desktop\ADB FASTBOOT FILES WINDOWS"
In the CMD prompt, type
Code:
adb devices
If you see your device you good to go.
Type
Code:
adb reboot bootloader
your tablet reboots, select android while it reboots
Now we're in fastboot mode, just to be sure we see the device type
Code:
fastboot devices
. If you can't see your device like me you have to manually install drivers.
Do you have the recovery.img in the same folder as ADB? Good. Type
Code:
fastboot boot recovery.img
OR
Code:
fastboot flash recovery recovery.img
to permanently have the TWRP recovery on your device (I recommand boot)
Your tablet is now in recovery mode! You can acces the internal storage. Add SuperSU-v2.82 on your device.
Hit Install->SuperSU-v2.82-201705271822->Swipe to confirm flash->Wipe dalvik cache->Reboot----> DONE !
Image of succesfully root
Thanks for following my guide, if there are any problems I try to update the tutorial or provide more information to you!
Mathero11
Thanks to nik2670 for the recovery, chainfire for supersu and unpersonally xda developers for other flash/root tutorials

[GUIDE] Installing the lastest LineageOS 15.1 Official (and microg fork)

I managed to install it, it got really tricky. The thing is that the new Lineageos releases somehow fail the verification on twrp and the old lineageos recovery. I found out after hours of investigating that you need the *new* Lineageos recovery to flash the new lineageos. I know, it's pretty absurd.
I extracted the boot.img from lineage-15.1-20180724-nightly-tissot-signed.zip extracting the payload.bin from the zip and using this tool https://androidfilehost.com/?fid=818070582850510260.
You can download the boot.img I extracted myself here: https://drive.google.com/file/d/1QftMHTXrINAOfr3Pcaqyux9nHRnGTnKl/view?usp=sharing
Put the phone on fastboot mode, connect via usb and type:
Code:
fastboot boot boot.img
while pressing the volume-up button to enter the Lineageos recovery.
From there do a factory reset, wipe system, and now you can flash lineage-15.1-20180724-nightly-tissot-signed.zip.
To flash it, it gets tricky. First of all you can't flash from the sdcard because it shows up an error. So you go to update, and press install from ADB or something like that. Now you have the phone on adb sideload mode.
Download https://developer.android.com/studio/releases/platform-tools. Adb from XDA's "Minimal ADB and Fastboot" doesn't work for some reason.
Unzip the file, open a command prompt on that folder and type:
Code:
adb devices
It has to show up as something like this:
Code:
List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully
xxxxxxxxxxx sideload
Where xxxxxxx is the phone id.
Then you can proceed to flash. Just type:
Code:
adb sideload lineage-15.1-20180724-nightly-tissot-signed.zip
Wait until it completes, it seems to freeze at 50% or so but wait some minutes until the progress bar on the recovery finishes and reboot.
Now you should be booting lineageos and set up it as usual. I hope this guide helped, took me some hours to figure it all out.
To install su addon, download it from https://mirrorbits.lineageos.org/su/20180718/addonsu-15.1-arm64-signed.zip, place the zip in your internal storage, download this recovery https://basketbuild.com/filedl/devs...ewolf/Recovery/tissot/twrp-3.2.2-1-tissot.img (thx nicknitewolf) and boot it via fastboot:
Code:
fastboot boot twrp-3.2.2-1-tissot.img
From there flash the su addon as usual and enjoy. Probably this method works also for opengapps/mindthegapps, i didn't have time to test it.
Rather, just use Abhishek's recovery image and twrp (V3.2.3) installer zip and get the job done.
Once you've installed the official LineageOS 15.1: Can you then update your system from Settings -> System -> About phone -> LineageOS updates without needing to ever flash something from TWRP again?

[Guide] Android 11 on PH-1 - what worked for me

[Disclaimer: Should anyone decide to follow these instructions, they will be doing so at their own risk. Bad Things™ could happen, and you, and you alone, my fellow traveler, are responsible for your choice to follow this path, and for understanding and accepting full consequences of flashing non-OEM phone firmware. I, myself, do not have enough know-how to help you should things turn not as expected, as all the heavy lifting has been done by others, and I thank them all. Support those that support us!]
Some background; after the post [https://forum.xda-developers.com/t/gsi-rom-aosp-android-gsi-support-for-essential-phone.4326297/] that introduced me to using GSI (Generic System Image) builds as daily drivers, I’ve tried a handful of them (as collected on P.H. Husson’s treble_experimentations page) with a varying degree of success. The build that has delivered the smoothest experience out-of-the-box for me has been the Octavi GSI [https://octavi-os.com/].
-- What’s needed --
- From this page download - Essential PH1 window drivers and The latest official ROM
- Download Android build tools, AOSP.zip given in this post, and this OctaviOS GSI build for full Google experience [some other builds are on this page. NOTE: PH-1 takes ARM64, ab (system-as-root), and project Treble (the vndk part) compatible variant.
-- The work –
- Preparations: (Refer to this page for the excellent overview on working with ROM images done by Vigasaurus, especially the section How to Flash (for Fastboot only)).
On the desktop:
- Install Essential drivers
- Create a work folder, let’s say A11, and unzip the platform tools files (from the ‘platform_tools’ subfolder) there. This folder will then have ‘adb’, and ‘fastboot’ executables.
- Unzip the content of PH1-Images-QQ1A.200105.032.zip to A11
- Unzip the content of AOSP.zip to A11 overwriting all (3) files.
- Unzip OctaviOS firmware to A11 folder
- Open command line and go to A11 folder
- connect the phone to your computer
Then type:
Code:
adb devices
(the response should be a string of numbers (the phone's serial number) followed by the word ‘device’
On the phone (if not done already):
- Tap Settings, then tap System > About phone and scroll to the bottom of the page, then
- Tap Build number multiple times until you see the pop-up message “You are now a developer”
- Go back one screen to System, then tap Developer options and enable OEM Unlocking and USB debugging.
Back on the desktop type:
Code:
adb reboot bootloader
and if not done already, type:
Code:
fastboot flashing unlock
fastboot flashing unlock_critical
then:
Code:
fastboot set_active a
fastboot flash vendor vendor.img
fastboot flash system system.img
fastboot format userdata
fastboot reboot
After phone reboots type:
Code:
adb root
adb disable-verity
adb reboot bootloader
Now, edit flashall.bat to replace ‘system.img’ with OctaviOS image. In my case those two lines look like this:
Code:
fastboot flash system_a OctaviOS-v2.9-arm64_bgN-vndklite-20210918-Official.img
fastboot flash system_b OctaviOS-v2.9-arm64_bgN-vndklite-20210918-Official.img
- Save and run flashall.bat
At this point your device will boot the new firmware. If how you use your phone does not require rooting, you are done. Go through the initial setup steps and profit!
For those who need root:
- Download Magisk Manager and put, and install it on your phone.
- Enable Developer (as above) and USB debugging
On command line in A11 folder push the Magisk app and boot.img to the phone:
Code:
adb push boot.img /sdcard/Download
adb push Magisk-v23-0.apk /sdcard/Download
On the phone, install the Magisk app and start it up.
then
Tap Install, tap Method, then select file, and choose the boot.img from Download folder
Back on command line:
Code:
adb shell ls /sdcard/Download
adb pull /sdcard/Download/[name-of-magisk-patched-image]
adb reboot bootloader
fastboot flash boot_a [name-of-magisk-patched-image]
fastboot flash boot_b [name-of-magisk-patched-image]
fastboot reboot
Then, back on the phone:
- Start Magisk app
- Tap settings icon (upper right) and activate MagiskHide
- Exit and tap Check SafetyNet to make sure it’s all good.
Now, profit!
[Final advice: I've turned off any AOD, Daydream, and PocketDetection settings, as they severly impact battery use. After that, it's been smooth sailing]

General P11 plus 616f installation rom gsi + root

Start by downloading the official stock rom. If you had a problem with the installation or just want to go back to the original usage
Flash SP Tools
- download the latest version of Android sdk platform-tools
- Put in the platform-tools folder your boot.img and vbmeta.img that you have copied from your previously downloaded official rom.
- Then download the generic system image you want to install, put it in the platform-tools folder and rename it GSI.img
- Put your smartphone in developer mode, in the settings press 7 times on the build number
- In the menu Options for developers that appeared, you must enable OEM unlocking, enable USB debugging
- Connect the smartphone to the computer, in Configuration usb choose Connection sharing via usb
accept the requested authorization on your smartphone,
- In the platform-tools folder enter the command
adb reboot bootloader
fastboot flashing unlock Press VOL+ to confirm
fastboot flashing unlock_critical Press VOL+ to confirm
fastboot --disable-verification flash boot boot.img
fastboot --disable-verify flash vbmeta vbmeta.img
fastboot -w
fastboot reboot fastboot The tel switch to FastbootD mode and wait for a moment before entering the following command
fastboot delete system
fastboot delete-logical-partition product_a
fastboot --disable-verity --disable-verification system flash Gsi.img Wait for a moment
fastboot -w
fastboot bootloader
fastboot delete user data
fastboot reboot
Lenovo then logo rom gsi and install
evolutionx rom
Releases · ponces/treble_build_evo
Script and patches for building PHH-Treble Evolution X - ponces/treble_build_evo
github.com
rom lenovo and flashtool 616f
https://mirrors.lolinet.com/firmware/lenovo/Tab_P11_Plus/TB-J616F/TB-J616F_S240155_230210_ROW_SVC.zip
https://mirrors.lolinet.com/firmware/lenovo/Tab_P11_Plus/flashtool/MTK_Flash_Tool_v5.2104_P522.zip
Last tested rom that works
https://private.projectelixiros.com/thirteen/gsi/ProjectElixir_3.6_gsi-13.0-20230223-1108-OFFICIAL.img.xz
Root lenovo 616f
Install the Magisk app to your phone and install
In the Options menu, enable both the Preserve Force Encryption and Recovery Mode options.
Choose Select and Patch a file.
Browse to the extracted boot.img file and select it.
Magisk will now load the boot.img file and start patching.
Then the patched patched boot image file will be saved as magisk_patched.img in Internal Storage Downloads.
The file will be named as magisk_patched.img.
Transfer the magisk_patched.img file to the platform-tools folder.In the platform-tools folder enter the command
adb reboot bootloader
fastboot flash boot magisk_patched.img
fastboot reboot
successfully rooted
Magisk 25.2
https://github.com/topjohnwu/Magisk/releases/download/v25.2/Magisk-v25.2.apk
Can you make a video to review that rom on p11
It has only one flaw,
The PC does not recognize the tablet, it can only be charged, files cannot be transferred and adb does not work either.

Categories

Resources