yashsingh1/xdaforums huggingface dataset:
[Legend Android Development] Carveout:
O.k. I still don't get it. What does the concept of the interactive governor have to do with implementing all these frequencies into one kernel other than that there are more potential steps aiming for more smoothness measured in TICKS?

My understanding is that the interactive govenor will scale up and down step-by-step giving the remaining tasks a perfomance benefit. On wake-up it will scale up to max cpu only when the cpu is 100% busy after 1-2 ticks fired by the timer.

I am experiencing the issue that the cpu remains at 245 after waking up from idle for a couple of SECONDS.
[Legend Android Development] BlaY0:
OK, now tell me how many profiles do U have? Better yet write down all profiles and their settings and I will tell you where's the catch.

Sent from my HTC Legend
[Legend Android Development] Carveout:
I deleted the profiles and went down from 825 to 806, but will reconfigure for testing if necessary. I recall profile looked sth. like this

temp>40 100% 254/600 int

bat <50 50% 254/600 int

bat <30 50% 254/400 int

scr off 100% 254/254 powersave

Main setting 600/825 int

Don't nail me on these pls.
[Legend Android Development] BlaY0:
No need to revert just to test. If U feel like interactive governor is better than ondemand then so be it. My point was just it does not necessarily mean that only governor is responsible for better/worse performance shown in quadrant.

Sent from my HTC Legend
[Legend Android Development] Carveout:
Thanks, I wasn't concerned about my phone's performance. I went back to ondemand because my phone didn't wake up anymore. "Elk" considered there might be sth. wrong with the implementation of the interactive gov. and he felt it was faster, so I guess he went back to dumfuq's 806 kernel.

Keep on testing...
[Legend Android Development] hotaso:
Hi folks, i have some troubles with Superfroyo...

It doesn't detect my sdcard. As it is mentioned by the author, i made the three partitions in sdcard from recovery. When i rebooted the phone, Android told me it can't mount the sdcard because it wasn't formated. I formated it and consequently i pushed the rom in sdcard. Reboot, recovery, wipe, flash, reboot and waited 4 minutes in order Superfroyo installed all. Well, i rebooted again and then Superfroyo didn't detect the sdcard.

Without a sdcard i can't use rom manager, titanium backup, etc. Addition, when i tried to reboot to enter in recovery again with "./recover-mac.sh" from r4-legend-root tools i get next message --> "device not found". I can't make anything without sdcard...

Any solution?

Thanks.
[Legend Android Development] maxq1:
^ flash attached file in recovery after partitioning. it might or it might not work but it won't brick your phone ;); so no harm trying. worked for me though on azure/cm6 nighlties. HTH
[Legend Android Development] BlaY0:
That is why you were encountering some lag before your phone went to higher frequency when you went from screen off to screen on. SetCPU had to switch governor first from powersave to interactive and then change top/bottom freq limit.

SetCPU is actually not so good in switching governors... it doesn't update advanced settings after it switches. I talked with Michael about that and he said that this feature is yet to be implemented...
[Legend Android Development] elk2210:
Thanks Blay0, that sounds logical.

I could make a test with dumfuqs original 4.0 (I think that one has the interactiv governor. But there is something to configure after flashing, right? But I don'really understand what to do ^^

You're right. I'm currently runnig dumfuqs 3.5. And the issue with the slow-wakeup was happened after flashing 8.4.2 without wipe (so my SetCPU settings were saved) and the kernel implenmented in the ROM does not have an interactive governor. Thats why SetCPU could not change the frequency from 245 up.

With the super@tmels-kernel and OnDemand governor there were no problems.

But again, it feels slower (a little bit laggish) and it significant scored lower in Quadrant.

If I'm understanding what to do to flash and configure dumfuqs 4.0 kernel, I will test this one.

EDIT: If I just flash the 4.0-kernel over my current setup, with SetCPU configured, do I have to configure the init.d thing described here for setting up my maximum speed?
[Legend Android Development] BlaY0:
Yes, because if you don't, as soon as kernel gets loaded and system starts booting, you CPU will step to the highest possible frequency in freq table and your phone will most probably freeze before it gets to the point where SetCPU kicks in and set the top speed to some sane (your desired) frequency. That's because dumfaq's kernel has interactive governor set as default and this governor does not have default boot values to set (in kernel configuration) like ondemand governor.

To me the most noob friendly solution would be using latest CM kernel which has dumfaq's frequency table (so it can go up to 864 MHz) it has interactive governor support but it defaults to ondemand and default speeds to 245 MHz bottom and 600 MHz top. So it would start normally (won't boost to 864 MHz) and later on you can set governor and speeds with SetCPU.
[Legend Android Development] hotaso:
Uhm, i'd like be able to do this, but i have no communication between pc and HTC Legend, so i can't use recovery. When i connect through out USB and i execute recovery-mac.sh i get "no device found".

I tried to sync with HTC Sync in Windows but i get the same message: "There is not a device connected".

How can i flash the file attached then ?

P.D: I'm a ****in noob, so i'm sorry if i ask simple things.
[Legend Android Development] BlaY0:
If you are noob then you probably dont want to flash this. Do you even know what it does?
[Legend Android Development] elk2210:
If im looking in /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq there is already "806000" in this file. Am I right that these value will not be overwritten by a kernel flash? So after this my device still start with 806MHz and all is nice without editing something?

EDIT: And I cant cd to init.d:

~ # cd /system/etc/init.d

cd /system/etc/init.d

/sbin/sh: cd: can't cd to /system/etc/init.d

And yes, I've mounted /system before :)
[Legend Android Development] BlaY0:
Nope, you are not right. File /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq is actually kernel tunable. So whatever is kernel default, it will be in this file upon boot. SetCPU is changing this file also.

Now you say you have dumfaq's 3.5 806 kernel... it means sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq is set to 806 when kernel run. Upon SetCPU start it is changed to whatever you have it set.

After you flash 4.0, /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq will be set to 864 when kernel run and before SetCPU would kick in and set it to your desired value (806), your phone would already (most probably) freeze.

Because you dont have that functionality (run-parts) built in.

Thatswhy I said your safest bet would be installing the latest CM kernel.
[Legend Android Development] elk2210:
Thanks a lot for your explanation! I'm learning and learning :)

Amnd becuase I like learning about my device, where is this functionality not built in? In my ROM? Or in my current kernel? And how can I pass this problem?

I don't want to use CM-kernel, because I like the ones from dumfuq a lot and I want to compare the dumfuq-kernels with the one in superatmel. But thanks for this suggestion!

EDIT: I found something in /system/etc/super.

There are script files like in /sytem/etc/init.d.

Can I use this for echo the command?

The are two files with leading double-zero:

00arranque (means "start")

00initio (means "home")
[Legend Android Development] BlaY0:
So you actually have run-parts functionality except it pulls scripts from different dir. Yes, you can put echo into 00arranque. Can you plz paste these two files into pastebin so I can see what they actually do.
[Legend Android Development] elk2210:
Nice :)

I'm pasting it here for you :)

00arranque

#!/system/bin/sh
echo "+++ Bienvenido a Android `getprop ro.build.version.release` / `getprop ro.modversion`";

# Instalador de temas
#
if [ -e /cache/SupTheme ];
then
echo "+++ Instalando Tema"
busybox mount -o rw,remount /system;
busybox cp -a /cache/SupTheme/* /;
busybox rm -r /cache/SupTheme;
busybox mount -o ro,remount /system;
echo "+++ Nuevo tema instalado"
else
echo "----- No hay tema que instalar"
fi;

00initio

#!/system/bin/sh
echo "+++ Bienvenido a Android `getprop ro.build.version.release` / `getprop ro.modversion`";

# Instalador de temas
#
if [ -e /cache/SupTheme ];
then
echo "+++ Instalando Tema"
busybox mount -o rw,remount /system;
busybox cp -a /cache/SupTheme/* /;
busybox rm -r /cache/SupTheme;
busybox mount -o ro,remount /system;
echo "+++ Nuevo tema instalado"
else
echo "----- No hay tema que instalar"
fi;
rwsystem;

Really similiar, isn't it?

And now I'm trying kernel 4.0 :) But now I'm not sure anymore which file of this two to use :)

EDIT: But it must make now difference, right? :)
[Legend Android Development] elk2210:
OK, kernel 4.0 is up und running on my legend and it boots, so it seems like I did it the right way ;)

Quadrant is scoring (with 806/806 interactive) between 1026 and 1192. Seems like the same as with kernel 3.5.

I've now set my boot-frequency to 600000, do you would suggest to go to 806000 for any reason?

Thnkas again for your nice help an your good lesson :)
[Legend Android Development] hotaso:
Well, i bought a new SDCARD and it is formated in FAT32. Android remains without detect it. Recovery doesn't run, console says "device not found" and in Fastboot the device is detected but when i tried to make "fastboot erase system -w" i got:

MacBook-Pro-de-Ruben-Jimenez:r4-legend-root HOT$ ./fastboot-mac devices
HT03CNX02476	fastboot
MacBook-Pro-de-Ruben-Jimenez:r4-legend-root HOT$ ./fastboot-mac erase system -w
erasing 'system'... FAILED (status malformed (1 bytes))
MacBook-Pro-de-Ruben-Jimenez:r4-legend-root HOT$ ./fastboot-mac devices
????????????	fastboot

I only want to flash again... But i can't :(
[Legend Android Development] qzem:
You probably bricked usb, try searching forum, how to ubrick it.
[Legend Android Development] Carveout:
Thanks! That explains it. However, I decided not to use setcpu any longer.
[Legend Android Development] Carveout:
You want to set cpu max frequency to 806, correct?

echo 806000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

I don't know much about the init process of Superfroyo, but maybe you could post here which script you used. I somehow doubt the /etc/super is the right place.
[Legend Android Development] elk2210:
Like I post yesterday I used "00arrange" as File and enter paste this line there (at the beginnig):

echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

I think 600MHz is enough for booting up. But should be no problem to boot with 806. My question was, if there is a reason to boot with 806 instead of 600.
[Legend Android Development] BlaY0:
Those two 00* files are basically the same except 00initio is doing r/w system overlay at the end. I think that 00arranque was left there by mistake. You can delete it and put "echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" into 00initio just after "echo "+++ Bienvenido..."

Setting 806000 there would most probably give you a second or two shorter boot time ;)
[Legend Android Development] elk2210:
Thanks, I've done it that way and it works fine ;) Thanks again, BlaY0!
[Legend Android Development] Carveout:
??

"scaling_max_freq" sets the maximum frequency your CPU is allowed to scale to. The default is 600000. I am afraid that if you set it to this value if will never get up to 806.

Just to confirm the script is working. Change the echo command to any another value and see if it works.

You might also want to check with setcpu. It will change exactly those files. Use your favorite settings and check what it does with each config file.
[Legend Android Development] BlaY0:
That's where you're wrong m8. scaling_max_freq is kernel tunable that we can change any time! We set it to some sane value while booting and after we have a working system we can play and set it higher (manually or via SetCPU). However it is limited with cpuinfo_max_freq.
[Legend Android Development] Carveout:
Maybe it's language... Yeah, you are right, but, in this context - setting the cpu frequency via echo command - I believe my comment was accurate.

cpuinfo_max_freq = max. CPU frequency determined by hardware

scaling_max_freq = max. CPU frequency determined by current govenor
[Legend Android Development] FUXAS:
Hello again, I need to add my custom ringtones to sd. So how the folder must be named, that I could see those ringtones in mobile?

I've tried "ringtones" and "my ringtones" folders and none of them worked.
[Legend Android Development] elk2210:
Make following folders on your SDCard:

media/audio/alarms

media/audio/notifications

media/audio/ringtones

After that you can put your files in the folder you like. Don't forget to rescan your Card ;)
[Legend Android Development] FUXAS:
Thank you, it worked :)

Now, the other problem.. vibrate is checked, but when I got sms, there's no vibration at all... How to enable it ? :]
[Legend Android Development] elk2210:
Have you checked the settings of the SMS-app and the systems-settings?

I think the settings in the message-app (SMS/MMS) is overwriting the system-settings.
[Legend Android Development] FUXAS:
Have no sms app on my phone.
[Legend Android Development] elk2210:
I mean the application to write and read messages ;)
[Legend Android Development] link2009:
You're so condescending it's not even funny anymore.

I really hope the devs disregard ali ba's comment and just continue doing the great work they've done since day 1.

The ROM is working really well, thank you.
[Legend Android Development] g0dshead:
LoL why take this so personal , he's only making clear that it's rather unlikely it will ever happen (might be cause he put much time and effort into it) , and next to that speaking his mind on what he thinks about HTC's mess

Dont really get your anger towards him.
[Legend Android Development] tharonald1981:
What a great rom this is! Did anyone tried out a wifi tether program and got it to work??
[Legend Android Development] tharonald1981:
If someone needs a script to set cpu speed, use the script in this zipfile and place it in /system/etc/super2/. Do not forget to set execute permissions on the file (i do this with rootexplorer)
[Legend Android Development] kastell:
Barnacle Wifi Tether --- Works Fine. I use this program now. (Free Market)

Wireless tether --- Reboot Legend desperate!. (I hope cooker solutione this bug)
[Legend Android Development] wooikok:
I tried Barnacle Wifi Tether......but having problems to have it associated...

any remedy?

wireless tether>>>refuse to start up...and reboots legend...:(
[Legend Android Development] kastell:
barnacle works fine, configured and configured wifi card "ad-hoc" mode, and pacient.

Launch several times and will get.

Greetings.
[Legend Android Development] gregnapola:
Simply the best one for me....

I've had a lot of issues with CM RC1 :

- during videotaping the autofucus didn't stop working ...always "fllickering"

- couldn't play some videos (WHY ?!?! )

- couldn't watch any video on youtube HD cause it stopped on the 1st frame...

Dunno if I did something wrong but...I flashed back this one after a day...and it works PERFECTLY.

Thank you Superatmel
[Legend Android Development] rašo:
How to install phone keyboard?
[Legend Android Development] :
raso - find a keyboard you like in the market, and install it.

Then in:

Settings - Language & keyboard - tick the box next to your newly installed keyboard to enable it.

Then, on any application with a text input box (Google Searh, or your messaging app), long-press on the text input area, to bring up a menu with "Input method".

Then just choose your newly installed and enabled keyboard.
[Legend Android Development] :
Anyone know of a way to enable a camera shutter noise?
[Legend Android Development] cebu:
Originally Posted by bjohv052

Get wifi tether working:

http://code.google.com/p/android-wifi-tether/issues/detail?id=690

Reported by chaoseternal, Nov 07, 2010

Which device (manufacturer, type)?

HTC Legend

Which firmware is installed?

CyanogenoMod 6.1 Nightly Build

What version of wireless tether are you using?

Installed from Market.

What steps will reproduce the problem?

1. start wireless tether

2. grant root access

What is the expected output? What do you see instead?

expected: working normally

seen: device reboot automatically

It is working also with the normal release 6.1, so maybe also with this version because Azure 6.1 also restarted always with the old version of wireless tether.

Link apk,

http://android-wifi-tether.googlecode.com/files/wireless_tether_2_0_5-pre13.apk
[Legend Android Development] rašo:
dont work, i go on input method but nothing the show me :o:o
[Legend Android Development] zorro12010:
super circle battery

Hi Manudas,

Could you tell me how I can change the supercircle battery in 8.4.2 superfroyo rom.

With the uot kitchen I can not find the superfroyo rom to cook a new battery and if I choose another rom base I get an error every time.

Thanks in advance.
[Legend Android Development] frverbruggen:
Music

Hi there,

I'am very happy with the new ROM but i have 1 problem that i can't figure out. Sorry for my bad english i'm dutch:).

When i play mp3 my phone hangs after playing 1 or 2 songs. The only way to start again is restart my phone by loosing my battery.

Does anyone have an answer, because i wanna use the music player.
[Legend Android Development] gtpete:
anyone having battery usage issues with this ROM?

Really bad compared to 2.1 stock ROM
[Legend Android Development] evank418:
Did u overclock? I am using this Tom oc'ed to 787 n having no prob compare to stock rom. Then again, I only used stock rom for only about 10min before I rooted =)
[Legend Android Development] Gorbayov:
WTF?

there is no Phone Contacts or My Contacts, i can only see Google Contacts, why is that???

i dont care my numbers gets synced with google but:

i want to join the contacts with facebook contacts so i'll have their pictures from facebook.

which i can.. but then i want to use other app for showing my contacts (like Dialer One) and it only shows the pic from google and not from facebook, in stock contacts i see facebook pics..

in stock htc rom and in cyanogenmod 6.1 RC2 where i had phone contacts i could see the facebook pic in every app..

if i go to contacts, then click menu and 'display options', i can see only my google account and no phone contacts..

if i add a contact it doesnt save it to phone.

does anyone knows how to fix it????????
[Legend Android Development] evank418:
that's just how it is with google since the beginning. HTC tweaked it a bit so that you can have seperate app such as people and friendstream to keep the person's info all together. google way is to log into google account, log into facebook and sync photo. from contact, you will see that all photo will be sync with the phone number you have saved.
[Legend Android Development] Gorbayov:
i did what you say but it still doesnt sync the pics from facebook to google..

and when i edit a contact, in the facebook section it says "Facebook contact information is not editable on this device", what is that??
[Legend Android Development] Gorbayov:
nevermind i've managed to sync my facebook pics with google with the help of this site:

http://phaceboogle.bisounours.net/

it works even if the name is not the same, you can set a name from facebook to a different name in google..
[Legend Android Development] evank418:
had somewhat similar prob with you too. before you sync the phone # from google account, sync facebook first. that worked for me
[Legend Android Development] rašo:
How to install touch input - phone keyboard?
[Legend Android Development] manudas:
The autor is searching for the error right now. Please be patient, I suppose that will be solved soon.
[Legend Android Development] snakehult:
ROM working here...

will do some testing.

umm, reboots spontaneous.

All semes to work but it starting to change permissions on files the int crash and reboot
[Legend Android Development] qzem:
Is this rom maybe overclocked? This could explain spontanous reboots.
[Legend Android Development] snakehult:
reboot as soon as screen goes dark/locked
[Legend Android Development] whitetigerdk:
I thought so too.. will try to install again and then install other kernel..
[Legend Android Development] whitetigerdk:
Got a little longer time before reboot using 768 kernel.. But it still reboots
[Legend Android Development] Sckank:
Following this thread like a hawk :)
[Legend Android Development] qzem:
@manudas

What is the update on this rom? Have the developer found what causes reboots? I've tried to traslete posts from original forum with google translate, cause I don't know spanish, but I'm as you know the translations can be very strange :).
[Legend Android Development] BlaY0:
Logcat your gizmo and you'll see what's causing the reboots.... if those really were reboots... or maybe just framework restarts. What reboot means is loading and running kernel again and Android isn't doing that.

EDIT 1: It doesn't say that kernel is overclocked, it just has perflock disabled by default that's it. As I said... dmesg and logcat your gizmo as soon as adbd is loaded if it really reboots itself which I doubt.

EDIT 2: It would help also if you can pull off /proc/config.gz and post it here...
[Legend Android Development] qzem:
I see that this rom is using Apps2SD. Can you ask developer way doesn't he use froyo version, like azure has it? Maybe this is causing problems. Or native froyo function which puts apps to sd is included too?
[Legend Android Development] whitetigerdk:
I just sit laughing at the first post in this thread... "Stable Rom"..

what happened to the "STABLE"??? ;)

However.. I'm looking forward to try this out once the error has been fixed...
[Legend Android Development] toiyeumetre:
Was it already stable or just "expected to be stable". And what is main point to flash this ROM over my current Azure 1.0.1

Best regards
[Legend Android Development] whitetigerdk:
The main reason:

The sport in just trying something new... We are developers... We try.. and we get inspired.. and we develop ;)
[Legend Android Development] BlaY0:
Hmm... if you don't mind asking, what have you develop so far? I mean for Legend Android comunity?
[Legend Android Development] whitetigerdk:
Oohh.. got me..

Still looking in to this Android-thing..

Only have a degree in C++ development (programming) and in PHP...

Before I throw myself into real development I still have a lot to read.. in understanding how the OS works and comunicates :)

But hopefully one day I will kick som a** :-P
[Legend Android Development] BlaY0:
I'm sure you will m8 ;)
[Legend Android Development] manudas:
The developer says That You Can chose the method to move the Applications to the sd. Anyway app2sd is only activated from the configuration program (SupSetup). The developer advises using app2sd, but you can choose it.
[Legend Android Development] manudas:
We find a strange problem. When the rom is started, in the splash screen just before asking for PIN, type adb shell df. The system partition seems to have 98% occupied. However, the developer says that his legend rom has only used 38% of system partition. If checking the space from the recovery to avoid reboots you get 38%. At the moment we do not know the cause of this error. Your help would be appreciated
[Legend Android Development] superatmel:
When you work the way I say it
[Legend Android Development] superatmel:
My system

Filesystem 1K-blocks Used Available Use% Mounted on

tmpfs 149372 0 149372 0% /dev

tmpfs 149372 0 149372 0% /mnt/asec

/dev/block/mtdblock3 245760 93676 152084 38% /system

/dev/block/mtdblock5 189568 69620 119948 37% /data

/dev/block/mtdblock4 40960 1160 39800 3% /cache
[Legend Android Development] TheGrammarFreak:
Find the apk files and install like any other app...

Swyped from my Galaxy Tab