yashsingh1/xdaforums huggingface dataset:
[Galaxy 3 Android Development] milence92:
soo i dont have to wipe data and cache when switching between kyrillos rom and cm7?

and i read something about kernel change via update.zip? do i have to do that also and how is it done?
[Galaxy 3 Android Development] wladca:
Beta 2 OC have max 1200 MHz ? Thats`s good :) Thanks.
[Galaxy 3 Android Development] hillbeast:
Don't need to change the kernel and you don't need to wipe data. Just enable multiosdata. Guide on the first page.
[Galaxy 3 Android Development] DaBigFreak:
I cleaned my whole phone memory, internal and sd-card, flashed clean Kyrillos8.0, REFLASHED g3mod2.0final, and voila, no battery draining! Sure, with wifi it goes faster down than offline, but thats normal! :-)

So, I guess, just updating from previous kernels to 2.0final just dont do it. Maybe its a Kyrillos ROM problem, not deleting everything thats needed.

I swiped everything away with CWM, formated what I could, now it just runs as it should, seems I am 2 days+ online with mobile data connection (GPRS only), 1200-400MHz, screen off 83-600, still ondemand, cause the others do weird stuff (hanging for some seconds on one frequency, hanging on 83MHz is a pain :-P)

So, how about realy auto-clean the part that is going to be overwritten? Flashing Kyrillos made formatting itself, didnt it? So what if kernel flashing will also format (write 00!) the parts, where the new stuff will be placed?

MAYBE, its all about the sd-card, that has used before with data2sdv2, then just switched to hybriddata2sd, where the system is onfused, because of not wiping the sd-ext partition. Is that done in ANY way? I mean, in the while conditions in the hd2sd script, is there anything included, that realy formats the sd-ext completly clean, so that all this isnt confused?
[Galaxy 3 Android Development] hillbeast:
I will give my phone a full wipe down then. If this works then I will make a TAR for completely wiping the system/data/cache so people can give their phones a 100% clean up.
[Galaxy 3 Android Development] psiva2010:
Help!!!

Hi Can explain us with step by step procedure do what u did we also try the same.:):)

Thanks for your effort.:D

Siva.
[Galaxy 3 Android Development] radek.god:
will it work with all partitions set to RFS , except sd ext set to ext 4 for example ?
[Galaxy 3 Android Development] Vic 17:
one question:

what is the version of CWM recovery?
[Galaxy 3 Android Development] Smonic:
It's g3mods custom recovery
[Galaxy 3 Android Development] Vic 17:
so it don't have a base version? (2 or 3+)
[Galaxy 3 Android Development] rubensollie:
It is based on 2.5, but Dharam and the g3mod team changed it a little.

(sorry if i'm wrong)
[Galaxy 3 Android Development] TheCreat:
So you're seriously not using something like git for a project this size? You could just check out the appropriate state and make a diff in that case...

I'd go insane without having this possibility and backup to be honest :D
[Galaxy 3 Android Development] hillbeast:
2.5. I want to update it to 4.0 in the near future because 2.5 is holding us back a little, but the problem with 4.0 is that it doens't support old update.zips, only edify based ones.

We use GIT.

https://github.com/dharamg3/g3mod

Been there for months.
[Galaxy 3 Android Development] fuxmen:
:( my battery was drained over night from 66% to11% :-O with no use and activity, I have never seen something like this please do something about this in2.1

send from galaxy 3@cm7.1
[Galaxy 3 Android Development] TheF3nix:
Use G3mod beta 2 OC
[Galaxy 3 Android Development] moikop:
Do you have a screen-off profile?
[Galaxy 3 Android Development] Mohanshbhr:
I have screen off profile my battery also draining fast
[Galaxy 3 Android Development] fuxmen:
I don't know if I can use it because I'm using hybrid data2SD

And I haven't use setcpu but this was no problem with beta

send from galaxy 3@cm7.1
[Galaxy 3 Android Development] TheF3nix:
It's alright! trust me im using beta 2 also. Working great
[Galaxy 3 Android Development] hillbeast:
Okay this battery drain issue is really bothering me, because I legitimately changed nothing that could effect battery drain from G3MOD 2.0b2 > G3MOD 2.0 Final. The only change was fs.convert, but even disabling that it's no better.

Even spending a day of just relaxing gave me no epiphanies for what it could be...

(Relaxing to me means putting Debian on weird stuff. Today it is a rubbish China brand Android tablet which I am going to make into a firewall).
[Galaxy 3 Android Development] ayancold:
Can you please tell me the difference in the Kernel version G3Mod 2.0 and G3Mod2beta 2. I am using DDJP4 rooted and deodexed and flashed G3Mod 2.0. Would i get any difference if I flash G3Mod 2beta 2
[Galaxy 3 Android Development] vivekmishra:
G3mod 2.0 beta 2 is found to have less battery drain than G3mod 2.0. Other than that no special difference
[Galaxy 3 Android Development] ka'cipeder:
So why don't we all use 2.0b2?
[Galaxy 3 Android Development] hillbeast:
I have no clue, and I'm the one who released it :S

To be honest, I can't think of any reply to that...
[Galaxy 3 Android Development] vivekmishra:
Because we all search for something better than we have for now.. #updating ;)

It help us to choose the best option by first hand experience!:cool:
[Galaxy 3 Android Development] DaBigFreak:
Eeehhmm, sorry, youre saying you dont have a clue about what has changed about battery stuff.

What else has been changed then? I mean can you just give a bit changelog? ^^

What about the backgoing to 166MHz based frequencies?
[Galaxy 3 Android Development] hillbeast:
Here is the full changelog from 2.0b2 to 2.0 Final:

Changelog

fs.convert

That's all.
[Galaxy 3 Android Development] kyrillos13:
hahahaahahahahahahaha :D Hm if you recompile 2.0b2 with the patch for the fs.convert maybe it will work.. Maybe it was coincidence..
[Galaxy 3 Android Development] vivekmishra:
Pretty huge difference :D
[Galaxy 3 Android Development] mizch:
Is there any source from where to download it? I don't find it on the project's pages at Google code and I'm stuck with a battery-eating v2 final.
[Galaxy 3 Android Development] kyrillos13:
http://www.megaupload.com/?d=H12QID7X :)
[Galaxy 3 Android Development] moole:
Guess I'm the only one without any battery problems on 2.0 final, or any kind of difference at it between any of the 2.0 beta versions and the final one. :)
[Galaxy 3 Android Development] DaBigFreak:
No, its me, Mario ... ehm... no I mean me, not having any heavy battery drain, scince I formated and flashed and installed clean way.

Right now I am on g3mod-kernel2.0final-OC 400-1200MHz ondemand. After flashing Kyrillos8.0 I HAD battery draining, then reflashed the same kernel, battery draining gone. Now I updated to Kyrillos8.1, battery draining back on stage. So I go CWM again, did normal wiping (cache, dalvik, battery) reflashed the same kernel, voila, normal battery drain.

Mentioned it 3 times now...
[Galaxy 3 Android Development] moole:
Yeah my point is that I believe there's far too many problems reported here that most likely have nothing to do with the kernels/roms themselves. :)
[Galaxy 3 Android Development] schwarzerkreuz:
Problems with g3mod-2.0b2-oc.

With scaling set to ondemand and frequency max to 800 MHz, frequency hopping continuously from 83 to 800 to 300 MHz. This is normal? This is dangerous?

With scaling set to conservative and frequency max 800 MHz, frequency remains constant to 800 MHz. This is normal? This is dangerous?
[Galaxy 3 Android Development] moikop:
Normal? Define normal :p

It ok, I guess... governors try to set the best freq available depending on the cpu load they are not always accurate...

Dangerous? mmm.. at those freqs, unless your phone starts being hot (beyond 31~33+ °C) you have nothing to worry about ;)
[Galaxy 3 Android Development] schwarzerkreuz:
I open SetCPU and, without touching anything, I see the frequency jump continuously from 83 to 800 to 300 MHz.

With older versions of the kernel that did not happen.
[Galaxy 3 Android Development] KSLevel11:
Hello Hillbeast and G3MOD Team.

I have a problem with multiboot between Cm7 Alpha 6 Update 1 ROM and Custom XXJPS Rom. (

First, I flashed Cm7 then, I do a wipe, then I install Update 1, and then I do a wipe.

Then, I flashed G3Mod Kernel v.2.0 Final, and I converted file systems @ Cm7 to

stl6 = ext2

stl7 = ext4

stl8 = ext2

(the same file systems I have in custom XXJPS rom :))

Then, I shuted down phone and I go into a CWM and I backuped Cm7 to system.img.

Then I wanted to switch ROM to CUstom XXJPS.

So, phone booted up, but in a moment phone fell down to bootloop. :(

I had to remove battery, go to CWM, wipe data >>> and then custom XXJPS rom booted up properly. Then I restored a DATA from CWM = properly done.

So, where is the problem? Why I had a bootloop?

Greetings.
[Galaxy 3 Android Development] moikop:
If that's ondemand governor you're talking about, that is caused by a performance tweak I did to that governor, that's all...

---------- Post added at 01:06 PM ---------- Previous post was at 01:01 PM ----------

CM7 data is not compatible with JPS data (and the other way around too). That's why, if you don't wipe data, you'll have a bootloop. If now you restore CM7 and you don't wipe data, you'll have another bootloop until you wipe it...

Every time you switch roms (unless it's from samsung-froyo to another samsung-froyo), you'll have to restore data, wipe it, restore another system.img, and restore that system.img respective data. That way you won't have any bootloops :P
[Galaxy 3 Android Development] belvedere86:
whats a good speed for gaming+daily use? 800mhz? or faster?
[Galaxy 3 Android Development] FadeFx:
So there is another change not listed in the changelog, and i guess this one in fact could make a difference in battery life...

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

tapatalked
[Galaxy 3 Android Development] moikop:
That tweak has been there since almost the very first beta from 2.0 version. In 2.1, I've disabled it only for non-oc version.

I think I'll release an oc test version with and without this tweak to see if this is causing the drain...
[Galaxy 3 Android Development] belvedere86:
maybe stupid question. do you need to reboot when you set a different speed so that it becomes effectif
[Galaxy 3 Android Development] g3mod:
No, you don't :p
[Galaxy 3 Android Development] dhirend_6d:
Change the picture in the first post. It looks bad....
[Galaxy 3 Android Development] moikop:
I'll talk it with the other members P:
[Galaxy 3 Android Development] vivekmishra:
Its perfectly normal, okay, safe& whatever ;)

Is there any other problem?
[Galaxy 3 Android Development] moikop:
Local-compiled 2.1 test version

To see if it's the ondemand tweak which is causing the battery drain, I've made a test version. Please test it, wait a while and give feedback :D

Link removed due to data2sd problems. Will reupload later.

Changes up to here:

BFQ Scheduler updated to v2r1

Lagfree governor (now it's my favorite one... it's performance is very good)

Lowmemorykiller.c tweak

Kyrillos app2sd script compatibility fix and tons of data2sd modifications
[Galaxy 3 Android Development] DaBigFreak:
As I said, my super favourite governour with fugumod was conservative. On ANY interaction, it jumped up to highest frequency, then after about 10 seconds, going slowly down, staying there, till next interaction.

If an process needed power, incoming call like that, same behaviour. So performance was not that problem.

First thought, oh bad behaviour, cause battery will be drained too much, but opposite was the case.

Because every single job was done real fast, cpu could fall back very soon. Now with ondemand, the phone pretty good "laggs", not realy laggin, but not that smooth as with conservative.

But, near all governours than ondemand are havin strange behaviour. Frequiency is sometimes staying at lowest, at highest, or for some time just freezes, then act normal. Real strange things.

So, my wish would be, that you take a look at conservative, cause it gave realy nice performance, with just a real little tip of more battery drain.

EDIT: Flashed your last kernel, getting freeze after first bootscreen, loading up, than freeze...waiting now second time, but gues nothings happening any more. So going back to 2.0final, worked so far.
[Galaxy 3 Android Development] KSLevel11:
Okey. Properly works ;). Thanks.
[Galaxy 3 Android Development] moikop:
@dabigfreak: do you use data2sd?
[Galaxy 3 Android Development] DaBigFreak:
HybridData2sd, yes.

Flashed back the 2.0-oc-final, but still hanging after bootscreen (not the animated!) If I go in CWM, after that bootscreen weird error-colours appear for second, than going to cwm...hmm..guess I need to do ALL again...

EDIT: No flasehd 2.0final via Odin, now it boots along, seeing now animation...uff...so...maybe there is something wrong with the update.zips?
[Galaxy 3 Android Development] aletto:
i have a little question: can undervolting damage the cpu?

because g3mod uses so high voltages, i tried to lower it up to 300 mV. the system runs pretty stable, but i worry a bit about possible dangers. and i'm not talking about the system's stability. thanks
[Galaxy 3 Android Development] moikop:
@dabigfreak: Don't know, maybe. I'll check it out once I get home.

Sorry for the inconveniences...

Edit: Do you use Froyo or Gingerbread? (at the time this problem was caused) It'd help me debug it :)
[Galaxy 3 Android Development] fuxmen:
I hope that version will help, because i need to back to only internal memory...

With data2sd massive sound cracking when multitasking or even on screen off and downloadig sth in background with gprs, hsdpa...

And sometimes that massive lags will appear that only fastreboot helps...

Now withoud data2sd everything works like a charm

I must add I have 16 gb class 10 card...

I'm thinkig about backup everything and format card/erase and maybe that will help but for now im waiting to this version and synhronous steppings in OC 83mhz
[Galaxy 3 Android Development] mrvek:
With my phone all governors except ondemand are behaving weird, as DaBigFreak has said. I'm not sure about interactiveX since it's new but seems to be working like ondemand, probably as it should.
[Galaxy 3 Android Development] DaBigFreak:
Not for me, interactiveX also makes heavy lags by staying for some time on one freq.

ondemand is only real working. Also check with cpuspy-app if deepsleep is entered AT ALL!
[Galaxy 3 Android Development] hillbeast:
Have you enabled Multi OS Data? Without this, you will get bootloops switching from GB to Froyo ROMs and Samsung to AOSP.

No, you just need Multi OS Data enabled. That fixes these problems. Refer to my video demonstrating it.

Look forward to lagfree in 2.1. It works nicely for me.
[Galaxy 3 Android Development] i_rnb:
I hav enabled multiboot.. But multiboot is not working..
[Galaxy 3 Android Development] hillbeast:
What part doesn't work?
[Galaxy 3 Android Development] Digibonez:
Flashed the latest test kernel by Moikop,but my a2sd partition is not detected in titanium.

Also my phone seem to restore no data and not all my programs when switching from Gingerbread to Froyo. I do use hybrid data2sd and Multi OS Data though. Everything is back (except for a2sd) when I switch back to Gingerbread again. Also CM7 to G3mod (also gingerbread) works almost flawless in both directions without data loss. The only thing I always lose with this kernel when swithing roms are widgets. Even when switching from Gingerbread to Gingerbread. After switching rom it always displays the "problem loading widget" placeholders instead of any widgets.

Congratz on the lagfree governor. I'm now on G3mod 3 beta 4 and with this governor my phone really works much smoother AND it saves my battery juice considerably (before I always used ondemand). That's the reason I ll keep the test kernel despite the data problem.

Send from my Samsung GT-5800.
[Galaxy 3 Android Development] i_rnb:
I mean, I m getting bootloop.. I had to wipe/restore data later.. :/
[Galaxy 3 Android Development] KSLevel11:
No, I don't have multi OS Data enabled.

Actually I doing that: (for example)

1. I'm on Custom XXJPS Rom.

2. I want to switch ROM to CM7 1.1

3. So, I switch off phone and go to recovery.

4. CWM >> Multiboot >> Switch ROM >> and I choosed CyanogenMod7 ROM and activated it.

5. Wipe Data/Factory Reset

6. Restore DATA od Cm7

7. Reboot

8. No bootloop :)

From Cm7 >> Froyo a use the same road :)

Mutliboot works properly :)

But, If I enable MutliData, switching between ROMs will be fastest than before? Or it will be other "improvements"?

Actually If I'm switching ROMS (Switch ROM >> Activate) I have something like this in CWM Log:

CWM FOR G3MOD KERNEL

Restoring system...

E:can't mount /dev/block/mmcblklop2

(device or resource busy)

Dalvik Cache Wiped

Couldn't open directory.

Couldn't open directory.

No files found.

Greetings.
[Galaxy 3 Android Development] Vic 17:
For hillbeast

i think the "battery drain" is due at the most accurate battery stats...

the battery durate its the same... but now it not show 80% then after go to 50%..

now if it show 50% means that you are at the 50% of battery charge...

of course for to make sure that are more accurate it may take some days...

i stay in 2.0 final..
[Galaxy 3 Android Development] sephirothmk:
I moved back to 1.9 lite because of the issue with 2.0 that I described earlier and now my Wi-Fi doesn't work. When I turn it on, it turns itself off saying "error", but sometimes it turns on and says that it cannot scan for networks.
[Galaxy 3 Android Development] jinxskore:
You most probably flashed a kernel meant for CM7
[Galaxy 3 Android Development] vivekmishra:
How to adjust battery driver @G3Mod?
[Galaxy 3 Android Development] TearsDontFalls:
Can you add that interactiveX Also turns into deep sleep mode? I was wondering because the performance governor does this and interactiveX not.
[Galaxy 3 Android Development] Smonic:
I wouldn't recommend doing it since you don't know how to start it off :p
[Galaxy 3 Android Development] vivekmishra:
Not going to do that right off, but I'm asking is it any solution to my crazy battery drain?

And yeah, I'm not going to die noob ;) :rolleyes:
[Galaxy 3 Android Development] FadeFx:
Easy, set up a build environment, get the source code, debug the battery driver and compile your own kernel.

Edit: dorgot to mention that you need to have experience in c codeing

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

tapatalked
[Galaxy 3 Android Development] hillbeast:
Enable Multi OS Data.

People, you CAN'T multiboot into CM7 without a data wipe unless you have Multi OS Data enabled! Please stop reporting this as a bug!

Same as above.

That is no longer an issue. There is a single kernel for every firmware. He just needs to do a data wipe.

https://github.com/dharamg3/G3MOD/blob/master/Kernel/drivers/power/s5p6442_battery.c

Have fun.

Basically, it's not really that easy.
[Galaxy 3 Android Development] sephirothmk:
Yup, stupid me downloaded and flashed the CM6.2 version. Thanks for reminding me :)
[Galaxy 3 Android Development] sambastrakan:
batt. drain

yep,

from what I can see with this beta bersion, battery drain is the same as in v2 final ...

However, lagfree governor is really good to use. :)

Made some bench with sio & noop scheduler : almost same result. But both are better than BFQ & CFQ.

Thanks and good luck for debugging ...
[Galaxy 3 Android Development] hillbeast:
Right, tasks today:

Get old version of G3MOD source code from early alpha for G3MOD 2.0 (done)

Compile

Test battery drain

Add more features from commits

Compile

Test battery drain

Repeat

This will be a long day...
[Galaxy 3 Android Development] sambastrakan:
May the force stays with you ! :)

If you need a tester, I can test your new alpha release tomorrow.

regards.
[Galaxy 3 Android Development] TheCreat:
To be honest it isn't that clear on the first page that its required to be able to multiboot between froyo and gingerbread. It just explains how to enable it, but not what exactly it does out why its needed. Someone wanting to try it out won't have the time to read the entire thread :-)

Also can I suggest overhauling the faq (3rd post) a little, quite a few items are a bit outdated and no longer apply, like the part about different kernels got cm/froyo and the like...

Sent from my GT-I5800
[Galaxy 3 Android Development] vivekmishra:
Thank you;)

Thanks

Even though I didn't get the meaning of most of the phrases there but I'll try understand & do whatever I can
[Galaxy 3 Android Development] vivekmishra:
Best of luck with that
[Galaxy 3 Android Development] moikop:
Thanks for feedback. Do you use Data2SD?
[Galaxy 3 Android Development] m1trand1r:
hey there hillbeast...just to inform you a bit:)

36hrs running on g3mod 2.0 now...

30% of battery left:)

on 3g non-stop

multibooted at least 4 times today:) (that drains batt..too:) )

rebooted phone several times..

playin' some games...

downloading...3g...

and a 10 min. ago updated to kyrillos v8.1...

and i still have some plans to do...

and before all that i did this:

wiped data/factory reset...wiped just all possible what i could.:)copied a whole sd card to comp....formatted sd card...partition it again without swap parition...then copied folder android back to sd as it is....:) ..booted phone into cwm flashed g3mod2.0 final

calibrated battery...now i must force it to get empty:)

Sent from my hybrid sg3

multibooted

Kyrillos' v8.1 powered by

g3mod 2.0 OC
[Galaxy 3 Android Development] vivekmishra:
Fuucckkkinng awesome...;) :) :cool:

Looks like I have to reflash the ROM again :P
[Galaxy 3 Android Development] hillbeast:
Update on my test:

I'm currently on this commit: https://github.com/dharamg3/G3MOD/tree/fcb5d943a32ed46017b0858c10afd8e2939780e7 with the latest initramfs (so all the bugfixes for fs.options, and Hybrid Data2SD and the G3MOD 2.1 fixes and such).

Battery life at 3:18pm: 71%

Battery life at 4:57pm: 70%

I think I'm on track...

Linky Linky: http://www.mediafire.com/?gpmig37s8hpzja7
[Galaxy 3 Android Development] Criminal23:
Thanks for your work!

Could you please upload for CWM. also?

Because for the next 12h I don't had any kind of Computer ;-)

Special thanks!

Criminal23

Sent via Tapatalk from my SG3
[Galaxy 3 Android Development] TheF3nix:
I flashed that, i got stuck on g3mod animation LOL
[Galaxy 3 Android Development] hillbeast:
Don't flash a test kernel from CWM. You'll kill your phone.

Can you get into ADB Shell?
[Galaxy 3 Android Development] FadeFx:
I thought the sarcasm in my post was obvious, seems it was not. However, if u don't have any experience in developing Linux kernels you most likely will no longer use your g3 when u get your first results...

Note to myself: mind your signature

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

tapatalked
[Galaxy 3 Android Development] sambastrakan:
My phone boot fine with it ...

will test tomorrow, going to sleep ...

---------- Post added at 03:57 AM ---------- Previous post was at 03:56 AM ----------

oupsss, lagfree governor disappears in thi version ...
[Galaxy 3 Android Development] hillbeast:
Yes because it's an old kernel, just with the new initramfs.
[Galaxy 3 Android Development] KSLevel11:
I enabled Multi OS Data by 'echo 0 > /sdcard/Android/G3mod/multiosdata.

But, problem still exist :(

All the time, I have to SwitchRom, Wipe ,and Data restore.

And I have:

CWM FOR G3MOD KERNEL

Restoring system...

E:can't mount /dev/block/mmcblklop2

(device or resource busy)

Dalvik Cache Wiped

Couldn't open directory.

Couldn't open directory.

No files found.

What I doing wrong?
[Galaxy 3 Android Development] vivekmishra:
Even I though

I got you sarcasm but I was just "trying to be positive":cool:. Don't worry I got the finest devs any device could have:):), would consult you people before trying to kill my phone intentionally;) :P
[Galaxy 3 Android Development] hillbeast:
What format is your SDEXT?
[Galaxy 3 Android Development] fuxmen:
what about app2sd v2 with g3mod2 b2 ? is there will be support in 2.1?
[Galaxy 3 Android Development] KSLevel11:
I don't have EXT partition because I don't use App2Sd script or Hybrid Data 2 Sd