No Kernel Wakelock stats in BBS - HTC 10 Questions & Answers

I have no stats for Kernel Wakelocks in BetterBatteryStats. I've installed the latest version, installed the system app, but still get nothing. Everything else shows and works fine. Anyone else having this issue?

Yes, I face the same issue. Its a known issue and dev does not have cycles right now.

Cycles?
I think it also took a special fix for the LG g5 to show them...

Haldi4803 said:
Cycles?
Click to expand...
Click to collapse
lol...that's dev-speak for time for development work.

Ok, thanks for the heads up. It's not a huge deal, was just wondering if it was me, or something else.

I could be wrong but I get this.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Custom Rom? Custom Kernel?
Installed as System App?

This is the leedroid rom, but it worked on the US ruu one too. I don't think I installed it as system.
Sent from my HTC 10 using XDA-Developers mobile app

V2.2B6?

devsk said:
HTC init scripts are not mounting the debugfs. That's the reason for missing kernel wakelocks in HTC 10. Do the following from a root shell:
Code:
mntP=$(grep /sys/kernel/debug /proc/mounts | awk '{print $2}')
if [[ "${mntP}" != "/sys/kernel/debug" ]]
then
mount -t debugfs none /sys/kernel/debug
fi
Relaunch BBS and it should show the kernel wakelocks now.
Click to expand...
Click to collapse
Don't forget su, and you need to kill the App after the command

Haldi4803 said:
Don't forget su, and you need to kill the App after the command
Click to expand...
Click to collapse
Is this something that needs to be run on every boot, or once run it should stay? If it needs to be re-run on boot I suppose I'll just make Tasker run the script.

duowing said:
Is this something that needs to be run on every boot, or once run it should stay? If it needs to be re-run on boot I suppose I'll just make Tasker run the script.
Click to expand...
Click to collapse
This needs to be done every boot and as root.

Related

[TOOL] Drag'n'Flash! [Kernel/Recovery Toolkit]Flash Kernel in 1 click!

Hi. This is a little tool I made to simplify the flashing of Kernels and Recoveries.
Alternatively it will also copy the boot.img and save it in the archive folder for later. You can also label the boot images.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Usage:
Drag the .img you want to flash onto where it says "Drag file here", it can be in any folder!
Pick Kernel/Recovery
Click Flash. (Make sure your phone is in fastboot mode)
Download
http://yarr.ntg.cx/pub/dragnflash-0.4-release.zip Version 0.4 (newest)
Old versions
http://www.mediafire.com/?eus6riunvib5n9u (V0.2)
Would be cool if you could check it out.
Ideas and feedback is welcome.
Sounds great will test it with the next rom update of my rom I am using. Thanks man will provide feedback once done.
link not work
Arthas92 said:
link not work
Click to expand...
Click to collapse
Works fine for me, just tried to see if it was broken. I will upload to dropbox as well just in case...
Dropbox: https://www.dropbox.com/s/ytzq113kkjglbd4/DragNFlash-0.2.zip
@Whitekidney. if you want this taken down I will do so no problem.
I tryed using this to flash renovate 10.0.0 but i just got this message my phone was in fastboot. Any ideas of the problem?
Sent from my HTC One X using xda premium
Great tool thanks.. very handy.:good::good:
Drag'N'Flash has been updated to version 0.4.
jchritchlow said:
I tryed using this to flash renovate 10.0.0 but i just got this message my phone was in fastboot. Any ideas of the problem?
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
renovate 10 ? ...
Downloaded but ESET Smart Security dont let it unzip. Just delete it every time.
Jdgp42 said:
Downloaded but ESET Smart Security dont let it unzip. Just delete it every time.
Click to expand...
Click to collapse
That's weird. I turned off UPX which seems to have caused some troubles in my EasyFlasher builds. Let me look into this.
EDIT:
ESET seems to be a little sore because the source code is encrypted before it is compiled.
Source: http://virusscan.jotti.org/en/scanresult/d31a8f8e6cbd8e12d917491ef40b85465525c72c
I will upload a non-obfusctated build tomorrow which should resolve this strange issue.

[Q] Setting kernel parameters on startup (without using any app)?

I'm using LeanKernel 4.5 and i'd like to change governor, scheduler and some other minor parameters using sysfs. My linux understanding is quite basic.
I can easly check current values using adb (a list of sysfs options is here):
Code:
adb shell
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
I get "interactivex". However, why I can't change it using adb (first question)? This it's not working:
Code:
adb shell
echo powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
And the governor remains "interactivex".
Second question is, how can I make them permanent? Should I modify init.rc script?
You need to be root to change those values. 'su' after 'adb shell'.
Second, your rom needs to support /system/etc/init.d/ scripts.
Sent from my i9250
bk201doesntexist said:
You need to be root to change those values. 'su' after 'adb shell'.
Second, your rom needs to support /system/etc/init.d/ scripts.
Sent from my i9250
Click to expand...
Click to collapse
Thank you for your help. I did :angel: but it doesn't work:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Also, I'm using the stock factory images. So you're saying that I will not able to set this values at boot? If yes, how the app SetCPU can?
Gremo said:
Thank you for your help. I did :angel: but it doesn't work:
Also, I'm using the stock factory images. So you're saying that I will not able to set this values at boot? If yes, how the app SetCPU can?
Click to expand...
Click to collapse
Add a file at /system/etc/init.d/<filename.extension>. Chmod it to 755 and add the contents below into it(the steps can be done via adb or file manager, its easier via file manager for newbies)
Code:
#!/system/bin/sh
echo powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
After that, reboot your phone and check whether the changes has been done or not
To enable init.d, at minimum you need to be rooted though and busybox needs to be installed
Here's a link on how to enable it(you can try whether it works or not first, if it doesn't then only try this one): http://forum.xda-developers.com/showthread.php?t=1933849

Can't Install Viper4Android or Better Battery Stats into Z00AD After ROM Update

Info:
ZE551ML unlocked - WW 2.20.40.150? to WW 2.20.40.174
root - SuperSu Pro 2.67
busybox - v1.24.1 -Stericson
SELinux - set to permissive
As I usually do when there's an update, I edited the full ROM zip for 174 and then flashed with TWRP using @AL_IRAQI's guide here.
Flashed SuperSu afterwards, installed the same busybox I was using before and set my SELinux to permissive.
When I try to install Better Battery Stats as a system app, I get this error, "Failed, try recovery ZIP."
When I try to install the V4A driver, I get this error:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
These errors lead me to believe that the system partition is set to read-only.
Am I correct in my guess, and if so, how do I set it back to r/w?
Otherwise, how would I go about fixing this?
Hi,
Disable Mount space separation in SuperSU and reboot. This should fix your issues with ViPER4Android and BetterBatteryStats.
Sent from my ASUS_Z00A using XDA Labs
I too faced similar issue. had to remove supersu and install again. Viper and BBS both worked afterwards.
krasCGQ said:
Hi,
Disable Mount space separation in SuperSU and reboot. This should fix your issues with ViPER4Android and BetterBatteryStats.
Sent from my ASUS_Z00A using XDA Labs
Click to expand...
Click to collapse
Thank you for this!
I've been struggling with the issue and it made me question whether I should factory reset my phone.
I don't even know how that option was enabled.
azthemansays said:
Thank you for this!
I've been struggling with the issue and it made me question whether I should factory reset my phone.
I don't even know how that option was enabled.
Click to expand...
Click to collapse
That option is enabled by default, but it's causing some issues with certain apps...
Sent from my ASUS_Z00A using XDA Labs

[Q] Disable auto update without root

Hi,
I have Note 7 950F (new, green bat ico) but I dont wont to return to Samsung. It's possible to disable automatic system update?
I expected update to "kill phone" from Samsung. On previous note 7 I have disabled updates and fw with battery charge limit is installed automaticaly.
I using knox, I dont want root.
Thanks
Package Disabler Pro.
NIKKOTUASON said:
Package Disabler Pro.
Click to expand...
Click to collapse
Hi, installed. What disable?
The bottom four will end all updates.
NIKKOTUASON said:
The bottom four will end all updates.
Click to expand...
Click to collapse
Hi, unable to find bottom four. Only found 1/4. Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Nothing below "System Update", that is the last package on the list. Nothing else to scroll to.
This is a Verizon Note 7. Anything else I need to disable?
Type in the name of the file where it says update (search bar).
Rick GM said:
Type in the name of the file where it says update (search bar).
Click to expand...
Click to collapse
Nothing.
Apparently 3/4 of those packages just don't exist on my Verizon phone...
I hope that means I'm safe.
Strange. Assume you've scrolled through to find it (alphabetical).
Rick GM said:
Strange. Assume you've scrolled through to find it (alphabetical).
Click to expand...
Click to collapse
Yep, I've done that.
I'd be tempted to check the two System updates (which I don't have) in your post #5
Rick GM said:
I'd be tempted to check the two System updates (which I don't have) in your post #5
Click to expand...
Click to collapse
Done, thanks.

[HELP] Paytm app forces users to uninstall TeamViewer Quick Support App

Paytm won't start until the Quick Support app in completely uninstalled from the phone. Is there any way to bypass this check ? I tried few methods like disabling Quick Support app and also installing it in Parallel Space but the Paytm still detects that Quick Support is installed on the phone..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Probably containering the app is the best way, you can do this with apps like parallel space but those suck. Try to find a root solution for completely containering apps if you can
If they can still read app data, which is supposed to be blocked...I can't really help you
Some random said:
Probably containering the app is the best way, you can do this with apps like parallel space but those suck. Try to find a root solution for completely containering apps if you can
If they can still read app data, which is supposed to be blocked...I can't really help you
Click to expand...
Click to collapse
My device is fully rooted with TWRP and magisk installed. Like I said I have tried Parallel space but it didn't work out. I have no idea what application containerization is and how I can do it.
rizwan.mahai said:
My device is fully rooted with TWRP and magisk installed. Like I said I have tried Parallel space but it didn't work out. I have no idea what application containerization is and how I can do it.
Click to expand...
Click to collapse
Parallel space is not containered. Try using this: https://play.google.com/store/apps/details?id=moe.shizuku.redirectstorage
Some random said:
Parallel space is not containered. Try using this: https://play.google.com/store/apps/details?id=moe.shizuku.redirectstorage
Click to expand...
Click to collapse
Thanks a lot man, I added paytm into this application, I can now run it without it prompting me to uninstall TeamViewer and Airdroid.
rizwan.mahai said:
Thanks a lot man, I added paytm into this application, I can now run it without it prompting me to uninstall TeamViewer and Airdroid.
Click to expand...
Click to collapse
This also dilivers similar functionality to Android Q containering. Btw

Categories

Resources