Saturday, March 2, 2019

Old Android note: Android Source Tree based on CM9/Tenderloin source

如果不是Google了一下,我自己都不记得是多少年前我买了两个HP的TouchPad tablet,是2011年夏天,运行的是HP从Palm收购的WebOS(新主人是LG)。这是最短命的产品之一:On August 18, 2011, 49 days after the TouchPad was launched in the United States, HP announced that it would discontinue all current devices running webOS
感谢一些专业人士,提供了CyanogenMod安装(Tenderloin是CM为TouchPad定制的code name),从此可以在TouchPad上运行Android。CyanogenMod 9 (CM9) based on Android 4.0.4 have official stable builds with all features working。以下是我从source code dump出来的folder structure,并与前文Stackoverlow的描述进行了比较:

Several folders missing from prevous Statckoverflow website are highlight here. Folder that has qcom specific code is in blue font.
|-abi
|-android just two files: default.xml and README.mkdn
|-bionic
|-bootable
|-build
|-dalvik
|-development
|-device
| |-qcom =>msm8960, msm8660_surf, msm7627a, …, common
|-extrnal
|-frameworks
|-hardware
| |-msm7k
| |-qcom => display, gps, media; no alsa_sound and camera in Tenderloin source, but they are in our ICS
|-kernel
|-libcore mainly in Java
|-ndk
|-out
|-packages
|-prebuilt
|-sdk sdk and emulator
|-system
| |-core\rootdir\etc
| |-qcom =>softap
|-vendor manufactor custom code
|-qcom =>android-open, opensource, proprietary

0 Comments:

Post a Comment