yashsingh1/xdaforums huggingface dataset:
[Galaxy 3 Android Development] aliendna51:
Well, how about the bitpool setting on a2dp as a suggestion for improvement? The sound on bluetooth headsets is awful due to the bitpool setting.

Check this thread for a similar problem with S2 (apparently it's a common problem with android a2dp library). If you recompile the a2dp library code with a bitpool setting of 53 it seems to correct the problem.

I already tried changing the /etc/audio/bluetooth.conf file according to stevenz as described in the thread and it didn't change a thing...

If you can do that on the next version of g3mod kernel (along with the option to disable BLN) it would be great!

PS. dhirend_6d your dialer is awesome (but what happened to the black numbers dialer?) ;)
[Galaxy 3 Android Development] antaine:
If i flash OC kernel and don't use any app like set CPU what will be the default freq ??
[Galaxy 3 Android Development] moikop:
800Mhz, performance governor.
[Galaxy 3 Android Development] FadeFx:
I'd suggest to use ondemand as standard, this way the kernel could be used even without installing an app to change the governor and still have no battery drain.

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

tapatalked from GalaxyS
[Galaxy 3 Android Development] hillbeast:
For USB OTG, it just requires a lot more time than I have right now. GPU overclocking is very tricky as the way the system is set up, it seems the bus clock is linked to the GPU clock. Unless we can find a way to use a separate clock source for the GPU and for the rest of the bus, it doesn't seem very likely we can get it fixed.

Also adding higher definition video recording is also not likely. It may be possible with some modifications, but I cannot see it being possible as it is a limitation of the video encoding hardware. Encoding video in H.264 codec is extremely taxing on processors, hence why it is done by a separate piece of hardware, and the hardware that does this is rated for 320x240@15FPS. I don't think there is a way around this.

I will take a look at the bluetooth but I don't know how I can test it as I don't have a bluetooth headset.

---------- Post added at 10:03 AM ---------- Previous post was at 10:01 AM ----------

I tried that and the phone didn't boot. When I get a spare phone I will find out why.
[Galaxy 3 Android Development] mankokoma:
Wrote a little script for /etc/init.d/ (name it e.g. S77_gov.freq.sh) which changes governor from lagfree (max 800 MHz) to ondemand (max 400 MHz) when device falling to sleep and back to lagfree (max 800 MHz) when waking up.

Tested it for some days now. Was afraid of draining, but it does not...

#!/system/bin/sh
# Paths & Files
POW=/sys/power
STWAKE=/wait_for_fb_wake
STSLEEP=/wait_for_fb_sleep
CPU=/sys/devices/system/cpu/cpu0/cpufreq
GOV=/scaling_governor
MAX=/scaling_max_freq
MIN=/scaling_min_freq
UV=/UV_mV_table
ODEM=/ondemand
LFREE=/lagfree
SR=/sampling_rate
UTH=/up_threshold
DTH=/down_threshold
# Governors
AWAKE_GOVERNOR="lagfree"
SLEEP_GOVERNOR="ondemand"
# Undervolting
#echo "50 50 50 50 75 75 100 100 75 100 100 25" > $CPU$UV;
# Awake & Sleep Procedure
(while [ 1 ]
do
# when awake
AWAKE=$(cat $POW$STWAKE)
if [ $AWAKE = "awake" ]; then
echo $AWAKE_GOVERNOR > $CPU$GOV
echo "800000" > $CPU$MAX
sleep 1
# message to logcat
FCURRB=$(cat $CPU$MAX)
FCURRS=$(cat $CPU$MIN)
log -p i -t screenstate_scaling "Woke up and switched from $FCURRS to $FCURRB MHz"
AWAKE=
fi
# when falling to sleep
FBSLEEP=$(cat $POW$STSLEEP)
if [ $FBSLEEP = "sleeping" ]; then
echo $SLEEP_GOVERNOR > $CPU$GOV
echo "400000" > $CPU$MAX
sleep 1
# tune Ondemand to my best experience:
echo "80000" > $CPU$ODEM$SR
echo "96" > $CPU$ODEM$UTH
# message to logcat
FCURRB=$(cat $CPU$MAX)
FCURRS=$(cat $CPU$MIN)
log -p i -t screenstate_scaling "Fell asleep and switched from $FCURRS to $FCURRB MHz"
FBSLEEP=
fi
done &)

Commented out UV settings (different on every device - these work for mine).

I think it's a good alternative to Setcpu...

EDIT: Finally a PC keyboard to clean it up

sent from the desert with xda app
[Galaxy 3 Android Development] aliendna51:
I'd be more than happy to test it for you ;)
[Galaxy 3 Android Development] hillbeast:
I'm happy to have testers, the problem is when I'm doing lots of rapid testing, it takes forever to distribute them. Hence why sometimes when I am making test kernels you see a gap in the numbers. The test kernel count is up to over 100 now.
[Galaxy 3 Android Development] satishynd:
does flashing G3MOD_2.2.2_NON-OC.tar on stock 2.2 froyo would by default turn "off" BLN (i dont know what it is, but read it drains battery)... or is it not in our phone by default so i need not worry about it?

will flashing g3mod 2.2.2 non oc increase my battery??
[Galaxy 3 Android Development] bscraze:
You can try and it doesnt turn on by default unless u install the bln installer
[Galaxy 3 Android Development] unreal3000:
i thought so too.....usb otg will take far too long to develope.....even the sgs had a project like this but they still havent achieved much.

but im still convinced we can raise the video res.

pls do look into it....

tks for reading my suggestions hillbeast!
[Galaxy 3 Android Development] Silver_Johnes:
1. What's UV settings' order in this script?

2. If I want to use 200 Mhz at sleep I simply replace 400000 with 200000 or there is something else I should change?

3. How to get current cpu freq using adb/terminal?

4. My phone is frozing sometimes. Is there any log that I can read?

Thanks thanks thanks thanks!
[Galaxy 3 Android Development] mankokoma:
1. The UV settings are from 1200MHz most left to 83MHz to the right.

2. Yes, 200000 is right (but I think you will have Problems with listening music and being called - maybe then you have to wait 'for hours' until the phone responds..)

3. in Terminal or adb shell "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq" shows what's up right now.

4. I'm not sure what causes YOUR freezes. My phone freezes usually due to too much UV and sometimes it has been frozen, when I was messing around with unusual settings in the folder of LAGFREE governor. Others report instabilities with LAGFREE in general here.... I do not have this problem - it's running now for 30 hours without any problems.

You should also have a look in the scripts in /etc/init.d which affect memory settings (kickasskernel, Kyoratweaks, Kyrillos' tweaks, Juwe's ramscript or Zeppelinrox' V6Supercharger). If you got two or more of them, the kernel settings can be messed up....

I also had Problems until I changed the settings of "3G TurboCharger" in /system/build.prop to 'moderate' values.

Sometimes less is more ;)
[Galaxy 3 Android Development] hillbeast:
I had an idea similar to this but never took the time to implement it, but basically the idea is to add a similar system to this in the pre-init.sh or post-init.sh, and this will basically read settings from the SD card (/sdcard/Android/data/G3MOD/) and you can set overclocking upon boot.

But until then, I recommend people use mankokomas script here, just replacing values with what is best for their needs.
[Galaxy 3 Android Development] aliendna51:
And how would we know which ones are safe to delete? I made some guesses based on the content and deleted some, but maybe you or anyone with more experience than me could make suggestions :p
[Galaxy 3 Android Development] bscraze:
Swap script and kickass kernel script
[Galaxy 3 Android Development] Silver_Johnes:
It works flawlessly just as it should (poweramp)
[Galaxy 3 Android Development] vivekchamoli:
I have implemented it in my ROM the default cpu min n max freqency is set to 200mhz and 800mhz respt whenever any new oc kernel is flashed.
[Galaxy 3 Android Development] moikop:
G3Mod v2.3 is up!

I'll update the first post later...
[Galaxy 3 Android Development] FadeFx:
i am running now 34 hrs without charging (obviously not full cycle on 1.9), and am at 10% rest. so i can say this is awesome battery life, even my gf was amazed that the phone still has power...
[Galaxy 3 Android Development] satyamsit:
On charge for last 5 hrs .. still no notification of full charged.. its happening for last few times.. anything wrong with the phone??
[Galaxy 3 Android Development] cool.darshak:
How about reading this once?
[Galaxy 3 Android Development] DaBigFreak:
Well, this kind of setting up setcpu is kind of bull....it FOR ME!

To add something to the governour.

As advised I set up ondemand with 90% and 200 bias. That made my phone never reach the highest set frequency.

Beside that, I got good laggs, not realy funny to scroll aso.

So I set my own rules, conservative, 100000, 70 30 0 20, and look at this one. Beside the real sleeping I have realy nice performance, no lagging, just smooth and its used to be.

I realy used ondemand for a pretty long time, but till fugumod 1300 and the therefor caused heavy sound problems, I use now conservative. Nice set up, it realy combines both, battery saving and performance!

With ondemand: With conservative:

View attachment 716582-------------- View attachment 716583
[Galaxy 3 Android Development] mankokoma:
Makes me envious, you lucky one!

Would like to know what's wrong with mine. Changed nothing in software but the kernel...did you wipe batterystats.bin?

EDIT:

OOPS, Fast cool.darshak - TNX ;)

Thanks, I think I know most procedures on the issue and never had problems.

Just did not batterystats.bin wiping, because NEVER before it was necessary to me.... so I'm gonna try that and have a look
[Galaxy 3 Android Development] FadeFx:
actually i think wiping battery stats is just another placebo, after wipe the phone will build stats from scratch, this will take 2-3 cycles anyway.
[Galaxy 3 Android Development] DaBigFreak:
The trick for me is to disable any wireless features, than my battery just act as normal.

And, yeah the governour...^^
[Galaxy 3 Android Development] FadeFx:
we have 3g always on...
[Galaxy 3 Android Development] Sergiales:
Same happen to me

Maybe a bug?
[Galaxy 3 Android Development] cool.darshak:
i just gave an example in FAQs..thanks for sharing your setting :)
[Galaxy 3 Android Development] mankokoma:
Placebo - also my conviction... that's why I'm wondering what's wrong, but now try it with that....
[Galaxy 3 Android Development] hillbeast:
Use CWM, do a full backup, reflash everything, wipe your data and see what it does with only minimum apps that you essentially need and see how it goes.
[Galaxy 3 Android Development] mankokoma:
Before I'll do all that, gonna use 1.8 and wait for G3MOD-ROM v3.0 :D
[Galaxy 3 Android Development] zimbara:
should I enable undervolting in the 1.9 performance kernel?
[Galaxy 3 Android Development] cool.darshak:
Please do report back and let us know if your issue is resolved or not..we are happy to help :-)
[Galaxy 3 Android Development] rahulkucheria:
I'm on Kyrillos now coz G3Mod was slow and i flashed the tar of kyrollis.

Now i have installed 1.9 kernal and then wiped data and cache.

The g3mod system.img file is in the folder but still in recovery it says

No files fount.
[Galaxy 3 Android Development] Dharam_Maniar:
check the change in the directories...

it was previously at /g3mod/G3MOD_ROM

now it is at /g3mod/roms/G3MOD_ROM
[Galaxy 3 Android Development] satyamsit:
still its charging.. showing 4186 in batt info .. :( .. any idea?? 7hr passed...
[Galaxy 3 Android Development] DaBigFreak:
If the system is told that 4,0 volts are 100%, why sould the system charge any more? Its weared that it loads more than 4,0 anyhow^^

So, please, for the realy next kernel, put the 100% back to 4,2 volt! Who cares to have a drainage to 4,0, than stability, but I have that problem too that charging over >4,0 volts takes REALY long time!!!
[Galaxy 3 Android Development] Dharam_Maniar:
dude, remove from charging..your battery will get spoilt...

it doesnt matter if it shows battery full or no...

if the Battery icon shows 100% you are good to go...anyways...charging about 4000mV takes hell lot of time...
[Galaxy 3 Android Development] alen1901:
How's the battery backup on this 2.3?

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

Sent from Kyorarom Ascendency;

Don't be shy, press thanks to anyone who helped you in any way.. People appreciate that. :)
[Galaxy 3 Android Development] i_rnb:
it s goin good.. :)

-tapatalked by RnB
[Galaxy 3 Android Development] sidzcool:
I flashed 2.3 kernel but while rebooting i keep hearing the boot sound again and again.I went to recovery mod wiped cache and dalvik cache and tried again.. It booted fine but on reboot the same thing happened again:( ... pls help..
[Galaxy 3 Android Development] peter_baz:
boot in recovery,first wipe and the flash it via odin (.tar file)

i think it will be ok then
[Galaxy 3 Android Development] harkan89:
Will the 2.3 kernel support CM7 (Alpha 7)?? Or will that be a further update to the kernel after Alpha 7 release?
[Galaxy 3 Android Development] sidzcool:
wait i will try and let u know.. and should i wipe cache or wipe data ??

edit : i tried wiping cache...and flash via odin still same problem :(
[Galaxy 3 Android Development] bscraze:
Try backing up everything then do a factory reset.
[Galaxy 3 Android Development] i_rnb:
i dnt think..

team wld release a new kernel just after marcel released cm7a7 .. :)

-tapatalked by RnB
[Galaxy 3 Android Development] harkan89:
Damn.. It would have been nice if it were like that for all of us Non-Windows users.. :p If that were done, marcellusbe could have prolly uploaded just a system.img or something.. :)
[Galaxy 3 Android Development] aliendna51:
Just so people here know, the latest KMapp beta supports enabling/disabling BLN. That could be helpful to some..
[Galaxy 3 Android Development] antaine:
Can you explain me what is multidata because i didn't really understood it.

Thx in advance
[Galaxy 3 Android Development] LePeR1898:
Recreate the Hybrid2sd files that are on your sdcard
[Galaxy 3 Android Development] Urmas1:
What exactly you mean? Disable it and then enable again?

I have same problem.
[Galaxy 3 Android Development] i_rnb:
when multibooting b/w different roms , apps will b preserved.. & sumtimes for frequent multibooting boot time wld b minimized !! :)

-tapatalked by RnB
[Galaxy 3 Android Development] hillbeast:
Sorry, I need marcell to release the kernel first so I can see what has changed in it. Will take a few days after releasing before I can get G3MOD working on it. Until then, use Fugumod. It works nicely.

Multi-data allows the phone to switch between ROMs that don't support using the same data (ie CM7 and Samsung firmware) without wiping data, and it does this automatically if you have enabled it.

Wipe dalvik-cache is what he means.
[Galaxy 3 Android Development] antaine:
Now G3mod is compatible with ICS can somebody upload a system.img.

Thx
[Galaxy 3 Android Development] harkan89:
Lol.. Not an issue.. Just wanted to know if Marcell had given you guys a test kernel or something so you could get the G3Mod kernel ready by then.. Wouldn't have had to hunt for a Windows then :p
[Galaxy 3 Android Development] sidzcool:
i tried that but still i get the same problem when my phone reboots..i tried factory reset to.. but still same problem
[Galaxy 3 Android Development] Urmas1:
You didn`t follow - the problem is that every restart requires wiping dalvik - otherwise you stuck in boot logo. Must be something to do with Hybrid. Question - if I backup data in Multiboot/backup, change Hybride settings and after that restore data, will I have old Hybride settings back again? I suppose I will and then backing up does make non sense. Any Ideas how to solve without reflash?
[Galaxy 3 Android Development] hillbeast:
No he hasn't. I am in no rush for it anyway as I don't use CM7 and while I have huge respect for it, I don't plan on using it until it is in beta as I need to be constantly debugging Kyorarom.

Use adb shell (yes I mean adb shell, not Terminal Emulator), and do this:

rm -r /sdext/dalvik*
rm -r /intdata/dalvik*
rm -r /data/dalvik*
reboot now

Disable dalvik-intcache then. It's known to be buggy and I haven't had time to debug it yet.
[Galaxy 3 Android Development] koko008:
I wiped dalvik and cache, flashed 2.3, wiped those two again (better safe than sorry :D), and works flawlessly. I also installed the lates KMApp beta, which has the option of enabling and disabeing BLN, and configurable compcache (I turned compcache of - I'll test it for some days, whether is better or not).

All-in-all, great work again, thanks! :)
[Galaxy 3 Android Development] andreapier:
Sorry but i think that KmApp's feature to enable/disabke BLN is not working as the file i use to manage it is not quite the same as it should be. It's safer for you to enable and disable bln by yourself. Sorry but i canot fix this until my phone comes back from warranty (this can take a lot of time in Italy)
[Galaxy 3 Android Development] satishynd:
err.. i have just one question...same as my other posts related to battery prob..

which version should i flash on my stock froyo for better battery backup?

"G3Mod ...073 test kernel or 2.3 or 1.2 ??"

my main and sole concern is battery backup... i'm having a very very terrible battery backup of not more than 10 hours without usage and 4-5hours with usage..
[Galaxy 3 Android Development] NishantM:
How old is your phone? Maybe its the battery that's the culprit.
[Galaxy 3 Android Development] satishynd:
it just went out of warranty.. ie 1 yr complete some days ago...

might be battery went bad.. but samsung ppl say it is good.. i don't know.. and i can't find a good reliable site to buy from...

it just got permanently stopped on flipkart...
[Galaxy 3 Android Development] mohsin2cool:
Goto ebay,u may get battery thr at affordable price.

sent from my cool sg3
[Galaxy 3 Android Development] satishynd:
hm... okay still ... which version should i flash on my stock froyo for better battery backup?

"G3Mod ...073 test kernel or 2.3 or 1.2 ??"

just for information..
[Galaxy 3 Android Development] vonuzu:
USB OTG?

Is it possible to use USB OTG on the G3 using this kernel? If not, then do you plan to implement this option in the G3MOD kernel?
[Galaxy 3 Android Development] hillbeast:
I tried getting it going ages ago but there are some drivers I need to figure out first before I can do it right and I have more important things to work on unfortunately.
[Galaxy 3 Android Development] V!KR@M:
Friends, in v2.2.2, is the conservative governor working fine for everyone??

For me, after sometime use, the max frequency automatically sets to 83hz and becomes laggy. Then i go in setcpu and try to set it to 800. But the value shows as 83 only even though the slider is moved. Then again i have to set it to performance and increase the value. I dont have any problem with performance governor. only problem is with conservative. I doesn't know why. Can any one tell me why this is happening??

Thanks
[Galaxy 3 Android Development] vonuzu:
Well thats a bummer.. i really wanted this.. well ill keep on waiting :)

Thanks for the answer..

PS. Do you know anybody from the developers to be working on this?
[Galaxy 3 Android Development] koko008:
Actually, it's not a big deal for me, I have i5800 :)
[Galaxy 3 Android Development] Ano59:
Hey guys.

I got an annoying problem right now.

I used to run under Indroid v6 + G3mod kernel (an old one) but my ROM was discontinued.

So I just switched to CM7 alpha 6 ( http://xdaforums.com/showthread.php?t=1101218 ). It seems to work.

I flashed then the latest G3mod kernel : G3mod 2.3.

The device boots fine.

But when I try to reboot it in recovery, it show "GT-i5801" as usual, then the G3mod loading screen...and is stuck at this screen. So CWM recovery never shows up.

And then, the device is completely un-bootable. Every time I try to boot it (normally, or to recovery, or to download mode) it is stuck in this G3mod loading screen (with the gray progress bar full).

Fortunately, when the device shows "GT-i5801" I'm able to flash it so it isn't bricked. But I'd like to figure out how I could make CWM work... :/

Thanks.

P.S. : My device is a Galaxy NAOS / GT-i5801.
[Galaxy 3 Android Development] appajodu:
Friends,

I am using 2.3 Non-OC . It seems my battery drains fast when i am on call or using internet..

Tried clearing cache, still same issue..

Any ideas and suggestions ?
[Galaxy 3 Android Development] Mohanshbhr:
Flash g3mod 2.2.2 ,in 2.3 there is some problem with recovery with cm7
[Galaxy 3 Android Development] Arakmar:
When your phone is stuck at the G3MOD screen, does adb work ?
[Galaxy 3 Android Development] Ano59:
No, ADB doesn't work when it was stuck at this screen, even if my computer detected the phone.

And Odin detected the phone during the "GT-i5801" screen.

Thanks, it worked ! :D
[Galaxy 3 Android Development] satishynd:
same for me...

although i'm having so problem on other kernel's too still battery drain on 2.3 g3mod non oc is more than others..

also

when i play doodle jump.. it's playing it slow..and pretty shaky.. it was playing fine on stock kernel

i even set performance in setcpu .. still it's playing slow
[Galaxy 3 Android Development] hillbeast:
I believe a group of people tried doing it to the Galaxy S, but I don't think they were successful.

This is a known problem in 2.3. I shall take a look into it. I believe I know what it may be.

Go back to G3MOD 2.2.2 until I can fix this.

Also @moikop, which version of GCC are you on?
[Galaxy 3 Android Development] Arakmar:
@hillbeast:

There is some problem in recovery handling in G3MOD.

We have to run the recovery with the froyo init even if GB or ICS is detected.

With the new ICS init, the recovery won't even boot.

Concerning ICS support, I'm currently working on getting this new init to work on G3MOD because in 2.3 it's the GB one (some issue with drm service) ...
[Galaxy 3 Android Development] sohail77:
Does v2.3 have better battery life than v2.1 and is it smoother than v2.1
[Galaxy 3 Android Development] V!KR@M:
I am using v2.2.2 and I think something is wrong with conservative and ondemad governors. Is any else facing it?

For me only performance seems working fine:(
[Galaxy 3 Android Development] moikop:
What kind of problems for example? :rolleyes:
[Galaxy 3 Android Development] V!KR@M:
When its in conservative (Max at 800, min at 83), then after sometime the Max automatically sets to 83 eventhough Max slider is at 800. At this point, even if we increase the slider, the Max doesn't change from 83. Then for fixing this, ill have to set the governor to performance and then move the slider.

And when the governor is on demand, I had set alarm to 7.30 a.m in the morning. I woke up at 9a.m and saw the phone. The phone is freezed at 7.30 a.m( I.e. the alarm time)
[Galaxy 3 Android Development] TearsDontFalls:
I think battery life is good, but it can be improved. Are someone working on this?

<off-topic>

Whats happened with dharamg3? Has he no more time? Sorry, I wasnt active all time in g3mod thread.

</off-topic>
[Galaxy 3 Android Development] radek.god:
so best battery time is still at 1.6 Performance ? ...
[Galaxy 3 Android Development] hillbeast:
This is very odd. I'd flash the ROM and kernel again via ODIN.