yashsingh1/xdaforums huggingface dataset:
[Google Pixel 7] Duhjoker:
View attachment 5870603

WITH GREAT POWER COMES GREAT RESPONSIBILITY............

Please use kernel responsibly and respect the rights of others including and especially privacy!

The mad clown is back with another Kernel for all of the Kali-linux-nethunter users wanting the portability of kali-nethunter for their Pixel 7 and pixel 7 pro devices codenamed cheetah and panther collectively pantah

hahahahahahahahahahahahahahahahahahaha

Warning your warranty is now void. Do this at your own risk. The mad clown is in no way responsible for the chaos, worldwide disease, nuclear destruction, laughing fish, costumed caped crusaders or damage caused to your device by performing the steps involved.

hahahahahahahahahahahahahahahahahahaha

kernel features::

--Merged latest android kernel source Linux 5.15.149 QPR2

--Make TEO-Cpuidle util-aware (improves latency, performance and decreases energy consumption for certain workloads, more information here)

--Scheduler improvements for RT (realtime) tasks

--Boeffla's wakelock blocker

--Enabled power efficient workingqueues on various drivers

--mm: vmstat: use power efficient workingqueues tree wide

--Fsync on/off support

--Multi-gen LRU driver

--DAMON driver

--Disabled lots of debug spam

--Added bbr2 tcp drivers and enabled full options

--Lazy RCU should grant extra battery savings

--Enable support for TTL spoofing

--Full USB gadget support

--update several drivers to use power efficient workingqueues (for example wlan driver)

--f2fs: reduce timeout for uncongestion

--f2fs: Demote GC thread to idle scheduler class

--f2fs: set ioprio of GC kthread to idle

--tcp: enable advanced tcp, give user more options for tcp alorithm

--Force usb fastcharge

--Some hardening and security from graphene

--Errata work arounds

--DNS resolver support

--Checkpoint restore

--Suspend skip sync

--Security Yama

--uci functions including
-sweep2sleep
-cleanslate battery feature
-more

--Tri cluster kernel api =big, little, prime

plus all the commits needed to run kali-linux on your device and more. see my commits on github for more info

known working wifi adapters

mt7601u

rtl8187

rtl8723bu/bs

prerequisites:: vbmeta must have disabled verity and verification.

To do this pull a vbmeta.img from stock image zip or from a custom rom zip. back up your device as you will need to factory data reset your device after doing so

connect your device to your pc and open a terminal window and run

fastboot flash vbmeta vbmeta.img --disable-verity --disable-verification
fastboot -w

Works on any Android 13 sec patch

Flash using FKM (preferred)

Source ::

GitHub - Biohazardousrom/Mad-Kali-MaxHunter-Pantah at QPR2

Contribute to Biohazardousrom/Mad-Kali-MaxHunter-Pantah development by creating an account on GitHub.

github.com

release ::

416.47 MB folder on MEGA

17 files

mega.nz

For one on one support join us on Telegram at

GS101 and GS201 Development Support Group

Development support group for building ROMs for the Pixel 6 & Pixel 7 Series.	GS101 | GS201	Pixel 6 Series (6A,6,6 Pro)	Pixel 7 Series (7A,7,7 Pro)

t.me

Special Thanks to

@acuicultor

@Freak07
[Google Pixel 7] Duhjoker:
I dont know what google did to the build system but

BUILD_CONFIG=private/gs-google/build.config.cloudripper

no longer works. it gets all the way past lto on the vmlinux and fatals making the gki modules at edgetpu/jainero complaining about it not being a git repo. i removed .git folder and stil it failed

i tried different build commands but the only one that would finish was

BUILD_CONFIG=build.config build/build.sh

but upon further inspection i noticed in the .config only gs101 configs were enabled and none of the gs201 configs.

Im hoping one of the seniors has a clue as to what im doing wrong and how to get the kernel to boot both p6 and p7 devices

as it stands i ended up moving my gs-google kernel source to a qpr1 build system and everything built fine using the cloudripper config.
[Google Pixel 7] Duhjoker:
wifi monitor mode can be enabled using wifi sniffer and special firmware thats included in the android 14 developers previews.

we pulled whats needed from the vendor image and i created a magisk module for you to flash with the firmware binaries and .rc files.

i have included the zip in this post but you can get it from my github as well

GitHub - Biohazardousrom/nh-magisk-wifi-firmware-gs101-gs201: This Magisk module adds the required firmware for external wireless adapters to be used with NetHunter.

This Magisk module adds the required firmware for external wireless adapters to be used with NetHunter. - Biohazardousrom/nh-magisk-wifi-firmware-gs101-gs201

github.com

For more info on wifi sniffer and how to use it follow this link

Getting the BCM4389 in Pixel 6 into monitor mode for tcpdump/Wireshark WIFI sniffing

A little side project to debug a WIFI 6E TP-Link mesh network in my house, went from "This sounds easy!" to "This is impossible!" to "It can...

chrisf4.blogspot.com
[Google Pixel 7] Duhjoker:
im trying to get sweep to sleep to compile and ive run the commits in entirety and it still errors for implicit declarations.

im attaching the log in a zip (since i cant attach .txt files) with the errors if anyone knows to fix this please let me know
[Google Pixel 7] jutochoppa:
Does this support external wifi adapters? I have the kernel and magisk wifi module installed. My wifi adapter chipset is RTL8812BU . lsusb lists it's info but in the driver section says driver=(none)
[Google Pixel 7] Duhjoker:
i think i know whats going on. some kali linux programs and android apks as well look to the /proc/config.gz for the proper configs in order to use them

the problem is that when you make all of the kernel configs needed by kali in order to use everything it creates a system warning at every boot due to a frameworks trigger that also checks /proc/config.gz

if the trigger checks it and it sees that it doesnt match you get the warning.

to fix this we use a commit that packages the original defconfig as the /proc/config.gz

see this commit::

kernel: Use the stock config for /proc/config.gz · Biohazardousrom/android_kernel_google_raviole@bbd4998

Userspace reads /proc/config.gz and spits out an error message after boot finishes when it doesn't like the kernel's configuration. In order to preserve our freedom to customize the kernel ...

github.com

What i can do is make two different kernels. keep the current kernel as is for those that want the kali flex and dont need all the functionality and recompile the kernel with that commit reverted for the power users that need it.

But be warned every time you reboot you will get a system warning. it wont effect anything its just annoying
[Google Pixel 7] jutochoppa:
Brilliant idea! That would be wonderful.
[Google Pixel 7] Duhjoker:
Change log: 03/27/23

v1.1

removed non working uci functions

added some tcp optimisations

some other optimisations see branch qpr2-0327

Change log: 03/27/23

v1.1 full

same as above

removed the commit to hide the actual /proc/config.gz

if you use the full version you will receive a system warning at boot. this is an expected annoyance and non harmful but will give you full function of the kernel and all available drivers

if you try an adapter and it still doesnt work check my defconfig at the bottom for your drivers and see if its already configged if not let me know and ill look for the missing drivers.

make sure you have the proper firmware installed for your adapters chipset. this can be done using apt in kali linux or by installing the magisk module from previous post

Mad-Kali-MaxHunter-Pantah/arch/arm64/configs/gki_defconfig at QPR2-0327 · Biohazardousrom/Mad-Kali-MaxHunter-Pantah

Contribute to Biohazardousrom/Mad-Kali-MaxHunter-Pantah development by creating an account on GitHub.

github.com

the kernel folder will have a special folder called kali-full-config and the zip will have full in its name

i also updated the link in op. just navigate to correct folder
[Google Pixel 7] jutochoppa:
Thank you for your work. I will try sometime today.
[Google Pixel 7] jutochoppa:
The kernel flashes successfully. I did not seem to get a warning message. The adapter does not work still sadly. I init and synced QPR1 build system and cloned your repo in to gs-google source. looked up the driver by device ID (https://linux-hardware.org/?id=usb:2001-331c) and it seems the driver is in your source. I ran the BUILD_CONFIG=private/gs-google/build.config.cloudripper build/build.sh command.

It seems to build fine. I'm just not sure what to look for in the /out to make an AnyKernel.

This is my first time lol.
[Google Pixel 7] Duhjoker:
look in the android-kernel/out/android13-gs-pixel-5.10/dist directory

there you will find the

boot.img

dtbo.img

vendor_dlkm.img

vendor_kernel_boot.img

are you sure you flashed the right .zip it should have full in its name

also do you have the adapters firmware installed
[Google Pixel 7] jutochoppa:
my output was different lol. i'll have to look into it more.

Anyway.. I did not get that error. I flashed the "Mad-Kali-MaxHunter-pantah-tm-qpr2-v1.1-full.zip". I also flashed the magisk firmware module on your github that inlcudes support for "RTL8821/12* (AE/AU/BU)" in the readme. # usb-devices still says there isn't a driver. weird. i guess i'll try to figure out how to get a driver for it.

-I will add that I have StagOS-cheetah-13.0-OFFICIAL-GApps-20230224-2018-update ROM

Thanks for your help.
[Google Pixel 7] Duhjoker:
i updated the nh wireless firmware. i got down to finding the vendor.img for A14 development build using the master android branch.

looked like it was missing some firmware blobs for gs201 and i added all the fw_bcmhd files so hopefully this will help with wifi_sniffer
[Google Pixel 7] Duhjoker:
This is how i get wifi_sniffer to work. first download and install the nethunter firmware magisk module. check permissions of the binaries.

next reboot your device and disable wifi and data. This must be done in order to restart the wlan in monitor mode

now open terminal emulator and either type or copy and paste the commands below

in su shell

su

# Set bandwidth to 160 MHz for sniffing on 2.4 GHz

setprop persist.vendor.wifi.sniffer.bandwidth 160

# Set 2.4GHz band

setprop persist.vendor.wifi.sniffer.freq 2412

# start wifi sniffer

wifi_sniffer start

#tcp dump to .pcap file

tcpdump -i radiotap0 type mgt subtype beacon -w /data/beacon-capture.pcap
[Google Pixel 7] TacoDeMuerte:
Wifi_sniffer is only if you have AOSP, right? Or does it work on other ROMs?
[Google Pixel 7] Duhjoker:
should work on any rom. im currently on aicp and it works
[Google Pixel 7] AndroidAddict420:
Thank you for building a Cheetah Nethunter Kernel 😁
[Google Pixel 7] f3tal3rr0r:
I was able to get it running on stock rom.
[Google Pixel 7] Duhjoker:
Change log: 4-11-23

version bump to v1.2

merge gs-google/refs/tags/android-13.0.0.70

Fixed CVE-2022-4696 :

UPSTREAM: io_uring: add missing item types for splice request

see commits for branch QPR2-0411 for more info

Change log : Mad-Kali-MaxHunter-full

same as above but i changed the version from full to EX, honestly because it sounds better
[Google Pixel 7] HipKat:
@Duhjoker

Hey man, why don't you cross-post this in the P7P forum if you're building for Cheetah and Panther?? I just wandered in here, the P7 forum just for the heck of it. I doubt many other guys do the same thing and like me, didn't know this kernel even existed
[Redmi Note 10 Pro] Perika71:
Hi friends, i recive constantly message to send bug report on my redmi 10 pro, any suggestion gow to fix this bag?
[Android Q&A, Help & Troubleshooting] smedlytonker:
I am having a problem accessing files pushed to my Android 12 tablet via ADB under a root account (see picture 1).

(Picture 1)

View attachment 5870583

When doing a directory listing using a regular user in ADB I am unable to view the contents of the two files that were uploaded via ADB root user . Both '1.jpg' and '3.jpg' where uploaded using ADB root. The file '2.jpg' was uploaded using a the regular ADB user (i.e. ADB unrooted)

(Picture 2)

View attachment 5870575

If I do a directory listing under the root shell user I can see

all

the files

(Picture 3)

View attachment 5870597

Note: that on '1.jpg' I changed the user & group (via 'chown shell:ext_data_rw 2.jpg') so that it matches '2.jpg'. So you would think '1.jpg' would be visible to a regular user since it has the same permissions, user, & group as '2.jpg' which is visible to regular user (See picture 3). Prior to running 'chown shell:ext_data_rw 2.jpg' it had the same user and group as '3.jpg' (i.e. root).

(Picture 4)

View attachment 5870607

I used ADB to demonstrate this problem, but what I am really trying to solve is the same problem that occurs when I upload files via our sFTP server which running under a rooted SSH daemon. I figure most people don't have rooted SSH servers running on their Android device. I figured this would be closer to what they know. Not sure to do to make these files accessible to a regular user. What I'm trying to do is update files that are used by our Kotlin application (running under a regular user).

I think this is file permissions issue, but one of the other developers mentioned it may be a encryption issue (Encrypted Files System or File Based Encryption). He seemed to imply that the files where not visible between separate users. Not sure that makes sense to me as root user can see the file (2.jpg) uploaded by a regular user.

Any help would be appreciated.
[Android Q&A, Help & Troubleshooting] Oswald Boelcke:
Hello and good morning, @smedlytonker

Prior to your next posting please read the guidances that are stuck on top of every forum like

[Read Before Posting]QUESTIONS DO NOT BELONG IN GENERAL

Hello Everybody, In order to attempt to keep this forum neat and tidy the moderation team is asking you to post your questions into the Questions and Answers (Q&A) forum and not into the General section. You can find the Q&A forum by clicking...

xdaforums.com

and the others. I've moved your thread to Android Q&A.

Thanks for your cooperation!

Regards

Oswald Boelcke

Senior Moderator
[Xiaomi Redmi 3s Questions & Answers] wladziu22:
Hi,

I would like to ask you about a support in programming my "old" Redmi 3s, becase I want to have a newer Android version on the device

The device has Android 6.0.1 MMB29M, MIUI10 Global 9.3.28 Beta, kernel: 3.18.20-g89abe5f.

When I enter fastboot mode, I do not see any version of fastboot, only "picrure of bunny" with FASTBOOT.

Bootloader is arelady unlocked (as in bellow logs).

After when I flashed TWRP and I tried boot twrp.img, I got info:

FAILED (remote: dtb not found)

I tried with available the oldest one as I found on page Redmi3s-Land is twrp-3.1.1-0-land.img , and also tried with the newest one twrp-3.6.2_9-0-land.img.

ISSUE:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot twrp.img

downloading 'boot.img'...

OKAY [ 0.403s]

booting...

FAILED (remote: dtb not found)

finished. total time: 0.487s

BOOTLOADER:

I have unlocked bootloader:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem device-info

...

(bootloader) Device tampered: false

(bootloader) Device unlocked: true

(bootloader) Device critical unlocked: true

(bootloader) Charger screen enabled: true

(bootloader) Display panel:

OKAY [ 0.016s]

finished. total time: 0.017s

What I should do to fix this issue and to enter TWRP:

FAILED (remote: dtb not found)

?
[Xiaomi Redmi 3s Questions & Answers] wladziu22:
Ahh.. I fouded solution. :/ :/

Commands:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot twrp.img

calls twrp.img file from above folder, not from Redmi 3s interal flash, where I copied a new twrp.img to programming.

So simply I moved "right" file of twpr inside to folder "Minimal ADB and Fastboot", and then commands works an issue FAILED (remote: dtb not found) doest apperas.
[TCL 20 Pro 5G] mbudden89:
Just like the title says.
[TCL 20 Pro 5G] stephendt0:
You can't. Only backup the contents using non-root methods.
[Fire TV Q&A, Help & Troubleshooting] dougsdir:
All the OTG adapters I've seen seem to be USB 2.0. Is it worth buying usb 3.0 thumb drives to extend the internal memory? does the 4k Max firestick support usb 3 drives over its the micro usb port?
[Fire TV Q&A, Help & Troubleshooting] trancelated:
I tried following the OS v6 method of adding a external USB 3.0 (Intergral 512GB) device using 50/50 and a AUVIPAL OTG adapter

Looked like it worked successfully to me.

I've moved SmartTube and Kodi to the exeternal storage, but I found the apps to be very very sluggish.

However, I factory reset the Fire Stick and then plugged in the USB and followed the prompt on screen to use it as external drive, it formatted the drive and recognised it.

I installed Kodi and SmartTube and they run fine.

I've noticed that apps that have USB support take a bit of time to install (as they're installed on USB) but once they are installed, they generally seem to work fine.

So, to answer your question, I think the speed is limited to USB 2 even if you use a USB 3 drive
[Fire TV Q&A, Help & Troubleshooting] dougsdir:
I have a 4k firestick that doesnt boot. It sits at the black Fire Tv logo screen with the animated red and orange glow.

It wont get passed this, even left it on for 24 hours. Wasnt able to get into safe mode either.. This happened about a year ago, possibly during an update, Im not sure, certainly wasnt doing any hacks to it, just normal use. The firestick gets left on 24h a day.

Is there anyway I can flash a stock rom to it using a windows PC to get it up and running again?
[TCL 20 Pro 5G] mbudden89:
How do you root the TCL 20 Pro 5G?
[OnePlus 9] Atrinad:
I have a oneplus 2117 smartphone with a blocked network but with an unlocked bootloader, what do I need to flash for remove the network blocking
[OnePlus Nord CE 2] devlirian:
Halo everyone, how to change Imei in Nord CE 2 5G? Cuz regulation in my country, my imei is banned and i don't have any signal of any local SIM Card, please help me, many thanks...
[OnePlus Nord CE 2] burningcreation:
Why is it banned?
[OnePlus Nord CE 2] devlirian:
Cuz regulation in my country, must be official phone have a registered, so if you like pixel, OnePlus you must ordered non official in other web
[OnePlus Nord CE 2] TNSMANI:
MOD ACTION:

Thread closed.

@devlirian

Changing IMEI is illegal in quite a few countries. Hence XDA, which is used all over the world, doesn't support questions or discussions on this subject. Please check Rule 9:
[OnePlus 10 Pro] SwissNix:
Ok so I installed the unofficial TWRP recover.img listed in the 10 Pro threads. It failed and my phone crashes and loops on the main screen. Any easy way to undo this? I can get in to fastboot and extracted the stable C19 ROM. Novice here still learning, but cannot locate a post specific to this. There’s one post about an NE2213, but didn’t see an actual solution.
[OnePlus 10 Pro] g96818:
just flash it the same way
[OnePlus 10 Pro] SwissNix:
I get the critical partitions error when flashing the img files and it also won’t let me wipe the device with fastboot -w.
[OnePlus 10 Pro] TheNewHEROBRINE:
Try switching the active slot with

fastboot --set-active=other

maybe the failed TWRP installation made your phone switch slot.
[OnePlus 10 Pro] JimmyJurner:
I can confirm that this works. I tried as well and it was stuck in a loop. Boot to bootloader and switch slots and format data. Should be good after that. I hope it works out for you. A shame we don't have MSM tool.
[OnePlus 10 Pro] SwissNix:
Thank you all for helping so far. Tried both slots and still get the same error. Now I think all I’ve done is dig myself in to a hole 🤦🏼‍♂️ There’s no fastbootD either
[OnePlus 10 Pro] TheNewHEROBRINE:
fastbootd is broken in both slots?
[Android Q&A, Help & Troubleshooting] jonesdavid14:
Recently, I tried to install a custom rom for the X86 powered tablet. That failed since there was only custom recovery and no custom rom available due to its capabilities. So, I done some digging to find the original firmware to flash the tablet to stock. So far what I've found is the IA's Wayback Machine. Once the rom is installed and is fully functional, I'll upload it to my Drive and add the link.
[Xiaomi Mi 11] masteriori:
Hi all,

I have a Xiaomi Mi 11 (Global) that is currently stuck on Fastboot screen. I have installed drivers and MiFlashPro on my PC and Xiaomi is recognised by MiFlash but when I try to flash a global fastboot rom, it comes back with

remote: Erase is not allowed in Lock State

I can even see the phone listed with fastboot devices command. It just refuses to boot into system or allow me to reset/wipe. Also, I am unable to boot into recovery.

Help would be appreciated.

Thanks in advance.
[Xiaomi Mi 11] crusaderrs:
It is necessary unlock bootloader first.
[Xiaomi Mi 11] masteriori:
I can't unlock the bootloader the normal way because I can't get into system and enable OEM unlocking/USB debugging in Settings.
[Xiaomi Mi 11] crusaderrs:
Follow this steps to unlock the bootloader
[Xiaomi Mi 11] masteriori:
Thank you for the link but I have already tried that and since I wasn't signed into the phone, it's not letting me unlock the bootloader.

The process fails at the second stage and tells me add account on the phone in Settings but I can't go into system to do that.

Thanks
[Xiaomi Mi 11] masteriori:
Also, do I need to unlock the bootloader even if to install firmware from the same region as the phone? My phone's model is M2011K2G which I believe is for a Global version and I've tried flashing Global fastboot rom but no luck.
[Android Head-Units] peterparkerlives:
I currently have GrapheneOS installed on my Pixel 7. GrapheneOS doesn't install google play services as root so Android Auto doesn't work. I am hoping to mirror my phone at my Head Units screen resolution and control my phone from the head unit.

I have an Atoto Android Head Unit so I can install apps from the play store.

I am familiar with CarBitLink-EasyConnection but I cannot control my phone from the headunit. It only mirrors the screens. Also the screen resolution is off.

I am willing to root my phone if such an app exist. Any suggestions?
[Android Head-Units] phantomsniper773:
One thing you could try is enabling the hotspot feature of one of the devices (either your Pixel 7 or the head unit). Join the other device to the hotspot, then on the phone, install and start Droid VNC-NG and on the head unit, install VNC Viewer

Once Droid VNC-NG is running on the phone, enter the phone's IP and the port that the app is running on into VNC Viewer on the head unit. It should mirror the screen onto the head unit and allow for touch control, but I'm not sure if it will be responsive enough to be worthwhile.

You might honestly be better off just tethering your phone to the head unit and installing Google Maps/Spotify/whatever else you use Android Auto for directly on the head unit.
[Touch Diamond, MDA Compact IV Themes and Apps] gorrunwe:
Hello everyone,

i have a little problem so i'll try to explain although my english is not so good... :p

I suppose everyone here notice that, when the headset is plugged, sounds are redirected in the earphone and are captured by the headset mic.

What i want to do is to disable this headset mic, that is to say, keep the phone mic active.

Does anyone have a little idea about this ? Thanks :)
[Touch Diamond, MDA Compact IV Themes and Apps] gorrunwe:
No answer ? :(
[Asus ROG Phone 6 / 6 Pro] MMilly:
I have a problem with adding an efs file to my device and resetting it when I restart the device

My guess is that the efs or nv file is wrong and is causing the error.

I want to restore my device to its original state

How can I restore efs/nv files?
[Asus ROG Phone 6 / 6 Pro] salmanfaraj:
Do you have qcn of this ?

I had flashed eng firmware then orginal imei lost .

I tried to restore but don't have qcn ..

Thnx .
[Asus ROG Phone 6 / 6 Pro] guyaz77:
Have file eng firmware?
[OnePlus Nord N20 5G] bricklife4me:
Generic System Image (GSI) list

Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.

github.com