Showing posts with label Xposed. Show all posts
Showing posts with label Xposed. Show all posts

June 11, 2015

// // Leave a Comment

Xposed for Android 5.1 Lollipop (API v64) Alpha 4 Ultra Edition

It seems that many people have waited for this moment, and here we are with the New Xposed for Android 5.1 Lollipop (API v64) Alpha 4 Ultra Edition. I want to start this post off with a couple of very clear points. Rovo89 (Senior XDA Member) is the creator of the Xposed framework. Romracer (also a Senior XDA Member) have only worked to bring the Xposed framework to Android 5.1 Lollipop (API v64) Alpha 4 Ultra Edition. I have not rewritten the Framework from Scratch. If Xposed doesn't work on your 5.0 device, chances are it won't work on 5.1 either (I'm looking at you Samsung users).

This is a derivative work posted with XDA (Rovo89) Permission!

With that said, I present to you the first unofficial release of Xposed for Android 5.1. It is my hope that ultimately my changes can be reviewed and an official release posted. But first, the bugs must be squashed! I've written a few Xposed modules that work fine but by posting this unofficial release, I hope to expand my audience of module writers and testers.

Xposed For Android 5.1 Lollipop

How to Test Xposed for Android 5.1 Lollipop (API v64) :

  • You must be on Android 5.1. It will NOT work on Android 5.0 (too many changes to ART).
  • You should have a working recovery (recoveries that don't have unzip or busybox are not "working recoveries"). The installer will try to detect this ahead of time.
  • If you left the Xposed app installed from Android 5.0, you should disable all modules before installing this framework. Busted modules may keep you from booting after installation otherwise.
  • I will need Xposed logs (and possibly logcats) to debug any issues. Remember, if your device won't boot after installation, its likely you can reboot to recovery and still grab the Xposed log (assuming Zygote started). It will be in /data/data/de.robv.android.xposed.installer/log as error.log or error.log.old.

Known Issues till Now :

  • Devices with very little free space on /system may have trouble installing. This installer has been tweaked slightly over the 5.0 installer. It will attempt to move your original libraries off /system, install the framework, compress the original libraries and then move the compressed originals back to the root of /system.
  • If Xposed for Android 5.0 didn't work on your device, its unlikely this one will either. This is more or less the exact same source code, just an updated ART runtime. But feel free to try, just make sure you know how to backup and restore.

Download Xposed for Android 5.1 Lollipop (API v64) Alpha 4 Edition :

First, I'm going to point you to the original Xposed for Lollipop XDA thread. Why? Because I want you to read it. This release hardly differs from that one. And maybe, just maybe, it'll save some unnecessary private messages. Now, following are the download links for Android 5.1 Lollipop (API v64 Alpha 4 Ultra Edition
Almost everyone should use the arm download. Use arm64 ONLY for arm64 devices (most popular ones are probably HTC One M9 and Nexus 9). Google your device or look in build.prop if you're not sure.
NOTE: This is still an alpha version and for Lollipop on ARMv7+ devices only. Please install it only if you're willing to take the risk of boot loops. Just because it's working fine and stable for me doesn't mean it will work for everyone the same way. 

Module Developers :

It would be incredibly useful to me for people to test the framework in the smallest "units" possible at first. By "unit" I mean things such as "resource replacement", "method replacement", "before method hooks", "after method hooks", etc. It doesn't do me a lot of good to know that some huge, complicated module causes system_server to crash without understanding at what level that's happening. This is actually what held me back from releasing. I have some test modules to use, but I don't have infinite time to write test modules, test the framework, etc.
UPDATE: Samsung has changed quite a few things in their version of ART. It will take more time to adjust Xposed for it.
I hope this Article would help you to Install the Xposed Framework for Android 5.1 Lollipop (API v64) Alpha 4 Ultra Edition. If you face any problems in Installing or Flashing this Xposed Framework, just comment below and I will look forward to your problem.  
Read More

March 26, 2015

// // Leave a Comment

Get Rid of Tiny Contact Thumbnails with Clarity for Xposed

Clarity is an Xposed module and root Android application for increasing the size and quality of contact thumbnails in the Android contacts database. It's comprised of two components. An Xposed modification and a root-required Database Processor.

Xposed Mod

Android stores two versions of contact images. The contact photo and the contact thumbnail. While both are downscaled appropriately from the original image, the two are very different in size. Contact photos clock in at around 720×720 pixels or so depending on the original image. Contact thumbnails are a measly 96×96 pixels. Contact photos are used in places where contact imagery is going to be distinctively large like the KitKat/Lollipop Phone app. Or when you receive an incoming call. Thumbnails are used for notifications, messaging applications, and other roles which the full contact photo is unnecessarily big. Unfortunately, as screen PPIs have skyrocketed since the 96×96 limit was put in place, contact thumbnails are now too small for their original purpose. Regardless, most applications continue to use contact thumbnails.


Clarity forces Android to use a user-defined size (defaulting to 256×256) when adding contact thumbnails to the database. While these new images are larger and look much better they will load slightly slower and increase memory requirements. For newer devices this should not be a problem. For reference, I have not witnessed any side effects on my Galaxy S4 using the default 256×256 setting. Since the size can be adjusted you can optimize it for your device.

In the name of simplicity, Clarity does not change the method Android uses to downscale contact thumbnails, just the final dimensions. However since Clarity allows you to increase the size of the thumbnail and consequently decrease the magnitude of the downscale, there will be noticeably fewer artifacts in your new thumbnails.

Also See: 15 seconds ADB, Fastboot and Driver Installer [PC tools for Android]

The Xposed module does not magically increase the quality of thumbnails already added in the database. It only affects newly added/updated contacts and images. To upgrade your entire contacts database either use the Database Processor detailed below or re-import the contacts. Re-importing may require you to deconnect/desync the account the contacts are associated with and then reconnect/resync the account. Some sync applications may have a force refresh option and that should work nicely. For instance, HaxSync has a Force redownload option under its contact settings.

Database Processor

In addition to the Xposed-based modification described above, Clarity includes a Database Processor. This powerful feature forcibly updates every contact thumbnail in your database. It rips out the internal contacts database file, finds all your contacts with photos and puts in new thumbnails. It'll then replace the old database with the new one. It is highly recommended to immediately reboot after processing to avoid Android going berserk. It will if you don't.

While powerful, the Database Processor is also extremely dangerous. I am not responsible for any damage to your device as a result of using Clarity. It performs several operations as root and modifies core Android files that were never meant to be touched by anything other than Android itself. I highly recommend a full recovery-based backup of your device alongside the built-in backup feature. Please use the dry-run feature first (hell, multiple times even) to ensure the operation will succeed for your ROM. It is possible a successful dry-run could still fail when doing the real-deal so, as I mentioned before, backup your stuff.

Also See: Install Minimalistic OnePlus One Boot Logo And Animation

The built-in contact backups will be saved to a Clarity folder on your "primary" external storage. What primary means depends on your ROM and device. It could be your actual external SD card or it could be an internal storage location. Regardless, the current backup location will be noted, assuming backups are enabled, in the processor's log. As an added bonus, if the backup feature is on it will also save the log file alongside your backups!

The Database Processor has been tested on CyanogenMod 10 (based on Android 4.1.2), CyanogenMod 11 (based on Android 4.4.4), and CyanogenMod 12 (based on Android 5.0.2). It should work on any AOSP-based ROM from Ice Cream Sandwich (4.0) to Lollipop MR1 (5.1). For stock ROMs and anything created by carriers I have no idea. If it works for you please report back! If it doesn't, well, report that too.

Features

  • Simple lightweight Xposed modification
  • Powerful database processor for forcibly updating contact thumbnails
  • Should work on nearly any AOSP-based ROM like CyanogenMod
  • Free and open-source software. No nags. No data collection. No secrets.

Installation

  • Make certain you have Xposed installed before continuing.
  • Install the app by a) searching for it in the Xposed Installer or b) manually through the APK provided on GitHub or the Xposed website.
  • Configure the app in its settings panel. It can be accessed through the module section of the Xposed Installer or by the launcher shortcut.
  • Enable the module in the Xposed Installer.
  • Reboot Now. You are Done!

Downloads

MD5 checksums are available on the Xposed Repo and XDA.
Clarity is developed in my spare time and will always remain free and open-source software. If you find this application useful please feel free to HIT 1+ or LIKE us on Facebook.
Read More