yashsingh1/xdaforums huggingface dataset:
[Android Software Development] FlyingSwissman:
? I'm not exactly sure what you mean. I am essentially plotting a wave function, just filling a buffer "x-axis" with "y-axis" the sine values.
[Android Software Development] Alerias:
You actually are not creating a perfect sin wave because the samples array does not have a complete period.

According your code you need frequency * 44100 samples to have the entire period.

Your actual implementation create a wave that does not match the end of samples array with the beginning of the next samples array sent to the device, it creates a little peak and it is what you notice.
[Android Software Development] FlyingSwissman:
Could you please expand on that Alerias.The way I see it the samples don't contain a full sine wave but they do keep going where they left of from one sample to the next. And I don't think there should be a peak changing from one sample to the next.

angle += increment;

The angle Variable is continuously and uniformly incremented. So if the sample a's last entry is

samples[i] = (float)Math.sin( angle );

The first entry of the next sample will be

samples[i] = (float)Math.sin( angle +increment);

I therefore don't see a discontinuity. The angle variable does not get re-initiated to 0.

Thanks a lot,

FlyingSwissman
[Android Software/Hacking General [Developers Only]] Eminos:
Hi,

Vibrate is great when you have the phone in the pocket, but it's terrible if your phone starts vibrating when it's on a hard surface. A table for example.

Is there an app/mod/way to have the vibration automatically disabled when the phone is laying flat on the table? Using the gyro?

Would love to have this option in Cyanogenmod :)

/E
[Android Software/Hacking General [Developers Only]] Eminos:
Really? No one knows?

/E
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
Reserved for future use
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
bump as this thread was nowhere to be seen when I just uploaded it. Sorry if anyone complains about tripple post.
[Tilt, TyTN II, MDA Vario III Android Development] thoughtlesskyle:
heads up in your next rls you dont need provision.apk in there either

also why 2 keyboards they are huge as far as filesize
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
Because when I removed the HTC one I had continuous errors so I figured it was best left not to mention i've seen a lot of things that need the other keyboard. I will remove provision in the next RLS, since I saw it was questionable if it was needed or not from what I saw.
[Tilt, TyTN II, MDA Vario III Android Development] thoughtlesskyle:
basicly is your device can activate over the air from android its nice but ours cant, thats why we have you activate in windows mobile first

its weird they would need the htc keyboard since that isnt a part of cyanogen or AOSP, i havent had an issue without it in my light build
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
Removing the HTC keyboard is fine, i do for the version i install on my phone. Also, if you remove provision on CyanogenMod you will lose the lock screen on wake and lots of other things so i'd recommend leaving it in.
[Tilt, TyTN II, MDA Vario III Android Development] thoughtlesskyle:
cyanogenMod puts the lock screen in there?

their source is really differnt then
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
It's weird!! You get all sorts of issues if you compile the build without provision, even down to the shutdown menu losing options. Takes a lot of fiddling to compile from source that's for sure!
[Tilt, TyTN II, MDA Vario III Android Development] thoughtlesskyle:
whats weird is in the fresh froyo builds i have removed the provisioning.apk everytime without an issue
[Tilt, TyTN II, MDA Vario III Android Development] scooter1556:
After all that, I seemed to remember changing some code around because it annoyed me in RLS 2 so although i have to compile the build with provision included, the apk can be removed in RLS3. (Test it first though incase i messed something up!)
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
Just added RLS 2, removed several files and took off about 5 MB total space.
[Tilt, TyTN II, MDA Vario III Android Development] gigiuno:
which kernel version do you suggest? what about battery consumption?
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
I would suggest to use the .32 kernel as that is what I have tested it with so far. As for battery consumption the build shouldn't affect it too much as that code resides in the kernel. But it should be a little better on battery given that the cpu isn't doing much.
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
Well I looked up some information on the market and evidently the market itself does not install the applications but merely passes on a command to the built in package manager to do the work so it looks like in the next few days ill put that to use to slim my build down even more.
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
Posted bug fixed version to resolve call and lock screen issues. Re-added provision.apk
[Tilt, TyTN II, MDA Vario III Android Development] waterpolo:
Please add the dutch language (NL) back in your next release.
[Tilt, TyTN II, MDA Vario III Android Development] Michga:
you're using 570mhz? i thought msm7200's max is 528mhz. when i set it to 570 with rogue tools, my system gets lags after 5 minutes.. (i have enabled gpu OC in Atools.)
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
I will see what I need to do to re-add the dutch language back in as I am not sure what file uses that. Also 528 is not its max but is just what most devices use. If yours is starting to lag after 528 after 5 minutes to me that signals some instability somewhere in your phone. I am sure most kaisers wont hit 570, at 576 or more when I turn my phone to sleep it doesnt come out so I keep mine at 570 as a precaution. What I did was in the nbh leave the cpu at 400 but then overclock the gpu. I set my cpu speed with rogue tools only.
[Tilt, TyTN II, MDA Vario III Android Development] thoughtlesskyle:
as far as i know languages are controlled by the framework-res i hope im wrong though because if their is an easier way i would love to find it
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
No... you theme is something i would like to keep. I'll try my luck.

But first i must install a OS that manages SymLinks. For my sanity
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
The themeing is in like I said, framework-res. Not sure if it calls upon anything CM specific but I think it doesn't
[Tilt, TyTN II, MDA Vario III Android Development] xnakeg:
i have one quetion how can i install the new market update in your build

thnks so much very good work gingerbones looks so cool

pd :it`s posibble to have the cool shutdown animation like a tv screen off of gingerbread in our kaisers ???
[Tilt, TyTN II, MDA Vario III Android Development] Valliant7:
I have problem with the android instalation.. Anybody can help me?

Currently i've a kaiser that i want to install android in it.. The problem is whatever i use android ROM it color seem like in 16bit.. Not so smooth.. Just like windows system in safe mode.. it's really annoying tough.. How to solve this problem? thanks for helping..
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
Wrong panel type?
[Tilt, TyTN II, MDA Vario III Android Development] thebazman:
hi

trying your 4.5 odex and clemsyns latest kernal everything great

the only problem i hav at the moment is internal storage is saying zero and when in market to download it stays at starting download but doesnt get any further.

i had this issue with clemsyns final build also so its not down to your rom

so in laymans terms for me this is a great rom but i cant download anything or move apps from my sd card and think its because storage says zero

any solutions?

regards

i never had this problem with scooters latest but i had loads of other problems
[Tilt, TyTN II, MDA Vario III Android Development] thebazman:
hi

scrap the above i changed settings in cyanogen to external sdcard and it now i can download apps

as i was typing this phone wouldnt wake up so i took battery out will let you know the outcome

regards

rebooted and lost all settings but seems to be alright apart from that, can download to sd card but internal storage still zero
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
How are your partitions set up in your nbh?
[Tilt, TyTN II, MDA Vario III Android Development] thebazman:
syst/nand and data/nand

its not downloading now

i tried again to download barcode scanner and it downloaded and installed no problem

i then tried fancy widget but installation failed
[Tilt, TyTN II, MDA Vario III Android Development] thebazman:
ive downloaded 2 apps successfully and their in the app drawer and ive used them but i cant find them on sdcard or system\apps

found them @sdcard/.android_secure
[Tilt, TyTN II, MDA Vario III Android Development] thebazman:
tried to download clockr but failed in installation, i then downloaded simiclock and it installed no problem

but i still like your rom and its the only rom ive used that everything seems great apart from the (will/will not install) problem

regards

just scared to reboot incase it fooks up cause its working well

i take it some are downloading because the dev lets them install to sdcard while the ones that install to internal storage obviously wont install as i hav no space there
[Tilt, TyTN II, MDA Vario III Android Development] elmicha:
Busybox tools in /system/xbin are just files

Thank you, aceoyame, I'm using your RLS 5.1 De-Odex and it works great!

However, all the busybox tools in /system/xbin are just files with the word "busybox" in them, and so these don't work. These should be symlinks or hardlinks to busybox (otherwise busybox doesn't know what it should do).

In /bin there are additional hardlinks to /system/xbin/busybox, so because the default PATH has /bin before /system/xbin, almost everything works. Only if somebody calls the tools in /system/xbin with the full path they don't work.
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
Afirmative on that Houston. All SymLinks have been 'lost in translation'. i'll attempt to create a simple script to recreate the links.

As expected, i screwed up. set all files as links to /bin/busybox

Didn't quite work. reflashing :)
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
Ahahahahha Livewallpapers are working... at least Starfield 3D and Flurry :D :D
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
Really? Been tryng to find a stable build that'll do those... will have too give them a try. :D
[Tilt, TyTN II, MDA Vario III Android Development] Valliant7:
yes.. wrong panel type.. problem solved.. thx..
[Tilt, TyTN II, MDA Vario III Android Development] alecuba16:
I tried to install several times in my kaiser, but the wifi isn't working shows error when try to active.

What can be?

I'm running 1.65 radio.

With scoot 6.1 is working well (the wifi)

Thanks
[Tilt, TyTN II, MDA Vario III Android Development] drvitorino:
I also have 1.65 radio with the latest kernel from l1qu1d and Cyanogenmod. Wifi does not work if I do not configure the kernel correctly with Atools, make sure that you have Froyo selected.

Android still unusable because it is too much instable. Generally it takes 2 reboots to start freezings, restartings and app uninstallations. Sys and Data on NAND, no way to use Android at this moment on my Kaiser. Only Rom reinstallation solve the problems here.

Cyanogen is so fast! I think all this work really worth it....
[Tilt, TyTN II, MDA Vario III Android Development] w0ngj0w0:
wifee error :confused:
[Tilt, TyTN II, MDA Vario III Android Development] lkey2008:
Thank you for sharing!!
[Tilt, TyTN II, MDA Vario III Android Development] elmicha:
WiFi didn't work for me until I saw that thread and installed the initrd from there (I'm using HaRET and the latest 2.6.32 kernel).
[Tilt, TyTN II, MDA Vario III Android Development] a.s.j:
I have strange problem...

Your build is so stripped, that it is quite useless and without adding some more apps I am not able to use it even if I really want to...

No sync, no clock, no file manager... etc...

I tried to load your android update and it pushed me to data corruption...

I even tried to create my own tar, but perhaps the win app I use does something wrong, because I can not repack your build and when I create my own it ads just file named "system\app\blablabla.apk" instead of creating the file in the right folder...

It seems to me that the problem is the backslash instead of slash in the structure and that is quite strange... but when I create only update to put corrected keymapper file it is loaded in the right place correctly...

So I am quite lost...

Would you be so kind and create update tar for me with sync, clock and at last the file manager putted in the system/app? Thank you...
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
When you repack tars, I recommend 7zip program as WinRAR or any others corrupt the file structure.

I had no problems repacking this build with what I need, and it works great. :-)
[Tilt, TyTN II, MDA Vario III Android Development] mmec2:
asj: you might have just been unlucky and got corruption when you rebooted, the android updates worked fine for me, and sync and the alarm clock are included

If you applied the EmailAndDeskClock update and the alarm clock sometimes FCs, then that is my fault, the clock doesn't seem to work very well when you put it in data instead of system.

It will work properly if you move it into /system/app

type this in the terminal:

su
mount -o remount,rw /system
mv /data/app/DeskClock.* /system/app
mount -o remount,ro /system

you must restart after this, as apps in system are only loaded on startup.

I'll fix the androidupdate a bit later and I can put astro in it too if you want. As Krazy-Killa said -use 7zip to edit an androidupdate.tar on windows, but I don't think you can create them properly on windows.
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
You can create them in Windows, granted its like Russian Rullet, but it can be done. Used my desktop (Windows 7) to modify android builds at first.

I use my laptop now to load my phone with builds (has Ubuntu 10.10), so I have no problems lol
[Tilt, TyTN II, MDA Vario III Android Development] mmec2:
Here is the updated Email and alarm clock androidupdate (as these apps cannot be downloaded from the market)

asj: here's one - LotsofApps (well, only 3 more.... :rolleyes: ) with the new email and alarm clock update plus the account and sync setting update (all in /system/app)

and in /data/app in case you want to remove them:

Astro file manager

Gmail

RogueTools
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
That is the point of the build is to be stripped as possible. There are many free alternatives out there for those apps. Also it is possible to re-add them in quite easilly if you open the build with 7 zip and drop whatever apk you want added in the /system/app folder. It is pretty much the bare minimum to run android that way it is more customizable and will give you maximal speed by having only what you want.
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
The advantage of a stripped, is that you gate the bare minimum.

I took the 5.1, added my apps from other releases (had to find de-odexed ones), like deskclock, gmail, etc etc, added them to androidinstall.tar, flashed the tar.

Then, i run /system/bin/odex.sh, and a edited odex.sh for /system/app, after mounting /system with rw permitions.

After that, copy all files from /system/app and /data/app into the sdcard, went back to the computer, and re-edited androidinstall.tar to get all those odexed apps into it.

Right now, running latest (as of this writing) kernel from clemsyn, zeam launcher, have the set of GAPPS, two google sync acounts (google apps), and everything is running quite well. I have gingerbones animations, and speed, with my apps. It took time, some work, but hey.. if i wanted everything done from other i would have bought a desire :D
[Tilt, TyTN II, MDA Vario III Android Development] a.s.j:
Of course, I know. And I really like an appreciate that. I just had problem with creating tar files. And I was not able to update, but that may be also by the test kernel, that was really unstable... I'll try again with other one and also use another sw to create tar.
[Tilt, TyTN II, MDA Vario III Android Development] alecuba16:
about the speed, some one tested the donut versus this?, this is the best froyo for me, but versus donut what is fastest?

Thanks!!
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
I've made a small androidupdate.tar, that fixes /system/xbin

If anyone wants to try it, no warranties :D

http://xda.daedric.net/androidupdate.tar
[Tilt, TyTN II, MDA Vario III Android Development] Krazy-Killa:
You're awesome. This solved all my problems when it came to my bluetooth and wifi LEDs, and any other isues that I didn't notice. :-)
[Tilt, TyTN II, MDA Vario III Android Development] over2land:
Ok, updated to the 5.1 build. wifi, bluetooth, camera et al working. Thanks again ace. For some reason Scoot's don't work for me, but yours do. And that is using same kernals and build procedures in Atools.

I have what might be a nooB Android question. Not having really run any Android builds but these successfully and not having a native Android device yet I have no basis for comparison. When my phone goes to sleep, wifi shuts off. I like this fact even though when I am out of cell range email doesn't auto-update. I like it because it saves power when I'm not using the phone. How much, well who knows.

But anyway, is the wifi shutting off on sleep an Android thing or is that a built-in thing from Scoot or Ace on these builds, or is it a malfunction that I just happen to enjoy?
[Tilt, TyTN II, MDA Vario III Android Development] mmec2:
Its an android setting:

Settings > Wireless & Networks > Wi-Fi Settings > *Menu button* > Advanced > Wi-Fi sleep policy
[Tilt, TyTN II, MDA Vario III Android Development] hom.hom:
Well as seems out of your post you have wifi WORKING: how did you do it?

I have tried all the latest files from http://androidhtc.git.sourceforge.net/git/gitweb.cgi?p=androidhtc/kernel-release.git;a=tree, including kernel 2.6.25 and 2.6.32. BUT when I turn the wifi on I get ERROR on the place where it normallt should say to which wifi network you are connected.

PLEASE SOMEONE HELP!!!

With fat free froyo and the latest files, 2.6.32 and initrd, I have wifi though..
[Tilt, TyTN II, MDA Vario III Android Development] mmec2:
Have you applied the update on the second line of this post?

(If you use one of the latest builds such as aceyame's barebones 5.1 or 4.55, thoughtlesskyle's Not So Super Froyo RLS18 or scoot's CM6.1 RLS5a, then you don't need this update)
[Tilt, TyTN II, MDA Vario III Android Development] hom.hom:
I use the latest build of aceyame's barebones 5.1, but the wifi still doesn´t work, these builds

http://www.mediafire.com/?kzc3l33vh11dq4e

http://www.mediafire.com/?209cxuh4ikvptwv

Now I have also extra applied the update given in your link and again no success

while the wifi does work in the 4.55 odex build http://www.mediafire.com/?54xy5c87jeu23g5
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
It might not be anything, but try the update on post 811 just a little up, see if it helps :)
[Tilt, TyTN II, MDA Vario III Android Development] hom.hom:
It still doesn't work after applying the update. But maybe you can revert the changes in "wifi settings" you made between build 4.55 and 5.1
[Tilt, TyTN II, MDA Vario III Android Development] over2land:
I didn't do anything fancy. I did have the same issue you are seeing at one point. I re-downloaded the kernel and used Atools 1.4 to modify it and it went away for me. Not sure where the problem was, but as someone told me (likely in this thread... not sure) a problem with the wifi is likely due to the kernel. FWIW, on this installation I actually forgot to run that update that is linked to above... but yes in the past that update solved the issue for me as well.

Just out of curiosity, are you selecting the correct kernel tree when you run Atools? I mean, I am not (obviously) any android genius but failing to do that could lead to all kinds of things.
[Tilt, TyTN II, MDA Vario III Android Development] over2land:
Thanks mmec2. Is that common to 1.6, 2.1, and 2.2?
[Tilt, TyTN II, MDA Vario III Android Development] mmec2:
It's been quite a while since I last used a 1.6 build, but I think that setting is the same in all of them
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
I will be releasing 5.2 later today. I haven't done so yet due to the fact I got a new motherboard a couple days ago and it's been a ***** getting this thing running stable. I got a xfx 680i board for 40$ to upgrade from my gigabyte G41 based board. I managed to get a 90 mhz faster overclock and I have sli now lol. Bought it mainly because one of the ram banks died on my old mobo.
[Tilt, TyTN II, MDA Vario III Android Development] over2land:
Gotcha, thanks again.

What are the differences with 5.2? Can we use the same kernel? I just wiped my desktop last month.. Ran out of space on the hard drive so put a new one in it same deal for me, took days before I had it back where it was so I feel your pain. So far no RAM problems. But when I built this one I went with older architecture. If the RAM or video card goes I'll have to go to a newer mobo myself.
[Tilt, TyTN II, MDA Vario III Android Development] aceoyame:
Yes you can use the same kernel. You probabbly won't even need to wipe data either. I am just including a few fixes with it.

But yeah, my overclock on the old motherboard was 3.66 ghz, im at 3.75 now. Not much bigger but it's still more plus I can use my ram again lol. It sucked having only 1 good bank. Plus now I have sli available if I should want to use it.
[Tilt, TyTN II, MDA Vario III Android Development] komochko:
New Version

When you publishing the new version would you add Haret.exe, new kernel and other stuff? I am newbie so I don't know what would be the kernel, default.txt etc. would you publish also those files ?

Thank you.
[Tilt, TyTN II, MDA Vario III Android Development] daedric:
I'm still using your release.. just small adjustments to fix xbin, add my apps, newmarket.. and such.

Stable as hell. OC via atools to speedup bootinh (500mhz), then via RogueTools to improve stability (don't know if needed). Only bad thing so far, was a softreboot (not the whole kaiser, just android) out of nothing. Quite happy now :D
[Tilt, TyTN II, MDA Vario III Android Development] thaiduong2009:
hi there!

thanks for good build. i love it**

good and fast and magic animation.

but it seem missing font unicode ( i need them) so how to put unicode font on this great build?

thanks for all

sorry for my terible english.
[Tilt, TyTN II, MDA Vario III Android Development] nishant.gaidhani:
I'd also request the same. It saves lot of time in trial and error for finding the right combination of kernal, radio and android build.

What you are doing is already great but if you put links for all of these along with the android link, it will really help all of us who are newbie.

BTW thanks for all of your work, you guys are keeping me excited even for my old phone :)
[Tilt, TyTN II, MDA Vario III Android Development] xnakeg:
Can u add the new market update

I change to nssf bcuz with gingerbones i hav a lot of freezes ur build is so cool but i dont know why this happens also my battery drain faster

Im now with clemsym kernel .32
[Tilt, TyTN II, MDA Vario III Android Development] a.s.j:
Did you use BusyBox update that is in the particular thread? I found out, that it fu*ks up everything... messes the keyboard (on Fn it puts numbers or few math signs on every key), breaks stability...

Or is it only for me?