yashsingh1/xdaforums huggingface dataset:
[HTC Amaze 4G] Binary100100:
http://www.multiupload.com/F93JD9DPJU

No comment. :p
[HTC Amaze 4G] macheteZen:
Wow less than 12 hrs. I don't know if I should be happy and proud of you or just feel sad and kinda bad for you. :D Good luck binary.
[HTC Amaze 4G] govindar77:
Man, this sounds like deja vu.

Last night, for the first time, I had what I believe is a boot loop. And the worst part is that I was asleep and the phone was charging. I wasn't doing anything at all. :confused:

In any case, I had to pull the battery and reset that way. I'd love to provide the error log, but I'm not sure that I'll be able to, since I pulled the battery.

Can someone let me know if I can still do it and get the right log file for the crash, please?

Thanks.
[HTC Amaze 4G] Binary100100:
Connect your phone to your computer with adb.exe running.

Open command prompt.

cd desktop

adb pull /proc/last_kmsg last_kmsg.txt

That should put the last_kmsg.txt on your desktop.

If it's over 500kb then just zip it and attach it.

If it's under then use pastebin.

To reset your phone during it's bootloop without having to do a battery pull press and hold both volume buttons and power at the same time until it reboots. This should also preserve the last_kmsg file.
[HTC Amaze 4G] govindar77:
Binary,

thanks for the quick response. Unfortunately, I'm at work and don't have the pc that has all the drivers and software installed.

I read somewhere there's a process to do it from the phone directly. Any chance you could point me to that process, rather than me having to look for it ... :D ... much appreciated.

Thanks.
[HTC Amaze 4G] fcpelayo:
I found a folder that says bug reports I went through it and looks like the last kmsg file but with more useful information. I think it's the one htc uses to collect information. What's the difference in the two files?
[HTC Amaze 4G] fcpelayo:
Download a terminal emulator, get root access by typing "su" once you have root the next line will have a "#" instead of "$" type "cat /proc/last_kmsg > /sdcard/last_kmsg.txt"

With root explorer or similar app, Go to your internal sdcard. You will find it there.

This I learned thanks to aj so credit to him.
[HTC Amaze 4G] frodoboy:
Scratch that last post....duh!!!!!!!!!!!!
[HTC Amaze 4G] govindar77:
This is what I get when I type su on the emulator. Please help, someone!!
[HTC Amaze 4G] frodoboy:
If you are typing upper case SU that is the problem. Type

lower case

su and that should do it. Case is

very important

in terminal!:o
[HTC Amaze 4G] gaww:
Not a problem - links are to multiupload and just used it to download 8b10.
[HTC Amaze 4G] govindar77:
Thank you. That did it.
[HTC Amaze 4G] Binary100100:
Works for me.
[HTC Amaze 4G] govindar77:
Huh, pulling the battery seems to have deleted the last_ksmg file from my bootloop.

Thanks anyway, Binary. I have remember that 3 finger option for the next time.
[HTC Amaze 4G] frodoboy:
DUH! I'm deleting that post! My brain in the morning before donuts is pretty dim. I thought Megaupload was same as Multiupload! haha
[HTC Amaze 4G] fcpelayo:
Yes if you pulled battery chances are is gone. I was also having problems with terminal emulator app trying to get lower case. For some reason sometimes it locks with CAPS. So I remembered system tuner which we use to oc/uv also has a built in terminal. Check the box that says su then type your command and press run much easier.
[HTC Amaze 4G] faux123:
WTF! Sigh...

[ 183.362995] [USBRMNET] rmnet_open_sdio_work: usb rmnet sdio open retry_cnt:89

[ 184.589434] [sdio_tty]open_sdio_dun: wait for SDIO_DUN channel initialization.

[ 185.362108] sdio_cmux_open+

[ 185.362658] [USBRMNET] rmnet_open_sdio_work: usb rmnet sdio open retry_cnt:90

[ 187.362016] sdio_cmux_open+

[ 187.362107] [USBRMNET] rmnet_open_sdio_work: usb rmnet sdio open retry_cnt:91

[ 187.362290] android_usb gadget: Unable to open control SDIO channel

[ 187.362382] android_usb gadget: Unable to open DATA SDIO channel

[ 188.969436] Thermal: failed to read out thermal zone 1

SDIO channel for this phone is used to communicate with the Cell modem... you have problem talking over SDIO channel.... Cell Modem could be dead. :( But it is NOT a kernel panic or other types of errors caused by coding bugs... it seemed to be an issue with communication and after long series of retries, it finally gave up and rebooted :eek:
[HTC Amaze 4G] aj_2423:
Ahh, i taught you well my friend, Lol. Glad to see you got it down man, and that are passing it on to help others now.

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

via xda premium
[HTC Amaze 4G] gypsy214:
guys its rare when i get reboots with any version of this kernel. and i noticed when i do im doing a millions things at once, like playing a game then watch videos then facebook and all but i dont know how to get a kang file to report my reboot, i would love to do it and see whats the difference between mine and others
[HTC Amaze 4G] fcpelayo:
If you follow my instructions on the post above all you would need to do after is to upload that file here.
[HTC Amaze 4G] chrischoi:
Here's one.

Netflix did it for me. This is on 008b10.

http://dl.dropbox.com/u/17498202/last_kmsg

I used this to pull it.

http://dl.dropbox.com/u/17498202/Pull last_kmsg.rar

Extract and run.

last_kmsg can be found in C:\Program Files (x86)\Android\android-sdk or wherever you have yours set up to. You may have to mod it a little. Figured it might help some people.
[HTC Amaze 4G] faux123:
Looks like video is somehow causing memory leaks... :(
[HTC Amaze 4G] faux123:
Amaze kernel 008 Beta 11 is out! (paul@paul-Precision-Worstation-T5500 #18 is the correct version for this)

http://www.multiupload.com/BCB5A491L7

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 11 - RELEASE CANDIDATE 2 (AKA maybe final) }

PM / Hibernate: Correct additional page calculation

arm: Allow CPU-supported unaligned accesses

ARM/MM: reduce memory footprint

partition_sched_domains: Do not destroy old sched domain on cpu_up

lockdep: print lock name for lockdep_init_error

init/main.c: execute lockdep_init as early as possible

cpufreq: ondemand gov tweaks

msm: audio: qdsp6v2: Close smd ports upon failure to open.

msm: audio: qdsp6v2: Reduce the pcm write timeout value

cpufreq: add ondemand two-phase scheduling

msm: cpufreq: Use INIT_COMPLETION instead of init_completion

cpufreq: add CPU sibling code to remember last cpu freq before unplug

msm: cpufreq: Create cpufreq workqueue for freq changes

{ 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:
Final? Why final? Giving up so soon? Let me try to crash this one. :p

I also mirrored your kernel in this post in case people have issues with MegaUpload or whatever.
[HTC Amaze 4G] faux123:
yeah.. I am about to give up.. the major reason is that we are 1 kernel version behind and I don't know what's been changed from original kernel source dump and the OTA :(

I am fairly convinced that Video codec has some serious leaks which would eventually lead to a blocked state due to out of memory errors and cause a kernel reset/reboot....

I did check against Amaze's video codec driver against CAF but again HTC has heavily customized their wares so the CAF patches don't do much for Amaze...

Aside from the above issues, I've pretty much tweaked and fixed all I can for the rest of the system.

My own phone is fairly stable (I don't have netflix) but I do watch bunch of videos over CIFS using BSPlayer.. and I have yet crashed my own phone... :rolleyes:
[HTC Amaze 4G] Binary100100:
So... that sucks. And HTC hasn't released the new kernel source?
[HTC Amaze 4G] MentalDeath:
AFAIK they have not but they claim to have released their kernel sources via htcdev on twitter
[HTC Amaze 4G] jjlean:
They are hampering development, but yet they are willing to provide unlocks to allow it. Ugh. Void our warranties willingly, but don't even give what is needed for development. Now that I think about it seems like a scam. -5 cool points for HTC. Rant over.
[HTC Amaze 4G] frodoboy:
Yeah they say that but only show version 1. They are saying there are some secret proprietary things that either they or the carrier may consider "confidential." What a load of crap! I can't believe they've given support and code for every other damn phone and then their flagship Amaze hits the market and then hits an iceberg!:mad:
[HTC Amaze 4G] chrischoi:
So HTC actually means Hide That Code!
[HTC Amaze 4G] garveygibbs:
Hidden wifi

Hey faux Ive been looking around but no answer...does the kernel affect the wifi ?

am not able to connect to hidden wifi networks
[HTC Amaze 4G] charlatan01:
Guys, where is the proper place to go to complain about this? HTC Dev site? I'd like to see if we can apply some pressure... if that hasn't already been done.
[HTC Amaze 4G] chrischoi:
Hidden? So you unhid them, connected, then hid them again and can't connect anymore? Is that what you mean? I did notice my WiFi does go to sleep or disconnects a lot. Take a couple seconds to fire back up. I'm not sure if it's the Kernel or the phone. Doesn't bother me much. Can you explain in a little more detail?

Facebook, Twitter, Call and Email. It's been done. Not seeing much progress on their end.
[HTC Amaze 4G] garveygibbs:
If am connected to a wifi network and then i hide the network the phone disconnects and will NEVER connect until I un-hide the network even if I add the ssid manually..and this wifi network and others I use needs to be hidden
[HTC Amaze 4G] MentalDeath:
Really? Pretty damn sure they can't do that because the kernel is under the GPL so they'd have to release the sources with whatever they've done to it. Unless they inject a tainted kernel the phone boots up.
[HTC Amaze 4G] faux123:
Yes, the kernel is responsible for WiFi, but we don't have the WiFi source, so there is noting we can do about it. With that being said, I can still connect to my hidden WiFi router at home.
[HTC Amaze 4G] faux123:
Kernel is gpl so HTC would eventually need to release the source. HTC is notorious for delivering kernel source weeks if not months after their kernel binaries.

The new ti WiFi is under apache, so they don't have to release anything and there is noting we can do about it :(
[HTC Amaze 4G] terahybrid:
get the terminal emulator then do this no need for su.

cp /proc/last_kmsg /sdcard2 this will dump to your sd card

or just get file expert then use it to copy it where ever you want, file is in your phone memory folder named proc

I dunno I been playing videos here still trying to crash mine

some here been using cifs and bsplayer, also netflix and letting it play movies from the default player, binary have you tried talking nice to your phone lol instead of POS stop rebooting :p

side note we should put pressure on htc they can make their tool to do s-off too or somethings that gives us the same freedom, it worked for the transformer prime bootloader, or maybe we need to wait for more owners to appear and then we can complain to htc together... well I can dream :o
[HTC Amaze 4G] frodoboy:
That's what I was talking about. There are some things they claim they don't have to make available to the public. That just sucks rotten eggs!
[HTC Amaze 4G] Binary100100:
Here's my daily crash Paul. :p

On my way home from work. Phone was on car dock and I was listening to music from phone to stereo by bluetooth when it crashed and looped.

I'm noticing a few of these little guys:

[11086.631821] [WLAN] Firmware successfully downloaded.

[11086.631973] [WLAN] FW download OK...

What's that all about?
[HTC Amaze 4G] charlatan01:
Crash loop while plugged in and resting.
[HTC Amaze 4G] MentalDeath:
So we definitely need more people to harass them in to releasing the kernel sources and wifi driver source
[HTC Amaze 4G] seansk:
have you guys tried using stock rom...I don't seem to have any of these problems...It hard to know how the rom and the kernel interact, when there are so many variables and the kernel is missing source code!!! I have not had any crashes or issues, as faux says it shouldn't be doing all this since this kernel is very close to the stock kernel, perhaps its the rom thats not playing well...faux and xboarder need to collaborate on bulletproof I think...just a thought, correct me if I'm wrong
[HTC Amaze 4G] heyjoe66:
Binary100100, have you tried to remove all scripts from init.d and any additional lines from init.post_boot.sh ?
[HTC Amaze 4G] gaww:
I think this might be a good idea (although they seem to be collaborating already), as faux has stayed on stock ROM and has no issues. I am on 2.1 and early .008 and also no issues.

This might get them both to a final kernel/ROM to use until (and if) HTC source for latest kernel (including WiFi - but hardly likely) is released.

This gets me to stupid question of the day. Since the newer HTC kernel has the propriety WiFi setup, why not focus development work on the older kernel, where I believe the source was released? Other than the newer WiFi, I don't remember exactly what other changes were made - and if they were significant enough to be worth struggling to get around the lack of source code for the newer kernel.
[HTC Amaze 4G] jjlean:
As far as I know he is focusing on where the source code was released.

Sent from fingers to your eyes ¦I
[HTC Amaze 4G] charlatan01:
I think I am going to try this. I have tried roms not built off of X's base with similar results... But not the stock ROM rooted.
[HTC Amaze 4G] frodoboy:
Maybe he is talking about those of us who downloaded the new radio OTA. That would have the new kernel code which faux doesn't have. Maybe going back to the original radio and stock ROM and then just customizing it and the original kernel would solve the problem. Oh, I haven't had my donuts yet so I could be all wrong! :D
[HTC Amaze 4G] chrischoi:
008b11, WiFi seems to sleep more actively than all the other betas. Just wanted to let you know. If that means anything to you.

Thanks.
[HTC Amaze 4G] faux123:
a new beta will be out soon.. I found a battery drain bug :( but I fixed it :D plus more battery saving patches added ;)
[HTC Amaze 4G] Totòòò:
seems bootloops when phone doing some heavy task.. View attachment last_kmsg.zip

Edit: wifi was off, so it cant be that the cause of the bootloops..
[HTC Amaze 4G] Binary100100:
xboarder isn't using init.d on his 2.3.1 Bulletproof. I don't see the folder and I'm pretty sure he said that he removed them to stop the crashes.
[HTC Amaze 4G] Binary100100:
this is the second crash I had with this day to be doing the same thing. the phone was on my car dock and I was listening to music on my stereo by bluetooth.

http://db.tt/dtkzkR8K
[HTC Amaze 4G] heyjoe66:
strange, but it did helped for me

maybe you could try to crush on my rom?

gonna upload new version tomorrow
[HTC Amaze 4G] faux123:
Amaze kernel 008 Beta 12 is out! (paul@ubuntu #27 is the correct version for this)

http://goo-inside.me/kernels/faux123/Amaze-EKF-008b12-sense.zip

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 12 - RELEASE CANDIDATE 3 (AKA maybe final for sure) }

Patched KGSL (GPU)

Fixed drain issues from Build 11

Patched MMC for better battery savings

{ build 11 - RELEASE CANDIDATE 2 (AKA maybe final) }

PM / Hibernate: Correct additional page calculation

arm: Allow CPU-supported unaligned accesses

ARM/MM: reduce memory footprint

partition_sched_domains: Do not destroy old sched domain on cpu_up

lockdep: print lock name for lockdep_init_error

init/main.c: execute lockdep_init as early as possible

cpufreq: ondemand gov tweaks

msm: audio: qdsp6v2: Close smd ports upon failure to open.

msm: audio: qdsp6v2: Reduce the pcm write timeout value

cpufreq: add ondemand two-phase scheduling

msm: cpufreq: Use INIT_COMPLETION instead of init_completion

cpufreq: add CPU sibling code to remember last cpu freq before unplug

msm: cpufreq: Create cpufreq workqueue for freq changes

{ 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] terahybrid:
thank you faux flashing right now:cool:
[HTC Amaze 4G] Binary100100:
Thanks for your persistence Faux. I'll get you that last_kmsg here soon enough. :p
[HTC Amaze 4G] Totòòò:
The latest beta scales up to 1350...tried both setcpu and systemtuner but same results...
[HTC Amaze 4G] frodoboy:
I still get up to 1728. Maybe you should reflash?? Couldn't hurt.
[HTC Amaze 4G] dj tray:
I look forward to faux kernel update and binary to find some way to crash his phone...
[HTC Amaze 4G] Binary100100:
I've been working on it. ;)
[HTC Amaze 4G] rbaruch:
With the final release version, will it be 100% stable with no random reboots or is that completely dependent on the ROM flashed?
[HTC Amaze 4G] Binary100100:
I'm pretty sure it's rom dependent. You can't promise that there won't be crashes or reboots if the rom is faulty.
[HTC Amaze 4G] :
I've already had a boot loop overnight with the newest kernel and the stock rooted ROM. Sorry, I too tired to fab the log at the time.
[HTC Amaze 4G] seansk:
can't seem to download b12 link is gone or something!
[HTC Amaze 4G] CalicoJeb:
Boot Loop Culprit?

I have read/followed almost all this Kernel thread, somewhere between pages 19 - 24 After the OTA it seems the boot loops started, and Faux mentioned the new radio May have something to do with it.

I delayed doing the OTA Radio update for that reason, I have tried a few of his Kernels on the following ROM'S - ARHD, Bulletproof and Fast Amaze, I have never had a boot loop (knock on wood :-)

Currently running Bulletproof 2.2.0, no overclocking, about 50 - 60 apps installed with no issues, still weary of doing the radio update, could that actually be the culprit?

BP V2.2.0

paul@ubuntu #16

Baseband 1.07550 - etc
[HTC Amaze 4G] gaww:
I also did not update the radio.

I had a few bootloops early on with one kernel, but none since. Still on 2.1.0 and very early .008 though, but OC to MAX and UV -37.5.
[HTC Amaze 4G] Totòòò:
It is not the radio. I also didnt update keeping the old radio and i used to bave bootloops. To me it is obvious is the kernel since there is almost never a bootloop when using stock kernel/custom rom but always is bootloops using custom kernel/whatever rom
[HTC Amaze 4G] macheteZen:
Link is still down. Does anyone have Beta 12 link available? much thanks faux! :D
[HTC Amaze 4G] dj tray:
http://dl.dropbox.com/u/24451950/Amaze-EKF-008b12-sense.zip

I hope faux wont mind
[HTC Amaze 4G] faux123:
Amaze kernel 008 Beta 13 is out! (paul@ubuntu #28 is the correct version for this)

See below for attachment!

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)

{ Lucky build 13 - RELEASE CANDIDATE 4 (AKA definitely final for sure) }

Disable CPU time statistics (this is the same as my Sensation kernel, a slow memory leak which leads to a kernel crash!)

{ build 12 - RELEASE CANDIDATE 3 (AKA maybe final for sure) }

Patched KGSL (GPU)

Fixed drain issues from Build 11

Patched MMC for better battery savings

{ build 11 - RELEASE CANDIDATE 2 (AKA maybe final) }

PM / Hibernate: Correct additional page calculation

arm: Allow CPU-supported unaligned accesses

ARM/MM: reduce memory footprint

partition_sched_domains: Do not destroy old sched domain on cpu_up

lockdep: print lock name for lockdep_init_error

init/main.c: execute lockdep_init as early as possible

cpufreq: ondemand gov tweaks

msm: audio: qdsp6v2: Close smd ports upon failure to open.

msm: audio: qdsp6v2: Reduce the pcm write timeout value

cpufreq: add ondemand two-phase scheduling

msm: cpufreq: Use INIT_COMPLETION instead of init_completion

cpufreq: add CPU sibling code to remember last cpu freq before unplug

msm: cpufreq: Create cpufreq workqueue for freq changes

{ 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] phanompin23:
Okay okay. Let's go again. Thanks Mr Faux for all your consistent hard work. Testing now on BulletProof v2.2.1 Reloaded..
[HTC Amaze 4G] frodoboy:
Binary, did you have any problems with Quicksense 3? It was extremely stable for me. I don't really have the issues everyone else seems to have but I also don't use my phone as much so maybe that is why I don't get reboots and FCs. Quicksense was the "bomb" for me (very fast, fluid and no crashes) and I may just go back to it to see how it compares with Bulletproof. I hope your bootloops stop. You've been really jinxed with that!

Edit: Sorry Faux. Wrong thread. Just wondering if Quicksense 3 would work with your latest kernel for Binary.
[HTC Amaze 4G] terahybrid:
quicksense 3.0.0 been very stable for me since beta 4
[HTC Amaze 4G] bmbrad:
Just had a reboot crash from playing angry birds

rom: BP2.3.1

basebrand: 1.08

Faux kernal 8b12

1.72-334 MHz

no UV
[HTC Amaze 4G] Binary100100:
I had a freeze (not crash for once).

http://db.tt/3EUPlqnc
[HTC Amaze 4G] SuperMiguel:
Tried to install version b11/b12 and b13 and i keep getting Installation update...

Installation aborted. Is that normal??

My kernel is paul@ubuntu #4 atm :(

cant seem to get it updated