Will flashing zip file overwrite existing files? - General Questions and Answers

I have a gapps package for 5.1 and it refuses to flash because gapps already exist on my phone. But the gapps on my phone don't have trusted face. I will modify the gapps with trusted face so it installs even with gapps already on my phone.
I want to know if flashing a zip file with a file that already exists will overwire the existing file with the one in the zip? This is so I know that already existing gapps will be replaced with the new ones.

janekmuric said:
I have a gapps package for 5.1 and it refuses to flash because gapps already exist on my phone. But the gapps on my phone don't have trusted face. I will modify the gapps with trusted face so it installs even with gapps already on my phone.
I want to know if flashing a zip file with a file that already exists will overwire the existing file with the one in the zip? This is so I know that already existing gapps will be replaced with the new ones.
Click to expand...
Click to collapse
Yes, but most GApps zips are configured to interrupt it's installation if another version of GApps was detected (like TK-GApps detects Delta GApps was installed when doing an installation). So I highly recommend to wipe /system partition and flash another GApps zip if you want to switch between GApps zips.

Related

Android Market

When there is a new market update, is it better to flash the zip file or install the apk fole with root explorer?View attachment Market3311-signed.zip
View attachment Market-3.3.11.apk
Flash the zip, and you won't have any problems at all.
If you install it, it will most likely be stored in your data partition and not in your system partition, which you can move it easily to the system partition, but it's more work especially when you can just flash the provided zip.
This is just a basic explanation, there is more, I just don't see any need to continue with more reasons.
The flashable zip is mine. Safe to flash. It will install to your /system and also remove market from /data

[Completed] Location of sideloaded data

Hello
Where is the data of sideloaded ROMs and GApps (.zip) are saved so that I can delete them after the recovery flashes them all?
Thanks
It depends on the Android Version you have. Can you please specify if you are looking for Recovery Log or Application Data ?
The zip file you flashed would be in the folder you downloaded it to.
Hello
Thank you for your reply.
I'm using Nexus 4 and CM Snapshot M7(4.4.2) with PA Stock GApps (4.4.2).
I switched "Install zip from sideload" on Phillz recovery.
What I want to know is the temporary location of these .zip s so that I can delete them later after booting CM and free some space.
Thanks
It would be the same location where you downloaded them from the site. Typically it is /sdcard/download

[Q] How to Uninstall previous flashing .zip file

When i flash .zip file i have some problem. So how to uninstall flashing zip..please help me.. in my Nexus 5 Mobile
You can't uninstall a zip.
You'd either restore your nandroid backup which you should take before flashing the zip, or flash a zip depending what your original zip was. For example, flash a system mod, reflash your ROM.
What, specifically did you flash? Some mods will have a revert zip to uninstall it the OP. If there isn't one, you can always dirty flash your ROM again. More details would help.

.gapps-config does not take effect

Hi,
I installed the unofficial LineageOS 14.1. Now I want to install the Open GApps package. I chose the Super bundle, and created a .gapps-config file at /sdcard/Open-GApps. I flashed the zip file from TWRP, and according to the log file, my configuration file is used, and the stock packages that I want to remove are removed. However, after I boot the system, I found all the stock apps are still there and most of the apps in GApps packages are not installed.
Any idea?
Thanks.
davidshen84 said:
Hi,
I installed the unofficial LineageOS 14.1. Now I want to install the Open GApps package. I chose the Super bundle, and created a .gapps-config file at /sdcard/Open-GApps. I flashed the zip file from TWRP, and according to the log file, my configuration file is used, and the stock packages that I want to remove are removed. However, after I boot the system, I found all the stock apps are still there and most of the apps in GApps packages are not installed.
Any idea?
Thanks.
Click to expand...
Click to collapse
You can't even flash Open GApps on Pixel phones and if you try it gives you bright red error message because their script does not support the new partition system right now...

9.5.8 full zip file is not found in local upgrade section

Converted my 7pro to international from tmobile some time ago. Bootlader and sim unlocked, rooted, have custom kernel, and working on 9.5.7.. I want upgrade to 9.5.8, downloaded full zip multiple times for GM21AA, md5 checked, everything works.. Moved downloaded ZIP file to root folder (internal memory), but i can't see the update under settings > system > system updates > settings > local upgrade..
restarted, cleared cache.. etc.. tried all possible ways. Even oxygen updater app sees that there is an update zip in place. But what the hell happening in local upgrade section, am i missing a step here?
flayzeraynx said:
Converted my 7pro to international from tmobile some time ago. Bootlader and sim unlocked, rooted, have custom kernel, and working on 9.5.7.. I want upgrade to 9.5.8, downloaded full zip multiple times for GM21AA, md5 checked, everything works.. Moved downloaded ZIP file to root folder (internal memory), but i can't see the update under settings > system > system updates > settings > local upgrade..
restarted, cleared cache.. etc.. tried all possible ways. Even oxygen updater app sees that there is an update zip in place. But what the hell happening in local upgrade section, am i missing a step here?
Click to expand...
Click to collapse
Did you put the full zip file on the root of your internal storage? Meaning it has to be on /sdcard/ not /sdcard/downloads
Yes i did, its definitely on internal storage (root)
Also I notice something similar when I download a full zip and it was that after .zip it also had .jar so it looked like this( ? Name.zip.jar ) so I rename it and deleted jar and I was able to see under local update
HtcOnekid said:
Also I notice something similar when I download a full zip and it was that after .zip it also had .jar so it looked like this( ? Name.zip.jar ) so I rename it and deleted jar and I was able to see under local update
Click to expand...
Click to collapse
It definitely has no extension other than zip
Do you have renovate rom installed?
rickysidhu_ said:
Do you have renovate rom installed?
Click to expand...
Click to collapse
Its international 9.5.7 oos
flayzeraynx said:
Its international 9.5.7 oos
Click to expand...
Click to collapse
My best guess is to check the md5 hash of that zip and see if it matches the one on the OP website. If it doesn't match, you have a bad download. Also, can you open the zip with a file manager or does it TELL you it's corrupt? In any case, I'd say redownload the zip.
H4X0R46 said:
My best guess is to check the md5 hash of that zip and see if it matches the one on the OP website. If it doesn't match, you have a bad download. Also, can you open the zip with a file manager or does it TELL you it's corrupt? In any case, I'd say redownload the zip.
Click to expand...
Click to collapse
Thats the interesting part. Md5 is matching, and yes i can see the contents of zip file when i tap it. I downloaded 5 times already
In last 10 phones in my life, this is first time happening
flayzeraynx said:
Thats the interesting part. Md5 is matching, and yes i can see the contents of zip file when i tap it. I downloaded 5 times already
In last 10 phones in my life, this is first time happening
Click to expand...
Click to collapse
Yeah that IS weird, never seen that before.... So when all else fails, I'd use fastboot to boot TWRP and then install the zip that way. Is your bootloader unlocked? Use the command "fastboot boot [file name].img" then flash it there, if you're gonna install the TWRP zip to have it permanently, remember to install Magisk as well, it's needed for the phone to boot in that case.
Did you ever find a solution to this? I am having the same issue. .zip file is downloaded, not corrupt and in the root folder, but "system update / local upgrade" doesn't see it.
Some file explorers doesn't show the extension. It may be the case that your file is named "name.zip.jar", but when your looking at it, .jar is dropped, showing only "name.zip". This makes you believe .zip is the extension, while it's not, rather just part of the filename.

Categories

Resources