Hot answers tagged

8

Basically the Zip File Signature Verification flag will enable flashing only if the zip file is signed properly by the developer. This is (almost) the same method used signing Jar files in Java. From here Basically, before executing any third-party program you want to make sure that it hasn't been tampered with (integrity) and that it was actually ...


6

This simplified example is inspired by this xda-developers thread. It is handy to use adb but you don't need to. Get a Java signing tool and keys Your packaged ZIP needs to be signed. If you have a Java signing tool, great. If not, then you can consult the Google sources for signapk or download a ready-made signapk.jar from here, or here. The latter also ...


3

No! LineageOS does not Zip Signature Verify, instead the LineageOS download site provides SHA256 codes which the user or the downloading app can use to verify their downloads (using a tool like sha256sum). You can click on the sha256 link above and change the ?sha256 in the url to ?sha1sum for example make this https://mirrorbits.lineageos.org/full/...


3

This is caused by the install script incorrectly detecting your platform as ARM. In order to fix this issue, which is specific to the Xposed ZIP file, you must hack edit flash-script.sh. Search for: if [ -z $XVALID ]; then echo "! Please download the correct package" echo "! for your platform/ROM!" exit 1 fi Comment out the exit command, by adding ...


3

.ftf are more suited for the older line of Xperia devices and is proprietary format, the trend with newer Sony devices is .elf instead. Their layout of kernel image is non-standard, this requires a special script to run against the freshly built kernel image to convert it and add extra special markers to make it compatible for the Xperia to enable booting. ...


2

Seems like write_raw_image works only from filesystem and does what dd does. Proper way would be to just extract the images package_extract_file("aboot.img", "/dev/block/mmcblk0p5"); package_extract_file("modem.img", "/dev/block/mmcblk0p1");


2

In order to unpack a ZIP file that's located on your phone, you can make use of the unzip command, which is included in BusyBox. To execute it, you can either install a Terminal emulator on the phone, or use adb from a computer with your phone plugged to it via USB. ADB method Before plugging your phone to the computer, make sure that the checkbox near USB ...


1

Android does not contain any program-code for reading or writing RAR files. For ZIP files Android has support for reading/extracting and creating new ZIP files (Android APK app files are ZIP files therefore reading them is required for running Android). However the functions for handling ZIP files are only available on development level, therefore any ...


1

I installed yesterday with latest TWRP (3.2.1-0) and same lineage image as you (lineage-15.1-20180415-UNOFFICIAL-cedric.zip) and got the same error. Try again and after failing, in TWRP go to Advanced -> Copy Log. Get the log file in your computer (adb pull /sdcard/recovery.log, you may need to change location of the log file) and open it with any editor or ...


1

There are many questions here, so the actual problem is somewhat unclear. Getting root app from Playstore (on an unrooted device) will not work. Therefore, I suspect it all relates to problematic/corrupt SuperSU zip - without it, you can't get root functionality. It is not recommended to tamper with SuperSU zip file! I suggest re-download SuperSU here and ...


1

You should use zipalign -f -v 4 my.apk output.apk Do remember that if you zipalign before you sign, the signing will undo the alignment.


1

Alright, I'm not knowledgeable about your specific device, but you need to move the "Photos" app itself to the SD card, not the data by itself. Go to Application Manager, find Photos, open it, and you should see a box that says "Move to SD card". Just tap the box, and wait for the app to show "Application moved to SD card", with that same box now reading "...


1

Solid Explorer works like a charm. You can try it out, but it's a paid app. You select all the files, like on a desktop and choose the extract option. The contents of the zip file are extracted to the respective folders.


1

Okay, so just tried another app RAR by Rarsoft and it did the job perfectly, though extracted all the zips to same folder....enough for me.


1

I have taken the script by @DeathMaskSalesman and augmented it so that it produces a ZIP containing all .apk packages found in the current directory and installs both those packages as well as the libraries contained therein. #!/bin/sh #!/system/bin/sh # Swap the above two lines as appropriate: Linux: /bin/sh; Android: /system/bin/sh #http://android....


1

Being unable to find something that matched my needs, I resolved to write a little script by myself. It's open to anyone which needs it. #!/system/bin/sh #This variable is used to calculate the time took by the various operations #Altering it will result in badly calculated elapsed time SECONDS=0 #This variable saves the path where the script resides #DO ...


1

Part 1 Unrooting Your Device You can unroot your phone from SuperSu itselef Go to SuperSu > Setting > Fullunroot. Part 2: Replacing KingUser You can download the ready to use script for replacing it with SuperSu Here Download Zip file from site Extract it in External Sdcard Launch Terminal Emulator Type su and give the superuser acess Type sh /sdcard/...


1

The APK themselves can be installed without recovery. However if an application depends on another application which doesn't exists in the current system or if it depends on features that thee currently installed dependent doesn't provide or provide in incompatible way, then you might see instabilities that wouldn't have been there if you had installed the ...


1

if doing so you have to remount the /system partition as it is mounted read only. via an adb shell mount -o remount,rw /system or from outside the device adb remount After this you can copy the content of this file onto the system partition. Keep in mind that these apk files will rely on some libraries, config files etc, which are also provided in this ...


1

The app's description on the playstore does not speak of "unzipping files to your sdcard". It rather seems to simply "handle" them, only temporarily extracting files to process them. Which would explain why you cannot find the files anywhere outside the zip-file itself (or outside that app). If you want to extract files to handle them separately, you might ...


1

B1 Free Archiver works good for unzipping files and password protected files. How to uncompress a password protected zip file? It's very simple, just tap two times on your archive and enter the password.


Only top voted, non community-wiki answers of a minimum length are eligible