yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] ahilliard:
I used the latest 4ext to format system, data, cache, dalvik, and install the alpha 5 from zip, followed by the recommended Cyanogenmod11 GApps.

However Google wouldn't sync my account at first, and Hangouts complaines "Google Play services, which some of your applications rely on, is not supported by your device". App Settings reports that Google Play Services 4.0.33 (910055-30) is installed. Google Play Services has 6 services running - PeopleRequestProcess, GcmService, GoogleLocationManager, GoogleLocationService, NlpLocationReceiver, and BackupEnabler. Their timers are all running nonstop in the "Apps>Running" menu.

After clearing data for Google Services Framework and rebooting (and clearing cache/dalvik), I removed and re-added my account. Now Gmail will sync, my contacts sync.

I tried installing Google Play Store from a downloaded .apk, which worked. Unfortunately I still can't use Play Store to install apps (crashes) nor the web Play store page (says 'installed' but won't actually install).

So there's still a permanent notification that "Google Hangouts requires an update to Google Play Services".

I'm not allowed to force stop, disable, or do anything to Google Play Services from the Apps>All Apps" menu.

:confused:
[G2 and Desire Z Android Development] demkantor:
Double check you have the appropriate gapps and that the md5sum matches

I would recommend a fresh download of both the ROM and gapps, do a full wipe and flash, seems you have a gapps issue
[G2 and Desire Z Android Development] ahilliard:
Doublechecked that the gapps zip md5 sum is ea0894b45481c4f56e7ea43a650150c9. Doubleckecked I had flinny's alpha5 - vision zip with md5 starting with b740188e6...

Rebooted in 4Ext recovery Touch 1.0.0.6 RC1

Wiped/formatted /data (including .android-secure), /cache, /dalvik-cache

Installed cm-11-20140321-UNOFFICIAL-vision-flinny-alpha5.zip

Installed gapps-kk-20140105-signed.zip

Rebooted

Did not turn on USB storage

Logged into my Cyanogen account (why not)

Went to Settings > Add Account > Google > Existing

Agreed to Google TOS, waited "a few minutes" for signin.

Agreed to "Backup and restore"

Started Google Hangouts, and "Google Play Services, which some of your applications rely on, is not supported by your device."
[G2 and Desire Z Android Development] ttamirt:
alpha5 runs smooth, way better than any other KK roms out there. but still like any other flinny roms, my wifi doesn't work.
[G2 and Desire Z Android Development] Flinny:
Hmm other ROMs WiFi works? I put a kernel patch in the build that overrode some country code issue that I thought might fix it for a few people...
[G2 and Desire Z Android Development] ttamirt:
Some other JB ROMs WiFi works (for example: http://xdaforums.com/showthread.php?t=2111373), but WiFi doesn't work on any KK ROMs. fyi, I'm in Mongolia and my DD is CM7.
[G2 and Desire Z Android Development] yukito1989:
alpha 3: when use MX Player with some function (next, exit,...) => reset device. Some app like that.

alpha 4: Wifi not work.

alpha 5: MX Player and Wfi work, but slow and when i open game Brave Frontier into opening (new install) or end battle (titanium backup restore) => app close.

Sorry, but i don't know how to use logcat.
[G2 and Desire Z Android Development] Kéno40:
Just install this

and launch recording from the widget.

then do your stuff and stop recording when it's done.
[G2 and Desire Z Android Development] nvlty:
Whatsapp and Alpha 5

Hey,

I just flashed the rom 15 minutes ago and after some of the "first install" issues (it asked me for my google account infinite times) everything seems to run quite smoothly. No wifi problems so far (after a couple of reboots and on/off switches).

Anyway I'm not finding Whatsapp in Play store and the web page gives me the message "This app is incompatible with your device. Offers in-app purchases". Anybody else experiencing this? Though I was able to download the apk from their website and it seems to work fine.

Edit:

Just to share some more of my experience. Browser is really slow and pretty much unusable on some sites. Phone reboots itself ocassionally and lags quite a bit some times. for example just now after a phone call my phone freezed and then rebooted itself.

I'm also having crashes of android.process.x. at least system and media.
[G2 and Desire Z Android Development] diamonds-forum:
Alpha 3 is better than Alpha 5

I tested Alpha5 and it was very slow. Alpha3 has less settings, but is faster.
[G2 and Desire Z Android Development] Flinny:
Apart from some kernel fixes the majority of changes have been syncs with cm.....
[G2 and Desire Z Android Development] Erikson89:
I also noticed a major slow down from alpha 3 to 5. I have to restart often.
[G2 and Desire Z Android Development] Moe92:
Flinny, on cyankat, WiFi work alike a charm. Maybe you can use the WiFi libs and such from his rom?
[G2 and Desire Z Android Development] paulb_nl:
This solved the voip crash for us: https://github.com/Mustaavalkosta/android_device_htc_msm7x30-common/commit/eb2ed24f4387d176ae4b05bfe9bdb43398340dd0
[G2 and Desire Z Android Development] utx:
This is probably a WhatsApp issue. Worked around by faking a different model with Market Helper app.
[G2 and Desire Z Android Development] utx:
Tuning the OOM killer

I was just thinking about a source of the lags, and got an idea:

The memory reported as free in the application manager is not a real free memory of the underlying Linux OS. It is just a memory, that can be freed instantly by Android. Looking at the real free memory (command free in terminal), real free memory is very low, often only 2 to 3 MB. Real freeing often happens by OOM killer, when the OS goes completely out of memory. The virtual machine lets the OS occupy nearly all memory, protecting only a very small amount of memory: 1199kB in the current setup. When the OS is in a memory press, application has to wait for freeing memory by OOM killer. It often asks for more, and again has to wait. So the start of an application that needs say 24MB may need to fire OOM killer 20 times! It is very easily possible, that one of these OOM killer runs kill some tasks, that the application will need later. Soft loop appears.

So, what I tried to do: Increase the minimal free memory amount

I just tried 4799 instead of 2399, and it seems to improve lags a lot. Also 11999 improves lags a lot, but it may keep too much memory unused. (By the way, setting it even higher, e. g. to 50MB is bad, as the boot process may never end.)

The only application which still lags significantly is the Google Maps and especially its Navigation.

How to set it up:

adb shell "echo 4799 >/proc/sys/vm/min_free_kbytes"

Note: The value set in this way is reset after reboot back to 2399. But it is good for collecting experiences.

Can anybody with alpha 3 and 4 check the Virtual memory engine and OOM killer setup?

adb shell 'cd /proc/sys/vm ; for FILE in * ; do if test -r $FILE ; then echo -n $FILE= ; cat $FILE ; fi ; done'

Here is the output in the alpha 5:

block_dump=0
dirty_background_bytes=0
dirty_background_ratio=5
dirty_bytes=0
dirty_expire_centisecs=200
dirty_ratio=20
dirty_writeback_centisecs=500
drop_caches=0
extfrag_threshold=500
extra_free_kbytes=4500
laptop_mode=0
lowmem_reserve_ratio=32
max_map_count=65530
min_free_kbytes=2399
min_free_order_shift=4
mmap_min_addr=32768
nr_pdflush_threads=0
oom_dump_tasks=1
oom_kill_allocating_task=0
overcommit_memory=1
overcommit_ratio=50
page-cluster=3
panic_on_oom=0
percpu_pagelist_fraction=0
scan_unevictable_pages=0
swappiness=60
vfs_cache_pressure=100

---------- Post added at 06:54 PM ---------- Previous post was at 06:37 PM ----------

Confirming the fix. I just placed /system/lib/hw/audio_policy.msm7x30.so back and edited /system/etc/audio_policy.conf adding referenced lines, and I can make VoIP calls again.
[G2 and Desire Z Android Development] Bonusbartus:
block_dump=0
dirty_background_bytes=0
dirty_background_ratio=5
dirty_bytes=0
dirty_expire_centisecs=200
dirty_ratio=20
dirty_writeback_centisecs=500
drop_caches=0
extfrag_threshold=500
laptop_mode=0
lowmem_reserve_ratio=32
max_map_count=65530
min_free_kbytes=2399
min_free_order_shift=4
mmap_min_addr=32768
nr_pdflush_threads=0
oom_dump_tasks=1
oom_kill_allocating_task=0
overcommit_memory=1
overcommit_ratio=50
page-cluster=3
panic_on_oom=0
percpu_pagelist_fraction=0
scan_unevictable_pages=0
swappiness=60
vfs_cache_pressure=100

this is the output on my Alpha 3 setup :)

(note the missing: extra_free_kbytes=4500)
[G2 and Desire Z Android Development] bradley_e_smith:
GPS stops working on alpha 5

My biggest issue is that when I need to use the GPS (like with nike+, maps) it appears to not lock into the SATS. I am usually not close to my computer to get a trace, but was wonder if others see this (or is it just me).

Also a reboot fixes it (sometimes, other times it takes 2 or 3 reboots).

thanks
[G2 and Desire Z Android Development] brainless00:
sounds interesting, I will try it later...

I have the same problem with Google Maps and GPS...
[G2 and Desire Z Android Development] nebu_06:
Hello!

At last, I can post here!! This 10 post limitation is really a shore, I was reading you guys a lot without the possibility of participating, very frustrating!

I have installed the alpha 5 after full wipe (except the SD Card), after upgrading the recovery to 4ext and the Hboot to the DZ one. By the way, I think it would be useful to include a small step by step process including recovery and Hboot upgrade for non serial rom flasher like myself (I was coming from CM10.2 with CWM and G2 Hboot). I will make a proposition since I have done the research and everything worked as expected.

Before installing the alpha 5, I did a quick test of the alpha 3, and it was working smooth enought, but not a lot more than the JB CM10.2, but I had the wifi bug and it is a deal breaker for me :). The alpha 5 clearly improved the wifi situation a lot! While on the alpha 3 the wifi dropped only after a few minutes after every reboot, it dropped on the alpha 5 only one time, and of course the reboot fixed the issue. But unfortunately the Alpha 5 is really very very slow, to the point of being unusable on my phone.

I ran the command in the terminal on my phone, the min_free_kbytes value was set at 2399 on my alpha 5 rom, not 1500. I changed it to 4799, but I honestly did not observed any improvement.
[G2 and Desire Z Android Development] utx:
OOPS, sorry. My default value is 2399 as well. The value 1199 was a result of my experiments. I just fixed my post to show the correct default.

Looking at my work computer with 8GB RAM, it has this value set to 67584. It is about 0.83% of RAM. The default on alpha 5 is 0.69% (from a way lower amount of RAM).
[G2 and Desire Z Android Development] magikstar:
tested alpha 5 and can't manage read/write contacts on sim card
[G2 and Desire Z Android Development] nebu_06:
I managed to improve a lot the smoothness by doing the following:

- run the lagfix app (fstrim -v command for /cache and /data partitions) : https://play.google.com/store/apps/details?id=com.grilledmonkey.lagfix . I guess you could also run the command in the terminal without downloading this app

- run the seeder app (https://play.google.com/store/apps/details?id=com.lcis.seeder)

- limit the number of running app in the background to 2 (I don't how many is the default value) in the settings->developer options

Now the phone is almost usable :), It is still laggy sometime, in particular when I want to rotate the screen (it can take like 5 to 10 seconds), and when I want to go to the home screen (again, 5 to 15 seconds). But apps are now starting much faster. Before, the phone was so slow that when some apps were asking for root access, the su app took like a minute to launch, and most of the time, the app could not get the root access because of some timeout I guess.
[G2 and Desire Z Android Development] KeepTriin:
I had to revert to alpha3 but thanks to all those providing support/hints/tips/improvements for this ROM.

Has anyone else experienced issues with the microphone mute not working? When in a call, if you're on mute, people can still hear you.

I don't know how long this problem has been going on for as I was told by a colleague earlier.

I'll have to test if it's ROM specific by flashing something else and see if the problem is resolved, but wondered for now if anyone else has seen this and/or knows if there's a fix.

Thanks
[G2 and Desire Z Android Development] arunal_123:
Hi.... All I have to say about your problem is that, try using a different sim card. It might be your sim card problem. As I have noticed that in other roms too you are facing this problem. Whereas no one else is facing that. So, can you try with some other sim card, probably some other network sim.

Thanks...
[G2 and Desire Z Android Development] magikstar:
i have tried other sim card and it's the same,i'm using french sin card

it work with coolos rom but not with other rom,it seems it doesn't work with all CM custom rom based
[G2 and Desire Z Android Development] utx:
Well, and alpha 3 can't delete SMS on SIM. Alpha 4 can. Not tested on alpha 5 yet.
[G2 and Desire Z Android Development] Erikson89:
Hi,

I reverted https://github.com/Andromadus/andro...mmit/ad0fa1264b5095ac0dda7646c925d215540432ba, did a "repo sync"

and merged latest android_framework_base from Cyanogenmod.

Then added voip fix. https://github.com/Mustaavalkosta/a...mmit/eb2ed24f4387d176ae4b05bfe9bdb43398340dd0

Slowness seems to be gone. More testing is following.

Erikson

Edit: Here the link to the build. As always no guarantee ;): https://drive.google.com/file/d/0B3RlG103L_HdWVI5OTdnTDRoZmc/edit?usp=sharing
[G2 and Desire Z Android Development] Kéno40:
Good work !

Could you provide us a zip file to try it?

And could you just test Waze app which crashed on alpha 4 and 5.
[G2 and Desire Z Android Development] Erikson89:
Link is in post above. Couldn't test Waze. Doesn't have it and I was too lazy to install it.
[G2 and Desire Z Android Development] thebogmonster:
Status 7 error

Hi guys,

has anybody else been getting status 7 errors on install or is it a simple case of using the latest cwm?

Sorry for the bone question, been a while since I had to flash anything on a DZ.
[G2 and Desire Z Android Development] Kéno40:
use 4Ext recovery or this : http://xdaforums.com/showthread.php?t=2561226 (or a more recent one...)
[G2 and Desire Z Android Development] jacakk:
Can I install it over alpha5?
[G2 and Desire Z Android Development] Kéno40:
As there are just littles changes, I'd say yes.

But you can do a back-up to be sure !
[G2 and Desire Z Android Development] Erikson89:
I would never install over another build in teststage. It is not so small as expected: new commits to framework_base in a period of 12 days and sync of all other repos.

And if it doesn't work the first question is: Clean install or not?
[G2 and Desire Z Android Development] thebogmonster:
What's the latest 4ext these days? can't use the updater since I'm on a recovery only phone at the minte and the posted CWM 6.0.4.5 will only flash a build via sideload , not recognising a known good SDCARD.

Any direct links to the lastest 4ext recovery image anywhere?

Thanks for the help btw.
[G2 and Desire Z Android Development] Kéno40:
Don't know if 4ext can be installed without 4ext app.

I'm on 4EXT recovery touch V1.0.0.6 RC1 (31 dec. 2013).
[G2 and Desire Z Android Development] demkantor:
If you have the .img you can flash it from fastboot, otherwise you need to purchase the app from the play store to download or go to the developers website
[G2 and Desire Z Android Development] thebogmonster:
Thanks guys, all sorted now.

Pleasantly surprised by the old DZ running 4.4.2 - not bad at all for an alpha build!

:D
[G2 and Desire Z Android Development] Kéno40:
Hi,

Thanks for this.

On my phone, no bugs at all using this, but it's still laggy compared to Alpha 3.

It can be used letting 2 apps in background, with Lagfree and seeder.

I'll try this base with the last HTCdreamOn's kernel.
[G2 and Desire Z Android Development] KeepTriin:
No bugs at all? Am I really the only one who's microphone mute option doesn't work in a call? :( This is true for me in both alpha3 and alpha5. (In Jelly Bean it's fine, so not a phone issue that I can determine) I can't see anything in logs and as a newbie, I'm not sure how to start debugging this. Can anyone help out with any advice? (pointers to other articles in the forum for debugging etc)

Thanks
[G2 and Desire Z Android Development] Kéno40:
I didn't try it...

I will see

edit : you're right. There's a bug!

Mute during call does't work.

When putting speaker + mute, it works.

Then unmute doesn't work.

After that, he's lost :)
[G2 and Desire Z Android Development] proletentoaster:
i also notice problems when switching from bt headset to phone speaker, the other side cannot hear me...

the performance is not really good with alpha5, even with the other kernel. i cannot start firefox to browse web sites, when i'm listening to music and pressing the volume buttons (or the bt headset buttons) the fwd/rwd commands need minutes to execute... :/
[G2 and Desire Z Android Development] sharptv:
Wonder how's flinny doing with his wedding. I am really looking forward to an update.
[G2 and Desire Z Android Development] teh_gab:
Hello,

I just flashed CM 10.1 Build 22 on my Desire Z and now my Wi-Fi and BT are not working. Is there a fix for this or will I have to switch to another build?
[G2 and Desire Z Android Development] ttamirt:
Try choosing a region code, in Wifi settings > Advanced, before turning on wifi.
[G2 and Desire Z Android Development] teh_gab:
I had the correct region code selected. Just flashed the latest stable CM7 ROM but my wi-fi is still not working, it's probably my phone...

EDIT: Okay, this is real BS. I just went out and in a restaurant my wi-fi suddenly worked, it at least noticed some networks. So I was really happy, but I'm home now and WOW it doesn't work anymore. W.T.F.
[G2 and Desire Z Android Development] davidshen84:
Thanks! I have used this ROM for a while, and it works well. But I just noticed that it seems the OTG cable does not work on this ROM. Can you please take a look at this?
[G2 and Desire Z Android Development] demkantor:
Has otg ever worked on the vision?
[G2 and Desire Z Android Development] BIade:
OTG gets identified as "Cardock" in most GB-Roms. (Android 2.3.x)
[G2 and Desire Z Android Development] riahc3:
AFAIK, no.
[G2 and Desire Z Android Development] Mince69Meat:
ill personally mark this development as dead as development is either ex-steamily slow or has stopped.

thanks for the work u have do to date shame its not been stable enough for general use without causing frustration as imho it was almost there......

thanks a gain to all involved u kept our old but still very great hardware quality when u compare it the very n I mean very cheap hardware inside the SG5 , when I seen cm11 for my old thc Z I sold the SG5 so I could use a real phone again lol

good luck guys n have fun
[G2 and Desire Z Android Development] la.ouiche:
Keep faith man, maybe all is not dead !
[G2 and Desire Z Android Development] XCT:
He is preparing for his wedding, just give him some time.(His wedding is in july)

This is not a job, it's a hobby.

When he finds free time he will work on it.

Sorry for off topic.
[G2 and Desire Z Android Development] Careless_:
with what reasoning do you believe that you are the one who makes the call on whether it's over or not?

even if it is, it's not for you to announce.
[G2 and Desire Z Android Development] sharptv:
Flinny is still probably on this honeymoon, give him some time.

Don't complain about things you didn't pay for.
[G2 and Desire Z Android Development] frippi:
Or better yet, pay for it and then complain :)
[G2 and Desire Z Android Development] riahc3:
Strange thing is that he was connected here on XDA today...Might be working on other projects.
[G2 and Desire Z Android Development] Flinny:
No not married yet.... but silly busy with planning and other things :)

M7,M8 are taking more time at the moment but work is hopefully starting to slow down again now so we shall see how things go.

Anyway I have been playing a bit and did a build over the last day or so with some changes I had locally and a few more bits and pieces/synced with cm11.

I'll not even give it a build number but here's a link to it if you're feeling brave and want to see if anything's been improved/fixed :)

http://d-h.st/MKp

Nick.
[G2 and Desire Z Android Development] Berrydroidcafe:
I want the M8, but not ready to throw down $700USD for it, and that's the Google Play Edition! [emoji15][emoji33]

Sent with my Nexus® 10 minus 3
[G2 and Desire Z Android Development] Flinny:
I just have a generic unlocked m8.
[G2 and Desire Z Android Development] Berrydroidcafe:
What do you mean by generic?

Sent with my Nexus® 10 minus 3
[G2 and Desire Z Android Development] Flinny:
Non provider locked in/sim free/m8ul ;)
[G2 and Desire Z Android Development] Berrydroidcafe:
If you can pm me the details, I'd greatly appreciate it. Thanks!

Sent with my Nexus® 10 minus 3
[G2 and Desire Z Android Development] la.ouiche:
Great news a new update ! Thanks Flinny to take some time to do it, and I hope your wedding will be nice !
[G2 and Desire Z Android Development] Kéno40:
It deserves a quick test and comparison with PureKat Beta 2!

Thanks. I'll try this WE....
[G2 and Desire Z Android Development] Flinny:
Mainly just tried to claw some usable ram back tbh ;)
[G2 and Desire Z Android Development] DROITURK182:
Where do I go to download the newest build or has flinny not released it yet.
[G2 and Desire Z Android Development] bazantik:
Look at Flinny's post, number 2466, there is a link..
[G2 and Desire Z Android Development] magikstar:
downloading just for testing ^^

will report back

feel a bit laggy
[G2 and Desire Z Android Development] action_papst:
just downloaded and flashed the new rom. will report later...

[edit] oh, man. feels laggy indeed... tryin to find a solution to this. [/edit]

[edit2] reverted to alpha3, which is the lastest stable and working release for me.. [/edit2]
[G2 and Desire Z Android Development] Killer1desireZ:
The new build seems to be laggy indeed. I will give it a few days to settle.
[G2 and Desire Z Android Development] 41.kretschi:
I am trying to set up flinny cm10.1 vision 22 on a desire Z.

for that I followed the guide provided by cyanogenmod for s-off and rooting: http://wiki.cyanogenmod.org/w/Install_CM_for_vision

I extracted the boot.img and flashed it: fastboot flash boot boot.img

I formatted all partition through cwm and installed the zip through cwm.

I flashed a recent version of radio: 12.56.60.25_26.10.04.03

Everything is working fine, but WiFi. I can't get it to run. It's not a connection problem, it's not even turning on.

I'm not sure if I forgot something or if it might be a hardware problem.

Maybee somebody can help me with that?
[G2 and Desire Z Android Development] Kyong:
This may be a hardware problem. I have the same radio and the same version of FlinnyAndromadus and have no problem with wi-fi.
[G2 and Desire Z Android Development] 41.kretschi:
I thought about maybe having the wrong ruu before and therefore having bad partitions. or that it might be a problem with the recovery? I use CWM. TWRP doesn't accept that build. neither does CWM for the cm11 build. I got confused about that. I'm still hoping that it's a setup thing
[G2 and Desire Z Android Development] Kyong:
I did the complete rooting process including downgrading Android according to this tutorial:

http://xdaforums.com/wiki/HTC_Vision#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD

I think that the /boot partition can be the only one that can cause the problem because everything else should be replaced later to be able to flash new Android. BTW I use 4EXT recovery for flashing, not CWM, but I think that if there is no error than the CWM should work. If you want, I can upload everything needed for rooting and you can do the process again. There are some links in the tutorial that aren't working now but I have everything needed and tested, I have rooted and flashed the version 10.1 on 3 different Desire Z and every device works as it should.