[APP][PORT]CM13 Trebuchet (Laucher) for any ROM (v 6.0.1)

alesimula

Senior Member
Apr 2, 2016
327
497
0

TREBUCHET CM13-SNAPSHOT LAUNCHER PORTING v6.0.1.6

Newer version (from LineageOS 15)
Enjoy the CyanogenMod launcher on any device
Just install the apk file and set it as default android launcher
DOWNLOAD APP (XDA LABS STORE)
DOWNLOAD APK (MEDIAFIRE)

INSTALLER FOR CM12/12.1 (FLASHABLE)(CMfeatures)


Screenshots


Known bugs and fixes
To see the SearchBar, Google app must be installed and you have to grant Trebuchet the permission; just add a random witdget, a popup asking you to grant the permission will then appear
Please state your ROM and Android version when reporting bugs

Tested on
Android 5 (Lollipop) based roms
Android 5.1 (Lollipop) based roms
Android 6 (MarshMallow) based roms
Android 7.x (Nougat) based roms



Please notice that this porting required work and dedication; Trebuchet launcher belongs to Cyanogen so i cannot force you not resharing the porting as your work as i don't own its rights, but it would be nice of you if you didn't and if you shared the XDA thread link instead; thanks for understanding.

(MODDED FILES) (LOLLIPOP COMPATIBILITY MOD) (modified smali and res + original Trebuchet decompiled apk) (stoppped providing with new versions due to the big amount of modified files) (these are just to clear the minds of people telling me i "copied the apk from the ROM", which wouldn't even work; if you don't know what they are do not download them)
 
Last edited:

pankajdj007

Senior Member
Jul 7, 2014
139
185
0
Navi Mumbai
TREBUCHET CM13-SNAPSHOT LAUNCHER PORTING v 6.0.1

Enjoy the CyanogenMod launcher on any device
Just install the apk file and set it as default android launcher
(sorry for the fragmented link but as a new member i cannot post external links, just remove the "___")


Known bugs and fixes
To see the SearchBar Google app must be installed and you have to grant Trebuchet the permission; just add a random witdget, a popup asking you to grant the permission will then appear

Tested on
Android 6 (MarshMallow) based roms


Please notice that this porting required work and dedication; Trebuchet launcher belongs to Cyanogen so i cannot force you not resharing the porting as your work as i don't own its right, but it would be nice of you if you didn't and if you shared the XDA thread link instead; thanks for understanding.


you can attach file in your post, click edit and check Additional Options below
Additional Options>Attach Files>Manage attachments
 
Last edited by a moderator:
  • Like
Reactions: robert hesele

alesimula

Senior Member
Apr 2, 2016
327
497
0
Not really a "port" when you just pull the apk from the ROM...

Sent from my Nexus 6P using XDA-Developers mobile app
Like the apk pulled from the ROM even works (atleast the new 6.0.1 version);
Anyway here's the source with the classes i modified in a different folder

And since you just jumped to conclusions, here's what i did to patch the app:

1) Pulled the original apk from the ROM and decompiled it with apktool (we'll call it decompiledAPK).
2) Pulled the app source from the original Github Trebuchet page and created a new Android Studio project.
3) Removed all cyanogenmod dependencies with android studio; (at this point the app had some API related bugs and glitches so i couldn't just build it from android studio).
4) Compiled the (Buggy) app i had created with Android Studio, than decompiled it again with apktool to obatin all the modified smali files (we'll call it decompiledMOD).
5) Pulled the Github source again and created Android Studio project again, but this time instead of correcting the errors related to CM dependencies i highlighted them.
6) I searched the same highlited methos inside the SMALIs of decompiledAPK and corrected them by copying there the equivalent methods from decompiledMOD.
7) Modded OverviewSettingsPanel.java to remove "Protected Apps" option, then modded the equivalent smali by repeating step 6 for this one.
8) Modded user_folder.xml to remove the lock icon overlay, wich was referring to a cyanogenmod feature (protected apps and folders)
9) Removed the cyanogenmod package as i had already cleared all dependencies.
10) Recompiled the newly-modified decompiledAPK, recreated the APK and signed it.

And here's how you "pull an apk from the ROM"
 
Last edited:

alesimula

Senior Member
Apr 2, 2016
327
497
0
works on cm12?
I only teated it on MarshMallow based roms, you could try, however i don't know if it lets you install it as an update for the Trebuchet system app.

You could also try the non-modified Trebuchet 6.0.1 since you are on a CyanogenMod ROM
 

Android-Desire

Senior Member
Sep 17, 2010
253
36
48
Copenhagen
5.0.1 Tablet Denver Taq 10153 stock with root
5.0.1 LG H340n Leon stock no root
5.0 Galaxy Alpha stock no root

Tried a few more phones, this trebuchet is only for Android 6
 
Last edited:

alesimula

Senior Member
Apr 2, 2016
327
497
0
5.0.1 Tablet Denver Taq 10153 stock with root
5.0.1 LG H340n Leon stock no root
5.0 Galaxy Alpha stock no root
Mmh, this confirms me it might not be compatibile with android 5.x, i'll eventually try removing API 23 dependencies but i'm busy these days :D
 
Last edited:

Ozgurce

Senior Member
Jun 29, 2011
1,205
279
0
www.mnyk.net
Note 5 tw 6.01 it's working fine.

Effects doesn't seem to included though. Is it deleted on the stock too ?

SM-G930F cihazımdan Tapatalk kullanılarak gönderildi
 

alesimula

Senior Member
Apr 2, 2016
327
497
0
Note 5 tw 6.01 it's working fine.

Effects doesn't seem to included though. Is it deleted on the stock too ?

SM-G930F cihazımdan Tapatalk kullanılarak gönderildi
Yes, effects were actually removed by cyanogen in the new trebuchet version, as they changed page scroll to vertical scrolling.
 

alesimula

Senior Member
Apr 2, 2016
327
497
0
no protected apps ?? :( i wanted that feature..... coz i wanna hide some apps on my app drawer
Sorry, i removed that feature as it would make non-cyanogenmod devices crash, because it required CyanogenMod libraries to work.

There are however many apps and even an xposed module if i remember well which add that feature to your phone :)
 
Last edited:
  • Like
Reactions: NOSTALGIA

NOSTALGIA

Retired Forum Moderator
Jan 11, 2012
3,703
1,629
253
Cebu
Sorry, i removed that feature as it would make non-cyanogenmod devices crash, because it required CyanogenMod libraries to work.

There are however many apps and even an xposed module if i remember well which add that feature to your phone :)
im running full stock as of the moment. tired of rooting and flashing xposed. i hope it can be supported soon