<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Suprie Anto on Medium]]></title>
        <description><![CDATA[Stories by Suprie Anto on Medium]]></description>
        <link>https://medium.com/@suprie?source=rss-e0946453a5de------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*IIKY6wOiIissIS8p.jpg</url>
            <title>Stories by Suprie Anto on Medium</title>
            <link>https://medium.com/@suprie?source=rss-e0946453a5de------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 16:34:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@suprie/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Sneaky Coordinator Leak in UIViewRepresentable]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@suprie/the-sneaky-coordinator-leak-in-uiviewrepresentable-56b6129d9898?source=rss-e0946453a5de------2"><img src="https://cdn-images-1.medium.com/max/1672/1*uSelI1IoB0NyER5FZWnU5w.png" width="1672"></a></p><p class="medium-feed-snippet">Let&#x2019;s talk a little about a memory leak I recently found while working with UIViewRepresentable.</p><p class="medium-feed-link"><a href="https://medium.com/@suprie/the-sneaky-coordinator-leak-in-uiviewrepresentable-56b6129d9898?source=rss-e0946453a5de------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@suprie/the-sneaky-coordinator-leak-in-uiviewrepresentable-56b6129d9898?source=rss-e0946453a5de------2</link>
            <guid isPermaLink="false">https://medium.com/p/56b6129d9898</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[memory-leak]]></category>
            <dc:creator><![CDATA[Suprie Anto]]></dc:creator>
            <pubDate>Sat, 13 Jun 2026 14:33:40 GMT</pubDate>
            <atom:updated>2026-06-13T14:45:53.780Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Resurrecting 15-year-old apps]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@suprie/resurrecting-15-year-old-apps-b3610853effa?source=rss-e0946453a5de------2"><img src="https://cdn-images-1.medium.com/max/1536/1*-nxGb4YR3GyTaZUYL3ZEiA@2x.jpeg" width="1536"></a></p><p class="medium-feed-link"><a href="https://medium.com/@suprie/resurrecting-15-year-old-apps-b3610853effa?source=rss-e0946453a5de------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@suprie/resurrecting-15-year-old-apps-b3610853effa?source=rss-e0946453a5de------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3610853effa</guid>
            <category><![CDATA[refactoring]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <dc:creator><![CDATA[Suprie Anto]]></dc:creator>
            <pubDate>Sat, 28 Mar 2026 02:02:17 GMT</pubDate>
            <atom:updated>2026-04-15T10:51:03.457Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[When Cheap isn’t cheap anymore.]]></title>
            <link>https://medium.com/@suprie/when-cheap-isnt-cheap-anymore-68eb8eb821d8?source=rss-e0946453a5de------2</link>
            <guid isPermaLink="false">https://medium.com/p/68eb8eb821d8</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[memory-profiling]]></category>
            <dc:creator><![CDATA[Suprie Anto]]></dc:creator>
            <pubDate>Sat, 03 Jan 2026 15:15:54 GMT</pubDate>
            <atom:updated>2026-01-03T15:15:54.486Z</atom:updated>
            <content:encoded><![CDATA[<p>During my time in my previous company, I’ve learned a lot, but here are two: (1) New APIs aren’t always the right fit — diffable data source is great for partial updates, not full replacements. (2) ‘Cheap’ operations aren’t cheap at scale — profile before you assume.</p><p>I’ve been tasked with handling real-time data using web sockets. On paper, the feature was easy. Instead of stopping at 10 price levels, show all of them — which could be anywhere between 80 to 137 price levels depending on the stock. During peak hours, the view that was responsive suddenly became frozen. Users couldn’t scroll up and down, and unfortunately, this happened only during peak trading hours, so it slipped through QA.</p><p>I thought Diffable Data Source would fix it. I implemented it based on data associated with UUID, but it just made things worse. The issue is that the data sent isn’t a snapshot of changes but the entire list of price levels. Diffing the entire list every time was pure overhead — no partial updates to optimize for. In this case, using ‘tableView.reloadData()’ is faster.</p><p>Then I fired up the profiler to find the real bottleneck. Looking through the results, I was quite surprised. The computed properties — like color for up and down, and the number formatting — were clogging the main thread. The computations were cheap, but when hit with 30 packages per second, each carrying all price levels, they weren’t cheap anymore. Even the localization we take for granted can clog up the main thread.</p><p>- Before: 5 levels × 30 updates/sec × (formatting + color calc + localization) = manageable<br>- After: 100 levels × 30 updates/sec × same operations = UI death</p><p>The solution is relatively straightforward: no more calculations on computed properties. All properties are calculated in background threads when converting the WebSocket response into view data. The view becomes dumb — it just reads values from the view data. After the changes, it managed to survive peak trading hours with smooth scrolling. Now when we hit performance issues, we know where to look first.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68eb8eb821d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Continuous Integration untuk iOS menggunakan Fastlane dan Jenkins Pipeline]]></title>
            <link>https://medium.com/vidio/continuous-integration-untuk-ios-menggunakan-fastlane-dan-jenkins-pipeline-d4031553c276?source=rss-e0946453a5de------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4031553c276</guid>
            <category><![CDATA[continous-integration]]></category>
            <category><![CDATA[jenkins]]></category>
            <category><![CDATA[fastlane]]></category>
            <dc:creator><![CDATA[Suprie Anto]]></dc:creator>
            <pubDate>Sun, 21 May 2017 04:53:18 GMT</pubDate>
            <atom:updated>2017-05-21T04:53:50.294Z</atom:updated>
            <content:encoded><![CDATA[<p>Dalam Agile, Continous Integration dan Continous Deployment adalah hal yang cukup signifikan pentingnya. Premisnya adalah semakin cepat kita deploy semakin cepat kita dapat feedback, dan makin sering kita dapat feedback, maka semakin mudah juga kita untuk berubah seiring jaman.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K556f7AFdNrTt4dMQtGM6Q.jpeg" /><figcaption>CI Monitor yang menampilkan status build semua app di KMK</figcaption></figure><p>Tapi tidak dipungkiri juga kalau kita deploy ke Apple Store setiap hari, malah bikin bete pengguna. Karena itu umumnya untuk deployment ke end user, dilakukan setiap 2 minggu sekali atau lebih. Oleh karena itu Continous Integration dan Deployment ini dimaksudkan bagaimana apps lebih cepat dikirim ke beta tester, atau Test Engineer.</p><p>Di sini, kita coba mensetup CI untuk iOS menggunakan Fastlane dan Jenkins.</p><h3>Fastlane</h3><p>Dari webnya:</p><blockquote><em>fastlane</em> is <strong>the</strong> tool to release your iOS and Android app 🚀<br>It handles all tedious tasks, like generating screenshots, dealing with code signing, and releasing your application.</blockquote><p>Fastlane kita pakai untuk test, dan juga untuk deploy ke crashlytics. Itu membuat script untuk building, testing, dan deploy itu jadi mudah.</p><p>Contoh script Fastfile yang kami pakai:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/dcc743f402a189a00a5dec7ec5098708/href">https://medium.com/media/dcc743f402a189a00a5dec7ec5098708/href</a></iframe><h3>Jenkins</h3><p><a href="https://jenkins.io/">Jenkins</a> adalah tools untuk CI yang awal awal saya tau. Itu mudah diset, bisa kita host sendiri, dan banyak dukungan komunitas. Salah satu Jenkins plugin yang kita pakai adalah <a href="https://jenkins.io/doc/book/pipeline/">pipeline</a>. Pipeline membuat kita bisa membuat proses itu jadi sebuah proses yang bersambung. Sehingga kita tahu proses testing kita sudah sampai mana.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*7vZq_pItrioOgGuiSYFSSQ.png" /><figcaption>Contoh ketika CI gagal.</figcaption></figure><h3>Ada lagi?</h3><p>Kita juga butuh sebuah Mac machine dengan Xcode terinstall. Bisa di cloud, atau di komputer sendiri, dan Jenkins yang kita set, harus bisa akses ke mac machine.</p><h3>Apa benefitnya semua ini?</h3><p>Benefitnya kita tahu kalau code is working, dan pada akhirnya akan menghasilkan artifact yang bisa dipakai oleh tester, atau siapapun yang ingin the latest version.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4031553c276" width="1" height="1" alt=""><hr><p><a href="https://medium.com/vidio/continuous-integration-untuk-ios-menggunakan-fastlane-dan-jenkins-pipeline-d4031553c276">Continuous Integration untuk iOS menggunakan Fastlane dan Jenkins Pipeline</a> was originally published in <a href="https://medium.com/vidio">Karena Kita Vidio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Engineering Culture Talk]]></title>
            <link>https://medium.com/vidio/engineering-culture-talk-1eda11fd63a7?source=rss-e0946453a5de------2</link>
            <guid isPermaLink="false">https://medium.com/p/1eda11fd63a7</guid>
            <dc:creator><![CDATA[Suprie Anto]]></dc:creator>
            <pubDate>Fri, 31 Mar 2017 04:04:43 GMT</pubDate>
            <atom:updated>2017-03-31T04:04:43.449Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ucHsvIk51BhXDkfGqwiuLw@2x.jpeg" /></figure><p>Sabtu tanggal 18 Maret 2017 kemarin, KMK menjadi host untuk sebuah diskusi tentang Engineering Culture di perusahaan perusahaan. Yang menjadi panelis adalah <a href="https://medium.com/u/933830a0e3f7">tommy sullivan</a> dari KMK, Frans dari BCA, Panji Gautama<strong> </strong>dari Kudo, Nayan Jadeja dari Blibli, Qasim Zaidi dari Tokopedia, dan dipandu oleh <a href="https://medium.com/u/13a4e2d84057">Ifnu Bima</a>.</p><p>Enginering culture talk sendiri diusulkan oleh Ifnu, sebagai seseorang Engineer becoming Manager. Dia pribadi merasa mengatur orang itu jauh lebih susah dari coding karena manusia itu unik. Untuk video lengkapnya ada di sini:</p><p><a href="https://www.youtube.com/watch?v=oKG2bVvaa5s&amp;t=653s">SARCCOM #6 Meetup KMKLABS. Engineering Culture Talks.</a></p><h3><strong>Engineering Culture di KMK</strong></h3><p>Menurut Tommy, <em>Engineering Culture is something that company value the most</em>. Di KMK sendiri, itu berarti <em>Code Quality</em>, dan juga <em>Incremental Development</em>. Yang berarti Engineer di KMK diharapkan bisa ship sebuah product dengan menjaga <em>code quality</em>. Incremental Development di-<em>achieve </em>dengan <em>daily deployment</em>. Kenapa daily deployment? Agar lebih cepat dapat feedback, dan gampang untuk berganti arah, atau bahasa kerennya: Pivot.</p><h3>Engineer macam apa yang dicari KMK?</h3><p>KMK mencari Engineer yang bisa bekerja dalam team, bukan <em>Rockstar Engineer</em> dan tidak harus 10x developer. Selama orang tersebut mau belajar dan bisa bekerja dengan baik dalam team, tentu masuk dalam kandidat. Basically interview di KMK adalah pair interview, untuk mengetahui apakah kandidat bisa bekerja team, atau bisa berkomunikasi dengan baik saat pair interview.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1eda11fd63a7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/vidio/engineering-culture-talk-1eda11fd63a7">Engineering Culture Talk</a> was originally published in <a href="https://medium.com/vidio">Karena Kita Vidio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[First time using Android Studio]]></title>
            <link>https://medium.com/@suprie/first-time-using-android-studio-40f05d7f978e?source=rss-e0946453a5de------2</link>
            <guid isPermaLink="false">https://medium.com/p/40f05d7f978e</guid>
            <dc:creator><![CDATA[Suprie Anto]]></dc:creator>
            <pubDate>Sun, 12 Mar 2017 03:59:25 GMT</pubDate>
            <atom:updated>2017-03-12T03:59:25.834Z</atom:updated>
            <content:encoded><![CDATA[<p>Tetiba pengen belajar Android dan Kotlin, jadi mungkin bakal banget catetan kecil kaya gini kedepannya. Jadi harap maklum yah</p><p>Dimulai isenk hari ini, download Android Studio 2.3 di Mac, kemudian masuk ke setup wizard. Lalu ada error “error when compute package” or something. Nyari nyari di SO, gak ada solusi. Ada yang bilang kudu download command line tools sendiri, dan install SDK manual. Tapi rasanya malas, karena hanya memenuhi harddisk mac gw.</p><p>Kemudian coba jalanin di command line, dapetnya “Dependant package with key emulator not found!”. Nyari lagi di SO, solusinya dapet, caranya dengan mengganti channel updates, dari Stable Channel ke Canary Channel. Saya coba, dan akhirnya berhasil jalan.</p><p>Caranya cukup “<strong>Configure</strong>” -&gt; “<strong>Appearance and Behaviour</strong><br> -&gt; “<strong>System Settings</strong>” -&gt; “<strong>Update</strong>” -&gt; “<strong>Automatically check updates for ‘Canary Channel’</strong>. And then you good to go.</p><p>Anyway, gw masih gak paham kenapa menu “System settings” ada di Appearance and Behaviour, kenapa gak di menu sendiri.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40f05d7f978e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[S in SOLID — Single Responsibility Principal]]></title>
            <link>https://medium.com/@suprie/s-in-solid-single-responsibility-principal-97e17587101b?source=rss-e0946453a5de------2</link>
            <guid isPermaLink="false">https://medium.com/p/97e17587101b</guid>
            <category><![CDATA[solid]]></category>
            <category><![CDATA[bahasa-indonesia]]></category>
            <category><![CDATA[clean-architecture]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Suprie Anto]]></dc:creator>
            <pubDate>Sat, 18 Feb 2017 06:23:12 GMT</pubDate>
            <atom:updated>2017-03-24T05:28:29.888Z</atom:updated>
            <content:encoded><![CDATA[<p>SOLID adalah arsitektur untuk OOP yang diperkenalkan oleh Robert C Martin, atau yang lebih dikenal sebagai Uncle Bob.</p><p>SOLID sendiri adalah singkatan dari :</p><ul><li>S — Single Responsibility</li><li>O — Open Close Principle</li><li>L — Liskov Substitution Principle</li><li>I — Interface Segregation Principle</li><li>D — Dependency Inversion</li></ul><p>Apa itu?</p><p>SOLID architecture intinya adalah bagaimana kita mendesain aplikasi kita agar mudah diubah, dimaintain dan dikembangkan lebih jauh. SOLID juga membuat developer lebih mudah menemukan <em>bugs</em>, menghindari <em>smelly code</em>, dan gampang di-<em>refactor.</em></p><p>S — Single Responsibility Principle</p><p>Single Responsibility Principle adalah prinsip yang mengatur bahwa satu kelas / method itu hanya mempunyai satu tugas. Ini juga dikenal sebagai separation of concern. Contoh konkrit dalam iOS adalah ViewController.</p><p>ViewController iOS selain me-<em>render</em> view, juga kadang dipakai untuk mengambil data, memparsing data, dan juga memilih data yang akan ditampilkan. Contohnya adalah ini :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8a9b96ea23f38ee473646687013b88b7/href">https://medium.com/media/8a9b96ea23f38ee473646687013b88b7/href</a></iframe><p>Di dalam method <em>viewDidAppear</em> itu, saya melakukan banyak hal.</p><ol><li>Saya membuka koneksi dengan sqlite</li><li>Saya query ke database dan melakukan sorting untuk mendapatkan product</li><li>Saya memparsing hasil query ke dalam dictionary juga</li><li>Saya juga configure view ( view dan tableview )</li></ol><p>Makanya itu violating SRP. Jika kita ingin merefactor, kita bisa memasukkan query ke database ke dalam satu class sendiri. Sehingga class ViewController tersebut menjadi seperti :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6d4fae976f65ab0233e5ae94739577b5/href">https://medium.com/media/6d4fae976f65ab0233e5ae94739577b5/href</a></iframe><p>Sekarang, <em>ViewController</em> sudah diet, sudah berkurang banyak barisnya, dan lebih mudah dibaca apa yang dilakukannya. Dengan begini code kita akan lebih mudah dimaintain. Jika kita ingin melakukan perubahan misalnya ganti database dengan remote database macam firebase, kita bisa dengan mudah melakukannya dengan mengganti ProductDataAdapter tanpa harus memberi tahu si <em>ViewController </em>tentang perubahan tersebut.</p><p><em>NB: Saya convert code lama saya menggunakan Swiftify, sehingga saya tidak tahu apakah code di atas akan jalan atau tidak. But you got the idea.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97e17587101b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ViM dan Plugins]]></title>
            <link>https://medium.com/sarccom/vim-dan-plugins-4070179019d5?source=rss-e0946453a5de------2</link>
            <guid isPermaLink="false">https://medium.com/p/4070179019d5</guid>
            <category><![CDATA[bahasa-indonesia]]></category>
            <category><![CDATA[vim]]></category>
            <dc:creator><![CDATA[Suprie Anto]]></dc:creator>
            <pubDate>Thu, 16 Feb 2017 16:16:29 GMT</pubDate>
            <atom:updated>2017-02-17T01:00:20.046Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NdcuJUt-1gyVL_JP14XDHA.png" /><figcaption>contoh dari vimrc dengan plugins</figcaption></figure><p>Vim adalah editor yang sangat handal, tapi tanpa plugin — plugin tampaknya kurang lengkap. Plugin plugin ini sangat berguna ketika kita ingin meningkatkan produktivitas kerja kita di Vim</p><p>Memasang plugin di Vim sesungguhnya sangatlah mudah, cukup checkout atau download dan extract ke <em>~/.vim/plugin . </em>Atau bisa pakai plugin manager. Plugin manager, manage download, extracting, dan taruh file di folder yang tepat untukmu. Beberapa Vim plugin manager yang saya tau itu ada</p><ul><li><a href="https://github.com/VundleVim/Vundle.vim">Vundle</a></li><li><a href="https://github.com/junegunn/vim-plug">Vim-Plug</a></li><li><a href="https://github.com/tpope/vim-pathogen">Pathogen</a></li></ul><p>Yang harus diingat adalah semua configurasi harus di-<em>include</em> di .vimrc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vcVIIwj46_G6OmnAk6n7uQ.png" /><figcaption>ViM dengan Nerdtree, dan CTRL P sedang aktif</figcaption></figure><p>Bagaimana dengan plugin — pluginnya? Berikut adalah plugin yang saya gunakan :</p><ul><li><strong><em>vim-fugitive</em></strong>: Plugin ini untuk berhubungan dengan git. Kita bisa menjalankan berbagai fungsi git melalu plugin ini. Contohnya untuk commit ada :Gcommit</li><li><strong><em>vim-easymotion</em>:</strong> Plugin ini sangat berguna, karena dia akan menambahkan shortcut ketika kita mencari keyword di Vim</li><li><strong><em>nerdtree</em></strong>: Plugin ini membuat navigasi dan perpindahan antar file itu lebih mudah dengan membuat tree dari folders dan file di dalam directory</li><li><strong><em>ctrl-p</em></strong>: Jika Nerdtree membuat tree dari struktur directory, maka ctrl — p akan membuat pencarian file lebih mudah. Plugin ini akan fuzzy search file yang kita mau.</li><li><strong><em>vim-multiple-cursor</em></strong>: Vim membuat anda bisa mengedit multiple cursor at once. Fitur ini mirip dengan fitur di Sublime.</li></ul><p>Lalu sisanya tergantung kebutuhan anda, setau saya banyak plugin untuk language yang tersedia untuk Vim juga. Contohnya vim-rails untuk rails, atau alchemist untuk elixir. Dan enaknya, semuanya bisa anda atur di dalam ~/.vimrc sehingga anda bisa fine tuning.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4070179019d5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sarccom/vim-dan-plugins-4070179019d5">ViM dan Plugins</a> was originally published in <a href="https://medium.com/sarccom">sarccom</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Flash Xiaomi Redmi from Mac.]]></title>
            <link>https://medium.com/@suprie/how-to-flash-xiaomi-redmi-from-mac-737c867d340?source=rss-e0946453a5de------2</link>
            <guid isPermaLink="false">https://medium.com/p/737c867d340</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[xiaomi]]></category>
            <dc:creator><![CDATA[Suprie Anto]]></dc:creator>
            <pubDate>Sat, 10 Dec 2016 06:17:27 GMT</pubDate>
            <atom:updated>2016-12-10T06:21:02.111Z</atom:updated>
            <content:encoded><![CDATA[<p>How to Flash Xiaomi Redmi from Mac.</p><p># Requirement</p><ul><li>Clone and install <a href="https://github.com/corbindavenport/nexus-tools">nexus tools</a></li><li>Pick your ROM from <a href="http://en.miui.com/download-261.html#441">Official MIUI Web</a></li></ul><p># Step</p><ul><li>Extract the ROM</li><li>While on, connect the phone into the Mac, and trust the Mac</li><li>Open console, and run $ adb devices you should see your device listed</li><li>Go to the extracted ROM directory in console, and run either $ sh flash_all.sh or $ sh flash_all_except_data_storage.sh</li><li>It will show fastboot &lt;Waiting for device&gt;</li><li>Turn off your Xiaomi phone, and unplugged it from Mac</li><li>Press volume down and power button in your Xiaomi phone.</li><li>After you see the logo, let go the power button.</li><li>You’ll enter the fastboot mode</li><li>Plugged it to your Mac</li><li>After it done, it will restart your device.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=737c867d340" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>