yashsingh1/xdaforums huggingface dataset:
[Galaxy Y GT-S5360 Android Development] ithunter:
might be quick pic and its library file fix that problem.... for more i have to look at source :)

---------- Post added at 06:27 PM ---------- Previous post was at 06:26 PM ----------

Yep sure u can play videos ...i guess :)
[Galaxy Y GT-S5360 Android Development] looking4free:
Thanks that would be great. Will be waiting for it.
[Galaxy Y GT-S5360 Android Development] sohan rawat:
do u hve apk link??
[Galaxy Y GT-S5360 Android Development] looking4free:
Boot Logo

Wow! I just made a wipe data and cache again and the boot animation appeared! Google logo :) Last night it didn't show up.

Edit: I did flashed the new patch and saw the new CM boot animation
[Galaxy Y GT-S5360 Android Development] rummba69:
Display gose mad some times....
[Galaxy Y GT-S5360 Android Development] percy_g2:
fixed it ! testing it !flashing test RC for 10 times for testing !! next version will be fine
[Galaxy Y GT-S5360 Android Development] poran123:
i m getting the same problem sometimes... i thought my display was giving problem... got scared.. hehe
[Galaxy Y GT-S5360 Android Development] amit.mb:
Please include latest apk's... I get update notifications from play store...Updating the apps means internal memory increases...

BTW, I am very impressed by the rom, I wonder how the system apps+ GAPPS manage to use only ~70MB of internal storage.. Never saw that in any ROM except evo-x and i love the theming...:good::good:

Edit: One more thing.. Videos do not play when we use hw decoder in mx player.. Why?? Did'nt Broadcom provide us wiht hw libraries.. hw decoder must work :(

---------- Post added at 03:18 PM ---------- Previous post was at 02:59 PM ----------

A test: We all know that the camera app that comes with cm does not work... So install a bar code reader or Airdroid and scan the barcode with cm camera.. It works!! I passed through the airdroid screen with cm camera :victory::victory:
[Galaxy Y GT-S5360 Android Development] yash989:
This mod allows lockscreen to rotate based on sensor.

To install just flash

LockScreenSensorEnable.zip from recovery

soft buttons-http://www.mediafire.com/?7e491e6izudqdqh

ics callscreen

full image- http://xdaforums.com/showthread.php?t=1785016

normall- http://db.tt/NrTQqOph

I take no responsibility for any harm that comes to your phone as a result of applying this mod.

@percy add this patch to first post or include in next version
[Galaxy Y GT-S5360 Android Development] evanlocked:
Better u should themed the soft button patch just a suggestion bro:D coz its look stocked one
[Galaxy Y GT-S5360 Android Development] percy_g2:
almost done! amit i will ;)
[Galaxy Y GT-S5360 Android Development] yash989:
I have added ics buttons only don't delete systemui.apk
[Galaxy Y GT-S5360 Android Development] rio.:
all devs working together :D great! i will download it later and try to help also.. thanks :)

Sent from my Android System using Busybox Command.

My work

========================

- AndroBot SGY tweaks

- Nandroid md5 Fixer

- Ext4 to RFS Converter
[Galaxy Y GT-S5360 Android Development] alemad:
Bugs:

1.WI-FI error still there

2.that green in the status bar toggles

3.No ICS task switcher

4.After I updated holo launcher it changed the patched things

5.Status bar dissapered after changing theme

6.Very few widgets

7.Settings icons not like ics

8.Dialer numbers aren't fiting well(too close to each other

9.Bluetooth(we all know this:D)

Great work!

Hope you will mod it and add some tweaks and mods.

Bootanimation is great.

ICS task switcher missing(really love it)

A little lag.(not like JBV3 that is the lag in person)

Need bootanimation sound

More themes would be great

Keep up with great work!!!
[Galaxy Y GT-S5360 Android Development] amit.mb:
1.no Wifi error - everytime u want to turn on wifi, type this in terminal

2.Toggles are supposed to be green..:laugh:;):laugh:

3. There's no ics task killer in cm7.. someone has to backport it :crying::crying: or use this app - ICS Task Manager

5. Reboot you phone and see...

6. add widgets by yourself :laugh:;)

7. try this - http://xdaforums.com/showthread.php?t=1638652 ... replace from /system/app and set permissions..
[Galaxy Y GT-S5360 Android Development] Hrustus:
WI-FI not work :3 i install WhiteXP kernel, flash CM7 and the newest wi-fi drivers and no work :3

EDIT: OMG, theres no need to flash new driver for wi-fi, yes? only White kernel...

Fantastic ROM! <3 i love it :D ok, have some bugs, but is awesome, fast and its something that i want since i heared about CM :) awesome work!
[Galaxy Y GT-S5360 Android Development] amit.mb:
deleted
[Galaxy Y GT-S5360 Android Development] l0lh4rd:
Managed to run Flickr Golf on this rom(so the latest HW acc. patch is applied). Currently using this rom gonna post errors if I find any (other than the ones posted). BTW, sometimes screen gets distorted like the display is ruined (can't describe further)
[Galaxy Y GT-S5360 Android Development] alemad:
]

the wi-fi still doesn't work

anybody ggot a fix??
[Galaxy Y GT-S5360 Android Development] l0lh4rd:
having the same problem as well; have to restart my phone every time to use wifi
[Galaxy Y GT-S5360 Android Development] Hrustus:
I can not use Wi-Fi. My MAC addres is not available :3 when i switch on wi-fi i have an error...

ANOTHER BUG:

When i flash CM7 and reboot phone in setup (emergency call/setup language, setting of google account) when i uncheck some options about google localisations, i have Force Close and black screen. Reboot not helping :3
[Galaxy Y GT-S5360 Android Development] amit.mb:
flash this - http://xdaforums.com/attachment.php?attachmentid=1537796&d=1354682194 and report

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

As I said earlier, go to terminal and type this

I had the same problem.. reflashed the rom again...problem solved:good::good:
[Galaxy Y GT-S5360 Android Development] zneto:
Sorry for this noob question, but...

Where is the terminal that you said ?
[Galaxy Y GT-S5360 Android Development] Madridii:
It is an app .. check your app drawer
[Galaxy Y GT-S5360 Android Development] amit.mb:
Its preinstalled.. if not, download this - https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
[Galaxy Y GT-S5360 Android Development] alemad:
even if i restart my phone it doesn't work

i tried that terminal method too

i tried it lots of times and no result
[Galaxy Y GT-S5360 Android Development] l0lh4rd:
same here bro; doesn't work
[Galaxy Y GT-S5360 Android Development] amit.mb:
flash this in cwm - http://dl.xda-developers.com/attach...bb8bedeb47a/50ec510d/1/5/3/7/7/9/6/dhd1.1.zip
[Galaxy Y GT-S5360 Android Development] l0lh4rd:
doesn't work; u need to restart your phone after u turned off your wifi to enable wifi again
[Galaxy Y GT-S5360 Android Development] alemad:
flashed it

it activates wi-fi

but no scan

if i add my home network it sais not in range

if i deactivate it error at activation again
[Galaxy Y GT-S5360 Android Development] Hrustus:
amit.mb big beer and thanks for you :) now its working :) but i have a question: did i must everytime rebooting my phone when i want to turn on wi-fi or just type

# su

# rmmod bcm4330

in Terminal? :3
[Android Software Development] Andy:
Thread Moved,
[Android Software Development] mcbyte_it:
Just published the source code on GitHub, and attached a compiled version on the original post...
[Android Software Development] AdamOutler:
so how do I build my own Cyanogenmod Stats compliant site? I want to have stats for a separate java application and as far as I can see, this is useful for reporting to Cyanognenmod Stats.
[Android Software Development] mcbyte_it:
I attached the php code of the web component/site I use for my ROM in the first thread, together with some information on how it works. If you need other help, I will be glad to help.

What do you mean by wanting to have stats for a java application? you don't want to use it in a ROM?
[Android Software Development] Entropy512:
If you want to track statistics of your own firmware, you should set up your own server infrastructure to do so... I'm fairly certain using CM's server infrastructure for a purpose such as this is NOT kosher. (I'm checking with some of the other CM people to make sure...)

Edit: On reading further, you DO appear to be creating your own server infrastructure? If you're not using CM's servers I'm fairly certain this is OK. :)
[Android Software Development] mcbyte_it:
Sure I am using my own infrastructure, I just used their CM Stats Android code as a base of my ROM Stats app, nothing else :)
[Android Software Development] azoller1:
Thanks so all I need is that apk the lines and a website?
[Android Software Development] Sentinel196:
You dead set legend!!! I was just about to tackle this task tonight for my ROM. Your hard work will make mine so much easier!! THANKYOU!!!
[Android Software Development] pabloltg:
I need help...

I got this in mysite/stats

QUERY: SELECT count(1) FROM zrom_stats
ERROR: Table 'u975064066_black.zrom_stats' doesn't exist

Solved: I just import create_db_table in myphpAdmin

Works like a charm!!
[Android Software Development] phantom5:
thanks for sharing. I'll remove this from every rom i use.
[Android Software Development] BeeGee_Tokyo:
Thank you very much for this share!

I just implemented it into my Ganbarou ROM. Of course with my own stats server behind.

Had some problems setting up the database, as I am not familiar with MySQL, but at the end (with the help of my lovely spouse) I did it.

Added as well a little bit more detailed stats page. If you are interested, check out the attachment. To get the all.php to work you need to add "RewriteRule ^all$ all.php" to the .htaccess file.

Just hope the users of my ROM accept the statistics reporting, not like e3d just above this post :p
[Android Software Development] mcbyte_it:
Once the statistics are stored in the DB, you can find many ways to present the data, by rom, by country....

Thanks for adding this to your ROM, I'll add you to the list of ROMs using ROM Stats....
[Android Software Development] pabloltg:
Mine is in dev yet...

Stats ready!

View attachment 1724483 View attachment 1724484 View attachment 1724485
[Android Software Development] BeeGee_Tokyo:
My problem with the statistics and how to present them is that I have ZERO experience with MySQL queries. Took me quite some time to get all.php to work.
[Android Software Development] BeeGee_Tokyo:
Found a small problem. If I do an update of my ROM, the reports are not send immediately, only after the time set in ro.romstats.tframe. Shouldn't it send a new statistic after an upgrade?

As well, after an upgrade it doesn't pop up in the notification panel. My guess is that it should ask the user after an upgrade again.
[Android Software Development] mcbyte_it:
This is not a problem in the ROM Stats app, it is working just as expected:

ROM Stats is just a normal system/user app, and when the user accepts/denies the anonymous data, that option and the last checkin date are stored in the userdata area. updating the ROM without full wipe/factory reset will not erase that info.

If you want to prompt again on every ROM update, you should wipe the data of ROM Stats (found in /data/data/android.romstats ). you can do this with the updater-script:

run_program("/sbin/rm", "-rf", "/data/data/android.romstats");

But this is a good suggestion for the next version:

If the app detects that the ROM version has changed since last report, it will immediately submit the new data (that's if the user choose to opt-in)
[Android Software Development] GuestX0011:
Got someone who requested I host this on my server as it is mainly ROM hosting ones. Going to see if I can get it up And running so many people can use it as a default.

Do you think this would be possible or would there be mysql conflicts
[Android Software Development] mcbyte_it:
What do you mean by hosting for someone? use 1 server to receive stats for different ROMs? How will it be? all on a single instance or each dev a different location?

I suggested on the first post to make this a single host for all, the only problem is that when many ROMs start using that same server, the server load will increase. Also the data will be all messed up: many different roms with their many different versions. this needs to be discussed and studied well, to be able to offer a reliable service.
[Android Software Development] broodplank1337:
Cool project, I will use it for my next rom :)

http://www.broodplank.net/stats/stats

It was pretty easy to install as well :D
[Android Software Development] BeeGee_Tokyo:
Thanks for the clarification. Will add your suggestion into my updater-script.
[Android Software Development] :
I thought it would have some problems but a simple stats service will not add a lot of load to a server. It could handle more plus it won't be that hard to leverage my other VPS's either in a loadbalancer option or just use (stats1.***.us , stats2. ***.us) and have it on other servers. But using subfolders would be best to separate the instances.

But If I am correct it requires a lot of mysql databases wouldn't to separate all the data?

Could use a submission/application for people and set it up that way. I do think I could get this to work as the load would not be that much and if it ever overloads the server i can turn on the other ones I have as well.

I am willing to be a test bed for developers because the more they can get accurate stats the easier it is to maintain roms etc...
[Android Software Development] mcbyte_it:
yes, separated instances for each ROM will require registration by the dev for their ROM, and will require the creation of a new mysql database and subfolder. but if the app is modified, it can allow a single database collect all the data, by adding an extra column for a developer handle (username/alias) and make the app submit the name with the data. this will make things a bit easier.

This second case will be more accurate for users who frequently switch ROMs, as when they switch from ROM1 by dev1 to ROM2 by dev2, their unique DeviceID will be have an updated state, while in the case of separate databases their ID will be present in more tables, making data less accurate.
[Android Software Development] :
Androidnexus.us/stats is where i put it. And i got it fully operating but i dont know how to modify it further to add tables and keep same user id.

I would like to have it seperated by rom probably but to track each user with ids in the roms and stats for who is on what eyc.

Ill do all the hosting if people can get things configured.
[Android Software Development] chevanlol360:
lol im still completely blank on how to set up the site part :confused:
[Android Software Development] :
Look at androidnexus.us/stats/stats.PHP
[Android Software Development] chevanlol360:
It gives me an error going to the address, or should i be looking at the zip with the web files?
[Android Software Development] :
The php is lowercase lol. And you have to edit the config files with database name and location and passwords.
[Android Software Development] chevanlol360:
lmao im still stuck, sorry not use to this whole site editing/setting up thing, im a moder lol. first off how do i even step up the site it self? do i have to join androidnexus.us first?:confused:
[Android Software Development] chevanlol360:
ok i did a little studying and i think i know how to do it, it the middle of getting it up and running. when i test the entire .php site it just loads and give me an error about host url and username.

here is a screenshot
[Android Software Development] :
There should be a config or a .db file edit that with your username and etc for mysql and.it will work i had to do the same.thing.
[Android Software Development] chevanlol360:
which one? circle 1 or circle 2?
[Android Software Development] mcbyte_it:
You need to modify the config.inc.php file to point to the mysql server, with correct username and password

<?php

require_once('meekrodb.2.1.class.php');

DB::$host = '[B][I]localhost[/I][/B]';	// Database host name
DB::$dbName = '[B][I]romstat_db[/I][/B]';	// Database name
DB::$user = '[B][I]username[/I][/B]';	// Database username
DB::$password = '[B][I]password[/I][/B]';	// Database password
[Android Software Development] BeeGee_Tokyo:
Small change proposal

@mcbyte_it

Thank you very much!!!!

The usage statistics is now in the latest version of my ROM and it works great.

A few small changes ) made to my personalized version:

I use "date" instead of "datetime" in the database. That way I get only the date in the data-base entry. That makes it easier to read. No need to get the installation date listed down to the second. It makes the statistics difficult to read.

I changed the "public static String getCountryCode(Context ctx)" function in "Utilities.java". It will now return a full country name instead of the 2 letter ISO code. That makes the stats easier to read as well. Code change can be viewed on my Github fork.

You can see the results of these changes on my Ganbarou ROM Statistics page.
[Android Software Development] :
If anyone needs or wants a rom stats page i can host it on my server at a unique fder domain.
[Android Software Development] mcbyte_it:
Nice to know that you added this to your ROM's too :)

The changes you made for the statistical data are very detailed, the Stats page is full of data. you might want to have all the info, but not everybody wants to have all those information. anyway, the php pages I provided are just a simple example, they are not intended to be used as-is, everybody is free to make their own reports.

Also the mod for the full country name seems a bit out of place (imho): it can be easily done on the server side when needed (stats page). but if it works for you like this then it is ok.
[Android Software Development] azoller1:
Could I use this on ihostwell.com or 3owl.com?
[Android Software Development] mcbyte_it:
I don't know exactly what they offer, but if they give php and mysql then most probably they should work.
[Android Software Development] evodev:
Just got it working on some test builds for an older software update for my phone! As soon as JB is ready (just started rolling out for the LGOG) I will incorporate it into that rom, not my test builds were only about 50 people were using as I got used to a new device. You rock man!

oh, and I had help from cmsjr123 server side.
[Android Software Development] chevanlol360:
Me please, i would like the feature on my rom on the next update. contact me
[Android Software Development] frogfire:
How long it takes until ROM Stats send the stats for the first time?
[Android Software Development] :
The frequency of the rom that is sent to display stats. And if everything is set uo right on the server it should be instant to 1 minute max. If you need help i have aeveral deployed on my server.
[Android Software Development] evodev:
^This man knows what hes talking about. He got my rom stats on his server, and we just set chevan up on it. He did the server, and I did the build.prop. If anybody has issues with the build.prop, notepad++ is the best program to edit, and its dead simple. If you still have issues, and the OP is busy atm just PM me and I can do it for you whenever I have. Thanks for making this for everybody!
[Android Software Development] :
This guys stats are reporting to my server so you can trust his help. Goodluck if you need help we are here whenever we can be.
[Android Software Development] kyan31:
This is probably a really dumb question, so i'm sorry :p

How do I actually set up the website? When I set it up, I just get to a page called 'Empty' (well actually Epmty)

I haven't done anything with the files besides upload them, i'm using byethost9 as my provider. What am I doing wrong?

Thanks in advance.
[Android Software Development] :
Set up a mysql databse. Then edit the config file with. The username, password and , db name. Then it should start working.
[Android Software Development] kyan31:
Thanks for the quick reply :D

I have done all of that now, is there any way to check that it works? My ROM is currently private so no one is using it. This means I cant get any device statistics.

Thanks in advance.

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

EDIT

I have compiled a new version of my ROM, and i'm using it now. The statistics should be working now, but I still have the 'Empty' page :confused:
[Android Software Development] :
stats.php will bring it up
[Android Software Development] kyan31:
Never mind about me now, I got it working (wooooh)

It just needed some time to settle on the server :D

Thanks a lot for the help :)

Thanks mcbyte for the statistics app!
[Android Software Development] :
Thats good. If you need anymore help ill reply when i can. Keep up the good work.
[Android Software Development] -viperboy-:
I need a bit of help with this, if you don't mind. I've setup the build.prop properly, installed the app, uploaded the files to http://myserver.com/romstats, installed mysql on my centos server, created a database named romstat_db in mysql, changed the config file info to the new db name and the username and password I use to get into mysql and started mysqld.

When I go to http://myserver.com/romstats, it's blank and adding /stats or /stats.php gives me a 500 error. I'm not quite sure what I'm missing here. I see there is a file in the /database folder that I uploaded to /romstats. Am I supposed to run it? And if so, how?

I feel like I'm missing 1 step, but I did go through the thread for answers. Thanks!

EDIT: i edited /database/config_db_table.sql to be viperrom_stats, not zrom_stats, then ran that through mysql via: mysql -p -u user_name romstat_db < database/create_db_table.sql > output.txt. It looks like a help file in output.txt, but it did appear to create the tables. Here is what I have...

mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| romstat_db |
| test |
+--------------------+
4 rows in set (0.00 sec)

mysql> use romstat_db;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> show tables;
+----------------------+
| Tables_in_romstat_db |
+----------------------+
| viperrom_stats |
+----------------------+
1 row in set (0.00 sec)

mysql> show columns from viperrom_stats;
+--------------------+--------------+------+-----+---------------------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------------------+--------------+------+-----+---------------------+-------+
| date_register | datetime | NO | | 0000-00-00 00:00:00 | |
| date_last_checking | datetime | NO | | 0000-00-00 00:00:00 | |
| device_hash | varchar(40) | NO | PRI | NULL | |
| device_name | varchar(60) | NO | | NULL | |
| device_version | varchar(50) | NO | | NULL | |
| device_country | varchar(20) | NO | | NULL | |
| device_carrier | varchar(50) | NO | | NULL | |
| device_carrier_id | varchar(100) | NO | | NULL | |
| rom_name | varchar(150) | NO | | NULL | |
| rom_version | varchar(50) | NO | | NULL | |
+--------------------+--------------+------+-----+---------------------+-------+
10 rows in set (0.00 sec)

EDIT2: was able to get it almost working, thanks to cmsjr123. had to restart httpd before I stopped getting 500 errors. However, I have my device setup to work with this, but it's not showing it as "checking in" on the stats page. Is there a way to debug if it's hitting the server? I saw nothing in logcat or the server, but I could be looking in the wrong place.
[Android Software Development] chevanlol360:
I have set up my build.prop correctly but when I go to then app and tap on romstats page it force closes ﻿the app. Can someone help?
[Android Software Development] :
Check where it is asking to check in at. It displays the result in under a minute on the server.
[Android Software Development] shalkith:
Everything appears to be right. No errors but stats don't seem to be reporting at all. Any thoughts?
[Android Software Development] Sam Solomon:
Please Help

I setted up Build.prop ,app and a account at byethost......But i dont know how to do it..SOme one help me in detail to set it up....Want to use for next ROM.... :victory: :victory: