[{"data":1,"prerenderedAt":272},["ShallowReactive",2],{"home-logbook-logbook_en":3,"home-changelog-changelog_en":17,"home-products-products_en":28},[4],{"path":5,"title":6,"description":7,"date":8,"tags":9,"track":15,"readingTime":16},"\u002Flogbook\u002Fxiaomi-apn-firmware","My grandfather's phone and the vanishing APN: reverse engineering Xiaomi firmware with AI","For two months, my grandfather's phone deleted its own mobile internet settings on every network drop. A logcat, ~1 million lines of Dalvik bytecode and an empty 8 KB APK showed the culprit was a 'self-repair' rule inside HyperOS itself.","2026-11-21",[10,11,12,13,14],"android","reverse-engineering","firmware","ai","debugging","engineering-ai",12,[18,24],{"path":19,"title":20,"date":8,"type":21,"product":22,"version":23},"\u002Fchangelog\u002F2026-11-site-relaunch","abelha.network relaunched as an engineering hub","release","personal",null,{"path":25,"title":26,"date":8,"type":27,"product":22,"version":23},"\u002Fchangelog\u002F2026-11-xiaomi-writeup","New write-up: the vanishing APN (reverse engineering Xiaomi firmware)","writing",[29,133,215],{"id":30,"title":31,"body":32,"challenges":112,"description":117,"extension":118,"kicker":119,"meta":120,"navigation":121,"order":122,"path":123,"sector":124,"seo":125,"stack":126,"status":130,"stem":131,"url":23,"__hash__":132},"products_en\u002Fproducts\u002Ferp.md","ERP",{"type":33,"value":34,"toc":100},"minimark",[35,40,49,53,58,65,69,72,76,80],[36,37,39],"h2",{"id":38},"context","Context",[41,42,43,44,48],"p",{},"Furniture manufacturers have a workflow generic ERPs serve poorly: made-to-order sales, project-based production, raw materials with multiple units of measure and constant hand-offs between sales, the factory floor and finance. The ERP was built for that workflow and now serves several companies from ",[45,46,47],"strong",{},"a single codebase",".",[36,50,52],{"id":51},"architecture","Architecture",[54,55,57],"h3",{"id":56},"multi-tenancy","Multi-tenancy",[41,59,60,61,64],{},"Each company is an isolated tenant. Business rules that vary per customer (numbering, approval flows, taxation) are ",[45,62,63],{},"configuration",", not code. That keeps a single deploy for every customer and makes every fix available to all of them at once.",[54,66,68],{"id":67},"migration-to-nuxt-4","Migration to Nuxt 4",[41,70,71],{},"The migration is in progress, with the system in production. ",[54,73,75],{"id":74},"automation","Automation",[36,77,79],{"id":78},"what-this-product-proves","What this product proves",[81,82,83,90,97],"ul",{},[84,85,86,87,48],"li",{},"Architecture that serves ",[45,88,89],{},"N customers with one deploy",[84,91,92,93,96],{},"Stack evolution (toward Nuxt 4) ",[45,94,95],{},"without stopping"," the businesses that depend on it.",[84,98,99],{},"End-to-end ownership: product, code, infrastructure and support.",{"title":101,"searchDepth":102,"depth":102,"links":103},"",3,[104,106,111],{"id":38,"depth":105,"text":39},2,{"id":51,"depth":105,"text":52,"children":107},[108,109,110],{"id":56,"depth":102,"text":57},{"id":67,"depth":102,"text":68},{"id":74,"depth":102,"text":75},{"id":78,"depth":105,"text":79},[113,114,115,116],"Real multi-tenancy: per-tenant data isolation and per-company\u002Fbranch configuration, with no per-customer code forks.","Architectural migration to Nuxt 4 in progress, with the system live and no feature freeze.","Process automation: workflows that replace spreadsheets and manual rework between departments.","End-to-end TypeScript typing, from database to UI.","A multi-tenant system for industrial and commercial management, in production in the furniture industry and currently migrating its architecture to Nuxt 4.","md","ERP · multi-tenant",{},true,1,"\u002Fproducts\u002Ferp","Furniture manufacturing",{"title":31,"description":117},[127,128,129],"Nuxt 4","TypeScript","GCP","migrating","products\u002Ferp","UrJLRx8wXgFBdm2EHAO0BvpvSMn44u7ah5J9SJc8etI",{"id":134,"title":135,"body":136,"challenges":198,"description":202,"extension":118,"kicker":203,"meta":204,"navigation":121,"order":105,"path":205,"sector":206,"seo":207,"stack":208,"status":212,"stem":213,"url":23,"__hash__":214},"products_en\u002Fproducts\u002Ftickets.md","Ticketing Platform",{"type":33,"value":137,"toc":189},[138,140,147,149,153,160,164,168,170],[36,139,39],{"id":38},[41,141,142,143,146],{},"Ticketing is a system that sits mostly idle and then gets all its traffic at once: a batch opening concentrates weeks of demand into minutes. It also handles ",[45,144,145],{},"other people's money",", since the funds belong to the event organizer. It has to be correct under peak load and auditable afterwards.",[36,148,52],{"id":51},[54,150,152],{"id":151},"payments-stripe-asaas","Payments: Stripe + Asaas",[41,154,155,156,159],{},"Two gateways cover different payment profiles, and the system's domain depends on neither. Gateways sit behind a common interface, and order state is driven by ",[45,157,158],{},"idempotent webhooks",": the same notification received twice never confirms, refunds or pays out twice.",[54,161,163],{"id":162},"inventory-concurrency","Inventory concurrency",[54,165,167],{"id":166},"security","Security",[36,169,79],{"id":78},[81,171,172,179,186],{},[84,173,174,175,178],{},"Payment gateway integration that is ",[45,176,177],{},"correct under failure"," (retries, duplicates, out-of-order events).",[84,180,181,182,185],{},"Systems that handle ",[45,183,184],{},"concurrency spikes"," without selling the same seat twice.",[84,187,188],{},"Security as a product requirement, not a final step.",{"title":101,"searchDepth":102,"depth":102,"links":190},[191,192,197],{"id":38,"depth":105,"text":39},{"id":51,"depth":105,"text":52,"children":193},[194,195,196],{"id":151,"depth":102,"text":152},{"id":162,"depth":102,"text":163},{"id":166,"depth":102,"text":167},{"id":78,"depth":105,"text":79},[199,200,201],"Payments with Stripe and Asaas (cards, Pix and boleto), with idempotent webhooks and reconciliation.","Real-time concurrency: a batch opening with a crowd competing for the same inventory, with no overselling.","Security: webhook signature validation, checkout protection and verifiable QR tickets.","A platform to sell and manage event tickets: checkout, ticket batches, check-in and payouts to organizers.","Ticketing · payments · real time",{},"\u002Fproducts\u002Ftickets","Events",{"title":135,"description":202},[209,128,210,211],"Nuxt","Stripe","Asaas","production","products\u002Ftickets","ix9JleXDdAP4vpcqPl6ubrrlFM94OXnUxpRMOB1EKds",{"id":216,"title":217,"body":218,"challenges":256,"description":260,"extension":118,"kicker":261,"meta":262,"navigation":121,"order":102,"path":263,"sector":264,"seo":265,"stack":266,"status":268,"stem":269,"url":270,"__hash__":271},"products_en\u002Fproducts\u002Fliturgiae.md","Liturgiae",{"type":33,"value":219,"toc":251},[220,222,225,229,236,240],[36,221,39],{"id":38},[41,223,224],{},"Liturgiae was born during my degree from a concrete problem: preparing projections and leaflets for each celebration is manual, repetitive work done against the clock. The trademark was registered at INPI in 2019.",[36,226,228],{"id":227},"being-modernized","Being modernized",[41,230,231,232,235],{},"The project is being restructured with two goals: bringing the codebase to a current stack and resuming its original research line, which is building automation and ",[45,233,234],{},"IoT in community spaces",", bringing what I've learned on cloud IoT platforms into the daily life of a parish.",[36,237,239],{"id":238},"what-this-project-proves","What this project proves",[81,241,242,245,248],{},[84,243,244],{},"A product built from scratch, with a registered trademark and real use.",[84,246,247],{},"Continuity: resuming and modernizing my own system years later.",[84,249,250],{},"A bridge between software, hardware and community.",{"title":101,"searchDepth":102,"depth":102,"links":252},[253,254,255],{"id":38,"depth":105,"text":39},{"id":227,"depth":105,"text":228},{"id":238,"depth":105,"text":239},[257,258,259],"Automating liturgical projections and leaflets from a single content source.","Modernizing a system built during my degree without losing what already works for its users.","Research on building automation and IoT for community spaces: sound, lighting and projection.","Software I created during my degree to automate parish projections and leaflets. Trademark registered at INPI (Brazil) in 2019, now being restructured to resume research on building automation and IoT in community spaces.","Lab · automation · IoT",{},"\u002Fproducts\u002Fliturgiae","Parishes and community spaces",{"title":217,"description":260},[75,267],"IoT","modernizing","products\u002Fliturgiae","https:\u002F\u002Fliturgiae.com","kgSaJ9oIBj6D2KEyyRXX9moJ8VT7XylQnET1_boEwVI",1795408455689]