




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
于RK3399平臺開發(fā)的產(chǎn)品。SDKA編譯開發(fā)環(huán)境搭建。repo .cn:2222/repo-release/tools/repo.git-uss .git-m reporepo .cn:2222/repo-release/tools/repo.git-uss .git-m gitgitclonessh:// 以rk3399_Android_Pie_release_ sudoapt-getinstallopenjdk-8-exportPATH=$JAVA_HOME/bin:$PATHexportexportPATH=$JAVA_HOME/bin:$PATHexportadbpush等操作,其中adbremountdisable-verityadbdisable-verityubootcdu-bootmakecleancdu-bootmakeclean./make.sh 相應(yīng)cdcdmakemakeARCH=arm64相應(yīng)cdcdmakeARCH=arm64$$source$You'rebuildingon enu...pickaAndroidPie正常版本,rk3399-userdebug,輸入對應(yīng)序號50。,$make-├──├──├──├──├──├──├──├──├──├──├──├──├──├──├──├──├──├──└──update.img。即可進(jìn)行刷機(jī)。對于已燒過其它固件的機(jī)器,請選擇低格設(shè)備,擦除idb,然后進(jìn)行刷機(jī)。AInitializingaBuildThissectiondescribeshowtosetupyourlocalworkenvironmenttobuildtheAndroidsourcefiles.YoumustuseLinuxorMacOS;buildingunderWindowsisnotcurrentlyForanoverviewoftheentirecode-reviewandcode-updateprocess,seeLifeofaNote:Allcommandsinthissiteareprecededbyadollarsign($)todifferentiatethemfromoutputorentrieswithinfiles.YoumayusetheClicktocopyfeatureatthetoprightofeachcommandboxtocopyalllineswithoutthedollarsignsortriple-clickeachlocopyitindividuallywithoutthedollarsign.ChoosingaSomerequirementsforthebuildenvironmentaredeterminedbytheversionofthesourcecodeyountocompile.Forafulllistofavailablebranches,seeBuildNumbers.Youcsochoosetodownloadandbuildthelatestsourcecode(calledmaster),inwhichcaseyouwillsimplyomitthebranchspecificationwhenyouinitializetherepository.Afteryouhaveselectedabranch,followtheappropriateinstructionsbelowtosetupyourbuildenvironment.SettingupaLinuxbuildTheseinstructionsapplytoallbranches,ludingandDebiantesting.MostotherdistributionsshouldhavetherequiredbuildtoolsForGingerbread(2.3.x)andnewerversions,ludingthemasterbranch,a64-bitenvironmentisrequired.Olderversionscanbecompiledon32-bitsystems.Note:SeeRequirementsforthecompleistofhardwareandsoftwarerequirements,thenfollowthedetailedinstructionsforUbuntuandMacOSbelow.InstallingtheThemasterbranchofAndroidintheAndroidOpenSourceProject(AOSP)comeswithprebuiltversionsofOpenJDKbelowprebuilts/jdk/sonoadditionalinstallationisOlderversionsofAndroidrequireaseparateinstallationoftheJDK.OnUbuntu,useOpenJDK.SeeJDKRequirementsforpreciseversionsandthesectionsbelowforForUbuntu>=Runthesudoapt-getsudoapt-getinstallopenjdk-8-ForUbuntuLTSTherearenoavailablesupportedOpenJDK8packagesforUbuntu14.04.The15.04OpenJDK8packageshavebeenusedsuccessfullywithUbuntu14.04.Newerpackageversions(e.g.thosefor15.10,16.04)werefoundnottoworkon14.04usingtheinstructionsbelow.Downloadthe.dckagesfor64-bitarchitecturefrom openjdk-8-jre-headless_8u45-b14-1_amd64.debwith openjdk-8-jre_8u45-b14-1_amd64.debwithSHA256 openjdk-8-jdk_8u45-b14-1_amd64.debwithSHA256 Optionally,confirmthechecksumsofthedownloadedfilestheSHA256stringlistedwitheachpackageabove.Forexample,withthesha256sumtool:sha256sum{downloaded.debInstallthesudoapt-getRundpkgforeachofthe.debfilesyoudownloaded.Itmayproduceerrorsduetomissingdependencies:sudodpkg-i{downloaded.debTofixmissingsudoapt-get-fUpdatethedefaultJavaversion-sudoupdate-alternatives--configjavasudoupdate-alternatives--configjavacforlikelycausesandsolutions.Installingrequiredpackages(UbuntuYouwillneeda64-bitversionofUbuntu.Ubuntu14.04 sudosudoapt-getinstallgit-coregnupgflexbisongperfbuild-essentialzip x11proto-core-devlibx11-devlib32z-devccachelibgl1-mesa-devlibxml2-utilsxsltprocNote:TouseSELinuxtoolsforysis,alsoinstallthepythoworkxpackage.Note:IfyouareusingLDAPandwanttorunARThosttests,alsoinstallthelibnss-sss:i386package.ConfiguringUSBUnderGNU/linuxsystems(andspecificallyunderUbuntusystems),regularuserscan'tdirectlyaccessUSBdevicesbydefault.Thesystemneedstobeconfiguredtoallowsuchaccess.Themendedapproachistocreateafile/etc/udev/rules.d/51-android.rules(astherootuser)andtocopythefollowinglinesinit.<username>mustberecedbytheactualusernameoftheuserwhoisauthorizedtoaccessthephonesoverUSB.#adbprotocolonpassion(Rockchip Thosenewrulestakeeffectthenexttimeadeviceispluggedin.Itmightthereforebenecessarytounplugthedeviceandplugitbackintothecomputer.ThisisknowntoworkonbothUbuntuHardyHeron(8.04.xLTS)anddLynx(10.04.xLTS).OtherversionsofUbuntuorothervariantsofGNU/linuxmightrequiredifferentconfigurat
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024年度天津市專利代理師科目一(專利法律知識)模擬預(yù)測參考題庫及答案
- 小學(xué)一年級語文考試的規(guī)律試題及答案
- 導(dǎo)游購物面試題及答案解析
- 食品安全管理制度知識考核與試題及答案
- 人教版八年級美術(shù)上冊教學(xué)設(shè)計:第二單元 第1課 書林漫步
- Module 8 Unit 1 Do you often tidy your bed (教學(xué)設(shè)計)-2024-2025學(xué)年外研版(一起)英語六年級上冊
- 三年級英語下冊 Unit 3 At the zoo(The fifth period)第五課時教學(xué)設(shè)計 人教PEP
- 第10課 面積是多少(教案)六年級上冊信息技術(shù)青島版
- 食品質(zhì)量監(jiān)測的國際標(biāo)準(zhǔn)試題及答案
- 第24課《白雪歌送武判官歸京》教學(xué)設(shè)計-2024-2025學(xué)年統(tǒng)編版語文九年級下冊
- 中廣核招聘筆試題庫2024
- TGDEIA-PET轉(zhuǎn)移膜團(tuán)體標(biāo)準(zhǔn)
- 08J933-1體育場地與設(shè)施(一)
- 時間同步在機(jī)器人中的應(yīng)用
- 河南省洛陽市2023-2024學(xué)年高二下學(xué)期4月期中考試數(shù)學(xué)試題(含答案)
- 高考作文標(biāo)準(zhǔn)方格紙-A4-可直接打印
- 《陸上風(fēng)電場工程設(shè)計概算編制規(guī)定及費用標(biāo)準(zhǔn)》(NB-T 31011-2019)
- 毛澤東詩詞鑒賞
- (高清版)DZT 0426-2023 固體礦產(chǎn)地質(zhì)調(diào)查規(guī)范(1:50000)
- 畢業(yè)設(shè)計(論文)-某住宅2#樓電氣系統(tǒng)設(shè)計
- 水閘工程現(xiàn)狀調(diào)查分析報告
評論
0/150
提交評論