redmi-fire-devs / twrp_device_xiaomi_fire Goto Github PK
View Code? Open in Web Editor NEWTWRP Device Tree for Xiaomi Redmi 12
Home Page: https://twrp.me/xiaomi/xiaomiredmi12.html
License: GNU General Public License v3.0
TWRP Device Tree for Xiaomi Redmi 12
Home Page: https://twrp.me/xiaomi/xiaomiredmi12.html
License: GNU General Public License v3.0
i've done the orange fox building using this source . you can grep my source code to your repository
here is the built of orange fox with that source code which i've ported:
when i run ``lunch twrp_fire-eng`; this error message appears :
lunch twrp_fire-eng In file included from build/make/core/config.mk:313: In file included from build/make/core/envsetup.mk:312: In file included from build/make/target/product/telephony_vendor.mk:24: device/xiaomi/fire/device.mk:24: error: PRODUCT_STATIC_BOOT_CONTROL_HAL is obsolete. Use shared library module instead. See https://android.googlesource.com/platform/build/+/master/Changes.md#PRODUCT_STATIC_BOOT_CONTROL_HAL. 19:08:42 dumpvars failed with: exit status 1 Device fire not found. Attempting to retrieve device repository from TeamWin Github (http://github.com/TeamWin). Found repository: android_device_xiaomi_fire Checking branch info Traceback (most recent call last): File "/home/mahdi/twrp/vendor/twrp/build/tools/roomservice.py", line 317, in <module> main() File "/home/mahdi/twrp/vendor/twrp/build/tools/roomservice.py", line 296, in main fallback_branch = detect_revision(repository) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/mahdi/twrp/vendor/twrp/build/tools/roomservice.py", line 234, in detect_revision result = json.loads(urllib.request.urlopen(githubreq).read().decode()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/urllib/request.py", line 216, in urlopen return opener.open(url, data, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/urllib/request.py", line 525, in open response = meth(req, response) ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/urllib/request.py", line 634, in http_response response = self.parent.error( ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/urllib/request.py", line 563, in error return self._call_chain(*args) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain result = func(*args) ^^^^^^^^^^^ File "/usr/lib/python3.11/urllib/request.py", line 643, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 403: rate limit exceeded In file included from build/make/core/config.mk:313: In file included from build/make/core/envsetup.mk:312: In file included from build/make/target/product/telephony_vendor.mk:24: device/xiaomi/fire/device.mk:24: error: PRODUCT_STATIC_BOOT_CONTROL_HAL is obsolete. Use shared library module instead. See https://android.googlesource.com/platform/build/+/master/Changes.md#PRODUCT_STATIC_BOOT_CONTROL_HAL. 19:08:45 dumpvars failed with: exit status 1 In file included from build/make/core/config.mk:313: In file included from build/make/core/envsetup.mk:312: In file included from build/make/target/product/telephony_vendor.mk:24: device/xiaomi/fire/device.mk:24: error: PRODUCT_STATIC_BOOT_CONTROL_HAL is obsolete. Use shared library module instead. See https://android.googlesource.com/platform/build/+/master/Changes.md#PRODUCT_STATIC_BOOT_CONTROL_HAL. 19:08:46 dumpvars failed with: exit status 1
** Don't have a product spec for: 'twrp_fire'
** Do you have the right repo manifest?
`
Perfectionist moment.
flags=display="Micro SDcard"
vvv
flags=display="MicroSD card"
Uh... hello. So I'm working on a project of mine which I will try to port postmarketOS to Redmi 12... and I need some help about flashing the TWRP image for Xiaomi Redmi 12 in your previous repository.
Now I flashed TWRP before but it was on a completely different device ( A Samsung J7 Prime specifically) and I tried to flash an Android 14 gsi on the Redmi 12 but I got the phone pretty much bricked and got a replacement phone. I don't want to do the same mistake again.
I would pretty much appreciate clear instructions on how to flash properly after unlocking the phone.
Describe the bug
Hello, sorry to bother, but I encountered an issue with the adb sideload feature while using both the original version that fixed the touchscreen issue and the newest version. When I try to sideload a rom, I get the message:
"Devices on super may not mount until rebooting recovery. To flash additional zips, please reboot recovery to switch to the updated slot." on TWRP and then in the terminal,
[ C:\platform-tools>adb sideload lineage-21.0-20240318-UNOFFICIAL-cupid.zip
I'm not sure if this is because of TWRP or the rom being potentially incompatible, or if there's a workaround on my end, because I tried switching slots before, both in TWRP and through fastboot and the same message keeps coming up. Thanks in advance.
The touch screen does not work in recovery. The logs show that the firmware file could not be found:
(0)[137:kworker/u16:1]fts_ts spi2.0: Direct firmware download for focustech_8725_fw.bin failed with error -2
I solved the problem by adding focustech_8725_2_fw.bin, focus_ft8725_2_hx.ini files to the vendor/firmware. Now the touchscreen works
Hey i'm again is temporary boot supported?
I've tried your twrp now, it works but I found a few errors. The battery bar sometimes goes crazy and only shows 1% when you flash something via the TWRP, it doesn't matter whether the option is on or not, it is on A and B. The cell phone cannot be switched off using the power function in the TWRP. ADB has sideload Doesn't work, error keeps coming, I have to test it again myself to see what the problem is. To reproduce the Bug do fastboot flash twrp and try to go to reboot section Power Off. For the battery,Its a random Thing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.