yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] :
Hi !

Nice to hear you're doing better.

I did not follow the dev of AT-VT so was surprised to notice an update.

I decided to buy the app, but had the 2014-05-30 already installed.

Play Store told this, too, plus that i had it installed manually.

So first i went into the app, pressed "Remove".

It removed, booted and after boot was still there.

Play Store told it was still installed and so i pressed "deinstall" from Play Store.

Success, reboot and seemed to be done.

Bought the app, it installed. Success. Rebooted manually.

AT-VT was there, but DEAD.

The sliders did not move, the meters did do nothing.

I rebooted again, tried various music sources such as internet radio, APOLLO, OMICH Player and so far.

No sign of life.

I went for Settings - Apps - Removed the app.

After the reboot AT-VT was not there anymore and PlayStore told me that the transaction was aborted.

Maybe due to uninstall within 15 minutes.

So, now i downloaded the file from your server and installed it manually.

On first launch it liked to be installed, so i did, Rebooted again and opened the app.

By now it told me it wants to be updated, but i canceled.

It works fine now. I get output and the meters work as expected.

But i cannot buy it again for to receive updates OTA.

PlayStore tells me installed but manually.

Strange! Any idea?
[Android Apps and Games] rog_star:
I have bought the app from Playstore. The 2014-05-30 version did its job without problems :good:

But after updating to the newest playstore release, my phone is in bootloop.

Only restoring a nandroid backup made my phone start again.

So for now I stick with the 2014-05-30 version.
[Android Apps and Games] mikereidis:
Most important right now is to have this "removeav: custom recovery flashable ZIP on the phone: http://d-h.st/jls

If the phone won't boot, flash removeav.zip . AFAIK, it should pretty much always succeed in putting the audio HAL back to original.

The new June 22 release is here, I only posted it on Play before now: http://d-h.st/Ytl

Thanks for your reports. The only feedback I'm getting is here on this thread. With so many combinations of phones and ROMs out there, feedback is essential. I have "only" 14 devices to test, and generally on one ROM at a time.

I'm becoming disappointed to find out that the audio HAL "API" is not so much standard as I had hoped. HTC and Qualcomm in particular have created variants with extra functions jammed between the Google blessed functions, and that makes them very incompatible.

These APIs are not considered published and are not normal for apps to access, so I'm not complaining in that regard. In general, when the HAL functions don't match, that means mediaserver will usually crash on boot. That's particularly bad because Android refuses to start when the mediaserver, or many other services won't run.

I hope to put some "tricks" in to reduce likelihood of crashing and revert to the original audio HAL when a crash bootloop is detected. Beyond this I'll need more info on all these variant HALs and how to detect and accommodate them.

This usually isn't a problem on the latest CM11 ROMs, which mostly use standard AOSP style HALs, except where they've been forced to use "Binary Blob" HALs. Alternately, I could just say that only certain ROMs and devices are supported, but I'd prefer to cast the net as wide as possible, including stock ROMs.
[Android Apps and Games] mikereidis:
Thanks for your support and report. :)

Please see the post above for the removeav.zip which can be flashed from custom recovery to restore the original audio HAL.

Note that just removing the app does not remove the audio HAL shim. I tried to do this at one point and it had issues so has been delayed.
[Android Apps and Games] :
Hi,

so far i understood the procedures to "clean up the system" to have it prepared for purchase:

- I put the flashable removeav ZIP to my phones storage

- I open the app and disable the function by putting the in and out section enable switches to OFF

- I close the app.

- I go to Settings -> APPS and navigate to downloaded apps

- I select the AT-VT app and clear the cache, clear the data and finally uninstall the app

- I close settings

- I reboot to recovery

- I flash the removeav ZIP

- I reboot system

- I am worried, because my app has gone completely

- So i fire up PlayStore and search for AT-VT

- I select "buy", pay, download and install

- I am happy now, again

Is that right?

Sorry for stressing this so much. I really like that app, especially now that there is a -30dB damping as well.

------ Sidenote

I love music and i am a headphone fiend. I own many headphones and built even more amps for those. You know, i'm an analog man.

So i like when a source is powerful enough to fire my Beyerdynamic DT880/250Ohm on the go and on the other hand is quiet

enough for a headphone amp. Where quiet means the noise level off the source be low and a lot of headroom.

The I9000 has a Wolfson chip inside which makes a huge difference to crappier sources, names to be avoided but has something

to do with fruits.

In combination with the DSP Managers wonderful binaural and lately found that OMICH Player is very lightweight and plays my FLAC

just off the box plus AT-VT is a dream combination.

Not to speak from SPIRIT2 which gives life to that FM chip inside.

I really would need an audiophile ROM. I doubt my skills to cook one myself :eek:

Regards,

Frank
[Android Apps and Games] mikereidis:
If you are happy now, then that's what's important. :)

Yes, the Wolfsson chip helped to make the GS1 a classic. So much so that they used an almost identical follow-up chip for the International GS3 and Note2, after the GS2/Note1 disappointment.

And the flexibility of the Wolfsson chip is the only reason I was able to bring digital FM audio to GS1 while Samsung only got to it for recording on GS2+. I'm disappointed thought that the audio level is low. Raising it with internal controls raised distortion, so amplifying with this app, or Fx compression, is the only way to get much volume.

From what I've been reading, there is LOTS of interest in higher performance audio on Android. That's why I'm branching out into this non-FM audio area.

ViperFX for Android seems to get a lot of attention. I had troubles getting it running so haven't seen it yet though. Some ROMs include it I think. Maybe not for GT-I9000 though. My GS1 CPU goes to 100% when I get Spirit2 running with visuals and EQ/effects.
[Android Apps and Games] :
Ah, sorry. What i wrote about my procedure was theory. Will deinstallation and installation work like described?
[Android Apps and Games] mikereidis:
A June 24 test release, also on Play: http://d-h.st/SNU

Hopefully it's less likely to crash.

It has an untested crash recovery feature. If phone doesn't start OK after reboot, another reboot will hopefully restore original functionality (but doesn't actually remove HAL shim).
[Android Apps and Games] mikereidis:
Oh, OK.

First thing we need to do is get you running a version that doesn't crash that matches the Play version.

Try the June 24 version I uploaded here: http://d-h.st/SNU

If it doesn't work, report and wait for me to fix it. Re-install 0530 if that works for you.

If 0624 works, then just remove the app the normal way you remove apps, from the system settings for apps.

Then purchase the app on Play.

The shim should remain installed, you don't have to reinstall or update it.
[Android Apps and Games] rog_star:
This version is working again (at least on my device :D).

But the update button is permanent, that is it does stay even after updating HALShim. Does that mean the update did not install the HALShim correctly and I have to update again. Or is it intended that the update button is still visible after a successful update?
[Android Apps and Games] :
Hi !

The 2014-06-24 version off the download works. It updates the installed elder version and reboots.

Everything fine. Can switch ON/OFF and move the gain sliders. Did not test the input path, though.

But guess it works, too.

So i removed the app as recommended. Rebooted. It went away. Opened PlayStore, bought and installed.

On first start nothing. The silders ON/OFF do not move. So out of curiosity i pressed the update button, the app requests

the HAL update and reboot.

But it does not reboot, instead ask for SU which i granted. App crashes.

Rebooted manually.

Now sliders ON/OFF work. But no influence on music and gain slider without function. No signal on the upper level meter.

Whenever i leave the app the ON/OFF switches turn to OFF. Whenever i start music, return to the app, move the slider to ON

nothing happens.

So i installed the 2014-06-24 version again, manually, because Playstore says it is installed and only uninstall is possible.

Now App updates, i open. App asks for HAL update and reboots automatically. Did not ask for SU again.

After reboot everything is fine.

Playstore seems o.k., too. It still recognizes the app as installed and bought.

So now i am on the bleeding edge again. I mean i could uninstall the app, remove HAL with the script and go all over it again.

I am to your command, Mike!

Best regards,

Frank

---------- Post added at 06:58 PM ---------- Previous post was at 06:55 PM ----------

Yes, same for me. Forgot to say.

So you downloaded the Playstore app and updated by Playstore? Seems so because the download count was zero as i downloaded a

few minutes ago...
[Android Apps and Games] rog_star:
I have updated by Playstore but it was still the 210614 version. So I downloaded the last testversion from devhost and installed that file.
[Android Apps and Games] mikereidis:
Great !

Don't worry about the permanent Update button. If needed, the app will prompt for update when it's started.

I added the permanent Update button for my own use; To avoid the previous always update problem I changed the internal Date+Time to just Date. But I have to load each new version during my testing, even though the Date hasn't changed. This was quickest solution for me.
[Android Apps and Games] mikereidis:
Google Play shows version "June 24, 2014" for me: https://play.google.com/store/apps/details?id=fm.a2d.av

Devhost often updates download stats pretty fast, but sometimes not, perhaps during maintenance periods.
[Android Apps and Games] mikereidis:
As in your signature, is it Galaxy S Advance I9070 w/ SlimKat ?

Anyone reporting, please say your phone model and ROM and version.

Google has over 6,000 registered Android devices now, and my new discovery about non-standard HALs means I'll have a lot more work to do, unless I limit support to ROMs using standard HALs which I might end up doing.

I will add some functions to send me a debug log, or otherwise get important info from the device audio HAL. Right now I'm "in the dark" about devices I don't have, or even stock ROMs on devices I DO have.
[Android Apps and Games] mikereidis:
Hi, Thanks for your detailed reports.

What phone/tablet do you have, and what ROM and version are loaded ?

I'm start at the end:

If it's working now, just leave it.

If not, leave the app installed. Press the Remove button to remove the Shim HAL. After reboot, press OK when prompted to Install, or use Update button if Install doesn't work or isn't shown.

Good ! So June 24 release works for you then.

OK. I think the problem here is that installing the HAL shim also sets up initial config for the app. I had thought that just removing and re-installing the app would work, but I haven't tested that recently and I see where the bug is now.

I hate that Google prevents you from buying an app that was manually installed. My apps had "Buy" buttons that never actually worked, so I disabled them.
[Android Apps and Games] :
Hi ! Thank you for the explanation.

Just a few comments:

I have a Samsung Galaxy S1 I9000 and my ROM is CM11 nightly builds updated nearly each day.

About - Phone says:

CM11-20140624 Android Version 4.4.4

Kernel Version is Stock 3.0.101 Jun.23

I leave AT-VT at 2014-06-24 alone, it works :laugh:

Good to hear you found something to improve install process.

Sorry about PlayStore behaviour. No problem for me by now because you allowed to manually update to the current version.

What about this:

I would like to test the automatic update process.

Therefore i suggest you put a dummy new version to Playstore. Maybe just give it a static text somewhere on the screen to identify this

is a new built just to force an update.

All the best,

Frank
[Android Apps and Games] rog_star:
Now, Google Play shows also version "June 24, 2014" for me. Maybe the german Playstore took a bit longer to show the latest update. :confused:

Yes, I am using Galaxy S Advance I9070 with SlimKat (4.4.3).

If you need any information about the HALs just tell me how to get that infos and I will provide you the data.
[Android Apps and Games] :
Install from Playstore on OMNI

Device: I9000

ROM: OMNI Nightly 2014-06-26

Kernel: OMNI 3.0.101

Superuser App: SuperSU 2.00 by Chainfire.

Hi Mike,

a new day, a new install. My phone got OMNI for now. I like this ROM alot because of the smooth performance and the nice

hotword recognition. I speak "Play Radio" and Spirit2 opens :o

Installed AT-VT from Playstore.

I open the app, it does not ask for install of HAL shim and does not ask for root permission.

I press the update button, app ask for install, granted. Does not reboot.

After manual reboot app does not work.

Does not ask for root perms.

Install of the .apk works flawlessly. Asks for permissions, installs, reboots, everything fine.

I have had the same issue with CM11. Problem seems to be superuser rights at time of install.
[Android Apps and Games] mikereidis:
Hmmm. I presume you can't say "Stop Radio" or "Seek Up" etc ?

Spirit2/digital audio mode doesn't get along with speech input on most devices. Spirit uses the only audio input, so there's no input for the mic.

My GT-I9000 almost always runs CM11 and it works OK for me.

Can you look in the /system/lib/hw/ directory. I use this command:

adb shell ls -l /system/lib/hw/audio.primary.*

and see this:

-rw-r--r-- root root 87604 2014-06-28 03:11 audio.primary.aries.so
-rw-r--r-- root root 5396 2008-08-01 08:00 audio.primary.default.so
-rw-r--r-- root root 9440 2008-08-01 08:00 audio.primary.goldfish.so
-rw-r--r-- root root 58812 2008-08-01 08:00 audio.primary.orig.so

The replacement HAL shim from AudioTricks is audio.primary.aries.so and about 87 KBytes in size.

The original "...aries..." HAL is renamed to audio.primary.orig.so and about 58 KBytes.

Sometimes the files can get mixed up, especially when switching from one ROM to another. This is because of the /system/addon.d/99-audiotricks.sh recovery script file, and the fact that wipe/factory reset doesn't delete /system/addon.d/*, which I've found surprising.

When switching ROMs, or after this problem hits, you can manually delete the 99-audiotricks.sh file, or select "Remove" from within the app. Then you could reflash the ROM or figure out how to manually restore the right audio.primary.aries.so file.

Clearing the AudioTricks app data, or removing and re-installing the app may also help.

The latest 0624 version creates a /data/data/fm.a2d.av/files/primary_crash_disable file at start, and doesn't remove it until init completes. If this file is there at start, the Shim is effectively disabled.

This feature seems to be working OK now, and prevents bootloop problems on devices with incompatible HALs.
[Android Apps and Games] :
Hi Mike,

i see.

I will check the file directories and next time, after removing the app manually i go to the /system/lib/hw folder and see if the original

.so is restored. If no, i would do this by file explorer and rename.

I then check for the 99...sh and if still there, i delete it.

After a reboot i should be able to install the app again from Playstore.

So now i did as follows: I went back from OMNI over Stock to CM11 latest nightly.

I checked if any of the above mentioned files already were present.

No.

So i went to Playstore and installed AT-VT from there.

The app does not work. No asking permissions. No function.

I check the files:

Audio.primary.aries.so not changed so HAL still unaffected.

In app i press update. I seems to update the HAL but it won't reboot.

I leave app and check files.

Still no change in audio.so

I update again. Now the app asks for SU, granted, update, app crashes.

I leave the app and check files.

No change in audio files.

Third try: Update, crashes immediately.

To sum it up:

So the only way for me to get that up and running is installing the app from command line apk.

I install, start, the app asks for modifying HAL, creatinf addon script etc.. and reboots the phone.

Everything o.k..

Playstore install seems to work. But does not ask for SU, nor reboots automatically.

Checking the files from above there simply is no change.

No modified aries.so, no 99 script, no crashguard file.

The app does not force the initial install routines.

Sorry to say.
[Android Apps and Games] grinder777:
How did you install from command line, please? I have the same issue of not installed HAL Shim...

I found this thread yesterday and bought this app blind to use at my S3mini running carbon 4.4.4

Thank you much, Mike, for this awesome job you are doing. I never needed a radio for my device, but I know about your phantastic SpiritFM. Nice to see this great idea too...

Edit

Just installed the 0624 version from server over PlayStore version and it's working now :thumbup::thumbup::thumbup:

Gesendet von meinem GT-i8190 mit Tapatalk 2
[Android Apps and Games] :
So you did the same as i did?

After install from Playstore it did not work. Than you grabbed the version off the server, put it onto the storage card, used an explorer,

navigate to app, installed from there using the "install from unsafe bla bla bla" option and voila, there you go.

Right?
[Android Apps and Games] grinder777:
Yeep, like that. Maybe at Playstore version something is wrong...

Gesendet von meinem K1 mit Tapatalk
[Android Apps and Games] mikereidis:
Happy Canada Day to all Canadians, Canadians at heart, neighbours and "wisher wells". :)

Today is our nations 147th birthday, and we fill it with Maple Leaves, reasonably modest patriotism, measured fireworks, good food, good beer and "what have you". ;)

In honour, I'll take a day's email break and try to forget the last week full of doctors appointments, ultrasound, colonoscopy LOL, and the scrambling when the refrigerator dies again in 31 celsius heat and 40 celcius humidex...

Now I'm off to jam our puny window air conditioner in and swear to get central air installed before the new year.

Cheers ! :)
[Android Apps and Games] mikereidis:
I guess I've posted manual remove instructions, but never posted manual installation ?

Something like this:

adb shell
su
mount -o remount,rw /system
ll /system/lib/hw/audio.primary.*.so # !!!! Note the name of the HAL, like audio.primary.msm8960.so and use this name in next TWO lines.
# (If only audio.primary.default.so exists, use that.)

cp /system/lib/hw/audio.primary.msm8960.so /system/lib/hw/audio.primary.orig.so
cp /data/data/fm.a2d.av/lib/libaudio.primary.atshim.so /system/lib/hw/audio.primary.msm8960.so

mount -o remount,ro /system
echo 1 > /data/data/fm.a2d.av/files/primary_ena
reboot
[Android Apps and Games] :
Hi!

Thanks for the instructions.

This may work for us ... hm ... lets say NERDS.

But i guess that even the more or less experienced custom rom users would like to have it working out-of-the-box when downloading

(and maybe paying!) the app from playstore.

So there is a need of an automated process to backup/restore the original settings of a system when an app is installed/uninstalled.

I have seen how SuperSU does it. There are two menu items, something like "prepare for update" "prepare for remove" .

If you do not follow this SuperSU does not completely leave your system.

I suggest that apps like this, digging very deep into a system, do not install after downloading from playstore.

They just install a user interface from where to start with some system checks like most pc programs nowadays do and then

continue installation with visible outputs if something goes wrong.

And ditto for the uninstall process.

Just my 2-cents.

Best regards and hope you had a very nice Canada Day!
[Android Apps and Games] fox_87:
..

this do not gain volume for spirit fm :( , over headphones spirit is like 70% of stock radio volume, and over speakerphone is only 10% .

it works for poweramp, but when i get out from AT:VT, volume is lowered again, so i must play something and be in AT:VT to get that volume boost.

Alcatel OT-995 / 4.4.4. - PA 4.42

i need something to boost up volume for spirit fm :silly:
[Android Apps and Games] Cheeky_Fink:
Bootloop on HTC One M7 with ViperOne rom, but the repair zip fixed that right up. Been a faithful supporter since the early stages of SpiritFM, I look forward to seeing a release version of this app.
[About XDA developers] deathnotice01:
I recently did some network checks for XDA and found out that they are not providing enough security for the personal information of members in the community.

Basically nothing is encrypted

Here is the login page:

As you can see it's in MD5, preferably passwords must be encrypted in order to safeguard your personal information. As MD5 hashes can be reversed.

Here is the worst part, I found out that my personal messages are not encrypted and have no security measures in place. A person can easily intercept your message without any reasonable effort.

Nah, that's not the worst part, this is...

When you change your password a potential hacker can intercept both your old and new password IN PLAIN TEXT.

I as a user want my personal data on my account to be safe, XDA should implement a full HTTPS for all Private Messages and User credentials as well as password edting.
[About XDA developers] jugg1es:
Wow, just wow. I'm actually gobsmacked

“Power brings a man many luxuries, but a clean pair of hands is seldom among them.”

― Robert Harris

---------- Post added at 11:20 AM ---------- Previous post was at 11:17 AM ----------

Erm, question Deathnotice01. What about the Google sign in?

“Power brings a man many luxuries, but a clean pair of hands is seldom among them.”

― Robert Harris
[About XDA developers] jugg1es:
I guess it doesn't really matter if I switch to Google sign in if nothing else is secure anyway

“Power brings a man many luxuries, but a clean pair of hands is seldom among them.”

― Robert Harris
[About XDA developers] PVL_93_RU:
Luckily I am using my Google account to access XDA, but damn - this is a major security flaw, on not on some weirdo site buy on XDA *DEVELOPERS*
[About XDA developers] MikeChannon:
I'm not an expert on this so I've passed it to one of our systems people and Sv has a mention too I see.

Mike