FORUMS
Remove All Ads from XDA

[BACKPORT][6.0.1+] Pixel Launcher O-3952143 v2

1,762 posts
Thanks Meter: 3,011
 
By linuxct, Recognized Contributor & Social Contributor on 19th May 2017, 01:40 AM
Thread Closed Email Thread
Once again... The title says it all.
This is my second attempt to make a fully functional backport of the Google Pixel launcher from Android O Public Beta 1 (a.k.a. Developer Preview 2). Like last time, I saw people complaining in APKmirror's Disqus thread, and even got some PMs asking me to please port the launcher, so here it is.

This hasn't been a 'quick backport' like last time, because turns out Google Play Services now verifies the signature of the packages (yes, you can't mod anything that was originally signed by Google anymore), and, if the signature doesn't match, gms makes the app crash. Providing this, I had to reverse-engineer the gms portion included inside the Launcher with no help from the stacktrace at all, since it displays (Unknown source) inside it. Have this as example:
Code:
05-18 10:57:13.561  9540  9540 E AndroidRuntime: java.lang.SecurityException: Signature check failed for com.google.android.apps.nexuslauncher
05-18 10:57:13.561  9540  9540 E AndroidRuntime:        at android.os.Parcel.readException(Parcel.java:1620)
05-18 10:57:13.561  9540  9540 E AndroidRuntime:        at android.os.Parcel.readException(Parcel.java:1573)
05-18 10:57:13.561  9540  9540 E AndroidRuntime:        at com.google.android.gms.common.internal.o.zza(Unknown Source)
05-18 10:57:13.561  9540  9540 E AndroidRuntime:        at com.google.android.gms.common.internal.x.fs(Unknown Source)
05-18 10:57:13.561  9540  9540 E AndroidRuntime:        at com.google.android.gms.internal.cy.yQ(Unknown Source)
05-18 10:57:13.561  9540  9540 E AndroidRuntime:        at com.google.android.gms.internal.bQ.run(Unknown Source)
05-18 10:57:13.561  9540  9540 E AndroidRuntime:        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
05-18 10:57:13.561  9540  9540 E AndroidRuntime:        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
05-18 10:57:13.561  9540  9540 E AndroidRuntime:        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
05-18 10:57:13.561  9540  9540 E AndroidRuntime:        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
05-18 10:57:13.561  9540  9540 E AndroidRuntime:        at com.google.android.gms.internal.bk.run(Unknown Source)
05-18 10:57:13.561  9540  9540 E AndroidRuntime:        at java.lang.Thread.run(Thread.java:818)
05-18 10:57:13.562  2070  2952 W ActivityManager:   Force finishing activity com.google.android.apps.nexuslauncher/.NexusLauncherActivity
I started working on com.google.android.gms.common.internal.o.zza with barely any luck, when, modifying a single const/v4 made Android reject the class, and revealing the actual class that was calling it inside a new stacktrace, which was actually com.google.android.gms.common.internal.zzu$zza. From there I just made the function not to jump inside the call to ...internal.o.zza, and voilà. It works with no signature verification. I had to spend almost 2 hours, but it's been worth it

I've tested the application in my SHIELD Tablet running official LineageOS 13.0 nightlies, as well as in my Wileyfox Swift 2 with Android 7.1.1, and seems to be working like a charm with latest Google Play Services installed.
However, like last time I'd like to roll call all of you to please, test it and report back with any issue you find.

A NEW VERSION HAS BEEN RELEASED, FIXING THE BLUE BACKGROUND ISSUE AS WELL AS SOME FEATURES, CHECK IT OUT HERE!

DOWNLOAD LINK
SMALI MODIFICATIONS (v2)

NOTE:
- DO NOT MIRROR MY FILES, please.
- The background color of the App Drawer might be blue in some ROMs. This is not a bug on my side, and it's how Google did it. Fixed in v2.
- The apk, like last time, has been signed with my own key, so uninstall any previous versions before installing this one
- Do you want to get Android O emojis too? Check this out.
- ... and no, there's no reflection.engine crashes anymore

Special thanks to P4Block for having to hear me screaming when the code doesn't work, and Jose (in case you read this), now you know why I was freaking out early today
The Following 160 Users Say Thank You to linuxct For This Useful Post: [ View ] Gift linuxct Ad-Free
 
 
19th May 2017, 02:03 AM |#2  
Revantark's Avatar
Member
Flag Hyderabad
Thanks Meter: 158
 
More
Working on j7 prime Android marshmallow
But apps background color is different.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20170519-063024.jpg
Views:	32288
Size:	112.7 KB
ID:	4154436  
The Following 2 Users Say Thank You to Revantark For This Useful Post: [ View ] Gift Revantark Ad-Free
19th May 2017, 02:04 AM |#3  
linuxct's Avatar
OP Recognized Contributor & Social Contributor
Flag València
Thanks Meter: 3,011
 
Donate to Me
More
Quote:
Originally Posted by Revantark

But apps background color is different.

I know. That's something on Google's side (aka not a bug). However, in both my SHIELD Tablet and Wileyfox Swift 2+ it displayed properly... I'll have a look at it tomorrow.
19th May 2017, 02:32 AM |#4  
Senior Member
Thanks Meter: 81
 
More
icon changer is missing in setting of pixel launcher
19th May 2017, 02:35 AM |#5  
linuxct's Avatar
OP Recognized Contributor & Social Contributor
Flag València
Thanks Meter: 3,011
 
Donate to Me
More
Quote:
Originally Posted by A$h!$h

icon changer is missing in setting of pixel launcher

There is a 'uses-feature' inside the AndroidManifest that relies on com.google.android.feature.PIXEL_EXPERIENCE, which probably handles that. The thing is that that's not up to the launcher, but a Pixel specific feature. Probably requires extra libraries too, but don't quote me on that.
19th May 2017, 06:37 AM |#6  
KenjiHannya's Avatar
Senior Member
Thanks Meter: 856
 
More
Tnx
19th May 2017, 06:43 AM |#7  
Senior Member
Thanks Meter: 10
 
More
Whats new in this apk from the apk in apk mirror
19th May 2017, 07:02 AM |#8  
KenjiHannya's Avatar
Senior Member
Thanks Meter: 856
 
More
Work in Kenzo
Tnx Very much 😉
The Following User Says Thank You to KenjiHannya For This Useful Post: [ View ] Gift KenjiHannya Ad-Free
19th May 2017, 07:08 AM |#9  
Senior Member
Thanks Meter: 280
 
More
Which one should i download?

Edit: it runs perfectly on Dirty Unicorn 11.3

Sent from my Redmi Note 3 using Tapatalk
19th May 2017, 07:59 AM |#10  
bultras's Avatar
Member
Thanks Meter: 22
 
More
Wow, amazing work!!! Works great on Nexus 6 with NitrogenOS (7.1.2). Colors are the default, no blue background in app drawer.
Thanks
19th May 2017, 08:12 AM |#11  
Kaconk's Avatar
Senior Member
Flag Surabaya
Thanks Meter: 42
 
More
is there any flashable, maybe
The Following User Says Thank You to Kaconk For This Useful Post: [ View ] Gift Kaconk Ad-Free
Thread Closed Subscribe to Thread

Tags
android o, android o launcher apk, backport, launcher, pixel
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes