yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] timbohobbs:
Thanks Cortiis, got there eventually myself but would use your guide next time :-)

Have had 1 or 2 force closes with 2. 3. 7, not sure what went on so have switched back to 2. 3. 5 for now. Is 2. 3. 7 getting an 'official' release?
[Hero, G2 Touch Android Development] bharat_goku:
yea will release it officially today or tomorrow as and when i get time,m actually in the process of another release too so burning my fingers with all these cdma builds :D
[Hero, G2 Touch Android Development] davrave:
Thanks Bharat. What can we use for apps2 sd on this rom?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Morpheus90:
Hi guys,

I just swapped my HTC Desire with an HD2.

I'm looking for a fast and stable NAND Gingerbread Sense 2.0/2.1 rom, possibly with good performances even without OC (bugs and glitches are big showstoppers for me, of course).

Being the EU version, D2EXT or Apps2SD is required.

Currently, I'm stuck with Mikhei777's Android 2.2.1 Sense 2.0 NAND Firmware.

Could you please suggest me some other ROMS? The Android NAND Development section is quite messy.

Thanks in advance.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Morpheus90:
Help, please.

I hate bumping, but I also have a serious problem here: after installing 10 apps internal memory is (completely) gone on my HD2. The same thing never happened on my Desire thanks to Data2Ext.

I checked almost every thread in the first 5 pages of the NAND Development section, but I found nothing.
[HD2 Android Q&A, Help & Troubleshooting and Genera] pirlano:
try this one: http://xdaforums.com/showthread.php?t=1256581

it's FAST!!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] Morpheus90:
I completely agree about the speed, it's the latest rom I tried, but it can't see the 1GB ext partition on my sdcard (in fact, the free memory available on after the installation is about 80 mb only).

Do you have this problem?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Richy99:
there is a difference between free space and free memory available to the system, are you sure you are reading the correct one?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Morpheus90:
Naturally :P I'm referring to free space, of course.

Sorry for the misleading term, in Italian space and memory are synonyms.
[HD2 Android Q&A, Help & Troubleshooting and Genera] pirlano:
no, i don't have this problem, are you sure that are you using the EU version?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Morpheus90:
Sure! :( I can't understand why. Tomorrow I'll read some logs, maybe the reason is specified there.
[HD2 Android Q&A, Help & Troubleshooting and Genera] pirlano:
is your ext partition named "sd-ext"? try to use ext2, ext3, ext4

i don't know, i think i was using ext3 and it was working really good :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] Morpheus90:
Nothing, I tried every single option :/ It's never seen by GBLeo, while RafDroid (for example) correctly uses the ext3 partition.

This is my current setup:

MAGLDR 1.13

CWR 3.0.2.x on NAND

System partition: 220MB

Ext3 partition on sd card (2nd partition, label sd-ext): 1024MB
[Streak 5 General] AIR-WIZZ:
Tried to search this topic and found a bunch of old posts from 2010 that required me to rewright some code in "manifest" but Im sceptical to try.

Can some help me lock my phone app in the portrait mode? It seems I'm always chasing the damn end button after a call.

I'm using Streakdroid 1.9.1. & Estrongs file explorer.
[Streak 5 General] charliepie:
Have you tried using the force portrait mode in the orientation control app? you can get it from snappz or blackmart I believe...
[Streak 5 General] AIR-WIZZ:
So far I have found apps that force orientation all the time! I want it only for the phone.
[Streak 5 General] rm001:
You can go another way:

1) flash the portrait zip from here http://xdaforums.com/showthread.php?t=1084850 and uncheck "Auto-rotate screen". Now by default all applications will stay in portrait.

2) then install the Smart Rotator from Market (https://market.android.com/details?id=net.xdevelop.rotator_t&feature=search_result) and select all applications you want to be able to autorotate.
[Streak 5 General] AIR-WIZZ:
Im interested; however, how do I un-flash the zip should I decide I hate it?
[Streak 5 General] borijess:
He has the oringinal you can flash back.

Sent from the SuperStreak! ;-)
[Streak 5 General] rm001:
Besides, the only thing the zip does (together with Autoritation unckecked): it prevents autorotation.

And if you want any application to be able to rotate, you just tell your wish to Smart Rotator, that`s all.
[Streak 5 General] charliepie:
that's pretty nifty! might try that workaround myself:) thanks.
[Streak 5 General] marvin02:
If you only want your home screen in portrait (not lockscreen) then you can use LauncherPro and turn off the auto-rotate settings for LP when your screen is in portrait. The rest of your apps will still follow the Streak's setting for auto-rotate.
[Streak 5 General] ahmadh007:
Had the same problem and since I didn't want to mess anything up by flashing, I bought an app called Orientatiom switch. Lets you lock the screen in portrait or landscape. Made a thread about it here since I was so excited to see it actually work :-D
[Streak 5 General] antnee:
delete. 12char
[Streak 5 General] asianftw:
Thanks for the tip, works great here with force protait mode and the app is actually called "orientation control"

Well worth the $1.5
[Streak 5 General] AIR-WIZZ:
I almost forgot about this thread. I ended up using an app called Smart Rotator from the Market. It allows you to lock the streak into Landscape (...or whatever your phone uses for default) and elect which other programs you want to release from the landscape lock.

Now I don't have to chase the end button when I take the phone from my ear (in landscape mode while the phone is simultaneously turning the screen back on) and try to hit the end key while it is trying to switch to portrait. This seems to be the natural way my calls ended up. The phone is trying to do all those things and the whole process ends up with me cussing the phonewhioe trying to hit the damned end button.

Now, No matter what I'm doing...the screen is on Landscape, Period. Incidently, so are the contacts. They are linked to the phone so if you lock one, you are inadvertantly locking the other.
[Streak 5 General] FoFik85:
and what if I dont have the Smart Rotator and I dont want it ? it is any solution how to dissable this function, becouse I flashed this .zip and now I cant set autorotation in settings, do it any change in build.prop or re-flash amss ? thanks ( and sry for my english )

note: since I flashed this .zip I had 3 reboots and 2 complete shutdown of my Streak
[Streak 5 General] krazman325:
@AIR-WIZZ

Thanks for the tip about Smart Rotator. Working great on phone/dialer app. Chasing that end button was my biggest source of FC's!

kraz
[Desire Android Development] k3lcior:
Earlier i heard lot's of people complaining about reboots / hang up's when browsing internet with lowered WIFI voltages, i will give it a try today anyway thanks. :cool:
[Desire Android Development] tristan202:
I have been running with lowered wifi voltage for a few days without any problems at all. Doesn't browse much though, but market another wifi stuff have been working fine.
[Desire Android Development] ironjon:
I'll give you feedback soon.

Thx and congratz.

Tapatalking.
[Desire Android Development] beanbean50:
I've been using your kernel for several weeks now (tried all the rest) is this the same as your other one or have you tweaked it some more? and is there any chance you can add Sib's battfix? :)
[Desire Android Development] ziggy1001:
Thanks a lot mate the combination of HAVS, BFS, 1190 OC with UV to 825 working very nicely for me:D;)

Just ask HTC they know everything about your phone:p
[Desire Android Development] tristan202:
siberes battery fix is included, and I have been making some tweaks to since the last release. Some minor stuff, but still some improvement.
[Desire Android Development] beanbean50:
wow, many thanks.... :)

is there much difference between the 2 governors ondemandx and smartassV2...?
[Desire Android Development] ironjon:
Autobrighness mod is included (10 positions in arrays.xml)???

Tapatalking.
[Desire Android Development] beanbean50:
haha...!

Yes, HTC, Google and every other Tom, **** and Harry...
[Desire Android Development] tristan202:
Ondemand:

The ondemand governor is the default option used by Android. It scales the CPU speed between the minimum and maximum speeds depending on CPU load. If the system needs more speed, the kernel will rapidly scale up the CPU speed. This is available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point, ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.

Smartass:

This is based on the concept of the interactive governor. This is included in some custom kernels. The smartass governor effectively gives the phone an automatic Screen Off profile, keeping speeds at a minimum when the phone is idle.

Interactive:

The 'interactive' governor has a different approach. Instead of sampling the cpu at a specified rate, the governor will scale the cpu frequency up when coming out of idle. When the cpu comes out of idle, a timer is configured to fire within 1-2 ticks. If the cpu is 100% busy from exiting idle to when the timer fires then we assume the cpu is underpowered and ramp to MAX speed.

If the cpu was not 100% busy, then the governor evaluates the cpu load over the last 'min_sample_rate' (default 50000 uS) to determine the cpu speed to ramp down to.

This is available in newer kernels, and becoming the default scaling option in some official Android kernels. The interactive governor is functionally similar to the ondemand governor with an even greater focus on responsiveness.
[Desire Android Development] tristan202:
tobi's autobrightnessmod is included. Adding to OP.
[Desire Android Development] ZeGuitarist:
Thanks, I'll be testing this! I've been using snq-'s kernel builds but since the OC/UV ones have freezing problems, and gingercakes won't work for me without MASSIVE lag, I look forward to seeing how this works out.

It seems to work, yes. I've just pushed my patched framework-res.apk, and auto-brightness seems to do exactly what it did on snq-'s patched kernel.

EDIT: Ah, ninja'd. Well, there you have it then.
[Desire Android Development] beanbean50:
but we only have the first two governors to choose from, Interactive is not an option (in setcpu) or am I being stupid as per usual ...? :)
[Desire Android Development] dunstan92:
is usb fast charge enabled?
[Desire Android Development] beanbean50:
where can I find the patched framework ?
[Desire Android Development] ironjon:
You have to patch your own framework-res

Tapatalking.
[Desire Android Development] beanbean50:
can you guess my next question ...? hehe
[Desire Android Development] ziggy1001:
Here you go i like helping the aged especially when, poor eyesight, liver damage, and tropical diseases have taken their toll :p

[How to] Adjust auto-brightness on GB Sense ROM
[Desire Android Development] ZeGuitarist:
You can't find it anywhere, you need to patch your own framework. The framework apk differs for each ROM, and contains each individual user's UOT kitchen mods too... So to be safe, you really shouldn't use someone else's framework.

Anyway, here's how to do it:

http://xdaforums.com/showthread.php?p=17713587

It's pretty easy, as long as you know where your ROM's framework apk is (in internal /system, or in /sd-ext). Also, the thread suggest you put your framework mod in a flashable zip, but it's easier to just boot in recovery, and use adb to remove your old framework and push the new one.
[Desire Android Development] tristan202:
I lowered it mainly for debugging purposes. All the talk about usb fast charge and such. Thought it would help to lower it to 5secs, so it wasn't needed to wait an infinity to get charge stats. I have put it back up to 60, to check if it was part of the lag problem arisen in v03. I will probably release a v04 later tonight. It also includes a new ramdisk with tweaked lowmemkiller. No more need for Autokiller or init scripts to control it. And by tweaked, I mean aggressive. Really aggressive.
[Desire Android Development] fragargon:
radio crshed

hi tristan,

I m using your kernel since few day with andrev daemon.

work pretty good no lags no FC and wonderfull battery autonomy

however thos afternoon I met a weird thing...

i used to switch wifi using tasker profile (home/work)

so i can t explain whi radio 3g/2g didn't raised up (it was activated but)

I got my radiocrash logcat http://dl.dropbox.com/u/22152187/radiocrash.txt

Not sure it is kernel related, if you could point me to the right direction.

many thanks for your work, best kernel perfomrance tested

here is a pic of my battery consomption
[Desire Android Development] Ninolina:
Here is v02 for you..:-) In both flavours..:-)
[Desire Android Development] processchip:
Hi Ninolina

Thanks for the the kernels, you have been a great help. :):):):)
[Desire Android Development] mliou:
What profile are you using for Daemon?
[Desire Android Development] fragargon:
Hey milou, daemon set on demand/sleep/128-384 mhz

SmartassV2/wake/128-11113 mhz

edit: forgot to mention that i m using incredicontrol with this a script 95havsvdd, here is the link (it put the script into system/etc/init.d

http://dl.dropbox.com/u/22152187/setvdd_levels-5052011_signed_2.zip
[Desire Android Development] persko:
Thanks, just realized, that perhaps my problem is somewhere else:

per@tux3:~> adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
# lsmod
# ls /system/lib/modules
bcm4329.ko
tun.ko
# cd /system/lib/modules
# ls -l
-rw-r--r-- root root 315395 2008-08-01 14:00 bcm4329.ko
-rw-r--r-- root root 211549 2008-08-01 14:00 tun.ko
# insmod bcm4329.ko
insmod: init_module 'bcm4329.ko' failed (No such file or directory)
# insmod ./bcm4329.ko
insmod: init_module './bcm4329.ko' failed (No such file or directory)
# insmod /system/lib/modules/bcm4329.ko
insmod: init_module '/system/lib/modules/bcm4329.ko' failed (No such file or directory)
# modprobe bcm4329.ko
modprobe: chdir(/lib/modules): No such file or directory
# dmesg | tail
<3>[ 416.817535] msm_pm_wait_state(2, 0, 0, 0) failed 11001
<6>[ 416.817535] msm_sleep(): msm_pm_wait_state failed, 11001
<4>[ 464.127929] bcm4329: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0)
<4>[ 474.021514] bcm4329: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0)
<6>[ 474.039886] [HTC_BATT]RSNSP=67,RARC=100,Vol=4167mV,Current=97mA,Temp=276C(1/10)
<6>[ 474.040344] [BATT] ds2784_notify: 1 99 at 461854489411 (2011-10-01 08:07:38.562800304 UTC)
<6>[ 474.046295] [BATT] power_supply_changed: battery at 461860440339 (2011-10-01 08:07:38.568690197 UTC)
<4>[ 474.518249] bcm4329: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0)
<4>[ 476.316497] bcm4329: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0)
<4>[ 489.926666] bcm4329: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0)
# insmod tun.ko
insmod: init_module 'tun.ko' failed (Exec format error)
# dmesg | tail
<4>[ 594.290679] bcm4329: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0)
<4>[ 654.193298] bcm4329: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0)
<6>[ 654.222595] [HTC_BATT]RSNSP=67,RARC=100,Vol=4167mV,Current=82mA,Temp=276C(1/10)
<4>[ 654.302062] bcm4329: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0)
<4>[ 714.231292] bcm4329: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0)
<6>[ 714.253662] [HTC_BATT]RSNSP=67,RARC=100,Vol=4167mV,Current=79mA,Temp=276C(1/10)
<6>[ 714.253906] [BATT] ds2784_notify: 1 100 at 702068234531 (2011-10-01 08:11:38.776362319 UTC)
<6>[ 714.276245] [BATT] power_supply_changed: battery at 702090390294 (2011-10-01 08:11:38.798670670 UTC)
<4>[ 714.374755] bcm4329: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0)
<3>[ 746.625579] tun: unknown relocation: 3
#

Did some search, and found:

I am using the toolchain from the latest NDK perhaps I need to change that

currently I have CROSS_COMPILE=arm-linux-androideabi-

Per

EDIT:

looks like the solution is here

I need to add "EXTRA_CFLAGS=-fno-pic" during external module build.

EDIT:

Problem solved

A: compiling with the 4.4.0 toolchain from the NDK v 5b made the modules work

B: adding "-fno-pic" to MODFLAGS in the kernel Makefile, also made working modules with the 4.4.3 toolchain in the 6b version of the NDK
[Desire Android Development] Jagdish84:
Tested skype calls with V3, seems better than V2 although the call's quality is rather bad, back to V1 and all is good again, can anyone explain this behavior?!
[Desire Android Development] fragargon:
hi,

still searching reson the radiocrash, got this

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\xavier>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
# lsmod
lsmod
# ls /system/lib/modules
ls /system/lib/modules
←[0;0mbcm4329.ko←[0m
# modprobe bcm4329.ko
modprobe bcm4329.ko
modprobe: chdir(/lib/modules): No such file or directory
# modprobe -l
modprobe -l
modprobe: chdir(/lib/modules): No such file or directory
#

should we insmod the module bcm4329.ko, seems that it not loaded.

so i try to load the module manualy

su
# modprobe -a bcm4329.ko
modprobe -a bcm4329.ko
modprobe: chdir(/lib/modules): No such file or directory
# modprobe -a /system/lib/modules/bcm4329.ko
modprobe -a /system/lib/modules/bcm4329.ko
modprobe: chdir(/lib/modules): No such file or directory
# modprobe -a /lib/modules/bcm4329.ko
modprobe -a /lib/modules/bcm4329.ko
modprobe: chdir(/lib/modules): No such file or directory
#

but it fails, i m doing something wrong??
[Desire Android Development] ferencz1:
I can't get through "Why so serious" screen, in version v03 (BFS and CFS) :O:O
[Desire Android Development] siliconaddict:
Phone won't boot up with the V03 version, neither with stock VDD levels nor with lower VDD levels, no issues at all with V02.
[Desire Android Development] nickislauw:
working fine here on pre rooted gingebrread rom:)
[Desire Android Development] backfromthestorm:
Any idea why the cgroup errors are coming up in logcat? Got it with cfs too.
[Desire Android Development] persko:
Your problem looks like what had hit me, the misleading error message got me on a wild goose chase, when it was a problem with the module itself an:

#adb shell dmesg|tail reveiled:

bcm4329: Unknown symbol _GLOBAL_OFFSET_TABLE_

a google search showed that this is a problem with the toolchain in the latest NDK v6b.

I recompiled the kernel with eabi-4.4.0 toolchain from v 5b of the NDK, and all was well.

Per
[Desire Android Development] tristan202:
Kernel updated.
[Desire Android Development] mliou:
Hey tristan, thanks for the update. Is it good to assume that the no 2 way calling would be more battery saving? Thanks
[Desire Android Development] zedmarcus:
Thanks...

Time to flash!

EDIT: Ok, wiped, flashed tristan202-v04-CFS-HAVS-AXI-NO2WAY.zip Now I have no wi-fi. In settings it just says "error". Will try the BFS version.

EDIT2: BFS NO2WAY v04 also giving me an error with wifi.

Hmm... Tristan?
[Desire Android Development] Anon87:
Does this mean we shouldn't use the Supercharger scripts with this kernal?
[Desire Android Development] tlexul:
Does this happen only to me?

Later edit:

Guess it's the wrong zImage inside the zip file :-)

Even later edit:

This happens on both BFS and CFS NO2WAY files (hence no WiFi)

Will try one more time with a (another) wipe of dalvik-cache and cache
[Desire Android Development] nickislauw:
wifi not working on pre rooted stock rom on v04
[Desire Android Development] backfromthestorm:
Wifi inop.
[Desire Android Development] caifaz:
Insertcoin ROM

hi I'm currently using InsertCoin CM7 1.1.4 version, can I use this kernel? has anyone tried it?

thanks!
[Desire Android Development] jory9:
you should wait , according to ppl who have tried the v04 kernel , the wi-fi doesn't work.

greetz
[Desire Android Development] tristan202:
Sorry about the issues with Wifi. I must take a look at my build scripts. Seems it reuses the first build wifi module in all kernels. I will make some new.

Pls stick with v03 until I get this solved.
[Desire Android Development] jory9:
okay , thx for the update , i'll wait a little longer to test your kernel ;p currently on gingercakes 0.7 but still issueing the lockscreen lag , so i will update to your kernel ;D

cheers! ;D
[Desire Android Development] tlexul:
I have the feeling that the packed kernel is v03 while the modules are v04.

Just my 2 cents :)
[Desire Android Development] tristan202:
I can assure that it is not the case. I use eviollett's build scripts, but have been doing a lot of experimenting, and might have crippled them. I have been working on altering the ramdisk, and adding the edits to the scripts, to avoid manual labour. There might have slipped a ****up or two in.

Basically it automatically takes .config one at a time, and do a make, then zips it up and signs it. what may have happened is that it forgot to remove the bcm*.ko from the first build, and reused it for the rest. For me the wifi works, but I am also running the first built kernel.

Anyhow, it is compiling it all again now. Made some changes to the script, and hope it comes out fine now.
[Desire Android Development] jory9:
I'll test it immediatly when uploaded

Greetz

sent from my htc desire running aurora v03
[Desire Android Development] tlexul:
I was only saying this because of the output of uname -a and the file date (zImage has the last mod date in September).

Anyhow, can't wait for the update. I have a really good feeling about your work. Congratulations.

Sent from my HTC Desire
[Desire Android Development] tristan202:
That I can't explain. However, it is working right now, and I will upload ASAP.
[Desire Android Development] jory9:
Tell me when its uploaded ;D

sent from my htc desire running aurora v03
[Desire Android Development] crescal:
actually the last time i flash v3 made my wifi not working but most likely i messed with the flash.

can't wait to try v4. thanks tristan202!
[Desire Android Development] jonoathome:
Is there a cifs update.zip avail for this kernal ?
[Desire Android Development] fragargon:
Yes, see OP

Howto and zip.
[Desire Android Development] siliconaddict:
Tried V04; phone boots this time but no wifi :'(
[Desire Android Development] Sebby:
i tried v0.4 also

no wifi and the info still says i have gingercakes-0.7g installed (kernel i have before installed)

strange.....
[Desire Android Development] sempi601:
I can confirm too that there's no wifi. When I try to turn it on, it says "Error".
[Desire Android Development] utiltiy:
Better you read the last Post's before you confirms. The Problem is known.

=> http://xdaforums.com/showpost.php?p=18063630&postcount=204