Jump to content

[SCRIPT] Download ANY CyanogenMod Nightly for ANY device.


Recommended Posts

Guest skymera
Posted (edited)

What is this?

Been playing around with some scripts for my personal use to save me some time flashing nightlies.

While I was at it I decided to make another script that would allow me to choose ANY CyanogenMod supported device AND have the option to choose the nightly or have it automatically download the latest nightly.

But, why?

But what is this good for? Well, saves you going to TeamDouche :huh: Seriously, my friend has set it up as a Cron job so automatically runs for him and gets latest nightly for him.

I made it for fun and just decided to share, someone may like it.

It works pretty well although very basic! The code doesn't look much but took me a long time :)

Anything for the future?

Well it can now remove some apps from the /system/app folder.

You can easily edit to match your tastes.

Some notes..

Please bear in mind this is my first ever attempt at anything like this, so it's very rudimentary and far from the best practice.

Well enjoy!

Thanks to the guise at #villainrom for some help!

This is for Linux only and just run from the terminal.

CyanogenGeneric.zip

CyanogenGeneric2_2.zip

Edited by skymera
Guest hedgepigdaniel
Posted

I am sitting at my laptop trying to work out how to get wake on LAN to turn on the computer that is about 5 metres to my left. It's been almost an hour of fiddling but I cant wait to save all the time i would have to spend to walk over to it...

Guest sej7278
Posted
I am sitting at my laptop trying to work out how to get wake on LAN to turn on the computer that is about 5 metres to my left. It's been almost an hour of fiddling but I cant wait to save all the time i would have to spend to walk over to it...

lol its usually some vague bios setting, plus you need an /etc/ethers entry with the mac address, and i find generally wol doesn't work but ether-wake does.

Guest skymera
Posted (edited)
I am sitting at my laptop trying to work out how to get wake on LAN to turn on the computer that is about 5 metres to my left. It's been almost an hour of fiddling but I cant wait to save all the time i would have to spend to walk over to it...

You seem to have missed the point of why this is here.

I didn't make it intentionally to release. I made it for myself. Though, the one for myself does much more such as remove apps and copy my personal fixes then zips backup.

Thought I'd share is all. Asshole.

Edited by skymera
Guest ThrashMan
Posted
humm why do you do a cd ~/Desktop/ ????

Good question.....CD to SDCard/CMupdate or similar would better and really ought to check for free space first too? (Aswell as check if wifi is on and connected?)

Sorry, just observing :huh:

Good idea for a script tho.

Guest skymera
Posted (edited)
humm why do you do a cd ~/Desktop/ ????

Downloads the files to the desktop. It's where I wanted them :huh:

Also I made some changes and uploaded newer version.

Allows you to remove some junk apps too.

Good question.....CD to SDCard/CMupdate or similar would better and really ought to check for free space first too? (Aswell as check if wifi is on and connected?)

Sorry, just observing :)

Good idea for a script tho.

Yeah but on Linux the SD card can be mounted under any dir (/media/<random number> /mnt/usb) etc

It was easier to do everything on the desktop xD

Edited by skymera

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.