[App][4.0+] CM App Installer

Jun 11, 2012
36
85
0
Hi XDA

CM App Installer

NEW UPDATE! Added 6.0 downloads and migrated all source to Github

Download Here

New features include:
  • Ability to download different versions of the apk for different versions of android you run
  • Better server management
  • More compact install process

This application was on the play store originally, but at the end of 2014, it got banned due to a overlap in the developer policy

Just thought i'd share it here in case anyone was looking to still use it! The server is still available, I just released a material design update as well and considering I have brought the server space for 3 months it seems like a waste to let this one go

For those interested, CM App Installer will pull the latest versions of the apps available that CyanogenMod exclusively develop, and give you the option to install them to your system either rooted or non-rooted. I cannot guarantee success with this, I don't develop the application, my job is simply to make it easier for you guys to get your favourite CyanogenMod apps on your own ROMs!

Use carefully! As ever, I do not take responsibilty for any damage done to your device as a result of this! The root features use the code specified in "code" in the options menu, or it's listed below. If you're paranoid, please give it a read

I have to emphasise, please try the non-root method first!. The root method is designed as a last ditch attempt to get it working, it does backup and restore your old versions but errors do happen, expect this as a possibility if you're rooted!


The list of apps available in the application are:

  • Apollo
  • Calculator
  • CM File Manager
  • Torch
  • Messaging
  • DSP Manager
  • Voice+
  • News and Weather Widget
  • Trebuchet Launcher
  • cLock Widget
  • Movie Studio
  • CM Wallpapers

Let me know if you have any more suggestions to add!

The source is hosted on Github

Source code on Github

Code

This information is also available from within the application.

There are a number of commands that this application uses, it executes certain processes through the code to copy apps to the system directory.
These commands are ran as if they were ran inside the terminal emulator, and always consist of

process, remount to read-write, transfer/copy/rename, remount to read-only, close. (In this order).

I use a Process to get a SU Runtime instance

Code:
Process p = Runtime.getRuntime().exec("su");
And then I use a PrintStream to issue the commands listed below to it.

Remount the system partition as read-write

Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Rename an app (use move command to move with a different extension - Creating backups)

Code:
mv /system/app/AppOfChoice.apk /system/app/AppOfChoice.bak
Copy an app from SD card to System directory

Code:
cat /sdcard/CMApps/AppOfChoice.apk > /system/app/AppOfChoice.apk
Remove an app from system partition

Code:
rm -r /system/app/AppOfChoice.apk
For permissions, I use chmod

Code:
chmod 644 /system/app/AppOfChoice.apk
Remount the system partition as read-only

Code:
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
And that is it. The process commands get pushed over the course of about two seconds, and should work. Again, I can't promise everything




Credit also goes to the Reddit member /u/wchill, his code helped with the system code (shown in the Code section above)

Similarly, I do not take any responsibility if this app causes your phone to be bricked, corrupted, broken, or to encounter an unfortunate case of spontaneous combustion. Use at your own risk.

In the mean time, enjoy! :)

If you fancy buying me a drink, see here!

Previous post


Small update to fix one bug reported by a few users, and added adverts. Lost the keystore again (apologies), so it's made with a new one which has been backed up everywhere :)
 

Attachments

Last edited:
Jun 11, 2012
36
85
0
which CM apps are available?
I have updated the main description with this, apologies

However, the list of apps available at the moment are:

  • Apollo
  • Calculator
  • CM File Manager
  • Torch
  • Messaging
  • DSP Manager
  • Voice+
  • News and Weather Widget
  • Trebuchet Launcher
  • cLock Widget
  • Movie Studio
  • CM Wallpapers

And are subject to change; if you have any apps i've missed or would like, let me know!
 
  • Like
Reactions: radheyiit

iH8Ecchi

Senior Member
Jan 27, 2014
459
102
73
Planeptune
I have updated the main description with this, apologies

However, the list of apps available at the moment are:

  • Apollo
  • Calculator
  • CM File Manager
  • Torch
  • Messaging
  • DSP Manager
  • Voice+
  • News and Weather Widget
  • Trebuchet Launcher
  • cLock Widget
  • Movie Studio
  • CM Wallpapers

And are subject to change; if you have any apps i've missed or would like, let me know!
No Gallery? CM gallery is good cuz it does not generate DCIM thumbnail
also, anything to do with theme chooser stuff?

which CM apps are available?
Are you Kakashi?
 
  • Like
Reactions: Ainz_Ooal_Gown

RowanDDR

Senior Member
Aug 23, 2010
242
44
58
Do the CM apps not get built with CM, and therefore if your ROM is latest CM you already have latest CM apps?

Does this work on CM11 and CM12?
 

giaur

Senior Member
Aug 27, 2013
4,014
1,160
0
No CameraNext! The only I'm interested in. Any plans to add it? Tried to download it directly from play store, obviously it is not possible.
 

Joshmccullough

Senior Member
Apr 24, 2011
1,214
477
103
I got this only for Voice+, I installed it using both methods on my Rooted Nexus 5 Lollipop rom, but I don't see it anywhere. I would love to have the new messaging app support Google Voice texts.
Is it supposed to just work with no configuration?
A question: why not just use Hangouts for GV/messaging using your GV number? I've always worried about how well Voice+ or XVoice+ work, had a few times they didn't use my GV # as I was expecting.
 
Jun 11, 2012
36
85
0
No Gallery? CM gallery is good cuz it does not generate DCIM thumbnail
also, anything to do with theme chooser stuff?
Are you Kakashi?
I didn't realise CM Gallery was unique? I thought it was just part of AOSP, but yeah i'll pull it in a second and add it to the download list

What about Email app?
Pretty sure this is part of AOSP isn't it? I thought it came standard on every single ROM ever?

Any chance you can get the dialer on this app?
Dialer is very system-integrated, so I don't think so.. I will test it for you though, and add it if it's faesable, but it's incredibly likely that it won't work in any sense of the word

Do the CM apps not get built with CM, and therefore if your ROM is latest CM you already have latest CM apps?

Does this work on CM11 and CM12?
It should do. The apps are pulled from CM builds about once every month or so, or whenever significant updates are made to the apps that i'm aware of. There's no reason why it shouldn't work on any build of CyanogenMod

No CameraNext! The only I'm interested in. Any plans to add it? Tried to download it directly from play store, obviously it is not possible.
CameraNext I thought got discontinued? Again i'll have a look at it for you, but the app in my experience never really worked anyway?
 
  • Like
Reactions: kevinnol
Jun 11, 2012
36
85
0
Gallery added

Hit the refresh button in the app, and the gallery will appear at the bottom of the list! I'm not sure it's different, but it's there, have fun!
 
T

tsunamical

Guest
Hey there! Shame to see it got taken down, I actually used this since its earlier days on non-CM roms to get the file manager (back before I knew how to build roms). Glad to see the server is still up and now a thread is here. Keep up the excellent work and thanks a bunch!
 

giaur

Senior Member
Aug 27, 2013
4,014
1,160
0
Last edited:
  • Like
Reactions: luckyrumo

hjmodi

Senior Member
Oct 20, 2014
171
353
0
24
Dream Island
Thans and a Request :)

Hi XDA

CM App Installer

This application was on the play store originally, but about 3 days ago it got suspended for a breach in the play developer distribution agreement, and I can't get it back on there

Just thought i'd share it here in case anyone was looking to still use it! The server is still available, I just released a material design update as well and considering I have brought the server space for 3 months it seems like a waste to let this one go

For those interested, CM App Installer will pull the latest versions of the apps available that CyanogenMod exclusively develop, and give you the option to install them to your system either rooted or non-rooted. I cannot guarantee success with this, I don't develop the application, my job is simply to make it easier for you guys to get your favourite CyanogenMod apps on your own ROMs!

Use carefully! As ever, I do not take responsibilty for any damage done to your device as a result of this! The root features use the code specified in "code" in the options menu, or it's listed below. If you're paranoid, please give it a read

I have to emphasise, please try the non-root method first!. The root method is designed as a last ditch attempt to get it working, it does backup and restore your old versions but errors do happen, expect this as a possibility if you're rooted!


The list of apps available in the application are:

  • Apollo
  • Calculator
  • CM File Manager
  • Torch
  • Messaging
  • DSP Manager
  • Voice+
  • News and Weather Widget
  • Trebuchet Launcher
  • cLock Widget
  • Movie Studio
  • CM Wallpapers

Let me know if you have any more suggestions to add!

Code

This information is also available from within the application.

There are a number of commands that this application uses, it executes certain processes through the code to copy apps to the system directory.
These commands are ran as if they were ran inside the terminal emulator, and always consist of

process, remount to read-write, transfer/copy/rename, remount to read-only, close. (In this order).

I use a Process to get a SU Runtime instance

Code:
Process p = Runtime.getRuntime().exec("su");
And then I use a PrintStream to issue the commands listed below to it.

Remount the system partition as read-write

Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Rename an app (use move command to move with a different extension - Creating backups)

Code:
mv /system/app/AppOfChoice.apk /system/app/AppOfChoice.bak
Copy an app from SD card to System directory

Code:
cat /sdcard/CMApps/AppOfChoice.apk > /system/app/AppOfChoice.apk
Remove an app from system partition

Code:
rm -r /system/app/AppOfChoice.apk
For permissions, I use chmod

Code:
chmod 644 /system/app/AppOfChoice.apk
Remount the system partition as read-only

Code:
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
And that is it. The process commands get pushed over the course of about two seconds, and should work. Again, I can't promise everything




Credit also goes to the Reddit member /u/wchill, his code helped with the system code (shown in the Code section above)

Similarly, I do not take any responsibility if this app causes your phone to be bricked, corrupted, broken, or to encounter an unfortunate case of spontaneous combustion. Use at your own risk.

In the mean time, enjoy! :)

If you fancy buying me a beer, see here!

Previous post
i,m a big fan of CM apps but i cant root my device(as many other guys) so can you guys please make your apps available like other normal apps for all 4.0+ device with guaranteed success.
Thanks :cowboy:
 

Ainz_Ooal_Gown

Senior Member
Feb 3, 2013
3,845
1,719
253
26
Los Osos
i,m a big fan of CM apps but i cant root my device(as many other guys) so can you guys please make your apps available like other normal apps for all 4.0+ device with guaranteed success.
Thanks :cowboy:
Well this is to install on other ROMs....and its basically guaranteed to work if your rooted and not on Lollipop.....what device do you have?
 

ThaDSman

Senior Member
A question: why not just use Hangouts for GV/messaging using your GV number? I've always worried about how well Voice+ or XVoice+ work, had a few times they didn't use my GV # as I was expecting.
That is what I currently do, but it is severely lacking.
I find myself switching back to the old Google Voice because it had far more features but lacks mms support.
For one it had a text message search,
2. Composing messages to new people was far easier and didn't search for my contacts in ALL of G+ (wtf is that about google?)
3. I like messaging programs that follow Material design guidelines.
4. Hangouts sometimes randomly crashes when replying to a message, until I go back through the whole process of finding the contact and messaging them.
5. Hangouts sometimes just straight up doesn't feel like using GV (...its like nah, were gonna SMS this with your real number)

/end of Hangouts hate rant
 
  • Like
Reactions: Joshmccullough