Android Internals::A Confectioner's Cookbook


It's alive, it's well, it's back from suspended animation (due to MOXiI Volume I), and it's coming out exactly three years after Volume I - i.e. January 20th, 2018. It will totally be worth the wait. But at this point, I'm not really sure I want it out in PDF form..

03/10/2017: Important announcement:

As some of you know, The WikiLeaks dump of "Vault7" contained, among other things, a 2015 copy of my "Android Internals" book, since Technologeeks provided training for them. Though by now a bit outdated, it's still a high quality, color PDF updated for Marshmallow PR1, and is about 85% the same as the existing book I provide, which is updated to Nougat 7.1 - Android changes rapidly, but the core isn't radically different.

Apparently, WikiLeaks can exercise discretion in not leaking binaries (which is what was actually worth something in that otherwise disappointing dump), but cannot do so with copyrighted material. Although a certain CIA agent was clearly in violation of my book terms of use by posting it on their Intranet, I can't sue anyone there. Nor can I sue WikiLeaks for their blatant disregard of law (save that of their puppetmasters), or copyright infringement. So I've decided to make that PDF copy absolutely free, and rather than getting it off a dump (which I would strongly caution, considering PDF 0-days aren't hard to find..), you can get it right here. For the impatient, that's:

Right here

I will still sell the updated book, though I'm slashing the price to $15. So if you want to get the updated version (or just show support), you can still buy it as before , by Paypal to confectioners at this website - but at half price. If you get the hardcover book on Amazon you will also see I discounted the price to $50 (print costs and Amazon fees are exorbitant).

NO, I cannot retroactively refund everyone who bought the book, but I do thank you for respecting the insane amount of work I put into it, and not releasing the PDF publicly. I will still maintain updates for whatever Google concocts with Android O, and naturally all my tools will remain free.

I hope you enjoy the book, and encourage you to look at the Technologeeks Training we offer on it. And thank you all for your interest!

"Android Internals: A Confectioner's Cookbook" is a new book by Jonathan Levin, author of "Mac OS X and iOS Internals: To The Apple's Core". It is the first book to deal exclusively with the internals of the world's most popular mobile operating system. Like the OSX/iOS book, it provides an unprecedented level of detail on previously undocumented subjects, illuminating the darkest corners of the Android frameworks, native libraries and kernel.

If you are a power user, developer, kernel hacker or Android implementor - this is the book for you. An odyssey in three volumes, each focuses on a different perspective of the system. The architecture is explained through the use of detailed diagrams, examples and interactive experiments. Input, Audio and Video architectures are covered in dedicated chapters, as well as security. The necessary Linux foundations, especially in kernel mode, are also detailed.

This site is its companion web site, providing additional resources, downloads and updates.

View the Frequently Asked Questions
2014/5/15 - An article detailing the HTC One M8 WeakSauce Exploit
2014/5/15 - Chapter 21 - Security - Free download L update included in book!
2014/6/28 - Dexter - DEX/OAT dumping tool for chapter 10 - Free download
2014/8/3 - Chapter 3 (Boot) Extra: Reversing Android's Aboot
2014/8/15 - Chapter 4 Excerpt - healthd and lmkd
2014/9/12 - Chapter 2 Excerpt - /data, detailed (including forensics)
2014/10/03 - Android Power Management, detailed

2014/11/19 - Andevcon talk - Security
2015/01/01 - Android application backup & Recovery
... - Notes from a Nexus 9 (Boot loader, etc)
2015/07/29 - Bin Dump (view Android IPC enpoints via /sys/kernel/debug)
2015/07/31 - Android Input Architecture (AnDevCon Presentation, from Volume II)
2015/12/01 - ART/Dalvik talk from Andevcon Santa Clara 2015
2015/12/01 - DexTRA
2015/12/02 - In A Bind - Binder/IPC Internals - the painful detail (excerpt from Volume II, Chapter 11)
2016/04/01 - JTrace - Augmented, Android Aware, Modular strace(1) utility
2016/04/04 - ImgTool - A tool for unpacking/creating Android boot partition images

Requests? Comments? Send J an email, to info@this domain