yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] de-wolff:
Hi all,

I created a kernel for use with unknown extended batteries.

I only used a kernel with this modifications for about 24 hours, so it is still alpha.

I used it myself only on the JellyTime HD2 V.2 DataOnExt version, but the kernel is much like the latest tytung version, and you should be able to use it with any ROM that uses the tytung kernel

It is based on the https://github.com/cmhtcleo/android_kernel_cmhtcleo/tree/jellybean, and I changed the code, so I was able to force a battery capacity by an external parameter.

The current ZIP file uses an aroma installer, which will ask you for the battery capacity, possible values are normal, 1700, 2000, 2300 and 2600 mAh. It modifies the kernel commandline.

This will only work when you use a cLK bootloader (this is a issue of the used installer script, not of the kernel)

When you are not using the cLK bootloader, you can still use this kernel, but you have to change a kernel parameter after each boot (It should be possible from rc files) using a script that says (as root):

echo 2300 > /sys/module/ds2746_param/parameters/full_charge

After you installed this kernel, using a value for battery different from 'normal' please do the following steps:

Initialize the battery from recovery.

Discharge the battery until below 5% (I used a program fast discharge, from the market)

Charge the battery.

Turn off your phone, remove battery and reinsert battery

Turn on your phone, and start using it.

Now your reading should be more or less ok.

After 3 charge/discharge cycles, it should be optimal calibrated.

when you want to report any issue, please give the following information:

What kernel did you use previous?

From a terminal (or adb shell), logged in as root, give the result of the following commands:

cat /proc/cmdline
cat /sys/module/ds2746_param/parameters/full_charge
cat /sys/devices/platform/htc_battery/power_supply/battery/batt_attr_ext

known problems:

*modifies only kernel commandline options using cLK.

*Installer has only fixed values

*I do not expect that you can use this installer to use on SD based bootloader (The kernel however will work)

*???

todo:

Adapt the installer script to be able to use it with other bootloaders

Make it usable for CM10.1

The source code of this kernel is available at:

https://github.com/de-wolff/android_kernel_cmhtcleo in the branche jellybean.
[HD2 Android NAND Development] de-wolff:
Progress update

I use this kernel now for about 40 hours.

I did a fast discharge two times, and charged it again two times.

Now it is 13 hours running on the battery, and it says it has still 90% power available. In the past, it was running in 18 hours to 15% and stayed at that level for several days.

Until now, I did not find anything not working

wifi ok,

3G data ok,

phone ok,

sms ok,

sound (spotify) ok,
[HD2 Android NAND Development] Daekin:
nice idea....I will backort it to my kernel if it proves stable :)
[HD2 Android NAND Development] white-energy:
Only if he approves.
[HD2 Android NAND Development] Daekin:
Re: [7 FEB 2013][KERNEL 2.6.32]New kernel for use with external battery

Approve what. Kernel is under GPL so I can take anything anytime ;)
[HD2 Android NAND Development] de-wolff:
Yes, I confirm that kernel is under GPL

In the first post is a link to the total kernel sources, that I placed on github.

If you like, you can do anything you like with it.

However, I there is a good change, I will make more modifications to this kernel in the future, so if you are interested in a particular feature, read the comment with the commits.
[HD2 Android NAND Development] twoxx:
Kernel for jelley bean 4.2

your kernel is great.

but mobiel data connection is a little bit unstable and not so fast.

this rom has the most stable and fastest mobile-Connection, look here: http://xdaforums.com/showthread.php?t=2098722

can you adjust your kernel in order to improve mobile data stability and mobile data speed like the in the rom above?

would you mind if you create a kernel for jelly bean 4.2.?

all the other rom cookers for jb 4.2 have the problem that wifi-connection is not working.

thats because of a problem with the jb 4.1.2 - kernels.

here on xda no one created a kernel that is working 100% with jb 4.2.

can you do that?
[HD2 Android NAND Development] de-wolff:
Thanks for your feedback.

I will look what is the difference between my kernel, and their kernel, to fix the mobile connection.

My goal (at this moment) is to get a working jb 4.2 kernel for myself, however i do not have much experience with android kernels (i have with other linux kernels), and i also don't have much spare time, to spent on this project, so it will take some time.
[HD2 Android NAND Development] twoxx:
AW: [7 FEB 2013][KERNEL 2.6.32]New kernel for use with extended battery

And for your new 4.2-kernel this is the 4.2-rom that needs a new kernel especially made for 4.2.-roms....:

http://xdaforums.com/showthread.php?p=36656612

You are doing a great job. Thank you man!

For information:

The rom that i mentioned is a little bit laggy when you are starting apps, activating menus and so on..... But compared to all the other roms here on xda it definitely hast the fastest and most stable mobile data connection.

But i dont know the reason why.... It is using tytungs kernel...... But the combination of the rom with tytungs kernel might be the reason...
[HD2 Android NAND Development] Rick_1995:
Just saying,

You should use tytung's repository directly, We mostly use the kernel repo to send patches to tytung so everything is in one central place instead of distributed repositories with each having something different.
[HD2 Android NAND Development] compulife:
test the kernal thanks for greet work

test the kernal thanks for greet work
[HD2 Android NAND Development] jejemorg:
Good job :)

Thanks for your work.

Seems to work well with Pixel Droid version.

Can you tell me if your kernel will increase battery in the case of a standard battery.

Thank you.
[HD2 Android NAND Development] de-wolff:
@jejemorg:

When using this kernel with a standard battery, and use the installer saying it is a normal battery, the battery behaviour is not modified at all.

If you use a normal battery, and say in the installer, you have a 2300 mAh battery, you will observe your battery will is never more then ~ 50% full, and you will not be able to charge it full, so it will not increase the battery live of a normal battery.

However, during my experiments, I noticed another way to really get the battery capicity of a fully charged battery, without knowing it before. In the future, I want to do more investigations with this, and I also expect that it is possible to use the maximum capicity of each battery this way, which could be slightly more then the standard capicity for standard batteries. Maybe, I will work on this in the future, but at this moment, I first try to get a full 4.2 android version compiled, to do more investigations to the wifi problem.
[HD2 Android NAND Development] jejemorg:
Re: [7 FEB 2013][KERNEL 2.6.32]New kernel for use with extended battery

Thank you for your explaination, waiting for your next work :)
[HD2 Android NAND Development] yunhover:
Flash this kernel on CyanMobile eXperience 2.3.8, and stuck at boot.

CyanMobile eXperience 2.3.8

http://xdaforums.com/showthread.php?t=2104006
[HD2 Android NAND Development] nqkoidrug:
Hi @de-wolff

Thanks for your kernel and your work for all of us. I have a question, i use this battery:

http://www.obostore.com/1600mah-and...ch-hd2-leo-tmobile-hd2-p-28.html#.USDoVJY2WJQ

any chance add in option with aroma installer . Regards
[HD2 Android NAND Development] de-wolff:
@yunhover: Sorry, it will only work for jellybean (CM10.0 + CM10.1) roms. The CyanMobile eXperience 2.3.8 is CM7. I will put that information in the first post. If there are enough people who want to use a different extended battery for CM7 or CM9, I am willling to backport this change to kernels, which are appropiate for that.

@nqkoidrug: For 1600mAh you can use the 1700mAh selection. As long as the difference is not to big (max ~ 300mAh), it should work. After a few charge discharge cycles, it should be accurate.
[HD2 Android NAND Development] Traace:
Thx that u still develop for the great HD2.

Will buy the LEICKE Akku 2300mAh in a few days, i luv the Dorimanx Kenel. u think its possible to port ur settings into it? Based on Tytung ICS so it should be not so difficult. i would do it on my own but im not an developer.

I stay on 2.3.x till 4.x.x gets the performance and less drain that i want :)
[HD2 Android NAND Development] saeed.ash:
Hello ..

I am suffering from the problem of wifi and read on the site it must be updated Kernel with jellybean 4.2

I can not download from the site https://github.com/cmhtcleo/android_kernel_cmhtcleo/tree/jellybean

please uploaded on another site helped me please

Thank you
[Droid RAZR M Q&A, Help & Troubleshooting] cpupeli1:
Anyone get the Seidio Active case? I haven't used them since my Droid Incredible but the case was pretty good back then. It looks similar to the otterbox commuter from what I can see.

http://www.seidioonline.com/motorola-droid-razr-m-active-case-black-p/csk3mtrzm-bk.htm
[Droid RAZR M Q&A, Help & Troubleshooting] brycekerr:
I just got one. Had one on my og incredible as well and loved it. I bought the blue one and the blue doesn't look like it did in the picture but the quality is pretty good. I still prefer my bodyglove dropsuit though. It seems to fit absolutely perfectly and offer great protection.... And it looks BA

Sent from my XT907 using Xparent BlueTapatalk 2
[Droid RAZR M Q&A, Help & Troubleshooting] cpupeli1:
good stuff, think you could upload some pictures?
[Nexus 7 Q&A, Help & Troubleshooting] Critical Jeff:
It gets annoying if I ever flash, then can't boot into the Rom. I have to plug in the tablet to a pc and use a tool just to get into the recovery.
[Nexus 7 Q&A, Help & Troubleshooting] simms22:
do you have the latest bootloader? it fixes that issue.
[Nexus 7 Q&A, Help & Troubleshooting] Critical Jeff:
probably not, Ive never updated a bootloader on an android device before. Where can I find it?
[Nexus 7 Q&A, Help & Troubleshooting] bftb0:
Were there versions (prior to current v4.13) of bootloaders that did not have a button navigation method to launch a recovery boot ... or refused/had problems launching a particular custom recovery?

RMXO pointed out in July that you could break out of an O/S bootloop into the bootloader by holding power down and then pressing Vol-Down at the moment the (black & white) Google logo screen displays... (which is also the current bootloader's behavior) ... I imagine he was using a prior bootloader at that time.

Knowing that some kernels appear to be sensitive to bootloader version... was it the bootloader (missing menu item) or the kernel in a particular custom recovery causing the trouble?
[Nexus 7 Q&A, Help & Troubleshooting] GedBlake:
Hi, Critical Jeff...

(Great username, by the way...)

Which version of JellyBean are you on...?

The very latest is 4.2.1 - and uses BOOTLOADER version 4.13

The older version of Jellybean 4.1.x uses BOOTLOADER version 3.41

...and from what I have read, 3.41 had a number of bugs... like difficulties getting into fastboot mode, etc.

To be clear, here is how to get into FASTBOOT/BOOTLOADER manually.

****

Shut down the tablet completely... ie, not in standby.

Press and hold the VOL DOWN button...

...whilst holding, LONG PRESS the POWER BUTTON...(10-15 secs).

Your tablet should now boot into FASTBOOT mode, characterized by a

Green Android

lying on it's back, and the word START adjacent to the POWER BUTTON.

****

There is a thread here

http://xdaforums.com/showthread.php?t=1989319

, which contains a CWM/TWRP flashable .zip, that will update your bootloader to 4.13 from 3.41.

I haven't tested this myself, but the updater-script looks okay...

assert(getprop("ro.product.device") == "grouper" || getprop("ro.build.product") == "grouper");
set_progress(1.000000);
ui_print("Installing bootloader v4.13...");
ui_print("Writing bootloader...");
package_extract_file("bootloader-grouper-4.13.img", "/dev/block/platform/sdhci-tegra.3/by-name/USP");
ui_print("");
ui_print("");
ui_print("");
ui_print("***********************************");
ui_print("**** Installation Is Complete! ****");
ui_print("***********************************");

The flash-all script from nakasi-jop40c does the same thing, but differently... using fastboot...

....
fastboot flash bootloader bootloader-grouper-4.13.img
....

---------------------

Caution is required when messing around with the bootloader partition, as one wrong command has the potential to irrecoverably HARDBRICK your tablet.

Rgrds,

Ged.
[Nexus 7 Q&A, Help & Troubleshooting] Critical Jeff:
Im running Paranoid Android 2.99, which is android version 4.2.1. And my bootloader version is 3.34. Does the version of android and my bootloader matter? I was under the assumption that any bootloader could be with any version of android (4.0+)
[Nexus 7 Q&A, Help & Troubleshooting] GedBlake:
So you probably flashed PA (JB4.2.1) over stock JellyBean 4.1...(CWM/TWRP flashes don't touch the bootloader partition, and thus it's never updated).

I am not aware of any incompatibilities with 4.2.1 and the older bootloader.... other than the fact it's a bit on the buggy side.

--------

There has been some speculation, that in May (at the Google I/O conference), Google will announce Android 5, Key Lime Pie... it's almost a certainty, that it will come with a new updated bootloader.

I wonder how well custom ROMs based on the KLP AOSP source will 'sit' on the old bootloader originally designed for 4.1.

Rgrds,

Ged.
[Raspberry Pi Q&A, Help & Troubleshooting] miguelcerca:
Has anyone figured a way to get audio input using the gpio pins. Or any other way that's not USB?
[Raspberry Pi Q&A, Help & Troubleshooting] shimp208:
Yes people have, I would suggest taking a look a these well written guides from adafruit and other places on using inputs, and audio inputs using GPIO:

Using audio inputs with GPIO:

http://learn.adafruit.com/downloads/pdf/playing-sounds-and-using-buttons-with-raspberry-pi.pdf

http://learn.adafruit.com/playing-sounds-and-using-buttons-with-raspberry-pi/overview

Multiple Audio steams on GPIO

Using analog inputs:

http://learn.adafruit.com/reading-a-analog-in-and-controlling-audio-volume-with-the-raspberry-pi/overview

http://learn.adafruit.com/downloads/pdf/reading-a-analog-in-and-controlling-audio-volume-with-the-raspberry-pi.pdf
[Raspberry Pi Q&A, Help & Troubleshooting] Bretos:
Thank's for those links, shimp208. Maybe you know is there a way to use HDMI output as input(eg. to capture video)
[Raspberry Pi Q&A, Help & Troubleshooting] Andromepat:
Broadcom's info page says:

For embedded electronic, this usually means no input.
[Raspberry Pi Q&A, Help & Troubleshooting] ozone89:
R: Audio input

You can't. Except for hdcp strippers like hdfury or hdcp-free capture boxes, the only devices accepting HDMI input are monitors and projectors.

Let me guess, you were trying to put up an HDMI recorder...
[Raspberry Pi Q&A, Help & Troubleshooting] flatmax:
There are some more addons listed here :

http://elinux.org/index.php?title=RPi_Expansion_Boards#Sound
[Raspberry Pi Q&A, Help & Troubleshooting] oneway2k:
This response is a little misleading. Those links are how use GPIO pins for controlling audio samples not actually using them for audio input.
[Raspberry Pi Q&A, Help & Troubleshooting] shimp208:
That is true now that I reread them though those links are almost 6 years out of date :). If you have any further Raspberry Pi questions feel free to reach out to me.
[T-Mobile Samsung Galaxy Note II] PhxDroid86:
Ok so im finally getting the itch to flash non TW based roms but need to buy a bigger SD card beforehand. Have heard that 64g cards have compatibility issues thus far (primarily thanks to Microsoft proprietary nonsense) with the GNII so was wondering if I should just save a few bucks and get a 32gig? or if there was a direct set of guidelines to use a 64g with lets say CM10.1?

Once I get the new SD card, whats the proper way to format, setup ExtSDtoIntSD, backup/restore original (madmacks?), etc..

I know im asking for a lengthy all in one response but I will reward anyone who can cover all the bases for me as I havent done anything remotely as turbulent as this and dont want to experience similar issues that others have reported
[T-Mobile Samsung Galaxy Note II] HOGWILD:
get either just make it class 10 and stay away from scan disk they seem to go bad all the time.
[T-Mobile Samsung Galaxy Note II] whatsitsnamenow:
Just buy a 64gb one and format it to Fat and you are good to go. Ext format is troublesome with some roms. I never had any problem with Fat formatted cards. I run tw roms, cm 10, cm 10.1 no problem
[T-Mobile Samsung Galaxy Note II] imtjnotu:
My 32gig card died last week wasn't a scan disk
[T-Mobile Samsung Galaxy Note II] hawaiianboi:
Do you mean SanDisk? Out of all of the memory cards that I have bought those are the ones that have lasted for me, maybe its just bad luck or something. I have a 16gb SanDisk card last through 4 phones and its now in my 3ds. I'm currently running a 64gb SanDisk card in my note 2 and it works perfectly.
[T-Mobile Samsung Galaxy Note II] BACARDILIMON:
The 64gb sandisk sucks. Mine is 2 months old and it died waited 2 weeks for replacement . Out of the box it was bad not have to wait another 2 weeks to get replacement. I will never ever buy from that crap company.

Sent from my SGH-T889
[T-Mobile Samsung Galaxy Note II] mdt73:
On the contrary, my 64GB class 10 Sandisk, which I picked up from Radio Shack for $39.99, is working perfectly. I simply threw it in the phone, and loaded it up, with zero issues.

Just spent about a month away from any data connection, and all the TV shows and movies I loaded up on my phone were the lifesaver of my trip. I couldn't recommend a 64GB Sandisk more!
[T-Mobile Samsung Galaxy Note II] degeneration:
Same experience. Got the card for 35 bucks on Amazon, as soon as I got it I threw it in the phone, and I think I maybe formatted it through the phone, but I might not have even done that. Haven't had any issues so far.
[T-Mobile Samsung Galaxy Note II] rail205:
+1 sandisk has never failed me. Kingston had bad experiences, patriot are slow...
[Galaxy Note II Q&A, Help & Troubleshooting] domenicop:
Hola guys,

Just bought this big aggressive beast :P

I was wondering, since i can't hit the menu/back button with the s-pen, if there is a quick way to do that directly from the s-pen

Switching to the thumb is soooo stressful (even anti-easthetic, don't you think?).

Alternatives?

EDIT: Just watching a s-pen introduction on youtube

:Q_____________
[Galaxy Note II Q&A, Help & Troubleshooting] Androssama:
There is the official ones and two hidden gestures shown here
[Galaxy Note II Q&A, Help & Troubleshooting] HypoDest:
There is an app called GMD s-pen control which lets you create custom gestures without the use of the button . It requires root though.

Alternatively you can try holding the s-pen differently

Sent from my GT-N7100
[Galaxy Note II Q&A, Help & Troubleshooting] EP2008:
This app is the best way to go if you want the best experience with the spen.
[HTC One S] Goatshocker:
Hello.

I was wondering if theres any way to change the default volume-control which the volume-buttons control?

Currently, and on all ROMs Ive tried, the default volume is set to Ringtone.

What that means is, if no sound is playing (like, you idle on the homescreen or whatever), pressing the volumebuttons changes the ringtone volume.

I always manage to press the volumbuttons by accident, changing the ringtone volume...

I thought it was just a matter of getting used to the rather sensitive buttons, but lately its started to become an issue.

Ive missed several calls because Ive managed to reduce the ringtone volume without noticing.

So, what I want is a way to change this default behavior to instead of changing the ringtone volume - change the media volume.

I personally have no reason to change the ringtone volume "quickly", and would much rather be able to quickly change the media volume - even if no media is playing.

I hope you understand what I mean, kinda hard to explain :p

My current ROM is DarkJelly CM10 Build 24 with stock CM10 kernel, and Id prefer not to move away from it - I like it :)
[Nexus 7 Q&A, Help & Troubleshooting] quintas1911:
I recently unlocked then rooted my google nexus 7. then i atempted to flasht the trinity kernel on the the device and this caused it get stuck in a boot loop. in my confusion i formated the data(yeah i know im an idiot) i then atempted to flash stock and reinstall and all kinds of things with nexus root toolkit but still its not working. can some one please help with re installing the os!!!!!
[Nexus 7 Q&A, Help & Troubleshooting] IDragons:
http://xdaforums.com/showthread.php?t=2039821

Check out this thread, it may be of help to you.

sent from my ROOTED GT-i9000

Android 4.2.1 JOP40D
[Sprint HTC EVO 4G LTE] laie1472:
Good info. Thanks

#Root-Hack_Mod*Always=LTE
[Sprint HTC EVO 4G LTE] jraz305:
Test with airvana 2.0 .... Audio codec sounds all scrambled .....like crazy .. calls go in and go out seems like there is a dude speaking some recorded bs . Then I got a chick ... But definetley not understandable ... Any way to adjust air rave to work with evrc-b............ Seems like a good idea updating audio codec we have its lets use it
[Sprint HTC EVO 4G LTE] gunfromsako:
That I do not know. I don't have an air rave to test on... It's a long shot but maybe e mail the manufacturer and see what they say.
[Sprint HTC EVO 4G LTE] Asadullah:
I was gonna mention this but didn't know where but when you sign up for sprint they give you your msl aka your spc aka your unlock code when you activate your phone.
[Sprint HTC EVO 4G LTE] gunfromsako:
They also give it to you in an email if you do an esn swap (change phones) online. They also give directions how to program your phone in the e mail. They like to refer to it as "a six digit number" lol.
[Sprint HTC EVO 4G LTE] RulingCzar:
As I recall, going into the individual PDN items on that list while in edit mode will delete individual entries if they are accidentally selected and no info in entered in the field ie you select the field to edit and you can't cancel out to get the data previously populated in that field.

Has anyone successfully backed up and restored CDMA "APN"s? Even looking under the hidden function "CDMA APNs" shows no actual APNs in the traditional GSM sense.
[Sprint HTC EVO 4G LTE] Asadullah:
They aren't kept in the apns Conf. Look in mms_config.xml in the mms.apk.

There is a program that can decompile apks to actual source code not smali. I would like to have a look through the epst.apk and see how it works. May be able to get more features.
[Sprint HTC EVO 4G LTE] gunfromsako:
That would be awesome, im just a union electrician, and dont know too much about java... Speaking of more features im attaching a copy of epst from android 2.1 eclair. It had the feature to change prl's on the fly via handset ##PRL#. It was ported to 2.2 and 2.3. I dont think anyone really tried to get it going on ICS which would be very nice. I would definitely appreciate if anyone got it to work...
[Sprint HTC EVO 4G LTE] gunfromsako:
Well on the fly prl changing is once again possible on the info bar rom by newtoroot View attachment 1774686View attachment 1774687

This is on a us cellular prl. :) :thumbup:

Here is the epst apk:http://db.tt/Lghf8UVb

I haven't been able to get it to work but I only tried on viper rom. I'll try more later tonight...

Edit: forgot to mention the code is ##778# then enter your msl.
[Sprint HTC EVO 4G LTE] tukijembz:
One question, sir.

Can EVO LTE unlock permanent rev B?
[Sprint HTC EVO 4G LTE] gunfromsako:
Not sure what your question is... Your audio codec is selectable. And should stick.

View attachment 1792602

Flowed from my Jewel using Tapatalk 2
[Sprint HTC EVO 4G LTE] zigolleid:
I tried this but tapping RTSP/HTTP setting doesn't do anything. Anyone got a clue?