yashsingh1/xdaforums huggingface dataset:
[G1 Q&A, Help & Troubleshooting] rajput88:
Im not sure if this question has been answered but i could not find the answer to my question and i really need an answer so sorry if this is already posted.

First off i have a G1 (Dream) and have rooted it. Ive been flashing roms for a while first starting with 1.6 and Heros and now have HTCClays Superbad. Recently i have noticed that the phone just shuts off suddenly when im not hooked to the charger and im either streaming video or even just using apps. Im not sure if its the battery or the phone. Ill charge the phone to FULL then either use apps or use the brower to view video or even Skyfire and the phone wil shut off. I restart it the battery is either half what it was prior or it will start blinking red. I take the battery out and put it back in and the battery is back to green, if i open up an app itll run for like 2 minutse then the phone shuts off again. I have no clue whats going on here because ive been flashing roms the same way since the first rom i flashed which was Fasttest. Could it be the partition im using? Could it be the rom? Battery? Does anyone know whats going on here? Any help would be so appreciated!

this is my partition setup

96mb

512

Fat32 Remainder

Ext2 to Ext3
[G1 Q&A, Help & Troubleshooting] junkdruggler:
It sounds like its the battery... do you tether on your comp alot? My buddy is on his 3rd battery because he sits tethered to his computer all night playing first person shooters, all the while leaving his phone plugged in for 8 hours straight
[G1 Q&A, Help & Troubleshooting] rajput88:
Ive never used a tether app before. I dont even know how lol. And i forgot to mention that when the phone shuts off and i restart i get the red blinker and a shut off then when i plug the phone back into the charge its at 75%, wth? It started doing this just recently.
[G1 Q&A, Help & Troubleshooting] junkdruggler:
you might try to drain the battery all the way down and then recharge it to get it to top shape...

if you take the battery out its not fat or bulging is it?
[G1 Q&A, Help & Troubleshooting] rajput88:
uh oh! yes it looks fatter like def not straight. Crap what did i do
[G1 Q&A, Help & Troubleshooting] junkdruggler:
Yeah that sounds like a battery issue... luckily you can get extended batteries for cheap nowadays.. or you can check the xda marketplace...
[G1 Q&A, Help & Troubleshooting] rajput88:
Thank you! When i saw the battery i thought it didnt look right but was hoping it wasnt the battery. Guess i need to get a new one
[G1 Q&A, Help & Troubleshooting] Firerat:
its probably an OC kernel

your battery is probably fine
[G1 Q&A, Help & Troubleshooting] rajput88:
as junkdruggler asked, the battery is definitely bloated. So Firerat are you saying even with the battery bloated it could still be fine? and what is the OC Kernel is there a way to fix this issue?

Thanks for the help
[G1 Q&A, Help & Troubleshooting] junkdruggler:
Im pretty sure its the battery... I called it being bloated before he even opened the back... Ive seen it done before... I know I might not know as much as firerat but id be willing to bet its the battery
[G1 Q&A, Help & Troubleshooting] Firerat:
yeah

I missed the fat bat

but OC kernels seem to be the root of random shutdowns, reboots and freezes

and it could be what ran the battery out of spec
[G1 Q&A, Help & Troubleshooting] junkdruggler:
Its an over-charging thing...Ive seen it done to two g1s so far..Ive had mine since day one and charge it overnight almost every night. So Im not too sure of what over charging is... thats ateast 500 charges at 5-7 hours plus whatever I charge on the side at work or heavy days
[G1 Q&A, Help & Troubleshooting] drklink:
Its the battery....

The same thing was wrong with mine

My battery was "swollen" and I just got another one off craigslist and it works perfectly fine

Its usually cuz you use it a lot while its charging...
[G1 Q&A, Help & Troubleshooting] rajput88:
Thanks junkdruggler. So ok im a little confused with your last quote, so you said its an over charging thing but then you said youre not sure what over charging is...sorry that was just a little confusing. Do you know what causes this bloating? And is this a general thing with batteries? ill avoid doing whatever causes this in the future.
[G1 Q&A, Help & Troubleshooting] rajput88:
So if i use the phone while its plugged in this causes the bloating? Do you know the proper charging techniques so that i dont run into this again?
[G1 Q&A, Help & Troubleshooting] rajput88:
what are OC kernels?
[G1 Q&A, Help & Troubleshooting] junkdruggler:
Yeah im not sure how much charging or use while charging is a bad thing... like i said I charge my phone overnight, every night. on a day like today I will watch a movie on the way to work then play music til my phone dies and charge it on the way home... so today my phone will get two charges.. and this happens alot. I have no drain issues or a "fat batt"

My buddies sit on 3g with wifi tether on while charging off their usb port for hours on end.. and the bloat their batteries.. I dont know if its the heat or what..
[G1 Q&A, Help & Troubleshooting] rajput88:
Thanks alot man! This really helped, i ordered a new battery from buy.com. You can do all that on your phone? And you have a G1? How long have you had the battery in it? Do you have one of those extended batts? ANd i will say that i do use the phone while hooked to the charger a lot like using the blutooth. i def cannot watch a movie on my G1. I might just wait till my contract ends in dec to switch from tmobile to Att or something i thought tmobile would be the king of android phones but its been really disappointing to see all the good phones go to wack Verizon (the network i switched from).
[G1 Q&A, Help & Troubleshooting] nomadic_boy:
Hi Firerat!

I got this problem too, the phone keep reboots, shutdowns and freezes randomly, more and more often.

I tried many ways: flash another ROM, change battery (2300mAh on ebay and tried my friend's HTC Rogers Dreambattery also), wipe all.... but nothing help.

I almost gave up. But when I search in this forum, I found your post.

What is OC kernels? Can you please help me solve this problem?

Thanks in advance.
[G1 Q&A, Help & Troubleshooting] Firerat:
OC = OverClocked

if the ROMs you are using are running the CPU out of spec it is probably that which is causing the issues

you can use an app called SetCPU, this will allow you to set the CPU frequencies

default 'stock' frequencies are

245 - 384

the CPU is actually rated 528 ( I believe it was underclocked due to battery issues, but things have moved on since then, so 528 is a stable max )

OK kernels can have a range of 122 - as much as 600+,

use the auto detect feature of SetCPU and use the slider to narrow the range

160 - 575 seems to be stable

160 - 528 should be fine

Many people fall into a trap of setting a very low narrow range in a sleep profile, believing this will save battery, which it will but it will 'lag' coming out of sleep.

Personally I have the sleep profile 160 - 528

when in sleep it will underclock ( as its doing nothing ) but if I wake it ( or call comes in ) I won't suffer lag while SetCPU waits to change profiles ( it will just scale up to the max if needed )

PS SetCPU is available from the market, just $0.99, but the dev has made it freely available on XDA

so give it a try and go for the market donate if you like it/ find it usefull
[Android Software Development] brosenbaum05:
Hello, I found a driver online that I want to add to my Android phone. It is a DisplayLink device driver.

magoroku15/DisplayLink-driver-for-android (from github)

The part I am confused about is how to go about adding the driver to my phone. Do I need to download the Android source code, add the driver to that, and then build the whole thing? Or is it possible to just load the driver as a module?

I've searched Google but haven't found anything definitive. I'm not even sure if I'm using the right terms here, as I haven't ever played around with adding drivers to anything before.

Any help would be greatly appreciated!
[Android Software Development] rodney.cabahug:
yes. i would also like to know how this is done.. please share. thanks
[Android Software Development] macsoft:
me 3! tell usssss :)
[Android Software Development] nenn:
you would need a dev environment setup to cross compile for that device (your phone) then compile the source as a module and load it from a command line. (insmod <module>). if you get a new line in the terminal without error, its loaded.
[Android Software Development] rodney.cabahug:
thanks! ill try this later..
[Android Software Development] jkoshi:
What if you don't (or don't want to) have root access on the phone?
[Android Software Development] nicandris:
well this guy in his thread is loading a lot of drivers :P *.ko i thing?

helpful?

*edit* forgot the link

http://sven.killig.de/android/N1/2.2/usb_host/
[Android Software Development] BRebey:
Any answers?

I'm looking for the same thing: I want to install a new driver on Android devices, but I can't Root the devices - I need to add the driver(s) to stock Android installations.
[Android Software Development] Puenos:
Just curious.. why do so many ppl seem to add driver to their system? :/
[Android Software Development] Shepelevv:
My task is similar to noted earlier.

I want to make "virtual driver". In other words, the device doesn't have specific hardware and I need to emulate it programmately.

Any hints and links would be useful.

Thanks.
[Android Software Development] JimmyChingala:
I think you would need root access on your device in order to load your kernel module: 'insmod your_module.ko' or whatever.

- jc
[Android Software Development] bled82:
Hey i was looking to do this exact thing so i could connect a mimo monitor to my phone any progress or step by step instructions
[Android Software Development] Chalup:
Subscribed :D
[Android Software Development] mimoba:
you need to have right kernel module compiled on the same kernel version that you android is running on.

it is a may be not only *.ko file, but it may need also another firmware files.

if it is only one file, you are lucky, you need just that ko file with right kernel version and put to vendor directory with modules.

and if not automaticaly loaded, you must call insmod command from rc file on device boot or manually from terminal.

better solution is to compile kernel yourself with driver inside it.

for details see 'linux kernel modules'.

Note: for sure you need root access to such as system modify operations...
[Android Software Development] mimoba:
And here : https://hex.ro/wp/blog/compile-an-android-kernel-module-outside-the-kernel-source-tree/
[Android Software Development] rjorgy23:
No actually, you do not need root access to install…. If you are trying to install it directly on the phone then yes you need root access, but otherwise you can actually accomplish this using adb commands… it will involve a little bit of legwork to get everything you need and to accomplish all the steps (you essentially need to initiate a adb pull request. You can actually pull most system directories and files and such through adb… why? Because adb is just copying the file to a diff system and platform. Nothing is being modified on the phone.

It essentially will initiate a copy of whatever folders and files you request to your pc… then you would need to find a program to mod whatever files you want to change without destroying any compatibility checks and and such… and most def do not change the file type.

Then once modded, push the file back using a adb push command. Most times everything will work just fine… however this will not persist through new boots/reboots in most cases though. Upon phone startup and itialization, the firmware will initiate a quick scan for changes to any system directories not performed by a system task or admin… if anything looks funky or changed, the firmware auto reverts back to a snapshot before the file got altered or changed.

Again this doesn’t always happen, but in my experience, 90% of the time it does…and it changes with every single device. I don’t know exactly why or what changes it. For example, my oculus quest 2? Super locked down. Can’t mod crap… or access any android files at all for the most part… unless using adb. With adb, everything becomes your playground suddenly. That’s how all the quest sideloading got started. Adb tricks. That’s literally all sidequest is… or was at least… essentially a fancy adb shell in gui format with links to downloadable apks and adb scripts for altering system performance settings.

But once you rebooted, it all always went bye bye.

Same with most galaxy’s I have ever gotten. And some galaxy’s have been particularly picky. My s23 I can only really adb push about half of the root directories. I can pull or read most all but push requests usually get veto’d… except for apn hacks and mods… changing my dun was stupid easy 😂 same with changing my ttl for the hotspot.

I also had a Sony Xperia once about 7-8 years ago. Back when the iPhone 6 Plus dropped…. It was super locked down. It was like the only android back then that couldn’t be fully rooted at the time due to boot loader screwups on Sonys part… later that got updated but it took a min…

Anyways I couldn’t mod or hack or emulate crap with that Sony phone… abd though? Full access… yup I literally could change anything I wanted. I found my boot loader unlock code in a system folder (android 7 I believe it was which used to hold cached copies of boot loader codes in system folders on some phones) and then found the boot loader config file… suddenly I had a rooted Xperia phone. All thanks to adb

So there you go
[Nexus One General] crimsondr:
Hi all,

When you're in a call and you see the screen with the duration, add call, end, dial pad, etc... That's an activity right? Does anyone know which file corresponds to this activity? I'm trying to find it in the source but without success.

Thanks.
[Nexus One General] Flippy125:
Wrong section.
[HD2 General] IcePanther:
Hello,

I have a strange problem, Opera 9.7 (the one installed with the rom) works OK with WiFi, but Opera Mobile 10 (installed from Opera's website) doesn't work with it and instead re-activates data connection all by itself.

I searched the forum for this problem but didn't find an answer about how to make it detect the WiFi connection.

Thanks in advance for the help,

Regards,
[HD2 General] daiash:
i've also noticed this problem
[HD2 General] IcePanther:
okay,

I had to do a hard reset, and now it seems to work (at least it did yesterday, ı'll retry later, not at home right now).

so either they released a new build, which I doubt since it has the same build number, or...

Or it has to be installed *with wifi on*. that's the only thing thay may have changed from the last time I installed it.

Does this work for anybody else ?
[HD2 General] nrfitchett4:
opera mobile 10 (newest release) works just fine on wifi for me.
[Droid Eris Q&A, Help & Troubleshooting] cronic5:
Is there a bigger keyboard I can flash? The "wide" QWERTY keyboard is small and hard to type with, I was wondering if there is a bigger one.
[Droid Eris Q&A, Help & Troubleshooting] Stonent:
I'm not sure how bigger it is, but I'm using the DroidX keyboard on my Eris and find it much more accurate.
[EVO 4G Q&A, Help & Troubleshooting] arozer:
*Disclaimer* Mods, sorry. I didn't know where to put this but since I figured it had a lot to do with developing I thought it belongs here.

Anyway, back to the point. Since I had to learn everything by myself through trial and error (lotssssss of error, lol) I pretty much hit every brick I could and figured it out.

Figured out how to use adb I mean.

I can help you learn HOW TO USE adb but after that you're on your own with the commands and all.

PM me with any question you have and I will help you personally through PM's, or this thread. Whatever you prefer.

*Also note*

There are already a lot of threads about ADB and how to use it but everyone seems to be having a LOT of questions about it still.
[EVO 4G Q&A, Help & Troubleshooting] Jykinturah:
Post this is the General section. The developer section usually involves ROMs, rooting and kernel modifications.

Also your post is an offer for help. The developer section focuses more on changing and making stuff for the Evo.
[EVO 4G Q&A, Help & Troubleshooting] frankenstein\:
ADB Tutorial here:

http://xdaforums.com/showthread.php?t=694250&highlight=adb+tutorial
[EVO 4G Q&A, Help & Troubleshooting] arozer:
Then maybe somebody can move this for me. But I just thought nobody will look in the General Evo comments section because ADB has more to do with developing.

Yeah either that tutorial is too advanced/complicated or not right because I got a lot of PM's and helped out a couple people already who told me it worked for them now. (I haven't looked at Joeykrim's tutorial yet.)

Since it's helping other people out, I'll post one my own tutorial here:

============Learning to use ADB===============

If you haven't used ADB at all, first you'll need to download a few things.

(Or even if you have tried to mess around with it, just pick up from where you're confused.)

1. Android SDK components (Link: http://developer.android.com/sdk/index.html)

After downloading SDK components, you'll need to unzip the file. It's a good idea to do it in your C drive. (My Computer\C:\)

2. HTC Sync for your Evo (Link: http://www.htc.com/us/support/evo-sprint/downloads/) - for drivers, so your computer can recognize your phone.

After installing HTC Sync, you will need to restart your computer, to make sure HTC sync is working properly - or at least I had to, on two different computers.

After you install both of those, you'll need to properly install SDK drivers/packages (android 2.1 and adb) before you can use ADB.

Go to this website and follow the steps carefully to learn how to install packages.

(Link: http://htcevohacks.com/htc-evo-hacks/how-to-install-android-sdk-and-adb-drivers-for-htc-evo-4g/)

After you do that, you're ready to use adb. To make sure the device is working, do the following:

-On your phone, do: Menu>Settings>Applications>Development and check USB Debugging.

-Plug in your phone via USB cable.

-Keep it on 'Charge Only'

-On your computer, On XP, do: Start>Run and type in 'cmd' and on Vista/7 do: Click start and type in 'cmd' and click Enter.

-This should open up a small black window, called the command box.

-In this command box, type in: cd C:\Android\SDK\android-sdk-windows\tools (assuming this is where you unzipped the SDk components)

-Then type in: "adb devices"

If you get back something like:

Devices:

HT000blahblahblah

that means you're good to go and can use ADB.

Now just follow the tutorials you're tying to do. =]
[EVO 4G Q&A, Help & Troubleshooting] ghirsch:
Kudos for starting threads like this. Lots of noob questions get ignored or just overlooked in many of the hot threads.
[EVO 4G Q&A, Help & Troubleshooting] arozer:
No problem, and I agree.

The reason why I had to learn it all myself was because my questions in all threads like these were being ignored.

Glad to help brah.
[EVO 4G Q&A, Help & Troubleshooting] M@XLOL:
u aware? O_o
[EVO 4G Q&A, Help & Troubleshooting] arozer:
lmfao..

come at me bro.

coolface.rar
[EVO 4G Q&A, Help & Troubleshooting] M@XLOL:
negged
[EVO 4G Q&A, Help & Troubleshooting] arozer:
Lol.

dem wrinkles...

wait wut??

name is same on there
[EVO 4G Q&A, Help & Troubleshooting] arozer:
Lol.. my own tutorial just helped me out.

(Strong bump I know but maybe it could help some others. ;])
[EVO 4G Q&A, Help & Troubleshooting] slickrick54:
Thx bro that helped me out. Your right though the other guides are just way to complicated for me. I guess im just a real noob at this still but trying to learn with some baby steps.
[EVO 4G Q&A, Help & Troubleshooting] Don74y3:
I need help
[EVO 4G Q&A, Help & Troubleshooting] new2android7609:
I got a question.

When I pull an apk it isn't showing in my tools folder. I have the most recent sdk and I have adb in my tools folder where I moved it. It recognizes my phone and when I type the command it shows that it was moved.

Here is what it looks like from command prompt. By the way I'm connected with adb wireless.

C:\android_sdk\tools>adb connect 192.168.0.18:5555

connected to 192.168.0.18:5555

C:\android_sdk\tools>adb pull data/app-private/com.QuiteHypnotic.FireCalendar-1.

apk C:\com.QuiteHypnotic.FireCalendar-1.apk

12 KB/s (462879 bytes in 35.219s)

C:\android_sdk\tools>dir

Volume in drive C has no label.

Volume Serial Number is DAB0-C820

Directory of C:\android_sdk\tools

03/30/2011 03:15 PM <DIR> .

03/30/2011 03:15 PM <DIR> ..

03/30/2011 03:10 PM 5,381,520 aapt.exe

03/30/2011 03:10 PM 410,911 adb.exe

03/30/2011 03:10 PM 96,256 AdbWinApi.dll

03/30/2011 03:10 PM 60,928 AdbWinUsbApi.dll

02/16/2011 08:49 PM 323 adb_has_moved.txt

03/30/2011 03:10 PM 1,344,051 aidl.exe

02/16/2011 08:49 PM 3,237 android.bat

02/16/2011 08:49 PM <DIR> ant

02/16/2011 08:49 PM 1,444 apkbuilder.bat

02/16/2011 08:49 PM 2,275 ddms.bat

03/30/2011 03:10 PM 422,962 dexdump.exe

02/16/2011 08:49 PM 127,504 dmtracedump.exe

02/16/2011 08:49 PM 1,445 draw9patch.bat

03/30/2011 03:10 PM 2,682 dx.bat

02/16/2011 08:49 PM 9,731,977 emulator.exe

02/16/2011 08:49 PM 17,976 emulator_NOTICE.txt

02/16/2011 08:49 PM 779,819 etc1tool.exe

02/16/2011 08:49 PM 183,651 fastboot.exe

02/16/2011 08:49 PM 2,349 hierarchyviewer.bat

02/16/2011 08:49 PM 36,100 hprof-conv.exe

02/16/2011 08:49 PM <DIR> Jet

02/16/2011 08:49 PM 1,627 layoutopt.bat

03/30/2011 03:15 PM <DIR> lib

03/30/2011 03:10 PM 15,424,512 llvm-rs-cc.exe

02/16/2011 08:49 PM 30,830 mksdcard.exe

02/16/2011 08:49 PM 1,503 monkeyrunner.bat

03/30/2011 03:10 PM 10,800 NOTICE.txt

02/16/2011 08:49 PM <DIR> proguard

03/30/2011 03:10 PM 301 source.properties

02/16/2011 08:49 PM 1,446,224 sqlite3.exe

02/16/2011 08:49 PM 1,919 traceview.bat

02/16/2011 08:49 PM 460,463 zipalign.exe

28 File(s) 35,985,589 bytes

6 Dir(s) 398,009,315,328 bytes free

C:\android_sdk\tools>

Now is there something I'm missing or what?

Figured it out! I seen what my problem was. I wasn't suppose to put c:\ in the command line.
[myTouch 3G, Magic General] Bperitore:
I had this problem before and the device was inactive for 4 months. Then it suddenly started working again. This problem has resurfaced and I cannot find a solution.

As soon as I turn the device on it goes straight to HBOOT with the following information:

SAPPHIRE PVT 32B SHIP S-ON G

HBOOT - 1.33.006 ( SAPP30000 )

CPLD - 10

RADIO - 2.22.19.261

May 27 2009, 19:06:41

HBOOT

<Back> Fastboot Mode

it runs through what appears to be a booting process but then nothing. no buttons do any thing and it is unresponsive. Can anyone help me remedy this?
[myTouch 3G, Magic General] TheForgotten:
maybe a button is stuck down or is making contact (like your vol down?) and when you boot up it keeps thinking you want to go into hboot (cause of a false msg coming from the hardware) I dunno just my random blurb of the day.
[myTouch 3G, Magic General] Sirfearoth:
i've got the same problem with a g1 right now i can boot into the recovery img with home+power i tired taking out the camera button and trying that but still boots into bootloader
[myTouch 3G Slide General] joshkelley:
My wife and I got our myTouch Slides at the same time, and we noticed a difference: mine has an extra icon in the status bar. It looks like an ear or something, but it never changes and is always there. It's also always been there.

Anyone recognize it? It's not in the manual that I can find.
[myTouch 3G Slide General] sultan.of.swing:
Hearing aid mode. Not on the stock rom but its in settings somewhere.
[myTouch 3G Slide General] joshkelley:
Thanks

It's in Settings > Call > Hearing aids
[HD2 General] reynaldo_pn:
Hey guys,

I'm new to all this custimization and flashing phones. I'm thinking of flashing my T-Mobile HTC HD2 but i wanted to know if after i flash my phone with a custom rom, can i go back to the stock rom my phone was shipped with?
[HD2 General] samsamuel:
yes but not by hard reset, only by flashing the stock rom.
[HD2 General] reynaldo_pn:
Hpw would i do that?
[HD2 General] mastajest:
Just look for your stock ROM in the stock ROM thread.