yashsingh1/xdaforums huggingface dataset:
[HTC Amaze 4G] Totòòò:
I also noticed my phone gets super hot while charging using stock settings...it also happened to do random restarts one after another then once I pulled out the battery and manually restart it all got back to normal
[HTC Amaze 4G] faux123:
events/0 ==> kernel events handler for CPU 0. (think of it like a software interrupt)

So if this was the case, then a bad kernel event told the phone to reboot.... :p Maybe it couldn't handle the requested action so the next best thing to do is to do a forced reboot...

It's not a real software error based hard crash... it's more of a "gentle" crash...
[HTC Amaze 4G] faux123:
Post that /proc/last_kmsg... the more ppl post them the quicker we get to the bottom of it...

My kernel is pretty much stock + UV + OC... It's missing many of my usual enhancements due to the handicap imposed by HTC (no wifi source == EXTREMELY LIMITED hacking room, because any change that alter the system in any way the wifi driver disagrees == NO wifi :( )
[HTC Amaze 4G] dk_gh0st_:
well it crashed when texting and sometimes when just sitting there. So what couldn't it handle?

Just thought I'd edit this post to let u know I just got a rebbot as soon as sending the first part of this post.

Hopefully we could this resolved.

One of our strengths is our lack of direction- Eric Schmidt
[HTC Amaze 4G] faux123:
Yeah... still need them /proc/last_kmsg because I don't know what's causing the crash.. my own phone is 100% stable....
[HTC Amaze 4G] ajbk4life1:
Here is the radio I have...
[HTC Amaze 4G] Binary100100:
That's the old radio and the old kernel. Not Faux's.
[HTC Amaze 4G] evohog:
Hey binary, what did you do to update the radio? I haven't gotten around to it yet.
[HTC Amaze 4G] aj_2423:
Wrong spot for this question, but u have to relock bootloader, then flash new updated tmobile stock rom, which updates the radio.
[HTC Amaze 4G] aj_2423:
so i think i did this right faux let me kno, seems kinda long tho lol. last_kmsg is attached

edit: i hadnt had any problems with the kernel until earlier today i uv'd to .25 ... then got the random reboot a little later so that may have been wat it was.
[HTC Amaze 4G] faux123:
Here you go:

arch_reset: restart command `MDM FATAL!'.

sigh.... looks like cell radio/modem is unstable for Amaze... so far this is the 2nd crash log that I found where Cell Modem (aka Radio) is the cause of the reboots :(

Bad bad HTC.... :(
[HTC Amaze 4G] aj_2423:
Thats interesting, then i guess i should add that i relocked and flashed the t-mo update just this morning so i have the new radio. So it must be the new radion causing this?

sent from my Amaze Quiksense 2.1.2 w/faux .006 kernel
[HTC Amaze 4G] 865DETH:
faux said his thread got trolled. which is the only explanation
[HTC Amaze 4G] chevycowboyusa:
We need to get everyone together and bump it back up to five stars!
[HTC Amaze 4G] lalit387:
Sure :thumbup:

Pure dedication to community:)

Hats off faux:thumbup::thumbup::thumbup:
[HTC Amaze 4G] aj_2423:
Um ya, wtf is that crap. I didn't even notice that. The one person we have developing a kernel for us and who has stuck wih us through all of htc's bulls*** and is STILL here; for just that alone this thread should have a 5 star rating! So lets fix that guys!
[HTC Amaze 4G] ravike14:
+1 let the voting begin!!! :highfive:
[HTC Amaze 4G] SuperAfnan:
I agree. We'll start rating all development threads up to 5 stars because they deserve it for their hard work!

These dumb@$$ trolls can go back to the stink pile which they crawled out of.
[HTC Amaze 4G] ezdi:
Since nobody else answered in a month, I'll provide my conjecture. http://faux.androidro.ms/ruby/ics/changelog.txt says * remove kernel debugging under v30. Those symbols can be pretty big.
[HTC Amaze 4G] aj_2423:
Soooooo what's up guys still only 3 stars.. wtf
[HTC Amaze 4G] lalit387:
+1

Come on guys and gals
[HTC Amaze 4G] ravike14:
Only a very few people left in amaze right now :(
[HTC Amaze 4G] mrmako777:
I voted 5 *

Amaze, meet legacy device forums lol

Sent from my SGH-T999
[HTC Amaze 4G] ravike14:
hopefully not there ever haha
[HTC Amaze 4G] SuperAfnan:
Just voted 5 stars :)
[HTC Amaze 4G] zezzet:
voted 5 stars
[HTC Amaze 4G] faux123:
FauxClock Z-control recommended settings :D

Z-Control

Set On Boot - On for both

ZRAM Disk size - 150~200 Megabytes (or 50 MB when disabled)

ZRAM Enable/Disable - Enable if you mult-task often

Clear VFS Cache After Boot - On

Auto FS Writeback Delay Mode - On

Swappiness - 100% if ZRAM enabled, 0% if disabled

VFS Cache Pressure - 100% if ZRAM enabled, 150% if disabled

Dirty Ratio - 20% for both

Dirty Background Ratio - 5% for both
[HTC Amaze 4G] chevycowboyusa:
Battery

Hi Faux123,

Just found an issue with /sys/class/power_supply/battery/full_bat

Sportsstar89 said we have the wrong battery driver.

the full_bat is showing 1580 instead of 1730.

Can ya fix it please?

Thanks!
[HTC Amaze 4G] jordin1128:
I just went to that directory and mine says 1730..

Running ARHD 4.0 with Faux's v31
[HTC Amaze 4G] 865DETH:
same here
[HTC Amaze 4G] chevycowboyusa:
ARHD

ARHD is running the stock kernel I believe, So it's reporting correctly. I spoke with sportstar89 and he said it's the battery drivers in the kernel.

That's beyond my fixing. It's correct as well in the CM10.1 kernel though.

Also, sebastian fm in the sensation forum has released source for a fixed kernel for jellybean for the sensation, so if we cross our fingers we may have a sense JB rom soon!

the git hub source is here...

https://github.com/SebastianFM/SebastianFM-kernel

[MENTION=3332811]faux123[/MENTION]
[HTC Amaze 4G] SuperAfnan:
Lol you know what time it is.

Someone tell and make sure sportsstar knows about this as well as faux.

If one of you makes this can i say thank you forever? :)
[HTC Amaze 4G] lalit387:
Sorry and without offence

I am on ARHD 4.0 with faux .31 and mine is also 1730 in /sys/class/power_supply/battery/full_bat

Good to hear the news about kernel
[HTC Amaze 4G] jordin1128:
+1
[HTC Amaze 4G] masondoctorjt:
I am on stock ROM with faux 31 and mine also says 1730
[HTC Amaze 4G] KT-82166:
1580 here
[HTC Amaze 4G] aj_2423:
while we're at it, lets go recover these threads from the trolls as well...

...Just to show Faux our appreciation...

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

http://xdaforums.com/showthread.php?t=1785466
[HTC Amaze 4G] SuperAfnan:
I recovered Eclipze's thread to 5 stars a week back.

We can do it guys it is possible. :cool:
[HTC Amaze 4G] lalit387:
Not good at all

Faux really is an icon figure here
[HTC Amaze 4G] masondoctorjt:
Anyone have issues with their phone rebooting when on a call and the screen is being turned on and off by the proximity sensor, such as when entering info from the keypad, and then puting the phone to your ear , then entering more info, then returning to the ear. After a few cycles of this the phone will reboot. I tested with the stock kernel, and it does not reboot even after 20 screen on/off cycles. Also, I purposely let my battery die, and tried restarting it several times until it would not come on anymore with stock kernel, and when I plugged it in, it booted fine, no bootloops. Is there a fix for these issues in faux's kernel. I like the kernel, but the dead battery bootloop issue has gotten me one too many times. And if your in a call and need to look at your screen for some reason and the phone restarts, that can be bad too. No disrespect at all faux, I just want to let you know about these 2 issues, they are the only 2 I have, and can be cause by very specific things, so I was hoping it might help you troubleshoot. I run sports89's stock deodexed ROM by the way.
[HTC Amaze 4G] blast0id:
Confirmed, actually just went back to energy w/modded stock kernel... For this very reason.

sent on a mastodon by way of intercontinental epic journey
[HTC Amaze 4G] masondoctorjt:
Modded stock? What about it is different than stock, and who's kernel is it?
[HTC Amaze 4G] mvp001:
This kernel operates to swap and I can install 4.2.2 android jelly bean ??:confused::confused:
[HTC Amaze 4G] lalit387:
Read carefully this is for ICS only don't try to use on other platforms that way you will have a brick
[HTC Amaze 4G] chevycowboyusa:
Whereas you are correct that this is for ics, flashing the wrong kernel will only soft brick a device.

I have been trying kernels to get jellybean going, but to no avail.

The only time you really chance at hard bricking is when you flash the wrong radio or hboot.

Still, I would strongly advise not flashing this on 4.2.2 or anything past 4.0.4.

Your screen will go dark, the camera led flashes, then it reboots back to recovery.

I've already done it.
[HTC Amaze 4G] lalit387:
Thanks for the detailed information

ION Kernel is most eagerly awaited thing for AMAZE-ing guys:silly:
[HTC Amaze 4G] lalit387:
ION Kernel

Please come on to rescue for Amaze ION Kernel:crying:
[HTC Amaze 4G] jkozan:
Same issue

I have also had this issue, I have just gotten use to turning off the screen while in a call. It is a bit of a pain but it woks.
[HTC Amaze 4G] Yousvel:
I need a working link for Faux123 Kernel v31

Can someone provide me with a working link for Faux123 Kernel v31, please?

Thanks in advance for helping me.

And thanks [MENTION=3332811]faux123[/MENTION] for all you've done for our beloved Amaze.
[HTC Amaze 4G] incapable86:
Here you go!

https://www.dropbox.com/s/9dk557l87om688j/ruby-faux123-kernel-v031.zip
[HTC Amaze 4G] Yousvel:
Thanks a million brother.
[HTC Amaze 4G] Yousvel:
A working link to the GB version of this kernel?

Can someone provide me with a working link to the GB version of this kernel, please?

I searched but I could not find one.

Thanks for your help!
[HTC Amaze 4G] Ali-Abdollah:
After flashing, I can OC, but I cannot UV.

I use SetCpu. And when I open Fauxclock App, I get FC.

What can I do about it?!!! :(
[HTC Amaze 4G] rdar_93:
Trying to get a download for the ICS kernel but the links are dead
[HTC Amaze 4G] Yousvel:
There you go! https://www.dropbox.com/s/9dk557l87o...ernel-v031.zip
[HTC Amaze 4G] rdar_93:
Thanks man, but that link is coming up as invalid too
[HTC Amaze 4G] Yousvel:
Try it now. It should work.

https://www.dropbox.com/s/9dk557l87om688j/ruby-faux123-kernel-v031.zip
[HTC Amaze 4G] rdar_93:
:D Thank you again :3 It works.
[HTC Amaze 4G] incapable86:
Dropbox link has been removed please find all the faux kernels for ruby in this archive: http://faux.romhost.me/ruby/ics/
[HTC Amaze 4G] basiouny:
thanks everyone
[HTC Amaze 4G] Yousvel:
Instead of saying "Thanks everyone" you'd better hit the thanks button.
[HTC Amaze 4G] Binary100100:
It's possible. I have the new radio as well.

1.08550L.19DC_30.66.550L.08D
[HTC Amaze 4G] bmbrad:
You do not have to relock bootloader. Just have to go back to stock ruu.

I also have the updated radio.... I can't get the cpu frequencies to stick at all after 50% battery life. Having to adjust it back every 5 to 10 seconds. I have tried backing off the OC and UV but nothing is helping.
[HTC Amaze 4G] zellroot:
i also have the new radio and baseband, I've been running stock kernel with zero reboots. I'll flash faux kernel and see if it reboots then.
[HTC Amaze 4G] Totòòò:
I have the old radio and I experienced the random reboots. Waiting for the phone to randomly reboot again so I can post the .txt file
[HTC Amaze 4G] aj_2423:
Well shi* woulda saved me some time. lol. O well it wasnt hard to do. Ive also noticed the frequencies not sticking. My phone will suddenly start acting very slow (as it just did while im typing this) and ill go into faux clock and my max will be as low as it can be set...

sent from my Amaze Quiksense 2.1.2 w/faux .006 kernel
[HTC Amaze 4G] Binary100100:
I had another crash. I wasn't even using my phone at the time. It was sitting on the desk in front of me and I noticed it just rebooted for no reason.

My last_kmsg.txt file is like 700kb so pastebin wouldn't let me upload anything over 500kb so I attached it as a zip.
[HTC Amaze 4G] faux123:
[ 862.670371] arch_reset: Going down for restart now.

[ 862.670493] arch_reset: mode 8

[ 862.670737] arch_reset: restart command `MDM FATAL!'.

[ 862.670859] from arch_reset

[ 862.670981] wait_rmt_final_call_back: Modem is not up, skip efs_sync

You are the 3rd log with Modem/Radio crashes :( So it is confirmed we have a buggy Radio for Amaze.... Nothing I can do about it to fix it... :(
[HTC Amaze 4G] aj_2423:
So then where do we go from here, contact htc ??? Tmobile???

sent from my Amaze Quiksense 2.1.2 w/faux .006 kernel
[HTC Amaze 4G] evohog:
Thanks for the straight answer.
[HTC Amaze 4G] -pk-:
My phone has randomly rebooted a few times. Sometimes it reboots just sitting there waiting for the screen to dim, sometimes I'll be in the settings or apps list, happened once while using the camera, or writing a text. This was fully stock and non-rooted before the OTA update. I just did the 1.43 update yesterday, maybe I'll hold off on rooting to see if it still reboots. It sounds like the radio crashing is completely HTC's problem. I haven't installed many apps or added any new widgets, so I was already suspecting the underlying issue was something like the radio or poor signal I get around my house.

Most of the time that I spend playing with my phone is at home. Coincidentally, now that I've had Juice Defender Ultimate for a month, I haven't noticed as many reboots...while it's configured to automatically turn off the radio and use wifi whenever I'm home.
[HTC Amaze 4G] faux123:
let HTC or Tmobile know... also try NO UV and see if the problem goes away...
[HTC Amaze 4G] aj_2423:
Ya i hadnt uv'd at all, then i uv'd to .25 and it restarted shortly after that. Went back to no uv and havn't had any probs since.

sent from my Amaze Quiksense 2.1.2 w/faux .006 kernel
[HTC Amaze 4G] edyts:
Ive tried fauxclock and setcpu and i see no settings anywhere for voltages, what am i missing?

EDIT lol i always do this, i found voltage settings on fauxclock but not setcpu, to bad i paid for that app grrrr. Thanks for this Faux loving it so far!!! Also your fauxclock crashes twice evertime i reboot my phone but then seems to work i dunno if thats me or what, just fyi
[HTC Amaze 4G] tclick:
Ok I think this is the best place to post this.

Like others, my over clock and iv settings aren't sticking. I've noticed the following patterns.

Using system tuner pro, if I use init.d scripts, the CPU max freq does stick, but not the voltages. If I use boot settings the voltages stick but not the CPU max freq - in this case, the CPU tries to go to 1.7, but as soon as I run anything, it pops down to 192 and won't scale back up again.

Thoughts?
[HTC Amaze 4G] gaww:
I checked and yeah, voltages are not holding (thought I had UV'd with system tuner lol).
[HTC Amaze 4G] Totòòò:
here's a link of my last_kmsg.txt file http://pastebin.com/GbZ0hUuH

I have quiksense 2.1.2 faux kernel old radio. phone randomly rebooted
[HTC Amaze 4G] 2sh0rt:
So I got Sleep of Death last nite randomly. At this point I just decided I wanted to go back to stock kernel so I tried flashing back. No matter what I do, I cannot get my Wifi working again unless I flash back to 0.0.6. I've even gone back to stock via RUU. When im bone stock it works but as soon as I flash QuickSense 1.5.1 again, the wifi refuses to come on, it just says "error" untill i flash 0.0.6. Anyone have any ideas on how I can get back to stock with wifi working again?
[HTC Amaze 4G] aj_2423:
Have you tried flashing the stock 3.0 kernel that is listed in the op of this thread

sent from my Amaze Quiksense 2.1.2 w/faux .006 kernel
[HTC Amaze 4G] faux123:
I don't see any errors in the log... are u sure this is the last_kmsg? Maybe got cut off due to size?
[HTC Amaze 4G] faux123:
I recommend NO UV for now and see if the Radio/Modem is stable...
[HTC Amaze 4G] 2sh0rt:
Sorry no, I do not see a link. I see words for "stock 3.0 kernel" but no link associated. I flashed the stock kernel in xboarders kernel flasher thread.
[HTC Amaze 4G] aj_2423:
Hmm i see that. Well did the one in xboarders thread work?

sent from my Amaze Quiksense 2.1.2 w/faux .006 kernel
[HTC Amaze 4G] 2sh0rt:
No it didnt work, but I managed to fix it. I didnt realize that 1.5.1 has its OWN boot.img included in the zip. I was going to edit the boot animation in the zip and opened when I notice the boot.img there. Just flashed that boot.img and low and behold it worked! Thanks though for the suggestions!
[HTC Amaze 4G] hiazn:
I had one or two reboots in the last week but other than that running really stable even uv -37.5...

Kernel 6 and qs 2.1.2. Original radio

Also, using system tuner pro, no problem w speed settings changing.
[HTC Amaze 4G] aj_2423:
Awesome

sent from my Amaze Quiksense 2.1.2 w/faux .006 kernel
[HTC Amaze 4G] aj_2423:
So i was just in the market when my phone suddenly seemed to be restarting. But instead of booting, it was stuck in a bootloop. Had to pull battery to get it to start up. faux should i post last_kmsg?

Edit: nvm, just tried retrieving it and it said no such file or directory

sent from my Amaze Quiksense 2.1.2 w/faux .006 kernel
[HTC Amaze 4G] faux123:
you can try to post it... don't be shy posting last_kmsg, I don't mind being flooded with them.
[HTC Amaze 4G] aj_2423:
Do u know Y would it say no such file or directory? Would it maybe be wiped from pulling the battery?

sent from my Amaze Quiksense 2.1.2 w/faux .006 kernel
[HTC Amaze 4G] kkholidaze:
Any chance of dimming the soft keys even further (maybe another 50%-75%)? Thanks for the hard work. No reboots as of yet.

EDIT: Just rebooted on me :(
[HTC Amaze 4G] dk_gh0st_:
I second this motion^^^^ plz do

One of our strengths is our lack of direction- Eric Schmidt
[HTC Amaze 4G] tclick:
I have the same problem and the issue with voltage/freq not sticking.

I think I found the problem to both. Uv seems to be the source of both issues. So long as my 1.7 freq is 1325mv or greater, I don't have the occasional boot loop AND my freq/v settings stick. 837 for 192mhz

It appears if I lower the voltage the first thing to start happening is boot looping after several hours uptime, lowering it more causes the values to not stick, even though it seems to work well for hours at a time,even more and it locks up and must be rebooted. From about 1250mv to 1325mv is where it works but values don't stick,below 1250 it locks up pretty quickly.

Hope this helps.
[HTC Amaze 4G] Binary100100:
ClockworkMod Recovery Zip

I wanted to re-post this for the convenience of others so they wouldn't have to dig through it.

This is a ClockworkMod recovery version of the kernel. Simply flash from recovery like you would for a custom rom. A second reboot is required! If it doesn't work then try the kernel flashing script in post #1.

Refer to this post for the .zip file and additional information:

http://xdaforums.com/showpost.php?p=20426599&postcount=167
[HTC Amaze 4G] charlatan01:
Out of curiosity, which prog are you using to manage this?

Also, ^ thx Binary... I may give it a shot tomorrow.
[HTC Amaze 4G] eliasadrian:
Got another random reboot, it seems like it's the radio modem thing and you got it figured out, but here's another one if you wanna look at it - http://pastebin.com/ysBG6EWt

Thanks again for everything you do!

Edit: I forgot to mention that the only times this has happened is when my battery is below 30%, and only one of the 4 or 5 times it happened did I actually see it. The other times it was when my phone was in my pocket or on my nightstand and had had the screen off for awhile, and I noticed that my screen won't turn on and/or my phone is hot; but by that point my battery is totaly dead and I have to pull the battery before it'll charge at all (thank heavens for X's cwm 5.0.2.7), and then reboot.

And I checked my code with the examples you quoted earlier showing where the modem failed, and it looks like mine is the same. I did a word search for "modem" and I saw a couple weird lines and possible errors, but I don't know what I'm really looking for....ha
[HTC Amaze 4G] xXxVenomxXx:
Dose this work on sense 3.5?
[HTC Amaze 4G] bobbyricha:
I am running v0.0.6 with QS 2.1.2. Three times in the past week I have gone into a boot loop in the middle of the night when charging.

Here is my pastebin:

http://pastebin.com/XAx4wrT6

Otherwise, no problems.
[HTC Amaze 4G] gaww:
My one minor issue is that my soft keys are totally off. Otherwise, working great on 2.1.2.
[HTC Amaze 4G] Binary100100:
No it doesn't. That' requires a totally different kernel.
[HTC Amaze 4G] tclick:
System tuner pro, but I've tried others with the same results
[HTC Amaze 4G] kkholidaze:
So, to be clear, the rebooting is a radio issue? If I was to reflash the stock kernel, would it still reboot on me?
[HTC Amaze 4G] Totòòò:
I switched to stock kernel and havent experienced any random reboots since then. Faux said is new radio's fault...however I had the old radio and still experienced random reboots...he knows better though lol
[HTC Amaze 4G] faux123:
You are correct, the stock kernel will random reboot at a lower frequency (but we've seen evidence of it crashed due to radio/modem as well with logs posted by users). My kernel with OC and UV may expose this hidden problem with greater frequency. I still don't know exactly the cause of this issue. I've been very careful (I have to due to lack of wifi source) and selective with the hax I added. I can't see any of them causing the radio/modem to be unstable maybe with the exception of UV.

I've done my own testing and have found that if I take out my sim card and run the phone at MAX OC and -75 mv UV, I can run day and night for days and not see any issues at all. So this tells me it has something to do with the radio/modem not the kernel. Also the kernel DOES NOT interface with the modem at all, it's done a a higher layer at the ROM level.

Just letting you guys know that I am still looking at it.. but it's been frustrating as well on my side.
[HTC Amaze 4G] saulcho009:
I bought this phone because I expect great quality from HTC. Instead they are laying down crap like what Motorola did with my previous phone. Luckily we got around it. Hope we can too. Perhaps we need to seek help from other devs.
[HTC Amaze 4G] eliasadrian:
So I just had a crash and tried to get the /proc/last_kmsg and it didn't work... Any ideas why?
[HTC Amaze 4G] Totòòò:
Use root explorer. Is really easy to find that file
[HTC Amaze 4G] :
I use root explorer, and also had no file of that name. I've had the crash happen a couple of times, and had no luck either time. I am on the stock kernel now.
[HTC Amaze 4G] aj_2423:
My first crash i had no problem pulling last_kmsg... Had 2 crashes after that and got the same error, no such file or directory. Also nothing looking with explorer. So ur not the only one, idk

sent from my Amaze Quiksense 2.1.2 w/faux .006 kernel
[HTC Amaze 4G] gaww:
I just had only my second random reboot (actually a boot-loop - had to pull battery) in 3 days. I tried to locate proc/last_kmsg with root explorer, but it is not there.

I am on 2.1.2 and .006 with no additional UV (it won't stick). Could pulling the battery and rebooting erase it?
[HTC Amaze 4G] faux123:
unfortunately, /proc/last_kmsg is stored in RAM, so pulling battery will erase it. If you are near computer, you can still retrieve the file via adb while it's boot looping. I think I know why it's boot looping, when the radio crashes, it MAY not have reset itself to heal, so when the phone boots, it realized that Radio is in a funky state, therefore, it attempts to reboot again thus resulted in a boot loop.... Ugh... this radio bug is super frustrating...
[HTC Amaze 4G] Binary100100:
You can figure it out.

Could there be a way to add a cat /proc/last_kmsg > /sdcard/last_kmst.txt command to have the device write the log during the crash?
[HTC Amaze 4G] Nshih422:
Would this help? I made a bat file to run the command, all you would have to do is run the BAT file while your phone is boot looping or right after a crash and it should save the file to your SD Card.

I haven't tested it but it should work.

PS. I used xboarders relock tool to make this so Thanks to him!
[HTC Amaze 4G] Binary100100:
Useful but I was referring to a sh script to run from the phone itself to write the last_kmsg during it's crash so all we'll need to do is post the file that would be saved to the sdcard.