SlideShare a Scribd company logo
Building AOSP for NexusBuilding AOSP for Nexus
77
Nanik TolaramNanik Tolaram
@nanikjava@nanikjava
Thank You !Thank You !
WARNING !WARNING !
 Voiding warrantyVoiding warranty
 Bricked deviceBricked device
 No support (DIY support)No support (DIY support)
Who Am I ?Who Am I ?
 Enterprise Java DeveloperEnterprise Java Developer
 Android Framework & Kernel tinkererAndroid Framework & Kernel tinkerer
 Creating electronics gadgetsCreating electronics gadgets
 ozandroid.info & kernel.ozandroid.infoozandroid.info & kernel.ozandroid.info
What you need ?What you need ?
 Android DeviceAndroid Device
 64-bit Linux based distro64-bit Linux based distro
 Fast Computer (16/32GB RAM, MultiFast Computer (16/32GB RAM, Multi
Core processor, Fast hard drive)Core processor, Fast hard drive)
 Patience !!!Patience !!!
Why Nexus 7 ?Why Nexus 7 ?
 Source code (kernel) & binaries availableSource code (kernel) & binaries available
 Code name – Grouper (WiFi) / NakashiCode name – Grouper (WiFi) / Nakashi
(3G)(3G)
 BIG community supportBIG community support
ArchitectureArchitecture
PartitionPartition
 Recovery – recovery.imgRecovery – recovery.img
 ““saviour” partitionsaviour” partition
 Boot – boot.imgBoot – boot.img
 Main partition for bottingMain partition for botting
 System – system.imgSystem – system.img
 Android framework & apps partitionAndroid framework & apps partition
 Data – data.imgData – data.img
 Application data storage partitionApplication data storage partition
BootingBooting
Bootloader Microcode
Boot Partition
System Partition
Recovery ?
Recovery Partition
N
Y
Building ProcessBuilding Process
1.1. Checkout AOSPCheckout AOSP
2.2. Checkout Linux KernelCheckout Linux Kernel
3.3. Download Device DriversDownload Device Drivers
4.4. Extract & Device DriversExtract & Device Drivers
5.5. Change ConfigurationChange Configuration
6.6. BuildBuild
Source CodeSource Code
http://elinux.org/Android_Source_Code_Description
Building – Code &Building – Code &
DriversDrivers
 Android Source CodeAndroid Source Code
 Checkout Code - source.android.com/source/downloading.htmlCheckout Code - source.android.com/source/downloading.html
 Branch – masterBranch – master
 Nexus 7 DriversNexus 7 Drivers
 developers.google.com/android/nexus/drivers/#grouperdevelopers.google.com/android/nexus/drivers/#grouper
 Extract and Copy to <aosp>/vendorExtract and Copy to <aosp>/vendor
Building –Building –
ConfigurationConfiguration
 Linux Kernel & ConfigurationLinux Kernel & Configuration
 Linux Code - android.googlesource.com/kernel/tegra/Linux Code - android.googlesource.com/kernel/tegra/
 Linux Config Info - source.android.com/source/building-kernels.htmlLinux Config Info - source.android.com/source/building-kernels.html
 tegra3_android_defconfig - config for Nexus 7tegra3_android_defconfig - config for Nexus 7
 Build ConfigurationBuild Configuration
 /build/core/tasks/kernel.mk (from Cyanogenmod)/build/core/tasks/kernel.mk (from Cyanogenmod)
 Linux Directory ConfigurationLinux Directory Configuration
 /device/asus/grouper/BoardConfigCommon.mk/device/asus/grouper/BoardConfigCommon.mk
 /device/asus/grouper/BoardConfig.mk/device/asus/grouper/BoardConfig.mk
DemoDemo
 Starting build processStarting build process
 /out folder/out folder
 Flashing (fastboot)Flashing (fastboot)

More Related Content

What's hot

Codecamp 2016: Lecture 1 – Homework
Codecamp 2016: Lecture 1 – HomeworkCodecamp 2016: Lecture 1 – Homework
Codecamp 2016: Lecture 1 – Homework
Jan Václavík
 
Road to Republic of IoT - ESP32 Programming and LoRa
Road to Republic of IoT - ESP32 Programming and LoRaRoad to Republic of IoT - ESP32 Programming and LoRa
Road to Republic of IoT - ESP32 Programming and LoRa
Andri Yadi
 
Innodisk at aditech customer meet 2015
Innodisk at aditech customer meet 2015Innodisk at aditech customer meet 2015
Innodisk at aditech customer meet 2015
Vilas Fulsundar
 
2015 12-09-Lass移植LinkIt 7688 Duo 初步規劃與研究-v1
2015 12-09-Lass移植LinkIt 7688 Duo 初步規劃與研究-v12015 12-09-Lass移植LinkIt 7688 Duo 初步規劃與研究-v1
2015 12-09-Lass移植LinkIt 7688 Duo 初步規劃與研究-v1
MAKERPRO.cc
 
Aditech Innodisk Embedded peripherals
Aditech Innodisk Embedded peripheralsAditech Innodisk Embedded peripherals
Aditech Innodisk Embedded peripherals
Vilas Fulsundar
 
школа Fab lab политех 23.06.2015 платформа intel для iot на примере intel ...
школа Fab lab политех 23.06.2015    платформа intel для iot на примере intel ...школа Fab lab политех 23.06.2015    платформа intel для iot на примере intel ...
школа Fab lab политех 23.06.2015 платформа intel для iot на примере intel ...
Sergei Silnov
 
ITGS - Banned words game - Computer Hardware
ITGS - Banned words game - Computer HardwareITGS - Banned words game - Computer Hardware
ITGS - Banned words game - Computer Hardware
itgstextbook
 
IoT mit Rust programmieren
IoT mit Rust programmierenIoT mit Rust programmieren
IoT mit Rust programmieren
Lars Gregori
 
Scalable AI Solution cross AI platforms
Scalable AI Solution cross AI platformsScalable AI Solution cross AI platforms
Scalable AI Solution cross AI platforms
KTN
 
Bus Pirate of The Caribbean
Bus Pirate of The CaribbeanBus Pirate of The Caribbean
Bus Pirate of The Caribbean
drubicza .
 
Intel Edison: Beyond the Breadboard
Intel Edison: Beyond the BreadboardIntel Edison: Beyond the Breadboard
Intel Edison: Beyond the Breadboard
yeokm1
 
Io t slides_iotvillage
Io t slides_iotvillageIo t slides_iotvillage
Io t slides_iotvillageagmoneyy
 
Speck & Tech: Attacking iOS (A brief overview)
Speck & Tech: Attacking iOS (A brief overview)Speck & Tech: Attacking iOS (A brief overview)
Speck & Tech: Attacking iOS (A brief overview)
Filippo Bigarella
 

What's hot (14)

Codecamp 2016: Lecture 1 – Homework
Codecamp 2016: Lecture 1 – HomeworkCodecamp 2016: Lecture 1 – Homework
Codecamp 2016: Lecture 1 – Homework
 
Road to Republic of IoT - ESP32 Programming and LoRa
Road to Republic of IoT - ESP32 Programming and LoRaRoad to Republic of IoT - ESP32 Programming and LoRa
Road to Republic of IoT - ESP32 Programming and LoRa
 
Innodisk at aditech customer meet 2015
Innodisk at aditech customer meet 2015Innodisk at aditech customer meet 2015
Innodisk at aditech customer meet 2015
 
2015 12-09-Lass移植LinkIt 7688 Duo 初步規劃與研究-v1
2015 12-09-Lass移植LinkIt 7688 Duo 初步規劃與研究-v12015 12-09-Lass移植LinkIt 7688 Duo 初步規劃與研究-v1
2015 12-09-Lass移植LinkIt 7688 Duo 初步規劃與研究-v1
 
Aditech Innodisk Embedded peripherals
Aditech Innodisk Embedded peripheralsAditech Innodisk Embedded peripherals
Aditech Innodisk Embedded peripherals
 
школа Fab lab политех 23.06.2015 платформа intel для iot на примере intel ...
школа Fab lab политех 23.06.2015    платформа intel для iot на примере intel ...школа Fab lab политех 23.06.2015    платформа intel для iot на примере intel ...
школа Fab lab политех 23.06.2015 платформа intel для iot на примере intel ...
 
ITGS - Banned words game - Computer Hardware
ITGS - Banned words game - Computer HardwareITGS - Banned words game - Computer Hardware
ITGS - Banned words game - Computer Hardware
 
IoT mit Rust programmieren
IoT mit Rust programmierenIoT mit Rust programmieren
IoT mit Rust programmieren
 
Scalable AI Solution cross AI platforms
Scalable AI Solution cross AI platformsScalable AI Solution cross AI platforms
Scalable AI Solution cross AI platforms
 
VMS Gear
VMS GearVMS Gear
VMS Gear
 
Bus Pirate of The Caribbean
Bus Pirate of The CaribbeanBus Pirate of The Caribbean
Bus Pirate of The Caribbean
 
Intel Edison: Beyond the Breadboard
Intel Edison: Beyond the BreadboardIntel Edison: Beyond the Breadboard
Intel Edison: Beyond the Breadboard
 
Io t slides_iotvillage
Io t slides_iotvillageIo t slides_iotvillage
Io t slides_iotvillage
 
Speck & Tech: Attacking iOS (A brief overview)
Speck & Tech: Attacking iOS (A brief overview)Speck & Tech: Attacking iOS (A brief overview)
Speck & Tech: Attacking iOS (A brief overview)
 

Similar to Learning AOSP - Building AOSP for Nexus 7

0xdroid -- community-developed Android distribution by 0xlab
0xdroid -- community-developed Android distribution by 0xlab0xdroid -- community-developed Android distribution by 0xlab
0xdroid -- community-developed Android distribution by 0xlabNational Cheng Kung University
 
Lecture02web 140phpapp01
Lecture02web 140phpapp01Lecture02web 140phpapp01
Lecture02web 140phpapp01
letuan9999
 
0xdroid osdc-2010-100426084937-phpapp02
0xdroid osdc-2010-100426084937-phpapp020xdroid osdc-2010-100426084937-phpapp02
0xdroid osdc-2010-100426084937-phpapp02
chon2010
 
Android Mobile forensics with custom recoveries
Android Mobile forensics with custom recoveriesAndroid Mobile forensics with custom recoveries
Android Mobile forensics with custom recoveries
Ibrahim Mosaad
 
Android OS Porting: Introduction
Android OS Porting: IntroductionAndroid OS Porting: Introduction
Android OS Porting: Introduction
Jollen Chen
 
Open-source Android 10 on Orange Pi: myth or reality?
Open-source Android 10 on Orange Pi: myth or reality?Open-source Android 10 on Orange Pi: myth or reality?
Open-source Android 10 on Orange Pi: myth or reality?
GlobalLogic Ukraine
 
Droidcon uk2012 androvm
Droidcon uk2012 androvmDroidcon uk2012 androvm
Droidcon uk2012 androvm
dfages
 
Introduction to Embedded Linux
Introduction to Embedded LinuxIntroduction to Embedded Linux
Introduction to Embedded Linux
Hossain Reja
 
Build and Run Android N Source Ccode on NXP SABRESD platform
Build and Run Android N Source Ccode on NXP SABRESD platformBuild and Run Android N Source Ccode on NXP SABRESD platform
Build and Run Android N Source Ccode on NXP SABRESD platform
Daniel Chiu
 
Hacking with ARM Mobile devices on Linux
Hacking with ARM Mobile devices on LinuxHacking with ARM Mobile devices on Linux
Hacking with ARM Mobile devices on Linux
Netwalker lab kapper
 
Android Embedded - Smart Hubs als Schaltzentrale des IoT
Android Embedded - Smart Hubs als Schaltzentrale des IoTAndroid Embedded - Smart Hubs als Schaltzentrale des IoT
Android Embedded - Smart Hubs als Schaltzentrale des IoT
inovex GmbH
 
Android porting for dummies @droidconin 2011
Android porting for dummies @droidconin 2011Android porting for dummies @droidconin 2011
Android porting for dummies @droidconin 2011
pundiramit
 
What & How to Customize Android?
What & How to Customize Android?What & How to Customize Android?
OWF12/PAUG Conf Days Alternative to google's android emulator, daniel fages, ...
OWF12/PAUG Conf Days Alternative to google's android emulator, daniel fages, ...OWF12/PAUG Conf Days Alternative to google's android emulator, daniel fages, ...
OWF12/PAUG Conf Days Alternative to google's android emulator, daniel fages, ...Paris Open Source Summit
 
Linxu conj2016 96boards
Linxu conj2016 96boardsLinxu conj2016 96boards
Linxu conj2016 96boards
LF Events
 
Open source Android 10 on Orange Pi: Meth or Reality?
Open source Android 10 on Orange Pi: Meth or Reality?Open source Android 10 on Orange Pi: Meth or Reality?
Open source Android 10 on Orange Pi: Meth or Reality?
GlobalLogic Ukraine
 
What should you know about Net Core?
What should you know about Net Core?What should you know about Net Core?
What should you know about Net Core?
Damir Dobric
 
An Introduction To Android
An Introduction To AndroidAn Introduction To Android
An Introduction To Android
natdefreitas
 
Play With Android
Play With AndroidPlay With Android
Play With AndroidChamp Yen
 

Similar to Learning AOSP - Building AOSP for Nexus 7 (20)

0xdroid -- community-developed Android distribution by 0xlab
0xdroid -- community-developed Android distribution by 0xlab0xdroid -- community-developed Android distribution by 0xlab
0xdroid -- community-developed Android distribution by 0xlab
 
Lecture02web 140phpapp01
Lecture02web 140phpapp01Lecture02web 140phpapp01
Lecture02web 140phpapp01
 
0xdroid osdc-2010-100426084937-phpapp02
0xdroid osdc-2010-100426084937-phpapp020xdroid osdc-2010-100426084937-phpapp02
0xdroid osdc-2010-100426084937-phpapp02
 
Android Mobile forensics with custom recoveries
Android Mobile forensics with custom recoveriesAndroid Mobile forensics with custom recoveries
Android Mobile forensics with custom recoveries
 
Android OS Porting: Introduction
Android OS Porting: IntroductionAndroid OS Porting: Introduction
Android OS Porting: Introduction
 
Open-source Android 10 on Orange Pi: myth or reality?
Open-source Android 10 on Orange Pi: myth or reality?Open-source Android 10 on Orange Pi: myth or reality?
Open-source Android 10 on Orange Pi: myth or reality?
 
Droidcon uk2012 androvm
Droidcon uk2012 androvmDroidcon uk2012 androvm
Droidcon uk2012 androvm
 
Introduction to Embedded Linux
Introduction to Embedded LinuxIntroduction to Embedded Linux
Introduction to Embedded Linux
 
Build and Run Android N Source Ccode on NXP SABRESD platform
Build and Run Android N Source Ccode on NXP SABRESD platformBuild and Run Android N Source Ccode on NXP SABRESD platform
Build and Run Android N Source Ccode on NXP SABRESD platform
 
Hacking with ARM Mobile devices on Linux
Hacking with ARM Mobile devices on LinuxHacking with ARM Mobile devices on Linux
Hacking with ARM Mobile devices on Linux
 
Android Embedded - Smart Hubs als Schaltzentrale des IoT
Android Embedded - Smart Hubs als Schaltzentrale des IoTAndroid Embedded - Smart Hubs als Schaltzentrale des IoT
Android Embedded - Smart Hubs als Schaltzentrale des IoT
 
Android porting for dummies @droidconin 2011
Android porting for dummies @droidconin 2011Android porting for dummies @droidconin 2011
Android porting for dummies @droidconin 2011
 
What & How to Customize Android?
What & How to Customize Android?What & How to Customize Android?
What & How to Customize Android?
 
OWF12/PAUG Conf Days Alternative to google's android emulator, daniel fages, ...
OWF12/PAUG Conf Days Alternative to google's android emulator, daniel fages, ...OWF12/PAUG Conf Days Alternative to google's android emulator, daniel fages, ...
OWF12/PAUG Conf Days Alternative to google's android emulator, daniel fages, ...
 
Linxu conj2016 96boards
Linxu conj2016 96boardsLinxu conj2016 96boards
Linxu conj2016 96boards
 
Open source Android 10 on Orange Pi: Meth or Reality?
Open source Android 10 on Orange Pi: Meth or Reality?Open source Android 10 on Orange Pi: Meth or Reality?
Open source Android 10 on Orange Pi: Meth or Reality?
 
What should you know about Net Core?
What should you know about Net Core?What should you know about Net Core?
What should you know about Net Core?
 
An Introduction To Android
An Introduction To AndroidAn Introduction To Android
An Introduction To Android
 
Play With Android
Play With AndroidPlay With Android
Play With Android
 
Jnode
JnodeJnode
Jnode
 

More from Nanik Tolaram

Barcelona Meetup Presentation
Barcelona Meetup PresentationBarcelona Meetup Presentation
Barcelona Meetup Presentation
Nanik Tolaram
 
Diving inside Android Wifi
Diving inside Android WifiDiving inside Android Wifi
Diving inside Android Wifi
Nanik Tolaram
 
Android Source Code
Android Source CodeAndroid Source Code
Android Source Code
Nanik Tolaram
 
Android Internal Services
Android Internal ServicesAndroid Internal Services
Android Internal Services
Nanik Tolaram
 
ODROID Magazine June 2015
ODROID Magazine June 2015ODROID Magazine June 2015
ODROID Magazine June 2015
Nanik Tolaram
 
ODROID Magazine January 2015
ODROID Magazine January 2015ODROID Magazine January 2015
ODROID Magazine January 2015
Nanik Tolaram
 
ODROID Magazine December 2014
 ODROID Magazine December 2014 ODROID Magazine December 2014
ODROID Magazine December 2014
Nanik Tolaram
 
Peeking into Android Source
Peeking into Android SourcePeeking into Android Source
Peeking into Android Source
Nanik Tolaram
 
ODROID Magazine September 2014
ODROID Magazine September 2014ODROID Magazine September 2014
ODROID Magazine September 2014
Nanik Tolaram
 
ODROID Magazine August 2014
ODROID Magazine August 2014ODROID Magazine August 2014
ODROID Magazine August 2014
Nanik Tolaram
 
Android Wear Presentation
Android Wear PresentationAndroid Wear Presentation
Android Wear Presentation
Nanik Tolaram
 
ODROID Magazine June 2014
ODROID Magazine June 2014ODROID Magazine June 2014
ODROID Magazine June 2014
Nanik Tolaram
 
ODROID Magazine May 2014
ODROID Magazine May 2014ODROID Magazine May 2014
ODROID Magazine May 2014
Nanik Tolaram
 
Odroid Magazine March 2014
Odroid Magazine March 2014Odroid Magazine March 2014
Odroid Magazine March 2014
Nanik Tolaram
 
ODROID Magazine April 2014
ODROID Magazine April 2014ODROID Magazine April 2014
ODROID Magazine April 2014
Nanik Tolaram
 
"Learning AOSP" - Android Hardware Abstraction Layer (HAL)
"Learning AOSP" - Android Hardware Abstraction Layer (HAL)"Learning AOSP" - Android Hardware Abstraction Layer (HAL)
"Learning AOSP" - Android Hardware Abstraction Layer (HAL)
Nanik Tolaram
 
Learning AOSP - Android Booting Process
Learning AOSP - Android Booting ProcessLearning AOSP - Android Booting Process
Learning AOSP - Android Booting Process
Nanik Tolaram
 
Learning AOSP - Android Linux Device Driver
Learning AOSP - Android Linux Device DriverLearning AOSP - Android Linux Device Driver
Learning AOSP - Android Linux Device Driver
Nanik Tolaram
 

More from Nanik Tolaram (18)

Barcelona Meetup Presentation
Barcelona Meetup PresentationBarcelona Meetup Presentation
Barcelona Meetup Presentation
 
Diving inside Android Wifi
Diving inside Android WifiDiving inside Android Wifi
Diving inside Android Wifi
 
Android Source Code
Android Source CodeAndroid Source Code
Android Source Code
 
Android Internal Services
Android Internal ServicesAndroid Internal Services
Android Internal Services
 
ODROID Magazine June 2015
ODROID Magazine June 2015ODROID Magazine June 2015
ODROID Magazine June 2015
 
ODROID Magazine January 2015
ODROID Magazine January 2015ODROID Magazine January 2015
ODROID Magazine January 2015
 
ODROID Magazine December 2014
 ODROID Magazine December 2014 ODROID Magazine December 2014
ODROID Magazine December 2014
 
Peeking into Android Source
Peeking into Android SourcePeeking into Android Source
Peeking into Android Source
 
ODROID Magazine September 2014
ODROID Magazine September 2014ODROID Magazine September 2014
ODROID Magazine September 2014
 
ODROID Magazine August 2014
ODROID Magazine August 2014ODROID Magazine August 2014
ODROID Magazine August 2014
 
Android Wear Presentation
Android Wear PresentationAndroid Wear Presentation
Android Wear Presentation
 
ODROID Magazine June 2014
ODROID Magazine June 2014ODROID Magazine June 2014
ODROID Magazine June 2014
 
ODROID Magazine May 2014
ODROID Magazine May 2014ODROID Magazine May 2014
ODROID Magazine May 2014
 
Odroid Magazine March 2014
Odroid Magazine March 2014Odroid Magazine March 2014
Odroid Magazine March 2014
 
ODROID Magazine April 2014
ODROID Magazine April 2014ODROID Magazine April 2014
ODROID Magazine April 2014
 
"Learning AOSP" - Android Hardware Abstraction Layer (HAL)
"Learning AOSP" - Android Hardware Abstraction Layer (HAL)"Learning AOSP" - Android Hardware Abstraction Layer (HAL)
"Learning AOSP" - Android Hardware Abstraction Layer (HAL)
 
Learning AOSP - Android Booting Process
Learning AOSP - Android Booting ProcessLearning AOSP - Android Booting Process
Learning AOSP - Android Booting Process
 
Learning AOSP - Android Linux Device Driver
Learning AOSP - Android Linux Device DriverLearning AOSP - Android Linux Device Driver
Learning AOSP - Android Linux Device Driver
 

Recently uploaded

Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
Globus
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..
UiPathCommunity
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 

Recently uploaded (20)

Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..UiPath Community Day Dubai: AI at Work..
UiPath Community Day Dubai: AI at Work..
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 

Learning AOSP - Building AOSP for Nexus 7

  • 1. Building AOSP for NexusBuilding AOSP for Nexus 77 Nanik TolaramNanik Tolaram @nanikjava@nanikjava
  • 3. WARNING !WARNING !  Voiding warrantyVoiding warranty  Bricked deviceBricked device  No support (DIY support)No support (DIY support)
  • 4. Who Am I ?Who Am I ?  Enterprise Java DeveloperEnterprise Java Developer  Android Framework & Kernel tinkererAndroid Framework & Kernel tinkerer  Creating electronics gadgetsCreating electronics gadgets  ozandroid.info & kernel.ozandroid.infoozandroid.info & kernel.ozandroid.info
  • 5. What you need ?What you need ?  Android DeviceAndroid Device  64-bit Linux based distro64-bit Linux based distro  Fast Computer (16/32GB RAM, MultiFast Computer (16/32GB RAM, Multi Core processor, Fast hard drive)Core processor, Fast hard drive)  Patience !!!Patience !!!
  • 6. Why Nexus 7 ?Why Nexus 7 ?  Source code (kernel) & binaries availableSource code (kernel) & binaries available  Code name – Grouper (WiFi) / NakashiCode name – Grouper (WiFi) / Nakashi (3G)(3G)  BIG community supportBIG community support
  • 8. PartitionPartition  Recovery – recovery.imgRecovery – recovery.img  ““saviour” partitionsaviour” partition  Boot – boot.imgBoot – boot.img  Main partition for bottingMain partition for botting  System – system.imgSystem – system.img  Android framework & apps partitionAndroid framework & apps partition  Data – data.imgData – data.img  Application data storage partitionApplication data storage partition
  • 9. BootingBooting Bootloader Microcode Boot Partition System Partition Recovery ? Recovery Partition N Y
  • 10. Building ProcessBuilding Process 1.1. Checkout AOSPCheckout AOSP 2.2. Checkout Linux KernelCheckout Linux Kernel 3.3. Download Device DriversDownload Device Drivers 4.4. Extract & Device DriversExtract & Device Drivers 5.5. Change ConfigurationChange Configuration 6.6. BuildBuild
  • 12. Building – Code &Building – Code & DriversDrivers  Android Source CodeAndroid Source Code  Checkout Code - source.android.com/source/downloading.htmlCheckout Code - source.android.com/source/downloading.html  Branch – masterBranch – master  Nexus 7 DriversNexus 7 Drivers  developers.google.com/android/nexus/drivers/#grouperdevelopers.google.com/android/nexus/drivers/#grouper  Extract and Copy to <aosp>/vendorExtract and Copy to <aosp>/vendor
  • 13. Building –Building – ConfigurationConfiguration  Linux Kernel & ConfigurationLinux Kernel & Configuration  Linux Code - android.googlesource.com/kernel/tegra/Linux Code - android.googlesource.com/kernel/tegra/  Linux Config Info - source.android.com/source/building-kernels.htmlLinux Config Info - source.android.com/source/building-kernels.html  tegra3_android_defconfig - config for Nexus 7tegra3_android_defconfig - config for Nexus 7  Build ConfigurationBuild Configuration  /build/core/tasks/kernel.mk (from Cyanogenmod)/build/core/tasks/kernel.mk (from Cyanogenmod)  Linux Directory ConfigurationLinux Directory Configuration  /device/asus/grouper/BoardConfigCommon.mk/device/asus/grouper/BoardConfigCommon.mk  /device/asus/grouper/BoardConfig.mk/device/asus/grouper/BoardConfig.mk
  • 14. DemoDemo  Starting build processStarting build process  /out folder/out folder  Flashing (fastboot)Flashing (fastboot)