yashsingh1/xdaforums huggingface dataset:
[HTC Amaze 4G] saulcho009:
I'm running stock clock and voltage. I'm guessing an app is causing this since I see it in the log. Process of elimination here we go!

It's jrcud. What is that? It's taking low pid like 11 and 22.
[HTC Amaze 4G] MentalDeath:
No idea but my Googling only got me this.

LOL look in the title of this thread.....
[HTC Amaze 4G] terahybrid:
baseband 1.07xx, no bootloops before and now on beta 8

I'm going to run the desk clock overnight and see.
[HTC Amaze 4G] MentalDeath:
Why are you going to run the desk clock overnight?

If there was a reboot you'd have a "Tell HTC" notification and if it was boot looping you'd see it in a boot loop when you wake up.
[HTC Amaze 4G] terahybrid:
I also would see my up time back to 0, desk clock was a suspect if it was ruled out then my apologies I missed that post.

edit: screenshot is beta 7
[HTC Amaze 4G] MentalDeath:
Oh sorry I misread your previous post then, I thought you were saying you have not had any boot loops and your current kernel is beta 8. Not that you never had bootloops and now have them using beta 8.
[HTC Amaze 4G] hzm82:
I used system tuner to turn both cores on all the time on faux's lastest kernal and BP 2.2.0. Feels smoother, got better benchmark scores, and didn't seem to hurt my battery. Anyone else running a similar setup with dual core on all the time?
[HTC Amaze 4G] terahybrid:
no worries and you are correct I haven't had any reboots/loops in any beta just the problems that I reported so far beta 5 was the worst for me constant screen freezes but no halts,reboots, or oops yet, I uploaded a wrong screenshot too this one is beta 8, last one was beta 7
[HTC Amaze 4G] faux123:
My Amaze running 2+ days on single charge without any boot loops or reboots :(
[HTC Amaze 4G] terahybrid:
good to know, not me I'm 1.5 gov. conservative, screen off gov. ondemand, screen off 384, screen off on call max freq. 432 re-apply cpu settings on boot init.d, using system tuner for anyone that would like to know.

---------- Post added at 09:21 PM ---------- Previous post was at 09:15 PM ----------

same here if it weren't for the trace logs I would say it's bad hardware :confused:
[HTC Amaze 4G] heyjoe66:
can I ask you, which build you are using? since you don't suffer of bootloops, i guess, you don't need all that "reverted back..." builds.
[HTC Amaze 4G] faux123:
I always use my latest release myself.
[HTC Amaze 4G] heyjoe66:
I see.

well, after i've removed certain scripts I'm running almost three days without bootloops.

talking about these scripts:

echo "0" > /proc/sys/kernel/panic_on_oops (current value "1")
echo "0" > /proc/sys/kernel/tainted (current value "1024")

nevertheless, freq jumps are still really annoying
[HTC Amaze 4G] xologist:
Woke up.. watched a few videos.. made some calls.. rebooted my phone.. used light application.. stopwatch.. browsed the internet on my pone.. used calculator.. etc

7 Hours since phone unplugged from wall.

Battery as of right now: 80%

Faux Kernel 008 beta 8.

Rom: BulletProof 2.3.0.

Awesome Kernel!

Keep up the awesome work!

:EDIT:

and have had WIFI on all day.
[HTC Amaze 4G] heyjoe66:
just noticed the same freq jumps on a stock kernel

it's happening on full cpu load, so obvious it's 'thermald' service, which is strange, 'cause temperature is far from critical

anyway, i've stopped it and... no more jumps
[HTC Amaze 4G] Binary100100:
Got another one for you Faux.

Just finished checking my e-mail with it, set it down and crash.

Using xboarders bulletproof v2.3.0 with #17 kernel
[HTC Amaze 4G] terahybrid:
ha-ha I didnt even had to wait to long last night the dock clock pwned my phone in 2hrs started it at 2200 hrs screen froze at 0020 when I woke up. I'm checking the log right now

it didnt reboot it just crashed left the default screen awake, there is a serious bug in sense 3 framework my phone is been solid except this little test locked the kernel ?
[HTC Amaze 4G] frodoboy:
I don't know if this means anything Binary but I compared your last_kmsg to my last one and yours has tons of lowmem:deathpending messages right before the reboot. Mine doesn't have

any!

I don't know if that even means anything but right after all of those "lowmems," it says "emergency_remount (LINUX_REBOOT_CMD_RESTART)" on line 4966.455643. Maybe that means something to you or Faux. Maybe it doesn't mean anything. I just noticed that that was the major difference between your BLs and my restart. I know you said you had a lot of apps installed...even more than I do! :D Maybe too many apps are running in the background and you're running out of memory??

Sorry if it is a stupid observation. :rolleyes:

Hah! I just saw Faux's post just after I posted my observation. Not too far off but he might be right. You do have way too many reboots! I forgot if you tried to just reflash the ROM and not install any apps for a day or two to see if you still get the bootloops. If you still do, it does sound like a bad phone or ?
[HTC Amaze 4G] Binary100100:
I disabled many of the auto-run apps and froze most of the bloat.

However I do have the weather animations running and let's not forget that the weather animations (especially on the dock mode) are nothing but mp4 video files. Perhaps that's the problem. Which would explain why 90% of the crashes are while my phone is docked.

I'm going to try System Tuner with Auto-kill set to Agressive and see if that helps or hurts.
[HTC Amaze 4G] terahybrid:
ok mine is strange as well seems the app borked the scheduler, then it all went to hell from there :confused: I dont get it.

definitely dont use sense apps, I can confirm the dock/desk clock messes the phone up, this is the only time I ever had a crash.
[HTC Amaze 4G] Binary100100:
Check to see if you have any VID errors like "Error code = 0x7d : VIDC_1080P_ERROR_NO_BUFFER_RELEASED_FROM_HOST" in your last_kmsg files.

The mp4 videos constantly playing might be causing the memory leaks.
[HTC Amaze 4G] faux123:
[109540.478575] [BATT] power_supply_changed: battery at 109539738755226 (2012-01-18 09:59:26.918937845 UTC)

[109540.479033] [BATT] power_supply_changed: ac at 109539739212990 (2012-01-18 09:59:26.919395608 UTC)

[109540.650023] [USBH] otg_reset: mode:0x00000012

[109540.650206] [USBH] do nothing !!

[109540.650297] [USBH] msm_otg_sm_work: state:b_idle bit:0x00000020

[109540.650450] [USBH] entering into lpm

[109540.650541] [USBH] lpm enter, __INVALID

[109540.650999] [USBH] msm_otg_suspend: usb in low power mode

With Binary's previous posts.. + your USB issues... now I am beginning to suspect USB and/or video codecs .... ugh....
[HTC Amaze 4G] terahybrid:
overflows and leaks are easy to spot I do have a few rouge pid but so far every untracked process exited fine, I'm still going thru the log thou, so far my batt did finish charging before the jrcud borked also

---------- Post added at 04:52 PM ---------- Previous post was at 04:39 PM ----------

do you think that was user error I force umount :p
[HTC Amaze 4G] brolic925t:
Why cant i undevolt with setcpu
[HTC Amaze 4G] terahybrid:
I have a few mp4s and m4v videos I'll play them constantly and see if it breaks something, what player do you use, the included one?

edit: none that I can see, sorry see my previous post, I thought I hit quote sorry
[HTC Amaze 4G] Binary100100:
I very rarely view any videos.

If I do I use the video player that defaults with the camera.

I might watch a Hulu video and on a very rare occassion a YouTube app.

Oh... and XDA TV if SassyBob made a video. Giggity! :p
[HTC Amaze 4G] terahybrid:
ok I'll use that, here netflix a little and youtube moderate, and I been using BS player a lot.

:D
[HTC Amaze 4G] Binary100100:
Maybe we can compress the mp4 videos to 720 instead of 1080p. That should use less RAM... in theory. Right? Or maybe this is an issue with the GPU?
[HTC Amaze 4G] terahybrid:
without a more verbose log I have no idea, but it does look like a codec error, yes it would use less ram but the problem was it never released the buffer, not more ram needed.

[ 1653.231050] [VID] leave ddl_device_init()[Warning] [VM] 62468 KB VM address. 6th: [pid-3815][cmd:TimedEventQueue]

[ 2856.467606] [VID] leave ddl_device_init()[Warning] [VM] 62468 KB VM address. 8th: [pid-7042][cmd:TimedEventQueue]

[ 4357.287011] [VID] leave ddl_device_init()[Warning] [VM] 62468 KB VM address. 9th: [pid-8093][cmd:TimedEventQueue]

if your batt timestamps are right it took about 1hr to bring down your phone thats when the sigkills started, since 1st decode started you had 3 decodes going that never closed I also found some setcpu errors, I feel sorry for faux I got a headache amaze the phone that keeps on giving :o

[ 1630.333213] [BATT] power_supply_changed: battery at 1630315239647 (2012-01-18 07:06:46.820778603 UTC)

[ 4939.157727] [BATT] ioctl: battery level update: 56 at 4939141995968 (2012-01-18 08:01:56.845592306 UTC)

FYI 1st movie m4v almost done playing I'll start a 1080 after this one
[HTC Amaze 4G] frodoboy:
Maybe just disable the weather app so no animations and see what happens.
[HTC Amaze 4G] fcpelayo:
Hey faux I have 3 uploads of my last kmsg on bp 2.2.1 w/.07D radio and paul #17 kernel no undervolt and oc'd to max. I had also posted two other ones on earlier post but never saw a reply or anything.. Not sure if these are still useful to you or not.
[HTC Amaze 4G] xboarder56:
new one here really wierd booted up wierd flashing leds for my phone then rebooted

http://pastebin.com/TSWNuvVg
[HTC Amaze 4G] terahybrid:
seems like you were playing music the 3 are very similar you have some scheduler errors too, interesting you also got a memory leak :confused: I'll look more into it tomorrow

edit: like binary you got a video codec error but you also got audio codec I dont see it but it might never released the buffer since you got lowmem and sigkills also same VM id like binary followed by low memory

[60693.669734] [VID] leave ddl_device_init()[Warning] [VM] 62468 KB VM address. 10th: [pid-9527][cmd:Binder Thread #]

---------- Post added at 09:17 PM ---------- Previous post was at 08:33 PM ----------

I do see the gpio calls for your leds, you were playing music then you got some VM errors then modem got all crazy, a bad codec :confused: I dont see a requested reboot was this a cold boot?, I dunno this one is for faux
[HTC Amaze 4G] faux123:
Amaze kernel 008 Beta 9 is out! (paul@ubuntu #22 is the correct version for this)

http://www.multiupload.com/KNDCUNB3P3

Going back to use EKF again. Make sure you use a PC to do this. SDIO Interface is what Amaze uses to talk to the Modem. So here's Amaze's hardware architecture:

MSM8660 ==> MMC ==> WiFi Module (WiFi is treated as an MMC card)

. ==> SDIO ==> Cell Modem (Cell Modem is treated as an SD card)

{ build 9 }

added CRC32 / CRC32c optimization

added SMP optimization

disable USB OTG capability

{ build 8 }

disabled DeviceMapper Cache

restored original scheduler load calculation timing

{ build 7 }

re-enabled CPU OC

Updated USB, OTG, VIDC, Camera and DMA drivers from Telus Kernel source.

{ build 6 }

disabled CPU overclocking

{ build 5 }

sdio: Handle graceful shutdown

sdio: fix MCI_CLK corruption

driver/vibrator: reduce debug message spam to dmesg log

{ build 4 }

Added JRCU (thanks to Joe Korty!)

Patched MMC lock up issue

Removed additional Panasonic Gyro Log Spams

Patched RPC and SMD drivers

Enabled Performance Lock Screen Off settings
[HTC Amaze 4G] terahybrid:
I dont know binary the movies played fine today I'll play some 1080s, I might of done user error that day because just for the heck of it I ran the desk clock and everything was fine this morning.

I did get the otg error that faux mentioned everytime right after plugin in the phone to charge thats about, it not crashes yet

[44212.091225] [USBH] otg_reset: mode:0x00000012

<7>[44212.091561] [USBH] do nothing !!

<6>[44212.092141] [USBH] msm_otg_sm_work: state:b_idle bit:0x00000020

<7>[44212.092446] [USBH] entering into lpm

<6>[44212.092751] [USBH] lpm enter, __INVALID

<6>[44212.093758] [USBH] msm_otg_suspend: usb in low power mode

my dmesg below
[HTC Amaze 4G] Binary100100:
Flash Image GUI app

No more EKF!

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

It supports flashing .img and .zip files.

Thanks to joeykrim!
[HTC Amaze 4G] faux123:
Cool.. now try to crash B9 ;)
[HTC Amaze 4G] Binary100100:
Funny Paul. But if anyone can do it... :p
[HTC Amaze 4G] faux123:
Okay.. another version....

Binary100100 I pm'ed you.. let's get on gtalk...

http://www.multiupload.com/YJK0CHHYAB
[HTC Amaze 4G] pc2828:
Binary, would you kindly provide steps to do that?

---------- Post added at 09:14 PM ---------- Previous post was at 09:01 PM ----------

I don't know how to load boot image since I can't bootup and access Easy Kernel Flasher(the only way I know how). I would assume I can somehow do it in recovery, someone access adb and fix from there?
[HTC Amaze 4G] elhalisf:
restore from backup, then load the boot image found in this thread

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

you can do it while your in recovery, right after the restore process.

you have to remember, restoring from back up does not restore the kernel.

---------- Post added at 10:18 PM ---------- Previous post was at 10:16 PM ----------

i did the restore then the flash, all while in recovery. i just made sure the stock boot.img was in the kernel-here folder.
[HTC Amaze 4G] PlankLongBeard:
I've Been Using Faux's Kernels for Nearly All My HTC Devices and of Course the G2X Till I Couldn't Take Stock Google (and random reboots and issues with the tegra) for a While Now... Faux is the Zeus of Mobile OS Programming :)
[HTC Amaze 4G] faux123:
Kernel Development Update:

First of all,

due a Major Fail by HTC for not releasing the TI wifi source code

, we are stuck with stock WiFi drivers.

So what's wrong with using WiFi drivers? Well, I tried to use it as is with my kernel, by hacking my kernel to work around the "magic version" issues but I still end up with issues due to memory corruptions (this happens because the kernel and the modules are compiled separately).

So I searched the internet for the missing TI drivers and I found them from CM7's repo. First when I tried to compile it, I encountered errors, so I fixed those errors, then I changed some of the drivers because HTC is expecting different things from the drivers which were different from CM7/AOSP. So far I got the drivers hacked and compiled, but again because this is a

Blind

Backport from AOSP to Sense (usually it's the other way around), we don't know exactly what else needs to be changed in order to get it working with HTC's Sense.

So this is the latest version:

http://www.multiupload.com/ET2AL0DQW4

WiFi and Access Point are BOTH BROKEN

I want to give a special shout out to Binary100100 for being on Gtalk and stayed hours with me to help me test my kernels and provided tons of feedback and logs to help me to get to this far.

I will be mostly off-line from tomorrow to Friday. I should be around Sat and Sun to continue my hacks. Meanwhile I've been scanning ebay for a cheaper Amaze.. but so far no luck.. most of them are $500+... I need a known working phone, otherwise it would be difficult for me battling both hardware and software at the same time...

Ok.. very tired with very stiff neck.... need massage badly...

Good night and Happy Thanksgiving!!!! :D
[HTC Amaze 4G] Binary100100:
Update Kernel Release Status

Faux123 and I have been working on this for the past four hours.

Unfortunately we were unable to produce a stable kernel for release.

The one posted above (as mentioned in his post) is not complete! The WIFI and Hotspot will not work!

Due to time constraints we're taking a break and he will be returning to work on it in a couple of days.

I should warn everybody that the several releases within this forum are still very Alpha.

The problem that we are experiencing is the lack of wireless drivers in the source code that HTC had released. They conveniently forgotten it. :rolleyes:

It appears that Faux123 has finally met a challenge that will put his skills to the test!

Support him any way that you can because this is not an easy thing to do.

Please do not ask for an estimated date of release!

This is a tough enough piece of work as it is. Pressuring him will not be supportive at all.

Also keep in mind that he doesn't even have the device yet and it's not exactly cheap either. :rolleyes:

So unless you're a pro at creating kernels with an incomplete source then please don't bother him about it. Support him buy donations or by testing (or both). ;)
[HTC Amaze 4G] Cayniarb:
You two should hit me up on gtalk or in my IRC channel. I am out of town and not very available til late Saturday, but I have the device and have been having similar issues in my kernel efforts. I dunno what's up with this tiwlan nonsense anyway. I miss bcm4329 :'(
[HTC Amaze 4G] 2sh0rt:
I shot HTC a few tweets and an email this morning regarding this. I did get a reply back via email asking for more information. As soon as I have any additonal information from HTC I'll repost! Seems like they are interested in hearing what I have to say....maybe.

---------- Post added at 03:35 PM ---------- Previous post was at 02:51 PM ----------

So I got a response already:

I will keep you posted as I get more information
[HTC Amaze 4G] Nativedude:
I found a wiki on TI's site for what looks like building the drivers from there source,

However it's for the WL1271 driver set. I'm not sure which set we need.

http://processors.wiki.ti.com/index.php/android_wireless_build_and_porting_guide
[HTC Amaze 4G] Binary100100:
1283 drivers.
[HTC Amaze 4G] Nativedude:
Yeah didn't think it was the right one

Thanks for letting me know which set it is
[HTC Amaze 4G] xboarder56:
just shot them a email to ti support lets see what they say
[HTC Amaze 4G] faux123:
HTC has already responded to my tweet :D Let's see how quickly they will follow up!

http://twitter.com/#!/htcdev/status/141227667021246464
[HTC Amaze 4G] nooney299:
Greetings faux,binary and x! Hey fellas awesome work! Look I will help in any way possible w testing. Also look around on craigslist for an amaze. I know I had been getting brand nib tmob phones on cl for 300 easy always. Faux pm me if all else fails. I know some people ;)

Get with me fellas and I will help all I can.
[HTC Amaze 4G] gaww:
faux,

Missed the bounty fund - was traveling, so sent some to the caffeine fund...
[HTC Amaze 4G] donharden2002:
It's almost 3am here and my pain meds aren't helping me any. Is there a copy of this kernel that is working for us yet or will it need more time before it's ready for daily use?

I'm not a noob but I am worn out but have the urge to flash something, if it's not a rom or kernel it just might be my elderly neighbor. I don't know if she would like it or not; )

Thanks to all for your time and hard work. The xda devs keep me sane for the most part.
[HTC Amaze 4G] xboarder56:
Not working yet
[HTC Amaze 4G] Binary100100:
Here's an update.

I chatted with Faux123 briefly last night and although he has purchased the device he is unable to start anything with it for about another week for personal reasons that I will not get into. Once he starts just be patient because it'll all just be a matter of trial and error. Of course it would all be much easier if HTC would give us the entire source. ;)
[HTC Amaze 4G] Nshih422:
Is there a place where we could bother HTC about it? Kind of like when Xboarder asked to sign a petition for another phone to have an unlocked boot loader for another device.

I think if enough of us went to HTC we would get something accomplished quicker. I'd be willing to do something to help, and I'm sure others here would too.
[HTC Amaze 4G] xboarder56:
facebook and twitter
[HTC Amaze 4G] terahybrid:
but I like EKF :(

:eek:
[HTC Amaze 4G] frodoboy:
I think several guys want to flash the boot.img file from their phones because I guess they don't use a computer to download the ROMs. Binary's way to flash the boot.img was okay but not for some noobs. This new method is an app that a person can easily run from the phone. I imagine that is the big benefit of this app.
[HTC Amaze 4G] ickedmel:
I like EFK also. I say faux should keep releasing like this and the devs can keep binarys script included in the releases.
[HTC Amaze 4G] ickedmel:
Well that's a good point.
[HTC Amaze 4G] terahybrid:
I see, it makes sense and more convinient I guess, if it get us more beta testers and people to complain to htc to release source a big plus too imho.
[HTC Amaze 4G] Totòòò:
thank you for the last kernel update! I noticed something didnt notice with the previous updates. CPU0 always sticks to working 100% while the other cpu it is always 0%. Is this how it is supposed to work?
[HTC Amaze 4G] eliasadrian:
First reboot on BP 2.3.1 (none on the day I was on 2.3.0) and #17, last_kmsg was too long for pastebin, here's the bottom 2/3. http://pastebin.com/y4kQeDHc

Flashing 008b9 right now. Thanks Faux!
[HTC Amaze 4G] terahybrid:
thats odd my idles nicer than the other betas
[HTC Amaze 4G] Binary100100:
Yay! I did it!

All I need to do was watch a video on XDA TV and set the phone down for about five minutes.
[HTC Amaze 4G] faux123:
crap... I don't even know what to say... the log showed nothing out of ordinary :( It is truly a random crash :(
[HTC Amaze 4G] aj_2423:
Lol maybe u should consider sending that cursed phone in for a replacement haha

Sent from my BulletProof Amaze, Powered by Faux kernel...

via xda premium
[HTC Amaze 4G] faux123:
Amaze kernel 008 Beta 10 is out! (paul@paul-Precision-Worstation-T5500 #7 is the correct version for this)

http://www.multiupload.com/F93JD9DPJU

Going back to use EKF again. Make sure you use a PC to do this. SDIO Interface is what Amaze uses to talk to the Modem. So here's Amaze's hardware architecture:

MSM8660 ==> MMC ==> WiFi Module (WiFi is treated as an MMC card)

. ==> SDIO ==> Cell Modem (Cell Modem is treated as an SD card)

{ build 10 - RELEASE CANDIDATE }

Fixed CPU1 voltage and frequency issues introduced in Beta 9

removed CRC32 / CRC32c optimization

added XZ compression (reduce kernel size)

more MMC patch

added SHA-1 for faster boot

{ build 9 }

added CRC32 / CRC32c optimization

added SMP optimization

disable USB OTG capability

{ build 8 }

disabled DeviceMapper Cache

restored original scheduler load calculation timing

{ build 7 }

re-enabled CPU OC

Updated USB, OTG, VIDC, Camera and DMA drivers from Telus Kernel source.

{ build 6 }

disabled CPU overclocking

{ build 5 }

sdio: Handle graceful shutdown

sdio: fix MCI_CLK corruption

driver/vibrator: reduce debug message spam to dmesg log

{ build 4 }

Added JRCU (thanks to Joe Korty!)

Patched MMC lock up issue

Removed additional Panasonic Gyro Log Spams

Patched RPC and SMD drivers

Enabled Performance Lock Screen Off settings
[HTC Amaze 4G] Binary100100:
"Hi T-Mobile? I have a phone that keeps crashing with custom kernels. Can I send it back for a replacement?" :rolleyes:
[HTC Amaze 4G] faux123:
try to crash RC version. :p
[HTC Amaze 4G] Binary100100:
Who wants to bet that I can get a last_kmsg file in 24 hours or less? I got $5. LOL!
[HTC Amaze 4G] charlatan01:
You know, I have reported boot loops on multiple ROM's with different versions of Faux's kernels, and one thing I've noticed is.. the phone is solid for like two to three days. After that, **** goes haywire once a day. Most of the time, it's in the middle of the night... last time it happened RIGHT after I dimmed the display while I was in the car. Didn't capture the msg for that one.

I just watched a 2 minute and change video on XDA via youtube and had no issues. This is with BP 2.3.1 and the kernel within it. It's been on the phone for 24 hours, and I haven't had one boot loop.
[HTC Amaze 4G] MentalDeath:
If anyone can it would be Binary

The problem with this bet is that I doubt anyone will bet against you...
[HTC Amaze 4G] tombeach22:
Latest beta link dead? Or am I completely retarded?
[HTC Amaze 4G] Binary100100:
Well that didn't take long.

Used my phone to deposit some checks by Chase Mobile app, played about six levels of Angry Birds when I received notification for my deposits by e-mail. Checked the email and it crashed.

http://pastebin.com/hLwjecvj