[Q] Flashing Roms Problem - Nexus 5 Q&A, Help & Troubleshooting

So the roms that are on 5.0.1 are not being able to flash on MultiRom cause of the outdated Update-Script.
I have an updated version on my phone. How do properly Unpack and Pack a Rom-Zip?
In the past I tried a normal file browser, but when I go to flash the ROM it would say Incomplete rom

Just search "zip" in the play store.

Any zip application on windows such as 7-zip of winrar. Archive manager on Linux. Zarchiver on android. Just don't add with any compression. Set it as "store".
Open the zip with the application. Delete the existing script. Add a new one.

Related

How does Android file system work (i want to replace some grahpics of a installed ap)

Hello,
i installed an application that uses png images files...now i want to replace some of them with mine. I can extract thoose pngs from the apk in windows with winrar fine. So i know the file name, but when i search for thoose files in Android they are not there. So where do my installed apps go in the Android file system? Do they stay in the apk? Can i modify them there? I tried modifying the apk before installing it wich resulted in a failed installation

[Q] How to add custom APK files to a zip ROM?

Hi all,
I'm trying to add APK files to custom rom (my last try was Pyramid3D v7.3.0 ROM).
In each ROM file (ZIP file), I noticed APK files were installed in two folders:
data\app: which, as far as I understand, contains applications which can be unistalled after flashing
system\app: for applications which cannot be deleted after flashing (except using ADB commands or tools such as Titanium Backup)
I tried both to add my apk files to each of those folders using WinRAR without unzipping the ROM (simply using Drag N Drop). Then flashed (with signature verification disable), but among all APK files I put, only one is successfully installed (french apk file called "Page Jaune").
Of course, I can install remaining APK files after flashing but I really don't understand why some are installed and some not...
Any idea?
Try this thread http://forum.xda-developers.com/showthread.php?t=1198035
lol google search sent me to this page, thanks for the link it's exactly what I was looking for

[Q]Modified APK Installation Problem

I've downloaded an APK in the internet and successfully installed it o my Android, then decided to modified it. So I did the following:
Copy APK file to my Computer
Change the extension to ZIP
Extract it
Edited it here and there (Actually I just replaced the splash screen)
Compress it with ZIP
Change the extension back to APK
Put it to my phone
Can not be installed. When I trying to install. It said "Application not installed."
Any suggestion guys?
this is not the way to modify apk. use apktool.

7zip to zip flashable zips not working

I always used WinRAR to zip my flashable zips
But recently I wanted to change to 7zip, which seems like a much better option.
The zip is created, but when flashed in TWRP it says 'zip is corrupted'. Note that I use 7zip default settings to zip (Compression-level-Normal, Compression method- deflate)
Maybe some thing I'm doing wrong?
With WinRAR, default settings (Compression level-normal) works fine though...

Signature Spoofing Enabled and Signature Verification Disabled

- Edit - Read post 2 first
I Deodexed my framework folder with Super R's kitchen and patched services jar file to enable signature spoofing for MicroG. The flashable zip should wipe your framework folder and replace it with the new one. I can't test it right now, but try it out if you want. If the flashable doesn't work, and you want to use it, just extract the zip and use file manager in recovery to delete your whole framework folder and copy the new one there, (probably a good idea to wipe dalvik/cache).
Note about deodexing - could possibly make certain aspect of the phone slower. Only thing I have noticed so far is longer boot time...
https://mega.nz/#!E58U2AJb!j0XIq0veM3XdxjMCvjBoOZwQFRIsz3cfvi-rbrSyCU0
Update - so I tried it, and it doesn't flash properly, (some error in the script), but I also found out that it's much more stable to just replace the services jar with the deodexed one, and leave the rest of the framework as-is. So if you want to use MicroG, just extract the services jar from the zip, and then use file manager in recovery to delete the current one, and also delete the 3 services files, (odex, vdex, and art), from /system/framework/oat/arm64.
Then you can flash MicroG...
Zip attachment in first post is a custom Magisk module that was made with smali patcher. It replaces services jar file with a patched one that is deodexed (see above for instructions)...

Categories

Resources