yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] Drakonas:
If you are using Windows to edit the config, then make sure you use a text editor that has Unix line ending support. Notepad++ is recommended, and open source. Go to Edit -> EOL Conversions (EOL = End of Line) for easy changing, then just overwrite the file.

I don't think the dos2unix command is in Windows by default, as far as I know. But they have an open source project for Win32 if you search Google, if you prefer a command version. >.<

I hope you guys don't think I think everyone doesn't know anything. I only include extra information in my posts so others who read it can understand. Sorry.

You are using Windows, right?
[Atrix 4G Android Development] fuzzy34:
Same thing happened to me. Basically I used fastboot to put Romracers recovery on the phone, then flashed Neutrino again like normal. Zero problems basically after using fastboot to get Romracers recovery.

Here is a link that has the other links if you read through a couple posts.

http://xdaforums.com/showthread.php?t=1376993
[Atrix 4G Android Development] Jack'O:
I'm on weekly 20 feb. wirh faux 024 @1.00 GHz kernel, just tested battery draun in 1 hour i've lost 38 mAh in idl
[Atrix 4G Android Development] consolation:
It should be less than 10mA standby, regardless of airplane mode.

Pic of my HD2 with all radios on except Bluetooth.
[Atrix 4G Android Development] Notorious544d:
That's ICS, which has VERY good idle times.

So it's incomparable.
[Atrix 4G Android Development] Erebus671:
As promised here are my screen shots for my day one test, Clean install.

battery usage at 5 hours.

CPU Spy at 5 hours 24 minutes.

app drawer. (proof of minimal app installation.)

battery stats at 9 hours.

Now I will copy the hciconf over to system/xbin and start again tomorrow.

Wish me luck. :)
[Atrix 4G Android Development] xUmaRix:
Dude dos2unix is located in /system/xbin/.Why make it complicated
[Atrix 4G Android Development] Notorious544d:
hcitool NOT hciconfig, because it's already included in the ROM!
[Atrix 4G Android Development] Drakonas:
I wasn't talking about doing it on the phone, but on the os he's most likely compiling on. I was just providing an option, not so much the easiest.

Edit: Sorry, he most likely is using Linux. I don't see how he would compile a Linux kernel on Windows. But how did those EOL characters get in there? lol.

Edit again: *doh, Linux editors have dos text format support don't they? xD
[Atrix 4G Android Development] Erebus671:
I forgot to take a screen shot of CPU spy at nine hours, but deep sleep is still unused...
[Atrix 4G Android Development] Notorious544d:
hcitool won't fix that, disabling the ksmd process will. I'm still looking into this, but you could give it a try yourself if you look back a few pages.
[Atrix 4G Android Development] consolation:
GB with a skin, ;-)

Regardless, I have never got idle above 10, unless there was a problem. That's across multiple devices. Not being critical, just suggesting what is a good benchmark to aim at. I'm playing with few tricks here, but haven't hit an eureka moment yet. Disabling fingerprint navigation and not having a secure lock screen helps a little bit btw, at least on my device.
[Atrix 4G Android Development] xploited:
Alright, charged the battery to full capacity, unplugged, let the battery drain in idle mode on 2.5GT with build.prop from the weekly...

Drained 5% in first hour, and 4% in second hour. I also wanted to post battery loss in mA, but the numbers were jumping all over the place. :(

Anyway, since like I am again back to 2.2. If you need to test something else, let me know as I keep a CWM backup of 2.5 on the phone.
[Atrix 4G Android Development] Warell:
Notorious, Google has just published stencils to make easier the development of User Interface.

Maybe it can be useful for you, to improve the ROM even more?

http://android-developers.blogspot.com/2012/02/android-design-v2-now-with-stencils.html
[Atrix 4G Android Development] Drakonas:
Sorry, I had a doh moment. I have those often.

He is most likely using Linux. I don't see how he would compile a Linux kernel on Windows. But how did those EOL characters get in there? lol.

*doh, Linux editors have dos text format support don't they? xD
[Atrix 4G Android Development] miskulawik:
Actually it does matter as in 2.2 there's no ksmd running at all. The mm directory is empty. However I've installed battery monitor anyway and got results like 32mA in idle.

Then I've installed 2.5 back again, disabled ksmd and got 35mA usage as opposed to 57mA on ksmd enabled.

I realise that these results could not be real but is there any time specified after which we can be sure the figures are right?

Also, can I ask you what results are you getting? Are they so different to ours, I mean those experiencing battery drain? It seems that everyone had that problem + optionally apns issue. Is your battery not draining at all? I'm asking because I've got brand new phone and I'm also in UK so I'd have thought that we should be getting same results...
[Atrix 4G Android Development] consolation:
Following fboaventura's advice and disabling secure lockscreen, I can get idle down to about 15mA. Not good, but not awful either. Still no deep sleep.
[Atrix 4G Android Development] fischwrap:
for what its worth, im on weekly #8 for 2 days now, and am having the same kind of battery drain reported here. ksmd seems to be one of the culprits. also, dhd_wake_lock seems to be keeping my awake about 90% of the time. are people having this issue on Neutrino 2.5?
[Atrix 4G Android Development] LOCKDOC_UA:
Battery monitor widget pro. There in "history" you can find a log

Thanx a lot!
[Atrix 4G Android Development] KCKitsune:
Does anyone know how to force 720p resolution for LS HDMI mirroring? I've got Ubuntu linux running on my Atrix, but the resolution is for crap.
[Atrix 4G Android Development] Erebus671:
Okay, I'm four hours into the test and I have noticed slightly reduced battery life as compared to a clean install... I'll look into the KSMD and just scrub the hcitool test.
[Atrix 4G Android Development] xploited:
Guys, 2.2 + faux 023 kernel is the sex.

Check this out. :D
[Atrix 4G Android Development] consolation:
I can get same on stock 2.5, that's not that great.

WCDMA only, all radios on except Bluetooth, fixed up the scripts as posted before and disabled security on lock screen. About double what you'd ideally expect with GB.
[Atrix 4G Android Development] xploited:
Well, with 2.2 i can get much better stats easily. The stats I posted come with 3 battery applications installed + calendar notifications not disable (alarm manager causing significant wake locks).

But on 2.5, I was never able to get the numbers you are getting.
[Atrix 4G Android Development] Notorious544d:
How can the results not be right? It clearly shows that disabling ksmd reduces battery drain.

Battery life can't depend on time, unless you have profiles to turn airplane mode on in the night or something.

Wow, do you mind flashing 024 kernel and see if that increases battery drain?

And could you please remove the download links in your signature? You can keep the V2.2 addons one on if you want, but the download links on Joker's site has been fixed, so people can download V2.2 from there.

Oh and I found something that could be beneficial to battery life, but haven't properly tested it yet.

It's to reduce the priority of the 'suspend' process, which can also be a cause of battery drain.

Type in terminal:

And then keep an eye on battery life and wakelocks. It's suggested to do this after rebooting, so everything starts fresh.
[Atrix 4G Android Development] consolation:
I'll try to see if turning off calendar notifications helps. There must be some underlying issue, we shouldn't have to turn everything off to get reasonable standby. If I get some spare time tomorrow I might try compiling the kernel a few different ways, see if I get lucky. :-P
[Atrix 4G Android Development] miskulawik:
You mentioned that saying:

"Wtf? Just wait a bit for it to settle down. When you 1st download it, it gives weird readings, but then decreases."

I'm wondering why there wasn't this daemon running in 2.2 and suddenly it appears in 2.5...
[Atrix 4G Android Development] Notorious544d:
V2.5 has different kernel tweaks which may have activated it unintentionally.

I'm in the process of making a patch for V2.5, using all the information we've gathered so bare with me a while.
[Atrix 4G Android Development] Notorious544d:
V2.5 Patch

Here's the patch as promised.

It should fix the long boot times, APN issues and the battery drain issues as well.

I've included 'bash' as requested by 'fboaventura' as he did an awesome job in identifying the issues. However, it is likely that this could be removed in future releases (as it takes up a lot of space), but it could be made into an addon.

Tell me what you think. This is mainly for those on an 'unedited' V2.5, so they are still running Faux123's 024r2 kernel. But you can try on 023 as well if you want.

EDIT: After installing, remove /system/etc/init.d/S65priorites, as it doesn't work. The updated SuperCharger.sh does though, so once again, run it as root and at boot.

EDIT2: Updated patch a few posts down...
[Atrix 4G Android Development] xploited:
I did try it with the 024 kernel, and the drain was significantly higher - about 25 mA instead of 12 mA.

Removed the 2.2 ROM download link from the signature, left just the addons.

Will try the things you suggested.
[Atrix 4G Android Development] Notorious544d:
Wow, so the drain could be related to the kernel as well... hmmm....
[Atrix 4G Android Development] Erebus671:
Would you like me to continue my testing or just test this patch?

If you want me to test the patch, would I just flash as is? Or do I run a clean install? I'm sure the clean would beneficial, but is it required?

By the way, I found my problem with fastboot, I was trying to run it out of the wrong directory... noob mistake... lol
[Atrix 4G Android Development] Notorious544d:
Flash the patch as it includes all the latest fixes and stuff anyway.
[Atrix 4G Android Development] Erebus671:
So I shouldn't have to wipe anything then?
[Atrix 4G Android Development] totti123456:
i flashed the patch (wiped cache and dalvik cache) and the phone reboots once and enters recovery:( (i tried 3 times, and every time ended in recovery)... reflashed neutrino 2.5 to boot normally again.
[Atrix 4G Android Development] Erebus671:
most patches just install over the previous software, What I'm thinking is that Notorious meant for it to be flashed without any wipes, right on top of your current 2.5 installation...
[Atrix 4G Android Development] Notorious544d:
Darn it! Try the one new one attached.

If it doesn't work, then use root explorer to place the new files individually.

EDIT: Has anybody else successfully patched V2.5? Sorry for the misunderstanding, but it's not a new ROM, you install it over V2.5 with no wipes (except cache).

EDIT2: DO NOT FLASH!!! Copy files over using root explorer.

EDIT3: Removed. Go like 2 -3 pages forward for the latest working patch.
[Atrix 4G Android Development] Erebus671:
I'm going to try flashing like it was a new patch of my current game, like I said before, most patches install directly over the previous version, so I'm going to treat it as such and see what happens...

---------- Post added at 09:30 PM ---------- Previous post was at 09:18 PM ----------

Confirmed, do not flash over previously installed rom, it does not work that way, you will have to use root explorer... sorry for any disappointments...
[Atrix 4G Android Development] xploited:
Patch successful!!! But Doesn't boot afterwords. (stuck at Motorola logo) :((((( (the new one)

Will try copying files over through root explorer. Btw, does this patch deal with the KSMD issue and the secure lock screen drain? :confused:
[Atrix 4G Android Development] Jack'O:
+1, don't boot.

Applied files manually via Root Explorer, setted Supercharger at boot as root, fixed permissions in CWM but it stuck on BootLogo. :(

Going to restore.

P.S.: Neutrino 2.5 and faux123 024r2 1.00 GHz.
[Atrix 4G Android Development] Erebus671:
Okay, going to be noob here, but where do the files go? :(
[Atrix 4G Android Development] marcosvafg:
So... I'm bit confuse at now.

I need to download patch and apply manually via Root Explorer, right?

And them... should I do a cache wipe? What should I do after that?

Thanks!
[Atrix 4G Android Development] xploited:
The files go in the same folders on the phone as they are in the archives -

/system/... something

But anyway, I think there's not point in you trying it, since me and Jack'O already tried it and couldn't boot.
[Atrix 4G Android Development] Jack'O:
It seems to be broken, don't do it for now.

I suggest to wait news from Notorious
[Atrix 4G Android Development] Erebus671:
Gotcha, I'll wait a bit...
[Atrix 4G Android Development] marcosvafg:
Ok! I'll wait.

Thanks guys!
[Atrix 4G Android Development] Notorious544d:
OK, this should be it.

There's no reason why this shouldn't work.

And wow, my thanks bar looks sexy :D

Thanks for thanking!

EDIT: Updated patch a few posts down.
[Atrix 4G Android Development] Erebus671:
Okay, so once again, flash with no wipe except chache?
[Atrix 4G Android Development] Notorious544d:
Yes, just wipe cache and dalvik cache to be safe.
[Atrix 4G Android Development] Erebus671:
Okay, will do...

What exactly is the dalvik, just curious...

---------- Post added at 02:07 AM ---------- Previous post was at 02:04 AM ----------

Just to be sure, after running the

su

sysctl -p

in the terminal, we reboot right?

and supercharger should also work now too?
[Atrix 4G Android Development] Notorious544d:
You don't have to reboot after sysctl -p, you can just leave it.

For SuperCharger.sh, you'll have to set it as root and at boot.

Does the patch work now?
[Atrix 4G Android Development] Erebus671:
Okay, I might have a problem with the sysctl -p, I'll up load a screen shot in a moment.

Okay, I'll set it up shortly.

So far so good... I haven't really looked into anything, but the flash went without failure. :)

---------- Post added at 02:12 AM ---------- Previous post was at 02:11 AM ----------

I might have just put the command in wrong, I'm not sure, please wait a moment.

---------- Post added at 02:14 AM ---------- Previous post was at 02:12 AM ----------

This is what I got when I tried to run that command

---------- Post added at 02:17 AM ---------- Previous post was at 02:14 AM ----------

That image is a bit too small, check this link for a better size...

http://a4.sphotos.ak.fbcdn.net/hphotos-ak-ash4/429394_3418296853631_1156427903_3511583_1523051417_n.jpg
[Atrix 4G Android Development] Notorious544d:
Do this:

Type 'su' (then press enter)

Then type 'sysctl -p' (you'll see a long list of stuff - that means it worked).

Also I updated OP to make download instructions look more cleaner/clearer as well as added a section (towards the bottom) on how you guys can donate to me, for free!

So yeah, doing that will be very much appreciated. :D
[Atrix 4G Android Development] Erebus671:
okay, when I type su the press enter I get permission denied

and I will go ahead and donate. :)

Did you ever get my PM regarding submitting bug reports?
[Atrix 4G Android Development] xploited:
A page with ads is a good idea, but as someone who works in online advertising I can tell you that in order to make good money from it you need HUGE VOLUMES OF TRAFFIC. :D LOL!

So, I will just donate 10$ bucks some time soon. :P

------------------------------------------------------

Regarding, the new patch ... gonna restore 2.5 again and try it. :D

Will ask again: is it supposed to fix the ksmd issue?
[Atrix 4G Android Development] Erebus671:
I found my problem with Terminal Emulator, SU denided permission to the emulator... there is no request for permission either...

When I get a job, I would gladly donate some money... I have to replace some stolen good first... :(
[Atrix 4G Android Development] Notorious544d:
Oh ****, I forgot about something in the patch which is affecting SU.

I'll quickly make another patch.

Regarding ad money, AFAIK, I don't get a lot of money if somebody visits the page, but apparently I get a lot more if they click on the ad itself.

However small the amount is, I will cherish every penny :)
[Atrix 4G Android Development] jakis39:
You're almost at a well-rounded 1024!

:P

contributing...
[Atrix 4G Android Development] Erebus671:
lol, maybe I'll look up my old windows scripting manuals and compile a script just to click your ads. XD J/K, that's cheating haha!

I miss scripting in C# though, it sucks that it's one of those use it or lose it things...
[Atrix 4G Android Development] Notorious544d:
No don't, if you go crazy and Google find out then all revenue will be lost :(

Anyways, new, proper, latest, V2.5 Patch attached.

EDIT: Woops, still causing errors.
[Atrix 4G Android Development] METALLICAM:
So just to confirm here.......

-Full clean wipe

-Install 2.5

-Install addons

-Install patch

-Run Supercharger with ROOT & BOOT

-DONE

Is this the correct order?
[Atrix 4G Android Development] Erebus671:
I know, that's why I simply made a joke out of it.. :)
[Atrix 4G Android Development] Notorious544d:
Yep, that sounds delecious!

Updated OP with a 'P.S' warning just in case... ;)
[Atrix 4G Android Development] Erebus671:
No, just wipe cache/dalvik and flash the patch, run supercharger (root and boot) and run lastly run the following command in terminal emulator:

su
sysctl -p
[Atrix 4G Android Development] Notorious544d:
That's if you're already on V2.5 (which majority probably are).

But for those who aren't, then METALLICAM's instructions sound great.
[Atrix 4G Android Development] Notorious544d:
What's that clock widget and theme? I love it!

Will make an addon soon.

Neutrino's are extremely small, probably the smallest matter and have no mass, hence they can travel at the (or faster) than the speed of light. :D

And I forgot about transforming into three other types... it was a coincidence that there are 3 versions, but that's pretty cool! :cool:
[Atrix 4G Android Development] Jack'O:
Beautifull Widget. Was at 10 cents
[Atrix 4G Android Development] Notorious544d:
But what theme?
[Atrix 4G Android Development] Jack'O:
Seems one of the included. join with it.
[Atrix 4G Android Development] Notorious544d:
Embedded video review in #3. Check it out!

Big thanks to J-Roc!
[Atrix 4G Android Development] mandroid717:
hey Notorious544d,

would it be possible to integrate the front facing camera with the new build. i know there is an add on but was hoping you could implement it with the loss in camera quality.

by the way. awesome rom. love the colour scheme and how clean it looks.

you sir rock.
[Atrix 4G Android Development] Notorious544d:
Flash the 'default camera addon' in #2. The reason it's an addon is because I beleive the sacrifice of the FFC is worth the much better camera quality as 60% of people don't use the FFC. But for the other 40%, there's the addon to suit everybody's needs.

The MIUI camera gives quality close to Blur. I want my ROM to remove as much CM7 limitations as possible, such as camera and keyboard (next update ;)).

Also, added an 'Ad Blocking Addon' in #2. Should block ads all over, but lemme know if it works, because I may integrate this into my next update.
[Atrix 4G Android Development] jimbush3:
Everything that I'm running right now:

Theme Chooser Theme: Lights Out

This theme does not have all battery images from 1 to 100 and is best used by setting the battery status style in CM Settings -> Interface -> Status Bar Tweaks to hidden. I'm sure there are plenty of other shortcomings as well as I've really only focused on themeing things that I use regularly.

Launcher Pro Plus

Gridless Theme for Launcher Pro Widgets

ICS Phase Beam Live Wallpaper

ICS Clock

ICS Keyboard

Beautiful Widgets for home clock with weather

Circle Battery Widget
[Atrix 4G Android Development] DeathKoil:
I noticed a problem last night while using the phone on this ROM. If the phone goes to sleep and then I wake it up, typically wireless reconnects within 3-5 seconds and I am up and ready to go. On this ROM, my wireless will not reconnect after the phone goes to sleep until I either disable wireless and re-enable it, put the phone in airplane mode then back to normal mode, or go into wireless settings and click on Wifi Settings. Doing any of those will get me a wireless connection rather instantly, but not doing one of those things will result in my wireless never connecting.

I am going to attempt to track down the stock CM7 kernel in a flashable zip that I am pretty sure someone posted in another thread last week. I will see if I have the same problem running that.

In the meantime if anyone has a link to the stock CM7 kernel, I would greatly appreciate it!

DK
[Atrix 4G Android Development] Jack'O:
That WiFi issue is a known Weekly 4 issue.
[Atrix 4G Android Development] live4nyy:
I've used that clock before, I believe its just called "Ice Cream Sandwich" in Beautiful Widgets

EDIT: My bad, it seems you were asking about the theme, sorry.
[Atrix 4G Android Development] DeathKoil:
Interesting... I never had the problem with Weekly 4, and I actually backed up my Neutrino install and restorde my Weekly 4 install this morning to test just that. All day I've had no problems with Wifi reconnecting.

I'm still going to try to track down the stock kernel for weekly4 (which is testing my patience - search can't find it so its down to combing through hundreds of pages of posts), since stock kernel on Weekly4 is solid for me.

DK
[Atrix 4G Android Development] Jack'O:
Yeah, I never had that problem to, only after the last restore.
[Atrix 4G Android Development] omni_angel7:
TO ALL WITH WIFI ISSUES:

Use "Spare Parts Plus! (no ads)" from the market to adjust Wi-Fi Sleep Policy to Never. The screen off option fails to recognize screen on. This may increase battery drain slightly, but for me it hasn't been a noticeable amount.

While you're at it, uncheck Compatibility Mode if you are experiencing app sizing issues.

Market link: https://market.android.com/details?id=com.droidgram.spareparts
[Atrix 4G Android Development] DeathKoil:
I read in another thread that the wifi issue could be "fixed" by telling your phone to forget the network, then re-adding it. This would imply that it was an issue with wifi profiles, and not an issue with the wireless adapter not recognizing that the screen was turned back on, as the above poster has stated.

I am flashing back to Neutrino now, I'm going to try the "forget the network then re-add it" fix, since I know that I was having this issue with the wifi at work. I"ll let you know how it works out after several hours have passed.

P.S. I'm on 1.77.30P, many of the complaints in the Weekly thread were on 1.77.36P

DK
[Atrix 4G Android Development] g2tegg:
Call me a noob if you will, but what is the v6 supercharger script I read a few pages back? What is it and where would I get it?
[Atrix 4G Android Development] Notorious544d:
Over here.

I'll probably add it to the OP as it is highly recommended.
[Atrix 4G Android Development] DroidRunner:
I keep switching between this and MIUI on my Inspire. I can't decide!!

#firstworldproblems
[Atrix 4G Android Development] chronicfathead:
Hi N

I agree with you. I would rather have a really good camera, as I have never used the FF camera. For those that do, you have provided them with a flashable addon.

I've ended up flashing 1.4 GT over my current install, as I tried out V6 Supercharger, but after a while with no issues it would only run for about 3 minutes before rebooting on it's own. It would go to a black screen, then I would see the Neutrino boot screen for a few seconds, then I could unlock it.

I tried disabling the V6 script, and I also tried getting to the UV section of setcpu, but it would reboot too fast.

After the flash, everything is back to it's speedy self.
[Atrix 4G Android Development] pehun:
Hi!

This rom si good, but I can't use google maps navigation...

It opens and immediatly close after typing enter to search a place...

any idea?

thanks

:)