Question Where goes the Bluetooth HCI snoop log? - Realme 8

Hi, I enabled the Bluetooth HCI snoop log option in the developer options but can't find the the log anywhere. Also, if I connect the device via USB there is no Android Btsnoop device.
Any idea how to get at this?

Use the
adb bugreport filename
Click to expand...
Click to collapse
command to generate a bug report, which will create
filename.zip
Click to expand...
Click to collapse
in the current directory. In this zip, look into
filename.zip\FS\data\misc\bluetooth\logs
Click to expand...
Click to collapse
directory there must be file, which can be opened with Wireshark to examine the traffic.

Thanks, that works fine

or MTK log...system root...

Hi, I managed to generate the report but cant find the Bluetooth folder under misc (or anywhere) although Bluetooth hci has been enabled
Any advice? thanks!

https://apkpure.com/super-mtk-engineering/com.princewellinc.supermtkengineering
its replaced ...upper comment ..parts of the MTK logger

Related

USB-Ethernet Driver Compilation

Could someone compile the following file for me? I'd do it myself, but, unfortunately, I don't have access to a computer, nor will I for a while (I'm touchpad only for now).
https://github.com/CyanogenMod/hp-kernel-tenderloin/blob/gingerbread/drivers/net/usb/mcs7830.c
The driver is for a USB-Ethernet adapter that I'm trying to get working on the Touchpad through ICS (cm9).
Thanks.
Is this for USB 3g dongles??
No, not for a 3G adapter, but for one that goes from USB to Ethernet cable.
jcsullins compiled it for me, by the way, so I no longer need the driver (many thanks to him).
However, I can confirm that ICS on CM9 recognized it without problems as eth0 and once I ran dhcpd and assigned a DNS server, I had no problems connecting to the internet. So feel free to add a driver for your own adapter if you have one.
So to review:
-copy driver (to /system/lib/modules)
-insert module ("insmod /system/lib/modules/*yourdriver*.ko")
-get an IP address (manually, or "/system/bin/dhcpd eth0")
-add DNS (setprop net.dns1 *yourDNSserver*)
A couple caveats, I've noticed.
1) It doesn't play nice with wifi. I sort of expected this, but bringing up wlan0 and eth0 at the same time crashes the tablet.
2) Not all apps recognize the internet connection. This is a bit frustrating since most do (including the Browser), but not all.
potissimus said:
No, not for a 3G adapter, but for one that goes from USB to Ethernet cable.
jcsullins compiled it for me, by the way, so I no longer need the driver (many thanks to him).
However, I can confirm that ICS on CM9 recognized it without problems as eth0 and once I ran dhcpd and assigned a DNS server, I had no problems connecting to the internet. So feel free to add a driver for your own adapter if you have one.
So to review:
-copy driver (to /system/lib/modules)
-insert module ("insmod /system/lib/modules/*yourdriver*.ko")
-get an IP address (manually, or "/system/bin/dhcpd eth0")
-add DNS (setprop net.dns1 *yourDNSserver*)
A couple caveats, I've noticed.
1) It doesn't play nice with wifi. I sort of expected this, but bringing up wlan0 and eth0 at the same time crashes the tablet.
2) Not all apps recognize the internet connection. This is a bit frustrating since most do (including the Browser), but not all.
Click to expand...
Click to collapse
Thanks for the extra info--but a link the the driver jcsullins provided you would be a lot more helpful! Any chance you can post it somewhere for us?
all4adriver said:
Thanks for the extra info--but a link the the driver jcsullins provided you would be a lot more helpful! Any chance you can post it somewhere for us?
Click to expand...
Click to collapse
*bump*
is there a USB ethernet adapter that will work on our touchpads without a driver?
all4adriver said:
*bump*
is there a USB ethernet adapter that will work on our touchpads without a driver?
Click to expand...
Click to collapse
I figured out how to compile drivers manually myself shortly after my posts in this thread. I havent used my build environment in a while though, should still be able to check out what (if any) drivers are built into the kernel by default. Do you already have an adapter?
ba114 said:
I figured out how to compile drivers manually myself shortly after my posts in this thread. I havent used my build environment in a while though, should still be able to check out what (if any) drivers are built into the kernel by default. Do you already have an adapter?
Click to expand...
Click to collapse
OMG thank you for responding! No, I don't have an adapter yet--was waiting to find out which one works and I'll buy that. I'm open to suggestions. Thank you!
You are my shining beacon of hope ba114! Have you had a chance to see what drivers might exist in the kernel?
I read elsewhere that the cyanogenmod for the asus transformer contains a driver compatible with Asix AX88772. That chipset is what this cheapo adapter (OMG, no links for noobs!) uses. I have half a mind to buy one just to see, but it would help immensely if someone could confirm that jcsullins cm9 or cm10 for the touchpad also has support for this chipset baked in...
Hopefully giving you something to work with will make this less of a "needle in the haystack"...
Thanks!
really wish I could post links, as jscullins has posted the driver!
hxxp://goo.im/devs/jcsullins/cmtouchpad/misc/mcs7830.ko
all4adriver said:
really wish I could post links, as jscullins has posted the driver!
hxxp://goo.im/devs/jcsullins/cmtouchpad/misc/mcs7830.ko
Click to expand...
Click to collapse
http://goo.im/devs/jcsullins/cmtouchpad/misc/mcs7830.ko
could use some help
OK, finally got my OTG cable and USB ethernet. Let's do this!
Tried to follow these instructions:
So to review:
-copy driver (to /system/lib/modules)
-insert module ("insmod /system/lib/modules/*yourdriver*.ko")
-get an IP address (manually, or "/system/bin/dhcpd eth0")
-add DNS (setprop net.dns1 *yourDNSserver*)
Had to troubleshoot why my Touchpad wasn't being seen as a USB mass storage device. DONE. I'm feeling like a boss.
Windows Explorer didn't see the main system--just the "SD Card". What ever--not big deal. I copied the driver over to the SD Card. Downloaded Astro File Manager to copy the file to /system/lib/modules. Nope. Denied.
No problem! Dropped to terminal and enabled super user. Astro is still a no go. No worries!! I'm a big boy--I'll do this in terminal! Taught myself enough command line jargon to navigate to the file, and copy it to the intended directory. NOPE. Directory is read only.
OK, so I navigate there and try to chmod the directory with u+w. "Bad mode". Research that to learn I have to use the numbers. So I try that (775) and now it tells me it is a read-only file system.
sigh
It might not seem like it, but I'm trying. I really am.
Can someone tell me how to get past step one of this process? Please? What on earth am I doing wrong?
I recently had to do some wizardry on my phone to get openvpn to co-operate, and I suspect that would work here but I don't understand the commands, and fear I'd end up screwing something up.
This was the command:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
I'm guessing I need to unmount the system so I can work on it and copy the file into that directory? Is that the case? Would the command line be the same, or different?
Anyone else get this to work now that the driver has been posted publicly?
Thanks!!!!
To help those who come after me:
Grab ES File Explorer. It includes a Root Explorer that lets you mount the file system as writable. The "copy to" command claimed to work but did not copy the file. Copy the driver, then manually navigate to /system/lib/modules and paste. Voila.
-insert module ("insmod /system/lib/modules/*yourdriver*.ko")
Click to expand...
Click to collapse
this appeared to work
-get an IP address (manually, or "/system/bin/dhcpd eth0")
Click to expand...
Click to collapse
this took me a long time to figure out. as far as I can tell, the only "directions" noobs like me have to follow contain typos. the command should read dhcpcd eth0
HOWEVER, what I get instead is eth0: interface not found or invalid
a little help here? Does the mcs7830.ko driver work with the Asix AX88772 chipset?
Stupid question--should I be expecting the touchpad to power the USB ethernet adapter via the OTG cable, or do I require a "Y" cable to supply power? Is that why I'm getting:
eth0: interface not found or invalid
Click to expand...
Click to collapse
all4adriver said:
Stupid question--should I be expecting the touchpad to power the USB ethernet adapter via the OTG cable, or do I require a "Y" cable to supply power? Is that why I'm getting:
Click to expand...
Click to collapse
I would assume so. Every HP Touchpad tutorial that I've see that mentions an OTG cable also mentions it needing to be powered.

[TIP]Changing wifi mac id

Thanks to Redpik;
Redpik said:
Using rootexplorer or adb write in this file /data/misc/wifi/config this line "cur_etheraddr=xx:xx:xx:xx:xx:xx" with your mac address. This is pretty permanent
Sent from my LG-P970 using XDA
Click to expand...
Click to collapse
George Jetson said:
I success change wifi mac id with this path:
1.install busybox
2.terminal emulator or adb shell with cmd
3.wifi turn on
4.entered this line
busybox ip link set wlan0 address xx:xx:xx:xx:xx:xx
5.done
Click to expand...
Click to collapse
you should add the Tag [TIP] on the thread title. nice tip thanks.
This method is not permanent. Once wifi gets disabled or phone rebooted mac reverts to original. In my case 0.
Redpik said:
This method is not permanent. Once wifi gets disabled or phone rebooted mac reverts to original. In my case 0.
Click to expand...
Click to collapse
Yes my mac reverts original too.Sorry everyone.
hmmm... in system/etc/wifi, find "nvram.txt"
You will see, "macaddr=".
Try to change there.. or add another "macaddr=" at the very bottom.
Reboot and see if it stays and changed.
The problem with CM7 is that nvram files has the correct mac address, but in wifi settings is still 0:. So there's another file that overwrites this (i guess)
The permanent solution is to change it through Hyperterminal. Only that there's no hidden menu to change AP CP usb mode. :|
Edit : I found a way, someone posted it on rootwiki forum. If nvram.txt has the original mac address just write in /data/misc/wifi/config cur_etheraddr=xx:xx:xx:xx:xx:xx with the mac address. It's working.
George Jetson said:
I success change wifi mac id with this path:
1.install busybox
2.terminal emulator or adb shell with cmd
3.wifi turn on
4.entered this line
busybox ip link set wlan0 address xx:xx:xx:xx:xx:xx
5.done
Click to expand...
Click to collapse
Is that permanent, or will back when reboot?
Sent from my LG-P970 using Tapatalk
Using rootexplorer or adb write in this file /data/misc/wifi/config this line "cur_etheraddr=xx:xx:xx:xx:xx:xx" with your mac address. This is pretty permanent
Sent from my LG-P970 using XDA
Hi Redpik,
you could at least mention, who found this about /data/misc/wifi/config, right?
Greetings
BTW, I usually do something like:
Code:
adb shell 'echo cur_etheraddr=XX:XX:XX:XX:XX:XX >> /data/misc/wifi/config'
Works only, if you are directly root when connecting via adb.
dreamind said:
Hi Redpik,
you could at least mention, who found this about /data/misc/wifi/config, right?
Greetings
BTW, I usually do something like:
Code:
adb shell 'echo cur_etheraddr=XX:XX:XX:XX:XX:XX >> /data/misc/wifi/config'
Works only, if you are directly root when connecting via adb.
Click to expand...
Click to collapse
Yes, it was you. Sorry if i upset you. I was really searching everywhere so in a hurry to provide intel for the others, i said someone. My bad. Thanks.

Root on Mac?

Anyway to root the Fire on a Mac? I see the Windows tool but nothing for Mac...
Mac . . .
Do we have to help?
What FireOS version do you have? Did you avoid connecting to wifi?
There may not be a point n click rooting tool for macs but you can always do it manually.
It is new, never connected to internet. I have enabled ADB but fast boot does not see the device, Where do I need to get the drivers for the Fire at for Mac? I have FireSO 5.0.1
You can get drivers from google.
This also came up on google.
GUIDE Set up ADB and Fastboot on a Mac easily (With Screenshots!)
blueberry.sky said:
Mac . . .
Do we have to help?
What FireOS version do you have? Did you avoid connecting to wifi?
There may not be a point n click rooting tool for macs but you can always do it manually.
Click to expand...
Click to collapse
I'll port http://forum.xda-developers.com/amazon-fire/general/root-fire-5th-gen-autoroot-script-noob-t3276923 with your help. Try the .sh file and tell me the result.
Think these are up to date.
https://github.com/simmac/minimal_adb_fastboot
Support page
http://forum.xda-developers.com/android/general/adb-fastboot-binaries-os-x-inclusive-t2941205
blueberry.sky said:
You can get drivers from google.
This also came up on google.
GUIDE Set up ADB and Fastboot on a Mac easily (With Screenshots!)
Click to expand...
Click to collapse
Can use the long winded way from there with the sdk but the attached files are for older version of adb that wouldn't connect to my friend's Fire as it's a Lollipop based device.
glitch3yf0x said:
I'll port http://forum.xda-developers.com/amazon-fire/general/root-fire-5th-gen-autoroot-script-noob-t3276923 with your help. Try the .sh file and tell me the result.
Click to expand...
Click to collapse
i'll gladly help.
dustintinsley said:
i'll gladly help.
Click to expand...
Click to collapse
Sweet! I'm working to make this fully compatible with linux, windows, and Mac OS X by tonight plus a few last minute added features. I have no idea how to emulate Mac OS X so when the time comes would you mind telling me if the script runs properly?
glitch3yf0x said:
Sweet! I'm working to make this fully compatible with linux, windows, and Mac OS X by tonight plus a few last minute added features. I have no idea how to emulate Mac OS X so when the time comes would you mind telling me if the script runs properly?
Click to expand...
Click to collapse
Code:
/Users/dustintinsley/Downloads/Fire5/fire_root.sh: line 1: @echo: command not found
Plug in your device with a USB data cable.
/Users/dustintinsley/Downloads/Fire5/fire_root.sh: line 3: syntax error near unexpected token `('
/Users/dustintinsley/Downloads/Fire5/fire_root.sh: line 3: `echo Please enable ADB debuging in the developer options (Tap Serial Number in Device Options 20 tim's if it is hidden)
Dustins-MacBook-Air:~ dustintinsley$
dustintinsley said:
Code:
/Users/dustintinsley/Downloads/Fire5/fire_root.sh: line 1: @echo: command not found
Plug in your device with a USB data cable.
/Users/dustintinsley/Downloads/Fire5/fire_root.sh: line 3: syntax error near unexpected token `('
/Users/dustintinsley/Downloads/Fire5/fire_root.sh: line 3: `echo Please enable ADB debuging in the developer options (Tap Serial Number in Device Options 20 tim's if it is hidden)
Dustins-MacBook-Air:~ dustintinsley$
Click to expand...
Click to collapse
Those will be an easy fix. Dummy me forgot to remove those. I thought I did. Thanks!
glitch3yf0x said:
Those will be an easy fix. Dummy me forgot to remove those. I thought I did. Thanks!
Click to expand...
Click to collapse
Just let me know i will test again...
dustintinsley said:
Just let me know i will test again...
Click to expand...
Click to collapse
Alright. I need to get a hold of the ADB platform-tools for MAC. Is there a way you can install android SDK for me and use the SDK manager to download platform-tools (latest version)? Then go into the platform-tools and send me the fastboot and adb tool?
http://dl.google.com/android/android-sdk_r24.4.1-macosx.zip
glitch3yf0x said:
Alright. I need to get a hold of the ADB platform-tools for MAC. Is there a way you can install android SDK for me and use the SDK manager to download platform-tools (latest version)? Then go into the platform-tools and send me the fastboot and adb tool?
http://dl.google.com/android/android-sdk_r24.4.1-macosx.zip
Click to expand...
Click to collapse
I really need these files in the above post. They are the last step before final testing and release. If anyone can upload them, please do it.

[p9 lite] add OTG support (NEED TESTERS) (need root)

I found something interesting. When i used the OTG checker, i noticed that 3 system files are disabled(they don't have full permissions).
Here's what you have to do(if the FIX button doesn't work)
1.Use a root explorer (Xplore is needed)
2.Find the files with the X from the screenshot
3. Change the permissions and check all the boxes.
4.Reboot and done!
Someone test this and comment if it does or if it doesn't work.
I didn't tried ( i didn't root yet) but i hope it will work
(Tried on my s4 mini and it worked)
Johnny TDN said:
I found something interesting. When i used the OTG checker, i noticed that 3 system files are disabled(they don't have full permissions).
Here's what you have to do(if the FIX button doesn't work)
1.Use a root explorer (Xplore is needed)
2.Find the files with the X from the screenshot
3. Change the permissions and check all the boxes.
4.Reboot and done!
Someone test this and comment if it does or if it doesn't work.
I didn't tried ( i didn't root yet) but i hope it will work
(Tried on my s4 mini and it worked)
Click to expand...
Click to collapse
Hey, just tried. I've fixed permission for android.hardware.usb.host.xml file and now the otg checker give me only green check. Rebooted the phone but when i plug in my usb pen anything happen
Zeph1990 said:
Hey, just tried. I've fixed permission for android.hardware.usb.host.xml file and now the otg checker give me only green check. Rebooted the phone but when i plug in my usb pen anything happen
Click to expand...
Click to collapse
You must do on the all files. Now only android.hardware.usb.host.xml
Zeph1990 said:
Hey, just tried. I've fixed permission for android.hardware.usb.host.xml file and now the otg checker give me only green check. Rebooted the phone but when i plug in my usb pen anything happen
Click to expand...
Click to collapse
Do it for all of the files. Not only on android.hardware.usb.host.xml
doesn't work..
you must make changes to kernel also for otg to work
snapdesign said:
doesn't work..
you must make changes to kernel also for otg to work
Click to expand...
Click to collapse
Did you checked all the boxes on the permissions?
Johnny TDN said:
Did you checked all the boxes on the permissions?
Click to expand...
Click to collapse
what do you see in the photo? also otg needs support from kernel... it doesn't work without it
i make a custom kernel with host permissions but doesn't work anyway...
Possible problem its software and managed vold's...
In the RAMDISK it's pointed correct for USB OTG
/devices/hisi-usb-otg/usb1/* auto auto defaults voldmanaged=usbotg:auto
BadWolfYe said:
i make a custom kernel with host permissions but doesn't work anyway...
Possible problem its software and managed vold's...
In the RAMDISK it's pointed correct for USB OTG
/devices/hisi-usb-otg/usb1/* auto auto defaults voldmanaged=usbotg:auto
Click to expand...
Click to collapse
can you make a kernel with multirom support?
edit: you are the same bad wolf from htcmania?
snapdesign said:
can you make a kernel with multirom support?
edit: you are the same bad wolf from htcmania?
Click to expand...
Click to collapse
Yes the same
And in this moment MultiROM its innecesary (no support for other roms only EMUI...)
BadWolfYe said:
Yes the same
And in this moment MultiROM its innecesary (no support for other roms only EMUI...)
Click to expand...
Click to collapse
well, someone is working on a cm build... when that will boot we should have a kernel with multirom...
i tried on more way too for OTG already,,, added lines too vold.fstab etc etc but it wont support,,,
UPDATE
My phone is rooted and i am testing it. Hope it works on mine. If it doesn't, the post should be removed
Hiya Fellas,
I was messing around with my development build last night and I was able to turn on USB host mode and successfully plug in and use a usb flash drive. Now keep in mind that this was on CM 13 but, this might also work on a rooted stock.
Using adb or terminal app.
1. Look for a path in /sys/devices that ends with hisi_usb (e.g /sys/devices/f4000000.hisi_usb)
2. Now inside that folder there should be a file called plugusb.
3. use this command
echo hoston > /sys/devices/f4000000.hisi_usb/plugusb
Replace "f4000000" with the real value.
Now plug in your device and see if it is recognized!
EDIT: You may need to be root to do this!
ADB: "adb root"
TERMINAL APP: "su"
Meticulus said:
Hiya Fellas,
I was messing around with my development build last night and I was able to turn on USB host mode and successfully plug in and use a usb flash drive. Now keep in mind that this was on CM 13 but, this might also work on a rooted stock.
Using adb or terminal app.
1. Look for a path in /sys/devices that ends with hisi_usb (e.g /sys/devices/f4000000.hisi_usb)
2. Now inside that folder there should be a file called plugusb.
3. use this command
echo hoston > /sys/devices/f4000000.hisi_usb/plugusb
Replace "f4000000" with the real value.
Now plug in your device and see if it is recognized!
EDIT: You may need to be root to do this!
ADB: "adb root"
TERMINAL APP: "su"
Click to expand...
Click to collapse
The value changed... I forgot my USB adapter in the car... will update the in a few minutes... if it works you resolved a big thing in what..2 days from having the device? great dev... thanks!
EDIT: unfortunately it doesn't work on my device... also after reboot the value changed to OFF again... great find although
Meticulus said:
Hiya Fellas,
I was messing around with my development build last night and I was able to turn on USB host mode and successfully plug in and use a usb flash drive. Now keep in mind that this was on CM 13 but, this might also work on a rooted stock.
Using adb or terminal app.
1. Look for a path in /sys/devices that ends with hisi_usb (e.g /sys/devices/f4000000.hisi_usb)
2. Now inside that folder there should be a file called plugusb.
3. use this command
echo hoston > /sys/devices/f4000000.hisi_usb/plugusb
Replace "f4000000" with the real value.
Now plug in your device and see if it is recognized!
EDIT: You may need to be root to do this!
ADB: "adb root"
TERMINAL APP: "su"
Click to expand...
Click to collapse
WORK !!! THANK YOU !
- install from Playstore Universal Init.d
- Open Universal Init.d and activate support
- Create a generic text file Ex. usbotg in /etc/init.d folder with the following content
#!/system/bin/sh
echo hoston > /sys/devices/f4000000.hisi_usb/plugusb
!!!! Replace "f4000000" with the value found in your smartphone (my: ff100000) !!!!
- give to the file 755 permission
- reboot
I used Root Explorer to do all.
Enjoy !
Meticulus said:
Hiya Fellas,
I was messing around with my development build last night and I was able to turn on USB host mode and successfully plug in and use a usb flash drive. Now keep in mind that this was on CM 13 but, this might also work on a rooted stock.
Using adb or terminal app.
1. Look for a path in /sys/devices that ends with hisi_usb (e.g /sys/devices/f4000000.hisi_usb)
2. Now inside that folder there should be a file called plugusb.
3. use this command
echo hoston > /sys/devices/f4000000.hisi_usb/plugusb
Replace "f4000000" with the real value.
Now plug in your device and see if it is recognized!
EDIT: You may need to be root to do this!
ADB: "adb root"
TERMINAL APP: "su"
Click to expand...
Click to collapse
ThankS!!!! It worked but, there are some troubles:
after using that command doesn't work the usb cable phone - PC (need reboot or to write "hostoff" instead of "hoston");
after rebbot need again to rewrite the command.
With universal Init.d it can be a little easy cause you can make 2 file ( 1 for hoston and 1 for hostoff) and just run them from app, so with 2 touch you can enable and disable otg instead of wirting everytime the command using terminal.
Edit: universal init.d doesn't work properly so I used a script runner and just run from it (with root permissions) 1 of 2 script (enable, disable).
Edit2: Look these images to see what I've done(don't need to reboot phone after):
Image 1: http://prnt.sc/ckk9hs
Image 2: http://prnt.sc/ckka26 (used this app: https://play.google.com/store/apps/details?id=com.snclabs.scriptrunner&hl=it)
Don't know if anyone else has this problem but for some weird reason when I try plug in my 8gb or 128gb it won't work but if plug in the 32gb memory stick bam it works fine any one know the reason y?
Sent from my HUAWEI VNS-L31 using XDA-Developers mobile app
Noel.89 said:
Don't know if anyone else has this problem but for some weird reason when I try plug in my 8gb or 128gb it won't work but if plug in the 32gb memory stick bam it works fine any one know the reason y?
Sent from my HUAWEI VNS-L31 using XDA-Developers mobile app
Click to expand...
Click to collapse
I've tried with my 16gb usb pendrive, 500gb external HD, 2TB external HD and it worked fine with all of them...
SevenSlevin said:
I've tried with my 16gb usb pendrive, 500gb external HD, 2TB external HD and it worked fine with all of them...
Click to expand...
Click to collapse
Really how did you get yours to work maybe I'm doing something wrong putting the file in wrong place
Sent from my HUAWEI VNS-L31 using XDA-Developers mobile app

Question Request: Run a few "adb shell" commands on a Xiaomi 11

Hey you lucky Mi 11 owners,
I'm trying to compile a database for Android Devices - something like the Grade Partition Table Reference started a while ago here @xda, but a lot more detailed, including:
-cat /proc/cpuinfo
- getprop
- service list
- lshal
- ps -Zef
- ls -l /dev
- ls -l /dev/block/by-name
- cat /proc/partitions
- df
- mount
- dumpsys (lots of output)
I make the results public at http://newandroidbook.com/ddb/ so other people, primarily researchers and rooters/modders, can benefit. Any help would be *greatly* appreciated. It's really simple to do this (especially on Linux, just use "script" then "adb shell", then run all these , exit from device, exit from script, and grab typescript.txt)
I have sent my debugging records, copied and saved by CMD of win10. Because my linux can't seem to load usb
G731882624 said:
I have sent my debugging records, copied and saved by CMD of win10. Because my linux can't seem to load usb
Click to expand...
Click to collapse
That's great! Thank you! But... where did you send them? I didn't get anything either here or at the [email protected] mail..
And btw, running "Adb" as root usually fixes the usb problems on Linux. Either that, or changing dev rules
morpheus______ said:
That's great! Thank you! But... where did you send them? I didn't get anything either here or at the [email protected] mail..
And btw, running "Adb" as root usually fixes the usb problems on Linux. Either that, or changing dev rules
Click to expand...
Click to collapse
Oh, I probably sent the wrong email address. I am using the Linux subsystem under win10. Run lsusb to get [email protected]:/mnt/c/Users/Ge# lsusb
unable to initialize libusb: -99
G731882624 said:
Oh, I probably sent the wrong email address. I am using the Linux subsystem under win10. Run lsusb to get [email protected]:/mnt/c/Users/Ge# lsusb
unable to initialize libusb: -99
Click to expand...
Click to collapse
Is it the address at [email protected]? . .
G731882624 said:
Is it the address at [email protected]? . .
Click to expand...
Click to collapse
Got it! Thank you so much! This is super helpful!!!
how to root ?any one can help?
feng.zh.cfo said:
how to root ?any one can help?
Click to expand...
Click to collapse
It should be as easy as unlocking the bootloader and trying magisk through Magisk Manager on the boot.img from the OTA (which I put at http://NewAndroidbook.com/ddb/Mi11/OTA). Let me know if you need help with that.
feng.zh.cfo said:
how to root ?any one can help?
Click to expand...
Click to collapse
I am rooted, very simple
G731882624 said:
I am rooted, very simple
Click to expand...
Click to collapse
I have unlocked the bootloader, what should I do?Can you give me detailed steps, thank you!
I have unlocked the bootloader, what should I do?Can you give me detailed steps, thank you!
morpheus______ said:
It should be as easy as unlocking the bootloader and trying magisk through Magisk Manager on the boot.img from the OTA (which I put at http://NewAndroidbook.com/ddb/Mi11/OTA). Let me know if you need help with that.
Click to expand...
Click to collapse
I have unlocked the bootloader, what should I do?Can you give me detailed steps, thank you!
morpheus______ said:
It should be as easy as unlocking the bootloader and trying magisk through Magisk Manager on the boot.img from the OTA (which I put at http://NewAndroidbook.com/ddb/Mi11/OTA). Let me know if you need help with that.
Click to expand...
Click to collapse
I have unlocked the bootloader, what should I do?Can you give me detailed steps, thank you!
morpheus______ said:
Got it! Thank you so much! This is super helpful!!!
Click to expand...
Click to collapse
I'm rooted, I will do the un-debugged part later
127|venus:/data/local/tmp # ./bindump
Usage: bindump [-h|-?]
bindump [ns] list
bindump [ns] check SERVICE
bindump [ns] call SERVICE [i32 N | i64 N | s16 STR ] ...
bindump [ns] users SERVICE # As per my 'bindump' tool (try 'all' for SERVICE)
bindump [ns] dump SERVICE # As per 'dumpsys' tool
Where: [ns] is optionally 'binder' (default), 'hwbinder' or 'vndbinder'
Bindump, Dumpsys, Service & more - v0.1 - By Jonathan Levin
This tool is part of the resources for 'Android Internals', Volume II
Free for non-commercial use at http://NewAndroidBook.com/
用于商业用途(和纯C活页夹库)mail://[email protected]
I don’t know how to enter next to get debugging information
127|venus:/data/local/tmp # ./bindump users all
venus:/data/local/tmp #
For example, he has no output
G731882624 said:
127|venus:/data/local/tmp # ./bindump users all
venus:/data/local/tmp #
For example, he has no output
Click to expand...
Click to collapse
That happens if debugs is not mounted
mount -t debugfs none /sys/kernel/debug
fixes problem

Categories

Resources