-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Shellcode and Config For Xiaomi Pad 6 (Pipa) #3
Conversation
Added pipa
Fix Shellcode
https://github.com/pipa-mainline/linux/blob/adomerle/aw88261-wip/drivers/pinctrl/qcom/pinctrl-sm8250.c Target Device: Xiaomi Pad 6 (pipa), using Snapdragon 870 (SM8250) Goal: Detect Hall sensor state during boot and redirect to UEFI if activated. Hall Sensor GPIO: GPIO 110 on the TLMM controller, active low. TLMM Controller Base Address: 0xf900000 (North tile) GPIO 110 Status Register Offset: 0xB0004 (calculated as: 0x1000 * 110 + 0x4) Relevant Bit: Bit 0 of the status register represents the input status. Logic: Load the GPIO status register into a register. Mask the register using a logical AND to isolate the hall sensor input bit. Conditional branch based on that bit: If the bit is zero(not activated), jump to the UEFI. Otherwise, continue to the Linux kernel. Shellcode Structure: Uses DummyHead.S for padding and basic jump; uses CommonTail.S to provide UEFI/Linux branches.
learn to use git. |
Sorry this is my first time, will learn slowly |
@Daniel224455 Learn to respect others. That was rude for no reason. We can always fix the number of commit by doing a squash on merge as shown below if thats what was bothering you: @pipa-pussy thanks for the contribution; I will wait for others to review it like @sunflower2333 just to be sure everything is fine too. |
Thanks for your words |
@gus33000 this is 2nd time seeing Daniel get "scolded". |
What's the trigger/switch bro, cover or gravity or something else? |
Magnetic Case closed= Android Previously, i attached a recording as a proof then i removed it. I thought this is not how things are done. If you need any other info feel free to ask |
Okay I see. I was just curious so nothing else needed. And why you close the pr lmao. |
Am very sorry, i don't know myself when this happened. I will create pull Request again |
No description provided.