FORUMS

XDA Picks: Best Apps of the Week (July 25 – Aug 1)

Apps are at the front and center of any smartphone experience, and with over a … more

Voices Of XDA: Orbiting The Earth With Android

Editor’s note: This week’s feature has been written by forum … more

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

[MOD] How to install 'Xposed' on the HTC One

4,634 posts
Thanks Meter: 6,398
 
By paulobrien, Senior Member on 21st March 2013, 10:46 AM
Post Reply Subscribe to Thread Email Thread
This post details how to install 'Xposed' on the HTC One.

Full details on the modification can be found in this post.

Quote:
Originally Posted by rovo89

Some technical details:
I extended the /system/bin/app_process executable to load a JAR file on startup. The classes of this file will sit in every process (including the one for system services) and can act with their powers. And even more: I have implemented something that allows developers to replace any method in any class (may it be in the framework, systemui or a custom app). This makes Xposed very powerful. You can change parameters for the method call, modify the return value or skip the call to the method completely - it's all up to you! Also replacing or adding resources is easy.

Advantages:

  • No need to modify any APKs. This means:
    • No need to decompile, change things in smali, compile, sign, ...
    • It will work for odexed and deodexed ROMs.
    • Your mod is not bound to a specific version of the ROM. Unless there is a major change in the methods called for a certain functionality, your mod will continue to work even when you upgrade your ROM. Hell, it will probably even work with different ROMs.
    • Multiple mods can be installed at the same time, even if they change the same package. So you can use these battery icons and those quick toggles. Even hooking the same method twice is possible. Of course, this only works properly if the mods are not trying to do incompatible things.
  • It does its magic at runtime. That means you can implement options to let the user decide if they prefer the bikeshed to be painted in red or blue. Or you can have some extra logic for certain ROMs without building different mod versions.
  • It can be disabled easily without having to reflash.
    It's open source.

This guide is posted with rovo89's permissions. MASSIVE thanks to him for this modification, it's awesome. I'll be posting a number of modules for the One soon, keep an eye on this forum for details.

A custom installation system is required due to the One's /system partition lock (changes are lost at reboot). So... to install (this is version 2.1.3, i'll update as required)...
  • Download and install this APK - DOWNLOAD
  • Executed Xposed Installer from your launcher and click 'Install / Update'
  • Download this zip file and copy to your internal SD card - DOWNLOAD
  • Install the downloaded zip from your custom recovery
That's it, you're done! To uninstall, use the 'Clean Up' option in the app and then run the uninstall zip from the main Xposed Framework post.

Enjoy!

P
Last edited by paulobrien; 21st March 2013 at 11:20 AM.
The Following 31 Users Say Thank You to paulobrien For This Useful Post: [ View ]
 
 
21st March 2013, 03:47 PM |#2  
aydc's Avatar
Senior Member
Thanks Meter: 382
 
More
Is it possible to use XPosed's "long press volume button to skip songs" feature on HTC One? I can't test it since I don't have the phone yet, but it's a very important feature for me.
21st March 2013, 04:03 PM |#3  
paulobrien's Avatar
OP Senior Member
Flag Norwich
Thanks Meter: 6,398
 
More
I've not seen / tried that mod, but it should certainly be possible to create it.

P
21st March 2013, 05:18 PM |#4  
hugomc92's Avatar
Senior Member
Thanks Meter: 6
 
More
Re: [MOD] How to install 'Xposed' on the HTC One
Hi, it's possible to install and use this and other mods based in this one without root the One? Thanks

Sent from my HTC One using Tapatalk 2
22nd March 2013, 10:52 AM |#5  
Senior Member
Thanks Meter: 113
 
More
Quote:
Originally Posted by hugomc92

Hi, it's possible to install and use this and other mods based in this one without root the One? Thanks

Sent from my HTC One using Tapatalk 2

Quote:

I extended the /system/bin/app_process

Changing files in /system is impossible without root, so the answer is, sadly, no.
22nd March 2013, 10:53 AM |#6  
paulobrien's Avatar
OP Senior Member
Flag Norwich
Thanks Meter: 6,398
 
More
You could probably be unrooted after installation, but you need to root first to install.

P
22nd March 2013, 11:02 AM |#7  
Senior Member
Thanks Meter: 113
 
More
Quote:
Originally Posted by paulobrien

You could probably be unrooted after installation, but you need to root first to install.

P

But there's no way to root without HTCDev bootloader unlock, is there? So the 'damage' is done then, so no need to unroot...
22nd March 2013, 12:34 PM |#8  
paulobrien's Avatar
OP Senior Member
Flag Norwich
Thanks Meter: 6,398
 
More
Correct.

P
23rd March 2013, 08:18 PM |#9  
Senior Member
Thanks Meter: 45
 
More
AW: [MOD] How to install 'Xposed' on the HTC One
Is it possible to get apps in tablet mode with this mod? I doesn't seem to happen, no matter what settings I choose in the Xposed settings app.

Gesendet von meinem HTC One mit Tapatalk 2
28th March 2013, 07:23 PM |#10  
Senior Member
Thanks Meter: 14
 
More
Re: [MOD] How to install 'Xposed' on the HTC One
Any video tutorial?
It seems complicated.

Sent from my GT-I9300 using Tapatalk 2
29th March 2013, 03:12 AM |#11  
corcgaigh's Avatar
Senior Member
Flag Boston
Thanks Meter: 482
 
More
Re: [MOD] How to install 'Xposed' on the HTC One
Quote:
Originally Posted by wph

But there's no way to root without HTCDev bootloader unlock, is there? So the 'damage' is done then, so no need to unroot...

What damage. Your warranty with HTC??.
Most people agree the so called risk is worth the reward.

Sent from my EVO 4G LTE using xda premium

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes