yashsingh1/xdaforums huggingface dataset:
[Moto X Original Android Development] ss12108:
Let me start by saying I love this rom. I first flashed RC1 and loved it, but made sure to flash all subsequent updates that have been pushed OTA to make sure I was on 4.4.4.

One thing I notice is that anything after RC1 has an issue where in settings>about phone, my phone number shows up as "unknown". This seems to cause an issue with MMS in hangouts, where the option in settings for Group Messaging disappears. MMS sending and receiving is shoddy even with textra. Anyone know a fix for this? I've Googled the hell out of it, and changing the APNs doesn't do anything to help.

I'm currently on a Verizon Maxx running RC1 with the 6-08 gapps. I ran into this issue on RC2 and the subsequent beta/nightly builds that were pushed OTA, regardless of the gapps version. Tried going back to stock, then flashing fresh, thinking the Sim needed a reboot or something, but it didn't help.
[Moto X Original Android Development] ellcid:
It's bad cause I can not have my location working in battery save mode.

Enviado de meu Moto X usando Tapatalk
[Moto X Original Android Development] nlygamz:
Does it work on the XT-1052
[Moto X Original Android Development] electron.hTcpico:
Ya it works but beware of all the bugs in the ROM ...

Video camera doesn't work properly
[Moto X Original Android Development] 404 ERROR:
There's a new build through the PA OTA.
[Moto X Original Android Development] ellcid:
was the error about location in battery save mode fixed?
[Moto X Original Android Development] 404 ERROR:
Nah. Don't think so. I dirty flashed it on the unofficial though so I could be wrong. But as it stands, it's not fixed.
[Moto X Original Android Development] doobie711:
not sure if this is what you're talking about, but on the 07/08 build I had no gps locks. I copied the FusedLocation.apk from CM's latest nightly in /system/priv-app to /system/priv-app on PA and I started getting GPS locks again.
[Moto X Original Android Development] ellcid:
But it work for get location working on battery save mode?

Enviado de meu Moto X usando Tapatalk
[Moto X Original Android Development] KokoReyes:
No more Support?
[Moto X Original Android Development] Franxx:
Yeah, it's a pitty but there's no more support for this ROM. The Dev from the Legacy Project says that the device has too low downloads.
[Moto X Original Android Development] Marco Lomas:
So, no more pa and no more cyanogen? :(
[Moto X Original Android Development] doobie711:
I just built this last night https://docs.google.com/file/d/0B3Kv8-wueihjQVNUeU0wQ2FrY3M/edit?usp=docslist_api

And I'm trying to get developer access on afh so I can upload it there. This has the location reporting fix. Let me know if anything else is wonky and I can work on that too. I would like to keep pa for my moto x as long as humanly possible.
[Moto X Original Android Development] kjjjnob:
Thanks man.

Downloading.. Wait few minutes and tell you if all is working (Sorry for my english -.-)

EDIT:

All is working, will try location. It's posible get 4.5 alpha support? Is 4.44 based your build right?
[Moto X Original Android Development] KokoReyes:
nice, i miss PA on mi moto x, im gonna try this! great work bro :good:
[Moto X Original Android Development] flasherruts:
You da real MVP!
[Moto X Original Android Development] isaakmg:
Why don't support this rom XT1052? :(
[Moto X Original Android Development] Megatron007:
Is this PA updated to 4.4.4 beta 2 ?
[HTC Desire 500] dummie999:
The Ultimate kernel for the HTC Desire 500, both one sim and dual sim!

Software version 1.32/1.26 only! It probably won't work on earlier versions, but it might work on later versions (1.34), I haven't tested that.

Use at your own risk!

Features:

If you don't want to overclock your device, then simply choose the download link with no overclocking.

Requirements:

Installation instructions:

Downloads:

If your phone does not boot after installing an overclocked kernel, then try installing the not overclocked kernel.

Changelog:

Kernel source:

Credits:

[MENTION=4684315]flar2[/MENTION] for sweep2sleep

[MENTION=5132229]xpirt[/MENTION] for helping me with Smartass

[MENTION=5668475]GreatEmerald[/MENTION] for helping me with kernels in general ;)

[MENTION=3823757]eexter[/MENTION] for testing for 1.26

[MENTION=5664037]0lvin[/MENTION] for updating to 1.34

To the devs:

Feel free to include this kernel in your rom/rooting tool. Just give proper credits and put a link to this thread in your rom thread (Required for GPL).

XDA:DevDB Information

The Ultimate Kernel, Kernel for the HTC Desire 500

Contributors

dummie999, 0lvin

Kernel Special Features: dt2w | s2w | intelli_plug | fastcharge | oc | init.d

Version Information

Status: Stable

Created 2014-10-14

Last Updated 2014-10-14
[HTC Desire 500] dummie999:
Reserved
[HTC Desire 500] dummie999:
Upcoming features

* Intellidemand (implemented - needs tweaking)

* F2FS
[HTC Desire 500] dummie999:
Tips

How to change sleep/wake options:

How to use fastcharge:

To hard? Use this app by Ufonek: Kernel Settings

A word about governors:

Some governors lower the frequencies to fast. For example, when I play angry birds when using lulzactive, the phone laggs a lot. This is, however, not the fault of the kernel, but the fault of the way the governor is tweaked. It is the price you pay for the better battery life you have. If you want to do something about it, tweak your governor, there are a lot of tutorials about this.

Don't come here complaining the phone laggs, and that I should fix it, I won't, because I can't. Everyone has his own preferences, and if you can't live with this, then I recommend you use the ondemand governor.
[HTC Desire 500] dummie999:
Compilation instructions

Instructions for compiling the kernel yourself.

Prerequisites:

1. A linux computer

2. Basic bash knowledge

3. ~120 MB free space

4. The android-eabi toolchain:

git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6 for 4.6

(use darwin-x86 instead of linux-x86 for mac)

And then add it to your $PATH (You need to have the arm-eabi-4.6/bin folder in your path)

Instructions:

1. Download the kernel source

2. Open the cmdline and cd to the directory with all the files (Documentation, arch, block etc.)

3. type: make dummie_z4u_defconfig

4. type: make menuconfig

........A menu will open, and you can change some settings. If you want everything to be the way I built it, then skip this step.

5. type: make

The actual building will begin.

Troubleshoot:

If you run into a python problem, you might want to change, in android_kernel_htc_z4u/scripts/gcc-wrapper.py this:

"#! /usr/bin/env python" into "#! /usr/bin/env python2", credits [MENTION=5945407]svalo[/MENTION]

If the building succeeds, then you will find the file zImage in arch/arm/boot.

Next step: turn the zImage into a boot.img

1. Download imgtools, and add it to you $PATH

2. Download my boot.img

3. Open cmdline, cd to the directory containing boot.img and type: unpack boot.img

........You will end up with: ramdisk.cpio.gz, ramdisk and zImage (and the boot.img that was already there)

4. Replace the zImage with the zImage you build earlier (arch/arm/boot)

5. Rebuild the kernel:

repack_ramdisk ramdisk initramfs.cpio.gz
mkbootimg --kernel zImage --ramdisk initramfs.cpio.gz --base 0x3b00000 --cmdline 'no_console_suspend=1 console=null' -o new_boot.img

You will now see a file called new_boot.img, containing your own kernel, which you can install the very same way

Good luck:good:
[HTC Desire 500] GreatEmerald:
Note that -O3 does not work for the kernel, at all, and never has. You can set it but it won't do anything. The compiler will still use -O2, because all the parts where performance matters are written in assembly or through GCC-specific extensions already. There is nothing that automatic code optimisation would improve. Meanwhile -O3 enables non-safe options that can result in imprecise calculations, which can lead to disasters in things that are as important as the kernel. So you should disable that.
[HTC Desire 500] dummie999:
Then why do people use it?
[HTC Desire 500] GreatEmerald:
Placebo. It makes them think they're gaining something, even though in truth they aren't (but are not certain).
[HTC Desire 500] joe-khalil:
so i need to flash the boot image than flash the kangbang kernel????
[HTC Desire 500] dummie999:
No, you don't need to flash the kangbang kernel. This is a replacement of the kangbang kernel, for 1.32
[HTC Desire 500] joe-khalil:
Replacement?? That means if i flash the boot image i'll have the kernel installed?
[HTC Desire 500] MadaraOP:
Dual SIM doesn't have the 1.32 update, so i don't think this kernel would work on the dual sim version.
[HTC Desire 500] dummie999:
yes, lol
[HTC Desire 500] MobilePerson:
I have installed.. It works fine. Thanks !!!
[HTC Desire 500] eexter:
1.32 for Single SIM = 1.26 for Dual SIM (kernel is the same)
[HTC Desire 500] steso90:
Overclocking would be nice!
[HTC Desire 500] GreatEmerald:
And don't forget to add a link to your kernel sources, to prevent unfortunate things from happening to this thread :)
[HTC Desire 500] dummie999:
lol, I knew I had forgotten sth:p
[HTC Desire 500] moatazabououf:
any news about CM [MENTION=5753275]dummie999[/MENTION]
[HTC Desire 500] SpliFFdu95240:
HI,

I m french.My software is 1.20.401.3 ( no update ), can i install your kernel ?

Thanks, and sorry for my bad english
[HTC Desire 500] dummie999:
no.

Well, you can install it, but I have no idea if it will work. Install the kangbang kernel.

(If you have a backup of your original boot.img, then you can try)
[HTC Desire 500] dummie999:
Small update: added fastcharge

Download in OP
[HTC Desire 500] ufonek:
Overclocking will be available? Necessarily need to beat his father Lenovo A820 in AnTuTu. :laugh:
[HTC Desire 500] dummie999:
11,6k vs 13,4k

Gonna be difficult ;)

Will add overclock
[HTC Desire 500] ufonek:
nothing is impossible :cool:
[HTC Desire 500] joe-khalil:
oh wait everything worked fine! 10x alot!!!!!

1-one dumb question:

are these in that boot image?? if they are where can i find them?

sweep2sleep

SmartassV2 and Lulzactive

Fastcharge

2- i have in my rom an app called "shoeboxengine" but i can't access it. does someone know what is it?
[HTC Desire 500] dummie999:
1-Use kernel tuner/trickster mod (search in playstore)

sweep2sleep works right away

2- idk
[HTC Desire 500] joe-khalil:
How does sweep2sleep works? And whats idk? Is it ok to uninstall it?
[HTC Desire 500] dummie999:
Learn to google :), it's the first hit

idk means I don't know. It's probably *not* safe to uninstall it. It probably does sth (sth means something)
[HTC Desire 500] joe-khalil:
Hahaha niceeeeeee! If u can make the doubletap2wake that woukd be awesome!!! And about the shoebox i won't uninstall it i'll search more if i don't find anything i'll back up my rom and uninstall it then i'll let u know what happened!
[HTC Desire 500] joe-khalil:
question

can u teach me how to build a custom kernel? so i can help i bit in the development!

oh and my phone is overheating when i play games.. any advise?
[HTC Desire 500] dummie999:
Check the 3rd post in the thread. But you have to be on linux

Overheating? like you phone is hot, or do you get a warning/error message saying your phone is overheated?

The phone is not overclocked, so, it should not get hotter than with stock kernel
[HTC Desire 500] joe-khalil:
i'm running windows 7 !!! and my phone heats up ( in games or if i'm using it for browsing and apps) and when i put it in the charge it won't charge i have to cool it down then put it in the charger! and i'm using the boot6 image!
[HTC Desire 500] dummie999:
Well, then you will have to change os.

Can you get me a logcat/dmesg? Does enabling/disabling fastcharge help?
[HTC Desire 500] joe-khalil:
No it was before the fastcharge but right now with or without it when i'm in games the phone heatsapp really quickly!

And what's logcat/dmesg???
[HTC Desire 500] dummie999:
google it.
[HTC Desire 500] SkyrimBee:
Thanks for your work! Hope to see CM on our Desire 500...
[HTC Desire 500] joe-khalil:
http://xdaforums.com/showthread.php?t=2597314

there's your cm

---------- Post added at 01:01 PM ---------- Previous post was at 12:57 PM ----------

http://www.linuxmint.com/download.php:highfive:

what linux should i download??? i got 64-bit! and there's i lot about logcat on the internet i got confused :p:p:p:p:p:p:p
[HTC Desire 500] SkyrimBee:
You're joking. :D
[HTC Desire 500] dummie999:
logcat

Choose whatever you like, you can take Cinnamon, or debian Cinnamon
[HTC Desire 500] joe-khalil:
i can't manage to download any of it! it gives me smoe lists! help!
[HTC Desire 500] dummie999:
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6

This is what you tried ^?

Try

sudo apt-get install git

if git isn't installed
[HTC Desire 500] joe-khalil:
oh! i have to have linux then i could download it write? i downloaded linux now i'll duel boot my pc and i'll try to download it using the linux!:p:p:p
[HTC Desire 500] joe-khalil:
ok 10x for the instructions!!!!!

now one question in this code : "repack_ramdisk ramdisk initramfs.cpio.gz

mkbootimg --kernel zImage --ramdisk initramfs.cpio.gz --base 0x3b00000 --cmdline 'no_console_suspend=1 console=null' -o new_boot.img""

is there a space between "cpio.gz" and "mkbootimg" ???? or i just press enter and continue???
[HTC Desire 500] dummie999:
Two different commands:

1. repack_ramdisk ramdisk initramfs.cpio.gz

2. mkbootimg etc etc
[HTC Desire 500] lelemito95:
when I shake the phone is unlocked, and that's annoying, because while it is in my pocket unlocks
[HTC Desire 500] ufonek:
My phone freezes when setting 1400MHz frequency. I guess it can not handle :(
[HTC Desire 500] dummie999:
Mine was able to do stability test runs, so, yes, I think it (yours) cannot handle. https://play.google.com/store/apps/details?id=com.into.stability
[HTC Desire 500] vangelis0:
with boot7_oc.img my phone can't boot.. it hang on logo screen with red letters...
[HTC Desire 500] eexter:
Since I flashed boot7_not_oc I have many lags (even when I'm typing sms on native keyboard) and I've noticed one system freeze (only solution was pulling off the battery). I'm back to boot_beta7.
[HTC Desire 500] vangelis0:
i notice lag me too.. but no freeze. a little lag sometimes only.. i keep it to try it more..
[HTC Desire 500] ufonek:
Each piece is original. The test not letting :)
[HTC Desire 500] vampir74:
Lag here to with boot7 no oc.

With oc stop on boot.
[HTC Desire 500] lelemito95:
with version 7 no oc phone have lag, stops for about 3-4 seconds
[HTC Desire 500] Fliwatt:
Could you please remove doubletap2wake, the pocket detection is not working properly and my phone is doing random things in my pocket.
[HTC Desire 500] vangelis0:
you can disable any of this (doubletap2wake, pocket detection etc) from sys/android_touch. just find the file you want, edit it and put 0..
[HTC Desire 500] ufonek:
[MENTION=5753275]dummie999[/MENTION] Add instructions to the thread. Everyone to have to ask.:laugh:
[HTC Desire 500] dummie999:
Yes, will do that later on, currently no time.
[HTC Desire 500] lelemito95:
when I connect the phone to the pc I do not see all the folders in sd
[HTC Desire 500] dummie999:
How do mean not *all* the folders? You see some of them?
[HTC Desire 500] lelemito95:
I do not see the folders: Music, DCIM, and all other related apps that I saw before ...
[HTC Desire 500] dummie999:
You are looking at your phones internal storage, not at your sdcard :banghead:

Done!
[HTC Desire 500] vangelis0:
i use boot 7 no oc a week now .. phone make too much lag many times..

i install beta7 and it's ok so far..
[HTC Desire 500] dummie999:
I just saw I made a stupid mistake, causing ondemand governor to lagg a lot!

Sorry for that.

Use trickster mod to choose a different governor, and it will be fine.

Sorry for this mistake, but I only use lulzactive, so I didn't notice. Fixed version will come later on.
[HTC Desire 500] vangelis0:
i use it with v2 smartass
[HTC Desire 500] dummie999:
But then you just have to tweak your governor. Use kernel tuner *root* for that
[HTC Desire 500] joe-khalil:
I'm using it with smartassv2 and it's working fine! Except when u double.tap the home button to open all the list of apps and u want to swipe up to remove them! And when u swipe up it lags for like 1 or 2 seconds! Nothing much!

Question: when i turn the intelli-plug on! Should i turn off the mp-decision?? Or leave both on???

Question 2: wich one is better ? Lulzactive or smartassv2 or on demand? Cz i putted the minimum speed 19mhz and 1.2! So whats the diffrence between all three?
[HTC Desire 500] dummie999:
This is all about personal opinion. If you would have said something like this in a nexus forum you would have started a thermonuclear war. :p

Personally, I like lulzactive best, but a s**t lot of info can be found here: http://xdaforums.com/showthread.php?t=1767797 and the tweaks here: http://xdaforums.com/galaxy-s2/general/ref-kernel-governors-modules-o-t1369817
[HTC Desire 500] blackviory:
thank you for your works

but if a strange day i would come back to original kernel?
[HTC Desire 500] Fliwatt:
The lulzactive governor does not seem to work correctly for me. My phone always goes in some sort of deep sleep when my screen turns off. It needs two minutes to turn on the screen again after that. The red light also stays after the charger has been unplugged. I am using the latest version of the kernel, not overclocked. But smartass v2 works perfectly fine.
[HTC Desire 500] dummie999:
I'm not sure, but this might be the fault of 19 mhz&lulzactive combi. Try setting lowest freq to 245 and governor to lulzactive, and check if you still have problems.
[HTC Desire 500] Fliwatt:
This did not fix the issue, btw I am using trickster mod
[HTC Desire 500] KickaZz123:
I had the laggs too with boot7_no_oc i will be back at boot7_beta from the ultimate guide, because the laggs are not in this version. But there is a boot bug. You must restart the phone 3 times before it will boot. But pocket detection swap2weep and all the nice stuff work fine. Don`t boot your phone too much :cyclops:
[HTC Desire 500] KickaZz123:
I found the problem! Don`t use 19 Mhz undervolting with the boot7_no_oc Kernel. I had massive laggs with Luizactive when i hear music and the screen was off. Teribble!! sometimes the phone hang so much that i had to pull out the battery.

My daily profil now all works fine, Viper4android etc.

Only record movies in Full-HD laggs. for that u have min to pump up max frequenz to 1200 Mhz

I Locked the frequenz to 245 Mhz min and 480 Mhz Max.

Luizactive:

dec_cpu_load 45

down_sample_time 40000

inc_cpu_load 80

pump_down_step 5

Pump_up_step 2

screen_off_min_step 6

up_sample_time 40000

the Interface is full render from GPU (delete libGLES_android in system/lib/egl) and the Gpu Clock is lock by 245 Mhz

i will see how fast drain the battery, maybe i will try to render the UI only with CPU and will see drain the battery. I don`t know. If you full render UI with GPU battery drain will be 15% faster. But don`t know when all render the CPU with battery drain.
[HTC Desire 500] Artem4eg:
7 version is not work on my d500 single sim.

i have not rooted rom 1.32.401.1; bootloader - unlocked; s-on

i flashing this kernel with adb and erasing cache and dalvik cache, but my device freezes on htc-logo screen
[HTC Desire 500] dummie999:
read the op.

Install the no oc kernel
[HTC Desire 500] Artem4eg:
after install SU my device is work

sorry with my bad english
[HTC Desire 500] dummie999:
Installing su fixed it??

Glad it works!
[HTC Desire 500] tom_zak:
After flashing I have still S-ON. Why?
[HTC Desire 500] ufonek:
Because it has nothing to do with it.
[HTC Desire 500] vladsk8:
I'm using beta7_no_oc and is working brilliantly with min 245mhz smartass2. but i'd like to disable tap2wake and sweep2wake as pocket detection does not work for me :) however, rewriting their config files ( 0 instead of 1 ) is not kept after a reboot.

Is there a solution to this or what kernel version should I flash that does not have those mods and is stable for daily use? Thanks!
[HTC Desire 500] joe-khalil:
Install trickster mod and disable them from there!

Just open the ap u can play with speed frequences! And there's an option called "screen wake control" out the values on 0! And ur done! But u have to go to the option and tick the apply on boot option too so it can work directly on boot! And don't put 19mhz as min with any govenor it will mess up your phone!
[HTC Desire 500] Fliwatt:
Doubletap2wake and sweep2wake are not working with the smartassv2 governor
[HTC Desire 500] dummie999:
:confused:

Not working? wake options have nothing to do with governors, there must sth else.

The wake options simulate pressing the powerbutton for 20 ms, and then releasing it again.
[HTC Desire 500] Fliwatt:
I justed messed around a little bit and found out that sweep2wake works, but only very delayed. doupletap2wake only works when you tap really often, but it works like a charm with the ondemand governor. I did not try lulzactive because it is really buggy for me.
[HTC Desire 500] dummie999:
Try this boot.img: https://www.dropbox.com/s/oqxjutk9ef94398/boot_fliwatt.img

And see if it fixes.
[HTC Desire 500] 007gamer:
- can be deleted
[HTC Desire 500] dummie999:
Well, more important:

But it's only vodafone uk atm. The last time I took Eu/international, perhaps wait for that.

Check my rooting thread in general for how to turn it into a cwm flashable zip.
[HTC Desire 500] 007gamer:
Hi,this update is the eu version.

Check your PMs :)

Greets
[HTC Desire 500] xkons:
I just wanted to put this script in /system/etc/init.d but there is no such file :confused: what to do?

#!/bin/sh

echo "0" > /sys/android_touch/sweep2sleep

echo "0" > /sys/android_touch/sweep2wake

echo "3" > /sys/android_touch/doubletap2wake

Also, can I set sweep2sleep for the lower half of the screen only?

Thanks a lot!
[HTC Desire 500] dummie999:
lol sweep2sleep only works on the lowest 80 pixels or so.

You have to create those files yourself: init.d and the script
[HTC Desire 500] joe-khalil:
I just received a weard notification on my phone!! System update 1.34!!! Wtf the hell did that happened??? I mean the phone is rooted and i earased lots of system apps from the phone! So can i update the phone normally??? Or what?
[HTC Desire 500] dummie999:
No, you can not update normally. Go to my thread in general (the how-to thread), it contains a part about installing ota's
[HTC Desire 500] joe-khalil:
U know it's not thay big deal... So i'll stick to this version that i have and i'll remove the software update from my apps :p hopefully this will remove the anoying notification and reminder :p

But for now do u have a working method on how to change the boot animation? And how to customize the screen lock animation?? Cz none of the xposed apps are working.

And i got to google and turned out that the htc one sv has the same exact battery! But thus info i got it from google! So if its true we can get an extend battery more than 2000mAh!! And thats like super battery life!! Can someone verify if it true?
[HTC Desire 500] Gigii1:
Can i unlock the sim with this kernel ?
[HTC Desire 500] dummie999:
Ask ufonek. About the rest, well, we now have forums for this;)

Check my rooting thread in general for a tutorial on sim unlocking
[HTC Desire 500] joe-khalil:
Who is ufonek??? :p
[HTC Desire 500] dummie999:
Lol just mention him (@ ufonek without the space)
[HTC Desire 500] ufonek:
:laugh:
[HTC Desire 500] dummie999:
/\

.|

.|

This is ufonek
[HTC Desire 500] joe-khalil:
Hahahhahahahahahaa okey!!!!!
[HTC Desire 500] SpliFFdu95240:
This kernel is ready to use with 1.34.401.1 ?
[HTC Desire 500] CJ Grass:
Best kernel ever!

Can You add voice rec option? And can we expect version8 with lag fix?

Wysłane z mojego domofonu za pomocą głowy i mowy.
[HTC Desire 500] dummie999:
I haven't tested it myself, but people said it is ready to use.

I can't get it working.

Yes.
[HTC Desire 500] Wizard21:
Yes, boot7 NO OC, work...
[HTC Desire 500] Nidhoegger:
Could you have a look into this: http://xdaforums.com/showthread.php?t=2795347&page=23

Your help will be much appreciated.

Thanks in advance