This is for kernel devs only. The patch itself is useless to those who do not/can not compile their own kernel.
This was a pretty big hit on some other devices so I figured I'd give it a shot for you guys. This allows one to force AC charging for any charger that is detected as USB (e.g. many car chargers) and pull the full current the charger can support. It also provides additional security when connecting to public charging stations because by forcing AC charging, USB/adb data transfers are disabled, protecting your data.
It is essentially a software version of the modified charge only usb cables.
Fast charge can be toggled by issuing:
echo 1 > /sys/kernel/fast_charge/force_fast_charge
and off:
echo 0 > /sys/kernel/fast_charge/force_fast_charge
In addition I have created a toggle fast charge widget that may be used to toggle fast charge on and off right from your home screen:
https://play.google.com/store/apps/details?id=com.incredicontrol.fastchargewidget
I have also implemented a toggle in IncrediControl (free) that will allow you to turn it on and off.
https://play.google.com/store/apps/details?id=com.incredicontrol
For the widget (or any fast charge toggle) to work, you MUST be running a kernel that has this patch implemented.
As a good gesture to support a fellow dev, I ask that if you implement the patch into your kernel, please link to my widget as one means to toggle it. You are of course free to provide other ways to toggle it as well if you so desire.
Kernel devs, if you would like to test the widget yourself to confirm its working, and for convenience of testing, please contact me and I will provide you with a copy. You must show that you are a kernel dev though (i.e. link me to your kernel post so I can match your username).
http://www.incredikernel.com/wp-con.../download.php?id=vivo_force_fast_charge.patch
i'm not a dev, but im very looking forward to seeing this in future kernel updates.
there are still many car chargers out there that could do 1ah charging but are recognized as standard usb chargers. with that you cant even use navigation without loosing battery over some time.
btw your apps are awesome!
veitograf said:
i'm not a dev, but im very looking forward to seeing this in future kernel updates.
there are still many car chargers out there that could do 1ah charging but are recognized as standard usb chargers. with that you cant even use navigation without loosing battery over some time.
btw your apps are awesome!
Click to expand...
Click to collapse
What kernel do you use? I'll patch it and build a copy for you real quick.
Edit: I looked at your signature and saw virtuous quattro. Here is the kernel built from the github from that ROM:
http://chad0989.dyndns.org/mirror/virtuous-quattro-vivo-fastcharge.zip
Enjoy.
I'm sure interested in this, am sick of my phone dying when connected to car charger. Hopefully someone can write this for affinity as I just don't have the skills.
Amazes me how you guys can do this stuff
chad0989 said:
What kernel do you use? I'll patch it and build a copy for you real quick.
Edit: I looked at your signature and saw virtuous quattro. Here is the kernel built from the github from that ROM:
http://chad0989.dyndns.org/mirror/virtuous-quattro-vivo-fastcharge.zip
Enjoy.
Click to expand...
Click to collapse
thanks man, appreciate that!
edit, does this work with sensation too? i got one lying around.
veitograf said:
thanks man, appreciate that!
edit, does this work with sensation too? i got one lying around.
Click to expand...
Click to collapse
Not yet, but if there is interest I can make a patch for the sensation also.
Hi chad! Would really like to port your patch to the Sony's Xperia Devices but I'm stuck at the moment on
msm72k_udc.c
Could I ask some help?
We don't have charger_detect() function so I'm lost on where to apply some of the patches on that file. If you want you could browse the file here
http://108.166.90.15/.rom/XPR/kernel/drivers/usb/gadget/msm72k_udc.c
Or browse the entire kernel for Xperia 2011 devices here
http://108.166.90.15/.rom/XPR/kernel/
and tarball here if you want
http://108.166.90.15/.rom/XPR.tar
Anyone knows if any existing IncS kernels support Force AC? I really like to use it to boost the charge time.
@chad0989, if possible, can you also mod the X-ICS AOSP V3 kernel for us? The source link is here. Many thanks!
chad0989 said:
This is for kernel devs only. The patch itself is useless to those who do not/can not compile their own kernel.
This was a pretty big hit on some other devices so I figured I'd give it a shot for you guys. This allows one to force AC charging for any charger that is detected as USB (e.g. many car chargers) and pull the full current the charger can support. It also provides additional security when connecting to public charging stations because by forcing AC charging, USB/adb data transfers are disabled, protecting your data.
It is essentially a software version of the modified charge only usb cables.
Fast charge can be toggled by issuing:
echo 1 > /sys/kernel/fast_charge/force_fast_charge
and off:
echo 0 > /sys/kernel/fast_charge/force_fast_charge
In addition I have created a toggle fast charge widget that may be used to toggle fast charge on and off right from your home screen:
https://play.google.com/store/apps/details?id=com.incredicontrol.fastchargewidget
I have also implemented a toggle in IncrediControl (free) that will allow you to turn it on and off.
https://play.google.com/store/apps/details?id=com.incredicontrol
For the widget (or any fast charge toggle) to work, you MUST be running a kernel that has this patch implemented.
As a good gesture to support a fellow dev, I ask that if you implement the patch into your kernel, please link to my widget as one means to toggle it. You are of course free to provide other ways to toggle it as well if you so desire.
Kernel devs, if you would like to test the widget yourself to confirm its working, and for convenience of testing, please contact me and I will provide you with a copy. You must show that you are a kernel dev though (i.e. link me to your kernel post so I can match your username).
http://www.incredikernel.com/wp-con.../download.php?id=vivo_force_fast_charge.patch
Click to expand...
Click to collapse
Can you make a Kernel for sense Rom with that and uv support?
Sent from my HTC Incredible S using xda premium
ignore---sry
Hi, I'm using Nik's Project X and I would really really like to be able to force ac charge as I lost my original HTC charger. How can I go about doing this
JerryBYong said:
Hi, I'm using Nik's Project X and I would really really like to be able to force ac charge as I lost my original HTC charger. How can I go about doing this
Click to expand...
Click to collapse
Downloading the widget should be sufficient.
Sent from my HTC Incredible S using Tapatalk 2
I just got the widget, and it says kernel not supported. What kernel must I use and how do I install it
Sent from my HTC Incredible S using xda premium
JerryBYong said:
I just got the widget, and it says kernel not supported. What kernel must I use and how do I install it
Sent from my HTC Incredible S using xda premium
Click to expand...
Click to collapse
A kernel with force ac charging included, like the one itandy made a while ago for ice cold sandwich
Edit: found it
http://forum.xda-developers.com/showthread.php?t=1686995
Sent from my Nexus 7
markj338 said:
A kernel with force ac charging included, like the one itandy made a while ago for ice cold sandwich
Edit: found it
http://forum.xda-developers.com/showthread.php?t=1686995
Sent from my Nexus 7
Click to expand...
Click to collapse
Ok but that kernel is a asop one and I'm project x is a sense rom right? So its not compatible
Sent from my HTC Incredible S using xda premium
JerryBYong said:
Ok but that kernel is a asop one and I'm project x is a sense rom right? So its not compatible
Sent from my HTC Incredible S using xda premium
Click to expand...
Click to collapse
Yeah it won't work, its one of those 'wait for source' things but now that we have it, the code needs to be merged into the kernel
markj338 said:
Yeah it won't work, its one of those 'wait for source' things but now that we have it, the code needs to be merged into the kernel
Click to expand...
Click to collapse
So there's nothing that can be done?
Sent from my HTC Incredible S using xda premium
JerryBYong said:
So there's nothing that can be done?
Sent from my HTC Incredible S using xda premium
Click to expand...
Click to collapse
Can be done, since we have kernel sources as of yesterday
Just that someone needs to do it
If you don't mind, will you pm me when there is a kernel for project x?
Sent from my HTC Incredible S using xda premium
JerryBYong said:
If you don't mind, will you pm me when there is a kernel for project x?
Sent from my HTC Incredible S using xda premium
Click to expand...
Click to collapse
L0st.prophet's kernel works for project x, just doesn't have force ac
I will let you know if I remember
maybe you could put a request in his kernel thread
Related
Hi there,
I'm a it tech with skills in Linux, OSX and Windows. I'm an amateur cook, with more of a take apart and figure out why things tick kinda cook, who wants to help.
I own a HTC wildfire, and have tested WildPuzzle, upto v7.3. I am in the process of cooking a froyo Rom for the wildfire. Based on a combination of the Chinese Rom, puzzle Rom and the open source Android sdk.
I guess I'm more just putting forth both my skills and my Rom, ASAP.
Just here to help really.
Peace
Sent from my HTC Wildfire using XDA App
can you help me?
Cant wait to see the chefs special
I don't have a ps3 but u can see if there's anything I can do once I get home.
Chefs special XD I like that.
Sent from my HTC Wildfire using XDA App
Elbie said:
I don't have a ps3 but u can see if there's anything I can do once I get home.
Chefs special XD I like that.
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
thanks in advance
Elbie said:
Hi there,
I'm a it tech with skills in Linux, OSX and Windows. I'm an amateur cook, with more of a take apart and figure out why things tick kinda cook, who wants to help.
I own a HTC wildfire, and have tested WildPuzzle, upto v7.3. I am in the process of cooking a froyo Rom for the wildfire. Based on a combination of the Chinese Rom, puzzle Rom and the open source Android sdk.
I guess I'm more just putting forth both my skills and my Rom, ASAP.
Just here to help really.
Peace
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
Would you mind solving the bug in clockworkmod which means that when the wildfire is turned off and charging, the light remains of even after unplugging the charger (to get the light to go out you need to remove the battery)
I must admit I haven't witnessed that bug myself. Could you tell me how you came about this bug?
Sent from my HTC Wildfire using XDA App
Elbie said:
I own a HTC wildfire, and have tested WildPuzzle, upto v7.3. I am in the process of cooking a froyo Rom for the wildfire. Based on a combination of the Chinese Rom, puzzle Rom and the open source Android sdk.
Click to expand...
Click to collapse
Hi, danne_jo's rom (v8 - froyo based) is based on the chinese rom itself. Mixing stuff from v7.x and v8 can provide wierd bugs.
- You might get in touch with HCDR.jacob though, working on an overclock module for wildfire, he made some interresting progress (read that somewhere).
- You can also work on the psfreedom, which seems to disable some useful features on wildfire (such as wifi) but I guess it's kinda related as the wifi hardware might be plugged on the usb chip.
- Or you could dive in mods, and try to port the rotary lockscreen to wildfire (I tried, it works great but I can't find where to "resize" the layout, vanilla lockscreen looks too big, rotary lockscreen is out of the screen)
edit: you might want as well to look at useful modding/tweaking tools such as apktool / (bak)smali.
hey elbie any answer for my problem
Help
Sent from my HTC Wildfire using XDA App
Sympnotic said:
Hi, danne_jo's rom (v8 - froyo based) is based on the chinese rom itself. Mixing stuff from v7.x and v8 can provide wierd bugs.
- You might get in touch with HCDR.jacob though, working on an overclock module for wildfire, he made some interresting progress (read that somewhere).
- You can also work on the psfreedom, which seems to disable some useful features on wildfire (such as wifi) but I guess it's kinda related as the wifi hardware might be plugged on the usb chip.
- Or you could dive in mods, and try to port the rotary lockscreen to wildfire (I tried, it works great but I can't find where to "resize" the layout, vanilla lockscreen looks too big, rotary lockscreen is out of the screen)
edit: you might want as well to look at useful modding/tweaking tools such as apktool / (bak)smali.
Click to expand...
Click to collapse
Have a look at the lockscreen thats in the openfire rom, is the perfect size.
Elbie said:
I must admit I haven't witnessed that bug myself. Could you tell me how you came about this bug?
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
It also happens with wildpuzzle rom... It's triggerred when you plug charger in and you turn off your phone. You won't be able to turn on the phone unless you reseat the battery.
Sent from my HTC Wildfire using XDA App
hector28 said:
It also happens with wildpuzzle rom... It's triggerred when you plug charger in and you turn off your phone. You won't be able to turn on the phone unless you reseat the battery.
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
Doesn't happen to me at all, i've used both v7.3.1 and v8
hi guys, i go in recovery mode ,then in advanced,i click on report error an this is the answer
/tmp/recovery.log/was copied to/sd card/clockworkmod/recovery.log./please open rom manager to report the issue.
wath's wrong?
When rooted turn the phone off and put it on charge. If you take it off charge the light will remain
Sent from my HTC Wildfire using XDA App
It's asking you to open Rom manager to sent the report since clockworkmod has no WiFi access
Sent from my HTC Wildfire using XDA App
brilldoctor said:
When rooted turn the phone off and put it on charge. If you take it off charge the light will remain
Click to expand...
Click to collapse
Now this I can replicate, however I don't need to remove the battery to power on. Also noticed that when off, if you plug it into a pc, adb will notice recovers there. Looks Like it doesn't truly turn off. Although I believe this is covered in another thread.
I have not had a chance yet to test
Many things as my boilers sprung a leak and taken out part of my ceiling.
Will be back to testing thing asap.
I have however been trying to mix up a few things with my portable kitchen
So far I notice the power issue doesn't present itself with the Chinese Rom. But it does with my chefs special. Which atm is majoritivly Chinese Rom and android source. I am using HTC Facebook/Twitter from puzzle v7.3 and its ok, buggy, lots of fc with lots if things, but... Blazing fast
Hopefully, once boiler etc fixed, I can release an alpha Rom.
Peace
Sent from my HTC Wildfire using XDA App
If it helps my wildfire has a amtel panel
It causes crash pressing the trackball using non-htc'ish parts
is there anyway to view sent item , inbox, etc.. rather than all messages for my hp sms?
hp sms?
Im a Handcent user, havent found a single sms app that works as well.. Plus I really dont like the HTC stock sms app.
So Sorry I havent been around much. My Boiler leaked taking out half my ceiling... not good.
Have been cooking on my portable kitchen though (Netbook running OSX Sow Leopard with a virtual Ubuntu Kitchen)
So far I have a 2.2 ROM...BUT....It's about as stable as jelly XD
Will be as quick as I can.. but creation takes it's time.
Peace
This kernel is for AOSP Gingerbread roms for the Incredible only!
Do not flash with ROM Manager, it has been known to give very strange issues on this phone, boot into recovery and manually flash it.
Things I add from stock (I believe in a mostly vanilla kernel with smaller mods to improve battery life and, in some situations, performance)
-havs (hybrid adaptive voltage scaling)
-smartass cpu governor (capped at 384mhz while screen is off)
-smb329 enabled (fast charge)
-no debugging (for smaller kernel size)
Use kernel manager from the market to get this (unless you want to be stubborn and do it yourself)
Pulled -5 and -6, not working as expected
invisiblek 2.6.37.6-4:
-Updated to latest cm-kernel source (latest change was May 30th)
-smartass and havs settings grabbed from the popular .32 #28 kernel which should help us get some decent battery life
Download
ENJOY!
----------------------------------------------------------------------------
SOURCE:
All of my source is at: http://github.com/invisiblek/cm-kernel/2.6.37_cm-kernel
We need to thank cyanogen, slayher, toastcfh, koush, cuviper, chad0989, cayniarb, vinylfreak89, seanzer, conap, jamezelle, and im sure others for all their help with this
FAQ:
Q: Will this work with Froyo?
A: Maybe, but probably not. I would recommend a .32 kernel since they are more stable at this time.
Q: My led turns green at 90% what gives? Please Fix!!
A: It always does that, been addressed a million times. Live with it
Q: Why is my cpu governor <x> when i set it to <y>?
A: <x> is probably the default (most roms set this in the ramdisk although the kernel does have a default setting, the ramdisk usually trumps it) youll have to re-set your governor after a reboot
Q: How can I help?
A: You can start by grabbing the source code from here
Q: What is havs?
A: from kingxklick's thread:
Code:
Also, a little info on HAVS and AVS:
The purpose of HAVS is to minimize the power used by the CPU by determining
and setting the optimal voltage. At the same time, the maximum voltage by
which HAVS can scale to is fixed to a specified voltage depending on the
CPU frequency in order to prevent scaling to a higher voltage than what is
normally used at a specified voltage. The optimal voltage is actively determined
for each frequency and temperature. HAVS actively adjusts the CPU voltage as the
CPU frequency and temperature changes.
Q: What is smartass?
A: The smartass governer drops drops the max cpu frequency when your screen is off (currently set to max 384mhz). It is very effective in saving battery life. (juice plotter is a good one for monitoring your battery life)
Put me down
Not much help with kernels but I can test and feed back
Sent from my ADR6300 using XDA App
Same here.. Teach me how yo build.. All set up for it.. Just don't understand it
Sent from my ADR6300 using XDA App
Love to help. Currently running your#29 kernel along with omgb rom. Runs awesome but I know it can do more.
any theories as to why all the other kernels make touch input useless? I have an amoled incredible btw. Anything I can do to test or help develop something to work fully with 2.3.1 I'm all for it.
P.s. Anyone know anything about jit with gb? I never used it since I have used sense roms up to this point.
Sent from my Htc Incredible using Tapatalk
invisiblek said:
for now, check my github://github.com/invisiblek/cm-kernel
we need a dinc community developed kernel for gingerbread
anyone who wants to help, post up and lets get something going
Click to expand...
Click to collapse
http://github.com/slayher
I have a working kernel, with support for tethering, and mounting of both emmc and sdcards. Also my same changes were pushed to the CM/htc-kernel-incrediblec
Its not a .35 kernel, but it does have the gadget drivers backported.
slayher said:
http://github.com/slayher
I have a working kernel, with support for tethering, and mounting of both emmc and sdcards. Also my same changes were pushed to the CM/htc-kernel-incrediblec
Its not a .35 kernel, but it does have the gadget drivers backported.
Click to expand...
Click to collapse
Doesn't the current included one support this? Does your kernel work with pc usb mounting without gscript?
Also personally I am looking for a stable oc version. Anyone had luck so far with any of this?
Sent from my Htc Incredible using Tapatalk
This is good. I'll help.
Sent from my ADR6300 using XDA App
networkmagician419 said:
Same here.. Teach me how yo build.. All set up for it.. Just don't understand it
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Best way to get set up is to join is on irc. Its much easier to communicate there
Sent from my dInc using XDA app
trunksta said:
Love to help. Currently running your#29 kernel along with omgb rom. Runs awesome but I know it can do more.
any theories as to why all the other kernels make touch input useless? I have an amoled incredible btw. Anything I can do to test or help develop something to work fully with 2.3.1 I'm all for it.
P.s. Anyone know anything about jit with gb? I never used it since I have used sense roms up to this point.
Sent from my Htc Incredible using Tapatalk
Click to expand...
Click to collapse
It's because you probably have a 004f touch controller. If you try to register more than 3 points on it, it won't function.
Sent from my ADR6300 using XDA App
trunksta said:
Doesn't the current included one support this? Does your kernel work with pc usb mounting without gscript?
Also personally I am looking for a stable oc version. Anyone had luck so far with any of this?
Sent from my Htc Incredible using Tapatalk
Click to expand...
Click to collapse
yes, this is the kernel I am using with the CM7 build for the DINC. CM7 mounts and tethers with out gscript.
http://github.com/slayher
I have a working kernel, with support for tethering, and mounting of both emmc and sdcards. Also my same changes were pushed to the CM/htc-kernel-incrediblec
Its not a .35 kernel, but it does have the gadget drivers backported.
Click to expand...
Click to collapse
Doesn't the current included one support this? Does your kernel work with pc usb mounting without gscript?
Also personally I am looking for a stable oc version. Anyone had luck so far with any of this?
Sent from my Htc Incredible using Tapatalk
Click to expand...
Click to collapse
It's his kernel that is supplied with the cm7 builds.
Sent from my "girlfriend"... According to my wife.
Thanks for bringing this out to the full community! Hopefully we can get the ball moving a bit better on development now.
Also great to see pretty much every active kernel dev for the Inc posting in here, and a lot of other people interested in getting this going.
I'll keep pitching in however I can.
I also greatly appreciate all you kernel devs hard work and I look forward to the development of this kernel...I am a willing tester just waiting for a build to come out so I can report on it
Sent from my ADR6300 using XDA App
Would gladly love to test
Sent from my ADR6300 using XDA App
i see lots of devs i recognize here. this could be very interesting. and trustworthy ones too. i'll test.
invisiblek said:
Best way to get set up is to join is on irc. Its much easier to communicate there
Sent from my dInc using XDA app
Click to expand...
Click to collapse
Maybe I should know this and I missed the memo... What server and channel...
what irc channel? this would be a big step to get going on the Dinc.
This is exciting .. cloning now
#incredible on irc.andirc.net
please update your tree too, ive done some more work this morning
use arch/arm/mach-msm/invisiblek_incredible_defconfig as your .config
im down to one compile time error -- woot!
hey, for anyone who cares, I copied invisiblek's kernel and dropped the kernel voltages to the same as chad's would be with -75 mv patch from -viper-. I did no real work here. EDIT: Also Chad's Incredikernel-sense.
Note: My reason for doing this is that these don't have sysfs. My next attempt will be at adding sysfs to invisiblek's, then the sense one. This is only for my learning to mess with android a little bit. I've taken my share from the devs, donated some cash, now it's time for me to give back a little.
if you use it and feel like donating to anyone, please donate to invisiblek. I'd also like to thank chad0989 for getting me started on compiling, and guiding me a lot. if you like anything here, please thank him for being an awesome help. I think invisiblek's kernel is perfect, just uses a little more voltage than I got on Incredikernel. so I'm trying this out. I'll use it through tomorrow, and if it doesn't work right on my phone, I'll change it. This is based off invisiblek's v3 kernel.
Please note that these are settings that worked for my phone. by no means does this mean that it'll work for yours. If you want me to modify it, I'll do it for you if I have the time. If you want support, don't bother invisiblek. I don't want my endeavor to become his burden. post here or contact me on twitter @foodferthought.
download here. WIFI/CIFS Enabled
NOTE GUYS: Okay, wifi and cifs working. sorry for my newbishness. And thanks chad0989 for being so helpful with helping a newbie android dev (or hacker, or just an android noob, whatever I am) with getting a compiler working, and figuring out stupid stuff.
Next up I'm going to mess with chad's incredikernel for sense lowering voltages, and I'm going to try hacking a sysfs for voltages on it. if it works I'll come back and try on this one. I haven't coded C in years (college dropout), so I might be slow but I'm learning. I was proud I even found the havs voltage file on my own. the linux kernel always boggled me outside menuconfig.
LOW VOLT Incredikernel for sense
http://www.bleedle.com/kernel/lowvoltIncredi32.zip
Thanks for the work. Do you think it's possible for you to undervolt chad's Sense kernel a little lower than it is now?
Cheers!
POQbum said:
Thanks for the work. Do you think it's possible for you to undervolt chad's Sense kernel a little lower than it is now?
Cheers!
Click to expand...
Click to collapse
I suppose I could. I don't want to be people's slave for compiling, but it doesn't have a sysfs where you can do it? do you have root explorer?
phydo said:
I suppose I could. I don't want to be people's slave for compiling, but it doesn't have a sysfs where you can do it? do you have root explorer?
Click to expand...
Click to collapse
no his latest sense kernel doesn't have sysfs only his later AOSP ones do. So there's no way I can do it through root explorer. That's why I was hoping you could tweak the voltages since you already have experience with doing the same to another kernel.
POQbum said:
no his latest sense kernel doesn't have sysfs only his later AOSP ones do. So there's no way I can do it through root explorer. That's why I was hoping you could tweak the voltages since you already have experience with doing the same to another kernel.
Click to expand...
Click to collapse
If you can find the git repository I'll do it, is it just any froyo kernel of his?
I'll compile it tomorrow if you can find the source. the problem is, I don't see it on chad's github. I dunno, if you search around you might find it. I have to get to sleep (east coast, I work early in the warehouse). I'll check this regularly if I can.
https://github.com/Chad0989/incredikernel
is my old sense kernel
If you want to toss the sysfs interface in take a look at this commit:
https://github.com/Chad0989/android_kernel_common/commit/15d469a1aabc76d549c94bc7150678fe808a51d8
Note that acpuclock-qsd8x50.c was formerly called acpuclock-scorpion.c in 2.6.32
Sent from my ADR6300 using XDA App
chad0989 said:
https://github.com/Chad0989/incredikernel
is my old sense kernel
If you want to toss the sysfs interface in take a look at this commit:
https://github.com/Chad0989/android_kernel_common/commit/15d469a1aabc76d549c94bc7150678fe808a51d8
Note that acpuclock-qsd8x50.c was formerly called acpuclock-scorpion.c in 2.6.32
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
hey chad how do I compile the wireless modules? I tried the gentoo method I think it was make ARCH=arm modules && modules_install but that just borked on me
I'll give it a go - thanks!
phydo said:
hey chad how do I compile the wireless modules? I tried the gentoo method I think it was make ARCH=arm modules && modules_install but that just borked on me
Click to expand...
Click to collapse
They compile by themselves, you just have to copy them manually where you want them.
The wireless module is at:
drivers/net/wireless/bcm4329/bcm4329.ko
and if you want cifs support (some people do so I include it) the module is at:
fs/cifs/cifs.ko
If you're using anykernel drop them in system/lib/modules. You have to replace them whenever you compile a new kernel, if the versions differ, the modules won't work.
glhf
Ok I checked in that folder last night and didn't see them but ill have to check again. Thanks for all your help!
Sent from my ADR6300 using XDA Premium App
Kay guys this seems pretty freaking stable. 24 hours, no reboots, no random app closures...
Sent from my ADR6300 using XDA Premium App
Looking forward to having it with WiFi ability!
Sent from my ADR6300 using XDA App
I should be able to add it after work today
Sent from my ADR6300 using XDA Premium App
SomeGuyDude said:
Looking forward to having it with WiFi ability!
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
But I promise I wont sleep tonight without it cuz I want it too
Sent from my ADR6300 using XDA Premium App
Phydo, you think it's still possible you'll add sysfs or lower voltages in chads?
Reading through the thread I'm not sure if you've decided to go and help tweak it or not.
POQbum said:
Phydo, you think it's still possible you'll add sysfs or lower voltages in chads?
Reading through the thread I'm not sure if you've decided to go and help tweak it or not.
Click to expand...
Click to collapse
Yes I will try. If you want to let me know what voltages you want ill do them, or I can try the set for this kernel that worked for me. When I get home I gotta put wifi in this kernel then ill work on that. Promise
Sent from my ADR6300 using XDA Premium App
WIFI / CIFS enabled. I don't know how to modify thread name to show that. hope somebody appreciates it.
POQbum said:
Phydo, you think it's still possible you'll add sysfs or lower voltages in chads?
Reading through the thread I'm not sure if you've decided to go and help tweak it or not.
Click to expand...
Click to collapse
POQbum are you available at all? I kind of need a tester on sense for what you requested. please don't be too hopeful but it *may* work
hey chad do you have a config you used for sense or do i need to make one?
Nevermind I made one. uhh, I need to do some debugging here I'll need a little bit lol
This is for kernel devs only. The patch itself is useless to those who do not/can not compile their own kernel.
I put together this patch for you guys at the request of a few different members here in the nexus S forum who had saw my patch in the gnex forum. This allows one to force AC charging for any charger that is detected as USB (e.g. many car chargers) and pull the full current the charger can support. It also provides additional security when connecting to public charging stations because by forcing AC charging, USB/adb data transfers are disabled, protecting your data.
Fast charge can be toggled by issuing:
echo 1 > /sys/kernel/fast_charge/force_fast_charge
and off:
echo 0 > /sys/kernel/fast_charge/force_fast_charge
Some roms (AOKP) have also implemented toggles.
In addition I have created a toggle fast charge widget that may be used to toggle fast charge on and off right from your home screen:
https://play.google.com/store/apps/details?id=com.incredicontrol.fastchargewidget
For the widget (or any fast charge toggle) to work, you MUST be running a kernel that has this patch implemented.
As a good gesture to support a fellow dev, I ask that if you implement the patch into your kernel, please link to my widget as one means to toggle it. You are of course free to provide other ways to toggle it as well if you so desire.
Kernel devs, if you would like to test the widget yourself to confirm its working, and for convenience of testing, please contact me and I will provide you with a copy. You must show that you are a kernel dev though (i.e. link me to your kernel post so I can match your username).
Here you go. Good luck have fun:
http://www.incredikernel.com/wp-con...wnload.php?id=nexus_s_force_fast_charge.patch
very nice, thanks
Nice job... Thanks!
Nice......
Sent from my Nexus S
Many thanks . Hoping our devs implement this to their kernels.
Sent from my Nexus S
Seems to be working great here.. didn't realize it could charge this much faster.
Sent from my Nexus S using XDA
Great job! Thank you!
brenix said:
Seems to be working great here.. didn't realize it could charge this much faster.
Sent from my Nexus S using XDA
Click to expand...
Click to collapse
Nexus S ? How do you use it since there are no kernels supporting this feature yet ?
Sent from my Nexus S
Oodie said:
Nexus S ? How do you use it since there are no kernels supporting this feature yet ?
Click to expand...
Click to collapse
I reckon he compiled one for himself.
Its been brought to my attention that the AOKP toggle interferes in some way with the widget. I'm going to contact them and see what's up. I think they may be setting the permissions of the fast charge toggle in an undesirable manner.
chad0989 said:
Its been brought to my attention that the AOKP toggle interferes in some way with the widget. I'm going to contact them and see what's up. I think they may be setting the permissions of the fast charge toggle in an undesirable manner.
Click to expand...
Click to collapse
Or you could just make an app for it till you resolve the issue.
Sent from my Nexus S
Wooooow!! Thank you!!
Sent from my Nexus S using xda app
r_data said:
Wooooow!! Thank you!!
Sent from my Nexus S using xda app
Click to expand...
Click to collapse
Waiting [im]patiently
Oodie said:
Or you could just make an app for it till you resolve the issue.
Sent from my Nexus S
Click to expand...
Click to collapse
It's not an issue on my end. It's theirs as testers had no issues with any other ROMs.
I do have an app also via will toggle, its called incredicontrol. I didn't mention it because it doesn't fully support the s. You're free to try it though. It's free in the market.
Sent from my ADR6425LVW using XDA
chad0989 said:
It's not an issue on my end. It's theirs as testers had no issues with any other ROMs.
I do have an app also via will toggle, its called incredicontrol. I didn't mention it because it doesn't fully support the s. You're free to try it though. It's free in the market.
Sent from my ADR6425LVW using XDA
Click to expand...
Click to collapse
oh ! I've use incredicontrol for a long time when i was using my X10 . Didn't know it was yours
& waiting for our kernel devs to implement your patch & will test & give feedback gladly .
Thanks again for your hard work
r_data said:
Wooooow!! Thank you!!
Sent from my Nexus S using xda app
Click to expand...
Click to collapse
Currently using your Kernel....can wait for you to add it
Like how fast compare to the standard 3,5 hrs full charge?
doc_v15 said:
Like how fast compare to the standard 3,5 hrs full charge?
Click to expand...
Click to collapse
I tested this patch out on a test kernel chad sent me. I didn't test to long as wifi was broken with his kernel. Its definitely faster than regular usb charging if your USB can put out more. It takes advantage of the extra juice instead of limiting it, It all depends and what your trying to charge from. I'm just waiting for it to implemented into our kernels. So some real test can be done.
Sent from my Nexus S using XDA
THANK YOU VERY MUCH FOR THIS! I'm a student, and it dreadful to charge my phone from my laptop. Here's to hoping with the patch, I can charge a bit quicker with USB.
Will this hurt our device . Or will it affect the battery in a harmful way ?
Sent from my Nexus S
So I don't care if it takes a couple hours for the phone to charge, the problem is that the phone charges to 100% in about 2 hours and I don't think that is normal, I assume the kernel with android hd revolution has fast charge enabled. I have not installed a new kernel. I did but then i flashed a new version of hd revolution, I assume that overwrites the kernel
Sent from my HTC One using xda app-developers app
manwinder said:
So I don't care if it takes a couple hours for the phone to charge, the problem is that the phone charges to 100% in about 2 hours and I don't think that is normal, I assume the kernel with android hd revolution has fast charge enabled. I have not installed a new kernel. I did but then i flashed a new version of hd revolution, I assume that overwrites the kernel
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
download an app like trickster mod and see if fast charge is enabled...
ARHD comes with the stock kernel. I believe it is turned off.
I downloaded the app but it doesn't say anything about quick charge. Maybe i am looking into the wrong place where is it in the app.
Sent from my HTC One using xda app-developers app
I believe that HTC has not enabled Qualcomm's fastcharge 1.0 and I think that the fast charge that certain custom kernel will optionally enable is a different thing entirely.
My understanding is fast charge enabled by custom kernel is more accurately called usb fast charge , which will allow greater than 500ma when plugged into pc or laptop usb 3 port for charging.
I don't believe this will alter the charge current or rate when plugged into HTC or other model of ac mains charger
Sent from my HTC One using xda app-developers app
paul_59 said:
I believe that HTC has not enabled Qualcomm's fastcharge 1.0 and I think that the fast charge that certain custom kernel will optionally enable is a different thing entirely.
My understanding is fast charge enabled by custom kernel is more accurately called usb fast charge , which will allow greater than 500ma when plugged into pc or laptop usb 3 port for charging.
I don't believe this will alter the charge current or rate when plugged into HTC or other model of ac mains charger
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
I think you are exactly correct about fast charge. And I've read that people have destroyed usb ports by trying to over-draw them with it enabled.
Sent from my HTC One using xda app-developers app
I installed battery monitor widget and it tells me the amount of current the phone is drawing from the charger and also how much it loses when it's not charging. The phone starts off at a low 220 but when I went to look at how much it was taking in it said 800. How could fast charge be enabled if I don't have it. Maybe the hd revolution has it enabled in the Rom. Is there a way to flash the stock kernel. Thanks
Sent from my HTC One using xda app-developers app
Here is a screen shot of the app
Sent from my HTC One using xda app-developers app