yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace S5830 Original Android Development] benna:
Jumps

I know people have asked this before, but please look into it again. on v1.6 the battery drops are big and strange. Like on my s5830 it wil drop to 79 in 10 mins and stay ther for long. then drop to 45 and stay. the to 14% and stay there for hours and hours. (Cant use camera)

Please make it smoother, cos if my battery shows 50%, i know its not 50%. Please fix

S5830.

BE 1.6

Adrenalin engine 4.4

The Myth2
[Galaxy Ace S5830 Original Android Development] imranaryan:
i lost root after flashing 1.6 on my ace
[Galaxy Ace S5830 Original Android Development] msnnsm:
+1 you are right battery percentage is very unstable
[Galaxy Ace S5830 Original Android Development] codeknight11:
Also if you check battery information by typing *#*#4636#*#* in dialer, there's a huge difference in the % shown there and the remaining battery level shown in status bar :/
[Galaxy Ace S5830 Original Android Development] benna:
any update? more smooth battery drops and spacekernel......is it better than BE?
[Galaxy Ace S5830 Original Android Development] LibiSC:
I bought a nexus 4... it should arrive in 2 weeks..... the only change i made wa to include supersu keeping the boot image working.... i'll upload it later if someone is interested
[Galaxy Ace S5830 Original Android Development] alex_is_the_1:
If this works on cm7 I'm interested
[Galaxy Ace S5830 Original Android Development] caronaakk:
Same problem
[Galaxy Ace S5830 Original Android Development] prozac:
have the same Problem like the user above me :crying:
[Galaxy Ace S5830 Original Android Development] ricknane:
1.5 kernel bugs

in my little experience the best combination that i ever had is the Rom last myth (3) plus de 1.6 battery extender kernel, before, i had THE 1.5 BE kernel , and close then rebooting ocurs all time. I´ve got a samsung galaxy ace . i Hope this will help.

:laugh:
[Galaxy Ace S5830 Original Android Development] qashqool:
Hi rick, I have lastmyth, flashed 1.6 battery extender kernel, but cant see if something happened. How do I know that is working?:confused:
[Galaxy Ace S5830 Original Android Development] panciosky:
[q] battery extender for nexus 4!

Hi LibiSC, when I had the galaxy ace, i tried your kernel and I can say that it is a rock! Fast and with a good battery life ... after reading your fix for the Franco kernel 134, I realized that you have bought a Nexus4! So the only thing I would like to ask is ... when your kernel!? ?? :D:D:D:D
[Galaxy Ace S5830 Original Android Development] qashqool:
Hi, only I had to do was look at kernel :o

Must have done something wrong, cause phone became laggy, performance (antutu) drop dramatically, battery didnt improve much.

Flashed rom again, maybe i'll try again later
[Galaxy Ace S5830 Original Android Development] Thirumalai.K:
If I am not wrong, there is no problem with the supersu or your kernel.

I have recompiled all of your versions with supersu before some months with working boot animation. If some one intrested I will post all the versions.

Personally I don't prefer boot animation to reduce startup time.
[Galaxy Ace S5830 Original Android Development] Blackbox421:
Is there int.d support on the BE v1.2? Cause I couldnt install int2ext :(
[Galaxy Ace S5830 Original Android Development] Viper The Ripper:
Yeah! There is, of course ;)

As far I know, Stocklike 7.1 has BE1.2 kernel so yes! it has an init.d support ;)

IMO BE 1.5.1 is better than 1.2, it has more availables CPU frequencies ;)
[Galaxy Ace S5830 Original Android Development] Blackbox421:
Really? I though people were complaining about big battery drops in the newer versions..
[Galaxy Ace S5830 Original Android Development] Viper The Ripper:
Not in my case... you should try BE 1.5.1 by yourself ;)

Galaxy Ace battery life is 5 ≈ hours of screen ON with a normal usage, so you can use this 5 hours distributed as you like ;)
[Galaxy Ace S5830 Original Android Development] sharingan:
sir would i be able to flash intext+ and then fly on mod after flashing tis kernel on ace running stock 2.3.6
[Galaxy Ace S5830 Original Android Development] Blackbox421:
Why not?
[Galaxy Ace S5830 Original Android Development] sharingan:
i am using px recovery and i think i am not able to flash intext due to it i first flashed on stock kernel but it didnt work after that i flashed battery extender kernel and even after that it didnt work it get flashed but in apps it shows same internal memory 153 mb and earlier it showed 250 mb after flashing script i also tried this after flashing nims kernel but it didnt work and it worked earlier

now i am downloading latest mardon stable cm 10.1 after i revert i will use cwm

thanks for answering and have a thanks man
[Galaxy Ace S5830 Original Android Development] Viper The Ripper:
Of course!

Int2ext scripts work fine with BE kenel... even with ALL custom kernels with an init.d support ;)
[Galaxy Ace S5830 Original Android Development] sharingan:
first i installed stock 2.3.6 then i rooted my phone and then flashed recovery after that i mounted data and system and flashed intext+ script and when i rebooted my phone i didnt see inc in memory but my superuser icon disappeared
[Galaxy Ace S5830 Original Android Development] Viper The Ripper:
...you need a CUSTOM KERNEL (init.d SUPPORT) to use int2ext script / (or enable init.d folder)....

Install a custom kernel before flashing any script
[Galaxy Ace S5830 Original Android Development] devm2024:
I faced error while flashing:

Kernel flash failed.

No zImage was found

Help. I was flashing 1.6 version
[Galaxy Ace S5830 Original Android Development] Viper The Ripper:
Which rom are you using??... Battery Extender kernel is only for STOCK roms
[Galaxy Ace S5830 Original Android Development] devm2024:
I am using stock based custom rom SGS III by spacecrakers
[Galaxy Ace S5830 Original Android Development] Viper The Ripper:
weird

Try to download again the file, maybe it's corrupted, but SGS III/IV rom already use BE kernel
[Galaxy Ace S5830 Original Android Development] devm2024:
Deep Sleep Issue

Ok I have successfully flased BE1 version. Other versions are not working.

But I cant see my mobile going into deep sleep in cpuSpy

In five minutes, battery voltage is down from 4200 to 3900mV

Can any one suggest me any solution?
[Galaxy Ace S5830 Original Android Development] niket09011994:
Will it support link2sd if i use it with deodexed stock??

Sent using xda app-developers app
[Galaxy Ace S5830 Original Android Development] userprince:
Yes Of course!
[Galaxy Ace S5830 Original Android Development] amrith.28:
just to clarify, this mod actually increases the life of the battery (from a hardware point of view) ? and does not actually increase battery-usage-time right ?
[Galaxy Ace S5830 Original Android Development] codeknight11:
Ok. It flashed successfully and I checked phone info and I see your name there. I am fully charging my battery now. I will test battery life tommorrow and let you know. Hope I dont wake up to see a blown up ace :P
[Galaxy Ace S5830 Original Android Development] LibiSC:
It's alpha. I have not messed with voltage yet. It's just for a more accurate reading of percentage.

I've been working in a compare chart in excel to show the differences better before changing source.
[Galaxy Ace S5830 Original Android Development] tossan:
Then you should reconsider to jump onto the CM train. Because Samsung stock kernels/roms do have already a good battery running time. The CM builds on the other hand suffer under massive battery drainage. What you can do though is to learn from Samsung and apply the knowledge to the CM source. ... :D

With your determination you may get the official title of "Cooper Kernel Master of CM" one-day after raising the cooper kernel number to 3.0! ... ;)

Btw, did anybody already has proven, that the battery drain on CM is located in the kernel and not somewhere in the base framework?

Nice to see such lively action and open discussions on this topic!

[xXx]
[Galaxy Ace S5830 Original Android Development] madman:
there is nothing bad if stock roms get some extra batt life :p

and for cm sources thing cm actually uses samsung sources itself and files provided by them.. just some difference to get them working on aosp things..

so battery drainage may not in battery itself as far as i got
[Galaxy Ace S5830 Original Android Development] dragonnn:
Can someone without make a log about charging the phone. I have made a small script that logs the battery voltage changes to sdcard http://dl.dropbox.com/u/1664131/battery-monitor.sh download it, then launch terminal emulator and type:

su
cd /sdcard
sh battery-monitor.sh

And let the terminal open when the battery charges, then post on forum the /sdcard/voltage.txt on the forum. And think it will by usefully to have such log. On the new driver the battery charges to 4200mV and the goes down to ~4194mV and charges again to 4200mV, and I don't know that it's correctly.
[Galaxy Ace S5830 Original Android Development] madman:
afaik it should be that way only as it is thing which prevent bursting phone charging overnight [overcharging]
[Galaxy Ace S5830 Original Android Development] LibiSC:
I was talking about that.

There are two values voltage normal and voltage recharge.

The voltage that comes from power source is less that the one used to calculate percentage.

They make a formula so the voltage used to calculate percentage is approx 30% more than actual battery charge.

I think this to avoid sudden changes of voltage. I read that the safe value is 25% but they used 30% I'm planning in changing that.

And when calculating percentage they used a value lower that 4200 for max,i just leave that way cause the difference wasnt big.

Battery doesnt mantain at nominal 4200, when it reaches this value closes circuit. When the value diminish a little it starts charging again.
[Galaxy Ace S5830 Original Android Development] tossan:
Can't confirm this. My battery charge stays constantly at 4200mV.

ROM: CM7-rc1

/mnt/sdcard # tail -f voltage.txt
4063 mV Thu Apr 12 20:48:03 CEST 2012
4062 mV Thu Apr 12 20:49:03 CEST 2012
4058 mV Thu Apr 12 20:50:04 CEST 2012
4056 mV Thu Apr 12 20:51:04 CEST 2012
4199 mV Thu Apr 12 20:52:04 CEST 2012
4200 mV Thu Apr 12 20:5[COLOR=Red]3[/COLOR]:04 CEST 2012
^C
/mnt/sdcard # date
Thu Apr 12 20:5[COLOR=Green]7[/COLOR]:48 CEST 2012
[Galaxy Ace S5830 Original Android Development] LibiSC:
This was before or after the FULL notification appeared?
[Galaxy Ace S5830 Original Android Development] dragonnn:
Hmm interesting, but I think you should wait longer. But after one "voltage drop down" now it stays over half hour on 4200. The charging process is really better, no suddenly percentages up jumps:D.
[Galaxy Ace S5830 Original Android Development] mdfzhi:
afaik it shouldnt show 4200mv, real voltage is 4140mv for full charge as define by the kernel

#define BATT_RECHAR_VOLT	4140

if(batt_volt >= BATT_RECHAR_VOLT) //100%
{
scaled_level = 100;
[Galaxy Ace S5830 Original Android Development] LibiSC:
His script is reading values from mms i suposse. Values there will always show that value cause of this.

if(vbatt_adc >= BATT_FULL_ADC)
{
batt_volt = BATT_FULL_VOLT;
}

But in real functioning power is cut.
[Galaxy Ace S5830 Original Android Development] dragonnn:
I think this only shows when then battery voltage is over BATT_RECHAR_VOLT that it is full charged (means battery indicator shows 100%), but it doesn't stops the BATT_FULL_VOLT stops the charging process. I am right?
[Galaxy Ace S5830 Original Android Development] LibiSC:
You can uncomment this part of the code

printk("[Battery] %s : charger_status = %s, charger_type = %s,"
" batt_volt = %d,batt_level = %d, batt_temp = %d, CHG: %d FUll : %d TIME : %d \n", __func__,
charger_status[msm_batt_info.charger_status],
charger_type[msm_batt_info.charger_type],
msm_batt_info.battery_voltage,
msm_batt_info.batt_capacity,
msm_batt_info.battery_temp,
gChg_connect,gFull_chg,gTimer);

line 1976

You will see debug info in logcat or dmesg.

And enable Battery debug in make menuconfig
[Galaxy Ace S5830 Original Android Development] LibiSC:
I think i fixed the V showed instead mV bug.

Please compile a new one with the source in attachment
[Galaxy Ace S5830 Original Android Development] dragonnn:
True, it really works:). You should get the title "Ace battery master":D. Here some screenshot:

And new zImage based kernel with cooper_battery 1.1 http://dl.dropbox.com/u/1664131/zImage-Mod.v1.5+Battery_patch1.1-sign.zip enjoy:p.
[Galaxy Ace S5830 Original Android Development] LibiSC:
I put your file in OP till i can compile. Hope it's ok.
[Galaxy Ace S5830 Original Android Development] subscope:
nice one ;) Thank you for sharing it ;) dragonnn what is this app to see battery's info?
[Galaxy Ace S5830 Original Android Development] iandol:
Great teamwork guys, the wrong voltage number always annoyed me about the Ace battery stats -- keep that battery mastery going!!!
[Galaxy Ace S5830 Original Android Development] consegregate:
Another speculation: It seems that the battery can go down during sleep but when it wakes and you use it, the battery percentage refreshes and it drops a whole load of numbers.

This is for the original kernel. Shall see if your modifications changed anything!
[Galaxy Ace S5830 Original Android Development] encik_racun:
Mount/system first or just flash it?

-sent from my haramjadah Ace using xda premium-
[Galaxy Ace S5830 Original Android Development] LibiSC:
Do adb shell.

Then logcat and you can see the battery service running
[Galaxy Ace S5830 Original Android Development] LibiSC:
just flash it
[Galaxy Ace S5830 Original Android Development] FinnAndJake:
this is dedicated DEV. while 'someone' trying to act smart,critics,condemn him, he just go for it and ignore 'em. i cant donate you but thanking u for such innovative work
[Galaxy Ace S5830 Original Android Development] encik_racun:
Dude, u have to add link from dragonn to OP, coz the attachment is not working...it only download a 500+kB file...which is empty zip :)

Edit: working link from dragonn

-sent from my haramjadah Ace using xda premium-
[Galaxy Ace S5830 Original Android Development] xarive:
Having bootloop at android on cm 7
[Galaxy Ace S5830 Original Android Development] encik_racun:
Do u use any cpu script? Like lagfree maybe?

If this kernel base from zimage mod by anonymous i think have to follow zimage mod method...delete any jumbu mumbo script on init.d to make it working...and disable cm performance setting and disable setcpu app before flash it...

-sent from my haramjadah Ace using xda premium-
[Galaxy Ace S5830 Original Android Development] encik_racun:
Any reports on how long it stand guys? I just flash it hour ago...

-sent from my haramjadah Ace using xda premium-
[Galaxy Ace S5830 Original Android Development] codeknight11:
I tested it and it works great. Thank you libiSC and dragoon. No more battery jumps :D
[Galaxy Ace S5830 Original Android Development] gengi:
Tested it on miracle rom. I had 19% of batery left and after flash went to 34%. Hope this is good. :-)
[Galaxy Ace S5830 Original Android Development] LibiSC:
dev update: I managed to made one flashable for stock roms with ketut's tools. But when i tried to did it again with a newer zImage didn't work :(... I'll try again later with more energy. Yesterday when testing i was zombie.
[Galaxy Ace S5830 Original Android Development] gengi:
A dev zombie is a bad... Zombie. :p

All dev need to sleep sometimes (i think) lool... Continue with the good work. ;)
[Galaxy Ace S5830 Original Android Development] tossan:
Jup ... I can feel yah! ... :o

Wanted to be smart and abuse the recovery image for AnyKernel testing to give you a helping hand here. I issued the commands on the running system in the adb shell and intended to pack your zImage into the dumped recovery.img and flash it (flash_image recovery). But I'm also stuck in the regular AND recovery boot loop. Thought messing with the recovery alone shouldn't have any effect on the regular system. Just recovered from Odin ,,, :D

Btw, the boot loop wasn't caused by your kernel in the first place. To cross this one possible error source out, I tried with a stock kernel (NEE-version) first. But there I got already stucked. :mad:

EDIT:

One lesson learnt though on the process:

dump_image from the AnyKernel package does nothing on the ACE. I dumped the boot and recovery images with:

busybox dd if=/dev/block/bml8 of=boot.img bs=4096
busybox dd if=/dev/block/bml9 of=recovery.img bs=4096

[xXx]
[Galaxy Ace S5830 Original Android Development] LibiSC:
Flashing recovery was indeed risky xD.

Without the dump is very similar to ketut's but i think one of the parameters has to change for ace.

Now with ketut's file i got stuck in SGH-5830 logo. Once worked but i needed to update the source. Compile like 3 times using same method. Even with default config. I will extract the kernel again and compile it. If it fails again then i'm packaging something wrong.
[Galaxy Ace S5830 Original Android Development] encik_racun:
Wohoo...i experiance the jump now, while typing this...from 100% drop to 89%

This is the first morning i try the kernel...dunno if its the effect of a calibrate, coz first full charge i delete batterystat.bin

-sent from my haramjadah Ace using xda premium-
[Galaxy Ace S5830 Original Android Development] nomiset:
Still experiencing jumps.....

Galaxy ace X Miracle V2.
[Galaxy Ace S5830 Original Android Development] encik_racun:
Ahh...i'm not the only one :)

What is your default governor? SmartassV2?

-sent from my haramjadah Ace using xda premium-
[Galaxy Ace S5830 Original Android Development] xarive:
Yup. Fully charged this morning and when screen on, jump merciless to 86 percent

Sent from iPhone
[Galaxy Ace S5830 Original Android Development] CallMeVentus:
I'm pretty sure only one report is needed .

Defy-ing all limits.
[Galaxy Ace S5830 Original Android Development] encik_racun:
:D u the one that condeming OP in the first 2 page...now he made it

Salute to LibiSC!

-sent from my haramjadah Ace using xda premium-
[Galaxy Ace S5830 Original Android Development] LibiSC:
I can't understand your comments.... Are you being sarcastic??

As it says in OP after disconnecting power percentage may drop fast because it only charges till approx 70%, It's not that it reads it bad, it's that power drops very fast, after that readings must be accurate.

Next change will be changes in real voltage... as it says in previous posts... there is a real voltage and a nominal voltage
[Galaxy Ace S5830 Original Android Development] nomiset:
Yeah

Galaxy ace X Miracle V2.
[Galaxy Ace S5830 Original Android Development] encik_racun:
So, accurate is at 70% and below? so its normal to drops from 100% to 89%?

Just ignore him, hes always condeming people at almost all thread on xda...sarcastic yes he is...

-sent from my haramjadah Ace using xda premium-
[Galaxy Ace S5830 Original Android Development] LibiSC:
I can't tell for sure cause i haven't tested it yet cause i don't have cyanogen. But in theory drops down can be caused by that. Also battery stats are needed...

It's an alpha version.. not even beta so please lower your expectations a little bit
[Galaxy Ace S5830 Original Android Development] Rishris:
What the hell is your problem? why are you soo ****in self-obsessed? You havent made any ROM's yet or done anything great yet, have you? You made a super-flop AOSP port. If you cant do it, doesnt mean others cant do it either. Dont try to bring down the confidence of other devs. I used to like you earlier, not anymore. And stay in your limits kid, there are many developers here who are elder to you. Respect them.
[Galaxy Ace S5830 Original Android Development] Rishris:
Dont get disheartened by comments from fools. I tested this on official CM7 and it works great. Readings are very accurate. Great work :D
[Galaxy Ace S5830 Original Android Development] xarive:
I think he meant just one put of three of the same issue only needed. others considered as spam. but well, if only one guy reporting what's the meaning of feedback? be smart are good but don't pretend to be smart.

Sent from iPhone
[Galaxy Ace S5830 Original Android Development] LibiSC:
Now i didn't get this part

"be smart are good but don't pretend to be smart. " xD

That's why i asked... I don't really know how dev threads should function around here.
[Galaxy Ace S5830 Original Android Development] xarive:
that quote is not for you xD

Sent from iPhone
[Galaxy Ace S5830 Original Android Development] encik_racun:
I think i know uts for who :)

Wonder why he dont want people report for error? Maybe he is too damn good dev...

-sent from my haramjadah Ace using xda premium-
[Galaxy Ace S5830 Original Android Development] musf:
chill down man, he means for that emo guy..

u are a great dev, plz continue the work, u are our hope for better battery life.. :)
[Galaxy Ace S5830 Original Android Development] encik_racun:
Yes! That emo guy always start flame...

-sent from my haramjadah Ace using xda premium-
[Galaxy Ace S5830 Original Android Development] Prawesome:
Get your facts straight before abusing someone like that...

Sent from my fingers to your face,take it or leave it.
[Galaxy Ace S5830 Original Android Development] tossan:
Oh, I see. TeamC pack is on the hunt again together!? ... :D

If you're feeling so inclined, please feel free to open a flaming thread in the General section or unload your frustrations in the "Official Off-Topic" thread. Nobody is forcing you to read the comments in here. Leaving no comments is always a better option than unloading non constructive ones.

@LibiSC

At last got your kernel up and running and being also stucked at the Galaxy text. adbd on the device seems to be started. But the "adb shell" command only reports back that "/system/xbin/sh" couldn't be found. So I guess the system partition is not mounted properly but the kernel and ramdisk is loaded anyway.

A simple "flash_image boot original_boot.img" in the recovery shell brought back the device to live.

I'm no kernel hacker. But debugging the kernel without at least some fundamental logging capabilities like logcat or even dmesg is a great hindrance.

What I can think of is though to make a special boot image for goldfish (android emulator) and see, if you can get some message back from the fish? ... ;)

Or revert back to ketuts stock kernel patches and see if that kernel succesfully boot?

[xXx]
[Galaxy Ace S5830 Original Android Development] LibiSC:
i'm using ketut's way to pack the boot.img and flash it. But always got stuck in galaxy ace logo.

Tried to pack and unpack the same boot.img and flash it and worked so my zImage is failing.

I just left config by default with make cooper_rev03_defconfig and compile it. i didn't change any code. Just compiled until one flashes. Tried 3 different arm compilers.

Maybe it's the source i'm using coolya's source
[Galaxy Ace S5830 Original Android Development] tossan:
Isn't coolya's source is for CM only?

Did you try to extract your /proc/config.gz from the stock rom you're currently using and apply it onto the Samsung stock source code?
[Galaxy Ace S5830 Original Android Development] CallMeVentus:
By bashing me , you guys can't tell that I know he is genuinely trying to develop for this phone ? -_- a VERY helpful bunch indeed
[Galaxy Ace S5830 Original Android Development] mdfzhi:
coolya source is outdated and buggy. cm torch wont work with it, and capacitive button will lights up ramdomly.

try ketuts blackhawk source if u want cm kernel without any extreme modification. my source is rather not too stable because of many dirty workaround implemented :p
[Galaxy Ace S5830 Original Android Development] Prawesome:
I don't get you? I have been staying away from the thread to keep it clean.I read this thread everyday,because i am looking forward to this project.I never flamed anyone here.I was asking the above Guy to get his facts straight,meaning WHAT,he said that AOSP was a port,it isn't.You need to read my post clearly before making statements like these.If i had any knowledge with kernels or scripting,i would have helped out LibiSC with what i could,myself.Really don't get why people make such a fuss about a simple post which was asked a Guy to get his facts straight...

Sent from my fingers to your face,take it or leave it.