44
Guide Basic Modding Guidelines and Glossary

  1. gusuraman
    Community Veteran Aug 15, 2014

    gusuraman , Aug 15, 2014 :
    I very often see people confusing about unlocking, rooting and modding stuff.
    So i decided to write this simple guide in the hope to clarify basic conceptis regarding modding topic.

    Reference links in second post
    Glossary in the third post


    The following operations will NOT void the OnePlus warranty:

    Installing custom ROMs (updated 15/08/14)
    Many times i read "I don't need root because i'm not going to flash custom roms".
    To install a custom ROM is not needed to have rooted phone. Simply because root is something inside the operating system that will be replaced with the new one (the custom ROM).

    The only thing that must be done in order to be able to install a custom ROM, is to unlock the bootloader (for security reasons unlocking the bootloader will wipe all user data).
    Once the bootloader is unlocked it will allow to install unofficial software.
    The installation can be done via fastboot or, if you are not familiar with its commands, using a custom recovery (that must be installed via fastboot anyway).​

    Rooting (updated 15/08/14)
    First of all i would like to point out that rooting will not affect in any way the system stability.
    Roting just open all the doors, so make Android more vulnerable to user mistakes and possible mess up but it will do nothing directly.
    Rooting pros:
    • Full backup ability
    • Freez or uninstall unwanted system apps
    • Run special tools like starup managers and tethering apps
    • Overclock your phone
    • ...
    Rooting cons:
    • Make Android vulnerable
    • Some app will not work on rooted devices
    • ...
    To gain root privileges is enough to install an utility (superuser or superSU) via custom recovery.
    If you installed a custom ROM you will be already rooted.
    Intalling custom kernels (updated 15/08/14)
    The procedure is exactly the same a s to install custom ROM. The only difference is that it will not wipe data.
    A custom kernel can affect the user experience in many ways such as battery life, screen colors calibration, CPU performance, ...
    Before to install a custom kernel i suggest to read as much user review as possible.
    A bad kernel can heavly impact on phone performance and usability.
    BackUp and Restore (updated 18/08/14)
    There are many ways to backup your phone. The app/method used edpemd if the phone is rooted or not and if a costom recovery is installed:
    • adb backup using command line or tools (better if rooted)
    • nandroid backup using custom recovery
    • backup with app, my favorite is Titanium Backup(root NEEDED)
    Usually the system you used to backup give you also the ability to restore.
    Usefull keys for the OPO
    Boot in fastboot mode: Power + Volume Up (hold simultaneously)
    Boot in recovery: Power + Volume Down (hold simultaneously)
    Force phone reboot: Push and hold the Power button for about 10 seconds​
     
    Last edited: Nov 26, 2014

    #1
    aleep, PVS Kharoud, camohan and 41 others like this.
  2. gusuraman
    Community Veteran Aug 15, 2014

    gusuraman , Aug 15, 2014 :
    Links
     
    Last edited: Jul 5, 2015

    #2
  3. gusuraman
    Community Veteran Aug 15, 2014

    gusuraman , Aug 15, 2014 :
    Glossary
    adb
    Android Debug Bridge (adb) is a command-line debugging application included with the Android SDK usefull to debug, read/copy files from/to Android.​
    Bootloader
    The bootloader is the first software that run in the phone. It is responsable to load Android.​
    fastboot
    The fastboot is a tool included with the Android SDK and allow to manage partitions and perform installations.
    To work with fasboot it's needed a PC (or Mac) to run the fastboot tool and the device (in fastboot mode) for obvious reasons;)
    fastboot is an alternative to the recovery​
    Kernel
    The kernel is a software that allow the operating system to communicate with hardware.​
    OTA
    Over The Air (OTA) is a way to deliver wireless software updates and patches​
    Recovery
    the recovery is a very simple operating system resident in a dedicated partition (isolated from Android) that allow to perform basic tasks such as backup and restore, ROM and apps installations, wipe data and updates.
    Usually the stock recovery has limited features, but custom recovery has a variety of functions.​
    ROM
    A ROM is basically the operating system firmware (customized or not)​
    root
    "root" is the name of the user with highest privileges in the Android OS (simila to administrator in Windows).​
    Rooting
    rooting is a process to gain the acces to the system as the "root" user so to have full control.​
    Sideload
    Sideloading means installing applications (APK files) without using Google Play.
    Sideload can also be done using adb, fastboot or recovery (for example when you install .ZIP files).​
     
    Last edited: Aug 17, 2014

    #3
  4. APatte111
    Ice Cream Sandwich Aug 15, 2014


    #4
    gusuraman likes this.
  5. Deactivated User
    Aug 15, 2014


    #5
    jj_3j likes this.
  6. FeelsGoodMan
    Froyo Aug 15, 2014

    FeelsGoodMan , Aug 15, 2014 :
    How about making some introduction to 'modding' as software modifying.
    Because I was expecting something different in this thread after reading the title.
     

    #6
  7. gusuraman
    Community Veteran Aug 15, 2014

    gusuraman , Aug 15, 2014 :
    That's the goal:)
    Thanks:)
     

    #7
    JTace likes this.
  8. gusuraman
    Community Veteran Aug 15, 2014

    gusuraman , Aug 15, 2014 :
    You expected hardware modifyng?
    If "modding" is misleading i would be happy to cahnge in something else.
    But unfortunatelly i cannot change the title.
    Which word should i use?
     

    #8
    JTace likes this.
  9. gusuraman
    Community Veteran Aug 15, 2014

    Last edited: Aug 16, 2014

    #9
    JTace likes this.
  10. gusuraman
    Community Veteran Aug 16, 2014

    Last edited: Aug 16, 2014

    #10
    JTace and rahul1011 like this.
  11. pa5t1s
    User of the Year 2014 Aug 17, 2014


    #11
    gusuraman likes this.
  12. Zaski
    Gingerbread Aug 17, 2014


    #12
    JTace, aerocat and gusuraman like this.
  13. dannysav
    Froyo Aug 17, 2014


    #13
    gusuraman likes this.
  14. rahul1011
    Gingerbread Aug 17, 2014

    rahul1011 , Aug 17, 2014 :
    Would installing a custom ROM void the warranty??
     

    #14
  15. Zaski
    Gingerbread Aug 17, 2014

    Zaski , Aug 17, 2014 :
    Depends on the laws of your country.

    In EU, the short answer is no.
    The long answer is: a not-so-old EU order stated that warranties must cover the phone itself (components, etc), independently of the software it is running.
     

    #15
    rahul1011 likes this.
  16. rahul1011
    Gingerbread Aug 17, 2014

    rahul1011 , Aug 17, 2014 :
    Thanks!! :)
    So, all that is actually being done here is that we install a custom ROM (a separate OS) on my mobile, similar to what I do on my laptop when I install Linux?
     

    #16
  17. Zaski
    Gingerbread Aug 17, 2014

    Zaski , Aug 17, 2014 :
    I'd make the comparation ROMs = different Linux distros (Debian, Ubuntu...)

    But basically, yeah ^^
     

    #17
    G-Man, gusuraman and rahul1011 like this.
  18. gusuraman
    Community Veteran Aug 17, 2014

    gusuraman , Aug 17, 2014 :
    Will not void the warranty
     

    #18
    JTace and rahul1011 like this.
  19. rahul1011
    Gingerbread Aug 17, 2014


    #19
    gusuraman likes this.
  20. gusuraman
    Community Veteran Aug 17, 2014


    #20
    JTace likes this.