Skip to content

Instantly share code, notes, and snippets.


Shubhang Rathore xenon92

View GitHub Profile
xenon92 / delete_all_records.js
Created Apr 2, 2020
DynamoDB - Delete all records from a table
View delete_all_records.js
const AWS = require("aws-sdk"); //AWS SDK
//AWS configuraton
region: 'us-east-2'
//DynamoDb client
let docClient = new AWS.DynamoDB.DocumentClient();
xenon92 / index.js
Created Jul 6, 2019
Simple Moment Validations (Nodejs)
View index.js
"use strict"
const moment = require('moment')
class MomentValidations {
constructor(dateTimeString) {
this.dateTimeString = dateTimeString
isUtc() {
xenon92 /
Last active Jul 7, 2017
Patches to Paranoid Android for Samsung Galaxy Grand Duos GT-i9082

Paranoid Android

Patches (android Kitkat)

####Samsung Galaxy Grand Duos GT-i9082

  • The path of the patch is mentioned in the file name of the patch
  • Patch to "vendor/pa" is redundant now as this commit as been merged in the Paranoid Android Legacy repository upstream
xenon92 /
Last active Jul 7, 2017
Guidelines for Android Source Compilation

Guidelines for Android Source Compilation

In this post, I'll share what "should" be done and what "shouldn't" be done and the reason of this post.

If you want your ROM to succeed, you need to think about 2 types of people.

xenon92 / fix_SystemUI_autobrightness.patch
Last active Jun 17, 2017
Patch for Carbon ROM KitKat 4.4.2 to fix SystemUI FC on tapping settings gear for autobrightness (frameworks/base)
View fix_SystemUI_autobrightness.patch
From 1a1885957db9200be7f4d4e9dfaa84c88b6565c6 Mon Sep 17 00:00:00 2001
From: Shubhang <>
Date: Tue, 31 Dec 2013 14:41:27 +0530
Subject: [PATCH] fb: fix SystemUI crash on autobrightness settings
Change-Id: I8bf4b8296c7d4d92d7e262c33371e2befbf04022
.../SystemUI/src/com/android/systemui/settings/ | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
xenon92 /
Last active Oct 4, 2016
Instructions to device maintainers

Resurrection Remix ROM

Instructions to Device Maintainers

If you want your device and name to be added in the list of devices on our website, as well as in the device maintainers list (Resurrections Tools > About Resurrection Remix > Maintainers), follow these instructions.

xenon92 / fix_vibration_s2vep_rr_kk.patch
Last active Jan 4, 2016
Patch frameworks/base rebased on Resurrection Remix Kitkat to fix vibration on Galaxy S2 Plus - credits to beastaki23 at XDA
View fix_vibration_s2vep_rr_kk.patch
diff --git a/services/java/com/android/server/ b/services/java/com/android/server/
index 64fffb7..581af0c 100644
--- a/services/java/com/android/server/
+++ b/services/java/com/android/server/
@@ -1,18 +1,18 @@
- * Copyright (C) 2008 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
xenon92 /
Last active Jan 4, 2016
Official Resurrection Remix Kitkat Changelog
xenon92 / fix_camera_sdcard_access.patch
Last active Jan 3, 2016
Patch to Resurrection Remix Kitkat packages/apps/Camera2 to fix external sd card access to camera
View fix_camera_sdcard_access.patch
From eb128dca125bd9fd63ebd8a0b6ca78a1c1636d07 Mon Sep 17 00:00:00 2001
From: Shubhang <>
Date: Sun, 19 Jan 2014 12:35:38 +0530
Subject: [PATCH] fix external sd card access to i9082
src/com/android/camera/ | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/src/com/android/camera/ b/src/com/android/camera/
You can’t perform that action at this time.