Category Archives: Mobile
HTTPS Methods and Status Codes
Posted by Sayak Sarkar
Here’s a curated list of HTTPS methods and status codes for quick reference by web devs:
METHODS:
- ‘ACL’,
- ‘BIND’,
- ‘CHECKOUT’,
- ‘CONNECT’,
- ‘COPY’,
- ‘DELETE’,
- ‘GET’,
- ‘HEAD’,
- ‘LINK’,
- ‘LOCK’,
- ‘M-SEARCH’,
- ‘MERGE’,
- ‘MKACTIVITY’,
- ‘MKCALENDAR’,
- ‘MKCOL’,
- ‘MOVE’,
- ‘NOTIFY’,
- ‘OPTIONS’,
- ‘PATCH’,
- ‘POST’,
- ‘PRI’,
- ‘PROPFIND’,
- ‘PROPPATCH’,
- ‘PURGE’,
- ‘PUT’,
- ‘REBIND’,
- ‘REPORT’,
- ‘SEARCH’,
- ‘SOURCE’,
- ‘SUBSCRIBE’,
- ‘TRACE’,
- ‘UNBIND’,
- ‘UNLINK’,
- ‘UNLOCK’,
- ‘UNSUBSCRIBE’
STATUS_CODES:
- ‘100’: ‘Continue’,
- ‘101’: ‘Switching Protocols’,
- ‘102’: ‘Processing’,
- ‘103’: ‘Early Hints’,
- ‘200’: ‘OK’,
- ‘201’: ‘Created’,
- ‘202’: ‘Accepted’,
- ‘203’: ‘Non-Authoritative Information’,
- ‘204’: ‘No Content’,
- ‘205’: ‘Reset Content’,
- ‘206’: ‘Partial Content’,
- ‘207’: ‘Multi-Status’,
- ‘208’: ‘Already Reported’,
- ‘226’: ‘IM Used’,
- ‘300’: ‘Multiple Choices’,
- ‘301’: ‘Moved Permanently’,
- ‘302’: ‘Found’,
- ‘303’: ‘See Other’,
- ‘304’: ‘Not Modified’,
- ‘305’: ‘Use Proxy’,
- ‘307’: ‘Temporary Redirect’,
- ‘308’: ‘Permanent Redirect’,
- ‘400’: ‘Bad Request’,
- ‘401’: ‘Unauthorized’,
- ‘402’: ‘Payment Required’,
- ‘403’: ‘Forbidden’,
- ‘404’: ‘Not Found’,
- ‘405’: ‘Method Not Allowed’,
- ‘406’: ‘Not Acceptable’,
- ‘407’: ‘Proxy Authentication Required’,
- ‘408’: ‘Request Timeout’,
- ‘409’: ‘Conflict’,
- ‘410’: ‘Gone’,
- ‘411’: ‘Length Required’,
- ‘412’: ‘Precondition Failed’,
- ‘413’: ‘Payload Too Large’,
- ‘414’: ‘URI Too Long’,
- ‘415’: ‘Unsupported Media Type’,
- ‘416’: ‘Range Not Satisfiable’,
- ‘417’: ‘Expectation Failed’,
- ‘418’: “I’m a Teapot”,
- ‘421’: ‘Misdirected Request’,
- ‘422’: ‘Unprocessable Entity’,
- ‘423’: ‘Locked’,
- ‘424’: ‘Failed Dependency’,
- ‘425’: ‘Too Early’,
- ‘426’: ‘Upgrade Required’,
- ‘428’: ‘Precondition Required’,
- ‘429’: ‘Too Many Requests’,
- ‘431’: ‘Request Header Fields Too Large’,
- ‘451’: ‘Unavailable For Legal Reasons’,
- ‘500’: ‘Internal Server Error’,
- ‘501’: ‘Not Implemented’,
- ‘502’: ‘Bad Gateway’,
- ‘503’: ‘Service Unavailable’,
- ‘504’: ‘Gateway Timeout’,
- ‘505’: ‘HTTP Version Not Supported’,
- ‘506’: ‘Variant Also Negotiates’,
- ‘507’: ‘Insufficient Storage’,
- ‘508’: ‘Loop Detected’,
- ‘509’: ‘Bandwidth Limit Exceeded’,
- ‘510’: ‘Not Extended’,
- ‘511’: ‘Network Authentication Required’
Share this:
- Click to share on Facebook (Opens in new window)
- Click to share on Twitter (Opens in new window)
- Click to email a link to a friend (Opens in new window)
- Click to share on LinkedIn (Opens in new window)
- Click to print (Opens in new window)
- Click to share on Reddit (Opens in new window)
- Click to share on Tumblr (Opens in new window)
- Click to share on Pinterest (Opens in new window)
Posted in AngularJS, Drupal, How-to Guides, JavaScript, Mobile, Technology, Web Development
Tags: ACL, BIND, CHECKOUT, codes, CONNECT, COPY, DELETE, GET, HEAD, https, https methods, https status codes, LINK, LOCK, M-SEARCH, MERGE, methods, MKACTIVITY, MKCALENDAR, MKCOL, MOVE, NOTIFY, OPTIONS, PATCH, POST, PRI, PROPFIND, PROPPATCH, PURGE, PUT, REBIND, REPORT, SEARCH, SOURCE, status, status codes, SUBSCRIBE, TRACE, UNBIND, UNLINK, UNLOCK, UNSUBSCRIBE
Installing Android on the Geeksphone Keon
Posted by Sayak Sarkar
Here’s a clean, clear and to the point english post on how to install Android on your Geeksphone Keon developer device:-
STEPS:-
- If you don’t already have adb and fastboot installed on your system:-
- Get the packages from here.
- Extract the contents of the zip file and navigate to the adbfastbootmac directory [Note: This package works on macs, if you are using Linux or any other operating system, a simple online search should help you figure out how to get adb and fastboot]
- On your Keon go to ‘Settings’ -> ‘Device Information’ -> ‘More Information’ -> ‘Developer’. From the list of checkboxes, enable the ‘Remote debugging’ checkbox.
- Connect your device to your computer using the USB cable.
- Back on your computer’s terminal do the following:-
- If you are using the package mentioned above, run ‘./adb devices’
- You should see a device named ‘full_keon’ as a part of the output. If you don’t see it listed out there, try reconnecting your device or check whether the Remote Debugging option is enabled.
- Now let’s get down to the magic:-
- Download and store the following zip packages to you device’s SD-Card:-
- Start the Keon in the fastboot mode :
# ./adb reboot-bootloader - Install the new recovery :
# ./fastboot flash recovery TWRP-GK.img - Boot the recovery :
#./fastboot boot TWRP-GK.img - On the device’s screen now tap on ‘Backup’ to create a backup of Firefox OS.
- Once done, tap on ‘Wipe’ → ‘Swipe to Factory Reset’.
- ‘Install’ (select the ROM) → ‘Add More Zips’ (select the Google Apps and Additional Ringtones zip files) → ‘Swipe to Confirm Flash’.
- ‘Wipe Dalvik and Cache’.
- Tap on ‘Reboot System’.
- Voila! You’ve now successfully installed Android on your Geeksphone Keon device.
NOTES:-
- Make sure that the device has at least 50% battery power before commencing with the process.
- Since the Keon has only one soft touch button on it, it is mapped to the back functionality. If you want to use all three default Android soft-buttons, the easiest way to do that would be to install the “SoftKey Enabler” app from the Android Play Store.
SWITCHING BACK TO FIREFOX OS
If you now want to switch back to Firefox OS, all you need to do now is as follows:-
- Turn off your device.
- Press the power and the volume up buttons of the Keon at the same time to boot into the Team Win Recovery image.
- Tap ‘Restore’ and select the backup file created earlier during the Android setup, and confirm.
- Once the process completes, you should be able to use Firefox OS again! 🙂
DISCLAIMER: Please note that the steps I’ve mentioned here are what I followed to try out Android on a couple of my Keons. These steps involve flashing the device, hence involve a very real risk of ending up with a bricked [dead] phone. As such, go about the process at your own risk. I’m in no way liable for any unforeseen results coming out of this process.
References:
- http://sys.nodo21.org/geeksphone-keon-rom
- http://forum.geeksphone.com/index.php?topic=5672.msg60983#msg60983
73.948500
Share this:
- Click to share on Facebook (Opens in new window)
- Click to share on Twitter (Opens in new window)
- Click to email a link to a friend (Opens in new window)
- Click to share on LinkedIn (Opens in new window)
- Click to print (Opens in new window)
- Click to share on Reddit (Opens in new window)
- Click to share on Tumblr (Opens in new window)
- Click to share on Pinterest (Opens in new window)
Posted in Android, Firefox OS, How-to Guides, Mobile, Mozilla, Technology
Tags: adb, Android, android installation, devices, dual boot, fastboot, firefox, firefox os backup, flash, flashing devices, flashing firefox os, flashing keon, flashing mobile phones, geeksphone, google, ice cream sandwich, ics, installation, installing android, Keon, Mobile device, mobile devices, mozilla, Operating system, os, ROM, twrp