GApps flashing Error 70 in Redmi note 9S(curtana) - Redmi Note 9S / Note 9 Pro (Indian Model) Question

Hi, the other day I tried to install crDroid for curtana and When I had GApps installing into My 9S, It says Error 70.
It seems to be caused by not having enough system space and I found one of the solution https://forum.xda-developers.com/android/help/fix-error-70-install-gapps-t3311779
But There is no selection of System partition in LR TeamTWRP's advanced wipe (only Dalvik/ART cache, Date, Internal Storage, Cache, Micro SD card and USB-OTG)
then I tried another solution for redmi note 7 But It didn't work well https://www.reddit.com/r/Xiaomi/comments/c3n7he/redmi_note_7_gapps_error_70_fix/
Also tried installing PICO but it was meaningless. I thought it was due to the ROM, So I did full-wipe and tried installing GApps with another ROM (lineageOS)
However my 9s says the error again even tho I could install that rom with gapps previously.
seeing the recovery log, it says no such file or directory in other word Apparently there is no necessary file to install GApps like system and etc
installing many roms, maybe something went wrong.
Error Code: 70
cp: can't stat '': No such file or directory
cp: can't stat '/system/etc/g.prop': No such file or directory
cp: can't stat '/system/default.prop': No such file or directory
cp: can't stat '/system/product/build.prop': No such file or directory
cp: can't stat '/product/build.prop': No such file or directory
cp: can't stat '/system_root/default.prop': No such file or directory
cp: can't stat '/system_root/product/build.prop': No such file or directory
cp: can't stat '/data/local.prop': No such file or directory
cp: can't stat '/build.prop': No such file or directory
cp: can't stat '/system/addon.d/70-gapps.sh': No such file or directory
cp: can't stat '/cache/recovery/log': No such file or directory
__bionic_open_tzdata: couldn't find any tzdata when looking for TAIST-8!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
- Unmounting partitions
Updater process ended with ERROR: 70
I:Install took 11 second(s).
Error installing zip file '/external_sd/open_gapps-arm64-10.0-pico-20200630.zip'
Updating partition details...
I: Data backup size is 0MB, free: 105439MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Translating partition display names
I:Backup folder set to '/external_sd/TWRP/BACKUPS/-------'
...done
So I flashed stock rom via MiFlash and try to fix it But the same error occurred
I'm totally stuck with it. have no idea how to fix cuz of lack of my knowledge.
Can anyone give advice to me pls? Thanks you and sorry my bad english.
EDIT: I solved it myself
1 - After installing ROM, go to Wipe>Advanced Wipe and select Repair or Change File System with checking Date Partition. Then Change that file system to ext2 then back to f2fs again.
2 - Reboot recovery and install GApps normally

Solved myself
I solved this issue myself. anyway I post how to fix it idk there is a demand for it tho
1 - After installing ROM, go to Wipe>Advanced Wipe and select Repair or Change File System with checking Date Partition. Then Change that file system to ext2 then back to f2fs again.
2 - Reboot recovery and install GApps normally

Thank you, your solution help a lot IMHO the custom Roms should include this in their instructions

Related

[Q] How do I fix a "Read-only file system" error during ROM flashing?

Hi Kitchen Experts ( What's Cookin?)
I do not seem to be able get rid of an error while flashing my phone with a ROM I built from a flashable ROM from SAMMOBILE, which I unpacked and replaced the zImage with one I compiled from opensource.samsong.com Basically the Kitchen ROM's zip file upacks fine, but then I see the following in my phone's logs: ( Below I put relevant sections:
Installing '/sdcard/DCIM/hltespr_signed_111514_202215.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/DCIM/hltespr_signed_111514_202215.zip.md5
Skipping MD5 check: no MD5 file found.
I:Zip does not contain SELinux file_contexts file in its root.
Creating filesystem with parameters:
...
minzip: Extracted file "/system/app/EasyOneHand.odex"
minzip: Error writing 32768 bytes from zip file from 0xbec0437c: Read-only file system
minzip: Process function elected to fail (in inflate)
minzip: Can't extract entry to file.
minzip: Error extracting "/system/app/EasySettings.apk"
symlink: failed to symlink /system/bin/ionice to toolbox: No such file or directory
I updated permissions of the system folder in my WORKING_DIRECTORY of Android Kitchen, and I also used an App called ES file manager to change all the mount points on my phone to R/W; here are the procedures I followed for changing the mount points to R/W . I also validated that my mount points are correct. I am not sure what else to look at. Please let me know if I should post the permissions for my system folder in Kitchen or the output of any command on my phone. I'll gladly do it to address this issue.
I did a search online and found a number of people who had a similar problem, but the solution is not documented. I searched for "zip file ROM can not write to android", and reviewed all the resulting links. I do wipe the flash data and delivic cache before, try the ROM, and wipe again and try it. There is no change. I get the same result. Am I looking at the right things? I have built my ROM twice using the interactive and quick method each time.

[Q] Proprietary files missing in CyanogenMod BLOB

I'm building CM12 for XL. While trying to extract proprietary BLOB, I could see that latest NIGHTLY builds (e.g. cm-12-20150308-NIGHTLY-taoshan.zip) have a different structure from earlier EXPERIMENTAL builds (e.g. cm-11-20150112-EXPERIMENTAL-taoshan.zip)
-----------------------------------
Structure of NIGHTLY build:
-----------------------------------
install
META-INF
system
file_contexts
system.new.dat
system.patch.dat
system.transfer.list
boot.img
--------------------------------------------
Structure of EXPERIMENTAL build:
---------------------------------------------
META-INF
system
file_contexts
boot.img
I failed to extract ANY proprietary file from NIGHTLY build, because 'system' directory contains a single file: system\build.prop. On the contrary, the size of system.new.dat is very large: 427MB. I could extract all but three files from EXPERIMENTAL build as 'system' directory contains a collection of other required files, as expected. Ultimately, following three files are missing from the BLOB:
Code:
cp: cannot stat '/home/androbuild/original/system/bin/led_deamon': No such file or directory
cp: cannot stat '/home/androbuild/original/system/bin/led_deamon': No such file or directory
cp: cannot stat '/home/androbuild/original/system/etc/firmware/libpn544_fw.so': No such file or directory
cp: cannot stat '/home/androbuild/original/system/etc/firmware/libpn544_fw.so': No such file or directory
cp: cannot stat '/home/androbuild/original/system/vendor/lib/libtime_genoff.so': No such file or directory
cp: cannot stat '/home/androbuild/original/system/vendor/lib/libtime_genoff.so': No such file or directory
Because of 'libtime_genoff.so' being missing, my build is failing after running for ~7 hours. Any idea how to obtain three files as mentioned above?

[Q] Rooted KK and not-working AdAway

Hi
I have problem with using AdAway on my Z3TC.
I have successfully rooted my device. Now I'm on stock KK with root and locked back BL.
I installed AdAway but it doesn't want to work. There is problem with hosts file.
I found that I have to change permissions for /system to -rw-rw-rw and for file host too. But the problem is I can't. When I'm trying to change permissions I got info: Changing permissions was not successful. And it doesn't matter what Explorer I use.
Any ideas? Of course there is root permission for explorer... May the locked Bootloader be the problem (I doubt...)
To write in system you have to install from the recovery ricdefeat
https://github.com/dosomder/SonyRICDefeat/blob/master/RICDefeat.zip
I didn't installed TWRP after relocking BL.
I tried now and there is another problem (looks similar)
Code:
##########################################################
#
# Installing XZDR version 2.8.3 RELEASE
#
#####
Temporarily disabling the RIC service, remount rootfs and /system writable to al
low installation.
mount: permission denied (are you root?)
mount: permission denied (are you root?)
mount: permission denied (are you root?)
Copy recovery files to system.
cp: can't create '/system/bin/recovery.twrp.cpio.lzma': Read-only file system
cp: can't create '/system/bin/recovery.cwm.cpio.lzma': Read-only file system
cp: can't create '/system/bin/recovery.philz.cpio.lzma': Read-only file system
chmod: /system/bin/recovery.twrp.cpio.lzma: No such file or directory
chmod: /system/bin/recovery.cwm.cpio.lzma: No such file or directory
chmod: /system/bin/recovery.philz.cpio.lzma: No such file or directory
Rename stock mr
mv: can't rename '/system/bin/mr': Read-only file system
Rename stock chargemon
mv: can't rename '/system/bin/chargemon': Read-only file system
Copy chargemon script to system.
cp: can't create '/system/bin/chargemon': File exists
chmod: /system/bin/chargemon: Read-only file system
Copy dualrecovery.sh to system.
cp: can't create '/system/bin/dualrecovery.sh': Read-only file system
chmod: /system/bin/dualrecovery.sh: No such file or directory
Copy rickiller.sh to system.
cp: can't create '/system/bin/rickiller.sh': Read-only file system
chmod: /system/bin/rickiller.sh: No such file or directory
Installing NDRUtils to system.
cp: can't create '/system/app/NDRUtils.apk': Read-only file system
chmod: /system/app/NDRUtils.apk: No such file or directory
Copy disableric to system.
cp: can't create '/system/xbin/disableric': Read-only file system
chmod: /system/xbin/disableric: No such file or directory
Creating /system/.XZDualRecovery to store a backup copy of busybox.
mkdir failed for /system/.XZDualRecovery, Read-only file system
Copy busybox to system.
cp: can't create '/system/xbin/busybox': Read-only file system
cp: can't create '/system/.XZDualRecovery/': Is a directory
chmod: /system/xbin/busybox: No such file or directory
chmod: /system/.XZDualRecovery/busybox: No such file or directory
Trying to find and update the gpio-keys event node.
Found and will be using /dev/input/event3!
Trying to find and update the power key event node.
Found and will be monitoring /dev/input/event2!
Speeding up backups.
Make sure firstboot goes to recovery.
=============================================
DEVICE WILL NOW TRY A DATA SAFE REBOOT!
=============================================
=============================================
Your installation has already cleaned up after
itself if you see the install.bat/install.sh exit.
=============================================
/system/bin/sh: /system/xbin/busybox: not found
=============================================
Installation finished. Enjoy the recoveries!
ADB asked for root permission during installation, I agreed.
And after all recovery is not installed...
I see where the problem is. You can not write in system because you need ricdefeat, but to install XZDualRecovery and flash from there ricdefeat need to write in "system"
I'm afraid you have to start over. Is necessary Flash Ricdefeat from the TWRP recovery before it is erased.
Read here (where it says "To install rooted Stock"):
http://forum.xda-developers.com/z3-...t/root-root-locked-bootloader-sgp621-t3013534 (relatively speaking there nicely explains the steps to take and what order , replace firmware sgp621 -> sgp611)
or my tutorial in Spanish I did not know if you know the language:
http://www.htcmania.com/showthread.php?t=966040 (Part B)
---
I will try to explain what I would do, I'm using google translator if not understood:
1- unlock bootloader
2- install advanced stock kernel
3- Now there are two options:
** 3A) Create pre-rooted firmware. Copy firmware pre-rooted and ricdefeat.zip on the tablet. Login to TWRP and flash firmware then ricdefeat, and restart at the end.
** 3B) Copy to tablet the ricdefeat file. Go to TWRP recovery, flash ricdefeat and restart. With flashtool , install on the tablet only the kernel, using the original firmware.
4- Start android and restore TA
5- Install XYDualRecovery to have a custom recovery

So xp7 4.4.0 software issue after factory reset

I tried rooting my phone with kingoroot bit found it was to buggy then I installed it and factory reset my phone now when I press power the phone does not.go into sleep mode even if timmed.
No of blocks updated = 0
sbl1 update success.
start to update splash.diff ...
splash.diff not found
Verifying current system...failed to stat "system/app/Drive/Drive.apk": No such file or directory
failed to stat "system/app/Drive/lib/arm/libdocscanner_image.so": No such file or directory
failed to stat "system/app/Drive/lib/arm/librectifier.so": No such file or directory
failed to stat "system/app/Drive/lib/arm/libwebp_android.so": No such file or directory
failed to stat "system/app/GooglePinyinIME/GooglePinyinIME.apk": No such file or directory
failed to stat "system/app/GooglePinyinIME/lib/arm/libpinyin_data_bundle.so": No such file or directory
failed to stat "system/app/GoogleTTS/GoogleTTS.apk": No such file or directory
failed to stat "system/app/Hangouts/Hangouts.apk": No such file or directory
failed to stat "system/app/Hangouts/lib/arm/libcronet.so": No such file or directory
failed to stat "system/app/Hangouts/lib/arm/libframesequence.so": No such file or directory
failed to stat "system/app/Hangouts/lib/arm/libvideochat_jni.so": No such file or directory
failed to stat "system/app/KoreanIME/KoreanIME.apk": No such file or directory
failed to stat "system/app/LatinImeGoogle/LatinImeGoogle.apk": No such file or directory
failed to stat "system/app/Maps/Maps.apk": No such file or directory
failed to stat "system/app/Maps/lib/arm/libgmm-jni.so": No such file or directory
failed to stat "system/app/Photos/lib/arm/libfilterframework_jni.so": No such file or directory
failed to stat "system/app/Photos/lib/arm/libmoviemaker-jni.so": No such file or directory
failed to stat "system/app/PlusOne/PlusOne.apk": No such file or directory
failed to stat "system/app/PlusOne/lib/arm/libphotoeditor_native.so": No such file or directory
failed to stat "system/app/YouTube/YouTube.apk": No such file or directory
file "/system/bin/bootanimation" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: "/system/bin/bootanimation" has unexpected contents.
"/system/bin/bootanimation" has unexpected

Magisk doesn't work

Flashed Magisk via TWRP, Magisk seems fine and root is working fine but whenever I try to install a module it says (!) /data/adb/magisk_merge.img mount failed... abort ! Installation failed
Copying zip to temp directory
- Installing Magisk_Manager_for_Recovery_Mode_(mm)-2018.8.1.zip
Archive: /data/user/0/com.topjohnwu.magisk/cache/install.zip
inflating: module.prop
update-binary: line 192: make_ext4fs: not found
losetup: /data/adb/magisk_merge.img: No such file or directory
losetup: /data/adb/magisk_merge.img: No such file or directory
losetup: /data/adb/magisk_merge.img: No such file or directory
Magisk Manager for Recovery Mode (mm) (mm) 2018.8.1
VR25 @ xda-developers
Powered by Magisk (@topjohnwu)
- Creating /data/adb/magisk_merge.img with size 64M
- Mounting /data/adb/magisk_merge.img to /dev/tmp/magisk_img
losetup: /data/adb/magisk_merge.img: No such file or directory
losetup: /data/adb/magisk_merge.img: No such file or directory
losetup: /data/adb/magisk_merge.img: No such file or directory
losetup: /data/adb/magisk_merge.img: No such file or directory
losetup: /data/adb/magisk_merge.img: No such file or directory
(!) /data/adb/magisk_merge.img mount failed... abort
! Installation failed
Couldn't hook log on mobile so I copied it
Thanks
Reflash magisk again
Nico1300 said:
Flashed Magisk via TWRP, Magisk seems fine and root is working fine but whenever I try to install a module it says (!) /data/adb/magisk_merge.img mount failed... abort ! Installation failed
Click to expand...
Click to collapse
It would be really useful if you added :
1. The rom you're on
2. Magisk version
3. Magisk manager version
4. The module you're trying to install
5. Have you tried any other modules

Categories

Resources