yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Arcus92:
Thanks for the log. It looks like the user group sdcard_r dose not exists on your device. I don't know why. I need to assign the file to this group so a normal read-sd-card-app can access to it (maybe i shouldn't give a readonly-group the write permissions with 0777, but this is another bug ^^)

Maybe i can just change the group to sdcard_rw without causing problems with other users.

Do you have a Terminal App installed? If yes could please enter:

cd /sdcard/ (if that didn't work use the long path: /storage/emulated/0/ )
ls -l

And tell me what is in the third column: http://xdaforums.com/attachment.php?attachmentid=2989788&stc=1&d=1414570608

Two other thinks:

First: Play Music changed the Artwork management so in my 2.2.0 all artworks are gone. I tried to fix it but i still have some issues with it. The 2.2.2 has crashed by me two time randomly by opening a playlist when the app tries to access the artworks. If that happens use 2.2.0! You won't have artworks any more but it didn't crash. I'll try to fix it.

Second: Some of you want a xposed modul to work inside of Play Music. This would be great but i very complicated. I need to understand the source code and maybe fix my app after every Play Music Update if the source code is obfuscated and Class names are randomized.

I have a better idea: I was playing around with FUSE (Filesystem in Userspace) which allows you to mount a virtual folder somewhere on you file system. So i can create a virtual folder which is connected with the Play Music Database and allows every app to use the mp3 files directly WITHOUT EXPORTING and WITHOUT USING DOUBLE SPACE. This Sounds very good but it have some little disadvantages: You need a FUSE-supporting Kernel (most over 4.0), maybe needs a little bit more battery when you access to the virtual file and i can't add ID3 tags to the files without having much performance issues.

Instead of using ID3 i can build an Path structure like you exporting in the current app.

I have successfully ported a FUSE-Demo ( https://github.com/seth-hg/fuse-android ) for Eclipse to Android Studio NDK which was extremely awkward (because Studio doesn't support NDK yet :( But i did it working!)

I was able to connecting the Play Music database and read unencrypted files. I only need to port the AllAccessExporter.

What do you think? Is this a good feature to concentrate to? Even if it's only for 4.0+.
[Android Apps and Games] PieceOfCake:
First off I want to say that that sounds like a great idea! I still don't fully understand how you would get the id3 tags to get written to files though....

Now back to my problem... I've never had a problem with an app reading my SD card but anyways I've attached a screenshot of my terminal emulator.
[Android Apps and Games] Arcus92:
The group is still sdcard_r on your phone. Nevertheless he crashed...

I will try to remove the chown or just make it optional. I don't exactly why i add this when i even set chmod to 0777 ... There was a permission problem when you tried to delete this file without root, i think.... I will have a look at it.

I added this to the BugTracker: http://mantis.david-schulte.de/view.php?id=93

(guest accounts are disabled now. They kept spamming the Database with clones ... )
[Android Apps and Games] PieceOfCake:
Thank you so much for your help!!

I've been using your app for a few months now and it's really great so I hope this is fixed for the next build. that way I can start using your wonderful app again!!! :good:
[Android Apps and Games] Arcus92:
I don't know why this bug occurs now ...

But i removed the chown command. I (Nexus 4 Android 4.4.4) can still move and remove the file. Try this APK, if it works and nobody else has problems with it, i can put it in the main branch.
[Android Apps and Games] PieceOfCake:
Job well done!!! It actually works now!

This makes the app usable again. However there is another bug that I forgot to mention which I saw in a previous build as well. This bug wasn't relevant to me because I wasn't even able to export music.

Basically, whenever I download music, play music exporter doesn't detect that I downloaded new music. The only way for it to detect, is if I completely erase all data from the app and start over as if I installed the app from new.

To better understand I recorded my screen and uploaded the video to YouTube:

http://youtu.be/5bP450SgHuA

Another video of two force closes I had with the app:

http://youtu.be/GabeMTh27MA

Thank you again for this wonderful app!! :)
[Android Apps and Games] Arcus92:
I found out what the reload bug is ... I made a was a very silly mistake with using the cat command without deleting the destination file -.-

I will fix it later today ...

Edit:

Fixed the database reloading bug and crashes in some views in 2.2.3!
[Android Apps and Games] santidoo:
First at all, AWESOME app, love it!!

However Im facing an issue, all exported files appear duplicated on my Google Play Music. Im not sure if Im missing any step or what Im doing wrong...

From Google Play Music, I select "download" a particular song, from the Play Music Exporter I export it to my SD card. The export op is fine (song is the SD card directory I set), but from now on this song will appear duplicated in the Google Play Music. Is this normal/happening to anyone else?

I have a SGS3 LTE (android 4.3) and Im using latest version 2.2.4
[Android Apps and Games] Arcus92:
Yes this is normal. Play Music will also show the music you stored as mp3 on your device. If you export a track you have it on your device twice: one in Play Music and one as normal mp3 file. You can work around this by create a ".nomedia" file (with dot) in the export folder. Android won't index the media files in this directory anymore.

By the way i have build a working fuse version of this app. I explained it in an earlier post, but with this version you can mount a virtual directory (like /sdcard/PlayMusic) where all your Play Music music is stored even if you didn't exported it. Any app can access the mp3 files in this folder and a program running in the background will redirect the file access to the original hidden Play Music files and decrypt AllAccess on the fly. The advantage is that you don't need to export files and you don't need more storage space than Play Music needs, because you access the files directly.

But this is just an experiment right now. There are a lot of bugs. You can't run Play Music while the virtual directory is mounted (it crashed at start) and some apps can't access the files (Apollo can, VLC can't). And on my Nvidia Tab the virtual folder is hidden as default user and is only access able trough root (On my Nexus it works without root).
[Android Apps and Games] santidoo:
Cool, thanks for clarifying it :) I was suspecting the same, but I thought the new folder maybe was a symbolic link to the Play Music folder or something

Do you have any .apk file of this version? I would not mind to test / give it a try

Thanks!
[Android Apps and Games] Arcus92:
Ok here is the APK. Just click on "Mount" and you should see your music in /sdcard/PlayMusic (directory will be created automatically)

This is really my testing app! There are also x86 and mips binarys but he can only detect arm and arm-v7.

You need to unmount it to start Play Music again.

Android will sometimes kill the process and unmount the directory automatically if you don't use your phone a long time.

There is no log or something (just logcat output) if you have trouble with it.

ID3-Tags are disabled because of unfixed crashes... but AllAccess works fine :)

Good luck!
[Android Apps and Games] geedos:
help!

..first of all awesome app. I just have an issue when trying yo save from playlist, it just doesnt add the artis name no matter what you do in the setting and believe me ive tried it all. Please be kind to fix this yeah ;) thank you so much
[Android Apps and Games] Arcus92:
It ignores the artist name while exporting a playlist. I want to store all files in one directory, but i didn't think off including the artist name in the filename itself, not in the path. Yes you're right that won't work!

I will add simply add a more custom export path for playlists and artists, so you can control it yourself.

I'm sorry but ... for now you can only turn off the grouping in the settings but then the playlist won't be in one folder....

I will improve this!
[Android Apps and Games] geedos:
Oh okay ill wait for fix thank
[Android Apps and Games] EHZ_Labs:
Great App

This is brilliant and beautiful.

Downloading...

---------- Post added at 04:02 AM ---------- Previous post was at 03:30 AM ----------

The app is awesome.

Thank you
[Android Apps and Games] brainserviceapps:
Beautiful UI - Great work!

Great work on the design of your app! I looks like it could be an official Google app - that is until you install it on Lollipop! Will you be revamping for material design? Regardless, it looks awesome
[Android Apps and Games] mihovil13:
Nice work!

But one thing bothers me, am I able to import that music back?

I'm trying to backup/restore WHOLE Play Music including my downloaded stuff.

I have like 20GB of Music, and I don't wish to download it again every time I switch ROMs and Factory reset.
[Android Apps and Games] Arcus92:
Yes, i'm working on it. It will be one of the next big updates. But i need to testing and playing around with the new appcompat before i'll add this to the app.

Technical ... yes. Practical ... no. I can write music back to the database but i need some more data that won't be exported with the files. Eg. there is a field named remoteID which is the unique ID on the google server. If this does not match Google maybe won't recognize the track. The easy way to do this is move to /data/data/com.google.android.music/ with a root explorer and backup all files and directories so you can copy thies on another device. Or you can just use Titanium Backup.
[Android Apps and Games] mihovil13:
Well TB doesn't work.

I'll try cutting cache to /sdcard, and backing up right after that without opening the app (so it wouldn't start downloading again).

Then restore and then paste back to /data.

It should work.
[Android Apps and Games] Jack Barrett:
Absolutely great project. Will donate when I can.

A handy option will be sorting (for example recent music on top, i hate scrolling and looking for something)

Wish you could make chrome plugin for all access downloads

The current plugin says "All access not found" :good:
[Android Apps and Games] provolinoo:
Hi Arcus, your app is great :D

Is it posible to have something for PC as well?

I often listen to my All Access subscription on PC via browser and download songs would be fantastic ;)
[Android Apps and Games] Arcus92:
Hi, there is a Chrome-Plugin i developed a long time ago, that can download non-AllAccess tracks without set the downloads counter higher.

Download AllAccess tracks is much complicated. I know using the app to 'download' music and save it on the PC is a bit laborious. But this is not what my app should be.

The core idea two years ago was to make an app where i can play my Play Music tracks on our Sonos speaker at work. The Sonos app can only play mp3 files. In the meantime Google adds Sonos support in Play Music as well (but for me it's still like playing roulette until it works). It should just be an app where you can play your music with different players or on different devices. Not to download music and share it.

Maybe some day i will add AllAccess support for the browser plugin but there a few hard problems i have to solve for this. But i what you to know that this plugin will has only low priority.
[Android Apps and Games] Vianna:
Great app. It's working almost flawlessly.

I've been getting some errors when the MP3-Metadata setting is set to ID3-Tags with Cover.

The following error appears in the log file:

Debug [ReadFileToByteArray]: File: /data/data/com.google.android.music/files/artwork2/folder/1303135100.jpg
Error [WriteID3]: Failed: /data/data/com.google.android.music/files/artwork2/folder/1303135100.jpg: open failed: EACCES (Permission denied)

And the ID3 tags are not written. I can access the cover file mentioned in the log file just fine using ES File Explorer in Root Mode.

When MP3-Metadata is set to ID3-Tags without Cover, the file is exported without errors, and the ID3 tags are written (but without the album cover).

I'm running Android 4.4.4 and Google Play Music 5.7.1781Q.1595424 on a retail Moto X 2013.
[Android Apps and Games] provolinoo:
Thanks Arcus for your reply :)

I understand your core idea and it's not so different from what I was looking for.

Currently I'm using your Exporter to download MP3 files and put them on a usb key to be able to play them in my car (my car has no bluetooth support so I can't connect the smartphone to the speakers directly).

I spend the most part of my working days travelling with my car and this is why I want that (after all I'm just looking for a way to listen the music I'm paying with my All Access subscription, nothing more).

Yes, using the smartphone to do the job is not so easy but I can live with that.

Anyway I hope to be able to do the job from Chrome on my PC one day, it would be great :)
[Android Apps and Games] dewa710:
Nice app. I was looking for something like this. :good:
[Android Apps and Games] xda___:
help...

sorry, can't seem to get this to work. the app recognized my downloads from play music, buy I can't seem to find the songs anywhere . I use shuttle plus for music and searching with that, I can't find the songs either.

thanks.
[Android Apps and Games] mrkool:
not able to download any more

Excellent Project love the App

Today all of a sudden i am getting X on all the All Access songs. I looked at the debug log and do not see any errors and when i go to playlist being played it shows an X next to the song. It does list that it is 1.3-9mb file there is no lock on the file just an X
[Android Apps and Games] GameHunter2:
Grate I love it

---------- Post added at 02:28 AM ---------- Previous post was at 01:40 AM ----------

Love This App
[Android Apps and Games] Arcus92:
This means the song isn't available as offline track. You need to save the track in Play Music on your device. Then you can reload my app and you will see a pin icon next to the title. If you have enabled the cache in Play Music Settings you can just play the song through and my app will show a half-filled pin icon. Than you can export the track successfully.
[Android Apps and Games] Jack Barrett:
Hi.

I think there's some small bug with the ID3v2 tags and the MP3 header.

Winamp shows the exported files as "partially broken": "MP3 has been modified from its original encoding. Some information may be incorrect."

I've done scan with MP3 Diags to find some little issues:

ID3V2 tag has at least one valid APIC frame (which is used to store images), but no frame has a type that is associated with an album cover.

Two ID3V2.3.0 tags found, but a file should have at most one of them.

Now I can see that every MP3 file has ID3v1 + 2x ID3v2.3.0

This is probably why Winamp shows errors. The player is just confused which of the ID3v2 tags to use.

Edit: Even after removing all tags with MP3tag, file still shows the same error. No tags detected by Winamp, but MP3 Diag detects ID3v2.3.0 tag at 0x51587c, saying "The ID3V2.3.0 tag should be the first tag in a file."

So the app inserts the ID3v2 tag long after the header (which is wrong).

The problem can be fixed by MP3 Diags with option "Remove multiple ID3v2 streams" - "If a file has multiple ID3 streams, it keeps only the last ID3v1 and the first ID3v2 streams"

The ID3v2.3.0 then is only at 0x0 and LAME header is at 0x1bfbd.

ID3v1 from your app is still the last, long after the header (at 0x531839) but I don't care about ID3v1.

ID3v1 also doesn't show cyrilic characters (example: РЁР°С… Рё РјР°С), maybe it's not UTF encoding.

Can you correct that in future update?

Thanks
[Android Apps and Games] jayakumar6591:
guys expoter is not woking properly on lollipop ..album art are missing and some songs are seems to be corrupted...pls help!!!
[Android Apps and Games] imstill@g:
Ate you using Nex Player? If so, I switched to shuttle + and am no linger seeing the album cover issue.
[Android Apps and Games] Arcus92:
I will check the ID3 issues maybe the artwork bug is caused by this. I am currently working on a new homepage layout and i doesn't have much time for hobby development. I hope i can release a new version next weekend. I maybe will switch the ID3 library. The port i'm using now isn't a good code, i needed to fix a lot of thinks myself, like the album artist tag. I,m on this! The next update won't get the material design. This will take more time :(
[Android Apps and Games] temanek:
Great job

Great job

Was needed his app
[Android Apps and Games] PeaceOut:
I too am having this issue but just on a certain artist.

No matter what I try, I can't seem to get The Piano Guys (the first album) to download.

I have tried downloading (offline access) via google play music for offline access and it'll download but when i go to manage my downloads in the setting, it shows that it's only 9mb big, which is too small for the whole album. If I use your exporter app, it'll only show 1 song which is 9mb.

I've cleared the cache, refreshed and logged off and back on in the google play music app and it's still doing this.

Is there something I'm doing wrong here or has google found a way to block us from doing this?

The 2nd album works fine so maybe it's just this album that has a problem?

Great app by the way!!
[Android Apps and Games] Arcus92:
I don't think Google changed anything to stop you using this app. I can even Download the whole album which is 145,7MB large. I believe this is just a bug in Play Music. I once had a whole Album that contains ugly scratchy sound instead of the music i expected. Someone ask me to play this album. I don't know the band and it was hard rock so my first thought was 'That is ugly music', but he said that wasn't the track. :p

My first idea was similar to yours: I thought Google changed the encryption-method. But then i tried to play the songs in Play Music and in a web browser and they were still broken. Other albums were working!

I'm sorry but i need to ask this dumb questions:

- Do you have enough free space on your sd card?

- Is this an album from allaccess itself? (No self uploaded album or playlist, that maybe just contains one song)

- You selected the album to download, not just the first song? (Yes i know ... but i have to ask ... :( )

- You see all songs in Play Music from this album and you can playback every song?
[Android Apps and Games] PeaceOut:
Thanks for the quick reply.

- Do you have enough free space on your sd card?

Yes. Approx 50GB free on SD card and about 3GB on device memory.

I thought maybe it was the cache file on board the device so I cleared the cache and turned on storing the cache file on the SD card through the settings on the Google play music app. But still the same.

- Is this an album from allaccess itself? (No self uploaded album or playlist, that maybe just contains one song)

Yes. It's the all access album.

- You selected the album to download, not just the first song? (Yes i know ... but i have to ask ... :( )

I thought maybe this was the case too but I double checked and I did select to download the whole album for offline access.

- You see all songs in Play Music from this album and you can playback every song?

Yes. What's even weirder is that I can still play all the tracks of the album offline. Yet the downloaded file through all access is only 9mb and only 1 track shows up on your app.

The album plays fine on my mobile devices and on the pc through a Web browser.

I'm thinking it must be some sort of bug on my end if you are saying that you can download the full album without any problems (you downloaded the first album right?)

Maybe I'll try uninstalling the app and reinstalling it.
[Android Apps and Games] PeaceOut:
That fixed it.

Can't Uninstall the app so I just cleared all the data.

I had to do it twice because the first time the app would not download any albums at all. It would just fail with a triangle icon telling me to try again later.
[Android Apps and Games] Arcus92:
That's strange Google...

But at least you fixed it :)
[Android Apps and Games] Flypwnz:
Having some troubles with corrupted mp3 files with art enabled on lollipop (duration of the tracks much more than it should be). Without 'art' selected in settings, all is fine.
[Android Apps and Games] ChristianBale:
This looks awesome. Can't wait to try it out!
[Android Apps and Games] shadavis08:
How do I get rid of seeing double albums in the play music app? It's irritating lol

Sent from my SGS3 running Cyanogenmod using Xparent BlueTapatalk
[Android Apps and Games] imstill@g:
Delete your downloaded music in the play music

app
[Android Apps and Games] Arcus92:
Sorry but this isn't actually a "bug". Play Music even shows the music, that is on your sd card. you can use it as a normal music player without the cloud and allaccess. If you export music from play music the song is on your phone twice. One is in the Play Music data and one as mp3 on your sd card.

To solve this, you can delete your exported music.

Or you can create an empty .nomedia (don't forget the dot (.)) file in the root of the export folder. Android won't index the media files in this directory and Play Music won't find the music anymore. The Problem is NO music player will find the music anymore! But you can still access the files via a file manager.
[Android Apps and Games] shadavis08:
Yeah I did that and it still showed the deleted exported music. Why I dont know but it fixed itself eventually. Not sure what happened really.

Sent from my SGS3 running Cyanogenmod using Xparent BlueTapatalk
[Android Apps and Games] Arcus92:
Ok ... What happened if you try to play the deleted music? Dose it play anyway or dose an error occur (grammar correct?)? Maybe it takes a time until google notice the change ...

I could add a button that removes all no-google music from the database. Maybe that would help ...
[One (M7) Q&A, Help & Troubleshooting] risq:
Hi guys,

Was doing an update to my HTC one and we had a power cut - Needless to say, I am in a pickle now.

I am just gonna go back to stock (CBA with the hassle) - That's if it's possible now of course.

What happens?

When I turn the phone on now, I just get the option for Fastboot-USB , Recovery etc - phone will not boot.

This is what my getvar returns.

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.44.0000

(bootloader) version-baseband: 4A.14.3250.13

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.29.401.12

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: SH34GW901652

(bootloader) imei: 354436055211070

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0710000

(bootloader) cidnum: HTC__001

(bootloader) battery-status: good

(bootloader) battery-voltage: 3918mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: RUU

getvar:all FAILED (status read failed (Too many links))

finished. total time: 3.870s

Can someone advised me on the best route to go down to get the phone working again? May be a few beers in it for you! :laugh:

Cheers,
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Remove IMEI and s/n from your post!!

Are you locked or unlocked? And what exactly do you mean you were updating?

Anyway, to give you some insight to your options: Since you're S-On, you can only flash an ruu for your version (1.29.401.12) or higher, there's this one:

http://www.htc1guru.com/dld/ruu-zip...0-01_release_318486_signed_2_4_decrypted-zip/

this is an ruu.zip, so you flash this in ruu mode, in bootloader/FASTBOOT USB:

fastboot oem rebootRUU

fastboot flash zip ruu.zip

fastboot flash zip ruu.zip <- yes TWICE

fastboot reboot-bootloader