Giter Club home page Giter Club logo

amlogickitchen's Introduction

Hi 👋, I'm Althaf (althafvly) althafvly althafvly

Android | AOSP | Web Developer

🔭 As of right now, I work as an android developer.
🌱 I'm also learning web programming and MDM for Android right now.
👯 My goal is to work with AOSP.

althafvly

See my work information on the github organisations I'm a part of.

Connect with me:

althafvly.com althafvly

amlogickitchen's People

Contributors

althafvly avatar highwaystar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

amlogickitchen's Issues

repack super.img bug

Unable to create super image, recreated images are too big.
Cleanup some files before retrying
Needed space: 2453938176
Available maximum space: 5368709120

I've deleted a lot of files to make room

pack_zip_to_aml "DDR.USB is missing, copy DDR.USB to level1 dir" And create workflow xml file failed

Python 3.9.13
.....................
Amlogic Kitchen
.....................
Files in input dir (*.zip)
1 - B863AV3.2M-220821_fota
.....................
Enter a file name :B863AV3.2M-220821_fota

7-Zip (a) 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21

Scanning the drive for archives:
1 file, 554403244 bytes (529 MiB)

Extracting archive: in\B863AV3.2M-220821_fota.zip

Path = in\B863AV3.2M-220821_fota.zip
Type = zip
Physical Size = 554403244
Comment = signed by SignApk

Everything is Ok

Files: 25
Size: 560904600
Compressed: 554403244
sdat2img binary - version: 1.2

Android Nougat 7.x / Oreo 8.x detected!

Skipping command erase...
Copying 1 blocks into position 0...
Skipping command zero...
Copying 1 blocks into position 1...
Copying 4 blocks into position 9...
Copying 111 blocks into position 75...
Skipping command zero...
Done! Output image: F:\AmlogicKitchen-master\tmp\odm.img
已复制 1 个文件。
sdat2img binary - version: 1.2

Android Nougat 7.x / Oreo 8.x detected!

Skipping command erase...
Copying 1 blocks into position 0...
Copying 365 blocks into position 15374...
Copying 512 blocks into position 14862...
Copying 427 blocks into position 14346...
Copying 85 blocks into position 14777...
Copying 512 blocks into position 13834...
Copying 512 blocks into position 13322...
Copying 512 blocks into position 12810...
Copying 512 blocks into position 12298...
Copying 512 blocks into position 11786...
Copying 512 blocks into position 11274...
Copying 512 blocks into position 10762...
Copying 512 blocks into position 10250...
Copying 512 blocks into position 9738...
Copying 512 blocks into position 9226...
Copying 512 blocks into position 8714...
Copying 512 blocks into position 8202...
Copying 512 blocks into position 7690...
Copying 512 blocks into position 7178...
Copying 512 blocks into position 6666...
Copying 512 blocks into position 6154...
Copying 512 blocks into position 5642...
Copying 512 blocks into position 4618...
Copying 1 blocks into position 1...
Copying 4 blocks into position 9...
Copying 507 blocks into position 523...
Copying 512 blocks into position 5130...
Copying 512 blocks into position 3082...
Copying 512 blocks into position 3594...
Copying 512 blocks into position 2570...
Copying 512 blocks into position 1030...
Copying 17 blocks into position 2056...
Copying 477 blocks into position 2074...
Copying 18 blocks into position 2552...
Copying 235 blocks into position 1542...
Copying 277 blocks into position 1779...
Copying 512 blocks into position 4106...
Skipping command zero...
Skipping command zero...
Done! Output image: F:\AmlogicKitchen-master\tmp\product.img
已复制 1 个文件。
sdat2img binary - version: 1.2

Android Nougat 7.x / Oreo 8.x detected!

Skipping command erase...
Copying 159 blocks into position 38250...
Copying 10 blocks into position 38429...
Copying 13 blocks into position 38457...
Copying 2 blocks into position 38473...
Copying 44 blocks into position 38480...
Copying 38 blocks into position 38532...
Copying 1 blocks into position 38571...
Copying 2 blocks into position 38573...
Copying 243 blocks into position 38576...
Copying 512 blocks into position 37738...
Copying 512 blocks into position 37226...
Copying 512 blocks into position 36714...
Copying 512 blocks into position 36202...
Copying 512 blocks into position 35690...
Copying 512 blocks into position 35178...
Copying 512 blocks into position 34666...
Copying 512 blocks into position 34154...
Copying 512 blocks into position 33642...
Copying 89 blocks into position 32678...
Copying 2 blocks into position 32768...
Copying 1 blocks into position 32793...
Copying 420 blocks into position 33222...
Copying 383 blocks into position 32152...
Copying 15 blocks into position 32542...
Copying 114 blocks into position 32564...
Copying 512 blocks into position 31640...
Copying 512 blocks into position 31128...
Copying 512 blocks into position 30616...
Copying 512 blocks into position 30104...
Copying 512 blocks into position 29592...
Copying 57 blocks into position 29075...
Copying 1 blocks into position 29133...
Copying 454 blocks into position 29138...
Copying 512 blocks into position 28563...
Copying 512 blocks into position 28051...
Copying 512 blocks into position 27539...
Copying 512 blocks into position 27027...
Copying 512 blocks into position 26515...
Copying 512 blocks into position 26003...
Copying 512 blocks into position 25491...
Copying 512 blocks into position 24979...
Copying 512 blocks into position 24467...
Copying 34 blocks into position 23951...
Copying 478 blocks into position 23989...
Copying 512 blocks into position 23439...
Copying 512 blocks into position 22927...
Copying 512 blocks into position 22415...
Copying 512 blocks into position 21903...
Copying 512 blocks into position 21391...
Copying 3 blocks into position 20865...
Copying 11 blocks into position 20875...
Copying 498 blocks into position 20893...
Copying 1 blocks into position 0...
Copying 512 blocks into position 20353...
Copying 67 blocks into position 81852...
Copying 207 blocks into position 19828...
Copying 11 blocks into position 20041...
Copying 294 blocks into position 20059...
Copying 18 blocks into position 81231...
Copying 3 blocks into position 81252...
Copying 3 blocks into position 81258...
Copying 28 blocks into position 81264...
Copying 5 blocks into position 81296...
Copying 5 blocks into position 81305...
Copying 5 blocks into position 81314...
Copying 6 blocks into position 81323...
Copying 5 blocks into position 81333...
Copying 5 blocks into position 81342...
Copying 5 blocks into position 81351...
Copying 5 blocks into position 81360...
Copying 6 blocks into position 81369...
Copying 5 blocks into position 81379...
Copying 22 blocks into position 81388...
Copying 4 blocks into position 81413...
Copying 4 blocks into position 81420...
Copying 3 blocks into position 81428...
Copying 4 blocks into position 81435...
Copying 4 blocks into position 81442...
Copying 4 blocks into position 81449...
Copying 4 blocks into position 81456...
Copying 3 blocks into position 81464...
Copying 3 blocks into position 81471...
Copying 3 blocks into position 81478...
Copying 2 blocks into position 81485...
Copying 4 blocks into position 81488...
Copying 3 blocks into position 81493...
Copying 3 blocks into position 81497...
Copying 37 blocks into position 81501...
Copying 1 blocks into position 81541...
Copying 6 blocks into position 81545...
Copying 7 blocks into position 81552...
Copying 8 blocks into position 81560...
Copying 6 blocks into position 81569...
Copying 6 blocks into position 81576...
Copying 6 blocks into position 81583...
Copying 261 blocks into position 81591...
Copying 512 blocks into position 19316...
Copying 436 blocks into position 80710...
Copying 3 blocks into position 81149...
Copying 4 blocks into position 81155...
Copying 69 blocks into position 81162...
Copying 512 blocks into position 18804...
Copying 151 blocks into position 80177...
Copying 1 blocks into position 80330...
Copying 55 blocks into position 80339...
Copying 2 blocks into position 80403...
Copying 1 blocks into position 80406...
Copying 302 blocks into position 80408...
Copying 512 blocks into position 18292...
Copying 59 blocks into position 79663...
Copying 453 blocks into position 79724...
Copying 512 blocks into position 17780...
Copying 512 blocks into position 79151...
Copying 512 blocks into position 17268...
Copying 39 blocks into position 78593...
Copying 38 blocks into position 78644...
Copying 107 blocks into position 78697...
Copying 42 blocks into position 78805...
Copying 36 blocks into position 78848...
Copying 107 blocks into position 78899...
Copying 42 blocks into position 79007...
Copying 101 blocks into position 79050...
Copying 512 blocks into position 16756...
Copying 297 blocks into position 78057...
Copying 127 blocks into position 78366...
Copying 88 blocks into position 78505...
Copying 512 blocks into position 16244...
Copying 512 blocks into position 77545...
Copying 512 blocks into position 15732...
Copying 512 blocks into position 77033...
Copying 512 blocks into position 15220...
Copying 40 blocks into position 76495...
Copying 43 blocks into position 76536...
Copying 22 blocks into position 76581...
Copying 82 blocks into position 76618...
Copying 46 blocks into position 76701...
Copying 92 blocks into position 76748...
Copying 19 blocks into position 76842...
Copying 81 blocks into position 76862...
Copying 19 blocks into position 76945...
Copying 68 blocks into position 76965...
Copying 512 blocks into position 14708...
Copying 12 blocks into position 75917...
Copying 129 blocks into position 75944...
Copying 22 blocks into position 76075...
Copying 129 blocks into position 76112...
Copying 22 blocks into position 76243...
Copying 129 blocks into position 76280...
Copying 22 blocks into position 76411...
Copying 47 blocks into position 76448...
Copying 512 blocks into position 14196...
Copying 145 blocks into position 75396...
Copying 32 blocks into position 75543...
Copying 121 blocks into position 75576...
Copying 32 blocks into position 75699...
Copying 121 blocks into position 75732...
Copying 32 blocks into position 75855...
Copying 29 blocks into position 75888...
Copying 512 blocks into position 13684...
Copying 512 blocks into position 74884...
Copying 512 blocks into position 13172...
Copying 512 blocks into position 74372...
Copying 512 blocks into position 12660...
Copying 512 blocks into position 73860...
Copying 512 blocks into position 12148...
Copying 512 blocks into position 73348...
Copying 512 blocks into position 11636...
Copying 512 blocks into position 72836...
Copying 170 blocks into position 11117...
Copying 134 blocks into position 11289...
Copying 208 blocks into position 11428...
Copying 512 blocks into position 72324...
Copying 512 blocks into position 10605...
Copying 512 blocks into position 71812...
Copying 512 blocks into position 10093...
Copying 512 blocks into position 71300...
Copying 512 blocks into position 9581...
Copying 512 blocks into position 70788...
Copying 512 blocks into position 9069...
Copying 512 blocks into position 70276...
Copying 512 blocks into position 8557...
Copying 512 blocks into position 69764...
Copying 332 blocks into position 8036...
Copying 44 blocks into position 8371...
Copying 1 blocks into position 8420...
Copying 135 blocks into position 8422...
Copying 512 blocks into position 69252...
Copying 512 blocks into position 7524...
Copying 512 blocks into position 68740...
Copying 512 blocks into position 7012...
Copying 512 blocks into position 68228...
Copying 512 blocks into position 6500...
Copying 512 blocks into position 67716...
Copying 512 blocks into position 5988...
Copying 512 blocks into position 67204...
Copying 512 blocks into position 5476...
Copying 512 blocks into position 66692...
Copying 512 blocks into position 4452...
Copying 512 blocks into position 66180...
Copying 23 blocks into position 1...
Copying 75 blocks into position 25...
Copying 414 blocks into position 454...
Copying 18 blocks into position 47576...
Copying 33 blocks into position 47601...
Copying 1 blocks into position 47637...
Copying 5 blocks into position 47645...
Copying 239 blocks into position 47656...
Copying 1 blocks into position 65536...
Copying 215 blocks into position 65965...
Copying 512 blocks into position 4964...
Copying 436 blocks into position 47026...
Copying 33 blocks into position 47469...
Copying 1 blocks into position 47505...
Copying 33 blocks into position 47513...
Copying 1 blocks into position 47549...
Copying 8 blocks into position 47568...
Copying 512 blocks into position 2404...
Copying 512 blocks into position 46514...
Copying 512 blocks into position 1380...
Copying 512 blocks into position 46002...
Skipping command zero...
Copying 512 blocks into position 45490...
Copying 512 blocks into position 44978...
Copying 512 blocks into position 3428...
Copying 512 blocks into position 44466...
Copying 512 blocks into position 2916...
Copying 512 blocks into position 43954...
Copying 512 blocks into position 1892...
Copying 512 blocks into position 43442...
Copying 512 blocks into position 3940...
Copying 206 blocks into position 42927...
Copying 306 blocks into position 43136...
Copying 512 blocks into position 868...
Copying 459 blocks into position 42412...
Copying 53 blocks into position 42874...
Copying 512 blocks into position 41900...
Copying 125 blocks into position 41385...
Copying 387 blocks into position 41513...
Copying 512 blocks into position 40873...
Copying 39 blocks into position 40358...
Copying 473 blocks into position 40400...
Copying 281 blocks into position 39843...
Copying 231 blocks into position 40127...
Copying 512 blocks into position 39331...
Copying 512 blocks into position 38819...
Skipping command zero...
Skipping command zero...
Done! Output image: F:\AmlogicKitchen-master\tmp\vendor.img
已复制 1 个文件。
sdat2img binary - version: 1.2

Android Nougat 7.x / Oreo 8.x detected!

Skipping command erase...
Copying 512 blocks into position 121892...
Copying 512 blocks into position 121380...
Copying 512 blocks into position 120868...
Copying 512 blocks into position 307112...
Copying 512 blocks into position 120356...
Copying 512 blocks into position 306600...
Copying 512 blocks into position 119844...
Copying 512 blocks into position 306088...
Copying 512 blocks into position 119332...
Copying 512 blocks into position 305576...
Copying 512 blocks into position 118820...
Copying 512 blocks into position 305064...
Copying 512 blocks into position 118308...
Copying 512 blocks into position 304552...
Copying 512 blocks into position 117796...
Copying 512 blocks into position 304040...
Copying 512 blocks into position 117284...
Copying 512 blocks into position 303528...
Copying 512 blocks into position 116772...
Copying 512 blocks into position 303016...
Copying 512 blocks into position 116260...
Copying 512 blocks into position 302504...
Copying 512 blocks into position 115748...
Copying 322 blocks into position 301987...
Copying 4 blocks into position 302311...
Copying 186 blocks into position 302318...
Copying 512 blocks into position 115236...
Copying 512 blocks into position 301475...
Copying 512 blocks into position 114724...
Copying 512 blocks into position 300963...
Copying 512 blocks into position 114212...
Copying 512 blocks into position 300451...
Copying 512 blocks into position 113700...
Copying 512 blocks into position 299939...
Copying 512 blocks into position 113188...
Copying 512 blocks into position 299427...
Copying 512 blocks into position 112676...
Copying 512 blocks into position 298915...
Copying 512 blocks into position 112164...
Copying 512 blocks into position 298403...
Copying 512 blocks into position 111652...
Copying 512 blocks into position 297891...
Copying 512 blocks into position 111140...
Copying 512 blocks into position 297379...
Copying 512 blocks into position 110628...
Copying 512 blocks into position 296867...
Copying 512 blocks into position 110116...
Copying 512 blocks into position 296355...
Copying 512 blocks into position 109604...
Copying 512 blocks into position 295843...
Copying 512 blocks into position 109092...
Copying 172 blocks into position 261971...
Copying 1 blocks into position 262144...
Copying 2 blocks into position 294912...
Copying 1 blocks into position 294993...
Copying 336 blocks into position 295507...
Copying 512 blocks into position 108580...
Copying 512 blocks into position 261459...
Copying 512 blocks into position 108068...
Copying 512 blocks into position 260947...
Copying 512 blocks into position 107556...
Copying 512 blocks into position 260435...
Copying 512 blocks into position 107044...
Copying 512 blocks into position 259923...
Copying 512 blocks into position 106532...
Copying 512 blocks into position 259411...
Copying 368 blocks into position 106018...
Copying 144 blocks into position 106388...
Copying 512 blocks into position 258899...
Copying 322 blocks into position 105505...
Copying 190 blocks into position 105828...
Copying 512 blocks into position 258387...
Copying 36 blocks into position 104990...
Copying 316 blocks into position 105027...
Copying 160 blocks into position 105345...
Copying 512 blocks into position 257875...
Copying 474 blocks into position 104477...
Copying 38 blocks into position 104952...
Copying 512 blocks into position 257363...
Copying 512 blocks into position 103965...
Copying 512 blocks into position 256851...
Copying 512 blocks into position 103453...
Copying 512 blocks into position 256339...
Copying 512 blocks into position 102941...
Copying 352 blocks into position 255826...
Copying 160 blocks into position 256179...
Copying 512 blocks into position 102429...
Copying 512 blocks into position 255314...
Copying 512 blocks into position 101917...
Copying 512 blocks into position 254802...
Copying 6 blocks into position 101402...
Copying 95 blocks into position 101410...
Copying 411 blocks into position 101506...
Copying 512 blocks into position 254290...
Copying 500 blocks into position 100888...
Copying 9 blocks into position 101389...
Copying 3 blocks into position 101399...
Copying 512 blocks into position 253778...
Copying 512 blocks into position 100376...
Copying 512 blocks into position 253266...
Copying 512 blocks into position 99864...
Copying 512 blocks into position 252754...
Copying 162 blocks into position 99351...
Copying 350 blocks into position 99514...
Copying 512 blocks into position 252242...
Copying 37 blocks into position 65477...
Copying 19 blocks into position 65516...
Copying 1 blocks into position 65536...
Copying 2 blocks into position 98304...
Copying 1 blocks into position 98385...
Copying 452 blocks into position 98899...
Copying 512 blocks into position 251730...
Copying 130 blocks into position 64961...
Copying 319 blocks into position 65093...
Copying 63 blocks into position 65414...
Copying 512 blocks into position 251218...
Copying 246 blocks into position 64444...
Copying 121 blocks into position 64691...
Copying 134 blocks into position 64814...
Copying 11 blocks into position 64950...
Copying 512 blocks into position 250706...
Copying 512 blocks into position 63932...
Copying 512 blocks into position 250194...
Copying 512 blocks into position 63420...
Copying 198 blocks into position 249681...
Copying 314 blocks into position 249880...
Copying 512 blocks into position 62908...
Copying 512 blocks into position 249169...
Copying 512 blocks into position 62396...
Copying 512 blocks into position 248657...
Copying 512 blocks into position 61884...
Copying 512 blocks into position 248145...
Copying 512 blocks into position 61372...
Copying 512 blocks into position 247633...
Copying 512 blocks into position 60860...
Copying 143 blocks into position 247065...
Copying 30 blocks into position 247209...
Copying 2 blocks into position 247257...
Copying 1 blocks into position 247261...
Copying 1 blocks into position 247264...
Copying 2 blocks into position 247266...
Copying 1 blocks into position 247273...
Copying 1 blocks into position 247275...
Copying 331 blocks into position 247302...
Copying 512 blocks into position 60348...
Copying 129 blocks into position 246511...
Copying 21 blocks into position 246659...
Copying 362 blocks into position 246703...
Copying 512 blocks into position 59836...
Copying 387 blocks into position 245947...
Copying 23 blocks into position 246335...
Copying 5 blocks into position 246376...
Copying 1 blocks into position 246382...
Copying 3 blocks into position 246385...
Copying 2 blocks into position 246393...
Copying 91 blocks into position 246420...
Copying 512 blocks into position 59324...
Copying 512 blocks into position 245435...
Copying 512 blocks into position 58812...
Copying 512 blocks into position 244923...
Copying 512 blocks into position 58300...
Copying 512 blocks into position 244411...
Copying 512 blocks into position 57788...
Copying 512 blocks into position 243899...
Copying 512 blocks into position 57276...
Copying 512 blocks into position 243387...
Copying 512 blocks into position 56764...
Copying 512 blocks into position 242875...
Copying 512 blocks into position 56252...
Copying 512 blocks into position 242363...
Copying 512 blocks into position 55740...
Copying 335 blocks into position 241844...
Copying 177 blocks into position 242186...
Copying 512 blocks into position 55228...
Copying 512 blocks into position 241332...
Copying 512 blocks into position 54716...
Copying 512 blocks into position 240820...
Copying 512 blocks into position 54204...
Copying 512 blocks into position 240308...
Copying 512 blocks into position 53692...
Copying 315 blocks into position 239785...
Copying 13 blocks into position 240102...
Copying 184 blocks into position 240124...
Copying 512 blocks into position 53180...
Copying 512 blocks into position 239273...
Copying 512 blocks into position 52668...
Copying 512 blocks into position 238761...
Copying 512 blocks into position 52156...
Copying 512 blocks into position 238249...
Copying 512 blocks into position 51644...
Copying 512 blocks into position 237737...
Copying 512 blocks into position 51132...
Copying 512 blocks into position 237225...
Copying 512 blocks into position 50620...
Copying 512 blocks into position 236713...
Copying 512 blocks into position 50108...
Copying 512 blocks into position 236201...
Copying 512 blocks into position 49596...
Copying 512 blocks into position 235689...
Copying 100 blocks into position 49083...
Copying 412 blocks into position 49184...
Copying 512 blocks into position 235177...
Copying 512 blocks into position 48571...
Copying 512 blocks into position 234665...
Copying 512 blocks into position 48059...
Copying 408 blocks into position 234148...
Copying 104 blocks into position 234561...
Copying 512 blocks into position 47547...
Copying 512 blocks into position 233636...
Copying 512 blocks into position 47035...
Copying 512 blocks into position 233124...
Copying 512 blocks into position 46523...
Copying 512 blocks into position 232612...
Copying 512 blocks into position 46011...
Copying 79 blocks into position 1...
Copying 160 blocks into position 81...
Copying 273 blocks into position 595...
Copying 512 blocks into position 868...
Skipping command zero...
Skipping command zero...
Copying 512 blocks into position 1892...
Copying 512 blocks into position 1380...
Copying 512 blocks into position 45499...
Copying 512 blocks into position 44987...
Copying 512 blocks into position 44475...
Copying 512 blocks into position 43963...
Copying 512 blocks into position 43451...
Copying 512 blocks into position 42939...
Copying 512 blocks into position 42427...
Copying 76 blocks into position 41911...
Copying 5 blocks into position 41988...
Copying 431 blocks into position 41996...
Copying 512 blocks into position 41399...
Copying 512 blocks into position 40887...
Copying 512 blocks into position 40375...
Copying 512 blocks into position 39863...
Copying 512 blocks into position 39351...
Copying 512 blocks into position 38839...
Copying 512 blocks into position 38327...
Copying 512 blocks into position 37815...
Copying 512 blocks into position 37303...
Copying 512 blocks into position 36791...
Copying 512 blocks into position 36279...
Copying 512 blocks into position 35767...
Copying 512 blocks into position 35255...
Copying 512 blocks into position 34743...
Copying 512 blocks into position 34231...
Copying 512 blocks into position 33719...
Copying 155 blocks into position 32615...
Copying 1 blocks into position 32849...
Copying 356 blocks into position 33363...
Copying 512 blocks into position 32103...
Copying 512 blocks into position 31591...
Copying 512 blocks into position 31079...
Copying 512 blocks into position 30567...
Copying 303 blocks into position 30052...
Copying 209 blocks into position 30358...
Copying 512 blocks into position 29540...
Copying 512 blocks into position 29028...
Copying 512 blocks into position 28516...
Copying 512 blocks into position 28004...
Copying 512 blocks into position 27492...
Copying 512 blocks into position 26980...
Copying 512 blocks into position 26468...
Copying 512 blocks into position 25956...
Copying 512 blocks into position 25444...
Copying 512 blocks into position 24932...
Copying 512 blocks into position 24420...
Copying 512 blocks into position 23908...
Copying 512 blocks into position 23396...
Copying 512 blocks into position 22884...
Copying 512 blocks into position 22372...
Copying 512 blocks into position 21860...
Copying 512 blocks into position 21348...
Copying 512 blocks into position 20836...
Copying 512 blocks into position 20324...
Copying 512 blocks into position 19812...
Copying 512 blocks into position 19300...
Copying 512 blocks into position 18788...
Copying 512 blocks into position 18276...
Copying 512 blocks into position 17764...
Copying 512 blocks into position 17252...
Copying 1 blocks into position 0...
Copying 512 blocks into position 16740...
Copying 177 blocks into position 322988...
Copying 512 blocks into position 16228...
Copying 512 blocks into position 322476...
Copying 512 blocks into position 15716...
Copying 512 blocks into position 321964...
Copying 512 blocks into position 15204...
Copying 512 blocks into position 321452...
Copying 512 blocks into position 14692...
Copying 512 blocks into position 320940...
Copying 512 blocks into position 14180...
Copying 512 blocks into position 320428...
Copying 512 blocks into position 13668...
Copying 512 blocks into position 319916...
Copying 512 blocks into position 13156...
Copying 512 blocks into position 319404...
Copying 512 blocks into position 12644...
Copying 512 blocks into position 318892...
Copying 512 blocks into position 12132...
Copying 512 blocks into position 318380...
Copying 512 blocks into position 11620...
Copying 512 blocks into position 317868...
Copying 512 blocks into position 11108...
Copying 512 blocks into position 317356...
Copying 512 blocks into position 10596...
Copying 512 blocks into position 316844...
Copying 512 blocks into position 10084...
Copying 512 blocks into position 316332...
Copying 512 blocks into position 9572...
Copying 512 blocks into position 315820...
Copying 512 blocks into position 9060...
Copying 156 blocks into position 315304...
Copying 5 blocks into position 315461...
Copying 351 blocks into position 315469...
Copying 512 blocks into position 8548...
Copying 512 blocks into position 314792...
Copying 512 blocks into position 8036...
Copying 512 blocks into position 314280...
Copying 512 blocks into position 7524...
Copying 512 blocks into position 313768...
Copying 512 blocks into position 7012...
Copying 512 blocks into position 313256...
Copying 512 blocks into position 6500...
Copying 512 blocks into position 312744...
Copying 512 blocks into position 5988...
Copying 512 blocks into position 312232...
Copying 512 blocks into position 5476...
Copying 512 blocks into position 311720...
Copying 512 blocks into position 4452...
Copying 512 blocks into position 311208...
Copying 512 blocks into position 2404...
Copying 512 blocks into position 310696...
Copying 512 blocks into position 4964...
Copying 512 blocks into position 310184...
Copying 512 blocks into position 3940...
Copying 512 blocks into position 309672...
Copying 512 blocks into position 3428...
Copying 512 blocks into position 309160...
Copying 512 blocks into position 2916...
Copying 512 blocks into position 308648...
Copying 512 blocks into position 308136...
Copying 512 blocks into position 307624...
Copying 232 blocks into position 232095...
Copying 280 blocks into position 232332...
Copying 512 blocks into position 231583...
Copying 512 blocks into position 231071...
Copying 512 blocks into position 230559...
Copying 512 blocks into position 230047...
Copying 432 blocks into position 196175...
Copying 1 blocks into position 196608...
Copying 2 blocks into position 229376...
Copying 1 blocks into position 229457...
Copying 76 blocks into position 229971...
Copying 36 blocks into position 195660...
Copying 476 blocks into position 195699...
Copying 512 blocks into position 195148...
Copying 512 blocks into position 194636...
Copying 486 blocks into position 194123...
Copying 26 blocks into position 194610...
Copying 512 blocks into position 193611...
Copying 512 blocks into position 193099...
Copying 512 blocks into position 192587...
Copying 512 blocks into position 192075...
Copying 512 blocks into position 191563...
Copying 512 blocks into position 191051...
Copying 512 blocks into position 190539...
Copying 512 blocks into position 190027...
Copying 512 blocks into position 189515...
Copying 512 blocks into position 189003...
Copying 512 blocks into position 188491...
Copying 512 blocks into position 187979...
Copying 318 blocks into position 187466...
Copying 194 blocks into position 187785...
Copying 512 blocks into position 186954...
Copying 512 blocks into position 186442...
Copying 512 blocks into position 185930...
Copying 512 blocks into position 185418...
Copying 512 blocks into position 184906...
Copying 512 blocks into position 184394...
Copying 512 blocks into position 183882...
Copying 512 blocks into position 183370...
Copying 512 blocks into position 182858...
Copying 512 blocks into position 182346...
Copying 512 blocks into position 181834...
Copying 512 blocks into position 181322...
Copying 512 blocks into position 180810...
Copying 512 blocks into position 180298...
Copying 512 blocks into position 179786...
Copying 512 blocks into position 179274...
Copying 512 blocks into position 178762...
Copying 512 blocks into position 178250...
Copying 512 blocks into position 177738...
Copying 512 blocks into position 177226...
Copying 43 blocks into position 176707...
Copying 135 blocks into position 176751...
Copying 105 blocks into position 176891...
Copying 229 blocks into position 176997...
Copying 512 blocks into position 176195...
Copying 512 blocks into position 175683...
Copying 512 blocks into position 175171...
Copying 512 blocks into position 174659...
Copying 512 blocks into position 174147...
Copying 180 blocks into position 173632...
Copying 332 blocks into position 173815...
Copying 512 blocks into position 173120...
Copying 131 blocks into position 172606...
Copying 381 blocks into position 172739...
Copying 512 blocks into position 172094...
Copying 512 blocks into position 171582...
Copying 512 blocks into position 171070...
Copying 512 blocks into position 170558...
Copying 512 blocks into position 170046...
Copying 256 blocks into position 169525...
Copying 22 blocks into position 169786...
Copying 234 blocks into position 169812...
Copying 512 blocks into position 169013...
Copying 512 blocks into position 168501...
Copying 33 blocks into position 167766...
Copying 126 blocks into position 167974...
Copying 68 blocks into position 168143...
Copying 285 blocks into position 168216...
Copying 87 blocks into position 167028...
Copying 177 blocks into position 167120...
Copying 127 blocks into position 167472...
Copying 121 blocks into position 167645...
Copying 512 blocks into position 166516...
Copying 512 blocks into position 166004...
Copying 512 blocks into position 165492...
Copying 512 blocks into position 164980...
Copying 512 blocks into position 164468...
Copying 475 blocks into position 130596...
Copying 1 blocks into position 131072...
Copying 2 blocks into position 163840...
Copying 1 blocks into position 163921...
Copying 33 blocks into position 164435...
Copying 512 blocks into position 130084...
Copying 512 blocks into position 129572...
Copying 512 blocks into position 129060...
Copying 512 blocks into position 128548...
Copying 512 blocks into position 128036...
Copying 512 blocks into position 127524...
Copying 512 blocks into position 127012...
Copying 512 blocks into position 126500...
Copying 512 blocks into position 125988...
Copying 512 blocks into position 125476...
Copying 512 blocks into position 124964...
Copying 512 blocks into position 124452...
Copying 512 blocks into position 123940...
Copying 512 blocks into position 123428...
Copying 512 blocks into position 122916...
Copying 512 blocks into position 122404...
Skipping command zero...
Skipping command zero...
Skipping command zero...
Skipping command zero...
Skipping command zero...
Skipping command zero...
Skipping command zero...
Skipping command zero...
Done! Output image: F:\AmlogicKitchen-master\tmp\system.img
已复制 1 个文件。
已复制 1 个文件。
移动了 1 个文件。
移动了 1 个文件。
移动了 1 个文件。
移动了 1 个文件。
移动了 1 个文件。
移动了 1 个文件。
移动了 1 个文件。
移动了 1 个文件。
移动了 1 个文件。
移动了 1 个文件。
已复制 1 个文件。
"DDR.USB is missing, copy DDR.USB to level1 dir"
请按任意键继续. . .
"UBOOT.USB is missing, copy UBOOT.USB to level1 dir"
请按任意键继续. . .
"aml_sdc_burn.UBOOT is missing, copy aml_sdc_burn.UBOOT to level1 dir"
请按任意键继续. . .
"meson1.PARTITION is missing, copy meson1.PARTITION to level1 dir"
请按任意键继续. . .
"platform.conf is missing, copy platform.conf to level1 dir"
请按任意键继续. . .
[Msg]Pack Item[PARTITION , _aml_dtb] from (level1_aml_dtb.PARTITION),sz[0xfbae]B,
[Msg]Pack Item[ini , aml_sdc_burn] from (level1\aml_sdc_burn.ini),sz[0x18a]B,
[Msg]Pack Item[PARTITION , boot] from (level1\boot.PARTITION),sz[0xd10800]B,ft[normal]
[Msg]Pack Item[PARTITION , bootloader] from (level1\bootloader.PARTITION),sz[0x14e970]B,ft[normal]
[Msg]Pack Item[PARTITION , dtbo] from (level1\dtbo.PARTITION),sz[0x1b6]B,
[Msg]Pack Item[PARTITION , logo] from (level1\logo.PARTITION),sz[0xfe080]B,ft[normal]
[Msg]Pack Item[PARTITION , odm] from (level1\odm.PARTITION),sz[0x75070]B,ft[sparse]
[Msg]Pack Item[PARTITION , product] from (level1\product.PARTITION),sz[0x3b6e0e0]B,ft[sparse]
[Msg]Pack Item[PARTITION , recovery] from (level1\recovery.PARTITION),sz[0x1415800]B,ft[normal]
[Msg]Pack Item[PARTITION , system] from (level1\system.PARTITION),sz[0x2db02bec]B,ft[sparse]
[Msg]Pack Item[PARTITION , vbmeta] from (level1\vbmeta.PARTITION),sz[0x40]B,
[Msg]Pack Item[PARTITION , vendor] from (level1\vendor.PARTITION),sz[0xf3db880]B,ft[sparse]
[Msg]version:0x2 crc:0x10e31abe size:1122261536 bytes[1070MB]
Pack image[out\B863AV3.2M-220821_fota.img] OK
Done.
Done.
请按任意键继续. . .
image

Unpacking level 1 error

Hi I'm trying to unpack Level 1 for a S905W2 ROM which has Android 11 and I'm getting this error

./unpack.sh 
.....................
Amlogic Kitchen
.....................
.....................
Select level 1,2,3 or q/Q to exit: 
1
Deleting existing level1
.....................
Amlogic Kitchen
.....................
No files found in /in

How can I fix it? Thanks!

Windows repack makes read only partition.

  1. take an image and unpack level 1.

Level1 repack shows no issues

  1. going into adb shell user is allowed to su and get #
  2. Unpack 2 and repack both 2 and 1
  3. Try step 2 and user receives su not permitted. Image is read only.

much thanks

[ERR]f(AmlImagePack.cpp)L1332:failed

Hi. Im pack on win, but heave error. How fix this?

Amlogic Kitchen
.....................
Select level 1,2,3 or q/Q to exit: 1
[Msg]Pack Item[USB         ,              DDR] from (level1\DDR.USB),sz[0x319000]B,ft[normal]
[Msg]Pack Item[USB         ,            UBOOT] from (level1\DDR.USB),Duplicated for DDR.USB

[Msg]Pack Item[PARTITION   ,         _aml_dtb] from (level1\_aml_dtb.PARTITION),sz[0x3f000]B,ft[normal]
[Msg]Pack Item[VERIFY      ,         _aml_dtb] from (level1\_aml_dtb.PARTITION),vry[sha1sum 11c953eca5b100c641d89d8074058badf541798a]
[Msg]Pack Item[UBOOT       ,     aml_sdc_burn] from (level1\aml_sdc_burn.UBOOT),sz[0x319200]B,ft[normal]
[Msg]Pack Item[ini         ,     aml_sdc_burn] from (level1\aml_sdc_burn.ini),sz[0x25a]B,
[Msg]Pack Item[PARTITION   ,           boot_a] from (level1\boot_a.PARTITION),sz[0x4000000]B,ft[normal]
[Msg]Pack Item[VERIFY      ,           boot_a] from (level1\boot_a.PARTITION),vry[sha1sum 386fd1dab90c0331348cf34921be8a69d6c63402]
[Msg]Pack Item[PARTITION   ,       bootloader] from (level1\bootloader.PARTITION),sz[0x319000]B,ft[normal]
[Msg]Pack Item[VERIFY      ,       bootloader] from (level1\bootloader.PARTITION),vry[sha1sum 8d82f8a391064b742ae3e37644fc7ed729c84cc3]
[Msg]Pack Item[PARTITION   ,           dtbo_a] from (level1\dtbo_a.PARTITION),sz[0x200000]B,ft[normal]
[Msg]Pack Item[VERIFY      ,           dtbo_a] from (level1\dtbo_a.PARTITION),vry[sha1sum 5ffa5992e86a69bba14a14f2a181fcb271d27e85]
[Msg]Pack Item[PARTITION   ,             logo] from (level1\logo.PARTITION),sz[0xe3d30]B,ft[normal]
[Msg]Pack Item[VERIFY      ,             logo] from (level1\logo.PARTITION),vry[sha1sum 011cc1622e85dd638cf07a227a8579208698061c]
[Msg]Pack Item[dtb         ,           meson1] from (level1\_aml_dtb.PARTITION),Duplicated for _aml_dtb.PARTITION

[Msg]Pack Item[PARTITION   ,        odm_ext_a] from (level1\odm_ext_a.PARTITION),[ERR]f(AmlImagePack.cpp)L1332:failed to open source file : level1\odm_ext_a.PARTITION
Image pack FAILED
Done.
.....................
Amlogic Kitchen
.....................
Select level 1,2,3 or q/Q to exit: 

about the dump.bat pattern bug

for that dts

/dts-v1/;

/ {
	model = "Amlogic";
	compatible = "amlogic, Gxbb";
	amlogic-dt-id = "gxl_p211_1g";
	interrupt-parent = <0x1>;
	#address-cells = <0x2>;
	#size-cells = <0x2>;

	mali@d00c0000 {
		#cooling-cells = <0x2>;
		compatible = "arm,mali-450";
		interrupt-parent = <0x1>;
		reg = <0x0 0xd00c0000 0x0 0x40000 0x0 0xc883c000 0x0 0x4 0x0 0xc8100000 0x0 0x4 0x0 0xc883c000 0x0 0x100 0x0 0xc1104440 0x0 0x100>;
		interrupts = <0x0 0xa0 0x4 0x0 0xa1 0x4 0x0 0xa2 0x4 0x0 0xa3 0x4 0x0 0xa4 0x4 0x0 0xa5 0x4 0x0 0xa6 0x4 0x0 0xa7 0x4 0x0 0xa8 0x4 0x0 0xa9 0x4>;
		interrupt-names = "IRQGP", "IRQGPMMU", "IRQPP", "IRQPMU", "IRQPP0", "IRQPPMMU0", "IRQPP1", "IRQPPMMU1", "IRQPP2", "IRQPPMMU2";
		pmu_domain_config = <0x1 0x2 0x4 0x4 0x0 0x0 0x0 0x0 0x0 0x1 0x2 0x0>;
		pmu_switch_delay = <0xffff>;
		num_of_pp = <0x3>;
		def_clock = <0x3>;
		sc_mpp = <0x3>;
		tbl = <0x2 0x3 0x4 0x5 0x7>;
		clocks = <0x8 0x8 0x8 0x9 0x8 0x11 0x8 0x12 0x8 0x1e 0x8 0x15 0x8 0x13 0x8 0x14>;
		clock-names = "fclk_div3", "fclk_div4", "fclk_div5", "fclk_div7", "gp0_pll", "clk_mali", "clk_mali_0", "clk_mali_1";
		control_interval = <0xc8>;

		clk125_cfg {
			clk_freq = <0x7735940>;
			clk_parent = "fclk_div4";
			clkp_freq = <0x1dcd6500>;
			voltage = <0x47e>;
			keep_count = <0x5>;
			threshold = <0x1e 0x78>;
			linux,phandle = <0x2>;
			phandle = <0x2>;
		};

		clk250_cfg {
			clk_freq = <0xee6b280>;
			clk_parent = "fclk_div4";
			clkp_freq = <0x1dcd6500>;
			voltage = <0x47e>;
			keep_count = <0x5>;
			threshold = <0x50 0xaa>;
		};

		clk285_cfg {
			clk_freq = <0x10fcc140>;
			clk_parent = "fclk_div7";
			clkp_freq = <0x10fcc140>;
			voltage = <0x47e>;
			keep_count = <0x5>;
			threshold = <0x64 0xbe>;
			linux,phandle = <0x3>;
			phandle = <0x3>;
		};

		clk400_cfg {
			clk_freq = <0x17d78400>;
			clk_parent = "fclk_div5";
			clkp_freq = <0x17d78400>;
			voltage = <0x47e>;
			keep_count = <0x5>;
			threshold = <0x98 0xcf>;
			linux,phandle = <0x4>;
			phandle = <0x4>;
		};

		clk500_cfg {
			clk_freq = <0x1dcd6500>;
			clk_parent = "fclk_div4";
			clkp_freq = <0x1dcd6500>;
			voltage = <0x47e>;
			keep_count = <0x5>;
			threshold = <0xb4 0xdc>;
			linux,phandle = <0x5>;
			phandle = <0x5>;
		};

		clk666_cfg {
			clk_freq = <0x27b25a80>;
			clk_parent = "fclk_div3";
			clkp_freq = <0x27b25a80>;
			voltage = <0x47e>;
			keep_count = <0x5>;
			threshold = <0xd2 0xec>;
			linux,phandle = <0x7>;
			phandle = <0x7>;
		};

		clk750_cfg {
			clk_freq = <0x2c588a00>;
			clk_parent = "gp0_pll";
			clkp_freq = <0x2c588a00>;
			voltage = <0x47e>;
			keep_count = <0x5>;
			threshold = <0xe6 0xff>;
		};

		clk800_cfg {
			clk_freq = <0x2f34f600>;
			clk_parent = "gp0_pll";
			clkp_freq = <0x2f34f600>;
			voltage = <0x47e>;
			keep_count = <0x5>;
			threshold = <0xe6 0xff>;
		};
	};

	cpus {
		#address-cells = <0x2>;
		#size-cells = <0x0>;
		#cooling-cells = <0x2>;

		cpu@0 {
			device_type = "cpu";
			compatible = "arm,cortex-a53", "arm,armv8";
			reg = <0x0 0x0>;
			enable-method = "psci";
		};

		cpu@1 {
			device_type = "cpu";
			compatible = "arm,cortex-a53", "arm,armv8";
			reg = <0x0 0x1>;
			enable-method = "psci";
		};

		cpu@2 {
			device_type = "cpu";
			compatible = "arm,cortex-a53", "arm,armv8";
			reg = <0x0 0x2>;
			enable-method = "psci";
		};

		cpu@3 {
			device_type = "cpu";
			compatible = "arm,cortex-a53", "arm,armv8";
			reg = <0x0 0x3>;
			enable-method = "psci";
		};
	};

	timer {
		compatible = "arm,armv8-timer";
		interrupts = <0x1 0xd 0xff01 0x1 0xe 0xff01 0x1 0xb 0xff01 0x1 0xa 0xff01>;
	};

	arm_pmu {
		compatible = "arm,armv8-pmuv3";
		interrupts = <0x0 0x89 0x4 0x0 0x8a 0x4 0x0 0x99 0x4 0x0 0x9a 0x4>;
	};

	pm {
		compatible = "amlogic, pm";
		device_name = "aml_pm";
		gxbaby-suspend;
		reg = <0x0 0xc81000a8 0x0 0x4 0x0 0xc810023c 0x0 0x4>;
	};

	interrupt-controller@2c001000 {
		compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic";
		#interrupt-cells = <0x3>;
		#address-cells = <0x0>;
		interrupt-controller;
		reg = <0x0 0xc4301000 0x0 0x1000 0x0 0xc4302000 0x0 0x100>;
		interrupts = <0x1 0x9 0xf04>;
		linux,phandle = <0x1>;
		phandle = <0x1>;
	};

	aml_restart {
		compatible = "aml, restart";
		sys_reset = <0x84000009>;
		sys_poweroff = <0x84000008>;
	};

	psci {
		compatible = "arm,psci";
		method = "smc";
		cpu_suspend = <0xc4000001>;
		cpu_off = <0x84000002>;
		cpu_on = <0xc4000003>;
		migrate = <0xc4000005>;
	};

	secmon {
		compatible = "amlogic, secmon";
		memory-region = <0x9>;
		in_base_func = <0x82000020>;
		out_base_func = <0x82000021>;
	};

	securitykey {
		compatible = "aml, securitykey";
		storage_query = <0x82000060>;
		storage_read = <0x82000061>;
		storage_write = <0x82000062>;
		storage_tell = <0x82000063>;
		storage_verify = <0x82000064>;
		storage_status = <0x82000065>;
		storage_list = <0x82000067>;
		storage_remove = <0x82000068>;
		storage_in_func = <0x82000023>;
		storage_out_func = <0x82000024>;
		storage_block_func = <0x82000025>;
		storage_size_func = <0x82000027>;
	};

	cpu_iomap {
		compatible = "amlogic, iomap";
		#address-cells = <0x2>;
		#size-cells = <0x2>;
		ranges;

		io_cbus_base {
			reg = <0x0 0xc1100000 0x0 0x100000>;
		};

		io_apb_base {
			reg = <0x0 0xd0000000 0x0 0x200000>;
		};

		io_aobus_base {
			reg = <0x0 0xc8100000 0x0 0x100000>;
		};
	};

	cpufreq-meson {
		compatible = "amlogic, cpufreq-scpi";
		status = "okay";
		clocks = <0xa 0x0>;
		clock-names = "cpu_clk";
	};

	amlogic-watchdog {
		compatible = "amlogic, gx-wdt";
		status = "disable";
		default_timeout = <0xa>;
		reset_watchdog_method = <0x1>;
		reset_watchdog_time = <0x2>;
		shutdown_timeout = <0xa>;
		firmware_timeout = <0x6>;
		suspend_timeout = <0x6>;
		reg = <0x0 0xc11098d0 0x0 0x10>;
		clocks = <0x8 0x2>;
	};

	amlogic-jtag {
		compatible = "amlogic, jtag";
		status = "okay";
		pinctrl-names = "jtag_apao_pins", "jtag_apee_pins";
		pinctrl-0 = <0xb>;
		pinctrl-1 = <0xc>;
	};

	meson_clock {
		compatible = "amlogic, gxl-clock";
		reg = <0x0 0xc883c000 0x0 0x1000 0x0 0xc8100000 0x0 0x1000>;
		#clock-cells = <0x1>;
		#reset-cells = <0x1>;
		sys_max = <0x5b8d8000>;
		linux,phandle = <0x8>;
		phandle = <0x8>;
	};

	cpu_info {
		compatible = "amlogic, cpuinfo";
		cpuinfo_cmd = <0x82000044>;
	};

	pinmux {
		compatible = "amlogic, pinmux-gxl";
		dev_name = "pinmux";
		#pinmux-cells = <0x2>;
		#address-cells = <0x2>;
		#size-cells = <0x2>;
		reg = <0x0 0xc1109880 0x0 0x10>;
		ranges;

		banks@c11080b0 {
			reg = <0x0 0xc88344b0 0x0 0x28 0x0 0xc88344e8 0x0 0x14 0x0 0xc8834520 0x0 0x14 0x0 0xc8834430 0x0 0x40>;
			reg-names = "mux", "pull", "pull-enable", "gpio";
			gpio-controller;
			#gpio-cells = <0x2>;
			linux,phandle = <0x19>;
			phandle = <0x19>;
		};

		ao-bank@c1108030 {
			reg = <0x0 0xc8100014 0x0 0x8 0x0 0xc810002c 0x0 0x4 0x0 0xc8100024 0x0 0x8>;
			reg-names = "mux", "pull", "gpio";
			gpio-controller;
			#gpio-cells = <0x2>;
			linux,phandle = <0x18>;
			phandle = <0x18>;
		};

		eth_pins {
			amlogic,setmask = <0x4 0x3000000>;
			amlogic,clrmask = <0x3 0x300000>;
			amlogic,pins = "GPIOZ_14", "GPIOZ_15";
			linux,phandle = <0x1d>;
			phandle = <0x1d>;
		};

		jtag_apao_pin {
			amlogic,clrmask = <0x6 0x7fe0000>;
			amlogic,pins = "GPIOH_6", "GPIOH_7", "GPIOH_8", "GPIOH_9";
			linux,phandle = <0xb>;
			phandle = <0xb>;
		};

		jtag_apee_pin {
			amlogic,clrmask = <0x6 0x3c>;
			amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3";
			linux,phandle = <0xc>;
			phandle = <0xc>;
		};

		remote_pin {
			amlogic,setmask = <0x10 0x1>;
			amlogic,pins = "GPIOAO_7";
			linux,phandle = <0x17>;
			phandle = <0x17>;
		};

		ao_uart {
			amlogic,setmask = <0x10 0x1800>;
			amlogic,pins = "GPIOAO_0", "GPIOAO_1";
		};

		ao_b_uart {
			amlogic,setmask = <0x10 0x1800000>;
			amlogic,pins = "GPIOAO_4", "GPIOAO_5";
			linux,phandle = <0x5b>;
			phandle = <0x5b>;
		};

		a_uart {
			amlogic,setmask = <0x5 0xf0000>;
			amlogic,clrmask = <0x5 0x3c0>;
			amlogic,pins = "GPIOX_12", "GPIOX_13", "GPIOX_14", "GPIOX_15";
			linux,phandle = <0x58>;
			phandle = <0x58>;
		};

		b_uart {
			amlogic,setmask = <0x2 0x18000>;
			amlogic,pins = "GPIODV_24", "GPIODV_25";
			linux,phandle = <0x59>;
			phandle = <0x59>;
		};

		c_uart {
			amlogic,setmask = <0x5 0x3000>;
			amlogic,pins = "GPIOX_8", "GPIOX_9";
			linux,phandle = <0x5a>;
			phandle = <0x5a>;
		};

		wifi_32k_pins {
			amlogic,setmask = <0x5 0x8000>;
			amlogic,pins = "GPIOX_16";
			linux,phandle = <0x23>;
			phandle = <0x23>;
		};

		sd_clk_cmd_pins {
			amlogic,setmask = <0x6 0xc 0x10 0x1800>;
			amlogic,pins = "CARD_2", "CARD_3";
			amlogic,enable-output = <0x1>;
			amlogic,pullup = <0x1>;
			amlogic,pullupen = <0x1>;
			linux,phandle = <0x24>;
			phandle = <0x24>;
		};

		sd_all_pins {
			amlogic,setmask = <0x6 0x3f 0x10 0x1800>;
			amlogic,clrmask = <0x6 0xfc0>;
			amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
			amlogic,enable-output = <0x1>;
			amlogic,pullup = <0x1>;
			amlogic,pullupen = <0x1>;
			linux,phandle = <0x25>;
			phandle = <0x25>;
		};

		sd_clear_all_pin {
			amlogic,setmask = <0x10 0x1800>;
			amlogic,clrmask = <0x6 0x3f 0x6 0xfc0>;
			amlogic,pins = "GPIOAO_0", "GPIOAO_1";
			amlogic,enable-output = <0x1>;
			amlogic,pullup = <0x1>;
			amlogic,pullupen = <0x1>;
			linux,phandle = <0x2d>;
			phandle = <0x2d>;
		};

		sd_1bit_pins {
			amlogic,setmask = <0x6 0x1c 0x10 0x1800>;
			amlogic,clrmask = <0x6 0xcc3>;
			amlogic,pins = "CARD_1", "CARD_2", "CARD_3";
			amlogic,enable-output = <0x1>;
			amlogic,pullup = <0x1>;
			amlogic,pullupen = <0x1>;
			linux,phandle = <0x26>;
			phandle = <0x26>;
		};

		sd_clk_cmd_uart_pins {
			amlogic,setmask = <0x6 0x30c>;
			amlogic,clrmask = <0x6 0xcc3 0x10 0x1800>;
			amlogic,pins = "CARD_2", "CARD_3";
			amlogic,enable-output = <0x1>;
			amlogic,pullup = <0x1>;
			amlogic,pullupen = <0x1>;
			linux,phandle = <0x27>;
			phandle = <0x27>;
		};

		sd_1bit_uart_pins {
			amlogic,setmask = <0x6 0x31c>;
			amlogic,clrmask = <0x6 0xcc3 0x10 0x1800>;
			amlogic,pins = "CARD_1", "CARD_2", "CARD_3";
			amlogic,enable-output = <0x1>;
			amlogic,pullup = <0x1>;
			amlogic,pullupen = <0x1>;
			linux,phandle = <0x28>;
			phandle = <0x28>;
		};

		sd_to_ao_uart_pins {
			amlogic,setmask = <0x10 0x1800>;
			amlogic,clrmask = <0x6 0x300>;
			amlogic,pins = "GPIOAO_0", "GPIOAO_1";
			amlogic,enable-output = <0x1>;
			amlogic,pullup = <0x1>;
			amlogic,pullupen = <0x1>;
			linux,phandle = <0x29>;
			phandle = <0x29>;
		};

		ao_to_sd_uart_pins {
			amlogic,setmask = <0x6 0x300>;
			amlogic,clrmask = <0x10 0x1800 0x6 0xcc3>;
			amlogic,pins = "CARD_4", "CARD_5";
			amlogic,enable-output = <0x1>;
			amlogic,pullup = <0x1>;
			amlogic,pullupen = <0x1>;
			linux,phandle = <0x2a>;
			phandle = <0x2a>;
		};

		ao_to_sd_jtag_pins {
			amlogic,setmask = <0x6 0x300>;
			amlogic,clrmask = <0x6 0xcff 0x10 0x1800>;
			amlogic,pins = "CARD_4", "CARD_5";
			amlogic,enable-output = <0x1>;
			amlogic,pullup = <0x1>;
			amlogic,pullupen = <0x1>;
			linux,phandle = <0x2b>;
			phandle = <0x2b>;
		};

		sd_to_ao_jtag_pins {
			amlogic,setmask = <0x10 0x1800>;
			amlogic,clrmask = <0x6 0xfc0>;
			amlogic,pins = "GPIOAO_0", "GPIOAO_1";
			amlogic,enable-output = <0x1>;
			amlogic,pullup = <0x1>;
			amlogic,pullupen = <0x1>;
			linux,phandle = <0x2c>;
			phandle = <0x2c>;
		};

		emmc_conf_pull_up {
			amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_4", "BOOT_5", "BOOT_6", "BOOT_7", "BOOT_8", "BOOT_10";
			amlogic,pullup = <0x1>;
			amlogic,pullupen = <0x1>;
			linux,phandle = <0x2f>;
			phandle = <0x2f>;
		};

		emmc_conf_pull_done {
			amlogic,pins = "BOOT_15";
			amlogic,pullup = <0x0>;
			amlogic,pullupen = <0x1>;
			linux,phandle = <0x30>;
			phandle = <0x30>;
		};

		emmc_clk_cmd_pins {
			amlogic,setmask = <0x7 0x60000000>;
			amlogic,clrmask = <0x7 0xe0>;
			amlogic,pins = "BOOT_8", "BOOT_10";
			amlogic,enable-output = <0x1>;
			amlogic,pullup = <0x1>;
			amlogic,pullupen = <0x1>;
			linux,phandle = <0x2e>;
			phandle = <0x2e>;
		};

		emmc_all_pins {
			amlogic,setmask = <0x7 0xf0000000>;
			amlogic,clrmask = <0x7 0xe0>;
			amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_4", "BOOT_5", "BOOT_6", "BOOT_7", "BOOT_8", "BOOT_10", "BOOT_15";
			amlogic,enable-output = <0x1>;
			linux,phandle = <0x31>;
			phandle = <0x31>;
		};

		sdio_clk_cmd_pins {
			amlogic,setmask = <0x5 0xc000000>;
			amlogic,pins = "GPIOX_4", "GPIOX_5";
			amlogic,enable-output = <0x1>;
			amlogic,pullup = <0x1>;
			amlogic,pullupen = <0x1>;
			linux,phandle = <0x32>;
			phandle = <0x32>;
		};

		sdio_all_pins {
			amlogic,setmask = <0x5 0xfc000000>;
			amlogic,pins = "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3", "GPIOX_4", "GPIOX_5";
			amlogic,enable-output = <0x1>;
			amlogic,pullup = <0x1>;
			amlogic,pullupen = <0x1>;
			linux,phandle = <0x33>;
			phandle = <0x33>;
		};

		conf_nand_pulldown {
			amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_4", "BOOT_5", "BOOT_6", "BOOT_7", "BOOT_15";
			amlogic,pullup = <0x0>;
			amlogic,pullupen = <0x1>;
			linux,phandle = <0x34>;
			phandle = <0x34>;
		};

		conf_nand_pullup {
			amlogic,pins = "BOOT_8", "BOOT_10";
			amlogic,pullup = <0x1>;
			amlogic,pullupen = <0x1>;
			linux,phandle = <0x35>;
			phandle = <0x35>;
		};

		all_nand_pins {
			amlogic,setmask = <0x7 0x800000ff>;
			amlogic,clrmask = <0x7 0x70ffbc00>;
			amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_4", "BOOT_5", "BOOT_6", "BOOT_7", "BOOT_8", "BOOT_9", "BOOT_10", "BOOT_11", "BOOT_12", "BOOT_13", "BOOT_14", "BOOT_15";
			amlogic,enable-output = <0x1>;
			linux,phandle = <0x36>;
			phandle = <0x36>;
		};

		nand_cs {
			amlogic,setmask = <0x7 0xc0>;
			amlogic,clrmask = <0x7 0x40040000>;
			amlogic,pins = "BOOT_8", "BOOT_9";
			linux,phandle = <0x37>;
			phandle = <0x37>;
		};

		hdmitx_hpd {
			amlogic,setmask = <0x6 0x80000000>;
			amlogic,pins = "GPIOH_0";
			linux,phandle = <0x54>;
			phandle = <0x54>;
		};

		hdmitx_ddc {
			amlogic,setmask = <0x6 0x30000000>;
			amlogic,pins = "GPIOH_1", "GPIOH_2";
			linux,phandle = <0x55>;
			phandle = <0x55>;
		};

		hdmitx_aocec {
			amlogic,setmask = <0x10 0x8000>;
			amlogic,clrmask = <0x10 0x24000 0x11 0x1>;
			amlogic,pins = "GPIOAO_8";
			linux,phandle = <0x57>;
			phandle = <0x57>;
		};

		hdmitx_eecec {
			amlogic,setmask = <0x10 0x4000>;
			amlogic,clrmask = <0x10 0x28000 0x11 0x1>;
			amlogic,pins = "GPIOAO_8";
		};

		a_i2c {
			amlogic,setmask = <0x1 0xc000>;
			amlogic,clrmask = <0x3 0x18 0x2 0x18000 0x2 0xc0 0x1 0x600000>;
			amlogic,pins = "GPIODV_24", "GPIODV_25";
			linux,phandle = <0xd>;
			phandle = <0xd>;
		};

		b_i2c {
			amlogic,setmask = <0x1 0x3000>;
			amlogic,clrmask = <0x2 0x6000 0x1 0x1c0000>;
			amlogic,pins = "GPIODV_26", "GPIODV_27";
			linux,phandle = <0xe>;
			phandle = <0xe>;
		};

		c_i2c {
			amlogic,setmask = <0x1 0xc00>;
			amlogic,clrmask = <0x2 0x1800 0x1 0x200 0x2 0x20>;
			amlogic,pins = "GPIODV_28", "GPIODV_29";
			linux,phandle = <0xf>;
			phandle = <0xf>;
		};

		d_i2c {
			amlogic,setmask = <0x5 0x30>;
			amlogic,clrmask = <0x5 0x300c03>;
			amlogic,pins = "GPIOX_10", "GPIOX_11";
			linux,phandle = <0x10>;
			phandle = <0x10>;
		};

		spicc_pins_z11z12z13 {
			amlogic,setmask = <0x4 0x1c>;
			amlogic,clrmask = <0x3 0x800 0x4 0x1c00>;
			amlogic,pins = "GPIOZ_11", "GPIOZ_12", "GPIOZ_13";
		};

		spicc_pulldown_z11z12z13 {
			amlogic,pins = "GPIOZ_11", "GPIOZ_12", "GPIOZ_13";
			amlogic,pullup = <0x0>;
			amlogic,pullupen = <0x1>;
		};

		spicc_pullup_z11z12z13 {
			amlogic,pins = "GPIOZ_11", "GPIOZ_12", "GPIOZ_13";
			amlogic,pullup = <0x1>;
			amlogic,pullupen = <0x1>;
		};

		spicc_pins_x8x9x11 {
			amlogic,setmask = <0x5 0xd>;
			amlogic,clrmask = <0x5 0xd03430 0x6 0xd>;
			amlogic,pins = "GPIOX_8", "GPIOX_9", "GPIOX_11";
		};

		spicc_pulldown_x8x9x11 {
			amlogic,pins = "GPIOX_8", "GPIOX_9", "GPIOX_11";
			amlogic,pullup = <0x0>;
			amlogic,pullupen = <0x1>;
		};

		spicc_pullup_x8x9x11 {
			amlogic,pins = "GPIOX_8", "GPIOX_9", "GPIOX_11";
			amlogic,pullup = <0x1>;
			amlogic,pullupen = <0x1>;
		};

		audio_pin {
			amlogic,setmask = <0x6 0x7800000>;
			amlogic,clrmask = <0x6 0x7e0000>;
			amlogic,pins = "GPIOH_6", "GPIOH_7", "GPIOH_8", "GPIOH_9";
			linux,phandle = <0x60>;
			phandle = <0x60>;
		};

		audio_pin1 {
			amlogic,setmask = <0x6 0x10000000>;
			amlogic,clrmask = <0x6 0x8000000>;
			amlogic,pins = "GPIOH_4";
			linux,phandle = <0x5f>;
			phandle = <0x5f>;
		};

		audio_btpcm_pins {
			amlogic,setmask = <0x5 0xf00000>;
			amlogic,clrmask = <0x5 0x3c33>;
			amlogic,pins = "GPIOX_8", "GPIOX_9", "GPIOX_10", "GPIOX_11";
			linux,phandle = <0x5e>;
			phandle = <0x5e>;
		};
	};

	cpu_version {
		reg = <0x0 0xc8100220 0x0 0x4>;
	};

	meson_clk_msr {
		compatible = "amlogic, gxl_measure";
		reg = <0x0 0xc110875c 0x0 0x4 0x0 0xc1108764 0x0 0x4>;
	};

	i2c@c1108500 {
		compatible = "amlogic, meson-i2c";
		dev_name = "i2c-A";
		status = "disabled";
		reg = <0x0 0xc1108500 0x0 0x20>;
		device_id = <0x1>;
		pinctrl-names = "default";
		pinctrl-0 = <0xd>;
		#address-cells = <0x1>;
		#size-cells = <0x0>;
		use_pio = <0x0>;
		master_i2c_speed = <0x493e0>;
		clocks = <0x8 0xa>;
		clock-names = "clk_i2c";
		resets = <0x8 0x9>;
	};

	i2c@c11087c0 {
		compatible = "amlogic, meson-i2c";
		dev_name = "i2c-B";
		status = "disabled";
		reg = <0x0 0xc11087c0 0x0 0x20>;
		device_id = <0x2>;
		pinctrl-names = "default";
		pinctrl-0 = <0xe>;
		#address-cells = <0x1>;
		#size-cells = <0x0>;
		use_pio = <0x0>;
		master_i2c_speed = <0x493e0>;
		clocks = <0x8 0xa>;
		clock-names = "clk_i2c";
		resets = <0x8 0x9>;
	};

	i2c@c11087e0 {
		compatible = "amlogic, meson-i2c";
		dev_name = "i2c-C";
		status = "disabled";
		reg = <0x0 0xc11087e0 0x0 0x20>;
		device_id = <0x3>;
		pinctrl-names = "default";
		pinctrl-0 = <0xf>;
		#address-cells = <0x1>;
		#size-cells = <0x0>;
		use_pio = <0x0>;
		master_i2c_speed = <0x493e0>;
		clocks = <0x8 0xa>;
		clock-names = "clk_i2c";
		resets = <0x8 0x9>;
	};

	i2c@c1108d20 {
		compatible = "amlogic, meson-i2c";
		dev_name = "i2c-D";
		status = "disabled";
		reg = <0x0 0xc1108d20 0x0 0x20>;
		device_id = <0x4>;
		pinctrl-names = "default";
		pinctrl-0 = <0x10>;
		#address-cells = <0x1>;
		#size-cells = <0x0>;
		use_pio = <0x0>;
		master_i2c_speed = <0x493e0>;
		clocks = <0x8 0xa>;
		clock-names = "clk_i2c";
		resets = <0x8 0x9>;
	};

	efuse {
		compatible = "amlogic, efuse";
		read_cmd = <0x82000030>;
		write_cmd = <0x82000031>;
		get_max_cmd = <0x82000033>;
		key = <0x11>;
		resets = <0x8 0x3e>;
		reset-names = "efuse_clk";
		status = "okay";
	};

	efusekey {
		keynum = <0x4>;
		key0 = <0x12>;
		key1 = <0x13>;
		key2 = <0x14>;
		key3 = <0x15>;
		linux,phandle = <0x11>;
		phandle = <0x11>;

		key0 {
			keyname = "mac";
			offset = <0x0>;
			size = <0x6>;
			linux,phandle = <0x12>;
			phandle = <0x12>;
		};

		key1 {
			keyname = "mac_bt";
			offset = <0x6>;
			size = <0x6>;
			linux,phandle = <0x13>;
			phandle = <0x13>;
		};

		key2 {
			keyname = "mac_wifi";
			offset = <0xc>;
			size = <0x6>;
			linux,phandle = <0x14>;
			phandle = <0x14>;
		};

		key3 {
			keyname = "usid";
			offset = <0x12>;
			size = <0x10>;
			linux,phandle = <0x15>;
			phandle = <0x15>;
		};
	};

	mhu@c883c400 {
		compatible = "amlogic, meson_mhu";
		reg = <0x0 0xc883c400 0x0 0x4c 0x0 0xc8013000 0x0 0x800>;
		interrupts = <0x0 0xd1 0x8 0x0 0xd2 0x8>;
		#mbox-cells = <0x1>;
		mbox-names = "cpu_to_scp_low", "cpu_to_scp_high";
		mboxes = <0x16 0x0 0x16 0x1>;
		linux,phandle = <0x16>;
		phandle = <0x16>;
	};

	scpi_clocks {
		compatible = "arm,scpi-clks";

		scpi_clocks@0 {
			compatible = "arm,scpi-clk-indexed";
			#clock-cells = <0x1>;
			clock-indices = <0x0>;
			clock-output-names = "vcpu";
			linux,phandle = <0xa>;
			phandle = <0xa>;
		};
	};

	meson-remote {
		compatible = "amlogic, aml_remote";
		dev_name = "meson-remote";
		status = "okay";
		remote_ao_offset = <0x580>;
		interrupts = <0x0 0xc4 0x1>;
		pinctrl-names = "default";
		pinctrl-0 = <0x17>;
		led_status_on = <0x0>;
		led_pin = <0x18 0x3 0x0>;
	};

	rng {
		compatible = "amlogic,meson-rng";
		reg = <0x0 0xc8834000 0x0 0x4>;
	};

	audio_data {
		compatible = "amlogic, audio_data";
		query_licence_cmd = <0x82000050>;
		status = "okay";
	};

	saradc {
		compatible = "amlogic, saradc";
		status = "okay";
		interrupts = <0x0 0x9 0x1>;
		interrupt-names = "saradc_int";
		clocks = <0x8 0x2>;
		clock-names = "saradc_clk";
		resets = <0x8 0x56>;
		reg = <0x0 0xc1108680 0x0 0x30 0x0 0xc883c3d8 0x0 0x8>;
	};

	defendkey {
		compatible = "amlogic, defendkey";
		reg = <0x0 0xc8834500 0x0 0x4>;
		mem_size = <0x0 0x100000>;
		status = "okay";
	};

	spicc {
		compatible = "amlogic, spicc";
		status = "disabled";
		reg = <0x0 0xc1108d80 0x0 0x28>;
		resets = <0x8 0x8>;
		clocks = <0x8 0xa>;
		clock-names = "spicc_clk";
		interrupts = <0x0 0x51 0x1>;
		device_id = <0x0>;
	};

	aliases {
		serial0 = "/serial@c81004c0";
		serial1 = "/serial@c11084c0";
		serial2 = "/serial@c11084dc";
		serial3 = "/serial@c1108700";
		serial4 = "/serial@c81004e0";
	};

	memory@00000000 {
		device_type = "memory";
		linux,usable-memory = <0x0 0x100000 0x0 0x3ff00000>;
	};

	reserved-memory {
		#address-cells = <0x2>;
		#size-cells = <0x2>;
		ranges;

		linux,secmon {
			compatible = "amlogic, aml_secmon_memory";
			reg = <0x0 0x10000000 0x0 0x200000>;
			no-map;
			linux,phandle = <0x9>;
			phandle = <0x9>;
		};

		linux,secos {
			status = "disabled";
			compatible = "amlogic, aml_secos_memory";
			reg = <0x0 0x5300000 0x0 0x2000000>;
			no-map;
		};

		aml_pstore {
			compatible = "amlogic, pstore";
			reg = <0x0 0x7300000 0x0 0x100000>;
			no-map;
		};

		linux,secchk {
			compatible = "shared-dma-pool";
			status = "disabled";
			reusable;
			size = <0x0 0x2000000>;
			alignment = <0x0 0x400000>;
			linux,contiguous-region;
		};

		linux,meson-fb {
			compatible = "amlogic, fb-memory";
			reg = <0x0 0x3c000000 0x0 0x2000000>;
			no-map;
			linux,phandle = <0x1a>;
			phandle = <0x1a>;
		};

		linux,di {
			compatible = "amlogic, di-mem";
			reg = <0x0 0x3e000000 0x0 0x1e00000>;
			linux,phandle = <0x22>;
			phandle = <0x22>;
		};

		linux,ion-dev {
			compatible = "amlogic, idev-mem";
			size = <0x0 0x3000000>;
			linux,phandle = <0x1e>;
			phandle = <0x1e>;
		};

		linux,vdin1_cma {
			compatible = "shared-dma-pool";
			linux,phandle = <0x6>;
			reusable;
			size = <0x0 0x1400000>;
			alignment = <0x0 0x400000>;
		};

		linux,ppmgr {
			compatible = "shared-dma-pool";
			size = <0x0 0x0>;
			linux,phandle = <0x20>;
			phandle = <0x20>;
		};

		linux,amlvideo2 {
			compatible = "amlogic, amlvideo2_memory";
			size = <0x0 0x1800000>;
			linux,phandle = <0x21>;
			phandle = <0x21>;
		};

		linux,codec_mm_cma {
			compatible = "shared-dma-pool";
			reusable;
			size = <0x0 0xd000000>;
			alignment = <0x0 0x400000>;
			linux,contiguous-region;
			linux,phandle = <0x1b>;
			phandle = <0x1b>;
		};

		linux,picdec {
			compatible = "shared-dma-pool";
			reusable;
			size = <0x0 0x0>;
			alignment = <0x0 0x0>;
			linux,contiguous-region;
			linux,phandle = <0x1f>;
			phandle = <0x1f>;
		};

		linux,codec_mm_reserved {
			compatible = "amlogic, codec-mm-reserved";
			size = <0x0 0x4100000>;
			alignment = <0x0 0x100000>;
			linux,phandle = <0x1c>;
			phandle = <0x1c>;
		};
	};

	sysled {
		compatible = "amlogic, sysled";
		dev_name = "sysled";
		status = "disable";
		led_gpio = <0x19 0x49 0x1>;
	};

	meson-vout {
		compatible = "amlogic, meson-vout";
		dev_name = "meson-vout";
		status = "okay";
	};

	meson-fb {
		compatible = "amlogic, meson-fb";
		memory-region = <0x1a>;
		dev_name = "meson-fb";
		status = "okay";
		interrupts = <0x0 0x3 0x1 0x0 0x59 0x1>;
		interrupt-names = "viu-vsync", "rdma";
		mem_size = <0x1800000 0x100000>;
		display_mode_default = "1080p60hz";
		scale_mode = <0x1>;
		display_size_default = <0x780 0x438 0x780 0xca8 0x20>;
	};

	ge2d {
		compatible = "amlogic, ge2d";
		dev_name = "ge2d";
		status = "okay";
		interrupts = <0x0 0x96 0x1>;
		interrupt-names = "ge2d";
		clocks = <0x8 0x17 0x8 0x19>;
		clock-names = "clk_vapb_0", "clk_ge2d";
		resets = <0x8 0x34>;
		reset-names = "ge2d";
	};

	codec_io {
		compatible = "amlogic, codec_io";
		#address-cells = <0x2>;
		#size-cells = <0x2>;
		ranges;

		io_cbus_base {
			reg = <0x0 0xc1100000 0x0 0x100000>;
		};

		io_dos_base {
			reg = <0x0 0xc8820000 0x0 0x10000>;
		};

		io_hiubus_base {
			reg = <0x0 0xc883c000 0x0 0x2000>;
		};

		io_aobus_base {
			reg = <0x0 0xc8100000 0x0 0x100000>;
		};

		io_vcbus_base {
			reg = <0x0 0xd0100000 0x0 0x40000>;
		};

		io_dmc_base {
			reg = <0x0 0xc8838000 0x0 0x400>;
		};
	};

	codec_mm {
		compatible = "amlogic, codec, mm";
		memory-region = <0x1b 0x1c>;
		dev_name = "codec_mm";
		status = "okay";
	};

	ethernet@0xc9410000 {
		compatible = "amlogic, gxbb-rmii-dwmac";
		reg = <0x0 0xc9410000 0x0 0x10000 0x0 0xc8834540 0x0 0x8 0x0 0xc8834558 0x0 0xc>;
		interrupts = <0x0 0x8 0x1>;
		phy-mode = "rmii";
		pinctrl-names = "eth_pins";
		pinctrl-0 = <0x1d>;
		mc_val = <0x1800>;
		resets = <0x8 0x23>;
		reset-names = "ethpower";
		interrupt-names = "macirq";
		clocks = <0x8 0xa>;
		clock-names = "ethclk81";
		internal_phy = <0x1>;
	};

	mesonstream {
		compatible = "amlogic, codec, streambuf";
		dev_name = "mesonstream";
		status = "okay";
		resets = <0x8 0x39 0x8 0x59 0x8 0x24 0x8 0x1>;
		reset-names = "parser_top", "vpu_intr", "demux", "vdec";
	};

	amvideocap {
		compatible = "amlogic, amvideocap";
		dev_name = "amvideocap.0";
		status = "okay";
		max_size = <0x8>;
	};

	ion_dev {
		compatible = "amlogic, ion_dev";
		memory-region = <0x1e>;
	};

	vdec {
		compatible = "amlogic, vdec";
		dev_name = "vdec.0";
		status = "okay";
		interrupts = <0x0 0x3 0x1 0x0 0x17 0x1 0x0 0x20 0x1 0x0 0x2b 0x1 0x0 0x2c 0x1 0x0 0x2d 0x1>;
		interrupt-names = "vsync", "demux", "parser", "mailbox_0", "mailbox_1", "mailbox_2";
	};

	picdec {
		compatible = "amlogic, picdec";
		memory-region = <0x1f>;
		dev_name = "picdec";
		status = "okay";
	};

	ppmgr {
		compatible = "amlogic, ppmgr";
		memory-region = <0x20>;
		dev_name = "ppmgr";
		status = "okay";
	};

	amlvideo2 {
		compatible = "amlogic, amlvideo2";
		memory-region = <0x21>;
		dev_name = "amlvideo2";
		status = "okay";
	};

	deinterlace {
		compatible = "amlogic, deinterlace";
		status = "okay";
		memory-region = <0x22>;
		interrupts = <0x0 0x2e 0x1 0x0 0x6 0x1>;
		interrupt-names = "de_irq", "timerc";
		buffer-size = <0x2fd000>;
		hw-version = <0x2>;
	};

	vdin1 {
		compatible = "amlogic, vdin";
		memory-region = <0x6>;
		dev_name = "vdin1";
		status = "ok";
		reserve-iomap = "true";
		interrupts = <0x0 0x55 0x1>;
		rdma-irq = <0x4>;
		clocks = <0x8 0x2 0x8 0x28>;
		clock-names = "xtal", "cts_vid_lock_clk";
		vdin_id = <0x1>;
	};

	amvdec_656in0 {
		compatible = "amlogic, amvdec_656in";
		dev_name = "amvdec_656in0";
		status = "ok";
		reg = <0x0 0xd0048000 0x0 0x7c>;
		clocks = <0x8 0x7 0x8 0x26>;
		clock-names = "fclk_div2", "cts_bt656_clk0";
		bt656_id = <0x0>;
	};

	amvdec_656in1 {
		compatible = "amlogic, amvdec_656in";
		dev_name = "amvdec_656in1";
		status = "ok";
		reg = <0x0 0xd0050000 0x0 0x7c>;
		clocks = <0x8 0x7 0x8 0x27>;
		clock-names = "fclk_div2", "cts_bt656_clk1";
		bt656_id = <0x1>;
	};

	amlvecm {
		compatible = "amlogic, vecm";
		dev_name = "aml_vecm";
		status = "okay";
		gamma_en = <0x0>;
		wb_en = <0x0>;
		cm_en = <0x0>;
	};

	amvenc_avc {
		compatible = "amlogic, amvenc_avc";
		dev_name = "amvenc_avc";
		status = "okay";
		interrupts = <0x0 0x2d 0x1>;
		interrupt-names = "mailbox_2";
	};

	vpu {
		compatible = "amlogic, vpu";
		dev_name = "vpu";
		status = "ok";
		clk_level = <0x7>;
	};

	bt-dev {
		compatible = "amlogic, bt-dev";
		dev_name = "bt-dev";
		status = "okay";
		gpio_reset = <0x19 0x60 0x0>;
	};

	rtc {
		compatible = "amlogic, aml_vrtc";
		alarm_reg_addr = <0xc81000a8>;
		timer_e_addr = <0xc1109988>;
		init_date = "2015/01/01";
		status = "okay";
	};

	wifi {
		compatible = "amlogic, aml_wifi";
		dev_name = "aml_wifi";
		status = "okay";
		interrupt_pin = <0x19 0x56 0x0>;
		interrupts = <0x0 0x44 0x4>;
		irq_trigger_type = "GPIO_IRQ_LOW";
		power_on_pin = <0x19 0x55 0x0>;
		pinctrl-names = "wifi_32k_pins";
		pinctrl-0 = <0x23>;
	};

	sd {
		compatible = "amlogic, aml_sd_emmc";
		dev_name = "aml_newsd.0";
		status = "okay";
		reg = <0x0 0xd0072000 0x0 0x2000>;
		interrupts = <0x0 0xd9 0x1 0x0 0x43 0x1 0x0 0x45 0x1>;
		pinctrl-names = "sd_clk_cmd_pins", "sd_all_pins", "sd_1bit_pins", "sd_clk_cmd_uart_pins", "sd_1bit_uart_pins", "sd_to_ao_uart_pins", "ao_to_sd_uart_pins", "ao_to_sd_jtag_pins", "sd_to_ao_jtag_pins", "sd_clear_all_pin";
		pinctrl-0 = <0x24>;
		pinctrl-1 = <0x25>;
		pinctrl-2 = <0x26>;
		pinctrl-3 = <0x27>;
		pinctrl-4 = <0x28>;
		pinctrl-5 = <0x29>;
		pinctrl-6 = <0x2a>;
		pinctrl-7 = <0x2b>;
		pinctrl-8 = <0x2c>;
		pinctrl-9 = <0x2d>;

		sd {
			status = "okay";
			pinname = "sd";
			ocr_avail = <0x200080>;
			caps = "MMC_CAP_4_BIT_DATA", "MMC_CAP_MMC_HIGHSPEED", "MMC_CAP_SD_HIGHSPEED";
			f_min = <0x61a80>;
			f_max = <0x5f5e100>;
			max_req_size = <0x20000>;
			gpio_card5 = <0x19 0x2f 0x0>;
			gpio_dat3 = <0x19 0x2e 0x0>;
			gpio_card3 = <0x19 0x2d 0x0>;
			gpio_card2 = <0x19 0x2c 0x0>;
			gpio_card1 = <0x19 0x2b 0x0>;
			jtag_pin = <0x19 0x2a 0x0>;
			gpio_cd = <0x19 0x30 0x0>;
			irq_in = <0x3>;
			irq_out = <0x5>;
			card_type = <0x5>;
		};
	};

	emmc {
		compatible = "amlogic, aml_sd_emmc";
		dev_name = "aml_newsd.0";
		status = "okay";
		reg = <0x0 0xd0074000 0x0 0x2000>;
		interrupts = <0x0 0xda 0x1>;
		pinctrl-names = "emmc_clk_cmd_pins", "emmc_all_pins";
		pinctrl-0 = <0x2e>;
		pinctrl-1 = <0x2f 0x30 0x31>;

		emmc {
			status = "disabled";
			pinname = "emmc";
			ocr_avail = <0x200080>;
			caps = "MMC_CAP_8_BIT_DATA", "MMC_CAP_MMC_HIGHSPEED", "MMC_CAP_SD_HIGHSPEED", "MMC_CAP_NONREMOVABLE", "MMC_CAP_1_8V_DDR", "MMC_CAP_HW_RESET", "MMC_CAP_ERASE", "MMC_CAP_CMD23";
			f_min = <0x493e0>;
			f_max = <0x2faf080>;
			max_req_size = <0x20000>;
			gpio_dat3 = <0x19 0x1d 0x0>;
			hw_reset = <0x19 0x23 0x0>;
			card_type = <0x1>;
		};
	};

	sdio {
		compatible = "amlogic, aml_sd_emmc";
		dev_name = "aml_newsd.0";
		status = "okay";
		reg = <0x0 0xd0070000 0x0 0x2000>;
		interrupts = <0x0 0xd8 0x4>;
		pinctrl-names = "sdio_clk_cmd_pins", "sdio_all_pins";
		pinctrl-0 = <0x32>;
		pinctrl-1 = <0x33>;

		sdio {
			status = "okay";
			pinname = "sdio";
			ocr_avail = <0x200080>;
			caps = "MMC_CAP_4_BIT_DATA", "MMC_CAP_MMC_HIGHSPEED", "MMC_CAP_SD_HIGHSPEED", "MMC_CAP_NONREMOVABLE", "MMC_CAP_UHS_SDR12", "MMC_CAP_UHS_SDR25", "MMC_CAP_UHS_SDR50", "MMC_CAP_UHS_SDR104", "MMC_PM_KEEP_POWER", "MMC_CAP_SDIO_IRQ";
			f_min = <0x61a80>;
			f_max = <0xbebc200>;
			max_req_size = <0x20000>;
			card_type = <0x3>;
		};
	};

	nand {
		compatible = "amlogic, aml_nand";
		dev_name = "nand";
		status = "okay";
		reg = <0x0 0xd0074800 0x0 0x200>;
		interrupts = <0x0 0x22 0x1>;
		pinctrl-names = "nand_rb_mod", "nand_norb_mod", "nand_cs_pins_only";
		pinctrl-0 = <0x34 0x35 0x36>;
		pinctrl-1 = <0x34 0x35 0x36>;
		pinctrl-2 = <0x37>;
		device_id = <0x0>;
		plat-names = "nandnormal";
		plat-num = <0x1>;
		plat-part-0 = <0x38>;

		normal {
			enable_pad = "ce0", "ce1", "ce2", "ce3";
			busy_pad = "rb0";
			linux,phandle = <0x38>;
			phandle = <0x38>;
		};
	};

	aml_nftl {
		compatible = "amlogic, nftl";
	};

	partitions {
		parts = <0xe>;
		part-0 = <0x39>;
		part-1 = <0x3a>;
		part-2 = <0x3b>;
		part-3 = <0x3c>;
		part-4 = <0x3d>;
		part-5 = <0x3e>;
		part-6 = <0x3f>;
		part-7 = <0x40>;
		part-8 = <0x41>;
		part-9 = <0x42>;
		part-10 = <0x43>;
		part-11 = <0x44>;
		part-12 = <0x45>;
		part-13 = <0x46>;

		logo {
			pname = "logo";
			size = <0x0 0x2000000>;
			mask = <0x1>;
			linux,phandle = <0x39>;
			phandle = <0x39>;
		};

		recovery {
			pname = "recovery";
			size = <0x0 0x2000000>;
			mask = <0x1>;
			linux,phandle = <0x3a>;
			phandle = <0x3a>;
		};

		rsv {
			pname = "rsv";
			size = <0x0 0x800000>;
			mask = <0x1>;
			linux,phandle = <0x3b>;
			phandle = <0x3b>;
		};

		tee {
			pname = "tee";
			size = <0x0 0x800000>;
			mask = <0x1>;
			linux,phandle = <0x3c>;
			phandle = <0x3c>;
		};

		crypt {
			pname = "crypt";
			size = <0x0 0x2000000>;
			mask = <0x1>;
			linux,phandle = <0x3d>;
			phandle = <0x3d>;
		};

		misc {
			pname = "misc";
			size = <0x0 0x2000000>;
			mask = <0x1>;
			linux,phandle = <0x3e>;
			phandle = <0x3e>;
		};

		instaboot {
			pname = "instaboot";
			size = <0x0 0x20000000>;
			mask = <0x1>;
			linux,phandle = <0x3f>;
			phandle = <0x3f>;
		};

		boot {
			pname = "boot";
			size = <0x0 0x2000000>;
			mask = <0x1>;
			linux,phandle = <0x40>;
			phandle = <0x40>;
		};

		system {
			pname = "system";
			size = <0x0 0x28000000>;
			mask = <0x1>;
			linux,phandle = <0x41>;
			phandle = <0x41>;
		};

		cache {
			pname = "cache";
			size = <0x0 0x20000000>;
			mask = <0x2>;
			linux,phandle = <0x42>;
			phandle = <0x42>;
		};

		ghost {
			pname = "ghost";
			size = <0x0 0x20000000>;
			mask = <0x4>;
			linux,phandle = <0x43>;
			phandle = <0x43>;
		};

		info {
			pname = "info";
			size = <0x0 0x4000000>;
			mask = <0x4>;
			linux,phandle = <0x44>;
			phandle = <0x44>;
		};

		params {
			pname = "params";
			size = <0x0 0x4000000>;
			mask = <0x2>;
			linux,phandle = <0x45>;
			phandle = <0x45>;
		};

		data {
			pname = "data";
			size = <0xffffffff 0xffffffff>;
			mask = <0x4>;
			linux,phandle = <0x46>;
			phandle = <0x46>;
		};
	};

	unifykey {
		compatible = "amlogic, unifykey";
		status = "ok";
		unifykey-num = <0xd>;
		unifykey-index-0 = <0x47>;
		unifykey-index-1 = <0x48>;
		unifykey-index-2 = <0x49>;
		unifykey-index-3 = <0x4a>;
		unifykey-index-4 = <0x4b>;
		unifykey-index-5 = <0x4c>;
		unifykey-index-6 = <0x4d>;
		unifykey-index-7 = <0x4e>;
		unifykey-index-8 = <0x4f>;
		unifykey-index-9 = <0x50>;
		unifykey-index-10 = <0x51>;
		unifykey-index-11 = <0x52>;
		unifykey-index-12 = <0x53>;

		key_0 {
			key-name = "usid";
			key-device = "normal";
			key-permit = "read", "write", "del";
			linux,phandle = <0x47>;
			phandle = <0x47>;
		};

		key_1 {
			key-name = "mac";
			key-device = "normal";
			key-permit = "read", "write", "del";
			linux,phandle = <0x48>;
			phandle = <0x48>;
		};

		key_2 {
			key-name = "hdcp";
			key-device = "secure";
			key-type = "sha1";
			key-permit = "read", "write", "del";
			linux,phandle = <0x49>;
			phandle = <0x49>;
		};

		key_3 {
			key-name = "secure_boot_set";
			key-device = "efuse";
			key-permit = "write";
			linux,phandle = <0x4a>;
			phandle = <0x4a>;
		};

		key_4 {
			key-name = "mac_bt";
			key-device = "normal";
			key-permit = "read", "write", "del";
			key-type = "mac";
			linux,phandle = <0x4b>;
			phandle = <0x4b>;
		};

		key_5 {
			key-name = "mac_wifi";
			key-device = "normal";
			key-permit = "read", "write", "del";
			key-type = "mac";
			linux,phandle = <0x4c>;
			phandle = <0x4c>;
		};

		key_6 {
			key-name = "hdcp2_tx";
			key-device = "normal";
			key-permit = "read", "write", "del";
			linux,phandle = <0x4d>;
			phandle = <0x4d>;
		};

		key_7 {
			key-name = "hdcp2_rx";
			key-device = "normal";
			key-permit = "read", "write", "del";
			linux,phandle = <0x4e>;
			phandle = <0x4e>;
		};

		key_8 {
			key-name = "widevinekeybox";
			key-device = "secure";
			key-type = "sha1";
			key-permit = "read", "write", "del";
			linux,phandle = <0x4f>;
			phandle = <0x4f>;
		};

		key_9 {
			key-name = "deviceid";
			key-device = "normal";
			key-permit = "read", "write", "del";
			linux,phandle = <0x50>;
			phandle = <0x50>;
		};

		key_10 {
			key-name = "hdcp22_fw_private";
			key-device = "secure";
			key-permit = "read", "write", "del";
			linux,phandle = <0x51>;
			phandle = <0x51>;
		};

		key_11 {
			key-name = "telecomkeybox";
			key-device = "secure";
			key-type = "raw";
			key-permit = "read", "write", "del";
			linux,phandle = <0x52>;
			phandle = <0x52>;
		};

		key_12 {
			key-name = "stbid";
			key-device = "normal";
			key-permit = "read", "write", "del";
			linux,phandle = <0x53>;
			phandle = <0x53>;
		};
	};

	tfsec {
		compatible = "amlogic, tfsec";
		tap_get_sn = <0xb000ff01>;
		tap_decrypt_cloud_challenge = <0xb000ff02>;
		tap_decrypt_terminal_challenge = <0xb000ff03>;
		tap_burn_in = <0xb000ff04>;
		tap_burn_sn = <0xb000ff05>;
		tap_burn_ci = <0xb000ff06>;
		tap_burn_mac = <0xb000ff07>;
		tap_get_mac = <0xb000ff08>;
		tap_get_ci = <0xb000ff09>;
		tap_query_in = <0xb000ff0a>;
	};

	amhdmitx {
		compatible = "amlogic, amhdmitx";
		dev_name = "amhdmitx";
		status = "okay";
		pinctrl-names = "hdmitx_hpd", "hdmitx_ddc";
		pinctrl-0 = <0x54>;
		pinctrl-1 = <0x55>;
		vend-data = <0x56>;
		interrupts = <0x0 0x39 0x1>;
		interrupt-names = "hdmitx_hpd";
		clocks = <0x8 0xb 0x8 0xc 0x8 0xd 0x8 0xe 0x8 0xf 0x8 0x16>;
		clock-names = "hdmitx_clk_sys", "hdmitx_clk_encp", "hdmitx_clk_enci", "hdmitx_clk_pixel", "hdmitx_clk_phy", "hdmitx_clk_vid";
		gpio_i2c_en = <0x1>;
		#address-cells = <0x2>;
		#size-cells = <0x2>;
		ranges;

		vend_data {
			compatible = "amlogic, amlogic-cec";
			status = "okay";
			vendor_name = "Amlogic";
			vendor_id = <0x0>;
			product_desc = "GXBB Mbox";
			cec_osd_string = "MBox";
			interrupts = <0x0 0xc7 0x1>;
			interrupt-names = "hdmitx_cec";
			pinctrl-names = "hdmitx_aocec";
			pinctrl-0 = <0x57>;
			reg = <0x0 0xc810023c 0x0 0x4 0x0 0xc8100000 0x0 0x200>;
			linux,phandle = <0x56>;
			phandle = <0x56>;
		};
	};

	tvout {
		compatible = "amlogic, tvout";
		dev_name = "tvout";
		status = "okay";
	};

	i2c_gpio {
		compatible = "i2c-gpio";
		status = "okay";
		dev_name = "i2c-gpio";
		i2c-gpio,delay-us = <0xa>;
		gpios = <0x19 0x11 0x0 0x19 0x12 0x0>;
		#address-cells = <0x2>;
		#size-cells = <0x2>;
		i2c-gpio,timeout-ms = <0xa>;

		i2c_gpio_edid {
			compatible = "i2c-gpio-edid";
			reg = <0x50 0x0 0x0 0x0>;
		};
	};

	serial@c81004c0 {
		compatible = "amlogic, meson-uart";
		reg = <0x0 0xc81004c0 0x0 0x18>;
		interrupts = <0x0 0xc1 0x1>;
		status = "okay";
		clocks = <0x8 0x2>;
		clock-names = "clk_uart";
		xtal_tick_en = <0x1>;
		fifosize = <0x40>;
		pinctrl-names = "default";
		support-sysrq = <0x0>;
	};

	serial@c11084c0 {
		compatible = "amlogic, meson-uart";
		reg = <0x0 0xc11084c0 0x0 0x18>;
		interrupts = <0x0 0x1a 0x1>;
		status = "okay";
		clocks = <0x8 0x2>;
		clock-names = "clk_uart";
		fifosize = <0x80>;
		pinctrl-names = "default";
		pinctrl-0 = <0x58>;
		resets = <0x8 0xd>;
	};

	serial@c11084dc {
		compatible = "amlogic, meson-uart";
		reg = <0x0 0xc11084dc 0x0 0x18>;
		interrupts = <0x0 0x4b 0x1>;
		status = "disable";
		clocks = <0x8 0x2>;
		clock-names = "clk_uart";
		fifosize = <0x40>;
		pinctrl-names = "default";
		pinctrl-0 = <0x59>;
		resets = <0x8 0x30>;
	};

	serial@c1108700 {
		compatible = "amlogic, meson-uart";
		reg = <0x0 0xc1108700 0x0 0x18>;
		interrupts = <0x0 0x5d 0x1>;
		status = "disable";
		clocks = <0x8 0x2>;
		clock-names = "clk_uart";
		fifosize = <0x40>;
		pinctrl-names = "default";
		pinctrl-0 = <0x5a>;
		resets = <0x8 0x4f>;
	};

	serial@c81004e0 {
		compatible = "amlogic, meson-uart";
		reg = <0x0 0xc81004e0 0x0 0x18>;
		interrupts = <0x0 0xc5 0x1>;
		status = "disable";
		clocks = <0x8 0x2>;
		clock-names = "clk_uart";
		fifosize = <0x40>;
		pinctrl-names = "default";
		pinctrl-0 = <0x5b>;
	};

	canvas {
		compatible = "amlogic, meson, canvas";
		dev_name = "amlogic-canvas";
		status = "ok";
		reg = <0x0 0xc8838000 0x0 0x400>;
	};

	rdma {
		compatible = "amlogic, meson, rdma";
		dev_name = "amlogic-rdma";
		status = "ok";
		interrupts = <0x0 0x59 0x1>;
		interrupt-names = "rdma";
	};

	dwc3@c9000000 {
		compatible = "synopsys, dwc3";
		reg = <0x0 0xc9000000 0x0 0x100000>;
		interrupts = <0x0 0x1e 0x4>;
		usb-phy = <0x5c 0x5d>;
		cpu-type = "gxl";
		clock-src = "usb3.0";
	};

	usb2phy@d0078000 {
		compatible = "amlogic, amlogic-new-usb2";
		portnum = <0x2>;
		reg = <0x0 0xd0078000 0x0 0x80>;
		linux,phandle = <0x5c>;
		phandle = <0x5c>;
	};

	usb3phy@d0078080 {
		compatible = "amlogic, amlogic-new-usb3";
		portnum = <0x0>;
		reg = <0x0 0xd0078080 0x0 0x20>;
		linux,phandle = <0x5d>;
		phandle = <0x5d>;
	};

	dwc2_a {
		compatible = "amlogic,dwc2";
		device_name = "dwc2_a";
		reg = <0x0 0xc9100000 0x0 0x40000>;
		status = "okay";
		interrupts = <0x0 0x1f 0x4>;
		pl-periph-id = <0x0>;
		clock-src = "usb0";
		port-id = <0x0>;
		port-type = <0x2>;
		port-speed = <0x0>;
		port-config = <0x0>;
		port-dma = <0x0>;
		port-id-mode = <0x0>;
		usb-fifo = <0x2d8>;
		cpu-type = "gxl";
		controller-type = <0x1>;
		phy-reg = <0xd0078000>;
		phy-reg-size = <0xa0>;
		resets = <0x8 0x3a 0x8 0x48 0x8 0x36>;
		reset-names = "usb_general", "usb1", "usb1_to_ddr";
	};

	I2S {
		#sound-dai-cells = <0x0>;
		resets = <0x8 0x26 0x8 0x12 0x8 0x28 0x8 0x29 0x8 0x2a 0x8 0x2b 0x8 0x2c 0x8 0x2d 0x8 0x2f 0x8 0x8e 0x8 0x22>;
		reset-names = "top_glue", "aud_buf", "i2s_out", "amclk_measure", "aififo2", "aud_mixer", "mixer_reg", "adc", "top_level", "aoclk", "aud_in";
		clocks = <0x8 0x1f 0x8 0x22>;
		clock-names = "mpll0", "mclk";
		compatible = "amlogic, aml-i2s-dai";
		linux,phandle = <0x69>;
		phandle = <0x69>;
	};

	SPDIF {
		#sound-dai-cells = <0x0>;
		compatible = "amlogic, aml-spdif-dai";
		resets = <0x8 0x27 0x8 0x90>;
		reset-names = "iec958", "iec958_amclk";
		clocks = <0x8 0x20 0x8 0x24 0x8 0x22 0x8 0x25 0x8 0xa>;
		clock-names = "mpll1", "i958", "mclk", "spdif", "clk_81";
		linux,phandle = <0x6a>;
		phandle = <0x6a>;
	};

	PCM {
		#sound-dai-cells = <0x0>;
		compatible = "amlogic, aml-pcm-dai";
		pinctrl-names = "aml_audio_btpcm";
		pinctrl-0 = <0x5e>;
		linux,phandle = <0x6b>;
		phandle = <0x6b>;
	};

	i2s_platform {
		compatible = "amlogic, aml-i2s";
		interrupts = <0x0 0x30 0x1 0x0 0x1d 0x1>;
		linux,phandle = <0x67>;
		phandle = <0x67>;
	};

	pcm_platform {
		compatible = "amlogic, aml-pcm";
		linux,phandle = <0x68>;
		phandle = <0x68>;
	};

	spdif_codec {
		#sound-dai-cells = <0x0>;
		compatible = "amlogic, aml-spdif-codec";
		pinctrl-names = "aml_audio_spdif";
		pinctrl-0 = <0x5f>;
		linux,phandle = <0x6d>;
		phandle = <0x6d>;
	};

	pcm_codec {
		#sound-dai-cells = <0x0>;
		compatible = "amlogic, pcm2BT-codec";
		linux,phandle = <0x6e>;
		phandle = <0x6e>;
	};

	dummy {
		#sound-dai-cells = <0x0>;
		compatible = "amlogic, aml_dummy_codec";
		status = "disable";
	};

	t9015 {
		#sound-dai-cells = <0x0>;
		compatible = "amlogic, aml_codec_T9015";
		reg = <0x0 0xc8832000 0x0 0x14>;
		status = "okay";
		linux,phandle = <0x6c>;
		phandle = <0x6c>;
	};

	aml_m8_snd {
		compatible = "aml, aml_snd_m8";
		status = "okay";
		aml-sound-card,format = "i2s";
		aml_sound_card,name = "AML-M8AUDIO";
		aml,audio-routing = "Ext Spk", "LOUTL", "Ext Spk", "LOUTR";
		mute_gpio-gpios = <0x19 0x15 0x0>;
		mute_inv;
		hp_disable;
		sleep_time = <0x64>;
		hp_paraments = <0x320 0x12c 0x0 0x5 0x1>;
		pinctrl-names = "aml_snd_m8";
		pinctrl-0 = <0x60>;
		cpu_list = <0x61 0x62 0x63>;
		codec_list = <0x64 0x65 0x66>;
		plat_list = <0x67 0x67 0x68>;

		cpudai0 {
			sound-dai = <0x69>;
			linux,phandle = <0x61>;
			phandle = <0x61>;
		};

		cpudai1 {
			sound-dai = <0x6a>;
			linux,phandle = <0x62>;
			phandle = <0x62>;
		};

		cpudai2 {
			sound-dai = <0x6b>;
			linux,phandle = <0x63>;
			phandle = <0x63>;
		};

		codec0 {
			sound-dai = <0x6c>;
			linux,phandle = <0x64>;
			phandle = <0x64>;
		};

		codec1 {
			sound-dai = <0x6d>;
			linux,phandle = <0x65>;
			phandle = <0x65>;
		};

		codec2 {
			sound-dai = <0x6e>;
			linux,phandle = <0x66>;
			phandle = <0x66>;
		};
	};

	gpio_keypad {
		compatible = "amlogic, gpio_keypad";
		status = "okay";
		scan_period = <0x14>;
		key_num = <0x1>;
		key_name = "power";
		key_code = <0x74>;
		key_pin = <0x18 0x2 0x0>;
		irq_keyup = <0x6>;
		irq_keydown = <0x7>;
	};

	ledlight {
		compatible = "amlogic, ledlight";
		dev_name = "ledlight";
		status = "okay";
		power_gpio_0 = <0x6f>;
		net_gpio_0 = <0x70>;
		net_gpio_1 = <0x71>;
		ir_gpio_0 = <0x72>;

		gpio_rg {
			led_name = "power_led";
			led_gpio = <0x19 0x49 0x0>;
			led_active = <0x0>;
			led_type = "R&G";
			linux,phandle = <0x6f>;
			phandle = <0x6f>;
		};

		gpio_r {
			led_name = "net_led";
			led_gpio = <0x19 0x4c 0x0>;
			led_active = <0x0>;
			led_type = [52 00];
			linux,phandle = <0x70>;
			phandle = <0x70>;
		};

		gpio_g {
			led_name = "net_led";
			led_gpio = <0x19 0x4b 0x0>;
			led_active = <0x0>;
			led_type = [47 00];
			linux,phandle = <0x71>;
			phandle = <0x71>;
		};

		gpio_b {
			led_name = "ir_led";
			led_gpio = <0x18 0x3 0x0>;
			led_active = <0x0>;
			led_type = [42 00];
			linux,phandle = <0x72>;
			phandle = <0x72>;
		};
	};

	amlogic_thermals {
		compatible = "amlogic, amlogic-thermal";
		#thermal-cells = <0x7>;
		dev_name = "aml_thermal";
		trip_point = <0x46 0x177001 0x177001 0x1ff 0x1ff 0x3 0x2 0x50 0x13c681 0x13c681 0x1b3 0x1b3 0x2 0x1 0x5a 0xfbf41 0xfbf41 0x148 0x148 0x2 0x1 0x104 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff>;
		cpu_cali_a = <0x0>;
		idle_interval = <0x3e8>;
		keep_mode;
		keep_mode_threshold = <0x55>;
		keep_mode_max_range = <0x1ec300 0x29a 0x4 0x3>;
	};
};

use the commond

bin\windows\sed -n "/boot {/,/};/p" dtb\gxl-p211-1g.dts

take the two result about key work boot

 instaboot {
                        pname = "instaboot";
                        size = <0x0 0x20000000>;
                        mask = <0x1>;
                        linux,phandle = <0x3f>;
                        phandle = <0x3f>;
                };
                boot {
                        pname = "boot";
                        size = <0x0 0x2000000>;
                        mask = <0x1>;
                        linux,phandle = <0x40>;
                        phandle = <0x40>;
                };

then the dump commod has the error about boot parttion

bin\windows\update mread store boot normal 0x20000000
0x2000000 dump\boot.img

can you fixed it ?

SyntaxWarning: invalid escape sequence

Hi,

When unpacking (level 2) using python under windows 11, I'm getting a bunch of those errors :

C:\AMLOGI~1\bin\common\imgextractor.py:622: SyntaxWarning: invalid escape sequence '\+'
  3, '/' + dirr + '/lost\+found' + ' ' + c.split(" ")[1])
C:\AMLOGI~1\bin\common\imgextractor.py:628: SyntaxWarning: invalid escape sequence '\+'
  3, '/lost\+found' + ' u:object_r:rootfs:s0')

I'm using Python 3.12.1

As far as as I can see, everything was still unpacked successfully but I thought it was worth reporting it.

Thanks

MagicError: "Invalid magic value in superblock: 0xF2EE (expected 0xEF53)", when unpacking level 2 of Android 7 image file for RK3399

I'm receiving the underlying error when attempting to unpack level 2 of this Android 7.1.2 image for RK3399 (Minix X39):

cdarau@DESKTOP-VT529K8:~/GitHub/AmlogicKitchen$ ./rkunpack.sh
[sudo] password for cdarau:
.....................
Rockchip Kitchen
.....................
.....................
Select level 1,2,3 or q/Q to exit:
1
Deleting existing level1
.....................
Rockchip Kitchen
.....................
Files in input dir (*.img)
1 - x35
2 - x39
.....................
Enter a file name :
x39
********rkImageMaker ver 2.0********
Unpacking image, please wait...
Exporting boot.bin
Exporting firmware.img
Unpacking image success.
Android Firmware Package Tool v2.0
Check file... OK
------- UNPACK ------
package-file    offset=0x800    size=0x2C2
Image/MiniLoaderAll.bin offset=0x1000   size=0x4794E
Image/parameter.txt     offset=0x49000  size=0x38F
Image/trust.img offset=0x49800  size=0x400000
Image/uboot.img offset=0x44A000 size=0x400000
Image/misc.img  offset=0x84A800 size=0xC000
Image/resource.img      offset=0x857000 size=0x817600
Image/kernel.img        offset=0x106E800        size=0x12A8014
Image/boot.img  offset=0x2317000        size=0x18AFFC
Image/recovery.img      offset=0x24A2000        size=0x783190
Image/system.img        offset=0x2C25800        size=0x8C51D0C8
update-script   offset=0x8F143000       size=0x3A5
recover-script  offset=0x8F143800       size=0x10A
Unpack firmware OK!
------ OK ------
Done.
.....................
Rockchip Kitchen
.....................
.....................
Select level 1,2,3 or q/Q to exit:
2
Deleting existing level2
Extracting system
.....Extraction from system.img to system
Traceback (most recent call last):
  File "/home/cdarau/GitHub/AmlogicKitchen/bin/common/imgextractor.py", line 795, in <module>
    Extractor().main(
  File "/home/cdarau/GitHub/AmlogicKitchen/bin/common/imgextractor.py", line 788, in main
    self.__ext4extractor()
  File "/home/cdarau/GitHub/AmlogicKitchen/bin/common/imgextractor.py", line 589, in __ext4extractor
    root = ext4.Volume(file).root
  File "/home/cdarau/GitHub/AmlogicKitchen/bin/common/ext4.py", line 483, in __init__
    raise MagicError("Invalid magic value in superblock: 0x{magic:04X} (expected 0xEF53)".format(
ext4.MagicError: Invalid magic value in superblock: 0xF2EE (expected 0xEF53)
Done.
.....................
Rockchip Kitchen
.....................
.....................
Select level 1,2,3 or q/Q to exit:

I'm using the latest version of the code (commit b75430d)

Level2 Packing Unable To Create Super Image

Good evening,

Sorry I'm quite new to this tool. Successfully unpacked an image up to level2 for my S905X4 Transpeed box. Removed a bit of junk from the file system and added a small file.

Every time i try to pack this back I simply get the following error:

Resizing the filesystem on level2\odm_a.img to 599 (4k) blocks.

The filesystem on level2\odm_a.img is now 599 (0k) blocks long.

Invalid number.  Numbers are limited to 32-bits of precision.
Unable to create super image, recreated images are too big.
Cleanup some files before retrying
Needed space: 2230022144
Available maximum space: 2415919104

Press any key to continue . . .

This is happening on Windows 11, hoping you can assist?

Thanks

FATAL ERROR: Blob has incorrect magic number | ERROR: level1\_aml_dtb.PARTITION

Hi @xKern,
I have a problem with a "boot.img" image of a device labeled "Angel" (on Alixpress and similar sites it is called "Angel V8").

bootup

When I run the "unpack" command and then choose level three, I get the output below, with the error message.
Can you give me some more information?

Thank you very much.

S.

Image.zip

Supplied image: boot.img

Setting up work folders . . .

Image type: AOSP

Splitting image to "split_img/" . . .

ANDROID! magic found at: 0
BOARD_KERNEL_CMDLINE
BOARD_KERNEL_BASE 0x10000000
BOARD_NAME
BOARD_PAGE_SIZE 2048
BOARD_HASH_TYPE sha1
BOARD_KERNEL_OFFSET 0x00008000
BOARD_RAMDISK_OFFSET 0x01000000
BOARD_SECOND_OFFSET 0x00f00000

BOARD_TAGS_OFFSET 0x00000100
BOARD_HEADER_VERSION 0

Unpacking ramdisk to "ramdisk/" . . .

Compression used: gzip
10461 blocks

Done

dbg:res-img ver is 0x2
dbg:item level3\logo/bootup
dbg:item level3\logo/upgrade_error
dbg:item level3\logo/upgrade_fail
dbg:item level3\logo/bootup.bmp
dbg:item level3\logo/upgrade_bar
dbg:item level3\logo/upgrade_success
dbg:item level3\logo/upgrade_unfocus
dbg:item level3\logo/upgrade_upgrading
dbg:item level3\logo/upgrade_logo
FATAL ERROR: Blob has incorrect magic number
ERROR: level1\_aml_dtb.PARTITION
Can not open the file as archive

DTB Version: 2 entries: 2
Found header: m8b-m201-1G
         offset: 2048 size: 23139
Found header: m8b-m201C-512M
         offset: 26624 size: 22031

Done.

Latest Commit e3d9e93f99a0239106e69ac60cf2a9963ee15073 error unpacking level 3

I have this error when unpacking aml_upgrade_package.img using the windows version:

.....................
Amlogic Kitchen
.....................
Select level 1,2 or 3: 3
1 file(s) copied.
Android Image Kitchen - UnpackImg Script
by osm0sis @ xda-developers

Supplied image: recovery.img

Setting up work folders . . .

Image type: AOSP

Signature with "AVBv2" type detected.

Splitting image to "split_img/" . . .

ANDROID! magic found at: 0
BOARD_KERNEL_CMDLINE androidboot.dtbo_idx=0 --cmdline otg_device=1 buildvariant=user
BOARD_KERNEL_BASE 0x01078000
BOARD_NAME
BOARD_PAGE_SIZE 2048
BOARD_HASH_TYPE sha1
BOARD_KERNEL_OFFSET 0x00008000
BOARD_RAMDISK_OFFSET 0xfff88000
BOARD_SECOND_OFFSET 0xffe88000
BOARD_TAGS_OFFSET 0xfef88100
BOARD_OS_VERSION 9.0.0
BOARD_OS_PATCH_LEVEL 2021-12
BOARD_HEADER_VERSION 1
BOARD_RECOVERY_DTBO_SIZE 438
BOARD_RECOVERY_DTBO_OFFSET 16318464
BOARD_HEADER_SIZE 1648

Unpacking ramdisk to "ramdisk/" . . .

Compression used: gzip
20003 blocks

Done

Press any key to continue . . .
1 dir(s) moved.
1 dir(s) moved.
1 file(s) copied.
Android Image Kitchen - UnpackImg Script
by osm0sis @ xda-developers

Supplied image: boot.img

Setting up work folders . . .

Image type: AOSP

Signature with "AVBv2" type detected.

Splitting image to "split_img/" . . .

ANDROID! magic found at: 0
BOARD_KERNEL_CMDLINE androidboot.dtbo_idx=0 --cmdline otg_device=1 buildvariant=user
BOARD_KERNEL_BASE 0x01078000
BOARD_NAME
BOARD_PAGE_SIZE 2048
BOARD_HASH_TYPE sha1
BOARD_KERNEL_OFFSET 0x00008000
BOARD_RAMDISK_OFFSET 0xfff88000
BOARD_SECOND_OFFSET 0xffe88000
BOARD_TAGS_OFFSET 0xfef88100
BOARD_OS_VERSION 9.0.0
BOARD_OS_PATCH_LEVEL 2021-12
BOARD_HEADER_VERSION 1
BOARD_HEADER_SIZE 1648

Warning: No ramdisk found to be unpacked

Done

Press any key to continue . . .
1 dir(s) moved.
1 dir(s) moved.
dbg:res-img ver is 0x2
dbg:item level3\logo/upgrade_error
dbg:item level3\logo/upgrade_success
dbg:item level3\logo/upgrade_bar
dbg:item level3\logo/bootup
dbg:item level3\logo/upgrade_logo
dbg:item level3\logo/upgrade_unfocus
dbg:item level3\logo/upgrade_upgrading
dbg:item level3\logo/upgrade_fail
FATAL ERROR: Blob has incorrect magic number
ERROR: level1_aml_dtb.PARTITION
Can not open the file as archive

DTB Version: 2 entries: 2
Found header: g12a-u212-2g
offset: 2048 size: 78496
Found header: g12a-u212-4g
offset: 81920 size: 78524

Done.
Press any key to continue . . .

I'm worried that even if I don't make any changes the img will not repack back to its same size and be bootable.
Can you advise on this error?

error when unpacking level 2 using python

i tried to unpack to level 2 using linux and windows. windows fine using vortex, got error when using python

.....................
Amlogic Kitchen
.....................
.....................
Select level 1,2,3 or q/Q to exit:
2
Deleting existing level2
Extracting system
Invalid sparse file format at header magic
Failed to read sparse file
.....Extraction from system.raw.img to system
Traceback (most recent call last):
  File "bin/common/imgextractor.py", line 655, in <module>
    Extractor().main(sys.argv[1], (sys.argv[2] + os.sep + os.path.basename(sys.argv[1]).split('.')[0]))
  File "bin/common/imgextractor.py", line 650, in main
    self.__ext4extractor()
  File "bin/common/imgextractor.py", line 473, in __ext4extractor
    root = ext4.Volume(file).root
  File "/home/karnadi/AmlogicKitchen/bin/common/ext4.py", line 479, in __init__
    self.superblock = self.read_struct(ext4_superblock, 0x400)
  File "/home/karnadi/AmlogicKitchen/bin/common/ext4.py", line 529, in read_struct
    return structure._from_buffer_copy(raw, platform64=platform64 if platform64 != None else self.platform64)
  File "/home/karnadi/AmlogicKitchen/bin/common/ext4.py", line 320, in _from_buffer_copy
    struct = ext4_superblock.from_buffer_copy(raw)
ValueError: Buffer size too small (0 instead of at least 1024 bytes)
Extracting vendor
Invalid sparse file format at header magic
Failed to read sparse file
.....Extraction from vendor.raw.img to vendor
Traceback (most recent call last):
  File "bin/common/imgextractor.py", line 655, in <module>
    Extractor().main(sys.argv[1], (sys.argv[2] + os.sep + os.path.basename(sys.argv[1]).split('.')[0]))
  File "bin/common/imgextractor.py", line 650, in main
    self.__ext4extractor()
  File "bin/common/imgextractor.py", line 473, in __ext4extractor
    root = ext4.Volume(file).root
  File "/home/karnadi/AmlogicKitchen/bin/common/ext4.py", line 479, in __init__
    self.superblock = self.read_struct(ext4_superblock, 0x400)
  File "/home/karnadi/AmlogicKitchen/bin/common/ext4.py", line 529, in read_struct
    return structure._from_buffer_copy(raw, platform64=platform64 if platform64 != None else self.platform64)
  File "/home/karnadi/AmlogicKitchen/bin/common/ext4.py", line 320, in _from_buffer_copy
    struct = ext4_superblock.from_buffer_copy(raw)
ValueError: Buffer size too small (0 instead of at least 1024 bytes)
Extracting product
Invalid sparse file format at header magic
Failed to read sparse file
.....Extraction from product.raw.img to product
Traceback (most recent call last):
  File "bin/common/imgextractor.py", line 655, in <module>
    Extractor().main(sys.argv[1], (sys.argv[2] + os.sep + os.path.basename(sys.argv[1]).split('.')[0]))
  File "bin/common/imgextractor.py", line 650, in main
    self.__ext4extractor()
  File "bin/common/imgextractor.py", line 473, in __ext4extractor
    root = ext4.Volume(file).root
  File "/home/karnadi/AmlogicKitchen/bin/common/ext4.py", line 479, in __init__
    self.superblock = self.read_struct(ext4_superblock, 0x400)
  File "/home/karnadi/AmlogicKitchen/bin/common/ext4.py", line 529, in read_struct
    return structure._from_buffer_copy(raw, platform64=platform64 if platform64 != None else self.platform64)
  File "/home/karnadi/AmlogicKitchen/bin/common/ext4.py", line 320, in _from_buffer_copy
    struct = ext4_superblock.from_buffer_copy(raw)
ValueError: Buffer size too small (0 instead of at least 1024 bytes)
Extracting odm
.....Extraction from odm.raw.img to odm
.....Done! All extraction in odm
Done.

rkpack level 1 error

I get the following error when I try to pack a Rockchip image level 1:

root@debian:/home/kalehrl/Templates/android/AmlogicKitchen# ./rkpack.sh
.....................
Rockchip Kitchen
.....................
.....................
Select level 1,2,3 or q/Q to exit: 
1
Supported models:
px30            RKPX30
px3se           RK312A
rk1808          RK180A
rk3036          RK303A
rk3128h         RK312X
rk312*          RK312A
rk322*          RK322A
rk3229          RK3229
rk3288          RK320A
rk3308          RK3308
rk3326          RK3326
rk3328          RK322H
rk3368          RK330A
rk3399*         RK330C
rk356*          RK3568
rv1126_rv1109   RK1126
If your model starts with rk312* then its RK312A
Enter your chip model, Eg: RK312X:
RK3229
Android Firmware Package Tool v2.0
------ PACKAGE ------
Error:<PackImage> uboot was overlapped in the parameter!
------ FAILED ------                                                                                          
********rkImageMaker ver 2.0********                                                                          
Generating new image, please wait...                                                                          
Error:Get image version failed!                                                                               
Done.

The magic number is not match

.....................
Amlogic Kitchen
.....................
.....................
Select level 1,2 or 3:
1
Deleting existing level1
.....................
Amlogic Kitchen
.....................
Files in input dir (*.img)
1 - boot
.....................
Enter a file name :
boot
[Msg]Image package version 0x2144494f
[ERR]f(AmlImagePack.cpp)L298:Image check error! The magic number is not match
[ERR]f(AmlImagePack.cpp)L1635:Image file check failed!
Done.

amlogic android 9.0 image can not pack

The amlogic android 9.0 image is unpacked and repackaged. After burning to the device, it starts abnormally, and the device reports an abnormal partition.

Packing back level 2 prompts error: "Unable to create super image, recreated images are too big."

After unpacking level 1, and then level 2 of this Android 11 stock firmware for Minix X35-i TV Box, using rkunpack.bat, I get this error when trying to pack back level 2 using rkpack.bat:

.....................
Rockchip Kitchen
.....................
Select level 1,2 or 3: 2
loaded 16 fs_config entries
Creating filesystem with parameters:
    Size: 1048576
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 64
    Inode size: 256
    Journal blocks: 0
    Label: odm
    Blocks: 256
    Block groups: 1
    Reserved block group size: 7
Created filesystem with 24/64 inodes and 159/256 blocks
resize2fs 1.42.12 (29-Aug-2014)
Resizing the filesystem on level2\odm.img to 159 (4k) blocks.
The filesystem on level2\odm.img is now 159 (0k) blocks long.

loaded 462 fs_config entries
Creating filesystem with parameters:
    Size: 229191680
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 7008
    Inode size: 256
    Journal blocks: 0
    Label: product
    Blocks: 55955
    Block groups: 2
    Reserved block group size: 15
Created filesystem with 463/14016 inodes and 52808/55955 blocks
resize2fs 1.42.12 (29-Aug-2014)
Resizing the filesystem on level2\product.img to 52814 (4k) blocks.
The filesystem on level2\product.img is now 52814 (0k) blocks long.

loaded 1488 fs_config entries
Creating filesystem with parameters:
    Size: 341143552
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 6944
    Inode size: 256
    Journal blocks: 0
    Label: vendor
    Blocks: 83287
    Block groups: 3
    Reserved block group size: 23
Created filesystem with 1495/20832 inodes and 78196/83287 blocks
resize2fs 1.42.12 (29-Aug-2014)
Resizing the filesystem on level2\vendor.img to 78206 (4k) blocks.
The filesystem on level2\vendor.img is now 78206 (0k) blocks long.

loaded 4059 fs_config entries
Creating filesystem with parameters:
    Size: 1897594880
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 7728
    Inode size: 256
    Journal blocks: 0
    Label: system
    Blocks: 463280
    Block groups: 15
    Reserved block group size: 119
Created filesystem with 4066/115920 inodes and 436659/463280 blocks
resize2fs 1.42.12 (29-Aug-2014)
Resizing the filesystem on level2\system.img to 436228 (4k) blocks.
The filesystem on level2\system.img is now 436228 (0k) blocks long.

loaded 79 fs_config entries
Creating filesystem with parameters:
    Size: 132960256
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8128
    Inode size: 256
    Journal blocks: 0
    Label: system_ext
    Blocks: 32461
    Block groups: 1
    Reserved block group size: 7
Created filesystem with 87/8128 inodes and 30604/32461 blocks
resize2fs 1.42.12 (29-Aug-2014)
Resizing the filesystem on level2\system_ext.img to 30607 (4k) blocks.
The filesystem on level2\system_ext.img is now 30607 (0k) blocks long.

Unable to create super image, recreated images are too big.
Cleanup some files before retrying
Needed space: 2449465344
Available maximum space: 3263168512
Press any key to continue . . .

I'm running Windows 10 Pro, version 22H2, OS build 19045.2311, with Windows Feature Experience Pack 120.2212.4190.0 if it matters. It's a 64-bit operating system, x64-based processor. I installed Java SE Development Kit 18.0.1.1 from here, namely the Windows x64 Installer. I also have cygwin & gnuwin64 installed (from here & here).

Here's the logs for unpacking level 1 & level 2:

.....................
Rockchip Kitchen
.....................
Select level 1,2 or 3: 1
.....................
Rockchip Kitchen
.....................
Files in input dir (*.img)
1 - x35
.....................
Enter a file name :x35
********RKImageMaker ver 1.67 ********
Unpacking image, please wait...
Exporting boot.bin
Exporting firmware.img
Unpacking image success.
Android Firmware Package Tool v1.65
Check file... OK
------- UNPACK ------
package-file    0x0000000000000800      0x0000000000000286
Image/MiniLoaderAll.bin 0x0000000000001000      0x00000000000719C0
Image/parameter.txt     0x0000000000073000      0x000000000000029A
Image/uboot.img 0x0000000000073800      0x0000000000400000
Image/misc.img  0x0000000000474000      0x000000000000C000
Image/boot.img  0x0000000000480800      0x0000000001DE2800
Image/dtbo.img  0x0000000002263800      0x000000000000026F
Image/vbmeta.img        0x0000000002264000      0x0000000000001000
Image/recovery.img      0x0000000002265800      0x00000000043EF800
Image/super.img 0x0000000006655800      0x000000008E783DB0
Unpack firmware OK!
------ OK ------
Press any key to continue . . .

&

.....................
Rockchip Kitchen
.....................
Select level 1,2 or 3: 2
Python 3.11.0
.....Extraction from odm.img to odm
.....Done! All extraction in odm
        1 file(s) moved.
.....Extraction from product.img to product
.....Done! All extraction in product
        1 file(s) moved.
.....Extraction from vendor.img to vendor
.....Done! All extraction in vendor
        1 file(s) moved.
.....Extraction from system.img to system
.....Done! All extraction in system
        1 file(s) moved.
.....Extraction from system_ext.img to system_ext
.....Done! All extraction in system_ext

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.