yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] Chromium:
Alright, as promised I have added the RC5 download link to the OP. (only mediafire for now, AFH mirror will come later).

Changes can be seen at the bottom of this post. One thing to mention is that although I fixed the WiFi getting stuck turning on bug, it seems to have broken the setup wizard that appears when you first install the rom. This isn't too big of a problem though. Instead of flashing the rom, then flashing gapps, and finally rebooting, you must reboot in between flashing rom and gapps. ie: Flash rom, boot, flash gapps, boot. If you do it the old way (flash rom, flash gapps, boot, the setupwizard will crash and you wont be able to do anything). This only pertains to you if you are doing a clean install though.

As for dirty installing, that works fine too. I previously had RC4.5 and flashed RC5 on top without wiping and all is good. Just one thing to member when dirty flashing: you MUST flash the m2sd restorer after flashing RC5. So just to reiterate, the process for dirty flashing is:

Flash RC5, flash m2sd restorer, reboot.

Also I tested both a clean install and dirty install, and the clean install definitely felt a bit snappier. It may have been simply because there were no apps, but just thought I'd let everyone know nonetheless.

Let me know your feedback, and enjoy. :)

Release 5: Mediafire

- Fixed WiFi getting stuck while turning on

- Fixed VPN/tun.ko (thanks [MENTION=5091819]spezi77[/MENTION])

- Fixed random SystemUI corruption

- Replaced incorrect Halo toggle drawable with the proper one

- Merged a bunch of kernel tweak commits from croniccorey's Eternity kernel

- GCC top level optimizations via O3

- Included few CM dalvik patches

- Added LowSoundFixer
[Desire Android Development] senseii:
Thanks again for your hard work! Am downloading and clean installing in a bit! Cheers
[Desire Android Development] DMBFR:
Impossible install RC5

I try to install RC5, but impossible, àt the first boot i ahve a force close, "Unfortunately, Setup Wizard has stopped" and impossible to do nothing.
[Desire Android Development] tommypacker:
Read two posts above you. It's really not that hard to read
[Desire Android Development] DMBFR:
??

---------- Post added at 07:52 PM ---------- Previous post was at 07:47 PM ----------

Flash rom and reboot and flash gapps? That's ok?
[Desire Android Development] Chromium:
I literally wrote exactly what needs to be done. Just read.
[Desire Android Development] DMBFR:
Yes but difficult in english for me, thanks.
[Desire Android Development] Chromium:
People that have installed it, have you noticed any speed improvements?
[Desire Android Development] Gil-:
Just a quick reply.

The speed seems to be better.

I still got the bug where I had to wipe Dalvik to solve the Ui 'flashing' itself without wallpaper.

Except that it feels smoother.

Will have to test further to see the improvements.

Thanks Chromium :)

Have a good day for me it will be the night.
[Desire Android Development] dingdong3000:
good stuff Chromium!

Just a quick question. Is it a necessity for us to full wipe everytime new RC comes out or can we dirty flash?

I'm coming from MildWild MW-14 and want to try your rom.
[Desire Android Development] Chromium:
Like I said, dirty flash is usually fine as long as you flash the m2sd restorer right after.

However I usually prefer a clean flash for better results.
[Desire Android Development] Chaos-sa:
Ok A little help if I may...Had 4.5 running great but wanted to do a full wipe as the phone is now being used for something else.

So did full wipe, Installed 5.0, rebooted, Installed GApps, rebooted....still got setup force close?

I've tried installing all, installing rom, running set-up (force close) and then installing GApps (force close) and nothing seems to work...I keep getting a force close on the set-up.

Any suggestions?
[Desire Android Development] dado023:
Email app, uninstall?

Guys, if i uninstall Email app, will i brake something?

Will the operation of ROM be affected if i remove Email app?
[Desire Android Development] Chromium:
So you got a setup force close even before flash gapps? Thats weird cause the rom itself doesnt have setupwizard included in it (its in the gapps). Are you sure you are doing a full wipe? : format all partitions (except sdcard)

Ive just tested a full wipe again just to confirm after seeing a few users having this issue, and its still working fine for me. This is exactly what Im doing:

-boot into 4ext recovery

-wipe > format all parititons (except sdcard)

-flash rc5

-reboot and play around with some stuff for a few minutes (im not presented with a setup wizard...it goes straight to the home screen)

-reboot back into recovery

-flash gapps

-reboot (still no setup wizard presented)

Then, in order for me to setup my google account and stuff i have to open the playstore and then i finally go through the setup which works flawlessly. Are you guys doing anything different here?

Edit: I was just PMing someone with the same issue, and we finally solved it after he realized that he wasnt properly doing a full wipe. Make sure that you wipe everything as I have said above.
[Desire Android Development] Chromium:
Its ok to uninstall it.
[Desire Android Development] kostelo:
Thanks for the new build. It feels indeed smoother for few minutes that I 've been playing with it. No FC for me but I must mention that I didn't flash your gapps but Nbss slim KK gapps. Not straigh flashing, but first the rom, reboot, let it settle for a minute or two, reboot and flash the slim gapps. Everything fine so far. Thanks again my friend.
[Desire Android Development] Chaos-sa:
Chromium u rock...I wasn't wiping deep enough!

Thanks.
[Desire Android Development] kakofonija:
so rc5 does not include latest beanstalk changes from 255 to 275?
[Desire Android Development] Chromium:
Nope, sorry I didnt have time to update all of my sources. Though I did cherry pick a few commits from 275.
[Desire Android Development] bundo111:
Dirty flashed and had wifi stuck. Wiped cache and dalvik, but didn't helped. Now I'm back on 4.5, but I'll try 5.0 again later today.
[Desire Android Development] dingdong3000:
I was using camera ok a couple times yesterday but today I suddenly get FC everytime i open it. Have tried cleaning cache + dalvik and still same.

Here's a logcat
[Desire Android Development] AlexOB1:
WiFi is much worse for me unfortunately. Dirty flashed over 4.5, and wifi now only works maybe one in six restarts, where before it worked most of the time. I've tried turning wifi optimisation off and that hasn't helped.

On the plus side, haven't experienced any of the screen tearing yet that occurred with the last build.

I wonder if the wifi fix only applies if doing a clean install?
[Desire Android Development] Chromium:
Hmm I just realized I'm having the same problem. It was working fine before but now it's FCing. I'll take a look at the log once I'm at my PC. Inn the meantime you can try third party camera apps. I just installed Camera KK from the play store and its working now.

Yeah that's possible. I originally dirty flashed, but I later decided to clean install. Wi-Fi seems good now.
[Desire Android Development] Chromium:
K I know how to fix. I'll upload a patch soon.

Edit: Try flashing the attached zip.

Edit2: don't flash the zip, it doesn't work. Read my post below.
[Desire Android Development] dingdong3000:
I think i'm experiencing.. screen tearing? on rc5. Only after reboot is normal..
[Desire Android Development] Chromium:
If this happens just go to settings > developer options > restart systemui
[Desire Android Development] dingdong3000:
Cant seem to flash the camera.

saids 'can't open /sdcard/download/CameraFix.zip (bad)'

tried redownloading and still the same.
[Desire Android Development] Chromium:
Yeah, sorry I made the zip on my phone and I guess it wasnt good. Just do it manually:

-Go into /sd-ext/app/ and delete GoogleCamera.apk and GalleryGoogle.apk

-Download the attached apks and copy them into /system/app

-Change the permissions of Camera2.apk and Gallery2.apk to rw-r-r

-Reboot
[Desire Android Development] karo222:
Still vpn programs are not working.

wallpaper shuttering will happen with every restart this time

But it is really smoother
[Desire Android Development] nekkers:
Did you set a wifi regio-code?
[Desire Android Development] RoyW:
For those still having wifi problem but cannot temporarily fix by reboot, the reboot should be done by power off your device completely first -> then manually turning it back on.

Do not use the reboot options in the power menu. I did that before and it will not make it back to normal. By manually turning it back on I have 100% successful rate. And for the whole week my wifi was still fine.

P.S. I'm still on release 4.5 so I don't know if it works on 5.
[Desire Android Development] bundo111:
After full wipe and clean install, wifi works great. Everything works fine to me, and it's also smoother than 4.5 version. Nice work on this one Chromium :highfive:
[Desire Android Development] AlexOB1:
Yep, that doesn't help.

---------- Post added at 12:28 PM ---------- Previous post was at 11:53 AM ----------

With version 5 that doesn't work reliably for me unfortunately. I've done a few restarts to test and while it might be working more often, it is still failing some times.

Looks like I'll just have to do a clean install again...... Bother.
[Desire Android Development] Chromium:
With rc5 the only time my Wi-Fi gets stuck is when I do a hot reboot. When I'm just normally toggling the switch it's not occasionally getting stuck like it did with rc4.5.
[Desire Android Development] Chromium:
^that was after a clean install by the way. I initially did a dirty install, but I only realized how smooth rc5 was once I clean installed it
[Desire Android Development] asp2010:
I can confirm Wi-Fi gets stuck when doing a hot reboot on a clean install.

Sent using xda app-developers app
[Desire Android Development] AlexOB1:
Are you still recommending the V6 SuperCharger script Chromium?
[Desire Android Development] Chromium:
No, rc5 feels pretty smooth by default.
[Desire Android Development] ze7zez:
Sprint releases Android 4.4.3 for the Nexus 5

.

They're coming changes. Maybe it will be better with Wi-Fi and BT:

"Google has fixed mostly bugs regarding Bluetooth and Wi-Fi connectivity, but known problems with data connection loss, random reboots, missed calls and various camera bugs have also been fixed."

Source:

Sprint releases Android 4.4.3 for the Nexus 5

.
[Desire Android Development] maxens63:
Will our best developers will be able to do fix as KK 4.4.3 is now working ?
[Desire Android Development] AlexOB1:
Ok, I've done a clean install, and still intermittently getting wifi not turning on. Even if I turn the phone off and on.

Also still getting occasional 'process.media' errors on boot too.

Both things I thought would be fixed by a clean install!
[Desire Android Development] UncannyValley:
I am getting "Unfortunatly Setup Wizard has stopped" whenever i choose English as language.

Just wiped and flashed r5 and gapps :confused:
[Desire Android Development] AlexOB1:
Did you see Chromium's instruction to restart it before installing gapps? Sounds like maybe not!
[Desire Android Development] UncannyValley:
No :laugh: but its the same when I flash gapps after a first boot up... Used to work before without boot between flashes, did that change recently?

Do i have to go though the setup wizard before flashing gapps, not as stated in the instructions?
[Desire Android Development] rao.vinay:
Followed the installation instructions to the last word, and absolutely no problems whatsoever.

Easily one of the smoothest ROMs.

WiFi works okay, until you mess around with the WiFi and 3g network toggle. Nothing that a reboot won't fix though.

Everything else seems okay until now.

Great job Chromium!
[Desire Android Development] AlexOB1:
It has changed, yes.

The setup wizard will not appear if you haven't flashed gapps.

This is as stated in Chromium's updated instructions in the first post of this thread.
[Desire Android Development] Chromium:
All is working good for me, unless I do a hot reboot. Then I get the stuff that you mentioned.

When I attempted to fix the WiFi bug it messed up the setupwizard. Easy workaround: Instead of flashing rom and gapps right after, do this instead: flash rom, reboot, flash gapps. If you are still having the problem after doing this, the issue is that you arent properly doing a full wipe. Make sure you select "format all partitions (except sdcard)" in 4ext recovery. Once you boot up, you should go straight to the home screen (without being presented with any setup). In order to setup your stuff, you need to open the play store. Once you do that you will be prompted to enter your google account, and all that other stuff.

Also those who clean flashed RC5, is the camera force closing?
[Desire Android Development] AlexOB1:
Yes stock camera app does force close for me. I use lgCamera though, as I want touch to focus, and that doesn't FC.
[Desire Android Development] Gil-:
Yes it does for me.
[Desire Android Development] AlexOB1:
WiFi tests

I've now done some tests, to see how the WiFi is, with a clean install of R5.

I've rebooted 10 times (using reboot, not hot reboot). 4 times the wifi did not start.

I then turned it off and on 10 times, 2 times the wifi did not start.

So the wifi issue definitely still exists for me, no matter which way the device is restarted.....

Positive news: turning airplane mode on and off, from a working wifi condition, worked 10 times in a row. I believe (it's not my phone) that this wasn't the case with R4.5.
[Desire Android Development] dariush_jab:
i have not any wifi problem,of course i did some change in telephony_common.jar by attention this thread

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

u can test it
[Desire Android Development] UncannyValley:
I am using your TWRP Recovery 2.6.3.0 port. Thought it was the most compatible recovery to use and also that Wipe would be sufficient.

It says it wipes Data, Cache, Dalvik, .android_secure and sd-ext ... Looks like i needed to manually wipe System as well. Now it booted without wizard.

I thought flashing a ROM automatically wipes /system, but since I always had the setup after first boot i guess thats not the case then...

P.S. camera IS working for me, no FC, even took a photo right after a clean first boot.

P.P.S. after flashing gapps still no setup wizard, but the language is set to German...
[Desire Android Development] Chromium:
Could you guys test the zip attached for fixing the stock camera. Thanks.

Setup wizard should come up once you open the play store. As for language, it can be changed in Settings > Language and input > Language.
[Desire Android Development] Chromium:
I dont have time to reboot my phone 10 times, but I just tried toggling it on and off a bunch of times and its working good. Not getting stuck at all. Maybe it has to do with the radio. Which one do you have?
[Desire Android Development] Gil-:
Just tested and it's working :)
[Desire Android Development] Mastermindsaifee:
Downloading ..... Hoping for the VPN to wrok ....
[Desire Android Development] AlexOB1:
I downloaded the latest radio from a link you sent previously.

Don't have time? You're a student! ;) I just had the phone next to me while working and noted down the results each time I restart it, no great distraction. It takes nearly five minutes for each restart.....

Incidentally have you had any problems making overclocking stick with this version? So far, it's giving me errors every time I restart having saved a higher clock speed.

I'll try and get the phone back from the wife to test that camera fix for you.
[Desire Android Development] Chromium:
Haha. I havent tried overclocking (mainly because I've heard some horror stories about how the desire cant handle clock speeds over 998MHz). What are the errors? Did you turn on the "Apply automatically on boot" switch? Also in the past on other roms when I did try overclocking, I barely noticed any speed increase. My phone just got hotter, and the battery died faster.
[Desire Android Development] UncannyValley:
Never read it so clear you have to wipe system as well. I wonder how many times i flashed with old stuff in my /system :(

Ok thanks. I just wondered why it autoselected German. Probably read from my SIM card.

I kinda like that booting without setup wizard, so i have time to setup M2SD and restore Apps with TiB, before the Play Store starts batch downloading apps to the internal memory. Just gotta flash M2SD and TiB in batch with the ROM. :victory:

My proposal for more complete Installation Steps: :)

- Go to Recovery
- Full wipe *
- Flash ROM **
- Boot
- Switch language to English if it changed and the keyboard gives you errors ***
- Boot to Recovery
- Flash GApps
- Reboot
- Start Play Store will load Setup for WiFi and Google account
- Now install a keyboard if you want to use a language other than English ***

* Full wipe includes System, Data, Cache, Dalvik, .android_secure and sd-ext
** Flash M2SD as well and set it up after first boot if you want to use it or install it later from play store (see below)
*** You can change to every other language later, after installing another keyboard (for example Google Keyboard https://play.google.com/store/apps/details?id=com.google.android.inputmethod.latin or any other keyboard)

Btw i added the playstore link to the google keyboard. It works here although I cant find it when i manually search for it

So far this version really seems to be much smoother. Well done! Thank you very much Chromium_ !

P.S. I was always fine with 1036Mhz but yeah it gets quite warm (not too warm though, nice for the winter :D )

PPS. now my camera FCs too :/
[Desire Android Development] nonline:
I don't remember which ROM I was using then, maybe SpazeDog ICS made by DK_Zero, kernel? Not a clue, but successfully overclocked Desire to 2.0GHz, and to be honest, was more stable [MENTION=4413955]2.0[/MENTION] than @1.5GHz when I almost bricked my phone.

I was like...

And then...

Definitely DMC-12 De_sire is powered by a flux capacitor...
[Desire Android Development] Chromium:
Thanks, added some of it to the OP.

The reason I had a download to the apk was because the Google Keyboard apparently is not available in some countries.

Did you notice any speed increase by overclocking though?

Hahaha, 2GHz?!
[Desire Android Development] UncannyValley:
Your welcome. At least I can help you with something a bit. Or better share your help other users. :)

Maybe add the advice to switch language to English as well though. Otherwise newbs might get confused about crashing keyboard if they have a non-english-speaking SIM card.

Oh of course leave it in then. Funny Google...

I think the increase is too small to be noticable. Should be ~4% but didnt benchmark it.

And at 2 GHz it travels backwards in time... :cool:
[Desire Android Development] maxens63:
2Ghz ??!! Pffoiuufff. Amazing! But how long did the baterie last ? And the heat ?
[Desire Android Development] nonline:
I figured what rom was that: ICS Cronmod, looking for some screen shoots. I don't remember exactly, I didn't use it [MENTION=4413955]2.0[/MENTION]GHz as a daily driver, just played with performance options for some benchmarks (vellamo did not even launch) and stability tests. After 10 minutes phone was really hot, u could use it to warm ur hands during blizzard ^^ Battery drained in ~30%, I can't say the temperature of battery because Andida is always showing 24C :P

BTW, in beanstalk when u overclock CPU to 1113 MHz, camera app doesn't even launch and phone frozes.
[Desire Android Development] maxens63:
Lol.. I'll remember that for winter next time for heating my hands.

Looks like the best cpu performance is to leave at 998 mhz. Most stable like that.. If i change frequency, antutu stops when loading 3d test
[Desire Android Development] Chromium:
I turned up the max frequency to 1036MHz yesterday. Seems to be ruining well.
[Desire Android Development] eddiehk6:
Haha running or ruining?

If I find time to dig out the old desire from my drawer, will try this ROM
[Desire Android Development] Chromium:
Lol, what an ironic typo. Just after I posted that comment my phone hard rebooted. I guess mine can't handle it.
[Desire Android Development] nonline:
Mine is 1075MHz at the moment and it's stable, no reboots or FCs.
[Desire Android Development] Pai Mei:
I've noticed an issue in RC 4.5 about SD boost: in settings-performance control- advanced settings I can insert any value but the system changes it always to 512 kb even after reboot. Is it normal?
[Desire Android Development] nonline:
Change them in mount2sd settings, they have higher priority.
[Desire Android Development] Pai Mei:
Under the voice "external MMC/readhead" ?
[Desire Android Development] nonline:
Yes.
[Desire Android Development] UncannyValley:
Also had quite a few reboots since yesterday... until i switched back to 998Mhz. Strange, never had problems with 1036Mhz before.

Another problem: CameraZoomFX used to work fine before, now it crashes. Same for Videocam Illusion. Something got worse with the damn camera...
[Desire Android Development] dado023:
i also use CameraZoomFX, i cant video record....maybe camera drivers are screwed up
[Desire Android Development] Chromium:
Also make sure that you check the "Apply automatically on boot" setting.

Strange, Im not sure why the camera is acting up. I dont recall touching anything relating to the camera. Could you guys get me some logs.
[Desire Android Development] Pai Mei:
Yes. I checked it. I solved following Nonline's way ?
[Desire Android Development] dado023:
sure thing, but i am not sure how to, and where find those logs....any hint is more than welcome :)
[Desire Android Development] UncannyValley:
Allright i will send you a log via PM.

there are different ways to obtain a logcat. I think the easiest is to use some app like 'Android Tuner' but you could also use ADB, somehow...
[Desire Android Development] nonline:
https://play.google.com/store/apps/details?id=com.nolanlawson.logcat&hl=pl
[Desire Android Development] or1m:
Hi, Chromi,

I have a strange problem with R5 - it can survive just a few reboots. After second or maybe thrid one

it just hangs on beanstalk logo with dots under it. There are no other symptoms before that and the only

way I can make it run is to reinstall the ROM and then mount2sd (flash zip).

Pretty annoying...

Any tips, please?

BTW, also ADTS aac codec is not there?
[Desire Android Development] genseng:
I have seen similar behaviour on two installs now. I thought the first one may have been a fluke, but my second install just failed now. It didn't make it past the beanstalk startup screen (the growing stalk). The first install made it to the home screen and threw out System UI errors. In both cases it happened while at work so I just end up restoring to my 4.0 nandroid (did not use 4.5). Haven't had this issue previously and have been running the Rom since version 2. With version 5 I still have the wifi not connecting problem and that's pretty much why I'm rebooting (turned off power optimization setting). I use Tasker to turn my wifi on and off based on my location (cell network), so I wonder if that is making the problem worse.

OK, on the most recent failure I had actually just taken a nandroid before.

Wifi working at home.

Wifi turns off when I leave the house.

Wifi is suppose to turn on at work.

I tried the airplane method with no luck.

Reboot into recovery.

Creat new nandroid backup with 4ext.

Try to boot into Rom, fails as above.

Hail-mary restore of 5.0 from nandroid taken 10 minutes earlier.

Reboot, and now it works.

I have disabled the two beanstalk enhancement init.d scripts and see if that helps. I wonder if it's a startup/init.d script problem, maybe something with zipalign or permissions (I don't know what the two Beanstalk scripts do)? I'll try to get some logs over the weekend if it happens again.