yashsingh1/xdaforums huggingface dataset:
[Nexus S Themes and Apps] hierophantis:
I will give a try

i play zenonia4 now and im very pleasure with this , but i will give a try
[Nexus S Themes and Apps] christiantailor:
I like it. I play it every now and then.

Sent from my Nexus S 4G
[Asus  Eee Pad Transformer Prime] monkey10120:
Here it goes, when I am in the youtube app and go to a playlist, choose a video from the playlist

The video that plays is always the first video in the playlist. So then I have to press skip until I get to the video I want. It is getting really frustrating especially when there are a 100+ videos and I need to get to 50 or 60. However the youtube app on my a500 doesn't do this. If anyone knows how to fix this please let me know! Also I watch it before bed every night so I need to do it by playlist so it automatically goes to the need video.
[Galaxy S II Q&A, Help & Troubleshooting] redct:
Is there any way I can get my hands on a flashable ZIP (or even just a folder of APKs) of all the AOSP google apps—browser, clock, contacts, calendar, gallery, messaging, and phone? My perfect ROM would basically be stock Samsung ICS with TouchWiz apps replaced with their Google equivalents.

All the ROMs that have this (i.e. Resurrection) go a bit far with theming/mods for my taste, so I'd just like to cook my own. Any help would be greatly appreciated!
[Galaxy S II Q&A, Help & Troubleshooting] MistahBungle:
AOSP apps won't work on a Samsung base. Completely different framework.
[Galaxy S II Q&A, Help & Troubleshooting] redct:
A Samsung ICS base? I was under the impression that Holo apps would still work—like Gmail, Maps, Talk, etc.
[Galaxy S II Q&A, Help & Troubleshooting] MistahBungle:
Unlikely. If you want to try it, go to the CM9 discussion thread & download Gapps from link in the first post.
[Galaxy S II Q&A, Help & Troubleshooting] redct:
Thanks, will try.

Alternatively, what do you think would be the best ROM for AOSP apps? Just wait for CM9 to iron out all the kinks? (Personally just waiting on HDMI out to work.)
[Galaxy S II Q&A, Help & Troubleshooting] MistahBungle:
I've been using CM9 for a week (after testing it for a few days a month ago) & it's easily the best SGS2 rom either GB or ICS. The few things that don't work at the moment aren't a problem for me because I don't use them, but I've had zero problems/FCs/etc. Battery life is fantastic, definitely a daily driver for me.

Other AOSP ICS "roms" are winzip/theme jobs & not really roms, no significant original content in these. I haven't tried any of these.
[Galaxy S II Q&A, Help & Troubleshooting] redct:
I'll have to give CM a try, then. Are the remaining problems just a matter of needing some code from Samsung?
[Galaxy S II Q&A, Help & Troubleshooting] MistahBungle:
Don't know. Ask Codeworkx or Xplodwild. Things like FM radio are very unlikely to ever make their way into CM9.
[Galaxy S II Q&A, Help & Troubleshooting] bala_gamer:
All those aosp apps you asked are already there in resurrection and spike ics roms. Even more spike has a sperate aosp zip package to flash separately. You can try those.
[Galaxy S II Q&A, Help & Troubleshooting] praveenthivari:
Need AOSP apps for stock

It's there but I want to have (as OP has posted) just stock rom and just replace certain apps with aosp ones.

Is there a guide?
[HTC EVO 3D] jayhawkfreak072:
I can't boot into recovery mode. When I am in fastboot and try to go to recovery, my phone just reboots itself and the same thing happens if I go in to ROM manager and go into clockwork recovery. Any help?
[HTC EVO 3D] IrvGotte:
Can't Boot into Recovery?

I had this same problem a few weeks ago. When I rooted my evo 3d I started out with the Revolutionary recovery. I tried to change it to ClockW but I didn't work and then i couldn't go back to the revolutionary recovery. My solution was to install the TWRP recovery. Its better then any other recovery I used by far. And is easy to install. There are two ways to install it:

fcbcule12@gmail.com contact me to give you the links. xda won't let me post links because i'm a new member
[HTC EVO 3D] laie1472:
Check your settings and make sure fastboot is disabled. Then try to boot into recovery. If that fails just post back.

#Root-Hack_Mod*Always\
[HTC EVO 3D] GrimReaper24:
Did you flash a custom recovery early on ? What version are u using ? What hboot too?

Like the one guy said make sure fastboot is off.
[T-Mobile Samsung Galaxy S II SGH-T989] kiddo94:
Apparently, when I plug my phone in computer to put some files, pictures to phone, my computer doesn't recognize the phone's mass storage and neither do Kies :mad:

The message from the computer is : USB Device Not Recognized. One of the USB devices attached to this computer has malfunctioned, and Windows does not recognize it. For assistance in solving this problem, click this message.

I thought there was something wrong with rom i installed, and tried unroot the phone, restored it to orignial rom. However, the problem is still there. :(

Please help me :(. Thank you for reading.
[T-Mobile Samsung Galaxy S II SGH-T989] Teo032:
Usbdeview?
[T-Mobile Samsung Galaxy S II SGH-T989] kiddo94:
What about usbdeview that i can use to fix my issue?
[T-Mobile Samsung Galaxy S II SGH-T989] Dark Nightmare:
Did you use the USB cable that came with the phone? I noticed mine doesn't come up on the pc unless I use the cable that came with it, otherwise with any other cable is just charges and nothing more.
[T-Mobile Samsung Galaxy S II SGH-T989] miroxz:
same ol same ol

I have same EXACT issue, i even tried on linux and no avail

my computer wont recognize my stock GB 2.3.5 T989.

1-i have usb debug mode on

2-when i tried with winXP=nothing, with linux lusb showed/detecting =nothing.

3-battery charges fine.

4-using aftermarket cable

So my questions are:

a-bad usb hardware?

b-bad gingerbread? (factory reset and no change)

c-will rooting/flashing help?

thanks!

for real?!!!! could this really be the issue? WTF Samsung!!!!.....ok , so where do i get an oem cable? i using HTC.

Thanks man!
[T-Mobile Samsung Galaxy S II SGH-T989] miroxz:
Just cable? Will rooting help? Cmon guys this sucks
[T-Mobile Samsung Galaxy S II SGH-T989] kiddo94:
Yes i use the cable that came up with the phone but it doesn't help. My phone was working completely fine before until now :/.
[T-Mobile Samsung Galaxy S II SGH-T989] Android Revolution:
I would suggest buying a new cable and trying that. Seems a lot of users are encountering this lately. The wires that carry data fail, but the wires that carry power still function. It doesn't have to be a Samsung branded cable, but one specifically for charging/data for the SGH-T989. It happened to me both on this phone, and my Transformer. Both times it was solved by using a new cable.

Your local electronics store should carry what you need. Good luck! :)
[T-Mobile Samsung Galaxy S II SGH-T989] miroxz:
can you please point me to a specific cable? some on here have tried without any luck. got a pic?
[T-Mobile Samsung Galaxy S II SGH-T989] kiddo94:
I tried it. No help :/. I think it is the phone's usb port that makes this problem. Probably I'll send it to samsung company to have it fixed. :(
[T-Mobile Samsung Galaxy S II SGH-T989] drzprettyboy30:
Before u diagnose the phone as the issue i would check and try plugging it to another pc besides the one that doesnt detect it because i have the same issue with my main pc. When i plug it it opens up as an unreadable drive, it wount open or anything, but when i plug it to my laptop it works perfect.

kind of wierd but it works. i also tried installing kies and didnt help at all. now it it still doesnt work than yea probably the phone.
[T-Mobile Samsung Galaxy S II SGH-T989] kiddo94:
Yah, it's probably the phone. I tried plug it in my brother's laptop and computer (Kies installed) and still nothing happens. :(
[T-Mobile Samsung Galaxy S II SGH-T989] Teo032:
Allgamer had a similar problem. Turns out it was his cable
[T-Mobile Samsung Galaxy S II SGH-T989] Android_Monsters:
Try the free wifi explorer from the marketplace.
[T-Mobile Samsung Galaxy S II SGH-T989] Android_Monsters:
Also remove sim, sd card, and battery for a bit then replace. Also, get the most "official" cable you can. I'm working with an old evo cable and an old g2 cable. Some of the car charging ones/generics won't play nice. Try blowing (light laughing allowed) into the port.
[T-Mobile Samsung Galaxy S II SGH-T989] Android_Monsters:
Wipe/reflash.
[T-Mobile Samsung Galaxy S II SGH-T989] miroxz:
Finally!! :):D:)

Ok here is what i did:

1-enable EHCI on your computer from device manage >> http://www.intel.com/technology/usb/ehcispec.htm

2-took a portable toothbrush with isoprop (swabbing alcohol)

3-took my phone to the gas station ...25c air and dried the crap out of it :eek:

4-wipe/reset my phone from fast boot menu (not android menu)

5-got an LG "B" data cable...

voila monsieur !!!! i dont know which was the silverbullet but i aint complainin.

However, it was still nice to know that Samsung is a no questions asked manufacturer.

Someone was having the same issues as mine in russia, and he said ICS 4.0 did it and is waaaaaaaaaaay better for this phone. Im gonna give this to a friend and WILL NOT touch these till ICS 4 officially comes out here. Tooo much hassle and ive got too much info riding on it (phone). <<personal opinion
[HTC Sensation] varxx:
Before installing a new ROM, I've always used Recovery's wipe functions (data, cache and dalvic cache). Today I discovered that at least one ROM (Sense-O-Maniac) seems to require that SuperWipe be used. On the other hand, I see that another ROM (OpenSensation) requires the use of Recovery's wipe functions.

Why is this?

Thanks.
[HTC Sensation] xHighAlert:
To keep it simple:

"Partition Tables"

That's why.
[HTC Sensation] V6-Maniac:
Not true...

Where do you read S-o-M requires Superwipe.

On the other hand i only build in a option in the installer to conduct a Full Wipe.

This full wipe (executed by script) is the same as manual wiping all data partitions in the recovery.

Saves some clicking...
[Defy General] manfifer:
Firstly thanks popcorn1122 so much for amazing improvement of A/GPS here

For my findings, some parameters in the <hal> paragraph of /system/etc/gpsconfig.xml could also be added to enable the offline LTO-AGPS (Need rooting, and pls backup the file)

(red text for enabling LTO and blue text for optionally enabling logging for the first fix)

<hal

acPortName="/dev/ttyS0"

lBaudRate="115200"

cLogEnabled="true"

acLogDirectory="/data/location/com.broadcom.gps/logs/"

ltoFileName="/data/gps/lto2.dat"

acNvStoDir="/data/location/"

acCmdPipeName="/data/location/gpscmd"

bAllowIgnoreOsc="false"

bUseHalLogger="true"

/>

To get the LTO file, we could either:

(Method 1 using GPS Aids)

1. Create the folder /data/gps which GPS Aids puts the LTO file, and grant rmxrmxr-x permission

2. Install GPS Aids with both Data and GPS ENABLED, otherwise the Download LTO functions will be blocked and need re-configuration

3. Download the LTO file. GPS Aids shows how long since it has been downloaded

(Method 2 manually download)

1. Get lto.dat or lto2.dat from either : (7 days)

http://gllto.glpals.com/7day/latest/lto.dat

or (7 days)

http://gllto.glpals.com/7day/v2/latest/lto2.dat

or (30 days)

http://gllto.glpals.com/30day/v2/latest/lto2.dat

2. Rename and move the file which fits the setting of the modified ltoFileName parameter of gpsconfig.xml, granting sufficient permission for the folder like that in Method 1

(Method 3 auto download)

In the early time I developed a script to download the LTO file while mobile data switched on, and added service and trigger routines from the relevant system properties. Seeking advice by CM7 developer @maniac103, those triggering are not fully functional thus not recommended. Instead, pls try his latest build since June (here) with a marvelous settings UI for this case. Thanks Maniac for his kind concern and efforts on it.

Within the validity of the LTO file, the fix should be done in seconds even in limited open sky. We can download an updated LTO file anytime to keep the performance.

Reference:

http://www.htcmania.com/archive/index.php/t-151202.html

(sorry I cannot understand the language but thinking some param. may help)

http://xdaforums.com/showthread.php?t=789383&page=4

(refer jupiter.xml from a model of SGS)

https://github.com/CyanogenMod/android_device_samsung_vibrantmtd/pull/3

(bash script for auto dowload)

https://github.com/jad3675/android_...283f4a26989dc07d45da8a8af580f51492d45f#L0R373

(init service for auto dowload)

Thanks folks for optimizing Defy for releasing its real performance!
[Defy General] popcorn1122:
I had tried all that before but had come to a conclusion that lto.dat never used or downloaded. The cellid are stored in learn_store.bin which is stored in /data/location

emphersis is downloaded and stored in gpsdata.nvs.It is used by motorola defy for a specified duration (seems 1 hour as per location.cfg - MIN_NAV_REQ_INTERVAL = 3600000 )which is updated in location.cfg if there is no gprs available.
[Defy General] manfifer:
I see... I also bear no hope originally just I think Defy uses BCM4750 and Broadcom promoted LTO years ago, and I found the params. like acLtoDir and lbsSyncLto from the htcmania.com thread last week, with referring other similar XML, and continue the trial-and-error. Hope this finding makes us feel our experiments worthy :)
[Defy General] starbright_:
What is the difference of lto.dat and lto2.dat? This files differ in size 65/39 kB.

I am confused. What I found is, that (without data connection on a CM7 ROM) learn_store.bin is updated, whenever GPS got a fix.

My assumption is, that this contains data that can help to get a quicker fix next time.

But I assume, that this contains only infos about the sats that has been involved in the last fix (which are only a few). Where else the Defy should now about the other satellites?

A downloaded lto.dat on the other hand probably contains information about all the satellites.

What do you think about my speculations?

PS: I found an interesting document:

The LTO data should be around 30kB and valid for around 4 days.

http://www.broadcom.com/collateral/tb/LTO-TB100-R.pdf

An indeed, the BCM whould support the LTO

http://www.google.de/url?sa=t&rct=j...sg=AFQjCNErL9qjljAhfOKhtIYORo_sn3BzDQ&cad=rja
[Defy General] manfifer:
You could use the LTO file from either URL, just rename it to be the same as the parameter "LtoFileName" and place it in any folder set by another parameter "acLtoDir". Both of them serve the purpose just the V2 version is smaller in size, similar to the one downloaded in GPS Aids. The app. downloads it as lto2.dat in /data/gps/, so I have to build this folder and set the above two parameters in gpsconfig.xml shown in the thread before installing the app.

Sorry I have no idea how LEARN_STORE.bin and gpsdata.nvs is created (thanks popcorn1122), just they would be expired and as you've raised in popcorn1122's thread, after 6 hrs or shorter time from a SUPL fix, apart from the birds with expired ephemeris (but coarse almanac data), there have other new birds visible without AGPS data in the last fix. When we are offline, the chip tends to fix them from scratch again gradually.

Like the Broadcom Technical Brief promoted, offline AGPS is useful while we are standing under dense skyscrapers without network assistance. It also expires after around 4 days, but its sufficient for me to update another LTO file. I keep turning off any data before testing LTO with GPS Status, and delete /data/location if I need restarting the phone. This is stubborn from normal application while I can easily get SUPL fix with my 3G data plan. But I'm eager to find the solution when one day I'd like to get a quick fix while travelling abroad. (time is valuable in the tour :) )

LTO files contain days of ephemeris data of all the birds, once the position is fixed, even some birds with weaker signals, whatever visible or obstructed, can aid the fixing. But it could not be applied properly in the stock or CM7 gpsconfig.xml settings.

I believe the Broadcom chips in this generation has this technology in their released chips as it has been applied since the era of WM phones. The key is just the implementation of the driver or configuration.
[Defy General] starbright_:
I did what you suggested in your first post, changed/added the red lines.

used "lto.dat" as filename and "/sdcard/download/" as dir.

I added a shortcut to the lto.dat (the bigger one) to my browser, so that is becomes easy to download (it will located that in the dir mentioned above.

But here I get some trouble with permissions. For a unknown reason, the permission is (after download) --xrwx--x .

Even with a terminal an su I can't change the permission to rw-rw-r--. Very strange, but OT here. ls -l show system / sdcard_r as owner.

(Edit: its because of the filesystem FAT: Can you test, whether it works from that folder despite the permissions as well?)

So I copied the file to /tmp and changed the permissions. You are mentioned

"rmxrmxr-x permission". Imho it is sufficient to be readable, at least x is not neccessary, as this is just data, right?

To clear the AGPS data it should be sufficient to use GPS Status. It can download and clear AGPS data.

Regarding deleting the files in /data/location:

-The gpscmd is an empty file (pipe?) so no need to delete.

-gpsdata.nvs and LEARN_STORE.BIN is recreated with a new call of GPSStatus

But the location.cfg is containing some settings and is not recreated. This is lost now. It will be created some location_tmp.cfg, but it is empty.

Regarding SUPL: Is this a service which runs with or without an DATA connection to the service provider? What I mean, do I have to enable data connection for this? Some data (like which cell, what time,..) are received without a data connection ...
[Defy General] popcorn1122:
I have come to a conclusion that lto.dat is not used by BCM4750 driver of defy.

Just check my post with updated information.

The driver brcm_guci_drv is the most important file which contains all details what the defy does and only takes port & speed & chip type & chip speed details from gpsconfig.xml at the startup.

The same case with location.cfg... half of the file is not used by defy. Only parts of SUPL in location.cfg are used by defy.
[Defy General] starbright_:
I tried every fix to improve offline GPS performance, but with no "visible" effect so far. But as some poeple like manfifer or popcorn told about improvements I did some test with initial state again - just to be able to make a real comparison.

The results are mixed. I did a initial download of a agps and get a fix in

Then I switched of gps and network. Every hour i enabled gps and checked with gpsstatus th ttff. It varies: 7, 100, 15, 10, 84, 74, 8, 62, 77s.

Than after 1.5h (i missed the 1h ): 758s

Again in 1h rythm: 60, 37, after midnight 445s(!!!).

At night I slept an started after 6.5h again more or less in 2h time distance:

26, 54, 221, 189, 859(!!!!) after 3.5h, 9s (after 1h:20min) ...

It is clear, that delay between GPS tests affects the ttff. But

@popcorn1122:

do we have a chance to get a driver that is compatible and handles lto data?

defy isn't the only phone with this broadcom chip, and froyo-kernel has been used in many devices.

how do you know about the driver brcm_guci_drv. I though this gps.jordan.so is responsible.
[Defy General] popcorn1122:
Motorola Defy uses Broadcom GLCT ver. 2.1.3 79917, 2010/Jul/27, 09:21:25 driver. This is an old driver. Perhaps Motorola never bothered to update the driver to take real potential of the BCM4750 chip. The LTO.dat is not downloaded nor used. Also the settings of SUPL are left with basics and the fallback supl to google is disabled by default. The whole gps is dependent on MSA & MBS & SUPL. The fixes are possible without gprs or wifi or network towers. Hence the ephemeris data is straight downloaded from satellites. The GPS fixes & ephemeris data are stored in LEARN_STORE.BIN.

It is difficult to get the new driver for defy. LG , Iphone & Samsung have used BCM4750, but they have their own custom driver to meet their requirement. I have tried the LG driver called glgps , but the gps did not initialised even with the original defy config file.

gps.jordan.so file is not used by defy. The stock installation has no such file. Similar file was in Milestone and defy+. But not in defy. Hence brcm_guci_drv is the driver file and is the same MD5 as of defy+. Milestone brcm_guci_drv has a different MD5.
[Defy General] manfifer:
starbright, its great to make use of our browser downloading the LTO file instead of installing GPS Aids. Just for my CM7 browser, it won't overwrite the old file but rename the new one as "lto2-1", and I donno why it changes the extension to .txt , resulting lto2-1.txt. Anyway I tested changing the acLtoDir and LtoFileName param. to "/sdcard/download/" and "lto2.txt", the LTO is also effective after reboot and first lock. The permission of the downloaded file is --xrwxr-x, the same as the one in /data/gps from the app. I try bookmarking the whole URL but it won't download but view it, so I can only bookmark the path and download manually. Whether the LTO works is obvious. When 4-5 hrs after a SUPL locking, u need more than 1 min to lock, then the LTO is most probably failed. Normally its just several seconds, even no data for 3 days.

popcorn, I'm now using the 120304 build of CM7, attached my brcm_guci_drv, could u confirm if it has been replaced from the stock one. I tested both gps.jordan.so from CM7 and your thread, both work with SUPL and LTO, but after removing it and reboot, my GPS Status cannot view any birds and no more blinking GPS icon when enabled. If it dosen't exist in stock ROM, there should have some other libraries replaced by CM7, including brcm_guci_drv probably.

I attach the brcm_guci_drv from CM7 and the modified gpsconfig.xml early this thread.
[Defy General] starbright_:
I use Opera Mini and set the download-path as tile in start-page. Just open it an lto.dat will downoaded to the path. It keeps the *dat-extension, but make lto-2.dat, lto-3.dat ... if the old file isn't cleared.

Sorry, have difficulties to understand this. You mean, LTO is working? No problems with the location and permission on /sdcard ? What is a SUPL lock? Does this data need a data connection or is it transferred (like clock or name of cell you are logged in without a data connection) just by login to a GSM network. (data connection active or not) Can you explain under wich circumstances the TTFF is so fast?

I couldn't see this helping effect, maybe have to test this again and compare your files.

I used lto.dat and CM 7.2.rc.
[Defy General] manfifer:
Sorry I should use "fix" instead of "lock", just mean "successful positioned"

Yes data (EDGE/GPRS/3G/WIFI) is needed to communicate with the SUPL servers

(supl.google.com, supl.nokia.com, etc.) to get a fast fix, just logon to GSM network does not work. So the use of LTO is to get rid of such network barrier, for several days.

In my testing whatever the file is in the phone (/data/gps/) or SD Card

(/sdcard/download/), it does works under --xrwxr-x , just I have to modify acLtoDir and LtoFileName param.

My TTFF (after restarting the phone) is around 30sec-2min., not fast as I keep data connection OFF for testing. The power of LTO comes with the 2nd fix and so on, whatever in open space or under dense buildings, whatever how long u restart GPS from the previous fix (good to test after we wake up as all fixes and cache should hv been expired.), usually the fix costs less than 5sec. The effect keeps until I restart the phone again (change SIM card, the phone hangs up :P ) or the LTO file is used more than 4 days around. But, if u move the file away, after say 3 hrs, the fix will take longer gradually, until costing more than a minute. So far, no data is allowed when GPS on.
[Defy General] viper.:
I am just wondering why smartphones have to use A-GPS for fast fix? I own standalone gps device and hell there is a fix within 30-40sec or less without need of any data connection as on smartphones.