Advertisement
paranoidsbible

The Testament of the Android

Jan 20th, 2017
742
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.79 KB | None | 1 0
  1. The Testament of the Android
  2.  
  3. Non-profit and free for redistribution
  4. Written on November 11 | 2014
  5. Published on October 27th | 2015
  6.  
  7. For entertainment and research purposes only
  8.  
  9. ==================================
  10.  
  11. DISCLAIMER:
  12. The Paranoid's Bible and its writers hold
  13. no responsibility for the acts of others.
  14.  
  15. The Paranoid’s Bible is for research and
  16. entertainment purposes only.
  17.  
  18. Please visit our blog for more PDFs and information: https://www.paranoidsbible.tumblr.com/
  19.  
  20. ==================================
  21.  
  22. Contents
  23. Preface 4
  24. What is Rooting? 5
  25. Benefits and drawbacks of root 6
  26. Common custom versions of Android 7
  27. Basic apps Google doesn’t want you to know about 9
  28. XPosed Installer 11
  29. XPrivacy 12
  30. Rooting 101 13
  31. Installing your custom ROM 14
  32. Afterword 15
  33.  
  34. ==================================
  35.  
  36. Preface
  37.  
  38. Hello guys.
  39.  
  40. I was asked by the Paranoid’s Bible team to make a short segment about Android rooting and security to complement the main book as the team is too paranoid to move on from their Nokia 3310.
  41.  
  42. Well, here it is.
  43. In this guide, I will talk about some easy methods to root your phone, why you need to do it this very moment without excuse, mention some ROM’s for you to load onto your phone and finally, some apps to protect the little privacy you have left in your life. At least for a week until the NSA decides to reveal that all phones since 2001 has had several hardware-level backdoors installed.
  44.  
  45. ==================================
  46.  
  47. What is Rooting?
  48.  
  49. Rooting is the process of gaining “root”-level access on your Android device. For some reason, Google thought it was a brilliant idea to lock away the Android version of an Administrator account for “your own safety and ease of use”. Basically, your phone is gimped on purchase. While most people won’t even notice it, the admin account is out of your grasp. Imagine if that was true for your PC. Something’s wrong, and it’s easy to fix, but you can’t run CMD.exe as admin to fix the issue with three lines of commands. You want to install this piece of software, but you need admin rights to do it so you can’t use it. That’s the default setting on Android.
  50. As you can see, it’s basically a middle finger to consumers and developers alike, and many phone producers (like HTC and Samsung) are aware of the potential drawbacks of this and therefore have made it much easier for the average user to unlock this power of system administration.
  51. Also, with root, you can get rid of /ALL/ apps installed on your phone, so if you have a Samsung (or any American carrier phone with bloat installed), you will feel blessed by the seven gods of fate over the ability to remove said cancerous bloat that does nothing but take up space.
  52.  
  53. ==================================
  54.  
  55. Benefits and drawbacks of root
  56.  
  57. As I touched on briefly before, Root has some amazing benefits. I’ll make a short list of it now, followed by a list of cons to make it easy to decide if rooting is for you.
  58.  
  59. Pros:
  60. • System-level control
  61. • Uninstall carrier apps
  62. • Custom OS install
  63. • Hardware-level tweaks (CPU speed, battery life, better screen controls, multi-touch boost)
  64. • Install ALL apps on your device
  65. • Custom functions and button mappings
  66. • AdBlock
  67. • System images for 100% reliable backup
  68. • Super secret privacy stuff on your device
  69. • xPosed network
  70.  
  71.  
  72. Cons:
  73. • Risk of soft-bricking your device
  74. • You may void your warranty
  75. • All updates of your Android version must be done by hand
  76. • Minor compatibility issues
  77. • You won’t ever be able to live with stock android again
  78.  
  79. ==================================
  80.  
  81. Common custom versions of Android
  82.  
  83. Even if you aren’t into rooting, you should already know about CyanogenMod. It’s probably the most expansive, compatible and well-marketed version of Android out there and it has been customized to run on a frankly insane amount of devices. But for now, let’s do a run-down on the most popular ROM’s and some a little more obscure and device-specific for your pleasure.
  84.  
  85.  
  86. ==Cyanogenmod - https://www.cyanogenmod.org/ ==
  87. As mentioned just before, Cyanogenmod is probably the way to go for a beginner root user. It’s so simple that my mom actually uses it and likes it. That should tell you pretty much everything you need to know. If a 51-year-old woman finds joy in using this ROM, even the most tech-ignorant should be able to not mess it up.
  88. I would recommend this for every beginner because it’s as close to stock android as you can come, but with a hefty amount of added features like security reinforcement and theme support.
  89. The best thing about Cyanogenmod is that it comes with its own easy installer. Just hit up their site and follow their “how to install” guide and you are up and running in less than 15 minutes.
  90.  
  91.  
  92. ==Carbon - https://carbonrom.org/==
  93. Like CyanogenMod, this ROM is remarkably close to stock, but it has some nice goodies out of the bag as well. First off, it has a sleek, beautiful design, powerful optimization and is designed with a great user Experience in mind. The rom also has a nice toolbox for Carbon-exclusive features for you to tinker with.
  94.  
  95.  
  96. ==SlimRom - https://www.slimroms.net/ ==
  97. SlimRom is another one of the UX-based roms that look, feel and work wonderfully. This rom is pretty unique and has a nice slew of features that makes the phone adapt to you, from theme inversions, left-handed mode, privacy guards and a lot more listed on their website. Do check this out of you feel like having some bling to your functionality. A fair warning: The ROM isn’t s light-weight as the previous mentions, so keep in mind that it probably won’t run well on a mid-low tier phone.
  98.  
  99.  
  100. ==AOKP - https://aokp.co/ ==
  101. “Infused with Magical Unicorn Power” indeed. They don’t lie with that tag line. This is probably the most impressive ROM out there and needs no introduction to the people in the scene. You simply won’t find any ROM with more functions out of the box. An honestly baffling amount of hardware-level tweaks, software customizations and said Unicorn magic will make you love this ROM. Note that this will work on mid-high level phones and above.
  102. The drawback to this one is its honestly overwhelming feature set. So, if you want this to be your daily driver, please take your time to figure out how it works.
  103.  
  104.  
  105. ==Paranoid Android - https://paranoidandroid.co/ ==
  106. Paranoid Android… Just the name makes it fit right into here. A bunch of security, a touch of amazing material design and always up-to-date, this is probably the rom for you if you like a great experience without all the hassle of tinkering with it yourself.
  107.  
  108.  
  109. ==Android Revolution HD - https://android-revolution-hd.blogspot.com/ ==
  110. This ROM is for select HTC and Samsung devices only. Wait, why do you list it here then, Pleb, I hear the strawman in my head talk. Well, if you have ever used HTC’s version of Android they named “Sense”, you would know. The Sense overlay and features are simply some of the best. I am not even kidding here. I avoided to root my old HTC legend just because I couldn’t get a keyboard that was half as good as the one the phone came with. And all of the nice features. And the amazing UI…. Anyone that has ever used Sense wouldn’t be able to go back. And now, some wizard made a custom rom based on Android 4.4.2 and Sense 6 for you to install on your phone. So people with and HTC One M7 can still benefit from the new version of Sense that HTC doesn’t officially support for the device. Simply Magical.
  111.  
  112. Please note: There are a lot of custom ROM’s out there I didn’t mention here. Just do a quick Google search if you feel like the short list I provided wasn’t enough for you.
  113.  
  114. ==================================
  115.  
  116. Basic apps Google doesn’t want you to know about
  117.  
  118. Okay. This is where the magic happens. Did you know that Google doesn’t allow a lot of really, really useful stuff onto its main marketplace, the Google Play Store? No? Well, sit down and listen, because you are going to have your mind blown.
  119.  
  120. Here’s a list of my most commonly used grey market apps for you to install:
  121.  
  122. AdAway
  123. As the name suggests, this App is an ad blocker. But not just for your browser, but your entire fucking phone. Ever get tired of ads in your free games? Let’s take Cut the Rope as an example. One minute of game, three minutes of adverts. Well, that’s all in the past now, as AdAway blocks most ad networks via the hosts file on your device (See, I told you that rooting is useful).
  124.  
  125. AdBlock Edge
  126. Well, let’s be honest. AdAway doesn’t catch everything, and neither does AdBlock. But together, the two cover for each other, and since I have had both of these puppies installed on my phone, I haven’t seen a single ad anywhere. Not in the browser, not in my notification feed, not anywhere. Just do yourself a favor and do this. As an added benefit, you’ll save bandwidth on your phone.
  127.  
  128. Any Play Store replacement
  129. Yeah. For one reason or another, Google isn’t keen on letting you know that there are other ways for you to install apps on your device if you don’t like the hive-mind all that much. And the best thing? It’s pretty easy too! Here’s a short list of app stores you should take a gander at as an alternative:
  130.  
  131. F-Droid:
  132. A basic, but developer-driven play store alternative that has some experimental apps that for one reason or another didn’t get onto Google Play. Do check it out.
  133.  
  134. Amazon App Store:
  135. Yep, Amazon has its own app store, complete with both paid and free apps and games.
  136.  
  137. SlideMe:
  138. A nice, community driven app store based on exploration
  139.  
  140. AppsLib:
  141. A play store alternative mostly based for Tablet apps that couldn’t pass Google certification. Hidden gems galore.
  142.  
  143. BlackMart:
  144. YO HO HIBBITY HE BEING A PIRATE IS ALL THERE TO BE DO WHAT YOU WANT CUZ A PIRATE IS FREE YOU ARE A PIRATE!! This one offers you paid apps for free. Yep. No strings attached. Personally, I would prefer you guys to pay for your apps as the $1 they cost isn’t really a major setback. But if you want to run a 100% info-free device, you have no other option.
  145.  
  146. MarketEnabler:
  147. Not as much a replacement as it is a way to get out of region-locked downloads.
  148.  
  149. BootManager
  150. This app is another one that requires Root to run. What does it do? It completely kills the auto-start triggers some apps have. You know how Skype is impossible to actually close because it always re-opens on pretty much every occasion it can? Well, nevermore to that.
  151.  
  152. AppOps starter
  153. AppOps is a developer tool in Android that Google leaked by accident and has covered up since the leak. What does it do? It pretty much disables individual permissions every app you have installed has, iOS style. Because they “patched it out”, you need this to actually open the menu. But now, Angry Birds will never have to know where you sit on the toilet playing it, I guess.
  154.  
  155. GravityBox
  156. Remember the hardware-level tweaks and OS tweaks I talked about on the custom ROM section? With this app, you can get that on stock, or hell, any ROM there is.
  157. No-frills CPU control
  158.  
  159. Well, it’s exactly as it says on the tin. Control your CPU speed without any hassle.
  160.  
  161. Titanium Backup
  162. Best backup tool there is. Just do yourself a favor and get this.
  163.  
  164. UnbelovedHosts
  165. Removes ads, access to malware domains and other host-file tweaks you will love.
  166. Of course, there are many more, but I want to keep this short and sweet for the newbs. Remember, search engines are your friends if you want to have more stuff.
  167.  
  168. ==================================
  169.  
  170. XPosed Installer
  171.  
  172. Oh boy. This one is pretty grand. It’s the single-most amazing benefit of root. The story behind this is that a guy wizard on the XDA forums found a way to make ROM-level changes on your phone without having to boot into recovery and manually patch your ROM. Yeah. Because of this, xPosed installer is the single-most useful tool for device customization and hardware-level tweaks. It’s basically a toolset for toolsets.
  173.  
  174. Basically, this is a framework to install tweaks on your phone. Just as easy to use as any app store, but with 100% useful things. XPosed installer is also needed to install XPrivacy (duh), so you better just grab this from the get-go.
  175.  
  176. All you do to install a module is pick it, download it and reboot your phone. Bam. If tweaking an OS could get any easier than this we would all be exalted into godhood.
  177.  
  178. ==================================
  179.  
  180. XPrivacy
  181.  
  182. Well. In the chapters passed, we have touched briefly upon security. Now comes the mother of all privacy apps on the system.
  183.  
  184. XPrivacy is a toolbox, not unlike the ones you can find on XPosed, but this one focuses on, well, you guessed it: Privacy!
  185.  
  186. Okay, right away, I want you to just go buy the pro version. The guy who made this has sunk half his personal time into making this, and the paid version basically runs itself, so just do it. It’s worth the money you cheap bastard.
  187.  
  188. Well, what can you do with this awesome piece of software?
  189.  
  190. Restrict App permissions, restrict hidden permissions, show how much data each application uses, sends and downloads behind your back, makes a debug log for you, forces secure connections when it can, flushes your cache for identifying data, FRAKKING FAKES YOUR DEVIDE ID, NUMBER, SERIAL, HARDWARE, SCREEN RESOLUTION, GPS COORDINATES, MAC ADDRESS, IMEI NUMBER, ANDROID ID, GSF ID, ADVERTISING ID, COUNTRY, OPERATOR, GSM CELL ID, SSID AND USER AGENT. AND IT RANDOMIZES IT ON REBOOT TOO! THIS PIECE OF SOFTWARE BASICALLY SINGLE-HANDEDLY CLOAKS YOU AND YOUR PRIVACY IN A NUKEABLE WAY
  191.  
  192. Another added benefit of having the paid version is the community filters. We are all too lazy to manually poke around with permissions on the 100+ apps that are on our phones, so with a simple click of a button, you can cut the balls off of all of your apps at once. No hassle, no sweat, no nothing.
  193.  
  194. Just get this. You have no excuse not to. The software basically runs itself after you set it up (pretty simple to do, too).
  195.  
  196. ==================================
  197.  
  198. Rooting 101
  199.  
  200. Okay, now, after you have digested all of the nice options that are open to you, you want to root your phone. “But Pleb!! How do I do that??” You ask? Well, it’s actually pretty simple nowadays. Back when I rooted my first device (A HTC Legend, notorious for its Fascist-tier boot loading protection), I had to work around with custom SD cards, command line hacks and shady software. But nowadays, you can pretty much hook your phone to your computer, press a couple of buttons and bam. Done.
  201.  
  202. Here are some ways to easily root your phone:
  203. CyanogenMod Installer: https://www.cyanogenmod.org
  204.  
  205. This one is probably the simplest. Go to CyanogenMods homepage, download the tool and follow instructions. Within ten minutes, you should have a nicely rooted phone. Since this is literally the easiest thing in the world to do, I won’t describe how it’s done. It’s literally a 1-2-3-4-done thing.
  206.  
  207. Kingo Root: https://www.kingoapp.com/
  208. This is the second easiest option you have. It’s another plug-and-play with simple directions that are impossible to mess up. Just follow the steps and you are done. This doesn’t have a 100% success rate, but if it fails, nothing happens. So you won’t mess up your phone this way. If you have a HTC or a Samsung phone, this is the tool to use as it also bypasses the protection these phones might have installed.
  209.  
  210. FramaRoot: https://forum.xda-developers.com/apps/framaroot/root-framaroot-one-click-apk-to-root-t2130276
  211. Okay. I lied. This is probably the easiest way to root since it doesn’t even need a computer to do so. Just download the .APK, run it and bam. Rooted. This app runs a couple of exploits to force Super User and Root access on your device, and because of that, it can pretty much tell you if you are wasting your time right away. Just look up the thread on the XDA forum I linked to read about how to use this app.
  212.  
  213. Finally, if you are unsure about how this works in practice, you can just search “Android Root tutorial” on YouTube and see it in action. It’s literally never been easier to root your phone than it is nowadays.
  214.  
  215. As an extra bonus, you can look up showcases of Android roms on there too, in case you want to see them in action before committing.
  216.  
  217. Speaking about….
  218.  
  219. ==================================
  220.  
  221. Installing your custom ROM
  222.  
  223. This is a little fiddlier than just rooting your current ROM, but it’s still a fairly easy thing to do.
  224. Here’s a short tutorial on how to do it in end-2014. This might be updated once a better way is developed, but you can just Google it if you feel like not bothering me.
  225.  
  226. WHAT YOU NEED:
  227. • A rooted phone
  228. • A computer
  229. • A Mini-USB cable
  230. • Internet connection
  231. After you have downloaded your ROM of choice, you need to also download the Google APK files in case you want to have Google maps, play store and all the other things. Different tiers of the APK files can be found here: https://www.sharedapk.com/google-play-services-3-0-25/
  232. Turn your phone off and boot it into recovery mode. This differs from device to device, so a quick search for “recovery mode [device name]” should do.
  233. Now, open this link: https://www.youtube.com/watch?v=fHULkfePcTg and follow the instructions to install TWRP Recovery and follow the steps to install the custom ROM. The good thing about TWRP is that it has a touch screen interface that makes recovery much easier than with stock.
  234. Bam!
  235.  
  236. Now you are done.
  237.  
  238. Easy, wasn’t it?
  239.  
  240. ==================================
  241.  
  242. Afterword
  243.  
  244. So, this 101 EZ-guide is now over. Personally, I find it important to share this, even if it’s just adding to the redundancy of the resources online. Well, I hope that you have found this a little helpful, and if you want me to edit something in here, add more stuff or maybe fix a mistake, please send message to paranoidsbible.tumblr.com
  245.  
  246. Anyhow, have a good one and enjoy your freshly-rooted phone!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement