yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] naturist:
Welcome :D

Andy: its problem related to his memory card :D

These users just blame the rom, even when they haven't followed the process of d2sd, or its problem with their own memory card. :p

BTW: a2sd working fine with Andy's rom as always !
[Optimus One, P500 Original Android Development] N_lover27:
I agree it does work. and to use d2sd script on this ROM you need to remove

system/etc/init.d/02mountsd

try using removing root explorer (Google it)-dnt forget to change the permission to r/w on root explorer

or you can try what andy suggested
[Optimus One, P500 Original Android Development] andy572:
A small ask:

In the next kernel release i have backported a new alarm manager from .39 - it is some

better than the current because its more scalable and removes useless wakeups of the

phone when doing small tasks in background.

Now, i've tested this new code on my phone and its working as described: i 've viewed

on battery stats in gingerbread and i doesnt have one blue bar that was as before.

can some users test please a small thing:

1.) charge the phone to 100%

2.) reboot and clear battery stats in recovery mode

3.) reboot to android, (login) and let the phone go to idle mode.

4.) dont activate the phone the next 4 hours!!!

5.) activate the phone, go to battery stats and view if there is a blue bar

Please make sure, u dont have any network or google sync or other network related

apps (like weather) active when running this test!!!

I MEAN NOT airplane mode, but deactivate all that **** :D

post here, if u have a blue bar in idle - and, when yes - if the bar

1.) is interrupted

2.) is there only one line

3.) how long is the line (when one line)

Thanks for testing :)
[Optimus One, P500 Original Android Development] roi14:
by this, u mean airplane mode? i'm assuming it will be released anytime now?:D
[Optimus One, P500 Original Android Development] andy572:
No, not airplane mode.
[Optimus One, P500 Original Android Development] roi14:
ok then, i'll try my best to follow ur instructions,.:D
[Optimus One, P500 Original Android Development] digkong:
andy ur work arround to get d2sd... works perfectly...:D
[Optimus One, P500 Original Android Development] Y.u.v.i:
hey Andy bro i jst checked it and thr was no line no blue line untill it was on stand by mode no blue line and battery use was straight ..its been almost more thn 4 hr by nw i jst checked wht u asked to ..so i m nt able to c any blue line ....

Thanks

Bt one thing is strange i froze (killed ) every running apps ram was free also around 340mb and i jst leave my phone for 20-30 mints ..and then i checked battery status screen off line was showing screen was off bt awake line was regular .....is tht somthing strange ??
[Optimus One, P500 Original Android Development] Y.u.v.i:
I don't knwo whts going on ...as i set cpu to 729 max ..kernel panic ..shut down :mad::mad: tried almost 5-6 times so far i jst again tried set it 245/729 and again phone got switched of ...may b my phone hardware prob... bt in other rom i almost use 748 without any panic ...nw jst finger crossed and hope nxt release will b stable on my phone :mad::mad::(
[Optimus One, P500 Original Android Development] naturist:
you using Andy's rom or Mik's rom ? if andy's rom which rc ?
[Optimus One, P500 Original Android Development] Y.u.v.i:
Lol THis is Andy's Thread i think Mansi ? So which Rom suppose to sud i hve !! it Andy's one actually i tried this rc4.1 almost 4-5 times as i knwow all things like format, data cashe , sd card all things ..bt don;t know whts going wrong in way .. in other roms,.... i haven't encountered any issue regarding kernel panic ..at 748 last @ any other ROM(miks , devoid etc )bt don't know y upsetting in this with 729 only :(:( may b now i think its my hardware issue so i don't complain abt ROM and all ...

jst waiting now may b Andy will release his new kerenl and rom in few days so i will try tht one ...and by the way thanks for ur concern ..
[Optimus One, P500 Original Android Development] naturist:
Lol I thought you posted your question with screenshot, later I realized after seeing this reply that its your signature- stating you are using Mik's rom. Also, the earlier versions of Andy's rom looks like that screenshot..so thats why I was confused.

I am using 480/729 and havent seen any kernel crashes and its stable. Why dont you try oc to a lesser value like 710 or less. A new update is on the way..coming weekend I guess :)
[Optimus One, P500 Original Android Development] andy572:
Yes, let me play something with I/O to optimize read/write and than gets the

kernel on the way :)

I'm sorry that i dont have uploaded the kernel, but i cant stop working on :D
[Optimus One, P500 Original Android Development] sanmore:
Andy please fix USB tethering... I know you are working on it. Thanks
[Optimus One, P500 Original Android Development] andy572:
i dont want every day a "thank you for your hard work", and not "andy can you fix this or this" - let me fix things that

are essential to get the gingerbread really work. i fix our kernel step by step, until

we have a way so that all hardware is working.

i worked on powermanagement that we can use our phone more than 5 hours.

i worked on timers because every dumb wakeup shrinks our battery life.

i worked on threading issues because of system stability and performance.

currently i'm working on disk I/O, this is required for some more I/O performance

and by all USB **** - inclusive USB tethering. Instead of working on a dumb 2.6.35 kernel tree,

i have began to backport all that stuff from the 2.6.39 tree - this is really the last kernel that

we can use and trust that all would work.
[Optimus One, P500 Original Android Development] :
I come to you with some news, good or bad however they may be I urge you to keep in mind the following of what I'm about to say:

Andy's ROM has a 10% battery drain / hour - I do not know if this is because of the ROM or because of the apps.

Notice: it's the best battery efficient ROM out there, IF used with brains.

What happened? I flashed it and reflashed in more than 20 times, and for more than 2 weeks I installed, uninstalled and tested EACH and EVERY aspect of the ROM to see where exactly the drain is coming from.

Tonight, I've managed to make the battery INCREASE without recharging.

How is this possible? My battery was experiencing once again a 10% battery drain after installing more than 10 apps, including Google Docs.

I have now narrowed the battery drain to be directly related with the sync of either Google Calendar, Docs or Contacts.

The drain stopped immediately after I disabled sync for those 3. The battery actually increased from 24% to 26% in one hour, I don't even know how is that even possible. (no, it wasn't connected to the charger).

In the following hours I will have successfully identified which one of those 3 is the exact cause.

For now, I'm pleased that my battery is now using less than 0.6%/hour in idle mode.

I urge you to try enabling those yourself if you haven't done so and report if you have the same issues. I'm pretty sure you will, because like I said, this ROM has been flashed and reflashed by me over 20 times, and each time I experienced this but never really looked at those 3, I fiddled around with apps that I have installed thinking it's their fault, when in fact, it was one of those 3.

Andy if you're reading this, please look into it.

I reported the same drain a few posts back and you said it's a user based problem. That may be right, but I really hope there's something you can do about this. I'd very much like to keep those 3 things synced.

Here you can see the battery increase, notice there how the battery increases without the charger being on.

http://goo.gl/LSXCP

You can also see in the same photo how the phone was AWAKE but the screen wasn't on. So something was keeping it awake.
[Optimus One, P500 Original Android Development] cas0404:
Is this rom better than mik_os rom in battery way?
[Optimus One, P500 Original Android Development] Y.u.v.i:
hey jan as i can't put whole ur post as quote its big :p bt the bottom line of this whole post is some services keep going on in background even if screen is off ..i also did a lots of experiments to help Dev to found out whts wrong in battery backup ...:confused:

yesterday i fleshed Andy's rom again ..and as he told to test aftr 4 hr i analyzed screen was off sometime bt phone was wake..and aftr tht i switched off and agin i put it in idle for whole night and wake was gone thr was no wake at all for 8 hr and battery drain was like 3-4% for 8 hr..and wht i did b4 sleep thr was 1-2 default google services going on so i jst stoped every service and ram was free 324 mb thn i left my phone for whole night and result ws impressive in the morning ....and this is the only Andy's rom which hve best battery backup if thr is nthin going like waking the phone...:rolleyes:

And Andy is also working on it right now which services creating this drain so we sud also analyze these things and sud test in our behalf . here.. beside complaining against ROM battery drain ...:)
[Optimus One, P500 Original Android Development] hanfkeks:
I don't think there is any device out there (be it a smartphone / laptop etc.) that can measure the battery status completely accurate or at least precisely. I am quite sure this is the reason behind your battery increase. Maybe a 100% accurate reading of a battery status is possible in theory (I am not even sure about that), but it is probably too much of a hassle in practice (too expensive / complex etc.) - the measuring tolerance is obviously small enough to work with in all sorts of computer devices...
[Optimus One, P500 Original Android Development] :
Yes, I'm aware it was a battery measurement thing but funny anyway. As for you Y.u.v.i , background services like push e-mail should not keep the phone awake mate. Not even for 20 seconds.

It's not normal for the phone to be awake while the screen is off. It should be in idle mode. So once again, if your chart from the battery graph that says "AWAKE" is not 100% identical to the "Screen On" chart, then something is wrong.

Anyway, I have successfully identified the drain.

It was the Calendar and one more.

To fix this it's not enough to just only uncheck sync calendar, you need to also freeze or remove "Calendar Storage" APK. OFC this means you'll have no Google Calendar anymore.

Another thing that woke my phone up for 20-25 minutes every two hours was the Google Backup services, which means you have to turn off back-up (from Settings > Privacy) or remove the APK's altogether.

I have done the two things above and now my phone stays idle while screen is off, the charts AWAKE and SCREEN ON are identical. 0.537% battery use / hour.

I'll post a screenshot later on, I just woke up.

Hope this helps someone whose experiencing battery drain and has no clue as to why.
[Optimus One, P500 Original Android Development] ardalaan:
thank you for sharing this information

i also looking for apps that cause battery drain

was your Data (EDGE) enabled during this time or not ?
[Optimus One, P500 Original Android Development] andy572:
Ok, what do you think about how to retrieving/sending data in sleep state?

the phone must be waked up to do that, because the phone doesnt sleep but is in a power reduced state

where the cpu is set to a energy saved mode, the screen is off and services that doesnt needed to work

with the phone are pending until the phone is waked from a alarm timer who is every second the system

telling "hello, i'm here and waiting for your questions that i can wake up the device".

It is normal, see explanation above.

BTW:

Removing all apps that wakes the phone is most senseless on a smartphone, than you can

buy a "normal" mobile device with no functions but calling :D
[Optimus One, P500 Original Android Development] dryhte:
Well... now that we've conclusively proven that it when used as a dumphone, the battery lasts longer, can we please get on with our lives? ;)

I mean, I'm not a smartphone power user, but I DO auto-sync calendar (3 calendars) and phone book. And I'm fine with sacrificing some battery life for that ;)

And when I need more battery duration, I just turn off mobile data and wifi. So it'll still try to sync, but it won't succeed since there's no connection. This saves some battery at least ;)
[Optimus One, P500 Original Android Development] Y.u.v.i:
Lol :p:p these types of question really make us think again:p:p , cas these things depends on individual uses ..every person has its own uses and everybody use phones in their own way and different task ..so we will advise u to use both roms and then decide which one suits u better ....And please always keep it in ur mind tht u r using a Android base Smartphone not a Nokia 1100 or tht type of normal calling phones :p
[Optimus One, P500 Original Android Development] :
Yes, it was. Like andy said, whats the point in using a smartphone if you turn everything off.

I tried keeping everything and managed to do so, except the damn calendar.

if it works for some, that's fine. but like I said, for me it causes a 8 to 10% drain / hour, in idle mode. That's less than 10 hours of use for a charge...
[Optimus One, P500 Original Android Development] naturist:
Bottom line: YES :)
[Optimus One, P500 Original Android Development] N3mesis:
Everything was fine with the rom since i installed it. But yesterday while installing some apps (google maps + latitude) I've got a kernel panic something like "smartass" was he showing...

Therefor I thought it could be the overclocking device was overcloked to 729mhz very stable.. I had no problems on miks Rom and yours.. but than my P500 was like freaking out only cuz of installing apps.. Anyways My GPS was also activated.. then I deactivated or at least I tried to deactivate it but the GPs symbole was always repeating in the Statusbar.

However the phone Settings told me the GPS was off same for the Widget.. But it was always active on the statusbar.. until i turned it off...

After that my phone freezed serveral times.. now I'm on stock clock 600Mhz and it looks fine.

My battery was also reduced from 40% to 19% within seconds.. I just rebooted and my battery history showed me a huge CUT from 40 to 19.. and I'was like WTF? whats happening?

any idea? what could have caused that? Is the GPS really fully functional?

I've flashed the rom like any other..
[Optimus One, P500 Original Android Development] andy572:
Hi,

GPS is working fine but the symbol in statusbar - its a bug in android since version 2.3.2

that isnt fixed, but its only the symbol - gps is closed fine.

the problem with smartass i cant reproduce, i'm running on 787/787 on smartass and i dont got any problems.

the battery drain is ok when running gmaps - its a fu**ing app that not be should installed - i wrote it for about 8 weeks in the first post.

gmaps is talking every second to the maps server to retrieve or send data, this bug is not fixed and cant be fixed by us

here by the reason that we dont have the sourcecode of the app.
[Optimus One, P500 Original Android Development] onlymeipse:
A beautiful example of opensource...
[Optimus One, P500 Original Android Development] naturist:
Andy any chances to see your rom in rom manager? I can see mik's rom available in rom manager to flash from phone. Even the gapps can be flashed from rom manager. Since your rom supports CWM recovery, any possibility to add the current rom to rom manager ? This way we can flash the updates directly with rom manager ?
[Optimus One, P500 Original Android Development] Bytecode:
I have a similiar problem on my Sense port. GPS works fine,but the GPS icon doesn't appear. Pretty wierd isn't it? ;)
[Optimus One, P500 Original Android Development] naturist:
Sorry for offtopic :

Ciaox- gsm too doesn't work with your sense port..pretty weird :p:p
[Optimus One, P500 Original Android Development] andy572:
Mansi, u're sad :D

@RomManager:

before i can ask about to add the rom, i have to go through the hell: all must working.

No Radio, No full functional USB ... no RomManager. mik have all that fixed, even when only hacked so thats work,

IMHO, i 'll try to backport some kernel stuff too get things to work - its more clean for me.
[Optimus One, P500 Original Android Development] Bytecode:
Got it working in my unreleased alpha2 :p

Ok let's stop spamming :)
[Optimus One, P500 Original Android Development] N_lover27:
this is not to offend anyone. But I must say Andy your ROM is best to get more battery life.

I don't like flashing other kernel so used your ROM with your original kernel. I get 2days easily with

3g

data on

sync on(mail,docs)

market used for 20 mins

calling 30 min total

after 48 hours still have 8% of battery.

thanks man. +1
[Optimus One, P500 Original Android Development] N_lover27:
guys sorry I know This is off-topic Q and should be asked in respective thread but the thread owner is dead or something. So please help me.

@andy

as you have helped me to use d2sd with your ROM by removing

/etc/init.d/02mountsd

but in Nessy #JINCE there is no such file. and the same error is happening as it happen with your ROM.

here is the log

An error has occurred while removing duplicate files!
Unable to proceed with data2sd
Logging mount status:
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
/dev/block/mtdblock1 on /system type yaffs2 (rw,relatime)
/dev/block/mtdblock9 on /mnt/asec/d2sd/data type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/mtdblock3 on /lgdrm type yaffs2 (rw,nosuid,nodev,relatime)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
/dev/block/mtdblock8 on /cache type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/mmcblk0p2 on /data type ext2 (rw,nosuid,nodev,noatime,nodiratime,errors=continue)

I know what I am asking is not appropriate but could you help me.????
[Optimus One, P500 Original Android Development] andy572:
look for a script in /etc/init.d that contains "mount ....." - essential system mounts are not in /etc/init.d coz its to late to mount system partitions.
[Optimus One, P500 Original Android Development] N_lover27:
In first there were no init.d folder. and after flashing ungaze's script the only script is there is

/etc/init.d/02ungaze_init

and there is nothing else
[Optimus One, P500 Original Android Development] mathew3184:
how come the gps bug is not

there in void forever?
[Optimus One, P500 Original Android Development] mik_os:
It's not hack. I just used the way that LG uses (and codeaurora, some guy pointed me in thread).

Seems this way is normal for 2.6.32 msm-kernel.
[Optimus One, P500 Original Android Development] :
Eh...

# busybox grep -rni mount /system/etc | busybox grep -v flex.db

Post the output here.
[Optimus One, P500 Original Android Development] Freedomalfa:
for me video record not work,is this a bug or only from me ?
[Optimus One, P500 Original Android Development] sweetbinodray:
Battery backup also depends on your screen brightness. Fluctuate with brightness battery issue will also fluctuate.
[Optimus One, P500 Original Android Development] :
for me neither. I think its a bug but andy didn't list it as a bug.

when i try to record something, i just get a white screen and nothing happens.
[Optimus One, P500 Original Android Development] naturist:
Can you explain a bit more ?
[Optimus One, P500 Original Android Development] DJBhardwaj:
Give it a try yourself.It will elaborate the problem more :)
[Optimus One, P500 Original Android Development] avneeshp500:
hey andy.

i flashed ur rom 2days back and flashed apps2sd bt darktremorbut that didn't work.

restored nandroid then flashed data2sd and then again restored nandroid and flashed apps2sd by ungaze!.!

nothin seems to work for me.. what am i supposed to do?
[Optimus One, P500 Original Android Development] N_lover27:
delete

/etc/init.d/02mountsd

then flash the script u like to use. hope that will work

and if you use DT app2sd

you need to use some command after you install dtapps2sd-2.7.5.2-1-signed(not any beta version)

after installing use terminal emulator or adb console

type

for adb shell

adb shell

su

a2sd reinstall

then when it reboots

a2sd cachesd

for terminal emulator

su

a2sd reinstall

then when it reboots

a2sd cachesd

don't forget to delete

/etc/init.d/02mountsd before you install d2sd or app2sd script
[Optimus One, P500 Original Android Development] andy572:
it is a simple thing: users here read only the latest thread page, ask dumb questions.

the reason ? simple: to lazy to read some page more. If so, they would know why they have a white screen.
[Optimus One, P500 Original Android Development] N_lover27:
Hows your RC 4.2 running now Andy?
[Optimus One, P500 Original Android Development] andy572:
currently not, i'm working hard on kernel - i'm backporting some stuff from

kernel 2.6.39 to let things better work.
[Optimus One, P500 Original Android Development] N_lover27:
I dont know much about codes. so i dont know what type of output you want to see.

here what I got

sh-3.2# busybox grep -rni mount /system/etc | busybox grep -v flex.db

busybox grep -rni mount /system/etc | busybox grep -v flex.db

/system/etc/vold.fstab:1:dev_mount sdcard /mnt/sdcard auto /devices/platform/gol

dfish_mmc.0 /devices/platform/msm_sdcc.1/mmc_host/mmc0

sh-3.2#
[Optimus One, P500 Original Android Development] avneeshp500:
can i use darktremor's apps2sd.! i prefer his version.

and his GUI version is awesome :)
[Optimus One, P500 Original Android Development] N_lover27:
use dtapps2sd-2.7.5.2-1-signed not the beta3 or 4 and follow the instruction after you flash the script
[Optimus One, P500 Original Android Development] avneeshp500:
okay thanx will try it out once i'm bored of CM7 by mik_os :D
[Optimus One, P500 Original Android Development] :
Not there. Try

# busybox grep -ni mount /*

instead.
[Optimus One, P500 Original Android Development] DJBhardwaj:
Best of luck then :)
[Optimus One, P500 Original Android Development] naturist:
Cant you get some of the patches from other dev sources ? I wanna see a perfect rom now. It was you who started the original GB thread. How can I forget that ? Your rom is excellent as always, but now make it perfect :D
[Optimus One, P500 Original Android Development] DJBhardwaj:
Lets give him some space to carry on his developments :)
[Optimus One, P500 Original Android Development] andy572:
Current state:

Backported block I/O complete from 2.6.39 kernel tree. its fast as before, but very stable

now. After some more patches i hope some I/O increase :D
[Optimus One, P500 Original Android Development] DJBhardwaj:
Great news :)
[Optimus One, P500 Original Android Development] Zerobarat1:
You were also talking about CPU improvements from the .39 kernel , are you noticing better battery life?
[Optimus One, P500 Original Android Development] franciscofranco:
Me and andy share a lot of patches and I can say battery life it's pretty awesome. I've patched 10/15 Power Management patches yesterday and I can confirm the battery life is awesome. I think andy will commit those patches as well after he's done with the I/O backports from the .39 kernel.
[Optimus One, P500 Original Android Development] DJBhardwaj:
You both make up a team, it will be perfect ;)

Thanks for the info :)
[Optimus One, P500 Original Android Development] onlymeipse:
@Andy: Maybe I've found a bug...

In the last period, sometimes when I call somebody or I get an incoming call, I can hear my interlocutor, but he cannot hear me... If I recall him it's all right...

What do you think about this?
[Optimus One, P500 Original Android Development] andy572:
have u tried my kernel or only franco's?

Nothing about franco's good work, but sometimes we dont have the same code - plz give it a try and report back here ;)
[Optimus One, P500 Original Android Development] DJBhardwaj:
I doubt, you are using franco's kernel ?
[Optimus One, P500 Original Android Development] onlymeipse:
Ok, I'll reflash the rom and let you know ;)

BTW I can hear also a echo of my words when I make a call...