yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Q&A, Help & Troubleshooting] juanitolol:
Hi,

I have same problem than Samsung Galaxy Tab with the battery sensor, well not exactly the same problem, my battery sensor is broke and always show -7 degrees celsius so what i want to do is patch the kernel, but i need a bit of help compiling it. I've downloaded the kernel source from samsung repository but i really don't know how to compile my patch, (i'm from java :() and long time ago that i don't compile nothing made on c++. Could some1 guide me?

Thx!

The patch is this:

static int sec_bat_check_temper(struct sec_bat_info *info)

{

struct power_supply *psy

= power_supply_get_by_name(info->fuel_gauge_name);

union power_supply_propval value;

int ret;

int temp;

int temp_adc = s3c_read_temper_adc(info);

int health = info->batt_health;

int low = 0;

int high = 0;

int mid = 0;

calculate_average_adc(info, &info->temper_adc_sample, temp_adc);

if (!info->adc_table || !info->adc_arr_size) {

/* using fake temp */

temp = 300;

info->batt_temp = temp;

return temp;

}

high = info->adc_arr_size - 1;

while (low <= high) {

mid = (low + high) / 2;

if (info->adc_table[mid].adc > temp_adc)

high = mid - 1;

else if (info->adc_table[mid].adc < temp_adc)

low = mid + 1;

else

break;

}

temp = info->adc_table[mid].temperature;

info->batt_temp = temp;

if (temp >= HIGH_BLOCK_TEMP) {

if (health != POWER_SUPPLY_HEALTH_OVERHEAT &&

health != POWER_SUPPLY_HEALTH_UNSPEC_FAILURE)

if (info->batt_temp_high_cnt < TEMP_BLOCK_COUNT)

info->batt_temp_high_cnt++;

dev_info(info->dev, "%s: high count = %d\n",

__func__, info->batt_temp_high_cnt);

} else if (temp <= HIGH_RECOVER_TEMP && temp >= LOW_RECOVER_TEMP) {

if (health == POWER_SUPPLY_HEALTH_OVERHEAT ||

health == POWER_SUPPLY_HEALTH_COLD)

if (info->batt_temp_recover_cnt < TEMP_BLOCK_COUNT)

info->batt_temp_recover_cnt++;

dev_info(info->dev, "%s: recovery count = %d\n",

__func__, info->batt_temp_recover_cnt);

} else if (temp <= LOW_BLOCK_TEMP) {

if (health != POWER_SUPPLY_HEALTH_COLD &&

health != POWER_SUPPLY_HEALTH_UNSPEC_FAILURE)

if (info->batt_temp_low_cnt < TEMP_BLOCK_COUNT)

info->batt_temp_low_cnt++;

dev_info(info->dev, "%s: low count = %d\n",

__func__, info->batt_temp_low_cnt);

} else {

info->batt_temp_high_cnt = 0;

info->batt_temp_low_cnt = 0;

info->batt_temp_recover_cnt = 0;

}

if (info->batt_temp_high_cnt >= TEMP_BLOCK_COUNT)

info->batt_health = POWER_SUPPLY_HEALTH_OVERHEAT;

else if (info->batt_temp_low_cnt >= TEMP_BLOCK_COUNT)

info->batt_health = POWER_SUPPLY_HEALTH_COLD;

else if (info->batt_temp_recover_cnt >= TEMP_BLOCK_COUNT)

info->batt_health = POWER_SUPPLY_HEALTH_GOOD;

/* Set temperature to fuel gauge */

if (info->fuel_gauge_name) {

value.intval = info->batt_temp / 10;

ret = psy->set_property(psy, POWER_SUPPLY_PROP_TEMP, &value);

if (ret) {

dev_err(info->dev, "%s: fail to set temperature(%d)\n",

__func__, ret);

}

}

dev_info(info->dev, "%s: temp=%d, adc=%d\n", __func__, temp, temp_adc);

return temp;

}

on this method i will return always 30ºC :)
[Galaxy S II Q&A, Help & Troubleshooting] RogerPodacter:
you are on the right track, but the specifics of your patch arent really the issue. what you have to do first is setup a build environment to compile the kernel. for this you must use ubuntu 10. i setup a virtual machine, installed ubuntu, then sync the source code repository. then do a test compile. when it works, then you change the code you want, and compile and get out any errors. then flash that new kernel to your device.

i made a battery driver patch for a different phone doing similar to what you want. you just have to go to the dev section and get your build envirnment going first.
[Galaxy S II Q&A, Help & Troubleshooting] KotzMarinho:
Hey, I'm sorry for reviving this old Thread, but has the OP any news if he was successful with this patch?

I'm having the same problems with my Note II that I described in this thread :

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

I have tried everything even a different battery, but was no use.

I want to patch the part of the Kernel or w/e controls the reading of the temperature to ignore it so I can charge and use my phone normally.

Anyone might help?
[Desire Q&A, Help & Troubleshooting] mercuryblue:
using rooted USCC Desire, stock rom Froyo..have removed most of the bloatware but couldnt able to find out the names of these applications...can anybody help me out please ??

Latitude

Places

Navigation

kindly let me know is it safe to remove these file? if yes, whats the name of the file in the system/app ?
[Desire Q&A, Help & Troubleshooting] davebugyi:
wrong post.

Sent from my customized HTC Desire using TTP
[Desire Q&A, Help & Troubleshooting] status_six:
These are part of Google maps, annoyingly you can't remove them without removing maps completely!
[Desire Q&A, Help & Troubleshooting] mercuryblue:
sorry if it is, but can u pls tell me why wrong post ???
[Desire Q&A, Help & Troubleshooting] davebugyi:
Because that file names for HTC's navigation, not for GMaps.
[HTC EVO 3D] ChadH42:
For some reason my 3D's battery never achieves 100% charge. I leave it charging using the HTC charger included and I never get more than 98% charge after 12 hours.

Anyone else have this problem??
[HTC EVO 3D] swaze:
Mine does, but it takes a while. Normally it charges up pretty fast up to like 95. Then it slows down and once it gets to 99, it stays there for atleast 10 mins and finally goes to 100. One thing I did notice though is when it gets to 100, even if its on the charger it will start falling back to 99 and 98.
[HTC EVO 3D] htownrep247:
Mine has never reached 100%, even if I unplug it when the light turns green and plug it back in it will just stay at 99%.
[HTC EVO 3D] TheSeanR:
I've woken up to 97 or 98, it has never gone above that.
[HTC EVO 3D] user7618:
I believe HTC has some sort of smart charger system on here. It will charge quickly to ~ 95, then slow down until it hits 100. Then it will quit charging at all until it drops back down to ~95 or so and repeat the process. Supposedly, it will increase battery life by not overcharging it.

-----

3vo. That is all that needs be said.
[HTC EVO 3D] kingakuma:
The Evo 3D always chargers too 100% what you are seeing is that once the device hits 100% it stops charging and waits till the battery drops to 90% or so before it starts charging again, so what does that mean you're catching the battery after it has stop charging and is recharging again
[HTC EVO 3D] davec1234:
Mine does the exact same thing, weird.
[HTC EVO 3D] THEGAMEPLAY94:
He is right....on the OG EVO its would display 100 while it was dropping but the 3vo shows the actual percentage
[HTC EVO 3D] mr.orange303:
Once the led turns green unplug restart and plug back in. Should now show the led red again and finish charging. After once it should be fine.
[HTC EVO 3D] cmdauria:
I am using an aftermarket stand alone battery charger. When I took it off the charger this morning it only shows at 91%. Does anybody have any idea why that would be the case? I have used this same kind of a setup with my Evo and it was always at 100% when I pulled the battery off the charger. I was even using extended batteries and never had a problem!
[HTC EVO 3D] housry23:
Probably some kind of safeguard chip built into the battery that does this even on aftermarket wall chargers. I have never seen this before and every aftermarket charger I have had has charged the batteries to 100% and they stayed there, but maybe HTC got hip to the aftermarket chargers and implemented the battery mod to work on them too. Just a guess and there is no proven fact to this statement.
[HTC EVO 3D] markgolly:
Run it down, then charge it up

My 3D wouldn't charge to 100% until I ran it until it shut down due to low battery and charged it until the green light like 3 times. Once I hit that magical 3rd time, it showed 100%.
[HTC EVO 3D] GhettoBSD:
at first it was only orange light , but after unplugging then plugging back in I get green light.

you can get a 100% charger like others have said, but for sure the charging software makes it tricky
[HTC EVO 3D] vayman:
Thanks man. I thought I was going crazy, b/c I wake up every morning to about 96% charge after about 8hrs on the charger. Totally makes sense now. (pun intended :D)
[HTC EVO 3D] TheNexxuvas:
Every wall hub charger I get from ebay has helped charge all my HTC and Nexus S phones better. I always get 100%, and they stay there not draining to 90% in under 5 mins like the wall plug does.

I abhor the wall plug and have avoided it like the plague..not only that, but micro USB breaks very easily and is not a sturdy charging port.

I see them break on every modern model phone today. It's just a horrible unsturdy design. Wish we'd go back to mini usb.
[HTC EVO 3D] cmdauria:
That is the problem. Every one that I have ever used also charged and kept them at 100%. This battery did not. It came off the charger after a full day of being fully charged and it was at 91%
[HTC EVO 3D] azneon:
I have seen mine go to 100% once. They must have done something new here with either how it charges, or how it computes the percentage remaining, since this is the first HTC phone I have had (I've had them since the Palm Treos) that doesn't go from 100% to 90% in the first 10 mins of use.
[HTC EVO 3D] Ophois:
Perhaps HTC has implemented an SBC-like charging system on the E3D
[HTC EVO 3D] cmdauria:
I think it might be something else. The battery does not show 100% even off of the stand alone charger!
[Windows Phone 7 Development and Hacking] LlabTooFeR:
Here new Emulator Dump Build 7661

Information about SYS version

[HKEY_LOCAL_MACHINE\System\Versions]

"Builder"="mojobld"

"TimeStamp"="20110607-1657"

"ParentBranchBuild"="7661"

"Label"="WP7_5_Trial"

Packages Info:

[Versions]

OEM: 7.10.5 7658

OEM: 7.10.4 7653

OEM: 7.10.3 7656

OEM: 7.10.1 7654

OEM: 7.0.2 7383

OEM: 7.10.4 7657

OEM: 7.10.8 7661

OEM: 7.10.2 7655

Available Langs:

"0413"="Nederlands"

"0809"="UK English"

"0419"="Русский"

"0405"="Čeština"

"0816"="Português (Portugal)"

"0C0A"="Español"

"040B"="suomi"

"0409"="US English"

"0804"="中文（标准）"

"041D"="Svenska"

"040C"="Français"

"040E"="Magyar"

"0414"="Norsk"

"0406"="Dansk"

"0407"="Deutsch"

"0408"="Ελληνικά"

"0416"="Português (Brasil)"

"0410"="Italiano"

"0415"="polski"

"0412"="한국어"

"0404"="繁體中文"

"0411"="日本語"

Here you can download ROM dump:

http://www.filefactory.com/file/cc12bbb/n/WP7_Mango_Build_7661.rar
[Windows Phone 7 Development and Hacking] V8Turbo:
can i install it ?
[Windows Phone 7 Development and Hacking] DominikZ:
Obviously not, as this is an EMULATOR Dump...
[Windows Phone 7 Development and Hacking] angler-eic:
Is it possible to install the dump on the new emulator? And if so how?
[Windows Phone 7 Development and Hacking] LlabTooFeR:
It is impossible to install this dump to any device or emulator...
[Windows Phone 7 Development and Hacking] zedd2000:
If you can tell me how, it will save me ... Please
[Windows Phone 7 Development and Hacking] domineus:
it...is...impossible
[Windows Phone 7 Development and Hacking] Tim.Smith:
Even if you could why would you want to install this when you can just update to 7720? I don't get people some times.
[Windows Phone 7 Development and Hacking] downloaderintruder:
I second this.
[Windows Phone 7 Development and Hacking] zedd2000:
Because I have backup made which will probably only works when I will have installed this ROM. It doesnt work with any new releases I tried 7712,7713,7714,7720 ... Thats why ...
[Windows Phone 7 Development and Hacking] zedd2000:
Anyone can tell me which ROM to use to restore my hd7 from my backup files for zune? I gets every time "801812E0" error when trying to restore. I am so desperate :(
[Wildfire Q&A, Help & Troubleshooting] fireice7:
Since I got my HTC wildfire late last year I've been following these forums and reading up on android terminology. Thanks to all those who warned me not to update my phone, I was so close to doing so however I believe that these can be rooted now. I've finally got annoyed with the shortage of memory on eclair and now that I have a bit more time over the summer I want to root it and so I have a few questions.

1) I know that to "unroot" I need to use an RUU. Looking on shipped roms, I can't see a vodafone uk eclair RUU, so which one would I use?

2) After creating a gold card, will you be able to use the sd card as normal (ie to store music, videos, photos, apps etc)

3) Looking around, there are many different recoveries in the development forum, I know that unevoked already comes with a recovery but should I use that one or another?

4) Has the switched off chargeing problem been fixed in clockwork recovery?

5) After rooting, I plan to install CM7. Does everything thing work properly in CM? (I ask this because a while back (before CM7) I read that that camara didn't work as well as stock and that the FM radio didn't work at all)

6) I know that there is official froyo apps 2 sd but I've seen other unofficial ones around. What are the differences between all of these and which one should I use?

7) I know that CM7 is a non-sense rom, I don't think I'll miss much of sense except the clock/weather widget. Is there anything available that is exactly like the htc clock/weather widget?

8) I know there are different radios around, will I need to update mine?

Thanks :)
[Wildfire Q&A, Help & Troubleshooting] technolust109:
1) maybe, depends on the method of rooting

2)yes you will be able to, the gold card only changed the hexcode inbiult, so you should be able to store things on the sd card

3)clockmod is the way to go for me, i had a htc desire and it worked brilliant for me.

4)if you dont want to use that version of clock mod you can also use a previous version which will do the same thing.

5)and when you install and download CM7, make sure you download the specific version form the websute for your device.

6)it doesnt really mater, its just moving the apps to the sd card form the phone, this is done by rooting it and gaining root acess.

7)an widget app similar to that is beautiful widgets ( i think you need to pay fro it but get it form 4shared or somewhere else) but they have most htc widgets, and MAYBE there might be ports in the future or have been done already.

8)it is recomended to upgrade your radio when you do your first root.

all information and downloads should be able to be downloaded i nthe index page of the forum

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

and ALL custom roms made my people are here

http://xdaforums.com/showthread.php?t=822181
[Wildfire Q&A, Help & Troubleshooting] fireice7:
1) My method of rooting would be unevoked

4) What version of clockmod would you recommend?

8) Is updating the radio risky? and can you undo it if needed?
[Wildfire Q&A, Help & Troubleshooting] fireice7:
any answers?

Also I got one more question,

When should I create a gold card, before/after root? or after flashing a new rom?

Thanks in advance
[Wildfire Q&A, Help & Troubleshooting] 3xeno:
1) You are on Eclair, in which case you can only go with Unrevoked. No other alternative, so, there are no issues there. :p

4) There are essentially two versions - 2.x and 3.x, and, honestly, you will want to keep both, because 2.x supports flashing of Radios and Froyo ROMs, and 3.x supports flashing Gingerbread ROMs. What you can do is when using Unrevoked, Select Custom Recovery Image, and Point it to a 3.x Recovery File. This way, your primary Recovery will be 3.x. Then, download ROM Manager from the Market, Select Install Clockworkmod Recovery from within that app, and it will install 2.x on your SDCard (Secondary Recovery). So, essentially, you have both.

8) Radio flashing is not risky per se, but, you have got to be careful and follow basics like not interrupting the process, making sure you have sufficient battery charge etc. because, mistakes here can brick your phone. You cant "undo" it but you can flash your old radio version again.

- Goldcard is only needed when flashing an RUU. If you are simply rooting using Unrevoked and installing Custom ROMs, you dont need one.

lastly, make sure you use an old version of Unrevoked, (3.14 upto 3.21), not the latest.
[Wildfire Q&A, Help & Troubleshooting] fireice7:
Thanks for your amazing post :)

Could I ask why an old version of unrevoked is needed?

Where can I get an old version from as when I click on wildfire on the unrevoked website it gives me v3.32
[Wildfire Q&A, Help & Troubleshooting] yukinoh:
Rooted but....

hi. i just got a htc wildfire and i want to install cyanogen mod. I already rooted my phone using alpharevX and got the S-OFF message. But when i install ROM manager and tried to install CN7 i got the message " An error occured while attempting to run privileged commands". Is there something wrong or something that i missed?
[Wildfire Q&A, Help & Troubleshooting] Lesicnik1:
S-OFF =/= rooting.
[Wildfire Q&A, Help & Troubleshooting] 3xeno:
The newer version actually lowers compatibility with the Wildfire, rather than raising it. You are bound to get some error or other, unless extremely lucky. (And the most common one would be "Firmware too new?" error).

Just try searching the Wildfire Forum for links. Many have uploaded 3.14, but unfortunately, the posts are all scattered somewhere. :p

EDIT:, NVM, You can get it here:

http://downloads.unrevoked.com/recovery/3.14/reflash_package.exe
[Wildfire Q&A, Help & Troubleshooting] fireice7:
There is also clockworkmod 4.x should I use that?

and

Which method would you recommend for flashing new roms, via rom manager or recovery?

Thanks for all your help :)
[Wildfire Q&A, Help & Troubleshooting] 3xeno:
Yes, you can. Although I am still sticking with 3.1.0.2, because of two reasons - laziness and a few reports by users which suggest some problems with 4.x. :p Compatibility between 3.x and 4.x is the same though - ie. you can only install Gingerbread ROMs on them.

Also, personally, I prefer flashing ROMs through Recovery, rather than ROM Manager.
[Wildfire Q&A, Help & Troubleshooting] xd.bx:
If you are S-OFF, you can stay on CWM 3 and use the PC49IMG.zip file to flash a radio. Simply put inside the android-info.txt from a RUU and the radio.img you want to flash, then reboot under HBOOT.
[Eee Pad Transformer Q&A, Help & Troubleshooting] npuk:
It's possible to view 3D pdf or catia v5 models on Android an on ASUS Transformer with one application ?
[Eee Pad Transformer Q&A, Help & Troubleshooting] npuk:
No news for me ?
[Eee Pad Transformer Q&A, Help & Troubleshooting] saeed.sal:
try IPM viewer
[HTC Incredible S] lem1234:
Hey guys. Sorry if this is a stupid question. I've searched and google'd and couldnt find the answer. Could someone explain how to use this app?

I've seen docks with four icons with different apps linked to them, but im stuck with the three buttoms (apps, phone, personalize).

I want to change the dock and some icons but after watching some tutorials for this app the phone doesn't have some of the options in the tutorials.

Im on 2.2.1, S-OFF, and rooted.

Can someone teach me how to do this with this app? And if this app can't do that can someone direct me to one that can?

Thanks!! Sorry for being a noob
[HTC Incredible S] sheyden:
To have custom items in your dock use an other launcher then Sense. Something like ADW or launcher pro. Hope this helps
[HTC Incredible S] hisbrightsky:
good launchers:

GO Launcher (EX) - my favorite so far

ADW Launcher (EX)

Launcher Pro

OpenHome

Panda Home

Launcher 7 - Windows Phone 7-styled, usable but not really similar to the real WP7 experience
[HTC Incredible S] hussainmushahid:
if only go launcher had the ability to disable the dock and use adw icon themes, it would have been perfect.
[HTC Incredible S] hisbrightsky:
Well, you could just leave all of the icons in the blank, the go launcher has an option for that.

Yeah, that would've been neat, but I'm sticking to Desktop VisualizeR right now where this wouldn't help either way. :p
[HTC Incredible S] hussainmushahid:
I want to put something in that empty space, only ADW has the option to completely disable the dock.
[HTC Incredible S] hisbrightsky:
Yup, that's true.
[HTC Incredible S] chris_barsoum:
do any of these launchers have the ability to change the icons in the app drawer?
[HTC Incredible S] hisbrightsky:
I don't think so.
[HTC Incredible S] jaztim:
Launcher pro + customer launcher icons.

change icons, and the dock itself.

Excellent. Gives the phone a new look at any time.
[HTC Incredible S] chris_barsoum:
thats just on the launcher dock, i mean inside the app drawer
[HTC Incredible S] yes.comment:
does Goluncher can change the lock screen??? if yes: how? if no: which app could help me?
[HTC Incredible S] johnnyoch:
where i can download these? can i use these apps even my fone is unrooted.
[HTC Incredible S] sheyden:
You can find them in the Market on your phone.

And yes you can use them without root.
[HTC Incredible S] hussainmushahid:
launcher pro+ and adw launcher ex both have the option to change the icons in the app drawer. Just download a .apk icon/theme file, try out ADWi2 theme.
[EVO 4G General] mbaseball3:
http://m.engadget.com/default/artic...d-enters-the-cellular-aren/&icid=eng_thmb(1:4)

Sent from my EVO
[Acer Iconia A500] themono:
Does anyone know of a way to change the range of screen brightnesses? Specifically, I'd love a way to make the screen dimmer than what is currently possible.

Using Virtuous Picasso, Acer base, Unity v3.
[Acer Iconia A500] daveid:
Probably going to require some framework modifications for this. The problem being no source for Honeycomb yet....
[Acer Iconia A500] anvandarnamn:
Same here, seems like the lowest value actually is something like 10 percent :confused:
[HTC Sensation] JWhipple:
Twice now I've noticed that my battery life wasn't as good as normal, and upon checking found that somehow my display had been switched to full instead of Auto.

Has anyone else had anything like this happen?

The only thing I can think of is that perhaps Sense restarted and pulled it's last saved defaults. I just now made sure I was set to Auto and did a restart (Fast Boot is disabled) hoping that this won't happen again.
[HTC Sensation] anyadike:
My Sensation does this whenever I use the camera. I have to manually switch it back, afterward.
[Epic 4G General] kr@w:
I didn't find any similar threads to this, so I am starting it. This thread is for any issues seen specifically on the deodexed ef02. I was on the odexed ef02 and everything was working great, but I wanted those nice features such as over-scroll and crt off and 2-way video chat. On the deodexed rom I now have an issue where if 4g is enabled and the phone/modem goes into sleep or stand-by, then it won't come back from it. I try to go to the internet app and it won't load. The only fix I have for it is turning off 4g and turning it back on. I have odined to EC05 and sometimes it will work and sometimes it won't. But everytime I get back to EF02 rom it is no longer working.
[Epic 4G General] kr@w:
No one has any ideas?
[Atrix 4G Q&A, Help & Troubleshooting] Sheavel:
I have a Bell Moto Atrix that I updated OTA to Android 2.2.2/37.23 Firmware and rooted with GingerBreak 1.2.

I am just wanting to know if you can use the method below to get the Webtop via HDMI again.

http://xdaforums.com/showpost.php?p=12250126&postcount=459

Thanks in advance.
[Atrix 4G Q&A, Help & Troubleshooting] NFHimself:
Hi,

The framework for the OTA update is the same as stock, so any app or framework mods for one should work for the other.

Cheers!
[Atrix 4G Q&A, Help & Troubleshooting] Sheavel:
Alright, I'll give it a go. Thanks for the help.
[G2 and Desire Z Themes and Apps] Sebalos:
Hi, do you know any application for analog radio, there are a lot of internet ones but not analog?
[G2 and Desire Z Themes and Apps] billnye1999:
To us the true FM radio you need an alternative rom based on sense or CM. Stock Tmobile roms don't have it. As for an app "TuneIn Radio" has the online stream version of analog radio stations. So if your favorite station has an online streaming ability then it will probably be in this app.
[G2 and Desire Z Themes and Apps] Sebalos:
ok but actually I don't want internet radio I am looking for any alternative appljcation of FM Radio to the one delivered originaly with ROM.