How can do a root ? LineageOs 18.1 - Xperia Z2 Q&A, Help & Troubleshooting

Hi i installed LineageOS 18.1 to my Xperia Z2. But i cant root. I have a latest TWRP but i when i try to flash SuperSu.zip file it gives me this error and aborting flash. Please help. I cant find any solution about this problem on sites.
Boot image patcher
----------------------------------------------
- Finding boot image
--- Boot image: /dev/block/mmcblk0p14
- Extracting ramdisk
--- Failure, aborting
---------------------------------------------
i tried to mount System but no success.
I cant root with SuperSu but if its possible to install Magisk please say me to how to install Magisk. sorry for my english

Related

[HELP]failed to mount /'system (device or resource busy) [Android 6.0.1 existenZ]

Guys I have problems after installing my SD card...when I try to flash something I get the error as written in title :/
How can I mount system?I think it's can be done somehow through Root Explorer
Wolfbreak said:
LB/UB supported [Windows/Flashable]
Hey guys i present you RecRoot v4.
Please report back if it works!
Instructions
You need to have Root already and a Windows PC or working Recovery
Run install.bat on Windows and connect Phone or flash in your already working Recovery to keep Root
The Windows Variant only installs Recovery
Features
New TWRP 3.0.2 Recovery from shoey63
ByeSELinux
RIC Defeat
Fixed sqsh mount in Script
Recovery uses its own Busybox now
Updated Busybox to 1.24.2
SuperSU 2.71 in System Mode
Download
Download RecRoot Combined v4 for Android 6.0.1 Marshmallow [all MM Firmwares supported]
Credits
serajr for Scripts
shoey63 for Recovery
NUT for his Scripts
zxz0O0 for ByeSELinux and RIC Defeat
Chainfire for SuperSU
Click to expand...
Click to collapse
try to flash this

Not able to install OpenGApps

I've successfully managed to install Lineage OS 14.1 but can't install Google Apps.
These are the steps so far in a nutshell:
copy lineage + gapps to sd card
rename gapps to update.zip
open flashtool
volume up + usb cable
kernel twrp
wipe
install lineage
boot into system
configure lineage
connect usb with usb debugging
boot into recovery
apply update.zip from sdcard1
And this is what the tablet says:
-- Install /storage/7DBA-1D0C/update.zip ...
Finding update package
Opening update package
E: failed to map file
E: Error exit fron the fuse process: 0
Installation aborted
Any help would be greatly appreciated.
OpenGapps is open_gapps-arm-7.1-pico
@ Betialai
You will not succeed in installing Gapps from LineageOS recovery. Also renaming gapps to update.zip is useless and won't help there.
That recovery is crippled and can be used only for LOS install or backup.
To install Gapps you need to use fully functional TWRP recovery.
so how do I get a fully functional TWRP recovery?
Betialai said:
so how do I get a fully functional TWRP recovery?
Click to expand...
Click to collapse
One of the ways is to take and flash kernel from this firmware which has TWRP built-in.
I followed the install instructions on the LineageOS wiki (and the link to twrp-3.2.1-0-pollux_windy.img).
I use addonsu-14.1-arm-signed and searched a bit to learn that you have to enable su in developer options and reboot.

Problem with flashing ROM above Android 6

Hi guys,
I cannot flash any ROM above Android 6. I have TWRP 2.8.7 installed and I can't flash any other version neither with fastboot nor directly in TWRP.
Rooting with SuperSU is possible in TWRP but not with Magisk or flashing any ROM.
This is how I tried to flash the ROM:
1. Boot into recovery
2. Make factory reset, wipe dalvik cache/cache, wipe system/data
3. Install ROM from SD-Card
4. Error message: E: unknown command [log]
E: Error executing updater binary in zip /external_sd/AospExtended.zip
Error flashing zip /external_sd/AospExtended.zip
Does anyone know how to fix this?
Thank you so much for any help.
I installed TWRP 3.0.1.0 and I was able to install LineageOS.
Thread can be marked as solved and closed.

Encountering error while rooting my tecno camon C7 android

Hello, Please can someone assist me with rooting of my android phone as the phone is not rooted due to below error during installation of SuperSU 2.82 SR5. I just flashed a new stock firmware (MT6735) on this device.
boot image patcher
finding boot image
boot image /dev/block/mmcblk0p7
extracting ramdisk
failure, aborting

switching from SuperSU to magisk on Redmi note 4x

Hi guys I just rooted( as a newbie) my old redmi note 4x using SuperSU. but I came to know that systemless magisk is really better option and has many amazing modules . then I tried to unroot through SuperSU app 's full unroot option . But it said ' uninstallation failed'
then went to twrp (3.2.3) ,wiped data.. then it became unrooted .afterwards tried to flash magisk v18.0 from twrp .but it failed and showed 'updater process ended with error :1'
So what should be my next procedure ??
Thanks in advance.....
Latest twrp is 3.3.1-0 and Magisk is 20.4, try this
Ray Krebs said:
Latest twrp is 3.3.1-0 and Magisk is 20.4, try this
Click to expand...
Click to collapse
Just tried those latest versions but still the same message ' updater process ended with error :1' .
Is it a miui 11 problem?
If you aks google about twrp error 1 by installing magisk, i found following solution.
Extract with 7-zip the boot.img out of the Custom.zip file and copy it also to Smartphone.
Flash with twrp this boot.img to the boot partition and than try to install magisk.
Ray Krebs said:
If you aks google about twrp error 1 by installing magisk, i found following solution.
Extract with 7-zip the boot.img out of the Custom.zip file and copy it also to Smartphone.
Flash with twrp this boot.img to the boot partition and than try to install magisk.
Click to expand...
Click to collapse
I have to download the miui.zip and then extract ??
They talk to extract the boot.img from the Custom Rom that you want to install and copy it on your internal memory or sd card.
https://m.youtube.com/watch?v=gUmqStKhxWA

Categories

Resources