pershoot kernel's bug on UEKMM android 3.2 - Galaxy Tab 10.1 General

i'm on lastest version of pershoot kernel, UEKMM and OC to 1.4ghz. When i connect my tablet to computer through USB interface, the OC setting doesn't work and it's back to 1ghz. so everytime i plug it in i must reset the OC setting by setCPU, doesn't it confuse anyone?

works fine here (UEKMN OTA).
with it plugged in:
[email protected]:/sys/devices/system/cpu/cpu0/cpufreq # cat scaling_max_freq
cat scaling_max_freq
1400000
without it plugged in:
setcpu shows 1400 max.

pershoot said:
works fine here (UEKMN OTA).
with it plugged in:
[email protected]:/sys/devices/system/cpu/cpu0/cpufreq # cat scaling_max_freq
cat scaling_max_freq
1400000
without it plugged in:
setcpu shows 1400 max.
Click to expand...
Click to collapse
yep, i meant it plugged in the computer's USB interface, the lower USB voltage causes this issue......if you plug it in the charger it seems fine. And sorry about my english.

Related

Settings/Applications/Development/Stay Awake (when charging)

ApokrifX said:
Guys,
Does anybody know how to do same with setprop?
Click to expand...
Click to collapse
Asked in General Android forum – no response...
That will be really helpful with abd over USB debugging
Looks like it’s controlled by stay_on_while_plugged_in in /data/data/com.android.providers.settings/databases/settings.db
http://developer.android.com/reference/android/provider/Settings.System.html
Whether we keep the device on while the device is plugged in. Supported values are:
• 0 to never stay on while plugged in
• BATTERY_PLUGGED_AC to stay on for AC charger
• BATTERY_PLUGGED_USB to stay on for USB charger
These values can be OR-ed together.
Constant Value: "stay_on_while_plugged_in"
It 3 by default (i.e. stay on either BATTERY_PLUGGED_AC or BATTERY_PLUGGED_USB), but NST doesn’t honor it. :crying:

[Q] smb347 AND bq27541 ?

I see messages in /proc/kmsg (or dmesg output) from both drivers (stock kernel).
Is that because the Summit Microsystems SMB 347 chip does no actual "charging" of the battery, but rather just performs the OTG/USB cable detection function(s), and that the TI BQ 27541 chip actually manages the battery charge state? That is, the SMB347 sits between the USB port and the TI BQ27541, and the battery sits behind the both of them?
Does that sound about right?
[Edit 2013-12-26]No, not correct!
Answering my own post. Lame. Thought I would update this in case anyone stumbles in to it. The URLs above appear to still be working.
The TI BQ 27541 does nothing other than monitor the battery current and voltage. It in no way controls the amount of current entering the battery during charging.
The Summit Microsystems SMB 347 does that.

[Q/Solved] Use of GPS (Sygic) drains the battery (CM10 - 09/04)

Hello,
I’m having a Defy running with CM10 by Quarx NightBuild from 09/04.
When I’m using a GPS apps (Sygic) in my car with car charger plugged (Belkin USB Car Charger output 5v), instead of charging the phone, the battery drains slowly.
When I try to limit the Max CPU frequency to 800Mhz in the performance menu, when it comes back from sleep, it reset the frequency to 1000Mhz.
Any ideas how to solve this issues?
Buy a more powerful car charger? ( Maybe one that can charge my Asus transformer pad ? )
Thanks for your help.
Otherwise the rom is running fine!
Huh, I had this same problem with early CM7 builds. Problem was solved by itself with newer bulds. I did not think it would come up again in someones CM10!!
I cannot actually help you sorry..
I've bought a new car charger on amazon :
USAMS USB Max 3,1A /1A (12 - 24V)
It seems to do the job for now.
:highfive:

Problem while phone is charging

Hi, when I charge my phone with official charger and micro USB cable battery is between 39 and 40°C (102.2 and 104°F) and CPU between 1689 and 2016mhz, is that normal? When unplug all cores to 652mhz and everything is ok.
I have disabled gps and location service, no apps in background and first I was with miui global rom 8.2.4.0, then switched to RR 8.5.3 and happens the same and then switched to Epic Rom and its the same.
Is it normal with fast charge that tenperarure and CPU working or I have my phone broken? Thanks
rober_arro said:
Hi, when I charge my phone with official charger and micro USB cable battery is between 39 and 40°C (102.2 and 104°F) and CPU between 1689 and 2016mhz, is that normal? When unplug all cores to 652mhz and everything is ok.
I have disabled gps and location service, no apps in background and first I was with miui global rom 8.2.4.0, then switched to RR 8.5.3 and happens the same and then switched to Epic Rom and its the same.
Is it normal with fast charge that tenperarure and CPU working or I have my phone broken? Thanks
Click to expand...
Click to collapse
try to use 1 Amp Charger instead of 2 Amp. i think fast charger is the fault
SAFI_AFRIDI said:
try to use 1 Amp Charger instead of 2 Amp. i think fast charger is the fault
Click to expand...
Click to collapse
Thanks, at night will try charging with my old charger

Using n4 without a physical battery but usb powered

I have an old n4 that my daughter used and broke in every conceivable way. So I want to use it as a webcam to monitor the 3d printer. I have done what was shown on this page
https://wreckorwalker.wordpress.com/2018/03/27/how-to-running-nexus-4-without-battery/ . It works but not fully.
When only the usb-battery is plugged in it will begin to boot but almost every time before the main screen comes up it will power off. So I began to plug in the usb slot as well, this can usually get it to boot and act as a webcam for a while but after some time it will just power off. It's rooted and I have been playing with settings to get it to stop doing this but to no avail.
one setting in particular if your going to do this should help
Bash:
# prevent charging from usb
adb shell 'su -c "echo 1 > /sys/module/pm8921_charger/parameters/disabled"'
Some other settings I have played with
Bash:
# set power settings
adb shell svc data disable
adb shell svc nfc disable
adb shell svc wifi enable
adb shell svc power stayon usb
adb shell svc power stayon wireless
adb shell svc power stayon true
adb shell settings put global stay_on_while_plugged_in 3
# stop batterystats trash
adb shell dumpsys batterystats --reset
adb shell dumpsys batterystats disable full-history
# mock disconnect from usb
adb shell dumpsys battery set usb 0
# mock disconnect from ac charger
adb shell dumpsys battery set ac 0
# set battery is discharging
adb shell dumpsys battery set status 3
# set battery to full charged
adb shell dumpsys battery set level 100
If anyone has any ideas or has been successful doing this let me know how you accomplished it. I don't want to trash this thing while it still has some use.
I don't recommend this if you're not familiar with electronics, but I've gotten around this by cutting the end off a USB cable and soldering them (or in some cases just using electrical tape) to the battery terminals on the circuit board.
SMcC2 said:
I don't recommend this if you're not familiar with electronics, but I've gotten around this by cutting the end off a USB cable and soldering them (or in some cases just using electrical tape) to the battery terminals on the circuit board.
Click to expand...
Click to collapse
so the charger or laptop supply still responds to the changing power draw needs of the phone that way ?
SMcC2 said:
I don't recommend this if you're not familiar with electronics, but I've gotten around this by cutting the end off a USB cable and soldering them (or in some cases just using electrical tape) to the battery terminals on the circuit board.
Click to expand...
Click to collapse
I would consider myself hobbyist tier with electronics. And if I'm reading between the lines here correctly is going my route (using part of the battery) the problem? Also have you tried this on an n4?

Categories

Resources