Remove All Ads from XDA

[Tool-BETA]PAC's Universal Gerrit Script - Push patches to gerrits with ease

2,235 posts
Thanks Meter: 1,448
Post Reply Email Thread

This script removes the hassle of trying to remember how to push different patches to different gerrits for different ROMS.
This script IS in BETA for the time being.


* Many teams already in place


  • AOKP
  • Carbon
  • Chameleon-OS
  • CyanogenMod
  • Dirty-Unicorns
  • Gummy
  • Omni
  • Paranoid-Android
  • PAC-Man
  • Vanir

* Easy to use

With commits you can:


  • Push them to a gerrit
  • Amend them
  • Change authors of the commit(s)
  • Find you SSH key

These features are all explained right below

Explanation of Features


setup/-su --- This is the option to run the initial setup again should you need to for some reason

team/-nt --- This allows you to change the gerrit that you are going to push to (CyanogenMod, PAC, Vanir, etc)

add+push/-ap --- This brings you through the process of adding a Change-ID if needed, then adding and pushing the files (git add -A, git commit -a, etc)

amend/-am --- This allows you to make changes to a commit that you have already pushed (aka, a patchset)

author/-au --- This allows you to change the author of the commit to help keep the correct commit history

name/-n --- This allows you to change the gerrit username you are using when pushing commits

push/-p --- This allows you to just push the changes to gerrit if that is all you need to do

sshkey/-ssh --- For those of you who don't know your ssh key and still need to put it into your gerrit account, this will open/create an ssh key that you can add to gerrit to be able to push

update/-u --- This will allow the script to check for a new version and update itself automatically if able to

Explanation of ADVANCED Features

WARNING: These options are only for people who know what they are doing and can fix it, should it break


addgerrit/-ag --- This allows you to add your own gerrit to push to, should we have missed one

force/-uf --- This will force the script to download a new version of itself and update

safety/-sa --- This will turn off (most of) the questions that are there to help prevent accidental pushing to wrong branches, etc

* Everything should be working


  1. Right click on link and click "Save link as"
  2. Save script
  3. Create folder in home directory called "bin" - ex: home/goldflame09/bin
  4. Execute in terminal: chmod a+x ~/bin/universal-review
  5. Some of you may need to either reboot or logout here in order for script to be recognized
  6. Run script by executing: universal-review
  7. Follow promts
  8. Enjoy!!



  1. Open terminal
  2. Execute: universal-review -u
  3. Follow promts and wait
  4. Enjoy the updated version

Thanks to:


@Papa Smurf151

XDA:DevDB Information
Multi-Gerrit, a Tool/Utility for the Android General

goldflame09, Papa Smurf151

Version Information
Status: Beta
Current Beta Version: 1
Beta Release Date: 2013-11-16

Created 2013-11-17
Last Updated 2013-11-16
The Following 23 Users Say Thank You to goldflame09 For This Useful Post: [ View ] Gift goldflame09 Ad-Free
17th November 2013, 02:23 AM |#2  
goldflame09's Avatar
OP Senior Member
Flag CT
Thanks Meter: 1,448
Donate to Me


11/16: First release

11/17: Fixed infinite loop when changing safety checks

The Following 8 Users Say Thank You to goldflame09 For This Useful Post: [ View ] Gift goldflame09 Ad-Free
17th November 2013, 02:52 AM |#4  
Papa Smurf151's Avatar
Senior Member
Flag Atlanta
Thanks Meter: 6,791
Donate to Me
Been waiting days for use to be able to release this. Glad to have worked on this with you, pvyparts, soupmagnet, and others.
The Following 6 Users Say Thank You to Papa Smurf151 For This Useful Post: [ View ] Gift Papa Smurf151 Ad-Free
17th November 2013, 03:01 AM |#5  
Inactive Recognized Developer
Thanks Meter: 4,215
Donate to Me
Great idea! Thank you dev for adding Vanir!
17th November 2013, 03:07 AM |#6  
Mazda's Avatar
Retired Recognized Developer
Flag Milton, Florida
Thanks Meter: 12,613
Same here! Great job guys!! Really means a lot to have DU added on to a list with some of the big name ROMs out there

Will spread the word on this for sure!!
17th November 2013, 02:45 PM |#8  
goldflame09's Avatar
OP Senior Member
Flag CT
Thanks Meter: 1,448
Donate to Me
Well, this didn't take long, but there is now a new version up

Fix infinite loop when changing safety checks

17th November 2013, 02:53 PM |#9  
camcory's Avatar
Inactive Recognized Developer
Flag Spring Hill, Fl
Thanks Meter: 4,997
Donate to Me
Perfect tool for slow folks like me! Thanks
The Following User Says Thank You to camcory For This Useful Post: [ View ] Gift camcory Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes