yashsingh1/xdaforums huggingface dataset:
[Galaxy 3 Android Development] vivekmishra:
Hey! Thanks a lot for such a great rom! But, I can use some help here, I'm facing serious battery drain In my phone, I'm using G3mod v1.9 extreme And overclocked to 800MHz, i'm on Indroid v6, thanks in advance :)
[Galaxy 3 Android Development] fuxmen:
if U use only 800mhz flash performance version..
[Galaxy 3 Android Development] mankokoma:
& try WIPE CACHE & WIPE DALVIC CACHE & WIPE BATTERY STATS
[Galaxy 3 Android Development] sanjay.july:
hi today i flash kernel 1.9 performance

now my WIFI is not working even i switch on . showing error or automatically switched off,,

what to do help me guys.

thanks,, in advance
[Galaxy 3 Android Development] hillbeast:
Guys, I think jhash3 might be causing drain on phones. My phone is also draining faster than it used to, and it has been doing this since 1.9. I will try without jhash3 and see what happens.
[Galaxy 3 Android Development] mankokoma:
The question on this issue is always: FROYO or CM6.2 ??
[Galaxy 3 Android Development] hillbeast:
You have flashed the wrong kernel on the wrong ROM. You have most likely flashed the CM6.2 on Samsung.
[Galaxy 3 Android Development] sanjay.july:
yaa i flash in JPQ,,
[Galaxy 3 Android Development] mankokoma:
Then use FROYO kernel!
[Galaxy 3 Android Development] vivekmishra:
Already did thrice :(
[Galaxy 3 Android Development] benzyniarz1:
Hello.. As I said a few days go, I flashed 1.8 Performance. I must say that battery life is about 40 - 50 h, there was max 24 on 1.9 Perfromance..
[Galaxy 3 Android Development] mankokoma:
wipe cache & dalvic cache & battery calibration did not help? then no idea. after these 3 I got more than 50 hours with no change in usage... better than ever before!
[Galaxy 3 Android Development] radek.god:
50 hours ??? WHAT ??? :eek::eek::eek::eek::eek::eek::eek::eek:

I will wait for 2.0, but now I have FRESH NEW battery and my battery went down from 100% to 69 after 8 hours (1.5 hour MP3 , 10 mins with wifi used for online game) .I am rather on 1.6 Performance.I have 69% more than 1 hour, screen off

Before battery change, my phone died within 20-120 mins with Fugumod 1366 / G3 MOD 1.9 Ultimate/Performance so I cant belive 50 hours :) I am 100% sure with some Eclair or later with JPB battery did not hold more than 8 hours, 6 with music :eek: many moths before

I rather disabled ANIPET AQUARIUM LIVE WALLPAPER what I used permanently ...I saw even 47% CPU usage by this NICE app :(
[Galaxy 3 Android Development] benzyniarz1:
No, it didn't. So I'll stay on the 1.8 Performance and that's all.
[Galaxy 3 Android Development] hillbeast:
Yes, I am experiencing drain as well. Are you on data connection?

My USB OTG adapter has arrived. I can now finally get started on USB OTG development.

Too bad CM7 is still top priority :p.
[Galaxy 3 Android Development] bioniclizard:
My battery drained in 10 and a half hours, today, so please release a fix soon. It may have somethinh to do with the 3G connection, when data is off battery seems to last a lot longer, but I haven't really tested it. I'd like my phone to last for 20-24h, as it did with the original firmware... OC is set to 800Mhz max, 300Mhz mim, and the phone sometimes hangs and the screen doesn't turn on or does not responde. If this didn't happen on 1.8, could you provide a download link for that version, meanwhile? Thanks, I can't find it in the main post, maybe I missed it.
[Galaxy 3 Android Development] hillbeast:
Yes, we believe jhash3 is killing the battery life.
[Galaxy 3 Android Development] TheCreat:
I actually don't see any real difference in battery usage between 1.8 and 1.9. I still get around 60 hours

of battery life, granted its very light usage.... (ultimate kernel)

Or are you talking about some non-public treat-kernel? Data connection I'd also permanently on, generally no wifi though.

Swyped on my Galaxy 3
[Galaxy 3 Android Development] hillbeast:
No this is the public kernel. I'm not quite sure what is causing this.

Also I am thinking a hybrid kernel with CM7 and Froyo is not going to be possible. I haven't compiled any kernels for Samsung since my CM7 tests, and I can no longer boot my phone on a Samsung kernel (which has a slight alteration for CM7 support).

EDIT: Never mind. IT is something more catastrophic. I am trying to restore it to when it WAS working.
[Galaxy 3 Android Development] benzyniarz1:
Yes, I have data connection turned on.

But I have no tested 1.9 with data connection off, so I have no idea if it would extend battery life on my device.
[Galaxy 3 Android Development] debaj:
It would. I only turn on data connection when I need it (and only enable 3G if I REALLY need it, for checking mail the EDGE speed is enough for me), and I have some 2-3 days of battery life. With 3G data connection enabled the battery drains noticeably faster and the phone is more hot.
[Galaxy 3 Android Development] unreal3000:
usb otg would be BIG!!

just imagine watching movies from a pendrive!

may take a bit of time though,,,,but hardware does support it!
[Galaxy 3 Android Development] vivekmishra:
Thanks a million! :)
[Galaxy 3 Android Development] dilzo:
True but imagine the wire just dangling down kinda awkward and it would be easier to put the movie on the SD card.
[Galaxy 3 Android Development] unreal3000:
like use a realy small cable....and if u dont want that, just copy files onto ur sd...

i mean no doubt, getting a pendrive of 8gb is definitly cheaper than an sd!
[Galaxy 3 Android Development] debaj:
I would fancy myself a small foldable USB keyboard... I could leave my notebook at home most of the time. :-)
[Galaxy 3 Android Development] mankokoma:
how long will your battery last, when hanging on an USB stick or keyboard?
[Galaxy 3 Android Development] debaj:
My desktop keyboard claims that it uses 50 mA, if it's true, it's roughly equivalent of an average WiFi module during active data connection.
[Galaxy 3 Android Development] hillbeast:
We have no clue, and we don't even know if our phone is capable of outputting power on USB OTG. It's not a priority right now. CM7 compatibility and finding this drain and stopping these crashes is top priority.

I do believe I have solved the crashing, but I need to test it. I'm going to ask a few people to test out a new test kernel build. Again, if someone wants to test then let me know. I only have 3 people testing right now.
[Galaxy 3 Android Development] debaj:
If the testing does not need too much extra effort than the everyday usage (I think of hour-long stability tests and so on, not the bug-reporting :-) ), then I would glad to help you.
[Galaxy 3 Android Development] debaj:
Could somebody check this for me? I try to enable BT from my app with this code:

private void enableBluetooth() {
if (DEBUG) Log.d(TAG, "enableBluetooth");
startActivityForResult(new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE), 12345);
}

protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (DEBUG) Log.d(TAG, "onActivityResult - " + resultCode);
}

According to Android documentation, the result code should be -1 (RESULT_OK) when the user allows enabling bluetooth, and it should be 0 (RESULT_CANCELED) every other case. But on my phone the result code is always 0, no matter what I do. Otherwise the code works fine. Unfortunately I can't check my code on another phone, and the emulator does not support bluetooth, but this would not the first case when a Samsung phone works weird compared to vanilla Android (for example the stock camera driver is somewhat messed up). As I searched, there is a similar issue with HTC phones, but there the numbers are inverted (0 is the RESULT_OK and -1 is the RESULT CANCELED).
[Galaxy 3 Android Development] hillbeast:
Samsungs Bluetooth code is not standard. They did something weird with it, hence why it is not supported by the PS3 controller app/mod/whatever you want to call it. Perhaps this is why.
[Galaxy 3 Android Development] debaj:
Brilliant.
[Galaxy 3 Android Development] LePeR1898:
When i update g3mod CM6.2 kernal via multiboot in the proper folder it gives me

Can't open /mnt/sdcard/CM6/g3mod_cm6.2_v1.9_lite.zip (no such file or directory) installation aborted

Why does it now say its looking under the folder CM6 on the sdcard??? isn't it supposed to be in sdcard/Android/data/g3mod/kernal/CM6 ??

ops wrong thread :S
[Galaxy 3 Android Development] unreal3000:
exactly......but cm roms fix this problem for all phones......(u can use ps3 controller

with cm7 on any phone)

but cm7 dosnt support bluetooth yet...so we will have to wait for marcellusb
[Galaxy 3 Android Development] hillbeast:
Yes this is why it is challenging to get the Bluetooth working as the code is bizarre and either has no source code or the source code won't work with CM7 without heavy modifications.
[Galaxy 3 Android Development] debaj:
The problem is that one can't rely the official Android documentation in hardware-related questions if the actual implementations don't follow the standards. This is the second Samsung-related problem I encountered in six months, what else could be hidden?

---------- Post added at 12:07 PM ---------- Previous post was at 12:06 PM ----------

Is the problem with the driver or the hardware itself?
[Galaxy 3 Android Development] hillbeast:
The entire phone is riddled with Samsungs weird code, especially with WiFi and the GPU drivers.

EDIT: The problem lies in the driver. The hardware is fine.
[Galaxy 3 Android Development] FadeFx:
expect more, samsung did f... up code where they have seen a chance to...
[Galaxy 3 Android Development] unreal3000:
damn,,,realy want to try ps3 controller....

btw he has already got half of it.....now bluethoot comes on but dosnt find any devices...
[Galaxy 3 Android Development] lvachala:
G3Mod Kernel V2.0

Aproximately...when are you going to release G3Mod Kernel V2.0? It's because of Kyrillos' ROM v7.5.
[Galaxy 3 Android Development] hillbeast:
We are having a lot of trouble with CM7s preinit and we are trying to iron out a lot of bugs from previous versions so it's taking a lot of testing.

Sorry for the delay but we all just have to be patient.
[Galaxy 3 Android Development] FadeFx:
hehe, i bet hillbeast is runing on 2.0 for two weeks already and does not want to give it away because he has the best phone then...
[Galaxy 3 Android Development] hillbeast:
lol Actually I'm running G3MOD hillbeasttest045FROYO which is an alpha version for v2.0. So yes I'm on a more modern and faster G3MOD, but it's not 2.0.

This is what is currently running:

Hybrid kernel (supports CM and Samsung)

Adjusted battery driver (more accurate)

Compcache toggleable

InteractiveX CPU frequency mode

SIO scheduler

MD5 hash disabled on nandroid

CM7 (but not hybrid and no preinit) (this is only on hillbeasttest045GING)

More stable at idle

Reduced power drain at idle

There are still a few more things I need to get going (preinit, hybrid Data2SD) before I can release it. Tomorrow I won't even bother working on CM7 until I have an epiphany because it's just holding me up. I could be spending time on more important features.
[Galaxy 3 Android Development] dhirend_6d:
Lol. :D :D . Hillbeast, if that s the case then very bad. :D:D

Anyways, hope you make the best kernel possible. Take your time.
[Galaxy 3 Android Development] Pinak.ahuja:
Hah finally got free from exams if there is any test kernel I'm willing to help out in testing. :D

.
[Galaxy 3 Android Development] hillbeast:
Alright, everyone is curious about the next G3MOD, so how about I let you all try what I've got so far. IF you want me to, I can upload a tar of hillbeasttest045.

THIS WILL NOT BE G3MOD 2.0, IT'S AN ALPHA. SO IF YOU TRY IT, EXPECT ISSUES
[Galaxy 3 Android Development] FadeFx:
u better list the known issues, so we can decide if we want to take the plunge...
[Galaxy 3 Android Development] wareeezer:
Please, post it. I waited for a long time
[Galaxy 3 Android Development] Pinak.ahuja:
I would like to test it :D:D
[Galaxy 3 Android Development] hillbeast:
There don't appear to be any bugs that I know of. This is why I am willing to do a public test so I can find more obscure bugs.

My phone has been running it for 2 days now, and I haven't had a single force close or crash, but I haven't really used it enough yet to tell.

Link to download: http://www.mediafire.com/?t2er3opsscvq1ci

Overclock Details: 83MHz-1200MHZ (100MHz stepping) (1100mV-1500mV)

Kernel IO Hz: 500Hz

This overclock and kernel Hz ARE STABLE.
[Galaxy 3 Android Development] i_rnb:
thanx a lot..

anyway any notes about using new features??
[Galaxy 3 Android Development] hillbeast:
The only new feature you need to know how to operate is Compcache where it is disabled by default but can be turned on.

Easy method of turning it on:

Plug your phone into your computer and put it un USB mode

Navigate to SD Card\Android\data\g3mod\

Make an empty file called 'compcache' - No extension, nothing needs to be in the file, can just be a black text file

Reboot the phone.

More hardcore way:

Plug your phone into your computer and put it un ADB mode

Go into adb shell

Type 'echo on > sdcard/Android/data/g3mod/compcache'

Type 'reboot now'

Obviously to turn it back off, just delete the compcache file.
[Galaxy 3 Android Development] kyrillos13:
I have the test kernel 045 from Hillbeast, but after factory reset idk why, i have wifi problem (it turns itself off in 10s). So if somebody is willing to test if this is a bug, flash the kernel, wipe data and check if you can connect to your wifi router :) Thanks!
[Galaxy 3 Android Development] KSLevel11:
@hillbeast

Do you release the 1.9.1 Kernel? (1.9 without any changes, but with disabled compcache).
[Galaxy 3 Android Development] hillbeast:
No we never got around to it. You can use my test kernel if you wish to test it. It feels stable to me, but there may be issues I'm unsure about. Current bug reports are very odd and I can't pinpoint whether it's the kernel at fault or not.
[Galaxy 3 Android Development] cop1976:
Is this kernel works with CM7?

Sent from my super fast CM7 G3 :)
[Galaxy 3 Android Development] moikop:
Add to that lowmemorykiller and ondemand governor little tweaks I commited yesterday. These are not main features, but still :P
[Galaxy 3 Android Development] hillbeast:
No. Only the Gingerbread version works so far. I am still yet to get it working in hybrid.

---------- Post added at 01:33 PM ---------- Previous post was at 01:32 PM ----------

Those features aren't in this kernel as this was compiled on the 22nd.
[Galaxy 3 Android Development] cop1976:
Forget about hybrid and make at least kernel working with CM7. I don't believe that someone who used CM7 still need froyo rom.

Sent from my super fast CM7 G3 :)
[Galaxy 3 Android Development] hillbeast:
You're talking to one of those people who have used CM7 and still need a Froyo ROM.

I can't live without Bluetooth, and the incomplete GPU drivers just breaks the deal for me. CM7 is a masterpiece, but I can't use it as a daily ROM.
[Galaxy 3 Android Development] hillbeast:
I have gotten Hybrid Data2SD working! Lemme explain how it'll work:

Imagine being able to CHOOSE what you want to move to the SD-EXT partition, ie you only want app and dalvik-cache on the SD-EXT, you check a few boxes in the G3MOD app (or if you're hardcore you can edit the file 'data2sd.dirs' in the Android/data/g3mod) and you can have those, or if you want more you can check more boxes and move more over to the SD card. Just reboot and you can change it.

What about ROM cookers and their App2SD scripts? Well I thought of this too. They can just add a file to /system/etc/data2sd.dirs and it'll do the exact same thing so they can preconfigure the Hybrid Data2SD. If the end user wants it set their own way then the config in the SD card will override the systems config. This means people who aren't certain of what they should use can just use whatever their ROM cooker wants them to use.

I highly suggest to EVERY ROM developer that if you plan on using G3MOD that you should include this file (/system/etc/data2sd.dirs) as it will save questions down the road about 'what should I move to the SD card?'

Here is an example data2sd.dirs that will do the same thing as Kyrillos' App2SD v2:

app
log
dalvik-cache
--- THERE MUST BE A BLANK LINE AT THE END ---

One last thing for ROM developers: you proabably won't need App2SD scripts anymore if you use this.
[Galaxy 3 Android Development] radek.god:
I am one of those who want CM7 , but cant use ( no FM Radio , no Bluetooth yet, too slow even at 800 MHz ... )

But You are right, when CM7 will be done and optimalized who will use Froyo ??? ... :D
[Galaxy 3 Android Development] DaBigFreak:
WoW, thats a huge step, isnt it? Amazing what you guys realize! Nice job!

In app2sd v1-v2-v3 skripts, there is the big difference, the sd-card speed class. So what to push on sd-ext, would be a question on what sd-card is used^^

So in my mind, a real speed test, ON SMALL FILES!, on the phone, than compared with a list, and than it desides what to push to sd-card. So an automated system to prevent USER failures^^

The other thing that comes in my mind, what if the partition is not there? Because of hybrid, its just pushed back to internal?

I saw this pushing first on my brothers GalaxyAce. Was realy weird to me, cause no wipe was needed, the a2sd-gui app just did its job. Is this here kind the same?
[Galaxy 3 Android Development] kyrillos13:
App2sd scripts => Hybrid Data2sd

App2sd v1

app

log

(blank line)

App2sd v2

app

log

dalvik-cache

(blank line)

App2sd v3

app

log

dalvik-cache

data

(blank line)

:D
[Galaxy 3 Android Development] hillbeast:
Hybrid Data2SD requires two things to run: the data2sd.dirs and the partition to exist. If one is not there then it will stick to the internal memory.

You can copy all your old stuff manually by copying it from /mnt/stl7 to /data. I have made a mount point for the old data.

---------- Post added at 09:07 PM ---------- Previous post was at 09:06 PM ----------

Just remember to put a blank line at the end of the file. Without it, you will not get the last option in each mode (log, dalvik, or data respectively).
[Galaxy 3 Android Development] kyrillos13:
Okay, btw, excellent feature :)
[Galaxy 3 Android Development] DaBigFreak:
So, Kyrillos ^^ Would you put that in your final 7.5? Maybe an easy way to choose between v1-v3, without the needed wipe? That would be awesome! To try the different versions.
[Galaxy 3 Android Development] hillbeast:
There is no wipe needed between switching whatsoever. Only thing that takes time is just the reboot. Very simple.
[Galaxy 3 Android Development] kyrillos13:
Yeah i will :) Thanks to Hillbeast & Dharam..
[Galaxy 3 Android Development] Dharam_Maniar:
It is Thanks to Hillbeast...He has done it...I have stopped developing for the time being ...Only helping out these guys, incase they need it...But they are excellent... :)

If you like our work, Please donate to Hillbeast, moikop...Excellent work by them... :)
[Galaxy 3 Android Development] debaj:
Confirmed, reported.
[Galaxy 3 Android Development] hillbeast:
Sounds like a permissions issue. I will look into it today.
[Galaxy 3 Android Development] hillbeast:
Silly me. I figured out the WiFi bug: I typed some code wrong in the hybrid initramfs pre-init... blah blah blah, I'm a fool but at least it's working now.

Here is the WORKING kernel. Also present in this is disabled jhash3 as I was actually testing jhash3s battery drain (if it even exists).

http://www.mediafire.com/?ct9es2pon2he9z4
[Galaxy 3 Android Development] radek.god:
Thanks Hillbeast I will test it too :-) :cool:

Update : Oh no , it wiped my data from phone :confused::mad: ...
[Galaxy 3 Android Development] kyrillos13:
Thanks :P

Basically its not a wipe. I flashed the kernel too, and the /data partition isn't mounted at all.
[Galaxy 3 Android Development] hillbeast:
Okay that's odd. I'll look into it.

@radek Can you send me a copy of your init.rc and g3mod.log?
[Galaxy 3 Android Development] radek.god:
another bug(s)

As FIRTS what I see after PIN code entered and vibratted I get ALWAYS this force closure message :

"com.sec.android.widgetapp.infoalarm"

before and after wiped ALL what can be wiped, even factory reset at phone - same result.

I cant install / update anything from market after kernel update :

market automatically updated to 3.1.5 as at case of G3MOD 1.6 I used till this morning without problem.

It wrote no space at data storage , tested 3 times with wipe etc ...

So I have to revert to 1.6 Performance or wait for another Hillbeast 1.9.x ...

At the end , I have a query to G3MOD team about THEME_SENSATION_CRYSIS -

this and ALL themes need deodexed ROMs , am I right ? As with NON DEODEXED JPS stock ROM from samfirmware I have a problem : - my phone restarted immediatelly after phone call finished and I am sure this is not the only one problem after this theme applied.It looks like similar issues I get with DEODEXED JPS (restarts, specially while and/or after call ..., stability test crash within 4.5 hours ) I get NONE of these restarts or bugs with stock ROM form samfirmware ...
[Galaxy 3 Android Development] hillbeast:
Are these bugs present only on my test kernel?
[Galaxy 3 Android Development] radek.god:
renamed to*.txt and attached :-)

those files content is immediatelly after revert to 1.6 and without any wipe/reset

If I have to flash again 1.9.x and send again both files, let me know :cool:
[Galaxy 3 Android Development] radek.god:
All mentioned bugs are present ONLY at your last "test" kernel from 25.9,

As theme problems are at ALL kernels I am using and testing rather all with stock theme only ;)
[Galaxy 3 Android Development] hillbeast:
I assume you're on my latest test kernel? If that's so then g3mod.log didn't come up with DATA2SD which is bizarre, but the init.rc does have the code to mount the data so I can't see why it didn't mount.

Here is a version with some more failsafes so iit should work now:

http://www.mediafire.com/?4qznqb45wm3c1ak
[Galaxy 3 Android Development] aeriko:
Testing kernel 25.9

Titanium backup shows:

SD Card: 401MB free

SD Card (a2sd): 155MB free

However when i am going to install an app tells me that i have not enough space and i can't install app..

How i can fix it?
[Galaxy 3 Android Development] kyrillos13:
Try the test kernel that hillbeast uploaded in the previously post.
[Galaxy 3 Android Development] hillbeast:
I experienced this earlier too. I will find out what's going on.
[Galaxy 3 Android Development] kyrillos13:
@Hillbeast, The 25-9-v2 test kernel is working. I mean /data partition is mounted. Hybrid Data2sd is included in this test kernel?
[Galaxy 3 Android Development] hillbeast:
Yes. I just fixed it so that way stl7 is ALWAYS mounted to /data and will ONLY be unmounted for DATA2SD Normal Mode. Seems a lot safer that way.

I accidentily booted my phone with no /data once and it was insane. I didn't expect it to boot, but gee it flew. I guess that could be a project for someone if they want to have a phone with no lag but don't care their data never gets saved they can just disable /data.
[Galaxy 3 Android Development] aeriko:
ΟΚ.. thanx.. problem eliminated with kernel v2 :)
[Galaxy 3 Android Development] kyrillos13:
@Hillbeast, with the Hybrid Data2sd, we can move every folder we want to sdext or they are specific? I mean we can move app-private, and generally any folder which is in /data partition?
[Galaxy 3 Android Development] radek.god:
I was at 1.6 till morning, then I tried 1.9.x with mentioned problems, so I revert immediatelly back to 1.6 just before sending log files.

Now I am on "1.9.x v2", I get no data reset after flash this one over 1.6, but I did not tried it with phone contacts and SMS to be this confirmed at 100%

Problem with mentioned process force slosure is over :cool: - good and ultraQUICK work :D

I jsut successfully installe Angry birds, so I hope "not enough space at external storage" problem is over too

I am not using DATA2SD/A2SD, but LINK2SD only (dont ask me "why" about a2sd, I do not wanna be banned ;) )

Many thanks Hillbeast for your work,

I will report any bug/problem I will discover :-) ...

Best Regards

Radek