Not able to install OpenGApps - Xperia Tablet Z Q&A, Help & Troubleshooting

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.

Related

My HTC ONE MAX Blrick, Please help :(

Today, i try to install cm 12.1 rom, so i do something like:
1. Unlock bootloader
2. Install Recovery TWRP v2.6.3.0
3. After install recovery, i boot into recovery and install rom CM 12.1 but i met these error:
E:Error executing updater binary in zip '/sdcard/Trick
Error flashing zip
4. Now i reboot, it say that:
No OS Installed
5. Now when i reboot , the screen stop at logo HTC
6. I try to install Google Play Edition Max,
But i face the same error
What can i do now ? Somebody helppppppppppppppp
try with another twrp, use flyhalf's twrp
itsmelutfor said:
try with another twrp, use flyhalf's twrp
Click to expand...
Click to collapse
I was, then i can install recovery twrp 2.7, it work fine,
But rom cm12.1 always failed, i install google edition, it run ok, but when it start, reboot happens
shadowsoul1986 said:
I was, then i can install recovery twrp 2.7, it work fine,
But rom cm12.1 always failed, i install google edition, it run ok, but when it start, reboot happens
Click to expand...
Click to collapse
Firstly, find your correct variant of TWRP HERE. Currently TWRP 2.8.6.0.Download and flash recovery.
Then, flash ROM.

Flashed TWRP 3.1.1-0 over 3.1.0-0 and it boots but TWRP can not find storage nor OS

Hi, I just lashed TWRP 3.1.1-0 over 3.1.0-0 for i9100 (one version bump) using TWRP itself for the flashing of recovery img file, and afterwards LineageOS booted just fine. But then I downloaded the latest LineageOS (I am running the version before so it is not outdated), and booted into TWRP but there are no filesystems under "Mount" and if I go to "Install" I can not find my usual folders, and if I go to "Reboot" > "System" it says "No OS found, do you want to reboot anyway?", and if I reboot it reboots just fine into LineageOS.
How can I fix this?
BTW: I have read this but it does not help. I can push LineageOS to the / part of the filesystem, but installing it does not work. Probably because TWRP can not find any partitions. Trying to flash back to the previous TWRP does not work because it says it can not find any partitions. I can still boot fine into LineageOS afterwards, just the previous one. So my problem is TWRP is now useless for me for flashing anything
Thanks!
Hi, TWRP 3.1.1-0 does not work for i9100!
It's good that you download LineageOS!
You need to return TWRP 3.1.0-0, install Official TWRP App , follow the application instructions and everything will be fine.
Then install any version of ROM.
Good luck ...
toy_story said:
Hi, TWRP 3.1.1-0 does not work for i9100!
It's good that you download LineageOS!
You need to return TWRP 3.1.0-0, install Official TWRP App , follow the application instructions and everything will be fine.
Then install any version of ROM.
Good luck ...
Click to expand...
Click to collapse
Thanks for your answer. My problem is that LineageOS is not rooted out-of-the-box. To root it one has to flash a ZIP, and I can not flash anything.
Any way around this?
BTW: My the heck do they publish TWRP 3.1.1 for i9100 on their website if it is not supported? It says nothing about that.
toy_story said:
Hi, TWRP 3.1.1-0 does not work for i9100!
It's good that you download LineageOS!
You need to return TWRP 3.1.0-0, install Official TWRP App , follow the application instructions and everything will be fine.
Then install any version of ROM.
Good luck ...
Click to expand...
Click to collapse
Luckily I am a Linux guy, so I found out how to flash stuff anyway. I Opened the Terminal application in LineageOS (must be enabled in "Settings > Developer options"), ran the command "mount" to see which partitions belonged to which /dev/block/{block}
From computer:
Code:
adb shell
Code:
mkdir /efs
mkdir /preload
mount /dev/block/mmcblk0p1 /efs
mount /dev/block/mmcblk0p7 /cache
mount /dev/block/mmcblk0p9 /system
mount /dev/block/mmcblk0p10 /data
mount /dev/block/mmcblk0p12 /preload
Then I flashed the LineageOS ZIP file and the script found all the partitions correctly and exited with success status. Then reboot to system from TWRP (still says "No OS installed", but it boots). Now running latest LineageOS.
Now let's see if I can use my knowledge to to downgrade TWRP, or at least root it from shell and then install using the TWRP Android app.
Still think it's stupid they put TWRP FOR i9100 on their website if it is not supported. What is that about? Can't find any warning that it doesn't work in their website.
toy_story said:
You need to return TWRP 3.1.0-0, install Official TWRP App , follow the application instructions and everything will be fine.
Click to expand...
Click to collapse
Read my post above first. After successfully managing to install the latest LineageOS, I ran their script for rooting it (had to use my commands above to make it work to mount the partitions), and then used the app you mention, and it worked perfectly. I'm back at TWRP 3.1.0 and it shows all partitions and everything is as before. Thanks
Now to the unrooting (easy now that I can flash from TWRP without mounting manually).
Hi olejonbj,
I've got the same problem like you : Flashed TWRP 3.1.1-0 over 3.1.0-0, then the system boots on lineage perfectly but in recovery, I can't do anything to flash previous TWRP.
My OS isn't rooted : I've install TWRP app but I can't flash TWRP 3.1.0-0 !
I don't really undertand what you do for root with script...
Can you explain me ?
Thanks.
It's OK, I reflash with previous Kernel by following :
[Guide/Tutorial] Installing LineageOS 14.1 + TWRP-3.1.0-0 for Samsung Galaxy S2 i9100
https://forum.xda-developers.com/galaxy-s2/help/preparing-clean-loss-data-installation-t3712409
Hope that could help someone !
easy step install OctOS Marshmallow have in built TWRP 3.1.0.0, then within TWRP perform wipes and install you choice rom

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.

Help how to do the Root on the Xiaomi Mi 8 device with the MIUI Global Stable!!

Hi everyone, I am recently registered on this site. from some days I have the desire to do the Root on the miui global stable, it is consequently on my beloved Xiaomi Mi 8, the problem is: when the device is turned off I turn on the device pressing it under volume key + ignition key at the same time to enter in recovery mode, the latter makes me enter in "Official" mode, in the sense that it does not let me enter twrp mode where there are install, settngs, advacend options, backup ... but in the official one with only 3 buttons: wipe , connect to mi account ... So I thought of flashing the twrp via fastboot, I finally entered it, but the problem is that when I go to Install, to install the root, I can't do that, because characters (alphanumeric) appear long and randomly, so I can't identify which folder I put the Magisk on, it appears in both folders and subfolders. somewhere I read to install a zip file called LazyFlasher, to avoid possible blocking at startup, in fact I try before installing this zip file, with various combinations (first rom, then magisk, both rom and magisk, first magisk then rom , first rom that gate at the end the cache then magisk) but all fail, so I am forced to flash through fastboot with the tool I flash, because at every start it always took me back to twrp without the possibility of moving, it seems that the touch does not respond at the user's commands. So I know that this LazyFlasher file causes me to "bypass" this problem, give me confirmation ??. Thank you. PS: so far I haven't managed to install the Magisk root yet, can you give me a hand, maybe the twrp has some problems? or is my device not compatible with this version of twrp ??, I tell you that in the past with the miui global beta it didn't give me this problem. Thank you all
Have you even unlocked your bootloader? If not look for the official Xiaomi tool, it's the only way how you are able to flash twrp and root your phone.
altae said:
Have you even unlocked your bootloader? If not look for the official Xiaomi tool, it's the only way how you are able to flash twrp and root your phone.
Click to expand...
Click to collapse
Thanks for the reply, I solved everything, unlocked BL, installed twrp (no stock) and installed root. but I have a problem, when I installed the root, every time I want to restart the device for a series of reasons (slowness, delete cache, rest ...) it starts in twrp not in the system, so I have to delete everything it's starting again. I heard that the LazyFlasher file makes it possible to remedy this problem, essentially it allows you to bypass the security of android to avoid bootloap, and I hope it also corrects this problem (which when I reboot the device, I want to install a zip file, I it always starts in twrp), but during the flash of this zip (LazyFlasher) I get an error: the Updater process ended with error: 1 Error installing zip '/sdcard/lazyflasher-no-verify-opt-encrypt.zip. Thanks a lot. PS: but this file, lazyflasher should be mounted on an SD card to work ?? I don't have it on my device
Paoloqu24 said:
Thanks for the reply, I solved everything, unlocked BL, installed twrp (no stock) and installed root. but I have a problem, when I installed the root, every time I want to restart the device for a series of reasons (slowness, delete cache, rest ...) it starts in twrp not in the system, so I have to delete everything it's starting again. I heard that the LazyFlasher file makes it possible to remedy this problem, essentially it allows you to bypass the security of android to avoid bootloap, and I hope it also corrects this problem (which when I reboot the device, I want to install a zip file, I it always starts in twrp), but during the flash of this zip (LazyFlasher) I get an error: the Updater process ended with error: 1 Error installing zip '/sdcard/lazyflasher-no-verify-opt-encrypt.zip. Thanks a lot. PS: but this file, lazyflasher should be mounted on an SD card to work ?? I don't have it on my device
Click to expand...
Click to collapse
Flash a DM-Verity No-Encryption ZIP to remove encryption and disable the Verity check. OR if you want to keep encryption and root -flash a 3rd party Kernel like MiPa or Sphinx after Magisk.
Agimax said:
Flash a DM-Verity No-Encryption ZIP to remove encryption and disable the Verity check. OR if you want to keep encryption and root -flash a 3rd party Kernel like MiPa or Sphinx after Magisk.
Click to expand...
Click to collapse
thank you. in the past I flamed DM-Verity No-Encryption ZIP to remove encryption and disable Verity checking. in fact after immediately this zip I put magisk. at the access of the dispay I saw a magisk icon, so it means root installed successfully. but the problem is: when I reboot the device to clear the cache ... or install a module on the magisk, it always starts in twrp, so I have to start all over again. there is a way to keep cryptography and root, without any booting going into twrp but into the system. thank you
Paoloqu24 said:
thank you. in the past I flamed DM-Verity No-Encryption ZIP to remove encryption and disable Verity checking. in fact after immediately this zip I put magisk. at the access of the dispay I saw a magisk icon, so it means root installed successfully. but the problem is: when I reboot the device to clear the cache ... or install a module on the magisk, it always starts in twrp, so I have to start all over again. there is a way to keep cryptography and root, without any booting going into twrp but into the system. thank you
Click to expand...
Click to collapse
You shouldn't have these problems:
Flash ROM and Keep Encryption:
Flash TWRP
Boot into TWRP and flash MIUI ROM
Flash TWRP again (select flash image, then select recovery partition, then select recovery file)
Flash DM-Verity ZIP here-->: DM-Verity (Make sure 'DM-Verity' file is the ONLY thing the file is named. The filename triggers what is installed during flash)
Flash MAGISK
Flash 3rd Party Kernel (I prefer MiPa or Sphinx found in other threads)
Reboot and enjoy!
Flash ROM and REMOVE Encryption: (Keeps Stock Kernel)
Flash TWRP
Boot into TWRP and flash MIUI ROM
Flash TWRP again (select flash image, then select recovery partition, then select recovery file)
Flash DM-Verity ZIP here-->: DM-Verity (Make sure 'verity' AND 'forceencryp' is in the file name. The filename triggers what is installed during flash)
Reboot and enjoy!
If you have problems with any of them, you might need to format internal storage first (where you have to answer 'yes' in TWRP)
/.
As far as I understand, you are having problems while booting into TWRP. You should boot into TWRP right after flashing it, and boot into OS once again and reboot to recovery. It should work. If you see the stock recovery, keep flashing TWRP. If you want to temporarily flash it, use "fastboot boot TWRP.img" command.
The War Profiteer said:
As far as I understand, you can't boot into TWRP. You should boot into TWRP right after flashing it, and boot into OS once again and reboot to recovery. It should work. If you see the stock recovery, keep flashing TWRP. If you want to temporarily flash it, use "fastboot boot TWRP.img" command.
Click to expand...
Click to collapse
No problems booting into TWRP.
You can use "fastboot.exe flash recovery twrp.img"
Then reboot phone and hold volume-up+power. When booting until TWRP appears. If you miss it and it tries to boot it will overwrite it. But I've never had issues otherwise.
Agimax said:
You shouldn't have these problems:
Flash ROM and Keep Encryption:
Flash TWRP
Boot into TWRP and flash MIUI ROM
Flash TWRP again (select flash image, then select recovery partition, then select recovery file)
Flash DM-Verity ZIP here-->: DM-Verity (Make sure 'DM-Verity' file is the ONLY thing the file is named. The filename triggers what is installed during flash)
Flash MAGISK
Flash 3rd Party Kernel (I prefer MiPa or Sphinx found in other threads)
Reboot and enjoy!
Flash ROM and REMOVE Encryption: (Keeps Stock Kernel)
Flash TWRP
Boot into TWRP and flash MIUI ROM
Flash TWRP again (select flash image, then select recovery partition, then select recovery file)
Flash DM-Verity ZIP here-->: DM-Verity (Make sure 'verity' AND 'forceencryp' is in the file name. The filename triggers what is installed during flash)
Reboot and enjoy!
If you have problems with any of them, you might need to format internal storage first (where you have to answer 'yes' in TWRP)
/.
Click to expand...
Click to collapse
Thanks for the reply. I will choose the first option, I replace the stock kernel with sphinx kerne, so I get more functionality, battery life, performance, fluidity ... also the developer has mentioned us, if any desired functionality is missing in this kernel, it is possible ask the developer to add us. so I choose the first option, I have some questions before replacing the stock kernel: 1) is it possible to restore the kernel stock, in case of problem, if yes, where can I get the kernel for Mi 8? 2) if in the future there will be a new update of sphinx kerne, how do I understand if a new update has been released? will you notify me ?? 3) are you sure that after these steps, upon restarting the phone, I will find the root installed ?, if I would like to restart the device, it will not boot in twrp but in the system, because I replaced the stock kernel, the same thing is also valid for the magisk modules, zip files ... 4) the last fundamental thing, will I receive updates via OTA ?? if not, is there a way to install future updates (I would like to try the latest magisk version, 19.3) ?. 5) it is safe if I install update via ota, it does not start in twrp, but system. 6) the steps to do are, flash twrp custom via fastboot, I choose to delete the memory, restart twrp, copy the files (MIUI global stable, sphinx kernel, dm-verify), flash rom, flash dm-verify, flash magisk, flash kernel, device reboot, all right. Thanks a lot for the questions
Agimax said:
You shouldn't have these problems:
Flash ROM and Keep Encryption:
Flash TWRP
Boot into TWRP and flash MIUI ROM
Flash TWRP again (select flash image, then select recovery partition, then select recovery file)
Flash DM-Verity ZIP here-->: DM-Verity (Make sure 'DM-Verity' file is the ONLY thing the file is named. The filename triggers what is installed during flash)
Flash MAGISK
Flash 3rd Party Kernel (I prefer MiPa or Sphinx found in other threads)
Reboot and enjoy!
Flash ROM and REMOVE Encryption: (Keeps Stock Kernel)
Flash TWRP
Boot into TWRP and flash MIUI ROM
Flash TWRP again (select flash image, then select recovery partition, then select recovery file)
Flash DM-Verity ZIP here-->: DM-Verity (Make sure 'verity' AND 'forceencryp' is in the file name. The filename triggers what is installed during flash)
Reboot and enjoy!
If you have problems with any of them, you might need to format internal storage first (where you have to answer 'yes' in TWRP)
/.
Click to expand...
Click to collapse
I get an error during the installation of sphinx: the Updater process ended with error: 1 Error installing zip '/sdcard/sphinx.zip
Agimax said:
You shouldn't have these problems:
Flash ROM and Keep Encryption:
Flash TWRP
Boot into TWRP and flash MIUI ROM
Flash TWRP again (select flash image, then select recovery partition, then select recovery file)
Flash DM-Verity ZIP here-->: DM-Verity (Make sure 'DM-Verity' file is the ONLY thing the file is named. The filename triggers what is installed during flash)
Flash MAGISK
Flash 3rd Party Kernel (I prefer MiPa or Sphinx found in other threads)
Reboot and enjoy!
Flash ROM and REMOVE Encryption: (Keeps Stock Kernel)
Flash TWRP
Boot into TWRP and flash MIUI ROM
Flash TWRP again (select flash image, then select recovery partition, then select recovery file)
Flash DM-Verity ZIP here-->: DM-Verity (Make sure 'verity' AND 'forceencryp' is in the file name. The filename triggers what is installed during flash)
Reboot and enjoy!
If you have problems with any of them, you might need to format internal storage first (where you have to answer 'yes' in TWRP)
/.
Click to expand...
Click to collapse
both methods don't work, the first one gives me error when I install kernel, the second one on startup gives me a lot of error
I managed to install the root, doing the following steps: flash twrp via fastboot, copy the files to the internal memory, install rom files, install magisk files, install dm-verify, then reboot, and it works perfectly. but I have some problems: when I reboot the device, it starts in twrp not in the system, and therefore I am forced to do it again. help me !! kernel replacement gives me error, both
Paoloqu24 said:
I managed to install the root, doing the following steps: flash twrp via fastboot, copy the files to the internal memory, install rom files, install magisk files, install dm-verify, then reboot, and it works perfectly. but I have some problems: when I reboot the device, it starts in twrp not in the system, and therefore I am forced to do it again. help me !! kernel replacement gives me error, both
Click to expand...
Click to collapse
You should not have errors flashing a kernel. Maybe you should flash all partition images from fastboot. Or maybe wrong recovery? What version are you using?
Agimax said:
You should not have errors flashing a kernel. Maybe you should flash all partition images from fastboot. Or maybe wrong recovery? What version are you using?
Click to expand...
Click to collapse
the kernel is: Sphinx-v2.9
Paoloqu24 said:
the kernel is: Sphinx-v2.9
Click to expand...
Click to collapse
I mean what version of recovery. You should use this one (v3.3.1) or newer: https://www.androidfilehost.com/?fid=3556969557455275724
It's from this thread: https://forum.xda-developers.com/mi-8/development/recovery-unofficial-twrp-recovery-t3893823
Agimax said:
I mean what version of recovery. You should use this one (v3.3.1) or newer: https://www.androidfilehost.com/?fid=3556969557455275724
It's from this thread: https://forum.xda-developers.com/mi-8/development/recovery-unofficial-twrp-recovery-t3893823
Click to expand...
Click to collapse
TWRP 3.3.1.1 https://eu.dl.twrp.me/dipper/
I followed in this guide "https://clk.ink/7q4SUR" but instead of installing Disable_Dm-Verity_FEC_v1.1.zip I downloaded Disable_Dm-Verity_ForceEncrypt_09.02.2018.zip, is it the same ?, also I saw that, when I go inside the magisk, and I click on uninstall> restore image, a warning appears "there is no original boot image", I also executed this command in powershell "fastboot getvar current-slot" but I get a "GetVar Variable Not found" error. I don't know how to solve. thank you

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